2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for psensor 0.6.2.10.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
553 PACKAGE_NAME='psensor'
554 PACKAGE_TARNAME='psensor'
555 PACKAGE_VERSION='0.6.2.10'
556 PACKAGE_STRING='psensor 0.6.2.10'
557 PACKAGE_BUGREPORT='jeanfi@gmail.com'
558 PACKAGE_URL='http://wpitchoune.net/psensor'
560 ac_unique_file="src/compat.h"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
598 ac_subst_vars='am__EXEEXT_FALSE
661 XGETTEXT_EXTRA_OPTIONS
669 GETTEXT_MACRO_VERSION
701 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
757 enable_dependency_tracking
766 ac_precious_vars='build_alias
803 # Initialize some variables set by options.
805 ac_init_version=false
806 ac_unrecognized_opts=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name=s,x,x,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir='${exec_prefix}/bin'
832 sbindir='${exec_prefix}/sbin'
833 libexecdir='${exec_prefix}/libexec'
834 datarootdir='${prefix}/share'
835 datadir='${datarootdir}'
836 sysconfdir='${prefix}/etc'
837 sharedstatedir='${prefix}/com'
838 localstatedir='${prefix}/var'
839 includedir='${prefix}/include'
840 oldincludedir='/usr/include'
841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir='${datarootdir}/info'
847 libdir='${exec_prefix}/lib'
848 localedir='${datarootdir}/locale'
849 mandir='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\$ac_option
863 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 # Accept the important Cygnus configure options, so we can diagnose typos.
870 case $ac_dashdash$ac_option in
874 -bindir | --bindir | --bindi | --bind | --bin | --bi)
876 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
879 -build | --build | --buil | --bui | --bu)
880 ac_prev=build_alias ;;
881 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
882 build_alias=$ac_optarg ;;
884 -cache-file | --cache-file | --cache-fil | --cache-fi \
885 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
886 ac_prev=cache_file ;;
887 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
888 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
889 cache_file=$ac_optarg ;;
892 cache_file=config.cache ;;
894 -datadir | --datadir | --datadi | --datad)
896 -datadir=* | --datadir=* | --datadi=* | --datad=*)
897 datadir=$ac_optarg ;;
899 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
900 | --dataroo | --dataro | --datar)
901 ac_prev=datarootdir ;;
902 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
903 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
904 datarootdir=$ac_optarg ;;
906 -disable-* | --disable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=no ;;
922 -docdir | --docdir | --docdi | --doc | --do)
924 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
927 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
929 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
932 -enable-* | --enable-*)
933 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
936 as_fn_error $? "invalid feature name: $ac_useropt"
937 ac_useropt_orig=$ac_useropt
938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
944 ac_unrecognized_sep=', ';;
946 eval enable_$ac_useropt=\$ac_optarg ;;
948 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
949 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
950 | --exec | --exe | --ex)
951 ac_prev=exec_prefix ;;
952 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
953 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
954 | --exec=* | --exe=* | --ex=*)
955 exec_prefix=$ac_optarg ;;
957 -gas | --gas | --ga | --g)
958 # Obsolete; use --with-gas.
961 -help | --help | --hel | --he | -h)
963 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
964 ac_init_help=recursive ;;
965 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
966 ac_init_help=short ;;
968 -host | --host | --hos | --ho)
969 ac_prev=host_alias ;;
970 -host=* | --host=* | --hos=* | --ho=*)
971 host_alias=$ac_optarg ;;
973 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
975 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
977 htmldir=$ac_optarg ;;
979 -includedir | --includedir | --includedi | --included | --include \
980 | --includ | --inclu | --incl | --inc)
981 ac_prev=includedir ;;
982 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
983 | --includ=* | --inclu=* | --incl=* | --inc=*)
984 includedir=$ac_optarg ;;
986 -infodir | --infodir | --infodi | --infod | --info | --inf)
988 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
989 infodir=$ac_optarg ;;
991 -libdir | --libdir | --libdi | --libd)
993 -libdir=* | --libdir=* | --libdi=* | --libd=*)
996 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
997 | --libexe | --libex | --libe)
998 ac_prev=libexecdir ;;
999 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1000 | --libexe=* | --libex=* | --libe=*)
1001 libexecdir=$ac_optarg ;;
1003 -localedir | --localedir | --localedi | --localed | --locale)
1004 ac_prev=localedir ;;
1005 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1006 localedir=$ac_optarg ;;
1008 -localstatedir | --localstatedir | --localstatedi | --localstated \
1009 | --localstate | --localstat | --localsta | --localst | --locals)
1010 ac_prev=localstatedir ;;
1011 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1012 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1013 localstatedir=$ac_optarg ;;
1015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1017 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1018 mandir=$ac_optarg ;;
1020 -nfp | --nfp | --nf)
1021 # Obsolete; use --without-fp.
1024 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1025 | --no-cr | --no-c | -n)
1028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1033 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1034 | --oldin | --oldi | --old | --ol | --o)
1035 ac_prev=oldincludedir ;;
1036 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1037 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1038 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1039 oldincludedir=$ac_optarg ;;
1041 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1043 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1044 prefix=$ac_optarg ;;
1046 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1047 | --program-pre | --program-pr | --program-p)
1048 ac_prev=program_prefix ;;
1049 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1050 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1051 program_prefix=$ac_optarg ;;
1053 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1054 | --program-suf | --program-su | --program-s)
1055 ac_prev=program_suffix ;;
1056 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1057 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1058 program_suffix=$ac_optarg ;;
1060 -program-transform-name | --program-transform-name \
1061 | --program-transform-nam | --program-transform-na \
1062 | --program-transform-n | --program-transform- \
1063 | --program-transform | --program-transfor \
1064 | --program-transfo | --program-transf \
1065 | --program-trans | --program-tran \
1066 | --progr-tra | --program-tr | --program-t)
1067 ac_prev=program_transform_name ;;
1068 -program-transform-name=* | --program-transform-name=* \
1069 | --program-transform-nam=* | --program-transform-na=* \
1070 | --program-transform-n=* | --program-transform-=* \
1071 | --program-transform=* | --program-transfor=* \
1072 | --program-transfo=* | --program-transf=* \
1073 | --program-trans=* | --program-tran=* \
1074 | --progr-tra=* | --program-tr=* | --program-t=*)
1075 program_transform_name=$ac_optarg ;;
1077 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1079 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1080 pdfdir=$ac_optarg ;;
1082 -psdir | --psdir | --psdi | --psd | --ps)
1084 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1088 | -silent | --silent | --silen | --sile | --sil)
1091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1095 sbindir=$ac_optarg ;;
1097 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1099 | --sharedst | --shareds | --shared | --share | --shar \
1101 ac_prev=sharedstatedir ;;
1102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1106 sharedstatedir=$ac_optarg ;;
1108 -site | --site | --sit)
1110 -site=* | --site=* | --sit=*)
1113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1116 srcdir=$ac_optarg ;;
1118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1119 | --syscon | --sysco | --sysc | --sys | --sy)
1120 ac_prev=sysconfdir ;;
1121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1123 sysconfdir=$ac_optarg ;;
1125 -target | --target | --targe | --targ | --tar | --ta | --t)
1126 ac_prev=target_alias ;;
1127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1128 target_alias=$ac_optarg ;;
1130 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133 -version | --version | --versio | --versi | --vers | -V)
1134 ac_init_version=: ;;
1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140 as_fn_error $? "invalid package name: $ac_useropt"
1141 ac_useropt_orig=$ac_useropt
1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep=', ';;
1150 eval with_$ac_useropt=\$ac_optarg ;;
1152 -without-* | --without-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156 as_fn_error $? "invalid package name: $ac_useropt"
1157 ac_useropt_orig=$ac_useropt
1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep=', ';;
1166 eval with_$ac_useropt=no ;;
1169 # Obsolete; use --with-x.
1172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1173 | --x-incl | --x-inc | --x-in | --x-i)
1174 ac_prev=x_includes ;;
1175 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1176 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1177 x_includes=$ac_optarg ;;
1179 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1180 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1181 ac_prev=x_libraries ;;
1182 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1183 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1184 x_libraries=$ac_optarg ;;
1186 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1187 Try \`$0 --help' for more information"
1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' | [0-9]* | *[!_$as_cr_alnum]* )
1195 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1197 eval $ac_envvar=\$ac_optarg
1198 export $ac_envvar ;;
1201 # FIXME: should be removed in autoconf 3.0.
1202 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1211 if test -n "$ac_prev"; then
1212 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $? "missing argument to $ac_option"
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1220 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 # Check all directory arguments for consistency.
1225 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir
1230 eval ac_val=\$$ac_var
1231 # Remove trailing slashes.
1234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\$ac_val;;
1237 # Be sure to have absolute directory names.
1239 [\\/$]* | ?:[\\/]* ) continue;;
1240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1245 # There might be people who depend on the old broken behavior: `$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1250 target=$target_alias
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x; then
1254 if test "x$build_alias" = x; then
1255 cross_compiling=maybe
1256 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1257 If a cross compiler is detected then cross compile mode will be used" >&2
1258 elif test "x$build_alias" != "x$host_alias"; then
1264 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1266 test "$silent" = yes && exec 6>/dev/null
1269 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1270 ac_ls_di=`ls -di .` &&
1271 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1272 as_fn_error $? "working directory cannot be determined"
1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274 as_fn_error $? "pwd does not report name of working directory"
1277 # Find the source files, if location was not specified.
1278 if test -z "$srcdir"; then
1279 ac_srcdir_defaulted=yes
1280 # Try the directory containing this script, then the parent directory.
1281 ac_confdir=`$as_dirname -- "$as_myself" ||
1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283 X"$as_myself" : 'X\(//\)[^/]' \| \
1284 X"$as_myself" : 'X\(//\)$' \| \
1285 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1286 $as_echo X"$as_myself" |
1287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1309 ac_srcdir_defaulted=no
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1312 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1313 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1315 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1319 # When building in place, set srcdir=.
1320 if test "$ac_abs_confdir" = "$ac_pwd"; then
1323 # Remove unnecessary trailing slashes from srcdir.
1324 # Double slashes in file names in object file debugging info
1325 # mess up M-x gdb in Emacs.
1327 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 for ac_var in $ac_precious_vars; do
1330 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1331 eval ac_env_${ac_var}_value=\$${ac_var}
1332 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1333 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1337 # Report the --help message.
1339 if test "$ac_init_help" = "long"; then
1340 # Omit some internal or obsolete options to make the list less imposing.
1341 # This message is too long to be a string in the A/UX 3.1 sh.
1343 \`configure' configures psensor 0.6.2.10 to adapt to many kinds of systems.
1345 Usage: $0 [OPTION]... [VAR=VALUE]...
1347 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1348 VAR=VALUE. See below for descriptions of some of the useful variables.
1350 Defaults for the options are specified in brackets.
1353 -h, --help display this help and exit
1354 --help=short display options specific to this package
1355 --help=recursive display the short help of all the included packages
1356 -V, --version display version information and exit
1357 -q, --quiet, --silent do not print \`checking ...' messages
1358 --cache-file=FILE cache test results in FILE [disabled]
1359 -C, --config-cache alias for \`--cache-file=config.cache'
1360 -n, --no-create do not create output files
1361 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1363 Installation directories:
1364 --prefix=PREFIX install architecture-independent files in PREFIX
1365 [$ac_default_prefix]
1366 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1369 By default, \`make install' will install all the files in
1370 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1371 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1372 for instance \`--prefix=\$HOME'.
1374 For better control, use the options below.
1376 Fine tuning of the installation directories:
1377 --bindir=DIR user executables [EPREFIX/bin]
1378 --sbindir=DIR system admin executables [EPREFIX/sbin]
1379 --libexecdir=DIR program executables [EPREFIX/libexec]
1380 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1381 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1382 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1383 --libdir=DIR object code libraries [EPREFIX/lib]
1384 --includedir=DIR C header files [PREFIX/include]
1385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1388 --infodir=DIR info documentation [DATAROOTDIR/info]
1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1390 --mandir=DIR man documentation [DATAROOTDIR/man]
1391 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1401 --program-prefix=PREFIX prepend PREFIX to installed program names
1402 --program-suffix=SUFFIX append SUFFIX to installed program names
1403 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1406 --x-includes=DIR X include files are in DIR
1407 --x-libraries=DIR X library files are in DIR
1410 --build=BUILD configure for building on BUILD [guessed]
1411 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1415 if test -n "$ac_init_help"; then
1416 case $ac_init_help in
1417 short | recursive ) echo "Configuration of psensor 0.6.2.10:";;
1422 --disable-option-checking ignore unrecognized --enable/--with options
1423 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1424 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1425 --disable-dependency-tracking speeds up one-time build
1426 --enable-dependency-tracking do not reject slow dependency extractors
1427 --disable-nls do not use Native Language Support
1428 --disable-rpath do not hardcode runtime library paths
1431 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1432 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1433 --with-x use the X Window System
1434 --with-gnu-ld assume the C compiler uses GNU ld default=no
1435 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1436 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1437 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1438 --without-libintl-prefix don't search for libintl in includedir and libdir
1439 --with-gtop=yes|no use gtop
1441 Some influential environment variables:
1442 CC C compiler command
1443 CFLAGS C compiler flags
1444 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1445 nonstandard directory <lib dir>
1446 LIBS libraries to pass to the linker, e.g. -l<library>
1447 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1448 you have headers in a nonstandard directory <include dir>
1449 XMKMF Path to xmkmf, Makefile generator for X Window System
1451 PKG_CONFIG path to pkg-config utility
1453 directories to add to pkg-config's search path
1455 path overriding pkg-config's built-in search path
1456 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1457 X11_LIBS linker flags for X11, overriding pkg-config
1458 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1459 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1460 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1461 GTK_LIBS linker flags for GTK, overriding pkg-config
1463 C compiler flags for GCONF, overriding pkg-config
1464 GCONF_LIBS linker flags for GCONF, overriding pkg-config
1466 C compiler flags for LIBNOTIFY, overriding pkg-config
1468 linker flags for LIBNOTIFY, overriding pkg-config
1470 C compiler flags for APPINDICATOR, overriding pkg-config
1472 linker flags for APPINDICATOR, overriding pkg-config
1473 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1474 CURL_LIBS linker flags for CURL, overriding pkg-config
1475 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1476 JSON_LIBS linker flags for JSON, overriding pkg-config
1478 C compiler flags for UNITY, overriding pkg-config
1479 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1480 LIBMICROHTTPD_CFLAGS
1481 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1483 linker flags for LIBMICROHTTPD, overriding pkg-config
1484 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1485 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1487 Use these variables to override the choices made by `configure' or to help
1488 it to find libraries and programs with nonstandard names/locations.
1490 Report bugs to <jeanfi@gmail.com>.
1491 psensor home page: <http://wpitchoune.net/psensor>.
1496 if test "$ac_init_help" = "recursive"; then
1497 # If there are subdirs, report their specific --help.
1498 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1499 test -d "$ac_dir" ||
1500 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1505 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1508 # A ".." for each directory in $ac_dir_suffix.
1509 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1510 case $ac_top_builddir_sub in
1511 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1512 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1515 ac_abs_top_builddir=$ac_pwd
1516 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1517 # for backward compatibility:
1518 ac_top_builddir=$ac_top_build_prefix
1521 .) # We are building in place.
1523 ac_top_srcdir=$ac_top_builddir_sub
1524 ac_abs_top_srcdir=$ac_pwd ;;
1525 [\\/]* | ?:[\\/]* ) # Absolute name.
1526 ac_srcdir=$srcdir$ac_dir_suffix;
1527 ac_top_srcdir=$srcdir
1528 ac_abs_top_srcdir=$srcdir ;;
1530 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1531 ac_top_srcdir=$ac_top_build_prefix$srcdir
1532 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1534 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1536 cd "$ac_dir" || { ac_status=$?; continue; }
1537 # Check for guested configure.
1538 if test -f "$ac_srcdir/configure.gnu"; then
1540 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1541 elif test -f "$ac_srcdir/configure"; then
1543 $SHELL "$ac_srcdir/configure" --help=recursive
1545 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547 cd "$ac_pwd" || { ac_status=$?; break; }
1551 test -n "$ac_init_help" && exit $ac_status
1552 if $ac_init_version; then
1554 psensor configure 0.6.2.10
1555 generated by GNU Autoconf 2.67
1557 Copyright (C) 2010 Free Software Foundation, Inc.
1558 This configure script is free software; the Free Software Foundation
1559 gives unlimited permission to copy, distribute and modify it.
1564 ## ------------------------ ##
1565 ## Autoconf initialization. ##
1566 ## ------------------------ ##
1568 # ac_fn_c_try_compile LINENO
1569 # --------------------------
1570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1571 ac_fn_c_try_compile ()
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 rm -f conftest.$ac_objext
1575 if { { ac_try="$ac_compile"
1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_compile") 2>conftest.err
1584 if test -s conftest.err; then
1585 grep -v '^ *+' conftest.err >conftest.er1
1586 cat conftest.er1 >&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && {
1591 test -z "$ac_c_werror_flag" ||
1592 test ! -s conftest.err
1593 } && test -s conftest.$ac_objext; then :
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 as_fn_set_status $ac_retval
1604 } # ac_fn_c_try_compile
1606 # ac_fn_c_try_cpp LINENO
1607 # ----------------------
1608 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { { ac_try="$ac_cpp conftest.$ac_ext"
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } > conftest.i && {
1628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 as_fn_set_status $ac_retval
1643 # ac_fn_c_try_link LINENO
1644 # -----------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded.
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 rm -f conftest.$ac_objext conftest$ac_exeext
1650 if { { ac_try="$ac_link"
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_link") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest$ac_exeext && {
1669 test "$cross_compiling" = yes ||
1670 $as_test_x conftest$ac_exeext
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1680 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1681 # interfere with the next link command; also delete a directory that is
1682 # left behind by Apple's compiler. We do this before executing the actions.
1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685 as_fn_set_status $ac_retval
1687 } # ac_fn_c_try_link
1689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1690 # -------------------------------------------------------
1691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1692 # the include files in INCLUDES and setting the cache variable VAR
1694 ac_fn_c_check_header_mongrel ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if eval "test \"\${$3+set}\"" = set; then :
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval "test \"\${$3+set}\"" = set; then :
1701 $as_echo_n "(cached) " >&6
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705 $as_echo "$ac_res" >&6; }
1707 # Is the header compilable?
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1709 $as_echo_n "checking $2 usability... " >&6; }
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1715 if ac_fn_c_try_compile "$LINENO"; then :
1716 ac_header_compiler=yes
1718 ac_header_compiler=no
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1722 $as_echo "$ac_header_compiler" >&6; }
1724 # Is the header present?
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1726 $as_echo_n "checking $2 presence... " >&6; }
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1731 if ac_fn_c_try_cpp "$LINENO"; then :
1732 ac_header_preproc=yes
1734 ac_header_preproc=no
1736 rm -f conftest.err conftest.i conftest.$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1738 $as_echo "$ac_header_preproc" >&6; }
1740 # So? What about this header?
1741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1752 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1756 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1759 ( $as_echo "## ------------------------------- ##
1760 ## Report this to jeanfi@gmail.com ##
1761 ## ------------------------------- ##"
1762 ) | sed "s/^/$as_me: WARNING: /" >&2
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval "test \"\${$3+set}\"" = set; then :
1768 $as_echo_n "(cached) " >&6
1770 eval "$3=\$ac_header_compiler"
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1778 } # ac_fn_c_check_header_mongrel
1780 # ac_fn_c_try_run LINENO
1781 # ----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1783 # that executables *can* be run.
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>&5
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1798 { { case "(($ac_try" in
1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_try") 2>&5
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; }; }; then :
1810 $as_echo "$as_me: program exited with status $ac_status" >&5
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1814 ac_retval=$ac_status
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 as_fn_set_status $ac_retval
1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1823 # -------------------------------------------------------
1824 # Tests whether HEADER exists and can be compiled using the include files in
1825 # INCLUDES, setting the cache variable VAR accordingly.
1826 ac_fn_c_check_header_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if eval "test \"\${$3+set}\"" = set; then :
1832 $as_echo_n "(cached) " >&6
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1839 if ac_fn_c_try_compile "$LINENO"; then :
1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 } # ac_fn_c_check_header_compile
1853 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1854 # -------------------------------------------
1855 # Tests whether TYPE exists after having included INCLUDES, setting cache
1856 # variable VAR accordingly.
1857 ac_fn_c_check_type ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval "test \"\${$3+set}\"" = set; then :
1863 $as_echo_n "(cached) " >&6
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1878 if ac_fn_c_try_compile "$LINENO"; then :
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1891 if ac_fn_c_try_compile "$LINENO"; then :
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905 } # ac_fn_c_check_type
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval "test \"\${$3+set}\"" = set; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext \
1965 conftest$ac_exeext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 } # ac_fn_c_check_func
1973 cat >config.log <<_ACEOF
1974 This file contains any messages produced by compilers while
1975 running configure, to aid debugging if configure makes a mistake.
1977 It was created by psensor $as_me 0.6.2.10, which was
1978 generated by GNU Autoconf 2.67. Invocation command line was
1990 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1991 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1992 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1993 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1994 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1996 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1997 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1999 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2000 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2002 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2003 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2004 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2005 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir=.
2014 $as_echo "PATH: $as_dir"
2030 # Keep a trace of the command line.
2031 # Strip out --no-create and --no-recursion so they do not pile up.
2032 # Strip out --silent because we don't want to record it for future runs.
2033 # Also quote any args containing shell meta-characters.
2034 # Make two passes to allow for proper duplicate-argument suppression.
2038 ac_must_keep_next=false
2044 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2046 | -silent | --silent | --silen | --sile | --sil)
2049 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2052 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2054 as_fn_append ac_configure_args1 " '$ac_arg'"
2055 if test $ac_must_keep_next = true; then
2056 ac_must_keep_next=false # Got value, back to normal.
2059 *=* | --config-cache | -C | -disable-* | --disable-* \
2060 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2061 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2062 | -with-* | --with-* | -without-* | --without-* | --x)
2063 case "$ac_configure_args0 " in
2064 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2067 -* ) ac_must_keep_next=true ;;
2070 as_fn_append ac_configure_args " '$ac_arg'"
2075 { ac_configure_args0=; unset ac_configure_args0;}
2076 { ac_configure_args1=; unset ac_configure_args1;}
2078 # When interrupted or exit'd, cleanup temporary files, and complete
2079 # config.log. We remove comments because anyway the quotes in there
2080 # would cause problems or look ugly.
2081 # WARNING: Use '\'' to represent an apostrophe within the trap.
2082 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2083 trap 'exit_status=$?
2084 # Save into config.log some information that might help in debugging.
2088 $as_echo "## ---------------- ##
2089 ## Cache variables. ##
2090 ## ---------------- ##"
2092 # The following way of writing the cache mishandles newlines in values,
2094 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2095 eval ac_val=\$$ac_var
2099 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2103 _ | IFS | as_nl) ;; #(
2104 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2105 *) { eval $ac_var=; unset $ac_var;} ;;
2110 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2111 *${as_nl}ac_space=\ *)
2113 "s/'\''/'\''\\\\'\'''\''/g;
2114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2124 $as_echo "## ----------------- ##
2125 ## Output variables. ##
2126 ## ----------------- ##"
2128 for ac_var in $ac_subst_vars
2130 eval ac_val=\$$ac_var
2132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134 $as_echo "$ac_var='\''$ac_val'\''"
2138 if test -n "$ac_subst_files"; then
2139 $as_echo "## ------------------- ##
2140 ## File substitutions. ##
2141 ## ------------------- ##"
2143 for ac_var in $ac_subst_files
2145 eval ac_val=\$$ac_var
2147 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2149 $as_echo "$ac_var='\''$ac_val'\''"
2154 if test -s confdefs.h; then
2155 $as_echo "## ----------- ##
2162 test "$ac_signal" != 0 &&
2163 $as_echo "$as_me: caught signal $ac_signal"
2164 $as_echo "$as_me: exit $exit_status"
2166 rm -f core *.core core.conftest.* &&
2167 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2170 for ac_signal in 1 2 13 15; do
2171 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2176 rm -f -r conftest* confdefs.h
2178 $as_echo "/* confdefs.h */" > confdefs.h
2180 # Predefined preprocessor variables.
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_NAME "$PACKAGE_NAME"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2194 cat >>confdefs.h <<_ACEOF
2195 #define PACKAGE_STRING "$PACKAGE_STRING"
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_URL "$PACKAGE_URL"
2207 # Let the site file select an alternate cache file if it wants to.
2208 # Prefer an explicitly selected file to automatically selected ones.
2211 if test -n "$CONFIG_SITE"; then
2212 # We do not want a PATH search for config.site.
2213 case $CONFIG_SITE in #((
2214 -*) ac_site_file1=./$CONFIG_SITE;;
2215 */*) ac_site_file1=$CONFIG_SITE;;
2216 *) ac_site_file1=./$CONFIG_SITE;;
2218 elif test "x$prefix" != xNONE; then
2219 ac_site_file1=$prefix/share/config.site
2220 ac_site_file2=$prefix/etc/config.site
2222 ac_site_file1=$ac_default_prefix/share/config.site
2223 ac_site_file2=$ac_default_prefix/etc/config.site
2225 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2227 test "x$ac_site_file" = xNONE && continue
2228 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2230 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2231 sed 's/^/| /' "$ac_site_file" >&5
2233 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2235 as_fn_error $? "failed to load site script $ac_site_file
2236 See \`config.log' for more details" "$LINENO" 5 ; }
2240 if test -r "$cache_file"; then
2241 # Some versions of bash will fail to source /dev/null (special files
2242 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2243 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2245 $as_echo "$as_me: loading cache $cache_file" >&6;}
2247 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2248 *) . "./$cache_file";;
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2253 $as_echo "$as_me: creating cache $cache_file" >&6;}
2257 gt_needs="$gt_needs "
2258 # Check that the precious variables saved in the cache have kept the same
2260 ac_cache_corrupted=false
2261 for ac_var in $ac_precious_vars; do
2262 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2263 eval ac_new_set=\$ac_env_${ac_var}_set
2264 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2265 eval ac_new_val=\$ac_env_${ac_var}_value
2266 case $ac_old_set,$ac_new_set in
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2270 ac_cache_corrupted=: ;;
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2273 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2274 ac_cache_corrupted=: ;;
2277 if test "x$ac_old_val" != "x$ac_new_val"; then
2278 # differences in whitespace do not lead to failure.
2279 ac_old_val_w=`echo x $ac_old_val`
2280 ac_new_val_w=`echo x $ac_new_val`
2281 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2283 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2284 ac_cache_corrupted=:
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2287 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2288 eval $ac_var=\$ac_old_val
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2291 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2293 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2296 # Pass precious variables to config.status.
2297 if test "$ac_new_set" = set; then
2299 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2300 *) ac_arg=$ac_var=$ac_new_val ;;
2302 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2308 if $ac_cache_corrupted; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2312 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2313 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2315 ## -------------------- ##
2316 ## Main body of script. ##
2317 ## -------------------- ##
2320 ac_cpp='$CPP $CPPFLAGS'
2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2327 am__api_version='1.11'
2330 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2331 if test -f "$ac_dir/install-sh"; then
2333 ac_install_sh="$ac_aux_dir/install-sh -c"
2335 elif test -f "$ac_dir/install.sh"; then
2337 ac_install_sh="$ac_aux_dir/install.sh -c"
2339 elif test -f "$ac_dir/shtool"; then
2341 ac_install_sh="$ac_aux_dir/shtool install -c"
2345 if test -z "$ac_aux_dir"; then
2346 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2349 # These three variables are undocumented and unsupported,
2350 # and are intended to be withdrawn in a future Autoconf release.
2351 # They can cause serious problems if a builder's source tree is in a directory
2352 # whose full name contains unusual characters.
2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2355 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2358 # Find a good install program. We prefer a C program (faster),
2359 # so one script is as good as another. But avoid the broken or
2360 # incompatible versions:
2361 # SysV /etc/install, /usr/sbin/install
2362 # SunOS /usr/etc/install
2363 # IRIX /sbin/install
2365 # AmigaOS /C/install, which installs bootblocks on floppy discs
2366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369 # OS/2's system install, which has a completely different semantic
2370 # ./install, which can be erroneously created by make from ./install.sh.
2371 # Reject install programs that cannot install multiple files.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2374 if test -z "$INSTALL"; then
2375 if test "${ac_cv_path_install+set}" = set; then :
2376 $as_echo_n "(cached) " >&6
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir=.
2383 # Account for people who put trailing slashes in PATH elements.
2384 case $as_dir/ in #((
2385 ./ | .// | /[cC]/* | \
2386 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2390 # OSF1 and SCO ODT 3.0 have their own names for install.
2391 # Don't use installbsd from OSF since it installs stuff as root
2393 for ac_prog in ginstall scoinst install; do
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2396 if test $ac_prog = install &&
2397 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # AIX install. It has an incompatible calling convention.
2400 elif test $ac_prog = install &&
2401 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402 # program-specific install script used by HP pwplus--don't use.
2405 rm -rf conftest.one conftest.two conftest.dir
2406 echo one > conftest.one
2407 echo two > conftest.two
2409 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410 test -s conftest.one && test -s conftest.two &&
2411 test -s conftest.dir/conftest.one &&
2412 test -s conftest.dir/conftest.two
2414 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2427 rm -rf conftest.one conftest.two conftest.dir
2430 if test "${ac_cv_path_install+set}" = set; then
2431 INSTALL=$ac_cv_path_install
2433 # As a last resort, use the slow shell script. Don't cache a
2434 # value for INSTALL within a source directory, because that will
2435 # break other packages using the cache if that directory is
2436 # removed, or if the value is a relative name.
2437 INSTALL=$ac_install_sh
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441 $as_echo "$INSTALL" >&6; }
2443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444 # It thinks the first close brace ends the variable substitution.
2445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452 $as_echo_n "checking whether build environment is sane... " >&6; }
2455 echo timestamp > conftest.file
2456 # Reject unsafe characters in $srcdir or the absolute working directory
2457 # name. Accept space and tab only in the latter.
2461 *[\\\"\#\$\&\'\`$am_lf]*)
2462 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2465 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2466 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2469 # Do `set' in a subshell so we don't clobber the current shell's
2470 # arguments. Must try -L first in case configure is actually a
2471 # symlink; some systems play weird games with the mod time of symlinks
2472 # (eg FreeBSD returns the mod time of the symlink's containing
2475 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476 if test "$*" = "X"; then
2478 set X `ls -t "$srcdir/configure" conftest.file`
2481 if test "$*" != "X $srcdir/configure conftest.file" \
2482 && test "$*" != "X conftest.file $srcdir/configure"; then
2484 # If neither matched, then we have a broken ls. This can happen
2485 # if, for instance, CONFIG_SHELL is bash and it inherits a
2486 # broken ls alias from the environment. This has actually
2487 # happened. Such a system could not be considered "sane".
2488 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2489 alias in your environment" "$LINENO" 5
2492 test "$2" = conftest.file
2498 as_fn_error $? "newly created file is older than distributed files!
2499 Check your system clock" "$LINENO" 5
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502 $as_echo "yes" >&6; }
2503 test "$program_prefix" != NONE &&
2504 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2505 # Use a double $ so make ignores it.
2506 test "$program_suffix" != NONE &&
2507 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2508 # Double any \ or $.
2509 # By default was `s,x,x', remove it if useless.
2510 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2511 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2513 # expand $ac_aux_dir to an absolute path
2514 am_aux_dir=`cd $ac_aux_dir && pwd`
2516 if test x"${MISSING+set}" != xset; then
2519 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2521 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2524 # Use eval to expand $SHELL
2525 if eval "$MISSING --run true"; then
2526 am_missing_run="$MISSING --run "
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2530 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2533 if test x"${install_sh}" != xset; then
2536 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2538 install_sh="\${SHELL} $am_aux_dir/install-sh"
2542 # Installed binaries are usually stripped using `strip' when the user
2543 # run `make install-strip'. However `strip' might not be the right
2544 # tool to use in cross-compilation environments, therefore Automake
2545 # will honor the `STRIP' environment variable to overrule this program.
2546 if test "$cross_compiling" != no; then
2547 if test -n "$ac_tool_prefix"; then
2548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2549 set dummy ${ac_tool_prefix}strip; ac_word=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if test "${ac_cv_prog_STRIP+set}" = set; then :
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$STRIP"; then
2556 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 STRIP=$ac_cv_prog_STRIP
2576 if test -n "$STRIP"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2578 $as_echo "$STRIP" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2586 if test -z "$ac_cv_prog_STRIP"; then
2588 # Extract the first word of "strip", so it can be a program name with args.
2589 set dummy strip; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$ac_ct_STRIP"; then
2596 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_ac_ct_STRIP="strip"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2616 if test -n "$ac_ct_STRIP"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2618 $as_echo "$ac_ct_STRIP" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2624 if test "x$ac_ct_STRIP" = x; then
2627 case $cross_compiling:$ac_tool_warned in
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2631 ac_tool_warned=yes ;;
2636 STRIP="$ac_cv_prog_STRIP"
2640 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2643 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2644 if test -z "$MKDIR_P"; then
2645 if test "${ac_cv_path_mkdir+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2652 test -z "$as_dir" && as_dir=.
2653 for ac_prog in mkdir gmkdir; do
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2656 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2657 'mkdir (GNU coreutils) '* | \
2658 'mkdir (coreutils) '* | \
2659 'mkdir (fileutils) '4.1*)
2660 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2670 test -d ./--version && rmdir ./--version
2671 if test "${ac_cv_path_mkdir+set}" = set; then
2672 MKDIR_P="$ac_cv_path_mkdir -p"
2674 # As a last resort, use the slow shell script. Don't cache a
2675 # value for MKDIR_P within a source directory, because that will
2676 # break other packages using the cache if that directory is
2677 # removed, or if the value is a relative name.
2678 MKDIR_P="$ac_install_sh -d"
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2682 $as_echo "$MKDIR_P" >&6; }
2686 [\\/$]* | ?:[\\/]*) ;;
2687 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2690 for ac_prog in gawk mawk nawk awk
2692 # Extract the first word of "$ac_prog", so it can be a program name with args.
2693 set dummy $ac_prog; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if test "${ac_cv_prog_AWK+set}" = set; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$AWK"; then
2700 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_AWK="$ac_prog"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test -n "$AWK"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2722 $as_echo "$AWK" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2729 test -n "$AWK" && break
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2733 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2735 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2736 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2737 $as_echo_n "(cached) " >&6
2739 cat >conftest.make <<\_ACEOF
2742 @echo '@@@%%%=$(MAKE)=@@@%%%'
2744 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2745 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2747 eval ac_cv_prog_make_${ac_make}_set=yes;;
2749 eval ac_cv_prog_make_${ac_make}_set=no;;
2753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2760 SET_MAKE="MAKE=${MAKE-make}"
2763 rm -rf .tst 2>/dev/null
2764 mkdir .tst 2>/dev/null
2765 if test -d .tst; then
2770 rmdir .tst 2>/dev/null
2772 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2773 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2774 # is not polluted with repeated "-I."
2775 am__isrc=' -I$(srcdir)'
2776 # test to see if srcdir already configured
2777 if test -f $srcdir/config.status; then
2778 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2782 # test whether we have cygpath
2783 if test -z "$CYGPATH_W"; then
2784 if (cygpath --version) >/dev/null 2>/dev/null; then
2785 CYGPATH_W='cygpath -w'
2792 # Define the identity of the package.
2797 cat >>confdefs.h <<_ACEOF
2798 #define PACKAGE "$PACKAGE"
2802 cat >>confdefs.h <<_ACEOF
2803 #define VERSION "$VERSION"
2806 # Some tools Automake needs.
2808 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2811 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2814 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2817 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2820 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2822 # We need awk for the "check" target. The system "awk" is bad on
2824 # Always define AMTAR for backward compatibility.
2826 AMTAR=${AMTAR-"${am_missing_run}tar"}
2828 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2836 ac_config_headers="$ac_config_headers config.h"
2839 # Checks for programs.
2841 ac_cpp='$CPP $CPPFLAGS'
2842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2845 if test -n "$ac_tool_prefix"; then
2846 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if test "${ac_cv_prog_CC+set}" = set; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$CC"; then
2854 ac_cv_prog_CC="$CC" # Let the user override the test.
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 if test -n "$CC"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2876 $as_echo "$CC" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2884 if test -z "$ac_cv_prog_CC"; then
2886 # Extract the first word of "gcc", so it can be a program name with args.
2887 set dummy gcc; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$ac_ct_CC"; then
2894 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2903 ac_cv_prog_ac_ct_CC="gcc"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2914 if test -n "$ac_ct_CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2916 $as_echo "$ac_ct_CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2922 if test "x$ac_ct_CC" = x; then
2925 case $cross_compiling:$ac_tool_warned in
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned=yes ;;
2937 if test -z "$CC"; then
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}cc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if test "${ac_cv_prog_CC+set}" = set; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC="$CC" # Let the user override the test.
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2956 ac_cv_prog_CC="${ac_tool_prefix}cc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2978 if test -z "$CC"; then
2979 # Extract the first word of "cc", so it can be a program name with args.
2980 set dummy cc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if test "${ac_cv_prog_CC+set}" = set; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC="$CC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2998 ac_prog_rejected=yes
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test $ac_prog_rejected = yes; then
3010 # We found a bogon in the path, so make sure we never use it.
3011 set dummy $ac_cv_prog_CC
3013 if test $# != 0; then
3014 # We chose a different compiler from the bogus one.
3015 # However, it has the same basename, so the bogon will be chosen
3016 # first if we set CC to just the basename; use the full file name.
3018 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3034 if test -z "$CC"; then
3035 if test -n "$ac_tool_prefix"; then
3036 for ac_prog in cl.exe
3038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if test "${ac_cv_prog_CC+set}" = set; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC="$CC" # Let the user override the test.
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3075 test -n "$CC" && break
3078 if test -z "$CC"; then
3080 for ac_prog in cl.exe
3082 # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy $ac_prog; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$ac_ct_CC"; then
3090 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_ac_ct_CC="$ac_prog"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110 if test -n "$ac_ct_CC"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112 $as_echo "$ac_ct_CC" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3119 test -n "$ac_ct_CC" && break
3122 if test "x$ac_ct_CC" = x; then
3125 case $cross_compiling:$ac_tool_warned in
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129 ac_tool_warned=yes ;;
3138 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error $? "no acceptable C compiler found in \$PATH
3141 See \`config.log' for more details" "$LINENO" 5 ; }
3143 # Provide some information about the compiler.
3144 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3147 for ac_option in --version -v -V -qversion; do
3148 { { ac_try="$ac_compiler $ac_option >&5"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3157 if test -s conftest.err; then
3159 ... rest of stderr output deleted ...
3160 10q' conftest.err >conftest.er1
3161 cat conftest.er1 >&5
3163 rm -f conftest.er1 conftest.err
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 ac_clean_files_save=$ac_clean_files
3180 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3181 # Try to create an executable without -o first, disregard a.out.
3182 # It will help us diagnose broken compilers, and finding out an intuition
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3185 $as_echo_n "checking whether the C compiler works... " >&6; }
3186 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3188 # The possible output files:
3189 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3192 for ac_file in $ac_files
3195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3196 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3201 if { { ac_try="$ac_link_default"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link_default") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3213 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3214 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3215 # so that the user can short-circuit this test for compilers unknown to
3217 for ac_file in $ac_files ''
3219 test -f "$ac_file" || continue
3221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3224 # We found the default executable, but exeext='' is most
3228 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3230 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232 # We set ac_cv_exeext here because the later test for it is not
3233 # safe: cross compilers may not add the suffix if given an `-o'
3234 # argument, so we may need to know it at that point already.
3235 # Even if this section looks crufty: it has the advantage of
3242 test "$ac_cv_exeext" = no && ac_cv_exeext=
3247 if test -z "$ac_file"; then :
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error 77 "C compiler cannot create executables
3256 See \`config.log' for more details" "$LINENO" 5 ; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3262 $as_echo_n "checking for C compiler default output file name... " >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3264 $as_echo "$ac_file" >&6; }
3265 ac_exeext=$ac_cv_exeext
3267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3268 ac_clean_files=$ac_clean_files_save
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3270 $as_echo_n "checking for suffix of executables... " >&6; }
3271 if { { ac_try="$ac_link"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_link") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; then :
3282 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3283 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3284 # work properly (i.e., refer to `conftest.exe'), while it won't with
3286 for ac_file in conftest.exe conftest conftest.*; do
3287 test -f "$ac_file" || continue
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3299 See \`config.log' for more details" "$LINENO" 5 ; }
3301 rm -f conftest conftest$ac_cv_exeext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3303 $as_echo "$ac_cv_exeext" >&6; }
3305 rm -f conftest.$ac_ext
3306 EXEEXT=$ac_cv_exeext
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3314 FILE *f = fopen ("conftest.out", "w");
3315 return ferror (f) || fclose (f) != 0;
3321 ac_clean_files="$ac_clean_files conftest.out"
3322 # Check that the compiler produces executables we can run. If not, either
3323 # the compiler is broken, or we cross compile.
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3325 $as_echo_n "checking whether we are cross compiling... " >&6; }
3326 if test "$cross_compiling" != yes; then
3327 { { ac_try="$ac_link"
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }
3338 if { ac_try='./conftest$ac_cv_exeext'
3339 { { case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_try") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; }; then
3351 if test "$cross_compiling" = maybe; then
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "cannot run C compiled programs.
3357 If you meant to cross compile, use \`--host'.
3358 See \`config.log' for more details" "$LINENO" 5 ; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3363 $as_echo "$cross_compiling" >&6; }
3365 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3366 ac_clean_files=$ac_clean_files_save
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3368 $as_echo_n "checking for suffix of object files... " >&6; }
3369 if test "${ac_cv_objext+set}" = set; then :
3370 $as_echo_n "(cached) " >&6
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 rm -f conftest.o conftest.obj
3384 if { { ac_try="$ac_compile"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_compile") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }; then :
3395 for ac_file in conftest.o conftest.obj conftest.*; do
3396 test -f "$ac_file" || continue;
3398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3399 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3404 $as_echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "cannot compute suffix of object files: cannot compile
3410 See \`config.log' for more details" "$LINENO" 5 ; }
3412 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3415 $as_echo "$ac_cv_objext" >&6; }
3416 OBJEXT=$ac_cv_objext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3419 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3420 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3421 $as_echo_n "(cached) " >&6
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3437 if ac_fn_c_try_compile "$LINENO"; then :
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3447 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3448 if test $ac_compiler_gnu = yes; then
3453 ac_test_CFLAGS=${CFLAGS+set}
3454 ac_save_CFLAGS=$CFLAGS
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3456 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3457 if test "${ac_cv_prog_cc_g+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 ac_save_c_werror_flag=$ac_c_werror_flag
3461 ac_c_werror_flag=yes
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3475 if ac_fn_c_try_compile "$LINENO"; then :
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3490 if ac_fn_c_try_compile "$LINENO"; then :
3493 ac_c_werror_flag=$ac_save_c_werror_flag
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 ac_c_werror_flag=$ac_save_c_werror_flag
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3517 $as_echo "$ac_cv_prog_cc_g" >&6; }
3518 if test "$ac_test_CFLAGS" = set; then
3519 CFLAGS=$ac_save_CFLAGS
3520 elif test $ac_cv_prog_cc_g = yes; then
3521 if test "$GCC" = yes; then
3527 if test "$GCC" = yes; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3534 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3535 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3536 $as_echo_n "(cached) " >&6
3538 ac_cv_prog_cc_c89=no
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3544 #include <sys/types.h>
3545 #include <sys/stat.h>
3546 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3547 struct buf { int x; };
3548 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3549 static char *e (p, i)
3555 static char *f (char * (*g) (char **, int), char **p, ...)
3560 s = g (p, va_arg (v,int));
3565 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3566 function prototypes and stuff, but not '\xHH' hex character constants.
3567 These don't provoke an error unfortunately, instead are silently treated
3568 as 'x'. The following induces an error, until -std is added to get
3569 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3570 array size at least. It's necessary to write '\x00'==0 to get something
3571 that's true only with -std. */
3572 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3574 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3575 inside strings and character constants. */
3577 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3579 int test (int i, double x);
3580 struct s1 {int (*f) (int a);};
3581 struct s2 {int (*f) (double a);};
3582 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3588 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3593 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3594 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3596 CC="$ac_save_CC $ac_arg"
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598 ac_cv_prog_cc_c89=$ac_arg
3600 rm -f core conftest.err conftest.$ac_objext
3601 test "x$ac_cv_prog_cc_c89" != "xno" && break
3603 rm -f conftest.$ac_ext
3608 case "x$ac_cv_prog_cc_c89" in
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3611 $as_echo "none needed" >&6; } ;;
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3614 $as_echo "unsupported" >&6; } ;;
3616 CC="$CC $ac_cv_prog_cc_c89"
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3618 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3620 if test "x$ac_cv_prog_cc_c89" != xno; then :
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 DEPDIR="${am__leading_dot}deps"
3631 ac_config_commands="$ac_config_commands depfiles"
3634 am_make=${MAKE-make}
3635 cat > confinc << 'END'
3637 @echo this is the am__doit target
3640 # If we don't find an include directive, just comment out the code.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3642 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3646 # First try GNU make style include.
3647 echo "include confinc" > confmf
3648 # Ignore all kinds of additional output from `make'.
3649 case `$am_make -s -f confmf 2> /dev/null` in #(
3650 *the\ am__doit\ target*)
3656 # Now try BSD make style include.
3657 if test "$am__include" = "#"; then
3658 echo '.include "confinc"' > confmf
3659 case `$am_make -s -f confmf 2> /dev/null` in #(
3660 *the\ am__doit\ target*)
3661 am__include=.include
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3670 $as_echo "$_am_result" >&6; }
3671 rm -f confinc confmf
3673 # Check whether --enable-dependency-tracking was given.
3674 if test "${enable_dependency_tracking+set}" = set; then :
3675 enableval=$enable_dependency_tracking;
3678 if test "x$enable_dependency_tracking" != xno; then
3679 am_depcomp="$ac_aux_dir/depcomp"
3682 if test "x$enable_dependency_tracking" != xno; then
3692 depcc="$CC" am_compiler_list=
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3695 $as_echo_n "checking dependency style of $depcc... " >&6; }
3696 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3700 # We make a subdir and do the tests there. Otherwise we can end up
3701 # making bogus files that we don't know about and never remove. For
3702 # instance it was reported that on HP-UX the gcc test will end up
3703 # making a dummy file named `D' -- because `-MD' means `put the output
3706 # Copy depcomp to subdir because otherwise we won't find it if we're
3707 # using a relative directory.
3708 cp "$am_depcomp" conftest.dir
3710 # We will build objects and dependencies in a subdirectory because
3711 # it helps to detect inapplicable dependency modes. For instance
3712 # both Tru64's cc and ICC support -MD to output dependencies as a
3713 # side effect of compilation, but ICC will put the dependencies in
3714 # the current directory while Tru64 will put them in the object
3718 am_cv_CC_dependencies_compiler_type=none
3719 if test "$am_compiler_list" = ""; then
3720 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3723 case " $depcc " in #(
3724 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3727 for depmode in $am_compiler_list; do
3728 # Setup a source with many dependencies, because some compilers
3729 # like to wrap large dependency lists on column 80 (with \), and
3730 # we should not choose a depcomp mode which is confused by this.
3732 # We need to recreate these files for each test, as the compiler may
3733 # overwrite some of them when testing with obscure command lines.
3734 # This happens at least with the AIX C compiler.
3736 for i in 1 2 3 4 5 6; do
3737 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3738 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3739 # Solaris 8's {/usr,}/bin/sh.
3740 touch sub/conftst$i.h
3742 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3744 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3745 # mode. It turns out that the SunPro C++ compiler does not properly
3746 # handle `-M -o', and we need to detect this. Also, some Intel
3747 # versions had trouble with output in subdirs
3748 am__obj=sub/conftest.${OBJEXT-o}
3749 am__minus_obj="-o $am__obj"
3752 # This depmode causes a compiler race in universal mode.
3753 test "$am__universal" = false || continue
3756 # after this tag, mechanisms are not by side-effect, so they'll
3757 # only be used when explicitly requested
3758 if test "x$enable_dependency_tracking" = xyes; then
3764 msvisualcpp | msvcmsys)
3765 # This compiler won't grok `-c -o', but also, the minuso test has
3766 # not run yet. These depmodes are late enough in the game, and
3767 # so weak that their functioning should not be impacted.
3768 am__obj=conftest.${OBJEXT-o}
3773 if depmode=$depmode \
3774 source=sub/conftest.c object=$am__obj \
3775 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3776 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3777 >/dev/null 2>conftest.err &&
3778 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3779 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3780 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3781 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3782 # icc doesn't choke on unknown options, it will just issue warnings
3783 # or remarks (even with -Werror). So we grep stderr for any message
3784 # that says an option was ignored or not supported.
3785 # When given -MP, icc 7.0 and 7.1 complain thusly:
3786 # icc: Command line warning: ignoring option '-M'; no argument required
3787 # The diagnosis changed in icc 8.0:
3788 # icc: Command line remark: option '-MP' not supported
3789 if (grep 'ignoring option' conftest.err ||
3790 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3791 am_cv_CC_dependencies_compiler_type=$depmode
3800 am_cv_CC_dependencies_compiler_type=none
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3805 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3806 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3809 test "x$enable_dependency_tracking" != xno \
3810 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3812 am__fastdepCC_FALSE='#'
3814 am__fastdepCC_TRUE='#'
3815 am__fastdepCC_FALSE=
3819 if test "x$CC" != xcc; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3821 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3824 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3826 set dummy $CC; ac_cc=`$as_echo "$2" |
3827 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3828 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3829 $as_echo_n "(cached) " >&6
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3842 # Make sure it works both with $CC and with simple cc.
3843 # We do the test twice because some compilers refuse to overwrite an
3844 # existing .o file with -o, though they will create one.
3845 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3847 if { { case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_try") 2>&5
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; } &&
3857 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862 $as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_try") 2>&5
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; };
3868 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3869 if test "x$CC" != xcc; then
3870 # Test first that cc exists at all.
3871 if { ac_try='cc -c conftest.$ac_ext >&5'
3872 { { case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3877 $as_echo "$ac_try_echo"; } >&5
3878 (eval "$ac_try") 2>&5
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; }; then
3882 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3884 if { { case "(($ac_try" in
3885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3889 $as_echo "$ac_try_echo"; } >&5
3890 (eval "$ac_try") 2>&5
3892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; } &&
3894 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 *) ac_try_echo=$ac_try;;
3898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3899 $as_echo "$ac_try_echo"; } >&5
3900 (eval "$ac_try") 2>&5
3902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3903 test $ac_status = 0; };
3908 # cc exists but doesn't like -o.
3909 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3914 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3916 rm -f core conftest*
3919 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3926 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3930 # FIXME: we rely on the cache variable name because
3931 # there is no other way.
3933 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3934 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3935 if test "$am_t" != yes; then
3936 # Losing compiler, so override with the script.
3937 # FIXME: It is wrong to rewrite CC.
3938 # But if we don't then we get into trouble of one sort or another.
3939 # A longer-term fix would be to have automake use am__CC in this case,
3940 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3941 CC="$am_aux_dir/compile $CC"
3947 if test -n "$ac_tool_prefix"; then
3948 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3949 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 if test -n "$RANLIB"; then
3956 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 RANLIB=$ac_cv_prog_RANLIB
3976 if test -n "$RANLIB"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3978 $as_echo "$RANLIB" >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3986 if test -z "$ac_cv_prog_RANLIB"; then
3987 ac_ct_RANLIB=$RANLIB
3988 # Extract the first word of "ranlib", so it can be a program name with args.
3989 set dummy ranlib; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3993 $as_echo_n "(cached) " >&6
3995 if test -n "$ac_ct_RANLIB"; then
3996 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4005 ac_cv_prog_ac_ct_RANLIB="ranlib"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4016 if test -n "$ac_ct_RANLIB"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4018 $as_echo "$ac_ct_RANLIB" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4024 if test "x$ac_ct_RANLIB" = x; then
4027 case $cross_compiling:$ac_tool_warned in
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4031 ac_tool_warned=yes ;;
4033 RANLIB=$ac_ct_RANLIB
4036 RANLIB="$ac_cv_prog_RANLIB"
4040 # Checks for header files.
4043 ac_cpp='$CPP $CPPFLAGS'
4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4048 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4049 # On Suns, sometimes $CPP names a directory.
4050 if test -n "$CPP" && test -d "$CPP"; then
4053 if test -z "$CPP"; then
4054 if test "${ac_cv_prog_CPP+set}" = set; then :
4055 $as_echo_n "(cached) " >&6
4057 # Double quotes because CPP needs to be expanded
4058 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4061 for ac_c_preproc_warn_flag in '' yes
4063 # Use a header file that comes with gcc, so configuring glibc
4064 # with a fresh cross-compiler works.
4065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4066 # <limits.h> exists even on freestanding compilers.
4067 # On the NeXT, cc -E runs the code through the compiler's parser,
4068 # not just through cpp. "Syntax error" is here to catch this case.
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4072 # include <limits.h>
4074 # include <assert.h>
4078 if ac_fn_c_try_cpp "$LINENO"; then :
4081 # Broken: fails on valid input.
4084 rm -f conftest.err conftest.i conftest.$ac_ext
4086 # OK, works on sane cases. Now check whether nonexistent headers
4087 # can be detected and how.
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090 #include <ac_nonexistent.h>
4092 if ac_fn_c_try_cpp "$LINENO"; then :
4093 # Broken: success on invalid input.
4096 # Passes both tests.
4100 rm -f conftest.err conftest.i conftest.$ac_ext
4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4104 rm -f conftest.i conftest.err conftest.$ac_ext
4105 if $ac_preproc_ok; then :
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4118 $as_echo "$CPP" >&6; }
4120 for ac_c_preproc_warn_flag in '' yes
4122 # Use a header file that comes with gcc, so configuring glibc
4123 # with a fresh cross-compiler works.
4124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4125 # <limits.h> exists even on freestanding compilers.
4126 # On the NeXT, cc -E runs the code through the compiler's parser,
4127 # not just through cpp. "Syntax error" is here to catch this case.
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4131 # include <limits.h>
4133 # include <assert.h>
4137 if ac_fn_c_try_cpp "$LINENO"; then :
4140 # Broken: fails on valid input.
4143 rm -f conftest.err conftest.i conftest.$ac_ext
4145 # OK, works on sane cases. Now check whether nonexistent headers
4146 # can be detected and how.
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4149 #include <ac_nonexistent.h>
4151 if ac_fn_c_try_cpp "$LINENO"; then :
4152 # Broken: success on invalid input.
4155 # Passes both tests.
4159 rm -f conftest.err conftest.i conftest.$ac_ext
4162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4163 rm -f conftest.i conftest.err conftest.$ac_ext
4164 if $ac_preproc_ok; then :
4167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4169 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4170 See \`config.log' for more details" "$LINENO" 5 ; }
4174 ac_cpp='$CPP $CPPFLAGS'
4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4181 $as_echo_n "checking for X... " >&6; }
4184 # Check whether --with-x was given.
4185 if test "${with_x+set}" = set; then :
4189 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4190 if test "x$with_x" = xno; then
4191 # The user explicitly disabled X.
4194 case $x_includes,$x_libraries in #(
4195 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
4196 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
4197 $as_echo_n "(cached) " >&6
4199 # One or both of the vars are not set, and there is no cached value.
4200 ac_x_includes=no ac_x_libraries=no
4201 rm -f -r conftest.dir
4202 if mkdir conftest.dir; then
4204 cat >Imakefile <<'_ACEOF'
4206 @echo incroot='${INCROOT}'
4208 @echo usrlibdir='${USRLIBDIR}'
4210 @echo libdir='${LIBDIR}'
4212 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4213 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4214 for ac_var in incroot usrlibdir libdir; do
4215 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4217 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4218 for ac_extension in a so sl dylib la dll; do
4219 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4220 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4221 ac_im_usrlibdir=$ac_im_libdir; break
4224 # Screen out bogus values from the imake configuration. They are
4225 # bogus both because they are the default anyway, and because
4226 # using them would break gcc on systems where it needs fixed includes.
4227 case $ac_im_incroot in
4228 /usr/include) ac_x_includes= ;;
4229 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4231 case $ac_im_usrlibdir in
4232 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4233 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4237 rm -f -r conftest.dir
4240 # Standard set of common directories for X headers.
4241 # Check X11 before X11Rn because it is often a symlink to the current release.
4255 /usr/local/X11/include
4256 /usr/local/X11R7/include
4257 /usr/local/X11R6/include
4258 /usr/local/X11R5/include
4259 /usr/local/X11R4/include
4261 /usr/local/include/X11
4262 /usr/local/include/X11R7
4263 /usr/local/include/X11R6
4264 /usr/local/include/X11R5
4265 /usr/local/include/X11R4
4269 /usr/XFree86/include/X11
4273 /usr/unsupported/include
4275 /usr/local/x11r5/include
4276 /usr/lpp/Xamples/include
4278 /usr/openwin/include
4279 /usr/openwin/share/include'
4281 if test "$ac_x_includes" = no; then
4282 # Guess where to find include files, by looking for Xlib.h.
4283 # First, try using that file with no special directory specified.
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4286 #include <X11/Xlib.h>
4288 if ac_fn_c_try_cpp "$LINENO"; then :
4289 # We can compile using X headers with no special include directory.
4292 for ac_dir in $ac_x_header_dirs; do
4293 if test -r "$ac_dir/X11/Xlib.h"; then
4294 ac_x_includes=$ac_dir
4299 rm -f conftest.err conftest.i conftest.$ac_ext
4300 fi # $ac_x_includes = no
4302 if test "$ac_x_libraries" = no; then
4303 # Check for the libraries.
4304 # See if we find them without any special options.
4305 # Don't add to $LIBS permanently.
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4310 #include <X11/Xlib.h>
4319 if ac_fn_c_try_link "$LINENO"; then :
4321 # We can link X programs with no special library path.
4325 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4327 # Don't even attempt the hair of trying to link an X program!
4328 for ac_extension in a so sl dylib la dll; do
4329 if test -r "$ac_dir/libX11.$ac_extension"; then
4330 ac_x_libraries=$ac_dir
4336 rm -f core conftest.err conftest.$ac_objext \
4337 conftest$ac_exeext conftest.$ac_ext
4338 fi # $ac_x_libraries = no
4340 case $ac_x_includes,$ac_x_libraries in #(
4342 # Didn't find X, or a directory has "'" in its name.
4343 ac_cv_have_x="have_x=no";; #(
4345 # Record where we found X for the cache.
4346 ac_cv_have_x="have_x=yes\
4347 ac_x_includes='$ac_x_includes'\
4348 ac_x_libraries='$ac_x_libraries'"
4354 eval "$ac_cv_have_x"
4357 if test "$have_x" != yes; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4359 $as_echo "$have_x" >&6; }
4362 # If each of the values was on the command line, it overrides each guess.
4363 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4364 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4365 # Update the cache value to reflect the command line values.
4366 ac_cv_have_x="have_x=yes\
4367 ac_x_includes='$x_includes'\
4368 ac_x_libraries='$x_libraries'"
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4370 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4374 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4375 if test "${ac_cv_path_GREP+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 if test -z "$GREP"; then
4379 ac_path_GREP_found=false
4380 # Loop through the user's path and test for each of PROGNAME-LIST
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4385 test -z "$as_dir" && as_dir=.
4386 for ac_prog in grep ggrep; do
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4389 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4390 # Check for GNU ac_path_GREP and select it if it is found.
4391 # Check for GNU $ac_path_GREP
4392 case `"$ac_path_GREP" --version 2>&1` in
4394 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4397 $as_echo_n 0123456789 >"conftest.in"
4400 cat "conftest.in" "conftest.in" >"conftest.tmp"
4401 mv "conftest.tmp" "conftest.in"
4402 cp "conftest.in" "conftest.nl"
4403 $as_echo 'GREP' >> "conftest.nl"
4404 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4405 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4406 as_fn_arith $ac_count + 1 && ac_count=$as_val
4407 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4408 # Best one so far, save it but keep looking for a better one
4409 ac_cv_path_GREP="$ac_path_GREP"
4410 ac_path_GREP_max=$ac_count
4412 # 10*(2^10) chars as input seems more than enough
4413 test $ac_count -gt 10 && break
4415 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4418 $ac_path_GREP_found && break 3
4423 if test -z "$ac_cv_path_GREP"; then
4424 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4427 ac_cv_path_GREP=$GREP
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4432 $as_echo "$ac_cv_path_GREP" >&6; }
4433 GREP="$ac_cv_path_GREP"
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4437 $as_echo_n "checking for egrep... " >&6; }
4438 if test "${ac_cv_path_EGREP+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4441 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4442 then ac_cv_path_EGREP="$GREP -E"
4444 if test -z "$EGREP"; then
4445 ac_path_EGREP_found=false
4446 # Loop through the user's path and test for each of PROGNAME-LIST
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4451 test -z "$as_dir" && as_dir=.
4452 for ac_prog in egrep; do
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4455 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4456 # Check for GNU ac_path_EGREP and select it if it is found.
4457 # Check for GNU $ac_path_EGREP
4458 case `"$ac_path_EGREP" --version 2>&1` in
4460 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4463 $as_echo_n 0123456789 >"conftest.in"
4466 cat "conftest.in" "conftest.in" >"conftest.tmp"
4467 mv "conftest.tmp" "conftest.in"
4468 cp "conftest.in" "conftest.nl"
4469 $as_echo 'EGREP' >> "conftest.nl"
4470 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4471 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4472 as_fn_arith $ac_count + 1 && ac_count=$as_val
4473 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4474 # Best one so far, save it but keep looking for a better one
4475 ac_cv_path_EGREP="$ac_path_EGREP"
4476 ac_path_EGREP_max=$ac_count
4478 # 10*(2^10) chars as input seems more than enough
4479 test $ac_count -gt 10 && break
4481 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4484 $ac_path_EGREP_found && break 3
4489 if test -z "$ac_cv_path_EGREP"; then
4490 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4493 ac_cv_path_EGREP=$EGREP
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4499 $as_echo "$ac_cv_path_EGREP" >&6; }
4500 EGREP="$ac_cv_path_EGREP"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4504 $as_echo_n "checking for ANSI C header files... " >&6; }
4505 if test "${ac_cv_header_stdc+set}" = set; then :
4506 $as_echo_n "(cached) " >&6
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4523 if ac_fn_c_try_compile "$LINENO"; then :
4524 ac_cv_header_stdc=yes
4526 ac_cv_header_stdc=no
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4530 if test $ac_cv_header_stdc = yes; then
4531 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4538 $EGREP "memchr" >/dev/null 2>&1; then :
4541 ac_cv_header_stdc=no
4547 if test $ac_cv_header_stdc = yes; then
4548 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4555 $EGREP "free" >/dev/null 2>&1; then :
4558 ac_cv_header_stdc=no
4564 if test $ac_cv_header_stdc = yes; then
4565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4566 if test "$cross_compiling" = yes; then :
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4573 #if ((' ' & 0x0FF) == 0x020)
4574 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4575 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4577 # define ISLOWER(c) \
4578 (('a' <= (c) && (c) <= 'i') \
4579 || ('j' <= (c) && (c) <= 'r') \
4580 || ('s' <= (c) && (c) <= 'z'))
4581 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4584 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4589 for (i = 0; i < 256; i++)
4590 if (XOR (islower (i), ISLOWER (i))
4591 || toupper (i) != TOUPPER (i))
4596 if ac_fn_c_try_run "$LINENO"; then :
4599 ac_cv_header_stdc=no
4601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4602 conftest.$ac_objext conftest.beam conftest.$ac_ext
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4608 $as_echo "$ac_cv_header_stdc" >&6; }
4609 if test $ac_cv_header_stdc = yes; then
4611 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4615 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4616 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4617 inttypes.h stdint.h unistd.h
4619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4623 cat >>confdefs.h <<_ACEOF
4624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4632 for ac_header in arpa/inet.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h getopt.h
4634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4635 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4636 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4637 cat >>confdefs.h <<_ACEOF
4638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4646 # Checks for typedefs, structures, and compiler characteristics.
4647 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4648 if test "x$ac_cv_type_size_t" = x""yes; then :
4652 cat >>confdefs.h <<_ACEOF
4653 #define size_t unsigned int
4658 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4659 if test "x$ac_cv_type_ssize_t" = x""yes; then :
4663 cat >>confdefs.h <<_ACEOF
4670 # Checks for library functions.
4671 for ac_header in stdlib.h
4673 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4674 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4675 cat >>confdefs.h <<_ACEOF
4676 #define HAVE_STDLIB_H 1
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4684 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4685 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4686 $as_echo_n "(cached) " >&6
4688 if test "$cross_compiling" = yes; then :
4689 ac_cv_func_malloc_0_nonnull=no
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4693 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4694 # include <stdlib.h>
4702 return ! malloc (0);
4707 if ac_fn_c_try_run "$LINENO"; then :
4708 ac_cv_func_malloc_0_nonnull=yes
4710 ac_cv_func_malloc_0_nonnull=no
4712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4713 conftest.$ac_objext conftest.beam conftest.$ac_ext
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4718 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4719 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4721 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4724 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4726 case " $LIBOBJS " in
4727 *" malloc.$ac_objext "* ) ;;
4728 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4733 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4738 for ac_header in stdlib.h
4740 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4741 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4742 cat >>confdefs.h <<_ACEOF
4743 #define HAVE_STDLIB_H 1
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4751 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4752 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
4753 $as_echo_n "(cached) " >&6
4755 if test "$cross_compiling" = yes; then :
4756 ac_cv_func_realloc_0_nonnull=no
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4760 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4761 # include <stdlib.h>
4769 return ! realloc (0, 0);
4774 if ac_fn_c_try_run "$LINENO"; then :
4775 ac_cv_func_realloc_0_nonnull=yes
4777 ac_cv_func_realloc_0_nonnull=no
4779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4780 conftest.$ac_objext conftest.beam conftest.$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4785 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4786 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4788 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4791 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4793 case " $LIBOBJS " in
4794 *" realloc.$ac_objext "* ) ;;
4795 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4800 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4805 for ac_func in gettimeofday memmove socket strdup strtol
4807 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4808 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4809 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4810 cat >>confdefs.h <<_ACEOF
4811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4821 $as_echo_n "checking whether NLS is requested... " >&6; }
4822 # Check whether --enable-nls was given.
4823 if test "${enable_nls+set}" = set; then :
4824 enableval=$enable_nls; USE_NLS=$enableval
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4830 $as_echo "$USE_NLS" >&6; }
4835 GETTEXT_MACRO_VERSION=0.18
4840 # Prepare PATH_SEPARATOR.
4841 # The user is always right.
4842 if test "${PATH_SEPARATOR+set}" != set; then
4843 echo "#! /bin/sh" >conf$$.sh
4844 echo "exit 0" >>conf$$.sh
4846 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4854 # Find out how to test for executable files. Don't use a zero-byte file,
4855 # as systems may use methods other than mode bits to determine executability.
4856 cat >conf$$.file <<_ASEOF
4860 chmod +x conf$$.file
4861 if test -x conf$$.file >/dev/null 2>&1; then
4862 ac_executable_p="test -x"
4864 ac_executable_p="test -f"
4868 # Extract the first word of "msgfmt", so it can be a program name with args.
4869 set dummy msgfmt; ac_word=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4873 $as_echo_n "(cached) " >&6
4877 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4880 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4881 for ac_dir in $PATH; do
4883 test -z "$ac_dir" && ac_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4886 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4887 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4888 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4889 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4896 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4900 MSGFMT="$ac_cv_path_MSGFMT"
4901 if test "$MSGFMT" != ":"; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4903 $as_echo "$MSGFMT" >&6; }
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 $as_echo "no" >&6; }
4909 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4910 set dummy gmsgfmt; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4918 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4940 GMSGFMT=$ac_cv_path_GMSGFMT
4941 if test -n "$GMSGFMT"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4943 $as_echo "$GMSGFMT" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4951 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4952 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4953 *) MSGFMT_015=$MSGFMT ;;
4956 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4957 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4958 *) GMSGFMT_015=$GMSGFMT ;;
4963 # Prepare PATH_SEPARATOR.
4964 # The user is always right.
4965 if test "${PATH_SEPARATOR+set}" != set; then
4966 echo "#! /bin/sh" >conf$$.sh
4967 echo "exit 0" >>conf$$.sh
4969 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4977 # Find out how to test for executable files. Don't use a zero-byte file,
4978 # as systems may use methods other than mode bits to determine executability.
4979 cat >conf$$.file <<_ASEOF
4983 chmod +x conf$$.file
4984 if test -x conf$$.file >/dev/null 2>&1; then
4985 ac_executable_p="test -x"
4987 ac_executable_p="test -f"
4991 # Extract the first word of "xgettext", so it can be a program name with args.
4992 set dummy xgettext; ac_word=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
5000 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5003 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5004 for ac_dir in $PATH; do
5006 test -z "$ac_dir" && ac_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5009 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5010 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5011 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5012 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5019 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5023 XGETTEXT="$ac_cv_path_XGETTEXT"
5024 if test "$XGETTEXT" != ":"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5026 $as_echo "$XGETTEXT" >&6; }
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5034 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5035 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5036 *) XGETTEXT_015=$XGETTEXT ;;
5041 # Prepare PATH_SEPARATOR.
5042 # The user is always right.
5043 if test "${PATH_SEPARATOR+set}" != set; then
5044 echo "#! /bin/sh" >conf$$.sh
5045 echo "exit 0" >>conf$$.sh
5047 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5055 # Find out how to test for executable files. Don't use a zero-byte file,
5056 # as systems may use methods other than mode bits to determine executability.
5057 cat >conf$$.file <<_ASEOF
5061 chmod +x conf$$.file
5062 if test -x conf$$.file >/dev/null 2>&1; then
5063 ac_executable_p="test -x"
5065 ac_executable_p="test -f"
5069 # Extract the first word of "msgmerge", so it can be a program name with args.
5070 set dummy msgmerge; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5078 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5081 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5082 for ac_dir in $PATH; do
5084 test -z "$ac_dir" && ac_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5087 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5088 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5089 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5096 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5100 MSGMERGE="$ac_cv_path_MSGMERGE"
5101 if test "$MSGMERGE" != ":"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5103 $as_echo "$MSGMERGE" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$localedir" || localedir='${datadir}/locale'
5113 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5116 ac_config_commands="$ac_config_commands po-directories"
5120 if test "X$prefix" = "XNONE"; then
5121 acl_final_prefix="$ac_default_prefix"
5123 acl_final_prefix="$prefix"
5125 if test "X$exec_prefix" = "XNONE"; then
5126 acl_final_exec_prefix='${prefix}'
5128 acl_final_exec_prefix="$exec_prefix"
5130 acl_save_prefix="$prefix"
5131 prefix="$acl_final_prefix"
5132 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5133 prefix="$acl_save_prefix"
5135 # Make sure we can run config.sub.
5136 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5137 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5140 $as_echo_n "checking build system type... " >&6; }
5141 if test "${ac_cv_build+set}" = set; then :
5142 $as_echo_n "(cached) " >&6
5144 ac_build_alias=$build_alias
5145 test "x$ac_build_alias" = x &&
5146 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5147 test "x$ac_build_alias" = x &&
5148 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5149 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5150 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5154 $as_echo "$ac_cv_build" >&6; }
5155 case $ac_cv_build in
5157 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5160 ac_save_IFS=$IFS; IFS='-'
5166 # Remember, the first character of IFS is used to create $*,
5167 # except with old shells:
5170 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5174 $as_echo_n "checking host system type... " >&6; }
5175 if test "${ac_cv_host+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 if test "x$host_alias" = x; then
5179 ac_cv_host=$ac_cv_build
5181 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5182 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5187 $as_echo "$ac_cv_host" >&6; }
5190 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5193 ac_save_IFS=$IFS; IFS='-'
5199 # Remember, the first character of IFS is used to create $*,
5200 # except with old shells:
5203 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5207 # Check whether --with-gnu-ld was given.
5208 if test "${with_gnu_ld+set}" = set; then :
5209 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5214 # Prepare PATH_SEPARATOR.
5215 # The user is always right.
5216 if test "${PATH_SEPARATOR+set}" != set; then
5217 echo "#! /bin/sh" >conf$$.sh
5218 echo "exit 0" >>conf$$.sh
5220 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5228 if test "$GCC" = yes; then
5229 # Check if gcc -print-prog-name=ld gives a path.
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5231 $as_echo_n "checking for ld used by GCC... " >&6; }
5234 # gcc leaves a trailing carriage return which upsets mingw
5235 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5237 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5240 # Accept absolute paths.
5241 [\\/]* | [A-Za-z]:[\\/]*)
5242 re_direlt='/[^/][^/]*/\.\./'
5243 # Canonicalize the path of ld
5244 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5245 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5246 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5248 test -z "$LD" && LD="$ac_prog"
5251 # If it fails, then pretend we aren't using GCC.
5255 # If it is relative, then search for the first ld in PATH.
5259 elif test "$with_gnu_ld" = yes; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5261 $as_echo_n "checking for GNU ld... " >&6; }
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5264 $as_echo_n "checking for non-GNU ld... " >&6; }
5266 if test "${acl_cv_path_LD+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -z "$LD"; then
5270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5271 for ac_dir in $PATH; do
5272 test -z "$ac_dir" && ac_dir=.
5273 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5274 acl_cv_path_LD="$ac_dir/$ac_prog"
5275 # Check to see if the program is GNU ld. I'd rather use --version,
5276 # but apparently some GNU ld's only accept -v.
5277 # Break only if it was the GNU/non-GNU ld that we prefer.
5278 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5279 *GNU* | *'with BFD'*)
5280 test "$with_gnu_ld" != no && break ;;
5282 test "$with_gnu_ld" != yes && break ;;
5288 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5292 LD="$acl_cv_path_LD"
5293 if test -n "$LD"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5295 $as_echo "$LD" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5300 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5302 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5303 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5306 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5307 case `$LD -v 2>&1 </dev/null` in
5308 *GNU* | *'with BFD'*)
5309 acl_cv_prog_gnu_ld=yes ;;
5311 acl_cv_prog_gnu_ld=no ;;
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5315 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5316 with_gnu_ld=$acl_cv_prog_gnu_ld
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5322 $as_echo_n "checking for shared library run path origin... " >&6; }
5323 if test "${acl_cv_rpath+set}" = set; then :
5324 $as_echo_n "(cached) " >&6
5327 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5328 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5335 $as_echo "$acl_cv_rpath" >&6; }
5337 acl_libext="$acl_cv_libext"
5338 acl_shlibext="$acl_cv_shlibext"
5339 acl_libname_spec="$acl_cv_libname_spec"
5340 acl_library_names_spec="$acl_cv_library_names_spec"
5341 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5342 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5343 acl_hardcode_direct="$acl_cv_hardcode_direct"
5344 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5345 # Check whether --enable-rpath was given.
5346 if test "${enable_rpath+set}" = set; then :
5347 enableval=$enable_rpath; :
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5360 $as_echo_n "checking for 64-bit host... " >&6; }
5361 if test "${gl_cv_solaris_64bit+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5373 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5374 gl_cv_solaris_64bit=yes
5376 gl_cv_solaris_64bit=no
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5383 $as_echo "$gl_cv_solaris_64bit" >&6; }
5384 if test $gl_cv_solaris_64bit = yes; then
5385 acl_libdirstem=lib/64
5387 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5388 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5393 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5394 if test -n "$searchpath"; then
5395 acl_save_IFS="${IFS= }"; IFS=":"
5396 for searchdir in $searchpath; do
5397 if test -d "$searchdir"; then
5398 case "$searchdir" in
5399 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5401 # Better ignore directories of this form. They are misleading.
5403 *) searchdir=`cd "$searchdir" && pwd`
5404 case "$searchdir" in
5405 */lib64 ) acl_libdirstem=lib64 ;;
5414 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5429 acl_save_prefix="$prefix"
5430 prefix="$acl_final_prefix"
5431 acl_save_exec_prefix="$exec_prefix"
5432 exec_prefix="$acl_final_exec_prefix"
5434 eval additional_includedir=\"$includedir\"
5435 eval additional_libdir=\"$libdir\"
5437 exec_prefix="$acl_save_exec_prefix"
5438 prefix="$acl_save_prefix"
5441 # Check whether --with-libiconv-prefix was given.
5442 if test "${with_libiconv_prefix+set}" = set; then :
5443 withval=$with_libiconv_prefix;
5444 if test "X$withval" = "Xno"; then
5447 if test "X$withval" = "X"; then
5449 acl_save_prefix="$prefix"
5450 prefix="$acl_final_prefix"
5451 acl_save_exec_prefix="$exec_prefix"
5452 exec_prefix="$acl_final_exec_prefix"
5454 eval additional_includedir=\"$includedir\"
5455 eval additional_libdir=\"$libdir\"
5457 exec_prefix="$acl_save_exec_prefix"
5458 prefix="$acl_save_prefix"
5461 additional_includedir="$withval/include"
5462 additional_libdir="$withval/$acl_libdirstem"
5463 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5464 && ! test -d "$withval/$acl_libdirstem"; then
5465 additional_libdir="$withval/$acl_libdirstem2"
5479 names_already_handled=
5480 names_next_round='iconv '
5481 while test -n "$names_next_round"; do
5482 names_this_round="$names_next_round"
5484 for name in $names_this_round; do
5486 for n in $names_already_handled; do
5487 if test "$n" = "$name"; then
5492 if test -z "$already_handled"; then
5493 names_already_handled="$names_already_handled $name"
5494 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5495 eval value=\"\$HAVE_LIB$uppername\"
5496 if test -n "$value"; then
5497 if test "$value" = yes; then
5498 eval value=\"\$LIB$uppername\"
5499 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5500 eval value=\"\$LTLIB$uppername\"
5501 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5510 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5511 if test -n "$acl_shlibext"; then
5512 shrext=".$acl_shlibext" # typically: shrext=.so
5516 if test $use_additional = yes; then
5517 dir="$additional_libdir"
5518 if test -n "$acl_shlibext"; then
5519 if test -f "$dir/$libname$shrext"; then
5521 found_so="$dir/$libname$shrext"
5523 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5524 ver=`(cd "$dir" && \
5525 for f in "$libname$shrext".*; do echo "$f"; done \
5526 | sed -e "s,^$libname$shrext\\\\.,," \
5527 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5528 | sed 1q ) 2>/dev/null`
5529 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5531 found_so="$dir/$libname$shrext.$ver"
5534 eval library_names=\"$acl_library_names_spec\"
5535 for f in $library_names; do
5536 if test -f "$dir/$f"; then
5545 if test "X$found_dir" = "X"; then
5546 if test -f "$dir/$libname.$acl_libext"; then
5548 found_a="$dir/$libname.$acl_libext"
5551 if test "X$found_dir" != "X"; then
5552 if test -f "$dir/$libname.la"; then
5553 found_la="$dir/$libname.la"
5557 if test "X$found_dir" = "X"; then
5558 for x in $LDFLAGS $LTLIBICONV; do
5560 acl_save_prefix="$prefix"
5561 prefix="$acl_final_prefix"
5562 acl_save_exec_prefix="$exec_prefix"
5563 exec_prefix="$acl_final_exec_prefix"
5565 exec_prefix="$acl_save_exec_prefix"
5566 prefix="$acl_save_prefix"
5570 dir=`echo "X$x" | sed -e 's/^X-L//'`
5571 if test -n "$acl_shlibext"; then
5572 if test -f "$dir/$libname$shrext"; then
5574 found_so="$dir/$libname$shrext"
5576 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5577 ver=`(cd "$dir" && \
5578 for f in "$libname$shrext".*; do echo "$f"; done \
5579 | sed -e "s,^$libname$shrext\\\\.,," \
5580 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5581 | sed 1q ) 2>/dev/null`
5582 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5584 found_so="$dir/$libname$shrext.$ver"
5587 eval library_names=\"$acl_library_names_spec\"
5588 for f in $library_names; do
5589 if test -f "$dir/$f"; then
5598 if test "X$found_dir" = "X"; then
5599 if test -f "$dir/$libname.$acl_libext"; then
5601 found_a="$dir/$libname.$acl_libext"
5604 if test "X$found_dir" != "X"; then
5605 if test -f "$dir/$libname.la"; then
5606 found_la="$dir/$libname.la"
5611 if test "X$found_dir" != "X"; then
5616 if test "X$found_dir" != "X"; then
5617 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5618 if test "X$found_so" != "X"; then
5619 if test "$enable_rpath" = no \
5620 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5621 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5622 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5625 for x in $ltrpathdirs; do
5626 if test "X$x" = "X$found_dir"; then
5631 if test -z "$haveit"; then
5632 ltrpathdirs="$ltrpathdirs $found_dir"
5634 if test "$acl_hardcode_direct" = yes; then
5635 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5637 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5638 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5640 for x in $rpathdirs; do
5641 if test "X$x" = "X$found_dir"; then
5646 if test -z "$haveit"; then
5647 rpathdirs="$rpathdirs $found_dir"
5651 for x in $LDFLAGS $LIBICONV; do
5653 acl_save_prefix="$prefix"
5654 prefix="$acl_final_prefix"
5655 acl_save_exec_prefix="$exec_prefix"
5656 exec_prefix="$acl_final_exec_prefix"
5658 exec_prefix="$acl_save_exec_prefix"
5659 prefix="$acl_save_prefix"
5661 if test "X$x" = "X-L$found_dir"; then
5666 if test -z "$haveit"; then
5667 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5669 if test "$acl_hardcode_minus_L" != no; then
5670 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5672 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5678 if test "X$found_a" != "X"; then
5679 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5681 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5684 additional_includedir=
5685 case "$found_dir" in
5686 */$acl_libdirstem | */$acl_libdirstem/)
5687 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5688 if test "$name" = 'iconv'; then
5689 LIBICONV_PREFIX="$basedir"
5691 additional_includedir="$basedir/include"
5693 */$acl_libdirstem2 | */$acl_libdirstem2/)
5694 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5695 if test "$name" = 'iconv'; then
5696 LIBICONV_PREFIX="$basedir"
5698 additional_includedir="$basedir/include"
5701 if test "X$additional_includedir" != "X"; then
5702 if test "X$additional_includedir" != "X/usr/include"; then
5704 if test "X$additional_includedir" = "X/usr/local/include"; then
5705 if test -n "$GCC"; then
5707 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5711 if test -z "$haveit"; then
5712 for x in $CPPFLAGS $INCICONV; do
5714 acl_save_prefix="$prefix"
5715 prefix="$acl_final_prefix"
5716 acl_save_exec_prefix="$exec_prefix"
5717 exec_prefix="$acl_final_exec_prefix"
5719 exec_prefix="$acl_save_exec_prefix"
5720 prefix="$acl_save_prefix"
5722 if test "X$x" = "X-I$additional_includedir"; then
5727 if test -z "$haveit"; then
5728 if test -d "$additional_includedir"; then
5729 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5735 if test -n "$found_la"; then
5736 save_libdir="$libdir"
5738 */* | *\\*) . "$found_la" ;;
5739 *) . "./$found_la" ;;
5741 libdir="$save_libdir"
5742 for dep in $dependency_libs; do
5745 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5746 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5747 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5749 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5750 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5751 if test -n "$GCC"; then
5753 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5757 if test -z "$haveit"; then
5759 for x in $LDFLAGS $LIBICONV; do
5761 acl_save_prefix="$prefix"
5762 prefix="$acl_final_prefix"
5763 acl_save_exec_prefix="$exec_prefix"
5764 exec_prefix="$acl_final_exec_prefix"
5766 exec_prefix="$acl_save_exec_prefix"
5767 prefix="$acl_save_prefix"
5769 if test "X$x" = "X-L$additional_libdir"; then
5774 if test -z "$haveit"; then
5775 if test -d "$additional_libdir"; then
5776 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5780 for x in $LDFLAGS $LTLIBICONV; do
5782 acl_save_prefix="$prefix"
5783 prefix="$acl_final_prefix"
5784 acl_save_exec_prefix="$exec_prefix"
5785 exec_prefix="$acl_final_exec_prefix"
5787 exec_prefix="$acl_save_exec_prefix"
5788 prefix="$acl_save_prefix"
5790 if test "X$x" = "X-L$additional_libdir"; then
5795 if test -z "$haveit"; then
5796 if test -d "$additional_libdir"; then
5797 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5804 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5805 if test "$enable_rpath" != no; then
5807 for x in $rpathdirs; do
5808 if test "X$x" = "X$dir"; then
5813 if test -z "$haveit"; then
5814 rpathdirs="$rpathdirs $dir"
5817 for x in $ltrpathdirs; do
5818 if test "X$x" = "X$dir"; then
5823 if test -z "$haveit"; then
5824 ltrpathdirs="$ltrpathdirs $dir"
5829 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5832 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5835 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5836 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5842 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5843 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5849 if test "X$rpathdirs" != "X"; then
5850 if test -n "$acl_hardcode_libdir_separator"; then
5852 for found_dir in $rpathdirs; do
5853 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5855 acl_save_libdir="$libdir"
5857 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5858 libdir="$acl_save_libdir"
5859 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5861 for found_dir in $rpathdirs; do
5862 acl_save_libdir="$libdir"
5864 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5865 libdir="$acl_save_libdir"
5866 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5870 if test "X$ltrpathdirs" != "X"; then
5871 for found_dir in $ltrpathdirs; do
5872 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5907 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5908 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
5909 $as_echo_n "(cached) " >&6
5911 gt_save_LIBS="$LIBS"
5912 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5915 #include <CoreFoundation/CFPreferences.h>
5919 CFPreferencesCopyAppValue(NULL, NULL)
5924 if ac_fn_c_try_link "$LINENO"; then :
5925 gt_cv_func_CFPreferencesCopyAppValue=yes
5927 gt_cv_func_CFPreferencesCopyAppValue=no
5929 rm -f core conftest.err conftest.$ac_objext \
5930 conftest$ac_exeext conftest.$ac_ext
5931 LIBS="$gt_save_LIBS"
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5934 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5935 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5937 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5941 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5942 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5945 gt_save_LIBS="$LIBS"
5946 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5949 #include <CoreFoundation/CFLocale.h>
5953 CFLocaleCopyCurrent();
5958 if ac_fn_c_try_link "$LINENO"; then :
5959 gt_cv_func_CFLocaleCopyCurrent=yes
5961 gt_cv_func_CFLocaleCopyCurrent=no
5963 rm -f core conftest.err conftest.$ac_objext \
5964 conftest$ac_exeext conftest.$ac_ext
5965 LIBS="$gt_save_LIBS"
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5968 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5969 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5971 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5975 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5976 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5988 case " $gt_needs " in
5989 *" need-formatstring-macros "*) gt_api_version=3 ;;
5990 *" need-ngettext "*) gt_api_version=2 ;;
5991 *) gt_api_version=1 ;;
5993 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5994 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5996 if test "$USE_NLS" = "yes"; then
5997 gt_use_preinstalled_gnugettext=no
6000 if test $gt_api_version -ge 3; then
6001 gt_revision_test_code='
6002 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6003 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6005 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6008 gt_revision_test_code=
6010 if test $gt_api_version -ge 2; then
6011 gt_expression_test_code=' + * ngettext ("", "", 0)'
6013 gt_expression_test_code=
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6017 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6018 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
6019 $as_echo_n "(cached) " >&6
6021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <libintl.h>
6024 $gt_revision_test_code
6025 extern int _nl_msg_cat_cntr;
6026 extern int *_nl_domain_bindings;
6030 bindtextdomain ("", "");
6031 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6036 if ac_fn_c_try_link "$LINENO"; then :
6037 eval "$gt_func_gnugettext_libc=yes"
6039 eval "$gt_func_gnugettext_libc=no"
6041 rm -f core conftest.err conftest.$ac_objext \
6042 conftest$ac_exeext conftest.$ac_ext
6044 eval ac_res=\$$gt_func_gnugettext_libc
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6046 $as_echo "$ac_res" >&6; }
6048 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6054 am_save_CPPFLAGS="$CPPFLAGS"
6056 for element in $INCICONV; do
6058 for x in $CPPFLAGS; do
6060 acl_save_prefix="$prefix"
6061 prefix="$acl_final_prefix"
6062 acl_save_exec_prefix="$exec_prefix"
6063 exec_prefix="$acl_final_exec_prefix"
6065 exec_prefix="$acl_save_exec_prefix"
6066 prefix="$acl_save_prefix"
6068 if test "X$x" = "X$element"; then
6073 if test -z "$haveit"; then
6074 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6080 $as_echo_n "checking for iconv... " >&6; }
6081 if test "${am_cv_func_iconv+set}" = set; then :
6082 $as_echo_n "(cached) " >&6
6085 am_cv_func_iconv="no, consider installing GNU libiconv"
6087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6094 iconv_t cd = iconv_open("","");
6095 iconv(cd,NULL,NULL,NULL,NULL);
6101 if ac_fn_c_try_link "$LINENO"; then :
6102 am_cv_func_iconv=yes
6104 rm -f core conftest.err conftest.$ac_objext \
6105 conftest$ac_exeext conftest.$ac_ext
6106 if test "$am_cv_func_iconv" != yes; then
6107 am_save_LIBS="$LIBS"
6108 LIBS="$LIBS $LIBICONV"
6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6116 iconv_t cd = iconv_open("","");
6117 iconv(cd,NULL,NULL,NULL,NULL);
6123 if ac_fn_c_try_link "$LINENO"; then :
6125 am_cv_func_iconv=yes
6127 rm -f core conftest.err conftest.$ac_objext \
6128 conftest$ac_exeext conftest.$ac_ext
6129 LIBS="$am_save_LIBS"
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6134 $as_echo "$am_cv_func_iconv" >&6; }
6135 if test "$am_cv_func_iconv" = yes; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6137 $as_echo_n "checking for working iconv... " >&6; }
6138 if test "${am_cv_func_iconv_works+set}" = set; then :
6139 $as_echo_n "(cached) " >&6
6142 am_save_LIBS="$LIBS"
6143 if test $am_cv_lib_iconv = yes; then
6144 LIBS="$LIBS $LIBICONV"
6146 if test "$cross_compiling" = yes; then :
6148 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6149 *) am_cv_func_iconv_works="guessing yes" ;;
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6159 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6162 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6163 if (cd_utf8_to_88591 != (iconv_t)(-1))
6165 static const char input[] = "\342\202\254"; /* EURO SIGN */
6167 const char *inptr = input;
6168 size_t inbytesleft = strlen (input);
6170 size_t outbytesleft = sizeof (buf);
6171 size_t res = iconv (cd_utf8_to_88591,
6172 (char **) &inptr, &inbytesleft,
6173 &outptr, &outbytesleft);
6178 /* Test against Solaris 10 bug: Failures are not distinguishable from
6179 successful returns. */
6181 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6182 if (cd_ascii_to_88591 != (iconv_t)(-1))
6184 static const char input[] = "\263";
6186 const char *inptr = input;
6187 size_t inbytesleft = strlen (input);
6189 size_t outbytesleft = sizeof (buf);
6190 size_t res = iconv (cd_ascii_to_88591,
6191 (char **) &inptr, &inbytesleft,
6192 &outptr, &outbytesleft);
6197 #if 0 /* This bug could be worked around by the caller. */
6198 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6200 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6201 if (cd_88591_to_utf8 != (iconv_t)(-1))
6203 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6205 const char *inptr = input;
6206 size_t inbytesleft = strlen (input);
6208 size_t outbytesleft = sizeof (buf);
6209 size_t res = iconv (cd_88591_to_utf8,
6210 (char **) &inptr, &inbytesleft,
6211 &outptr, &outbytesleft);
6217 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6219 if (/* Try standardized names. */
6220 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6221 /* Try IRIX, OSF/1 names. */
6222 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6223 /* Try AIX names. */
6224 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6225 /* Try HP-UX names. */
6226 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6231 if ac_fn_c_try_run "$LINENO"; then :
6232 am_cv_func_iconv_works=yes
6234 am_cv_func_iconv_works=no
6236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6237 conftest.$ac_objext conftest.beam conftest.$ac_ext
6240 LIBS="$am_save_LIBS"
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6244 $as_echo "$am_cv_func_iconv_works" >&6; }
6245 case "$am_cv_func_iconv_works" in
6246 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6247 *) am_func_iconv=yes ;;
6250 am_func_iconv=no am_cv_lib_iconv=no
6252 if test "$am_func_iconv" = yes; then
6254 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6257 if test "$am_cv_lib_iconv" = yes; then
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6259 $as_echo_n "checking how to link with libiconv... " >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6261 $as_echo "$LIBICONV" >&6; }
6263 CPPFLAGS="$am_save_CPPFLAGS"
6280 acl_save_prefix="$prefix"
6281 prefix="$acl_final_prefix"
6282 acl_save_exec_prefix="$exec_prefix"
6283 exec_prefix="$acl_final_exec_prefix"
6285 eval additional_includedir=\"$includedir\"
6286 eval additional_libdir=\"$libdir\"
6288 exec_prefix="$acl_save_exec_prefix"
6289 prefix="$acl_save_prefix"
6292 # Check whether --with-libintl-prefix was given.
6293 if test "${with_libintl_prefix+set}" = set; then :
6294 withval=$with_libintl_prefix;
6295 if test "X$withval" = "Xno"; then
6298 if test "X$withval" = "X"; then
6300 acl_save_prefix="$prefix"
6301 prefix="$acl_final_prefix"
6302 acl_save_exec_prefix="$exec_prefix"
6303 exec_prefix="$acl_final_exec_prefix"
6305 eval additional_includedir=\"$includedir\"
6306 eval additional_libdir=\"$libdir\"
6308 exec_prefix="$acl_save_exec_prefix"
6309 prefix="$acl_save_prefix"
6312 additional_includedir="$withval/include"
6313 additional_libdir="$withval/$acl_libdirstem"
6314 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6315 && ! test -d "$withval/$acl_libdirstem"; then
6316 additional_libdir="$withval/$acl_libdirstem2"
6330 names_already_handled=
6331 names_next_round='intl '
6332 while test -n "$names_next_round"; do
6333 names_this_round="$names_next_round"
6335 for name in $names_this_round; do
6337 for n in $names_already_handled; do
6338 if test "$n" = "$name"; then
6343 if test -z "$already_handled"; then
6344 names_already_handled="$names_already_handled $name"
6345 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6346 eval value=\"\$HAVE_LIB$uppername\"
6347 if test -n "$value"; then
6348 if test "$value" = yes; then
6349 eval value=\"\$LIB$uppername\"
6350 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6351 eval value=\"\$LTLIB$uppername\"
6352 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6361 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6362 if test -n "$acl_shlibext"; then
6363 shrext=".$acl_shlibext" # typically: shrext=.so
6367 if test $use_additional = yes; then
6368 dir="$additional_libdir"
6369 if test -n "$acl_shlibext"; then
6370 if test -f "$dir/$libname$shrext"; then
6372 found_so="$dir/$libname$shrext"
6374 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6375 ver=`(cd "$dir" && \
6376 for f in "$libname$shrext".*; do echo "$f"; done \
6377 | sed -e "s,^$libname$shrext\\\\.,," \
6378 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6379 | sed 1q ) 2>/dev/null`
6380 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6382 found_so="$dir/$libname$shrext.$ver"
6385 eval library_names=\"$acl_library_names_spec\"
6386 for f in $library_names; do
6387 if test -f "$dir/$f"; then
6396 if test "X$found_dir" = "X"; then
6397 if test -f "$dir/$libname.$acl_libext"; then
6399 found_a="$dir/$libname.$acl_libext"
6402 if test "X$found_dir" != "X"; then
6403 if test -f "$dir/$libname.la"; then
6404 found_la="$dir/$libname.la"
6408 if test "X$found_dir" = "X"; then
6409 for x in $LDFLAGS $LTLIBINTL; do
6411 acl_save_prefix="$prefix"
6412 prefix="$acl_final_prefix"
6413 acl_save_exec_prefix="$exec_prefix"
6414 exec_prefix="$acl_final_exec_prefix"
6416 exec_prefix="$acl_save_exec_prefix"
6417 prefix="$acl_save_prefix"
6421 dir=`echo "X$x" | sed -e 's/^X-L//'`
6422 if test -n "$acl_shlibext"; then
6423 if test -f "$dir/$libname$shrext"; then
6425 found_so="$dir/$libname$shrext"
6427 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6428 ver=`(cd "$dir" && \
6429 for f in "$libname$shrext".*; do echo "$f"; done \
6430 | sed -e "s,^$libname$shrext\\\\.,," \
6431 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6432 | sed 1q ) 2>/dev/null`
6433 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6435 found_so="$dir/$libname$shrext.$ver"
6438 eval library_names=\"$acl_library_names_spec\"
6439 for f in $library_names; do
6440 if test -f "$dir/$f"; then
6449 if test "X$found_dir" = "X"; then
6450 if test -f "$dir/$libname.$acl_libext"; then
6452 found_a="$dir/$libname.$acl_libext"
6455 if test "X$found_dir" != "X"; then
6456 if test -f "$dir/$libname.la"; then
6457 found_la="$dir/$libname.la"
6462 if test "X$found_dir" != "X"; then
6467 if test "X$found_dir" != "X"; then
6468 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6469 if test "X$found_so" != "X"; then
6470 if test "$enable_rpath" = no \
6471 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6472 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6473 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6476 for x in $ltrpathdirs; do
6477 if test "X$x" = "X$found_dir"; then
6482 if test -z "$haveit"; then
6483 ltrpathdirs="$ltrpathdirs $found_dir"
6485 if test "$acl_hardcode_direct" = yes; then
6486 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6488 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6489 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6491 for x in $rpathdirs; do
6492 if test "X$x" = "X$found_dir"; then
6497 if test -z "$haveit"; then
6498 rpathdirs="$rpathdirs $found_dir"
6502 for x in $LDFLAGS $LIBINTL; do
6504 acl_save_prefix="$prefix"
6505 prefix="$acl_final_prefix"
6506 acl_save_exec_prefix="$exec_prefix"
6507 exec_prefix="$acl_final_exec_prefix"
6509 exec_prefix="$acl_save_exec_prefix"
6510 prefix="$acl_save_prefix"
6512 if test "X$x" = "X-L$found_dir"; then
6517 if test -z "$haveit"; then
6518 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6520 if test "$acl_hardcode_minus_L" != no; then
6521 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6523 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6529 if test "X$found_a" != "X"; then
6530 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6532 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6535 additional_includedir=
6536 case "$found_dir" in
6537 */$acl_libdirstem | */$acl_libdirstem/)
6538 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6539 if test "$name" = 'intl'; then
6540 LIBINTL_PREFIX="$basedir"
6542 additional_includedir="$basedir/include"
6544 */$acl_libdirstem2 | */$acl_libdirstem2/)
6545 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6546 if test "$name" = 'intl'; then
6547 LIBINTL_PREFIX="$basedir"
6549 additional_includedir="$basedir/include"
6552 if test "X$additional_includedir" != "X"; then
6553 if test "X$additional_includedir" != "X/usr/include"; then
6555 if test "X$additional_includedir" = "X/usr/local/include"; then
6556 if test -n "$GCC"; then
6558 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6562 if test -z "$haveit"; then
6563 for x in $CPPFLAGS $INCINTL; do
6565 acl_save_prefix="$prefix"
6566 prefix="$acl_final_prefix"
6567 acl_save_exec_prefix="$exec_prefix"
6568 exec_prefix="$acl_final_exec_prefix"
6570 exec_prefix="$acl_save_exec_prefix"
6571 prefix="$acl_save_prefix"
6573 if test "X$x" = "X-I$additional_includedir"; then
6578 if test -z "$haveit"; then
6579 if test -d "$additional_includedir"; then
6580 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6586 if test -n "$found_la"; then
6587 save_libdir="$libdir"
6589 */* | *\\*) . "$found_la" ;;
6590 *) . "./$found_la" ;;
6592 libdir="$save_libdir"
6593 for dep in $dependency_libs; do
6596 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6597 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6598 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6600 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6601 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6602 if test -n "$GCC"; then
6604 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6608 if test -z "$haveit"; then
6610 for x in $LDFLAGS $LIBINTL; do
6612 acl_save_prefix="$prefix"
6613 prefix="$acl_final_prefix"
6614 acl_save_exec_prefix="$exec_prefix"
6615 exec_prefix="$acl_final_exec_prefix"
6617 exec_prefix="$acl_save_exec_prefix"
6618 prefix="$acl_save_prefix"
6620 if test "X$x" = "X-L$additional_libdir"; then
6625 if test -z "$haveit"; then
6626 if test -d "$additional_libdir"; then
6627 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6631 for x in $LDFLAGS $LTLIBINTL; do
6633 acl_save_prefix="$prefix"
6634 prefix="$acl_final_prefix"
6635 acl_save_exec_prefix="$exec_prefix"
6636 exec_prefix="$acl_final_exec_prefix"
6638 exec_prefix="$acl_save_exec_prefix"
6639 prefix="$acl_save_prefix"
6641 if test "X$x" = "X-L$additional_libdir"; then
6646 if test -z "$haveit"; then
6647 if test -d "$additional_libdir"; then
6648 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6655 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6656 if test "$enable_rpath" != no; then
6658 for x in $rpathdirs; do
6659 if test "X$x" = "X$dir"; then
6664 if test -z "$haveit"; then
6665 rpathdirs="$rpathdirs $dir"
6668 for x in $ltrpathdirs; do
6669 if test "X$x" = "X$dir"; then
6674 if test -z "$haveit"; then
6675 ltrpathdirs="$ltrpathdirs $dir"
6680 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6683 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6686 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6687 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6693 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6694 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6700 if test "X$rpathdirs" != "X"; then
6701 if test -n "$acl_hardcode_libdir_separator"; then
6703 for found_dir in $rpathdirs; do
6704 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6706 acl_save_libdir="$libdir"
6708 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6709 libdir="$acl_save_libdir"
6710 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6712 for found_dir in $rpathdirs; do
6713 acl_save_libdir="$libdir"
6715 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6716 libdir="$acl_save_libdir"
6717 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6721 if test "X$ltrpathdirs" != "X"; then
6722 for found_dir in $ltrpathdirs; do
6723 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6733 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6734 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
6735 $as_echo_n "(cached) " >&6
6737 gt_save_CPPFLAGS="$CPPFLAGS"
6738 CPPFLAGS="$CPPFLAGS $INCINTL"
6739 gt_save_LIBS="$LIBS"
6740 LIBS="$LIBS $LIBINTL"
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <libintl.h>
6744 $gt_revision_test_code
6745 extern int _nl_msg_cat_cntr;
6750 const char *_nl_expand_alias (const char *);
6754 bindtextdomain ("", "");
6755 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6760 if ac_fn_c_try_link "$LINENO"; then :
6761 eval "$gt_func_gnugettext_libintl=yes"
6763 eval "$gt_func_gnugettext_libintl=no"
6765 rm -f core conftest.err conftest.$ac_objext \
6766 conftest$ac_exeext conftest.$ac_ext
6767 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6768 LIBS="$LIBS $LIBICONV"
6769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6771 #include <libintl.h>
6772 $gt_revision_test_code
6773 extern int _nl_msg_cat_cntr;
6778 const char *_nl_expand_alias (const char *);
6782 bindtextdomain ("", "");
6783 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6788 if ac_fn_c_try_link "$LINENO"; then :
6789 LIBINTL="$LIBINTL $LIBICONV"
6790 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6791 eval "$gt_func_gnugettext_libintl=yes"
6794 rm -f core conftest.err conftest.$ac_objext \
6795 conftest$ac_exeext conftest.$ac_ext
6797 CPPFLAGS="$gt_save_CPPFLAGS"
6798 LIBS="$gt_save_LIBS"
6800 eval ac_res=\$$gt_func_gnugettext_libintl
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6802 $as_echo "$ac_res" >&6; }
6805 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6806 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6807 && test "$PACKAGE" != gettext-runtime \
6808 && test "$PACKAGE" != gettext-tools; }; then
6809 gt_use_preinstalled_gnugettext=yes
6818 if test -n "$INTL_MACOSX_LIBS"; then
6819 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6820 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6821 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6822 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6826 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6827 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6829 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6837 $as_echo_n "checking whether to use NLS... " >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6839 $as_echo "$USE_NLS" >&6; }
6840 if test "$USE_NLS" = "yes"; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6842 $as_echo_n "checking where the gettext function comes from... " >&6; }
6843 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6844 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6845 gt_source="external libintl"
6850 gt_source="included intl directory"
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6853 $as_echo "$gt_source" >&6; }
6856 if test "$USE_NLS" = "yes"; then
6858 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6859 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6861 $as_echo_n "checking how to link with libintl... " >&6; }
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6863 $as_echo "$LIBINTL" >&6; }
6865 for element in $INCINTL; do
6867 for x in $CPPFLAGS; do
6869 acl_save_prefix="$prefix"
6870 prefix="$acl_final_prefix"
6871 acl_save_exec_prefix="$exec_prefix"
6872 exec_prefix="$acl_final_exec_prefix"
6874 exec_prefix="$acl_save_exec_prefix"
6875 prefix="$acl_save_prefix"
6877 if test "X$x" = "X$element"; then
6882 if test -z "$haveit"; then
6883 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6890 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6893 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6910 ############### common
6912 # Checks sensors, required by psensor and psensor-server
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
6914 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
6915 if test "${ac_cv_lib_sensors_sensors_init+set}" = set; then :
6916 $as_echo_n "(cached) " >&6
6918 ac_check_lib_save_LIBS=$LIBS
6919 LIBS="-lsensors $LIBS"
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6923 /* Override any GCC internal prototype to avoid an error.
6924 Use char because int might match the return type of a GCC
6925 builtin and then its argument prototype would still apply. */
6929 char sensors_init ();
6933 return sensors_init ();
6938 if ac_fn_c_try_link "$LINENO"; then :
6939 ac_cv_lib_sensors_sensors_init=yes
6941 ac_cv_lib_sensors_sensors_init=no
6943 rm -f core conftest.err conftest.$ac_objext \
6944 conftest$ac_exeext conftest.$ac_ext
6945 LIBS=$ac_check_lib_save_LIBS
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
6948 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
6949 if test "x$ac_cv_lib_sensors_sensors_init" = x""yes; then :
6950 cat >>confdefs.h <<_ACEOF
6951 #define HAVE_LIBSENSORS 1
6954 LIBS="-lsensors $LIBS"
6958 for ac_header in sensors/sensors.h sensors/errors.h
6960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6962 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6963 cat >>confdefs.h <<_ACEOF
6964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 SENSORS_LIBS=-lsensors
6974 ############### psensor
6984 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6991 $as_echo_n "(cached) " >&6
6995 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7017 if test -n "$PKG_CONFIG"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7019 $as_echo "$PKG_CONFIG" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7027 if test -z "$ac_cv_path_PKG_CONFIG"; then
7028 ac_pt_PKG_CONFIG=$PKG_CONFIG
7029 # Extract the first word of "pkg-config", so it can be a program name with args.
7030 set dummy pkg-config; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
7034 $as_echo_n "(cached) " >&6
7036 case $ac_pt_PKG_CONFIG in
7038 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 test -z "$as_dir" && as_dir=.
7046 for ac_exec_ext in '' $ac_executable_extensions; do
7047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7048 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7060 if test -n "$ac_pt_PKG_CONFIG"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7062 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7068 if test "x$ac_pt_PKG_CONFIG" = x; then
7071 case $cross_compiling:$ac_tool_warned in
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7075 ac_tool_warned=yes ;;
7077 PKG_CONFIG=$ac_pt_PKG_CONFIG
7080 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7084 if test -n "$PKG_CONFIG"; then
7085 _pkg_min_version=0.9.0
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7087 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7088 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7090 $as_echo "yes" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7100 $as_echo_n "checking for X11... " >&6; }
7102 if test -n "$X11_CFLAGS"; then
7103 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7104 elif test -n "$PKG_CONFIG"; then
7105 if test -n "$PKG_CONFIG" && \
7106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7107 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7110 test $ac_status = 0; }; then
7111 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7118 if test -n "$X11_LIBS"; then
7119 pkg_cv_X11_LIBS="$X11_LIBS"
7120 elif test -n "$PKG_CONFIG"; then
7121 if test -n "$PKG_CONFIG" && \
7122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7123 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7126 test $ac_status = 0; }; then
7127 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7137 if test $pkg_failed = yes; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7142 _pkg_short_errors_supported=yes
7144 _pkg_short_errors_supported=no
7146 if test $_pkg_short_errors_supported = yes; then
7147 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
7149 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
7151 # Put the nasty error message in config.log where it belongs
7152 echo "$X11_PKG_ERRORS" >&5
7154 as_fn_error $? "Package requirements (x11) were not met:
7158 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7159 installed software in a non-standard prefix.
7161 Alternatively, you may set the environment variables X11_CFLAGS
7162 and X11_LIBS to avoid the need to call pkg-config.
7163 See the pkg-config man page for more details." "$LINENO" 5
7164 elif test $pkg_failed = untried; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7169 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7170 is in your PATH or set the PKG_CONFIG environment variable to the full
7173 Alternatively, you may set the environment variables X11_CFLAGS
7174 and X11_LIBS to avoid the need to call pkg-config.
7175 See the pkg-config man page for more details.
7177 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7178 See \`config.log' for more details" "$LINENO" 5 ; }
7180 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7181 X11_LIBS=$pkg_cv_X11_LIBS
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7183 $as_echo "yes" >&6; }
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7192 $as_echo_n "checking for XEXT... " >&6; }
7194 if test -n "$XEXT_CFLAGS"; then
7195 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7196 elif test -n "$PKG_CONFIG"; then
7197 if test -n "$PKG_CONFIG" && \
7198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7199 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7202 test $ac_status = 0; }; then
7203 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7210 if test -n "$XEXT_LIBS"; then
7211 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7212 elif test -n "$PKG_CONFIG"; then
7213 if test -n "$PKG_CONFIG" && \
7214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7215 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7218 test $ac_status = 0; }; then
7219 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7229 if test $pkg_failed = yes; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7234 _pkg_short_errors_supported=yes
7236 _pkg_short_errors_supported=no
7238 if test $_pkg_short_errors_supported = yes; then
7239 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xext" 2>&1`
7241 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xext" 2>&1`
7243 # Put the nasty error message in config.log where it belongs
7244 echo "$XEXT_PKG_ERRORS" >&5
7246 as_fn_error $? "Package requirements (xext) were not met:
7250 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7251 installed software in a non-standard prefix.
7253 Alternatively, you may set the environment variables XEXT_CFLAGS
7254 and XEXT_LIBS to avoid the need to call pkg-config.
7255 See the pkg-config man page for more details." "$LINENO" 5
7256 elif test $pkg_failed = untried; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7261 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7262 is in your PATH or set the PKG_CONFIG environment variable to the full
7265 Alternatively, you may set the environment variables XEXT_CFLAGS
7266 and XEXT_LIBS to avoid the need to call pkg-config.
7267 See the pkg-config man page for more details.
7269 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7270 See \`config.log' for more details" "$LINENO" 5 ; }
7272 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7273 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7275 $as_echo "yes" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7285 $as_echo_n "checking for GTK... " >&6; }
7287 if test -n "$GTK_CFLAGS"; then
7288 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7289 elif test -n "$PKG_CONFIG"; then
7290 if test -n "$PKG_CONFIG" && \
7291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 \""; } >&5
7292 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 ") 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7295 test $ac_status = 0; }; then
7296 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 " 2>/dev/null`
7303 if test -n "$GTK_LIBS"; then
7304 pkg_cv_GTK_LIBS="$GTK_LIBS"
7305 elif test -n "$PKG_CONFIG"; then
7306 if test -n "$PKG_CONFIG" && \
7307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 \""; } >&5
7308 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 ") 2>&5
7310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7311 test $ac_status = 0; }; then
7312 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 " 2>/dev/null`
7322 if test $pkg_failed = yes; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7327 _pkg_short_errors_supported=yes
7329 _pkg_short_errors_supported=no
7331 if test $_pkg_short_errors_supported = yes; then
7332 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 " 2>&1`
7334 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 " 2>&1`
7336 # Put the nasty error message in config.log where it belongs
7337 echo "$GTK_PKG_ERRORS" >&5
7339 as_fn_error $? "Package requirements (gtk+-2.0 ) were not met:
7343 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7344 installed software in a non-standard prefix.
7346 Alternatively, you may set the environment variables GTK_CFLAGS
7347 and GTK_LIBS to avoid the need to call pkg-config.
7348 See the pkg-config man page for more details." "$LINENO" 5
7349 elif test $pkg_failed = untried; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7354 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7355 is in your PATH or set the PKG_CONFIG environment variable to the full
7358 Alternatively, you may set the environment variables GTK_CFLAGS
7359 and GTK_LIBS to avoid the need to call pkg-config.
7360 See the pkg-config man page for more details.
7362 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7363 See \`config.log' for more details" "$LINENO" 5 ; }
7365 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7366 GTK_LIBS=$pkg_cv_GTK_LIBS
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7368 $as_echo "yes" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
7378 $as_echo_n "checking for GCONF... " >&6; }
7380 if test -n "$GCONF_CFLAGS"; then
7381 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
7382 elif test -n "$PKG_CONFIG"; then
7383 if test -n "$PKG_CONFIG" && \
7384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
7385 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
7387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7388 test $ac_status = 0; }; then
7389 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
7396 if test -n "$GCONF_LIBS"; then
7397 pkg_cv_GCONF_LIBS="$GCONF_LIBS"
7398 elif test -n "$PKG_CONFIG"; then
7399 if test -n "$PKG_CONFIG" && \
7400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
7401 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
7403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7404 test $ac_status = 0; }; then
7405 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
7415 if test $pkg_failed = yes; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7420 _pkg_short_errors_supported=yes
7422 _pkg_short_errors_supported=no
7424 if test $_pkg_short_errors_supported = yes; then
7425 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
7427 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
7429 # Put the nasty error message in config.log where it belongs
7430 echo "$GCONF_PKG_ERRORS" >&5
7432 as_fn_error $? "Package requirements (gconf-2.0) were not met:
7436 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7437 installed software in a non-standard prefix.
7439 Alternatively, you may set the environment variables GCONF_CFLAGS
7440 and GCONF_LIBS to avoid the need to call pkg-config.
7441 See the pkg-config man page for more details." "$LINENO" 5
7442 elif test $pkg_failed = untried; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7447 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
7448 is in your PATH or set the PKG_CONFIG environment variable to the full
7451 Alternatively, you may set the environment variables GCONF_CFLAGS
7452 and GCONF_LIBS to avoid the need to call pkg-config.
7453 See the pkg-config man page for more details.
7455 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7456 See \`config.log' for more details" "$LINENO" 5 ; }
7458 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
7459 GCONF_LIBS=$pkg_cv_GCONF_LIBS
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7461 $as_echo "yes" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7474 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7476 if test -n "$LIBNOTIFY_CFLAGS"; then
7477 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7478 elif test -n "$PKG_CONFIG"; then
7479 if test -n "$PKG_CONFIG" && \
7480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7481 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7484 test $ac_status = 0; }; then
7485 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7492 if test -n "$LIBNOTIFY_LIBS"; then
7493 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7494 elif test -n "$PKG_CONFIG"; then
7495 if test -n "$PKG_CONFIG" && \
7496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7497 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7500 test $ac_status = 0; }; then
7501 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7511 if test $pkg_failed = yes; then
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7516 _pkg_short_errors_supported=yes
7518 _pkg_short_errors_supported=no
7520 if test $_pkg_short_errors_supported = yes; then
7521 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify" 2>&1`
7523 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify" 2>&1`
7525 # Put the nasty error message in config.log where it belongs
7526 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7529 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7530 elif test $pkg_failed = untried; then
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7534 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7536 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7537 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7539 $as_echo "yes" >&6; }
7541 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7544 if test -n "$LIBNOTIFY_LIBS"; then
7555 # Checks AppIndicator
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7560 $as_echo_n "checking for APPINDICATOR... " >&6; }
7562 if test -n "$APPINDICATOR_CFLAGS"; then
7563 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7564 elif test -n "$PKG_CONFIG"; then
7565 if test -n "$PKG_CONFIG" && \
7566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7567 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7570 test $ac_status = 0; }; then
7571 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7578 if test -n "$APPINDICATOR_LIBS"; then
7579 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7580 elif test -n "$PKG_CONFIG"; then
7581 if test -n "$PKG_CONFIG" && \
7582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7583 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7586 test $ac_status = 0; }; then
7587 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7597 if test $pkg_failed = yes; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7602 _pkg_short_errors_supported=yes
7604 _pkg_short_errors_supported=no
7606 if test $_pkg_short_errors_supported = yes; then
7607 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "appindicator-0.1 <= 0.2.9 " 2>&1`
7609 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "appindicator-0.1 <= 0.2.9 " 2>&1`
7611 # Put the nasty error message in config.log where it belongs
7612 echo "$APPINDICATOR_PKG_ERRORS" >&5
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7615 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7616 elif test $pkg_failed = untried; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7620 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7622 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7623 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7625 $as_echo "yes" >&6; }
7627 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7630 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
7635 if test "$APPINDICATOR_LIBS" == ""; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7639 $as_echo_n "checking for APPINDICATOR... " >&6; }
7641 if test -n "$APPINDICATOR_CFLAGS"; then
7642 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7643 elif test -n "$PKG_CONFIG"; then
7644 if test -n "$PKG_CONFIG" && \
7645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7646 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649 test $ac_status = 0; }; then
7650 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
7657 if test -n "$APPINDICATOR_LIBS"; then
7658 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7659 elif test -n "$PKG_CONFIG"; then
7660 if test -n "$PKG_CONFIG" && \
7661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7662 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7665 test $ac_status = 0; }; then
7666 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
7676 if test $pkg_failed = yes; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678 $as_echo "no" >&6; }
7680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7681 _pkg_short_errors_supported=yes
7683 _pkg_short_errors_supported=no
7685 if test $_pkg_short_errors_supported = yes; then
7686 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "appindicator-0.1 > 0.2.9" 2>&1`
7688 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "appindicator-0.1 > 0.2.9" 2>&1`
7690 # Put the nasty error message in config.log where it belongs
7691 echo "$APPINDICATOR_PKG_ERRORS" >&5
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7694 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7695 elif test $pkg_failed = untried; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7699 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7701 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7702 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7704 $as_echo "yes" >&6; }
7706 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7710 if test -n "$APPINDICATOR_LIBS"; then
7712 APPINDICATOR_FALSE='#'
7714 APPINDICATOR_TRUE='#'
7721 # Check CURL, needed for remote monitoring
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7726 $as_echo_n "checking for CURL... " >&6; }
7728 if test -n "$CURL_CFLAGS"; then
7729 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7730 elif test -n "$PKG_CONFIG"; then
7731 if test -n "$PKG_CONFIG" && \
7732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7733 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7736 test $ac_status = 0; }; then
7737 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7744 if test -n "$CURL_LIBS"; then
7745 pkg_cv_CURL_LIBS="$CURL_LIBS"
7746 elif test -n "$PKG_CONFIG"; then
7747 if test -n "$PKG_CONFIG" && \
7748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7749 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7752 test $ac_status = 0; }; then
7753 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7763 if test $pkg_failed = yes; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7768 _pkg_short_errors_supported=yes
7770 _pkg_short_errors_supported=no
7772 if test $_pkg_short_errors_supported = yes; then
7773 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
7775 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
7777 # Put the nasty error message in config.log where it belongs
7778 echo "$CURL_PKG_ERRORS" >&5
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7781 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7782 elif test $pkg_failed = untried; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 $as_echo "no" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7786 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7788 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
7789 CURL_LIBS=$pkg_cv_CURL_LIBS
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7791 $as_echo "yes" >&6; }
7793 $as_echo "#define HAVE_CURL 1" >>confdefs.h
7796 if test -n "$CURL_LIBS"; then
7807 # Check JSON, needed for remote monitoring
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7812 $as_echo_n "checking for JSON... " >&6; }
7814 if test -n "$JSON_CFLAGS"; then
7815 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7816 elif test -n "$PKG_CONFIG"; then
7817 if test -n "$PKG_CONFIG" && \
7818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7819 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822 test $ac_status = 0; }; then
7823 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
7830 if test -n "$JSON_LIBS"; then
7831 pkg_cv_JSON_LIBS="$JSON_LIBS"
7832 elif test -n "$PKG_CONFIG"; then
7833 if test -n "$PKG_CONFIG" && \
7834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
7835 ($PKG_CONFIG --exists --print-errors "json") 2>&5
7837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7838 test $ac_status = 0; }; then
7839 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
7849 if test $pkg_failed = yes; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7854 _pkg_short_errors_supported=yes
7856 _pkg_short_errors_supported=no
7858 if test $_pkg_short_errors_supported = yes; then
7859 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "json" 2>&1`
7861 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors "json" 2>&1`
7863 # Put the nasty error message in config.log where it belongs
7864 echo "$JSON_PKG_ERRORS" >&5
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7867 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7868 elif test $pkg_failed = untried; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870 $as_echo "no" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7872 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7874 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7875 JSON_LIBS=$pkg_cv_JSON_LIBS
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7877 $as_echo "yes" >&6; }
7879 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7882 if test -n "$JSON_LIBS"; then
7893 # Enables remote monitoring if JSON and CURL is present
7894 if test -n "$JSON_LIBS"; then
7895 if test -n "$CURL_LIBS"; then
7897 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
7903 # following code from sensors-applet
7904 # sensors-applet.sourceforge.net/
7905 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
7907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
7909 #include <X11/Xlib.h>
7912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7913 cat >>confdefs.h <<_ACEOF
7914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7921 if test -n "${X11_LIBS}"; then
7922 LIBS="${LIBS} -lX11 -lXext"
7924 if test "${HAVE_NVIDIA}" = "true"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
7926 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
7927 if test "${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+set}" = set; then :
7928 $as_echo_n "(cached) " >&6
7930 ac_check_lib_save_LIBS=$LIBS
7931 LIBS="-lXNVCtrl $LIBS"
7932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933 /* end confdefs.h. */
7935 /* Override any GCC internal prototype to avoid an error.
7936 Use char because int might match the return type of a GCC
7937 builtin and then its argument prototype would still apply. */
7941 char XNVCTRLQueryExtension ();
7945 return XNVCTRLQueryExtension ();
7950 if ac_fn_c_try_link "$LINENO"; then :
7951 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
7953 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 LIBS=$ac_check_lib_save_LIBS
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
7960 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
7961 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = x""yes; then :
7962 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
7964 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
7971 if test -n "$NVIDIA_LIBS"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
7986 $as_echo_n "checking for UNITY... " >&6; }
7988 if test -n "$UNITY_CFLAGS"; then
7989 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
7990 elif test -n "$PKG_CONFIG"; then
7991 if test -n "$PKG_CONFIG" && \
7992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
7993 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
7995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7996 test $ac_status = 0; }; then
7997 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8004 if test -n "$UNITY_LIBS"; then
8005 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8006 elif test -n "$PKG_CONFIG"; then
8007 if test -n "$PKG_CONFIG" && \
8008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8009 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8012 test $ac_status = 0; }; then
8013 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8023 if test $pkg_failed = yes; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8028 _pkg_short_errors_supported=yes
8030 _pkg_short_errors_supported=no
8032 if test $_pkg_short_errors_supported = yes; then
8033 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "unity >= 3.4.2" 2>&1`
8035 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors "unity >= 3.4.2" 2>&1`
8037 # Put the nasty error message in config.log where it belongs
8038 echo "$UNITY_PKG_ERRORS" >&5
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8041 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8042 elif test $pkg_failed = untried; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8046 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8048 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8049 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8051 $as_echo "yes" >&6; }
8053 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8058 if test -n "$UNITY_LIBS"; then
8067 ############### psensor-server
8069 # libmicrohttpd, mandatory for psensor-server
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8074 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8076 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8077 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8078 elif test -n "$PKG_CONFIG"; then
8079 if test -n "$PKG_CONFIG" && \
8080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8081 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8084 test $ac_status = 0; }; then
8085 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8092 if test -n "$LIBMICROHTTPD_LIBS"; then
8093 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8094 elif test -n "$PKG_CONFIG"; then
8095 if test -n "$PKG_CONFIG" && \
8096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8097 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8100 test $ac_status = 0; }; then
8101 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8111 if test $pkg_failed = yes; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8116 _pkg_short_errors_supported=yes
8118 _pkg_short_errors_supported=no
8120 if test $_pkg_short_errors_supported = yes; then
8121 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libmicrohttpd" 2>&1`
8123 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libmicrohttpd" 2>&1`
8125 # Put the nasty error message in config.log where it belongs
8126 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8129 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8130 elif test $pkg_failed = untried; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8132 $as_echo "no" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8134 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8136 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8137 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8139 $as_echo "yes" >&6; }
8141 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8144 if test -n "$LIBMICROHTTPD_LIBS"; then
8146 LIBMICROHTTPD_FALSE='#'
8148 LIBMICROHTTPD_TRUE='#'
8149 LIBMICROHTTPD_FALSE=
8158 # Check whether --with-gtop was given.
8159 if test "${with_gtop+set}" = set; then :
8170 if test "$with_gtop" = "yes"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8174 $as_echo_n "checking for GTOP... " >&6; }
8176 if test -n "$GTOP_CFLAGS"; then
8177 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8178 elif test -n "$PKG_CONFIG"; then
8179 if test -n "$PKG_CONFIG" && \
8180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8181 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8184 test $ac_status = 0; }; then
8185 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8192 if test -n "$GTOP_LIBS"; then
8193 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8194 elif test -n "$PKG_CONFIG"; then
8195 if test -n "$PKG_CONFIG" && \
8196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8197 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8200 test $ac_status = 0; }; then
8201 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8211 if test $pkg_failed = yes; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8213 $as_echo "no" >&6; }
8215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8216 _pkg_short_errors_supported=yes
8218 _pkg_short_errors_supported=no
8220 if test $_pkg_short_errors_supported = yes; then
8221 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgtop-2.0" 2>&1`
8223 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgtop-2.0" 2>&1`
8225 # Put the nasty error message in config.log where it belongs
8226 echo "$GTOP_PKG_ERRORS" >&5
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8229 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8230 elif test $pkg_failed = untried; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8234 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8236 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8237 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8239 $as_echo "yes" >&6; }
8241 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8245 if test -n "$GTOP_LIBS"; then
8256 ac_config_files="$ac_config_files Makefile src/Makefile src/glade/Makefile src/plib/Makefile src/lib/Makefile src/unity/Makefile src/libpsensor_json/Makefile src/server/Makefile pixmaps/scalable/Makefile pixmaps/14x14/Makefile pixmaps/16x16/Makefile pixmaps/22x22/Makefile pixmaps/24x24/Makefile pixmaps/32x32/Makefile pixmaps/48x48/Makefile pixmaps/64x64/Makefile www/Makefile po/Makefile.in tests/Makefile"
8259 for ac_prog in help2man
8261 # Extract the first word of "$ac_prog", so it can be a program name with args.
8262 set dummy $ac_prog; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if test "${ac_cv_prog_HELP2MAN+set}" = set; then :
8266 $as_echo_n "(cached) " >&6
8268 if test -n "$HELP2MAN"; then
8269 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir=.
8276 for ac_exec_ext in '' $ac_executable_extensions; do
8277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8278 ac_cv_prog_HELP2MAN="$ac_prog"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 HELP2MAN=$ac_cv_prog_HELP2MAN
8289 if test -n "$HELP2MAN"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8291 $as_echo "$HELP2MAN" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8298 test -n "$HELP2MAN" && break
8302 cat >confcache <<\_ACEOF
8303 # This file is a shell script that caches the results of configure
8304 # tests run on this system so they can be shared between configure
8305 # scripts and configure runs, see configure's option --config-cache.
8306 # It is not useful on other systems. If it contains results you don't
8307 # want to keep, you may remove or edit it.
8309 # config.status only pays attention to the cache file if you give it
8310 # the --recheck option to rerun configure.
8312 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8313 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8318 # The following way of writing the cache mishandles newlines in values,
8319 # but we know of no workaround that is simple, portable, and efficient.
8320 # So, we kill variables containing newlines.
8321 # Ultrix sh set writes to stderr and can't be redirected directly,
8322 # and sets the high bit in the cache file unless we assign to the vars.
8324 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8325 eval ac_val=\$$ac_var
8329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8333 _ | IFS | as_nl) ;; #(
8334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8335 *) { eval $ac_var=; unset $ac_var;} ;;
8341 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8342 *${as_nl}ac_space=\ *)
8343 # `set' does not quote correctly, so add quotes: double-quote
8344 # substitution turns \\\\ into \\, and sed turns \\ into \.
8347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8350 # `set' quotes correctly as required by POSIX, so do not add quotes.
8351 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8362 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8364 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8365 if test -w "$cache_file"; then
8366 test "x$cache_file" != "x/dev/null" &&
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8368 $as_echo "$as_me: updating cache $cache_file" >&6;}
8369 cat confcache >$cache_file
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8372 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8377 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8378 # Let make expand exec_prefix.
8379 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8381 DEFS=-DHAVE_CONFIG_H
8386 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8387 # 1. Remove the extension, and $U if already installed.
8388 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8389 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8390 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8391 # will be set to the directory where LIBOBJS objects are built.
8392 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8393 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8397 LTLIBOBJS=$ac_ltlibobjs
8400 if test -n "$EXEEXT"; then
8402 am__EXEEXT_FALSE='#'
8408 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8409 as_fn_error $? "conditional \"AMDEP\" was never defined.
8410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8412 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8413 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8416 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8417 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8420 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8421 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8424 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8425 as_fn_error $? "conditional \"CURL\" was never defined.
8426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8428 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8429 as_fn_error $? "conditional \"JSON\" was never defined.
8430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8432 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8433 as_fn_error $? "conditional \"NVIDIA\" was never defined.
8434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8436 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8437 as_fn_error $? "conditional \"UNITY\" was never defined.
8438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8440 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8441 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8444 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8445 as_fn_error $? "conditional \"GTOP\" was never defined.
8446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8449 : ${CONFIG_STATUS=./config.status}
8451 ac_clean_files_save=$ac_clean_files
8452 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8454 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8456 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8458 # Generated by $as_me.
8459 # Run this file to recreate the current configuration.
8460 # Compiler output produced by configure, useful for debugging
8461 # configure, is in config.log if it exists.
8467 SHELL=\${CONFIG_SHELL-$SHELL}
8470 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8471 ## -------------------- ##
8472 ## M4sh Initialization. ##
8473 ## -------------------- ##
8475 # Be more Bourne compatible
8476 DUALCASE=1; export DUALCASE # for MKS sh
8477 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8480 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8481 # is contrary to our usage. Disable this feature.
8482 alias -g '${1+"$@"}'='"$@"'
8483 setopt NO_GLOB_SUBST
8485 case `(set -o) 2>/dev/null` in #(
8497 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8498 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8499 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8500 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8501 # Prefer a ksh shell builtin over an external printf program on Solaris,
8502 # but without wasting forks for bash or zsh.
8503 if test -z "$BASH_VERSION$ZSH_VERSION" \
8504 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8505 as_echo='print -r --'
8506 as_echo_n='print -rn --'
8507 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8508 as_echo='printf %s\n'
8509 as_echo_n='printf %s'
8511 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8512 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8513 as_echo_n='/usr/ucb/echo -n'
8515 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8516 as_echo_n_body='eval
8520 expr "X$arg" : "X\\(.*\\)$as_nl";
8521 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8523 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8525 export as_echo_n_body
8526 as_echo_n='sh -c $as_echo_n_body as_echo'
8529 as_echo='sh -c $as_echo_body as_echo'
8532 # The user is always right.
8533 if test "${PATH_SEPARATOR+set}" != set; then
8535 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8536 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8543 # We need space, tab and new line, in precisely that order. Quoting is
8544 # there to prevent editors from complaining about space-tab.
8545 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8546 # splitting by setting IFS to empty value.)
8549 # Find who we are. Look in the path if we contain no directory separator.
8551 *[\\/]* ) as_myself=$0 ;;
8552 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556 test -z "$as_dir" && as_dir=.
8557 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8563 # We did not find ourselves, most probably we were run as `sh COMMAND'
8564 # in which case we are not to be found in the path.
8565 if test "x$as_myself" = x; then
8568 if test ! -f "$as_myself"; then
8569 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8573 # Unset variables that we do not need and which cause bugs (e.g. in
8574 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8575 # suppresses any "Segmentation fault" message there. '((' could
8576 # trigger a bug in pdksh 5.2.14.
8577 for as_var in BASH_ENV ENV MAIL MAILPATH
8578 do eval test x\${$as_var+set} = xset \
8579 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8592 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8595 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8596 # ----------------------------------------
8597 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8598 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8599 # script with STATUS, using 1 if that was 0.
8602 as_status=$1; test $as_status -eq 0 && as_status=1
8604 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8605 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8607 $as_echo "$as_me: error: $2" >&2
8608 as_fn_exit $as_status
8612 # as_fn_set_status STATUS
8613 # -----------------------
8614 # Set $? to STATUS, without forking.
8618 } # as_fn_set_status
8622 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8632 # Portably unset VAR.
8635 { eval $1=; unset $1;}
8637 as_unset=as_fn_unset
8638 # as_fn_append VAR VALUE
8639 # ----------------------
8640 # Append the text in VALUE to the end of the definition contained in VAR. Take
8641 # advantage of any shell optimizations that allow amortized linear growth over
8642 # repeated appends, instead of the typical quadratic growth present in naive
8644 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8645 eval 'as_fn_append ()
8656 # as_fn_arith ARG...
8657 # ------------------
8658 # Perform arithmetic evaluation on the ARGs, and store the result in the
8659 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8660 # must be portable across $(()) and expr.
8661 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8662 eval 'as_fn_arith ()
8669 as_val=`expr "$@" || test $? -eq 1`
8674 if expr a : '\(a\)' >/dev/null 2>&1 &&
8675 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8681 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8682 as_basename=basename
8687 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8693 as_me=`$as_basename -- "$0" ||
8694 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8695 X"$0" : 'X\(//\)$' \| \
8696 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8698 sed '/^.*\/\([^/][^/]*\)\/*$/{
8712 # Avoid depending upon Character Ranges.
8713 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8714 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8715 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8716 as_cr_digits='0123456789'
8717 as_cr_alnum=$as_cr_Letters$as_cr_digits
8719 ECHO_C= ECHO_N= ECHO_T=
8720 case `echo -n x` in #(((((
8722 case `echo 'xy\c'` in
8723 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8725 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8732 rm -f conf$$ conf$$.exe conf$$.file
8733 if test -d conf$$.dir; then
8734 rm -f conf$$.dir/conf$$.file
8737 mkdir conf$$.dir 2>/dev/null
8739 if (echo >conf$$.file) 2>/dev/null; then
8740 if ln -s conf$$.file conf$$ 2>/dev/null; then
8742 # ... but there are two gotchas:
8743 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8744 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8745 # In both cases, we have to default to `cp -p'.
8746 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8748 elif ln conf$$.file conf$$ 2>/dev/null; then
8756 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8757 rmdir conf$$.dir 2>/dev/null
8762 # Create "$as_dir" as a directory, including parents if necessary.
8767 -*) as_dir=./$as_dir;;
8769 test -d "$as_dir" || eval $as_mkdir_p || {
8773 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8774 *) as_qdir=$as_dir;;
8776 as_dirs="'$as_qdir' $as_dirs"
8777 as_dir=`$as_dirname -- "$as_dir" ||
8778 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8779 X"$as_dir" : 'X\(//\)[^/]' \| \
8780 X"$as_dir" : 'X\(//\)$' \| \
8781 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8782 $as_echo X"$as_dir" |
8783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8800 test -d "$as_dir" && break
8802 test -z "$as_dirs" || eval "mkdir $as_dirs"
8803 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8807 if mkdir -p . 2>/dev/null; then
8808 as_mkdir_p='mkdir -p "$as_dir"'
8810 test -d ./-p && rmdir ./-p
8814 if test -x / >/dev/null 2>&1; then
8817 if ls -dL / >/dev/null 2>&1; then
8824 if test -d "$1"; then
8830 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8831 ???[sx]*):;;*)false;;esac;fi
8835 as_executable_p=$as_test_x
8837 # Sed expression to map a string onto a valid CPP name.
8838 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8840 # Sed expression to map a string onto a valid variable name.
8841 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8845 ## ----------------------------------- ##
8846 ## Main body of $CONFIG_STATUS script. ##
8847 ## ----------------------------------- ##
8849 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8852 # Save the log message, to keep $0 and so on meaningful, and to
8853 # report actual input values of CONFIG_FILES etc. instead of their
8854 # values after options handling.
8856 This file was extended by psensor $as_me 0.6.2.10, which was
8857 generated by GNU Autoconf 2.67. Invocation command line was
8859 CONFIG_FILES = $CONFIG_FILES
8860 CONFIG_HEADERS = $CONFIG_HEADERS
8861 CONFIG_LINKS = $CONFIG_LINKS
8862 CONFIG_COMMANDS = $CONFIG_COMMANDS
8865 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8870 case $ac_config_files in *"
8871 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8874 case $ac_config_headers in *"
8875 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8880 # Files that config.status was made for.
8881 config_files="$ac_config_files"
8882 config_headers="$ac_config_headers"
8883 config_commands="$ac_config_commands"
8887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8889 \`$as_me' instantiates files and other configuration actions
8890 from templates according to the current configuration. Unless the files
8891 and actions are specified as TAGs, all are instantiated by default.
8893 Usage: $0 [OPTION]... [TAG]...
8895 -h, --help print this help, then exit
8896 -V, --version print version number and configuration settings, then exit
8897 --config print configuration, then exit
8898 -q, --quiet, --silent
8899 do not print progress messages
8900 -d, --debug don't remove temporary files
8901 --recheck update $as_me by reconfiguring in the same conditions
8902 --file=FILE[:TEMPLATE]
8903 instantiate the configuration file FILE
8904 --header=FILE[:TEMPLATE]
8905 instantiate the configuration header FILE
8907 Configuration files:
8910 Configuration headers:
8913 Configuration commands:
8916 Report bugs to <jeanfi@gmail.com>.
8917 psensor home page: <http://wpitchoune.net/psensor>."
8920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8921 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8923 psensor config.status 0.6.2.10
8924 configured by $0, generated by GNU Autoconf 2.67,
8925 with options \\"\$ac_cs_config\\"
8927 Copyright (C) 2010 Free Software Foundation, Inc.
8928 This config.status script is free software; the Free Software Foundation
8929 gives unlimited permission to copy, distribute and modify it."
8936 test -n "\$AWK" || AWK=awk
8939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8940 # The default lists apply if the user does not specify any file.
8946 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8947 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8951 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8963 # Handling of the options.
8964 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8966 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8967 $as_echo "$ac_cs_version"; exit ;;
8968 --config | --confi | --conf | --con | --co | --c )
8969 $as_echo "$ac_cs_config"; exit ;;
8970 --debug | --debu | --deb | --de | --d | -d )
8972 --file | --fil | --fi | --f )
8975 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8976 '') as_fn_error $? "missing file argument" ;;
8978 as_fn_append CONFIG_FILES " '$ac_optarg'"
8979 ac_need_defaults=false;;
8980 --header | --heade | --head | --hea )
8983 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8985 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
8986 ac_need_defaults=false;;
8988 # Conflict between --help and --header
8989 as_fn_error $? "ambiguous option: \`$1'
8990 Try \`$0 --help' for more information.";;
8991 --help | --hel | -h )
8992 $as_echo "$ac_cs_usage"; exit ;;
8993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8994 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8998 -*) as_fn_error $? "unrecognized option: \`$1'
8999 Try \`$0 --help' for more information." ;;
9001 *) as_fn_append ac_config_targets " $1"
9002 ac_need_defaults=false ;;
9008 ac_configure_extra_args=
9010 if $ac_cs_silent; then
9012 ac_configure_extra_args="$ac_configure_extra_args --silent"
9016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9017 if \$ac_cs_recheck; then
9018 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9020 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9021 CONFIG_SHELL='$SHELL'
9027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9031 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9032 ## Running $as_me. ##
9038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9042 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9043 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9044 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9045 # from automake < 1.5.
9046 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9047 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9048 LINGUAS="${LINGUAS-%UNSET%}"
9053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9055 # Handling of arguments.
9056 for ac_config_target in $ac_config_targets
9058 case $ac_config_target in
9059 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9060 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9061 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9062 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9063 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9064 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9065 "src/plib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plib/Makefile" ;;
9066 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9067 "src/unity/Makefile") CONFIG_FILES="$CONFIG_FILES src/unity/Makefile" ;;
9068 "src/libpsensor_json/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpsensor_json/Makefile" ;;
9069 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9070 "pixmaps/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/scalable/Makefile" ;;
9071 "pixmaps/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/14x14/Makefile" ;;
9072 "pixmaps/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/16x16/Makefile" ;;
9073 "pixmaps/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/22x22/Makefile" ;;
9074 "pixmaps/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/24x24/Makefile" ;;
9075 "pixmaps/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/32x32/Makefile" ;;
9076 "pixmaps/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/48x48/Makefile" ;;
9077 "pixmaps/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/64x64/Makefile" ;;
9078 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9079 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9080 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9082 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
9087 # If the user did not use the arguments to specify the items to instantiate,
9088 # then the envvar interface is used. Set only those that are not.
9089 # We use the long form for the default assignment because of an extremely
9090 # bizarre bug on SunOS 4.1.3.
9091 if $ac_need_defaults; then
9092 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9093 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9094 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9097 # Have a temporary directory for convenience. Make it in the build tree
9098 # simply because there is no reason against having it here, and in addition,
9099 # creating and moving files from /tmp can sometimes cause problems.
9100 # Hook for its removal unless debugging.
9101 # Note that there is a small window in which the directory will not be cleaned:
9102 # after its creation but before its name has been assigned to `$tmp'.
9106 trap 'exit_status=$?
9107 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9109 trap 'as_fn_exit 1' 1 2 13 15
9111 # Create a (secure) tmp directory for tmp files.
9114 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9115 test -n "$tmp" && test -d "$tmp"
9118 tmp=./conf$$-$RANDOM
9119 (umask 077 && mkdir "$tmp")
9120 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9122 # Set up the scripts for CONFIG_FILES section.
9123 # No need to generate them if there are no CONFIG_FILES.
9124 # This happens for instance with `./config.status config.h'.
9125 if test -n "$CONFIG_FILES"; then
9128 ac_cr=`echo X | tr X '\015'`
9129 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9130 # But we know of no other shell where ac_cr would be empty at this
9131 # point, so we can use a bashism as a fallback.
9132 if test "x$ac_cr" = x; then
9133 eval ac_cr=\$\'\\r\'
9135 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9136 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9142 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9147 echo "cat >conf$$subs.awk <<_ACEOF" &&
9148 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9151 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9152 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9154 for ac_last_try in false false false false false :; do
9155 . ./conf$$subs.sh ||
9156 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9158 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9159 if test $ac_delim_n = $ac_delim_num; then
9161 elif $ac_last_try; then
9162 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9164 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9170 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9174 s/^/S["/; s/!.*/"]=/
9184 s/\(.\{148\}\)..*/\1/
9186 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9191 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9198 s/\(.\{148\}\)..*/\1/
9200 s/["\\]/\\&/g; s/^/"/; s/$/"/
9204 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9209 ' <conf$$subs.awk | sed '
9214 ' >>$CONFIG_STATUS || ac_write_fail=1
9215 rm -f conf$$subs.awk
9216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9218 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9219 for (key in S) S_is_set[key] = 1
9225 nfields = split(line, field, "@")
9227 len = length(field[1])
9228 for (i = 2; i < nfields; i++) {
9230 keylen = length(key)
9231 if (S_is_set[key]) {
9233 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9234 len += length(value) + length(field[++i])
9245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9246 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9247 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9250 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9251 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9254 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9255 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9256 # trailing colons and then remove the whole line if VPATH becomes empty
9257 # (actually we leave an empty line to preserve line numbers).
9258 if test "x$srcdir" = x.; then
9259 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9278 fi # test -n "$CONFIG_FILES"
9280 # Set up the scripts for CONFIG_HEADERS section.
9281 # No need to generate them if there are no CONFIG_HEADERS.
9282 # This happens for instance with `./config.status Makefile'.
9283 if test -n "$CONFIG_HEADERS"; then
9284 cat >"$tmp/defines.awk" <<\_ACAWK ||
9288 # Transform confdefs.h into an awk script `defines.awk', embedded as
9289 # here-document in config.status, that substitutes the proper values into
9290 # config.h.in to produce config.h.
9292 # Create a delimiter string that does not exist in confdefs.h, to ease
9293 # handling of long lines.
9295 for ac_last_try in false false :; do
9296 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9297 if test -z "$ac_t"; then
9299 elif $ac_last_try; then
9300 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9302 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9306 # For the awk script, D is an array of macro values keyed by name,
9307 # likewise P contains macro parameters if any. Preserve backslash
9308 # newline sequences.
9310 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9312 s/.\{148\}/&'"$ac_delim"'/g
9315 s/^[ ]*#[ ]*define[ ][ ]*/ /
9322 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9324 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9328 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9329 D["\1"]=" \3\\\\\\n"\\/p
9331 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9336 s/.\{148\}/&'"$ac_delim"'/g
9341 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9344 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9346 ' <confdefs.h | sed '
9347 s/'"$ac_delim"'/"\\\
9348 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9351 for (key in D) D_is_set[key] = 1
9354 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9356 split(line, arg, " ")
9357 if (arg[1] == "#") {
9361 defundef = substr(arg[1], 2)
9364 split(mac1, mac2, "(") #)
9366 prefix = substr(line, 1, index(line, defundef) - 1)
9367 if (D_is_set[macro]) {
9368 # Preserve the white space surrounding the "#".
9369 print prefix "define", macro P[macro] D[macro]
9372 # Replace #undef with comments. This is necessary, for example,
9373 # in the case of _POSIX_SOURCE, which is predefined and required
9374 # on some systems where configure will not decide to define it.
9375 if (defundef == "undef") {
9376 print "/*", prefix defundef, macro, "*/"
9384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9385 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9386 fi # test -n "$CONFIG_HEADERS"
9389 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9394 :[FHLC]) ac_mode=$ac_tag; continue;;
9396 case $ac_mode$ac_tag in
9398 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
9399 :[FH]-) ac_tag=-:-;;
9400 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9417 -) ac_f="$tmp/stdin";;
9418 *) # Look for the file first in the build tree, then in the source tree
9419 # (if the path is not absolute). The absolute path cannot be DOS-style,
9420 # because $ac_f cannot contain `:'.
9424 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9426 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
9428 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9429 as_fn_append ac_file_inputs " '$ac_f'"
9432 # Let's still pretend it is `configure' which instantiates (i.e., don't
9433 # use $as_me), people would be surprised to read:
9434 # /* config.h. Generated by config.status. */
9435 configure_input='Generated from '`
9436 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9438 if test x"$ac_file" != x-; then
9439 configure_input="$ac_file. $configure_input"
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9441 $as_echo "$as_me: creating $ac_file" >&6;}
9443 # Neutralize special characters interpreted by sed in replacement strings.
9444 case $configure_input in #(
9445 *\&* | *\|* | *\\* )
9446 ac_sed_conf_input=`$as_echo "$configure_input" |
9447 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9448 *) ac_sed_conf_input=$configure_input;;
9452 *:-:* | *:-) cat >"$tmp/stdin" \
9453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9458 ac_dir=`$as_dirname -- "$ac_file" ||
9459 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9460 X"$ac_file" : 'X\(//\)[^/]' \| \
9461 X"$ac_file" : 'X\(//\)$' \| \
9462 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9463 $as_echo X"$ac_file" |
9464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9481 as_dir="$ac_dir"; as_fn_mkdir_p
9485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9488 # A ".." for each directory in $ac_dir_suffix.
9489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9490 case $ac_top_builddir_sub in
9491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9495 ac_abs_top_builddir=$ac_pwd
9496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9497 # for backward compatibility:
9498 ac_top_builddir=$ac_top_build_prefix
9501 .) # We are building in place.
9503 ac_top_srcdir=$ac_top_builddir_sub
9504 ac_abs_top_srcdir=$ac_pwd ;;
9505 [\\/]* | ?:[\\/]* ) # Absolute name.
9506 ac_srcdir=$srcdir$ac_dir_suffix;
9507 ac_top_srcdir=$srcdir
9508 ac_abs_top_srcdir=$srcdir ;;
9510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9511 ac_top_srcdir=$ac_top_build_prefix$srcdir
9512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9524 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9525 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9529 [\\/$]* | ?:[\\/]* ) ;;
9530 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9535 # If the template does not know about datarootdir, expand it.
9536 # FIXME: This hack should be removed a few years after 2.60.
9537 ac_datarootdir_hack=; ac_datarootdir_seen=
9548 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9549 *datarootdir*) ac_datarootdir_seen=yes;;
9550 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9552 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9555 ac_datarootdir_hack='
9556 s&@datadir@&$datadir&g
9557 s&@docdir@&$docdir&g
9558 s&@infodir@&$infodir&g
9559 s&@localedir@&$localedir&g
9560 s&@mandir@&$mandir&g
9561 s&\\\${datarootdir}&$datarootdir&g' ;;
9565 # Neutralize VPATH when `$srcdir' = `.'.
9566 # Shell code in configure.ac might set extrasub.
9567 # FIXME: do we really want to maintain this feature?
9568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9569 ac_sed_extra="$ac_vpsub
9572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9574 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9575 s|@configure_input@|$ac_sed_conf_input|;t t
9576 s&@top_builddir@&$ac_top_builddir_sub&;t t
9577 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9578 s&@srcdir@&$ac_srcdir&;t t
9579 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9580 s&@top_srcdir@&$ac_top_srcdir&;t t
9581 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9582 s&@builddir@&$ac_builddir&;t t
9583 s&@abs_builddir@&$ac_abs_builddir&;t t
9584 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9585 s&@INSTALL@&$ac_INSTALL&;t t
9586 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9587 $ac_datarootdir_hack
9589 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9592 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9593 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9594 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9596 which seems to be undefined. Please make sure it is defined" >&5
9597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9598 which seems to be undefined. Please make sure it is defined" >&2;}
9602 -) cat "$tmp/out" && rm -f "$tmp/out";;
9603 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9611 if test x"$ac_file" != x-; then
9613 $as_echo "/* $configure_input */" \
9614 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9615 } >"$tmp/config.h" \
9616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9617 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9619 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9622 mv "$tmp/config.h" "$ac_file" \
9623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9626 $as_echo "/* $configure_input */" \
9627 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9628 || as_fn_error $? "could not create -" "$LINENO" 5
9630 # Compute "$ac_file"'s index in $config_headers.
9633 for _am_header in $config_headers :; do
9635 $_am_arg | $_am_arg:* )
9638 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9641 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9642 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9643 X"$_am_arg" : 'X\(//\)[^/]' \| \
9644 X"$_am_arg" : 'X\(//\)$' \| \
9645 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9646 $as_echo X"$_am_arg" |
9647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9663 s/.*/./; q'`/stamp-h$_am_stamp_count
9666 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9667 $as_echo "$as_me: executing $ac_file commands" >&6;}
9672 case $ac_file$ac_mode in
9673 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9674 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9675 # are listed without --file. Let's play safe and only enable the eval
9676 # if we detect the quoting.
9677 case $CONFIG_FILES in
9678 *\'*) eval set x "$CONFIG_FILES" ;;
9679 *) set x $CONFIG_FILES ;;
9684 # Strip MF so we end up with the name of the file.
9685 mf=`echo "$mf" | sed -e 's/:.*$//'`
9686 # Check whether this is an Automake generated Makefile or not.
9687 # We used to match only the files named `Makefile.in', but
9688 # some people rename them; so instead we look at the file content.
9689 # Grep'ing the first line is not enough: some people post-process
9690 # each Makefile.in and add a new line on top of each file to say so.
9691 # Grep'ing the whole file is not good either: AIX grep has a line
9692 # limit of 2048, but all sed's we know have understand at least 4000.
9693 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9694 dirpart=`$as_dirname -- "$mf" ||
9695 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9696 X"$mf" : 'X\(//\)[^/]' \| \
9697 X"$mf" : 'X\(//\)$' \| \
9698 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9720 # Extract the definition of DEPDIR, am__include, and am__quote
9721 # from the Makefile without running `make'.
9722 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9723 test -z "$DEPDIR" && continue
9724 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9725 test -z "am__include" && continue
9726 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9727 # When using ansi2knr, U may be empty or an underscore; expand it
9728 U=`sed -n 's/^U = //p' < "$mf"`
9729 # Find all dependency output files, they are included files with
9730 # $(DEPDIR) in their names. We invoke sed twice because it is the
9731 # simplest approach to changing $(DEPDIR) to its actual value in the
9733 for file in `sed -n "
9734 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9735 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9736 # Make sure the directory exists.
9737 test -f "$dirpart/$file" && continue
9738 fdir=`$as_dirname -- "$file" ||
9739 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9740 X"$file" : 'X\(//\)[^/]' \| \
9741 X"$file" : 'X\(//\)$' \| \
9742 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9761 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9762 # echo "creating $dirpart/$file"
9763 echo '# dummy' > "$dirpart/$file"
9769 for ac_file in $CONFIG_FILES; do
9770 # Support "outfile[:infile[:infile...]]"
9772 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
9774 # PO directories have a Makefile.in generated from Makefile.in.in.
9775 case "$ac_file" in */Makefile.in)
9776 # Adjust a relative srcdir.
9777 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9778 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
9779 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9780 # In autoconf-2.13 it is called $ac_given_srcdir.
9781 # In autoconf-2.50 it is called $srcdir.
9782 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
9783 case "$ac_given_srcdir" in
9784 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
9785 /*) top_srcdir="$ac_given_srcdir" ;;
9786 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
9788 # Treat a directory as a PO directory if and only if it has a
9789 # POTFILES.in file. This allows packages to have multiple PO
9790 # directories under different names or in different locations.
9791 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9792 rm -f "$ac_dir/POTFILES"
9793 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
9794 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9795 POMAKEFILEDEPS="POTFILES.in"
9796 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
9797 # on $ac_dir but don't depend on user-specified configuration
9799 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9800 # The LINGUAS file contains the set of available languages.
9801 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9802 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
9804 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9805 # Hide the ALL_LINGUAS assigment from automake < 1.5.
9806 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9807 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
9809 # The set of available languages was given in configure.in.
9810 # Hide the ALL_LINGUAS assigment from automake < 1.5.
9811 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9814 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
9815 # Compute UPDATEPOFILES
9816 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
9817 # Compute DUMMYPOFILES
9818 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
9820 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
9821 case "$ac_given_srcdir" in
9823 *) srcdirpre='$(srcdir)/' ;;
9829 for lang in $ALL_LINGUAS; do
9830 POFILES="$POFILES $srcdirpre$lang.po"
9831 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
9832 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
9833 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
9835 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9836 # environment variable.
9838 if test -n "$ALL_LINGUAS"; then
9839 for presentlang in $ALL_LINGUAS; do
9841 if test "%UNSET%" != "$LINGUAS"; then
9842 desiredlanguages="$LINGUAS"
9844 desiredlanguages="$ALL_LINGUAS"
9846 for desiredlang in $desiredlanguages; do
9847 # Use the presentlang catalog if desiredlang is
9848 # a. equal to presentlang, or
9849 # b. a variant of presentlang (because in this case,
9850 # presentlang can be used as a fallback for messages
9851 # which are not translated in the desiredlang catalog).
9852 case "$desiredlang" in
9853 "$presentlang"*) useit=yes;;
9856 if test $useit = yes; then
9857 INST_LINGUAS="$INST_LINGUAS $presentlang"
9862 if test -n "$INST_LINGUAS"; then
9863 for lang in $INST_LINGUAS; do
9864 CATALOGS="$CATALOGS $lang.gmo"
9867 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9868 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9869 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
9870 if test -f "$f"; then
9872 *.orig | *.bak | *~) ;;
9873 *) cat "$f" >> "$ac_dir/Makefile" ;;
9888 ac_clean_files=$ac_clean_files_save
9890 test $ac_write_fail = 0 ||
9891 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9894 # configure is writing to config.log, and then calls config.status.
9895 # config.status does its own redirection, appending to config.log.
9896 # Unfortunately, on DOS this fails, as config.log is still kept open
9897 # by configure, so config.status won't be able to write to it; its
9898 # output is simply discarded. So we exec the FD to /dev/null,
9899 # effectively closing config.log, so it can be properly (re)opened and
9900 # appended to by config.status. When coming back to configure, we
9901 # need to make the FD available again.
9902 if test "$no_create" != yes; then
9904 ac_config_status_args=
9905 test "$silent" = yes &&
9906 ac_config_status_args="$ac_config_status_args --quiet"
9908 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9910 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9911 # would make configure fail if this is the last instruction.
9912 $ac_cs_success || as_fn_exit 1
9914 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9916 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}