2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.1.3.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='psensor'
582 PACKAGE_TARNAME='psensor'
583 PACKAGE_VERSION='1.1.3'
584 PACKAGE_STRING='psensor 1.1.3'
585 PACKAGE_BUGREPORT='jeanfi@gmail.com'
586 PACKAGE_URL='http://wpitchoune.net/psensor'
588 ac_unique_file="src/ui.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
626 ac_subst_vars='am__EXEEXT_FALSE
701 GSETTINGS_DISABLE_SCHEMAS_COMPILE
761 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_dependency_tracking
826 enable_schemas_compile
830 ac_precious_vars='build_alias
869 # Initialize some variables set by options.
871 ac_init_version=false
872 ac_unrecognized_opts=
874 # The variables have the same names as the options, with
875 # dashes changed to underlines.
883 program_transform_name=s,x,x,
891 # Installation directory options.
892 # These are left unexpanded so users can "make install exec_prefix=/foo"
893 # and all the variables that are supposed to be based on exec_prefix
894 # by default will actually change.
895 # Use braces instead of parens because sh, perl, etc. also accept them.
896 # (The list follows the same order as the GNU Coding Standards.)
897 bindir='${exec_prefix}/bin'
898 sbindir='${exec_prefix}/sbin'
899 libexecdir='${exec_prefix}/libexec'
900 datarootdir='${prefix}/share'
901 datadir='${datarootdir}'
902 sysconfdir='${prefix}/etc'
903 sharedstatedir='${prefix}/com'
904 localstatedir='${prefix}/var'
905 includedir='${prefix}/include'
906 oldincludedir='/usr/include'
907 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
908 infodir='${datarootdir}/info'
913 libdir='${exec_prefix}/lib'
914 localedir='${datarootdir}/locale'
915 mandir='${datarootdir}/man'
921 # If the previous option needs an argument, assign it.
922 if test -n "$ac_prev"; then
923 eval $ac_prev=\$ac_option
929 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
934 # Accept the important Cygnus configure options, so we can diagnose typos.
936 case $ac_dashdash$ac_option in
940 -bindir | --bindir | --bindi | --bind | --bin | --bi)
942 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
945 -build | --build | --buil | --bui | --bu)
946 ac_prev=build_alias ;;
947 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
948 build_alias=$ac_optarg ;;
950 -cache-file | --cache-file | --cache-fil | --cache-fi \
951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
952 ac_prev=cache_file ;;
953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
955 cache_file=$ac_optarg ;;
958 cache_file=config.cache ;;
960 -datadir | --datadir | --datadi | --datad)
962 -datadir=* | --datadir=* | --datadi=* | --datad=*)
963 datadir=$ac_optarg ;;
965 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
966 | --dataroo | --dataro | --datar)
967 ac_prev=datarootdir ;;
968 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
969 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
970 datarootdir=$ac_optarg ;;
972 -disable-* | --disable-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error $? "invalid feature name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
986 eval enable_$ac_useropt=no ;;
988 -docdir | --docdir | --docdi | --doc | --do)
990 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
993 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
995 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
998 -enable-* | --enable-*)
999 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error $? "invalid feature name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "enable_$ac_useropt"
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1012 eval enable_$ac_useropt=\$ac_optarg ;;
1014 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1015 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1016 | --exec | --exe | --ex)
1017 ac_prev=exec_prefix ;;
1018 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1019 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1020 | --exec=* | --exe=* | --ex=*)
1021 exec_prefix=$ac_optarg ;;
1023 -gas | --gas | --ga | --g)
1024 # Obsolete; use --with-gas.
1027 -help | --help | --hel | --he | -h)
1028 ac_init_help=long ;;
1029 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1030 ac_init_help=recursive ;;
1031 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1032 ac_init_help=short ;;
1034 -host | --host | --hos | --ho)
1035 ac_prev=host_alias ;;
1036 -host=* | --host=* | --hos=* | --ho=*)
1037 host_alias=$ac_optarg ;;
1039 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1041 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1043 htmldir=$ac_optarg ;;
1045 -includedir | --includedir | --includedi | --included | --include \
1046 | --includ | --inclu | --incl | --inc)
1047 ac_prev=includedir ;;
1048 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1049 | --includ=* | --inclu=* | --incl=* | --inc=*)
1050 includedir=$ac_optarg ;;
1052 -infodir | --infodir | --infodi | --infod | --info | --inf)
1054 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1055 infodir=$ac_optarg ;;
1057 -libdir | --libdir | --libdi | --libd)
1059 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1060 libdir=$ac_optarg ;;
1062 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1063 | --libexe | --libex | --libe)
1064 ac_prev=libexecdir ;;
1065 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1066 | --libexe=* | --libex=* | --libe=*)
1067 libexecdir=$ac_optarg ;;
1069 -localedir | --localedir | --localedi | --localed | --locale)
1070 ac_prev=localedir ;;
1071 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1072 localedir=$ac_optarg ;;
1074 -localstatedir | --localstatedir | --localstatedi | --localstated \
1075 | --localstate | --localstat | --localsta | --localst | --locals)
1076 ac_prev=localstatedir ;;
1077 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1078 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1079 localstatedir=$ac_optarg ;;
1081 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1083 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1084 mandir=$ac_optarg ;;
1086 -nfp | --nfp | --nf)
1087 # Obsolete; use --without-fp.
1090 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1091 | --no-cr | --no-c | -n)
1094 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1095 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1098 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1099 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1100 | --oldin | --oldi | --old | --ol | --o)
1101 ac_prev=oldincludedir ;;
1102 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1103 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1104 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1105 oldincludedir=$ac_optarg ;;
1107 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1109 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1110 prefix=$ac_optarg ;;
1112 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1113 | --program-pre | --program-pr | --program-p)
1114 ac_prev=program_prefix ;;
1115 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1116 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1117 program_prefix=$ac_optarg ;;
1119 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1120 | --program-suf | --program-su | --program-s)
1121 ac_prev=program_suffix ;;
1122 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1123 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1124 program_suffix=$ac_optarg ;;
1126 -program-transform-name | --program-transform-name \
1127 | --program-transform-nam | --program-transform-na \
1128 | --program-transform-n | --program-transform- \
1129 | --program-transform | --program-transfor \
1130 | --program-transfo | --program-transf \
1131 | --program-trans | --program-tran \
1132 | --progr-tra | --program-tr | --program-t)
1133 ac_prev=program_transform_name ;;
1134 -program-transform-name=* | --program-transform-name=* \
1135 | --program-transform-nam=* | --program-transform-na=* \
1136 | --program-transform-n=* | --program-transform-=* \
1137 | --program-transform=* | --program-transfor=* \
1138 | --program-transfo=* | --program-transf=* \
1139 | --program-trans=* | --program-tran=* \
1140 | --progr-tra=* | --program-tr=* | --program-t=*)
1141 program_transform_name=$ac_optarg ;;
1143 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1145 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1146 pdfdir=$ac_optarg ;;
1148 -psdir | --psdir | --psdi | --psd | --ps)
1150 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1154 | -silent | --silent | --silen | --sile | --sil)
1157 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1159 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1161 sbindir=$ac_optarg ;;
1163 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1164 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1165 | --sharedst | --shareds | --shared | --share | --shar \
1167 ac_prev=sharedstatedir ;;
1168 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1169 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1170 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1172 sharedstatedir=$ac_optarg ;;
1174 -site | --site | --sit)
1176 -site=* | --site=* | --sit=*)
1179 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1181 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1182 srcdir=$ac_optarg ;;
1184 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1185 | --syscon | --sysco | --sysc | --sys | --sy)
1186 ac_prev=sysconfdir ;;
1187 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1188 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1189 sysconfdir=$ac_optarg ;;
1191 -target | --target | --targe | --targ | --tar | --ta | --t)
1192 ac_prev=target_alias ;;
1193 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1194 target_alias=$ac_optarg ;;
1196 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1199 -version | --version | --versio | --versi | --vers | -V)
1200 ac_init_version=: ;;
1203 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206 as_fn_error $? "invalid package name: $ac_useropt"
1207 ac_useropt_orig=$ac_useropt
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1214 ac_unrecognized_sep=', ';;
1216 eval with_$ac_useropt=\$ac_optarg ;;
1218 -without-* | --without-*)
1219 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222 as_fn_error $? "invalid package name: $ac_useropt"
1223 ac_useropt_orig=$ac_useropt
1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1230 ac_unrecognized_sep=', ';;
1232 eval with_$ac_useropt=no ;;
1235 # Obsolete; use --with-x.
1238 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1239 | --x-incl | --x-inc | --x-in | --x-i)
1240 ac_prev=x_includes ;;
1241 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1242 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1243 x_includes=$ac_optarg ;;
1245 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1246 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1247 ac_prev=x_libraries ;;
1248 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1249 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1250 x_libraries=$ac_optarg ;;
1252 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1253 Try \`$0 --help' for more information"
1257 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1258 # Reject names that are not valid shell variable names.
1259 case $ac_envvar in #(
1260 '' | [0-9]* | *[!_$as_cr_alnum]* )
1261 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1263 eval $ac_envvar=\$ac_optarg
1264 export $ac_envvar ;;
1267 # FIXME: should be removed in autoconf 3.0.
1268 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1269 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1271 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1277 if test -n "$ac_prev"; then
1278 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1279 as_fn_error $? "missing argument to $ac_option"
1282 if test -n "$ac_unrecognized_opts"; then
1283 case $enable_option_checking in
1285 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1286 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1290 # Check all directory arguments for consistency.
1291 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1292 datadir sysconfdir sharedstatedir localstatedir includedir \
1293 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1294 libdir localedir mandir
1296 eval ac_val=\$$ac_var
1297 # Remove trailing slashes.
1300 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1301 eval $ac_var=\$ac_val;;
1303 # Be sure to have absolute directory names.
1305 [\\/$]* | ?:[\\/]* ) continue;;
1306 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1308 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1311 # There might be people who depend on the old broken behavior: `$host'
1312 # used to hold the argument of --host etc.
1313 # FIXME: To remove some day.
1316 target=$target_alias
1318 # FIXME: To remove some day.
1319 if test "x$host_alias" != x; then
1320 if test "x$build_alias" = x; then
1321 cross_compiling=maybe
1322 elif test "x$build_alias" != "x$host_alias"; then
1328 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1330 test "$silent" = yes && exec 6>/dev/null
1333 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1334 ac_ls_di=`ls -di .` &&
1335 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1336 as_fn_error $? "working directory cannot be determined"
1337 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1338 as_fn_error $? "pwd does not report name of working directory"
1341 # Find the source files, if location was not specified.
1342 if test -z "$srcdir"; then
1343 ac_srcdir_defaulted=yes
1344 # Try the directory containing this script, then the parent directory.
1345 ac_confdir=`$as_dirname -- "$as_myself" ||
1346 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1347 X"$as_myself" : 'X\(//\)[^/]' \| \
1348 X"$as_myself" : 'X\(//\)$' \| \
1349 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1350 $as_echo X"$as_myself" |
1351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1373 ac_srcdir_defaulted=no
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1376 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1377 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1379 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1381 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1383 # When building in place, set srcdir=.
1384 if test "$ac_abs_confdir" = "$ac_pwd"; then
1387 # Remove unnecessary trailing slashes from srcdir.
1388 # Double slashes in file names in object file debugging info
1389 # mess up M-x gdb in Emacs.
1391 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1393 for ac_var in $ac_precious_vars; do
1394 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1395 eval ac_env_${ac_var}_value=\$${ac_var}
1396 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1397 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1401 # Report the --help message.
1403 if test "$ac_init_help" = "long"; then
1404 # Omit some internal or obsolete options to make the list less imposing.
1405 # This message is too long to be a string in the A/UX 3.1 sh.
1407 \`configure' configures psensor 1.1.3 to adapt to many kinds of systems.
1409 Usage: $0 [OPTION]... [VAR=VALUE]...
1411 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1412 VAR=VALUE. See below for descriptions of some of the useful variables.
1414 Defaults for the options are specified in brackets.
1417 -h, --help display this help and exit
1418 --help=short display options specific to this package
1419 --help=recursive display the short help of all the included packages
1420 -V, --version display version information and exit
1421 -q, --quiet, --silent do not print \`checking ...' messages
1422 --cache-file=FILE cache test results in FILE [disabled]
1423 -C, --config-cache alias for \`--cache-file=config.cache'
1424 -n, --no-create do not create output files
1425 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1427 Installation directories:
1428 --prefix=PREFIX install architecture-independent files in PREFIX
1429 [$ac_default_prefix]
1430 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1433 By default, \`make install' will install all the files in
1434 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1435 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1436 for instance \`--prefix=\$HOME'.
1438 For better control, use the options below.
1440 Fine tuning of the installation directories:
1441 --bindir=DIR user executables [EPREFIX/bin]
1442 --sbindir=DIR system admin executables [EPREFIX/sbin]
1443 --libexecdir=DIR program executables [EPREFIX/libexec]
1444 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1445 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1446 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1447 --libdir=DIR object code libraries [EPREFIX/lib]
1448 --includedir=DIR C header files [PREFIX/include]
1449 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1450 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1451 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1452 --infodir=DIR info documentation [DATAROOTDIR/info]
1453 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1454 --mandir=DIR man documentation [DATAROOTDIR/man]
1455 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1456 --htmldir=DIR html documentation [DOCDIR]
1457 --dvidir=DIR dvi documentation [DOCDIR]
1458 --pdfdir=DIR pdf documentation [DOCDIR]
1459 --psdir=DIR ps documentation [DOCDIR]
1465 --program-prefix=PREFIX prepend PREFIX to installed program names
1466 --program-suffix=SUFFIX append SUFFIX to installed program names
1467 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1470 --x-includes=DIR X include files are in DIR
1471 --x-libraries=DIR X library files are in DIR
1474 --build=BUILD configure for building on BUILD [guessed]
1475 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1479 if test -n "$ac_init_help"; then
1480 case $ac_init_help in
1481 short | recursive ) echo "Configuration of psensor 1.1.3:";;
1486 --disable-option-checking ignore unrecognized --enable/--with options
1487 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1488 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1489 --enable-silent-rules less verbose build output (undo: "make V=1")
1490 --disable-silent-rules verbose build output (undo: "make V=0")
1491 --enable-dependency-tracking
1492 do not reject slow dependency extractors
1493 --disable-dependency-tracking
1494 speeds up one-time build
1495 --disable-largefile omit support for large files
1496 --disable-nls do not use Native Language Support
1497 --disable-rpath do not hardcode runtime library paths
1498 --disable-schemas-compile
1499 Disable regeneration of gschemas.compiled on install
1502 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1503 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1504 --with-x use the X Window System
1505 --with-gnu-ld assume the C compiler uses GNU ld default=no
1506 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1507 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1508 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1509 --without-libintl-prefix don't search for libintl in includedir and libdir
1510 --with-libatiadl=DIR use libatiadlxx in DIR
1511 --with-gtop=yes|no use gtop
1513 Some influential environment variables:
1514 CC C compiler command
1515 CFLAGS C compiler flags
1516 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1517 nonstandard directory <lib dir>
1518 LIBS libraries to pass to the linker, e.g. -l<library>
1519 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1520 you have headers in a nonstandard directory <include dir>
1521 XMKMF Path to xmkmf, Makefile generator for X Window System
1523 PKG_CONFIG path to pkg-config utility
1525 directories to add to pkg-config's search path
1527 path overriding pkg-config's built-in search path
1528 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1529 X11_LIBS linker flags for X11, overriding pkg-config
1530 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1531 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1532 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1533 GTK_LIBS linker flags for GTK, overriding pkg-config
1535 C compiler flags for LIBUDISKS2, overriding pkg-config
1537 linker flags for LIBUDISKS2, overriding pkg-config
1539 C compiler flags for ATASMART, overriding pkg-config
1541 linker flags for ATASMART, overriding pkg-config
1543 C compiler flags for LIBNOTIFY, overriding pkg-config
1545 linker flags for LIBNOTIFY, overriding pkg-config
1547 C compiler flags for APPINDICATOR, overriding pkg-config
1549 linker flags for APPINDICATOR, overriding pkg-config
1550 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1551 CURL_LIBS linker flags for CURL, overriding pkg-config
1552 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1553 JSON_LIBS linker flags for JSON, overriding pkg-config
1555 C compiler flags for UNITY, overriding pkg-config
1556 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1557 LIBMICROHTTPD_CFLAGS
1558 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1560 linker flags for LIBMICROHTTPD, overriding pkg-config
1561 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1562 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1564 Use these variables to override the choices made by `configure' or to help
1565 it to find libraries and programs with nonstandard names/locations.
1567 Report bugs to <jeanfi@gmail.com>.
1568 psensor home page: <http://wpitchoune.net/psensor>.
1573 if test "$ac_init_help" = "recursive"; then
1574 # If there are subdirs, report their specific --help.
1575 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1576 test -d "$ac_dir" ||
1577 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1585 # A ".." for each directory in $ac_dir_suffix.
1586 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1587 case $ac_top_builddir_sub in
1588 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1592 ac_abs_top_builddir=$ac_pwd
1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1594 # for backward compatibility:
1595 ac_top_builddir=$ac_top_build_prefix
1598 .) # We are building in place.
1600 ac_top_srcdir=$ac_top_builddir_sub
1601 ac_abs_top_srcdir=$ac_pwd ;;
1602 [\\/]* | ?:[\\/]* ) # Absolute name.
1603 ac_srcdir=$srcdir$ac_dir_suffix;
1604 ac_top_srcdir=$srcdir
1605 ac_abs_top_srcdir=$srcdir ;;
1607 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1608 ac_top_srcdir=$ac_top_build_prefix$srcdir
1609 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1613 cd "$ac_dir" || { ac_status=$?; continue; }
1614 # Check for guested configure.
1615 if test -f "$ac_srcdir/configure.gnu"; then
1617 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1618 elif test -f "$ac_srcdir/configure"; then
1620 $SHELL "$ac_srcdir/configure" --help=recursive
1622 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624 cd "$ac_pwd" || { ac_status=$?; break; }
1628 test -n "$ac_init_help" && exit $ac_status
1629 if $ac_init_version; then
1631 psensor configure 1.1.3
1632 generated by GNU Autoconf 2.69
1634 Copyright (C) 2012 Free Software Foundation, Inc.
1635 This configure script is free software; the Free Software Foundation
1636 gives unlimited permission to copy, distribute and modify it.
1641 ## ------------------------ ##
1642 ## Autoconf initialization. ##
1643 ## ------------------------ ##
1645 # ac_fn_c_try_compile LINENO
1646 # --------------------------
1647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1648 ac_fn_c_try_compile ()
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651 rm -f conftest.$ac_objext
1652 if { { ac_try="$ac_compile"
1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_compile") 2>conftest.err
1661 if test -s conftest.err; then
1662 grep -v '^ *+' conftest.err >conftest.er1
1663 cat conftest.er1 >&5
1664 mv -f conftest.er1 conftest.err
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && {
1668 test -z "$ac_c_werror_flag" ||
1669 test ! -s conftest.err
1670 } && test -s conftest.$ac_objext; then :
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1679 as_fn_set_status $ac_retval
1681 } # ac_fn_c_try_compile
1683 # ac_fn_c_try_cpp LINENO
1684 # ----------------------
1685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 if { { ac_try="$ac_cpp conftest.$ac_ext"
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1698 if test -s conftest.err; then
1699 grep -v '^ *+' conftest.err >conftest.er1
1700 cat conftest.er1 >&5
1701 mv -f conftest.er1 conftest.err
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } > conftest.i && {
1705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1706 test ! -s conftest.err
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1720 # ac_fn_c_try_link LINENO
1721 # -----------------------
1722 # Try to link conftest.$ac_ext, and return whether this succeeded.
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext conftest$ac_exeext
1727 if { { ac_try="$ac_link"
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_link") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest$ac_exeext && {
1746 test "$cross_compiling" = yes ||
1747 test -x conftest$ac_exeext
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1756 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1757 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1758 # interfere with the next link command; also delete a directory that is
1759 # left behind by Apple's compiler. We do this before executing the actions.
1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_status $ac_retval
1764 } # ac_fn_c_try_link
1766 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1769 # the include files in INCLUDES and setting the cache variable VAR
1771 ac_fn_c_check_header_mongrel ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if eval \${$3+:} false; then :
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval \${$3+:} false; then :
1778 $as_echo_n "(cached) " >&6
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1784 # Is the header compilable?
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1786 $as_echo_n "checking $2 usability... " >&6; }
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile "$LINENO"; then :
1793 ac_header_compiler=yes
1795 ac_header_compiler=no
1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1799 $as_echo "$ac_header_compiler" >&6; }
1801 # Is the header present?
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1803 $as_echo_n "checking $2 presence... " >&6; }
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1808 if ac_fn_c_try_cpp "$LINENO"; then :
1809 ac_header_preproc=yes
1811 ac_header_preproc=no
1813 rm -f conftest.err conftest.i conftest.$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1815 $as_echo "$ac_header_preproc" >&6; }
1817 # So? What about this header?
1818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1821 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1827 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1829 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1831 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1833 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1835 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1836 ( $as_echo "## ------------------------------- ##
1837 ## Report this to jeanfi@gmail.com ##
1838 ## ------------------------------- ##"
1839 ) | sed "s/^/$as_me: WARNING: /" >&2
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843 $as_echo_n "checking for $2... " >&6; }
1844 if eval \${$3+:} false; then :
1845 $as_echo_n "(cached) " >&6
1847 eval "$3=\$ac_header_compiler"
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_header_mongrel
1857 # ac_fn_c_try_run LINENO
1858 # ----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1860 # that executables *can* be run.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_link"
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>&5
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1875 { { case "(($ac_try" in
1876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_try") 2>&5
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; }; }; then :
1887 $as_echo "$as_me: program exited with status $ac_status" >&5
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=$ac_status
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 as_fn_set_status $ac_retval
1899 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1900 # -------------------------------------------------------
1901 # Tests whether HEADER exists and can be compiled using the include files in
1902 # INCLUDES, setting the cache variable VAR accordingly.
1903 ac_fn_c_check_header_compile ()
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1907 $as_echo_n "checking for $2... " >&6; }
1908 if eval \${$3+:} false; then :
1909 $as_echo_n "(cached) " >&6
1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h. */
1916 if ac_fn_c_try_compile "$LINENO"; then :
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 } # ac_fn_c_check_header_compile
1929 cat >config.log <<_ACEOF
1930 This file contains any messages produced by compilers while
1931 running configure, to aid debugging if configure makes a mistake.
1933 It was created by psensor $as_me 1.1.3, which was
1934 generated by GNU Autoconf 2.69. Invocation command line was
1946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1958 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 $as_echo "PATH: $as_dir"
1986 # Keep a trace of the command line.
1987 # Strip out --no-create and --no-recursion so they do not pile up.
1988 # Strip out --silent because we don't want to record it for future runs.
1989 # Also quote any args containing shell meta-characters.
1990 # Make two passes to allow for proper duplicate-argument suppression.
1994 ac_must_keep_next=false
2000 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2002 | -silent | --silent | --silen | --sile | --sil)
2005 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2008 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2010 as_fn_append ac_configure_args1 " '$ac_arg'"
2011 if test $ac_must_keep_next = true; then
2012 ac_must_keep_next=false # Got value, back to normal.
2015 *=* | --config-cache | -C | -disable-* | --disable-* \
2016 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2017 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2018 | -with-* | --with-* | -without-* | --without-* | --x)
2019 case "$ac_configure_args0 " in
2020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2023 -* ) ac_must_keep_next=true ;;
2026 as_fn_append ac_configure_args " '$ac_arg'"
2031 { ac_configure_args0=; unset ac_configure_args0;}
2032 { ac_configure_args1=; unset ac_configure_args1;}
2034 # When interrupted or exit'd, cleanup temporary files, and complete
2035 # config.log. We remove comments because anyway the quotes in there
2036 # would cause problems or look ugly.
2037 # WARNING: Use '\'' to represent an apostrophe within the trap.
2038 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2039 trap 'exit_status=$?
2040 # Save into config.log some information that might help in debugging.
2044 $as_echo "## ---------------- ##
2045 ## Cache variables. ##
2046 ## ---------------- ##"
2048 # The following way of writing the cache mishandles newlines in values,
2050 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2051 eval ac_val=\$$ac_var
2055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059 _ | IFS | as_nl) ;; #(
2060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2061 *) { eval $ac_var=; unset $ac_var;} ;;
2066 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2067 *${as_nl}ac_space=\ *)
2069 "s/'\''/'\''\\\\'\'''\''/g;
2070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2080 $as_echo "## ----------------- ##
2081 ## Output variables. ##
2082 ## ----------------- ##"
2084 for ac_var in $ac_subst_vars
2086 eval ac_val=\$$ac_var
2088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2094 if test -n "$ac_subst_files"; then
2095 $as_echo "## ------------------- ##
2096 ## File substitutions. ##
2097 ## ------------------- ##"
2099 for ac_var in $ac_subst_files
2101 eval ac_val=\$$ac_var
2103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2110 if test -s confdefs.h; then
2111 $as_echo "## ----------- ##
2118 test "$ac_signal" != 0 &&
2119 $as_echo "$as_me: caught signal $ac_signal"
2120 $as_echo "$as_me: exit $exit_status"
2122 rm -f core *.core core.conftest.* &&
2123 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2126 for ac_signal in 1 2 13 15; do
2127 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2132 rm -f -r conftest* confdefs.h
2134 $as_echo "/* confdefs.h */" > confdefs.h
2136 # Predefined preprocessor variables.
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_NAME "$PACKAGE_NAME"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_STRING "$PACKAGE_STRING"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_URL "$PACKAGE_URL"
2163 # Let the site file select an alternate cache file if it wants to.
2164 # Prefer an explicitly selected file to automatically selected ones.
2167 if test -n "$CONFIG_SITE"; then
2168 # We do not want a PATH search for config.site.
2169 case $CONFIG_SITE in #((
2170 -*) ac_site_file1=./$CONFIG_SITE;;
2171 */*) ac_site_file1=$CONFIG_SITE;;
2172 *) ac_site_file1=./$CONFIG_SITE;;
2174 elif test "x$prefix" != xNONE; then
2175 ac_site_file1=$prefix/share/config.site
2176 ac_site_file2=$prefix/etc/config.site
2178 ac_site_file1=$ac_default_prefix/share/config.site
2179 ac_site_file2=$ac_default_prefix/etc/config.site
2181 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2183 test "x$ac_site_file" = xNONE && continue
2184 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2186 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2187 sed 's/^/| /' "$ac_site_file" >&5
2189 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 as_fn_error $? "failed to load site script $ac_site_file
2192 See \`config.log' for more details" "$LINENO" 5; }
2196 if test -r "$cache_file"; then
2197 # Some versions of bash will fail to source /dev/null (special files
2198 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2199 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2201 $as_echo "$as_me: loading cache $cache_file" >&6;}
2203 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2204 *) . "./$cache_file";;
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2209 $as_echo "$as_me: creating cache $cache_file" >&6;}
2213 gt_needs="$gt_needs "
2214 # Check that the precious variables saved in the cache have kept the same
2216 ac_cache_corrupted=false
2217 for ac_var in $ac_precious_vars; do
2218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2219 eval ac_new_set=\$ac_env_${ac_var}_set
2220 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2221 eval ac_new_val=\$ac_env_${ac_var}_value
2222 case $ac_old_set,$ac_new_set in
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2225 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2226 ac_cache_corrupted=: ;;
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2229 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2230 ac_cache_corrupted=: ;;
2233 if test "x$ac_old_val" != "x$ac_new_val"; then
2234 # differences in whitespace do not lead to failure.
2235 ac_old_val_w=`echo x $ac_old_val`
2236 ac_new_val_w=`echo x $ac_new_val`
2237 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2239 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2240 ac_cache_corrupted=:
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2243 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2244 eval $ac_var=\$ac_old_val
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2247 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2249 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2252 # Pass precious variables to config.status.
2253 if test "$ac_new_set" = set; then
2255 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2256 *) ac_arg=$ac_var=$ac_new_val ;;
2258 case " $ac_configure_args " in
2259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2260 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2264 if $ac_cache_corrupted; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2268 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2269 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2271 ## -------------------- ##
2272 ## Main body of script. ##
2273 ## -------------------- ##
2276 ac_cpp='$CPP $CPPFLAGS'
2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283 am__api_version='1.14'
2286 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2287 if test -f "$ac_dir/install-sh"; then
2289 ac_install_sh="$ac_aux_dir/install-sh -c"
2291 elif test -f "$ac_dir/install.sh"; then
2293 ac_install_sh="$ac_aux_dir/install.sh -c"
2295 elif test -f "$ac_dir/shtool"; then
2297 ac_install_sh="$ac_aux_dir/shtool install -c"
2301 if test -z "$ac_aux_dir"; then
2302 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2305 # These three variables are undocumented and unsupported,
2306 # and are intended to be withdrawn in a future Autoconf release.
2307 # They can cause serious problems if a builder's source tree is in a directory
2308 # whose full name contains unusual characters.
2309 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2310 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2311 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2314 # Find a good install program. We prefer a C program (faster),
2315 # so one script is as good as another. But avoid the broken or
2316 # incompatible versions:
2317 # SysV /etc/install, /usr/sbin/install
2318 # SunOS /usr/etc/install
2319 # IRIX /sbin/install
2321 # AmigaOS /C/install, which installs bootblocks on floppy discs
2322 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2323 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2324 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2325 # OS/2's system install, which has a completely different semantic
2326 # ./install, which can be erroneously created by make from ./install.sh.
2327 # Reject install programs that cannot install multiple files.
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2329 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2330 if test -z "$INSTALL"; then
2331 if ${ac_cv_path_install+:} false; then :
2332 $as_echo_n "(cached) " >&6
2334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir=.
2339 # Account for people who put trailing slashes in PATH elements.
2340 case $as_dir/ in #((
2341 ./ | .// | /[cC]/* | \
2342 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2343 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2346 # OSF1 and SCO ODT 3.0 have their own names for install.
2347 # Don't use installbsd from OSF since it installs stuff as root
2349 for ac_prog in ginstall scoinst install; do
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2352 if test $ac_prog = install &&
2353 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2354 # AIX install. It has an incompatible calling convention.
2356 elif test $ac_prog = install &&
2357 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2358 # program-specific install script used by HP pwplus--don't use.
2361 rm -rf conftest.one conftest.two conftest.dir
2362 echo one > conftest.one
2363 echo two > conftest.two
2365 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2366 test -s conftest.one && test -s conftest.two &&
2367 test -s conftest.dir/conftest.one &&
2368 test -s conftest.dir/conftest.two
2370 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2383 rm -rf conftest.one conftest.two conftest.dir
2386 if test "${ac_cv_path_install+set}" = set; then
2387 INSTALL=$ac_cv_path_install
2389 # As a last resort, use the slow shell script. Don't cache a
2390 # value for INSTALL within a source directory, because that will
2391 # break other packages using the cache if that directory is
2392 # removed, or if the value is a relative name.
2393 INSTALL=$ac_install_sh
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2397 $as_echo "$INSTALL" >&6; }
2399 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2400 # It thinks the first close brace ends the variable substitution.
2401 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2403 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2405 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2408 $as_echo_n "checking whether build environment is sane... " >&6; }
2409 # Reject unsafe characters in $srcdir or the absolute working directory
2410 # name. Accept space and tab only in the latter.
2414 *[\\\"\#\$\&\'\`$am_lf]*)
2415 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2418 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2419 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2422 # Do 'set' in a subshell so we don't clobber the current shell's
2423 # arguments. Must try -L first in case configure is actually a
2424 # symlink; some systems play weird games with the mod time of symlinks
2425 # (eg FreeBSD returns the mod time of the symlink's containing
2429 for am_try in 1 2; do
2430 echo "timestamp, slept: $am_has_slept" > conftest.file
2431 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2432 if test "$*" = "X"; then
2434 set X `ls -t "$srcdir/configure" conftest.file`
2436 if test "$*" != "X $srcdir/configure conftest.file" \
2437 && test "$*" != "X conftest.file $srcdir/configure"; then
2439 # If neither matched, then we have a broken ls. This can happen
2440 # if, for instance, CONFIG_SHELL is bash and it inherits a
2441 # broken ls alias from the environment. This has actually
2442 # happened. Such a system could not be considered "sane".
2443 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2444 alias in your environment" "$LINENO" 5
2446 if test "$2" = conftest.file || test $am_try -eq 2; then
2453 test "$2" = conftest.file
2459 as_fn_error $? "newly created file is older than distributed files!
2460 Check your system clock" "$LINENO" 5
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2463 $as_echo "yes" >&6; }
2464 # If we didn't sleep, we still need to ensure time stamps of config.status and
2465 # generated files are strictly newer.
2467 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2474 test "$program_prefix" != NONE &&
2475 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2476 # Use a double $ so make ignores it.
2477 test "$program_suffix" != NONE &&
2478 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2479 # Double any \ or $.
2480 # By default was `s,x,x', remove it if useless.
2481 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2482 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2484 # expand $ac_aux_dir to an absolute path
2485 am_aux_dir=`cd $ac_aux_dir && pwd`
2487 if test x"${MISSING+set}" != xset; then
2490 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2492 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2495 # Use eval to expand $SHELL
2496 if eval "$MISSING --is-lightweight"; then
2497 am_missing_run="$MISSING "
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2501 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2504 if test x"${install_sh}" != xset; then
2507 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2509 install_sh="\${SHELL} $am_aux_dir/install-sh"
2513 # Installed binaries are usually stripped using 'strip' when the user
2514 # run "make install-strip". However 'strip' might not be the right
2515 # tool to use in cross-compilation environments, therefore Automake
2516 # will honor the 'STRIP' environment variable to overrule this program.
2517 if test "$cross_compiling" != no; then
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2520 set dummy ${ac_tool_prefix}strip; ac_word=$2
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2522 $as_echo_n "checking for $ac_word... " >&6; }
2523 if ${ac_cv_prog_STRIP+:} false; then :
2524 $as_echo_n "(cached) " >&6
2526 if test -n "$STRIP"; then
2527 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir=.
2534 for ac_exec_ext in '' $ac_executable_extensions; do
2535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 STRIP=$ac_cv_prog_STRIP
2547 if test -n "$STRIP"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2549 $as_echo "$STRIP" >&6; }
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552 $as_echo "no" >&6; }
2557 if test -z "$ac_cv_prog_STRIP"; then
2559 # Extract the first word of "strip", so it can be a program name with args.
2560 set dummy strip; ac_word=$2
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2562 $as_echo_n "checking for $ac_word... " >&6; }
2563 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2564 $as_echo_n "(cached) " >&6
2566 if test -n "$ac_ct_STRIP"; then
2567 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576 ac_cv_prog_ac_ct_STRIP="strip"
2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2587 if test -n "$ac_ct_STRIP"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2589 $as_echo "$ac_ct_STRIP" >&6; }
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2595 if test "x$ac_ct_STRIP" = x; then
2598 case $cross_compiling:$ac_tool_warned in
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2602 ac_tool_warned=yes ;;
2607 STRIP="$ac_cv_prog_STRIP"
2611 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2614 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2615 if test -z "$MKDIR_P"; then
2616 if ${ac_cv_path_mkdir+:} false; then :
2617 $as_echo_n "(cached) " >&6
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2623 test -z "$as_dir" && as_dir=.
2624 for ac_prog in mkdir gmkdir; do
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2627 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2628 'mkdir (GNU coreutils) '* | \
2629 'mkdir (coreutils) '* | \
2630 'mkdir (fileutils) '4.1*)
2631 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2641 test -d ./--version && rmdir ./--version
2642 if test "${ac_cv_path_mkdir+set}" = set; then
2643 MKDIR_P="$ac_cv_path_mkdir -p"
2645 # As a last resort, use the slow shell script. Don't cache a
2646 # value for MKDIR_P within a source directory, because that will
2647 # break other packages using the cache if that directory is
2648 # removed, or if the value is a relative name.
2649 MKDIR_P="$ac_install_sh -d"
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2653 $as_echo "$MKDIR_P" >&6; }
2655 for ac_prog in gawk mawk nawk awk
2657 # Extract the first word of "$ac_prog", so it can be a program name with args.
2658 set dummy $ac_prog; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if ${ac_cv_prog_AWK+:} false; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$AWK"; then
2665 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 ac_cv_prog_AWK="$ac_prog"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 if test -n "$AWK"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2687 $as_echo "$AWK" >&6; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2694 test -n "$AWK" && break
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2698 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2700 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2701 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 cat >conftest.make <<\_ACEOF
2707 @echo '@@@%%%=$(MAKE)=@@@%%%'
2709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2712 eval ac_cv_prog_make_${ac_make}_set=yes;;
2714 eval ac_cv_prog_make_${ac_make}_set=no;;
2718 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2720 $as_echo "yes" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2725 SET_MAKE="MAKE=${MAKE-make}"
2728 rm -rf .tst 2>/dev/null
2729 mkdir .tst 2>/dev/null
2730 if test -d .tst; then
2735 rmdir .tst 2>/dev/null
2737 # Check whether --enable-silent-rules was given.
2738 if test "${enable_silent_rules+set}" = set; then :
2739 enableval=$enable_silent_rules;
2742 case $enable_silent_rules in # (((
2743 yes) AM_DEFAULT_VERBOSITY=0;;
2744 no) AM_DEFAULT_VERBOSITY=1;;
2745 *) AM_DEFAULT_VERBOSITY=1;;
2747 am_make=${MAKE-make}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2749 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2750 if ${am_cv_make_support_nested_variables+:} false; then :
2751 $as_echo_n "(cached) " >&6
2753 if $as_echo 'TRUE=$(BAR$(V))
2759 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2760 am_cv_make_support_nested_variables=yes
2762 am_cv_make_support_nested_variables=no
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2766 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2767 if test $am_cv_make_support_nested_variables = yes; then
2769 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2771 AM_V=$AM_DEFAULT_VERBOSITY
2772 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2776 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2777 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2778 # is not polluted with repeated "-I."
2779 am__isrc=' -I$(srcdir)'
2780 # test to see if srcdir already configured
2781 if test -f $srcdir/config.status; then
2782 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2786 # test whether we have cygpath
2787 if test -z "$CYGPATH_W"; then
2788 if (cygpath --version) >/dev/null 2>/dev/null; then
2789 CYGPATH_W='cygpath -w'
2796 # Define the identity of the package.
2801 cat >>confdefs.h <<_ACEOF
2802 #define PACKAGE "$PACKAGE"
2806 cat >>confdefs.h <<_ACEOF
2807 #define VERSION "$VERSION"
2810 # Some tools Automake needs.
2812 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2815 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2818 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2821 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2824 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2826 # For better backward compatibility. To be removed once Automake 1.9.x
2827 # dies out for good. For more background, see:
2828 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2829 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2830 mkdir_p='$(MKDIR_P)'
2832 # We need awk for the "check" target. The system "awk" is bad on
2834 # Always define AMTAR for backward compatibility. Yes, it's still used
2835 # in the wild :-( We should find a proper way to deprecate it ...
2839 # We'll loop over all known methods to create a tar archive until one works.
2840 _am_tools='gnutar pax cpio none'
2842 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2849 # POSIX will say in a future version that running "rm -f" with no argument
2850 # is OK; and we want to be able to make that assumption in our Makefile
2851 # recipes. So use an aggressive probe to check that the usage we want is
2852 # actually supported "in the wild" to an acceptable degree.
2853 # See automake bug#10828.
2854 # To make any issue more visible, cause the running configure to be aborted
2855 # by default if the 'rm' program in use doesn't match our expectations; the
2856 # user can still override this though.
2857 if rm -f && rm -fr && rm -rf; then : OK; else
2861 Your 'rm' program seems unable to run without file operands specified
2862 on the command line, even when the '-f' option is present. This is contrary
2863 to the behaviour of most rm programs out there, and not conforming with
2864 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2866 Please tell bug-automake@gnu.org about your system, including the value
2867 of your $PATH and any error possibly output before this message. This
2868 can help us improve future automake versions.
2871 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2872 echo 'Configuration will proceed anyway, since you have set the' >&2
2873 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2877 Aborting the configuration process, to ensure you take notice of the issue.
2879 You can download and install GNU coreutils to get an 'rm' implementation
2880 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2882 If you want to complete the configuration process using your problematic
2883 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2884 to "yes", and re-run configure.
2887 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2892 ac_config_headers="$ac_config_headers config.h"
2898 # Checks for programs.
2900 ac_cpp='$CPP $CPPFLAGS'
2901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2904 if test -n "$ac_tool_prefix"; then
2905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2906 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if ${ac_cv_prog_CC+:} false; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$CC"; then
2913 ac_cv_prog_CC="$CC" # Let the user override the test.
2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir=.
2920 for ac_exec_ext in '' $ac_executable_extensions; do
2921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$CC"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2935 $as_echo "$CC" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2943 if test -z "$ac_cv_prog_CC"; then
2945 # Extract the first word of "gcc", so it can be a program name with args.
2946 set dummy gcc; ac_word=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$ac_ct_CC"; then
2953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir=.
2960 for ac_exec_ext in '' $ac_executable_extensions; do
2961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2962 ac_cv_prog_ac_ct_CC="gcc"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2973 if test -n "$ac_ct_CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2975 $as_echo "$ac_ct_CC" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2981 if test "x$ac_ct_CC" = x; then
2984 case $cross_compiling:$ac_tool_warned in
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2988 ac_tool_warned=yes ;;
2996 if test -z "$CC"; then
2997 if test -n "$ac_tool_prefix"; then
2998 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2999 set dummy ${ac_tool_prefix}cc; ac_word=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if ${ac_cv_prog_CC+:} false; then :
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$CC"; then
3006 ac_cv_prog_CC="$CC" # Let the user override the test.
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir=.
3013 for ac_exec_ext in '' $ac_executable_extensions; do
3014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015 ac_cv_prog_CC="${ac_tool_prefix}cc"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 if test -n "$CC"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3028 $as_echo "$CC" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3037 if test -z "$CC"; then
3038 # Extract the first word of "cc", so it can be a program name with args.
3039 set dummy cc; 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 ${ac_cv_prog_CC+:} false; 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.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3057 ac_prog_rejected=yes
3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test $ac_prog_rejected = yes; then
3069 # We found a bogon in the path, so make sure we never use it.
3070 set dummy $ac_cv_prog_CC
3072 if test $# != 0; then
3073 # We chose a different compiler from the bogus one.
3074 # However, it has the same basename, so the bogon will be chosen
3075 # first if we set CC to just the basename; use the full file name.
3077 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3083 if test -n "$CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085 $as_echo "$CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3093 if test -z "$CC"; then
3094 if test -n "$ac_tool_prefix"; then
3095 for ac_prog in cl.exe
3097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_CC+:} false; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$CC"; then
3105 ac_cv_prog_CC="$CC" # Let the user override the test.
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 if test -n "$CC"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3127 $as_echo "$CC" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3134 test -n "$CC" && break
3137 if test -z "$CC"; then
3139 for ac_prog in cl.exe
3141 # Extract the first word of "$ac_prog", so it can be a program name with args.
3142 set dummy $ac_prog; ac_word=$2
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144 $as_echo_n "checking for $ac_word... " >&6; }
3145 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 if test -n "$ac_ct_CC"; then
3149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3158 ac_cv_prog_ac_ct_CC="$ac_prog"
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3169 if test -n "$ac_ct_CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3171 $as_echo "$ac_ct_CC" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3178 test -n "$ac_ct_CC" && break
3181 if test "x$ac_ct_CC" = x; then
3184 case $cross_compiling:$ac_tool_warned in
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3188 ac_tool_warned=yes ;;
3197 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 as_fn_error $? "no acceptable C compiler found in \$PATH
3200 See \`config.log' for more details" "$LINENO" 5; }
3202 # Provide some information about the compiler.
3203 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3206 for ac_option in --version -v -V -qversion; do
3207 { { ac_try="$ac_compiler $ac_option >&5"
3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3216 if test -s conftest.err; then
3218 ... rest of stderr output deleted ...
3219 10q' conftest.err >conftest.er1
3220 cat conftest.er1 >&5
3222 rm -f conftest.er1 conftest.err
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3238 ac_clean_files_save=$ac_clean_files
3239 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3240 # Try to create an executable without -o first, disregard a.out.
3241 # It will help us diagnose broken compilers, and finding out an intuition
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3244 $as_echo_n "checking whether the C compiler works... " >&6; }
3245 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3247 # The possible output files:
3248 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3251 for ac_file in $ac_files
3254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3255 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3260 if { { ac_try="$ac_link_default"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267 (eval "$ac_link_default") 2>&5
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }; then :
3271 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3272 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3273 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3274 # so that the user can short-circuit this test for compilers unknown to
3276 for ac_file in $ac_files ''
3278 test -f "$ac_file" || continue
3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3283 # We found the default executable, but exeext='' is most
3287 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3289 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3291 # We set ac_cv_exeext here because the later test for it is not
3292 # safe: cross compilers may not add the suffix if given an `-o'
3293 # argument, so we may need to know it at that point already.
3294 # Even if this section looks crufty: it has the advantage of
3301 test "$ac_cv_exeext" = no && ac_cv_exeext=
3306 if test -z "$ac_file"; then :
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3309 $as_echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error 77 "C compiler cannot create executables
3315 See \`config.log' for more details" "$LINENO" 5; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3318 $as_echo "yes" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3321 $as_echo_n "checking for C compiler default output file name... " >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3323 $as_echo "$ac_file" >&6; }
3324 ac_exeext=$ac_cv_exeext
3326 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3327 ac_clean_files=$ac_clean_files_save
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3329 $as_echo_n "checking for suffix of executables... " >&6; }
3330 if { { ac_try="$ac_link"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_link") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }; then :
3341 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3342 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3343 # work properly (i.e., refer to `conftest.exe'), while it won't with
3345 for ac_file in conftest.exe conftest conftest.*; do
3346 test -f "$ac_file" || continue
3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3349 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 rm -f conftest conftest$ac_cv_exeext
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3362 $as_echo "$ac_cv_exeext" >&6; }
3364 rm -f conftest.$ac_ext
3365 EXEEXT=$ac_cv_exeext
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3373 FILE *f = fopen ("conftest.out", "w");
3374 return ferror (f) || fclose (f) != 0;
3380 ac_clean_files="$ac_clean_files conftest.out"
3381 # Check that the compiler produces executables we can run. If not, either
3382 # the compiler is broken, or we cross compile.
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3384 $as_echo_n "checking whether we are cross compiling... " >&6; }
3385 if test "$cross_compiling" != yes; then
3386 { { ac_try="$ac_link"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392 $as_echo "$ac_try_echo"; } >&5
3393 (eval "$ac_link") 2>&5
3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396 test $ac_status = 0; }
3397 if { ac_try='./conftest$ac_cv_exeext'
3398 { { case "(($ac_try" in
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403 $as_echo "$ac_try_echo"; } >&5
3404 (eval "$ac_try") 2>&5
3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407 test $ac_status = 0; }; }; then
3410 if test "$cross_compiling" = maybe; then
3413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415 as_fn_error $? "cannot run C compiled programs.
3416 If you meant to cross compile, use \`--host'.
3417 See \`config.log' for more details" "$LINENO" 5; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3422 $as_echo "$cross_compiling" >&6; }
3424 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3425 ac_clean_files=$ac_clean_files_save
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3427 $as_echo_n "checking for suffix of object files... " >&6; }
3428 if ${ac_cv_objext+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3442 rm -f conftest.o conftest.obj
3443 if { { ac_try="$ac_compile"
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_compile") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }; then :
3454 for ac_file in conftest.o conftest.obj conftest.*; do
3455 test -f "$ac_file" || continue;
3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3458 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3463 $as_echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468 as_fn_error $? "cannot compute suffix of object files: cannot compile
3469 See \`config.log' for more details" "$LINENO" 5; }
3471 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3474 $as_echo "$ac_cv_objext" >&6; }
3475 OBJEXT=$ac_cv_objext
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3478 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3479 if ${ac_cv_c_compiler_gnu+:} false; then :
3480 $as_echo_n "(cached) " >&6
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3496 if ac_fn_c_try_compile "$LINENO"; then :
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3506 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3507 if test $ac_compiler_gnu = yes; then
3512 ac_test_CFLAGS=${CFLAGS+set}
3513 ac_save_CFLAGS=$CFLAGS
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3515 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3516 if ${ac_cv_prog_cc_g+:} false; then :
3517 $as_echo_n "(cached) " >&6
3519 ac_save_c_werror_flag=$ac_c_werror_flag
3520 ac_c_werror_flag=yes
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3534 if ac_fn_c_try_compile "$LINENO"; then :
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3549 if ac_fn_c_try_compile "$LINENO"; then :
3552 ac_c_werror_flag=$ac_save_c_werror_flag
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile "$LINENO"; then :
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 ac_c_werror_flag=$ac_save_c_werror_flag
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3576 $as_echo "$ac_cv_prog_cc_g" >&6; }
3577 if test "$ac_test_CFLAGS" = set; then
3578 CFLAGS=$ac_save_CFLAGS
3579 elif test $ac_cv_prog_cc_g = yes; then
3580 if test "$GCC" = yes; then
3586 if test "$GCC" = yes; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3593 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3594 if ${ac_cv_prog_cc_c89+:} false; then :
3595 $as_echo_n "(cached) " >&6
3597 ac_cv_prog_cc_c89=no
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3604 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3605 struct buf { int x; };
3606 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3607 static char *e (p, i)
3613 static char *f (char * (*g) (char **, int), char **p, ...)
3618 s = g (p, va_arg (v,int));
3623 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3624 function prototypes and stuff, but not '\xHH' hex character constants.
3625 These don't provoke an error unfortunately, instead are silently treated
3626 as 'x'. The following induces an error, until -std is added to get
3627 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3628 array size at least. It's necessary to write '\x00'==0 to get something
3629 that's true only with -std. */
3630 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3632 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3633 inside strings and character constants. */
3635 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3637 int test (int i, double x);
3638 struct s1 {int (*f) (int a);};
3639 struct s2 {int (*f) (double a);};
3640 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3646 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3652 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3654 CC="$ac_save_CC $ac_arg"
3655 if ac_fn_c_try_compile "$LINENO"; then :
3656 ac_cv_prog_cc_c89=$ac_arg
3658 rm -f core conftest.err conftest.$ac_objext
3659 test "x$ac_cv_prog_cc_c89" != "xno" && break
3661 rm -f conftest.$ac_ext
3666 case "x$ac_cv_prog_cc_c89" in
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3669 $as_echo "none needed" >&6; } ;;
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3672 $as_echo "unsupported" >&6; } ;;
3674 CC="$CC $ac_cv_prog_cc_c89"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3676 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3678 if test "x$ac_cv_prog_cc_c89" != xno; then :
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3689 ac_cpp='$CPP $CPPFLAGS'
3690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3694 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3695 if ${am_cv_prog_cc_c_o+:} false; then :
3696 $as_echo_n "(cached) " >&6
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3709 # Make sure it works both with $CC and with simple cc.
3710 # Following AC_PROG_CC_C_O, we do the test twice because some
3711 # compilers refuse to overwrite an existing .o file with -o,
3712 # though they will create one.
3713 am_cv_prog_cc_c_o=yes
3715 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3716 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } \
3720 && test -f conftest2.$ac_objext; then
3723 am_cv_prog_cc_c_o=no
3727 rm -f core conftest*
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3731 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3732 if test "$am_cv_prog_cc_c_o" != yes; then
3733 # Losing compiler, so override with the script.
3734 # FIXME: It is wrong to rewrite CC.
3735 # But if we don't then we get into trouble of one sort or another.
3736 # A longer-term fix would be to have automake use am__CC in this case,
3737 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3738 CC="$am_aux_dir/compile $CC"
3741 ac_cpp='$CPP $CPPFLAGS'
3742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746 DEPDIR="${am__leading_dot}deps"
3748 ac_config_commands="$ac_config_commands depfiles"
3751 am_make=${MAKE-make}
3752 cat > confinc << 'END'
3754 @echo this is the am__doit target
3757 # If we don't find an include directive, just comment out the code.
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3759 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3763 # First try GNU make style include.
3764 echo "include confinc" > confmf
3765 # Ignore all kinds of additional output from 'make'.
3766 case `$am_make -s -f confmf 2> /dev/null` in #(
3767 *the\ am__doit\ target*)
3773 # Now try BSD make style include.
3774 if test "$am__include" = "#"; then
3775 echo '.include "confinc"' > confmf
3776 case `$am_make -s -f confmf 2> /dev/null` in #(
3777 *the\ am__doit\ target*)
3778 am__include=.include
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3787 $as_echo "$_am_result" >&6; }
3788 rm -f confinc confmf
3790 # Check whether --enable-dependency-tracking was given.
3791 if test "${enable_dependency_tracking+set}" = set; then :
3792 enableval=$enable_dependency_tracking;
3795 if test "x$enable_dependency_tracking" != xno; then
3796 am_depcomp="$ac_aux_dir/depcomp"
3800 if test "x$enable_dependency_tracking" != xno; then
3810 depcc="$CC" am_compiler_list=
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3813 $as_echo_n "checking dependency style of $depcc... " >&6; }
3814 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3818 # We make a subdir and do the tests there. Otherwise we can end up
3819 # making bogus files that we don't know about and never remove. For
3820 # instance it was reported that on HP-UX the gcc test will end up
3821 # making a dummy file named 'D' -- because '-MD' means "put the output
3825 # Copy depcomp to subdir because otherwise we won't find it if we're
3826 # using a relative directory.
3827 cp "$am_depcomp" conftest.dir
3829 # We will build objects and dependencies in a subdirectory because
3830 # it helps to detect inapplicable dependency modes. For instance
3831 # both Tru64's cc and ICC support -MD to output dependencies as a
3832 # side effect of compilation, but ICC will put the dependencies in
3833 # the current directory while Tru64 will put them in the object
3837 am_cv_CC_dependencies_compiler_type=none
3838 if test "$am_compiler_list" = ""; then
3839 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3842 case " $depcc " in #(
3843 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3846 for depmode in $am_compiler_list; do
3847 # Setup a source with many dependencies, because some compilers
3848 # like to wrap large dependency lists on column 80 (with \), and
3849 # we should not choose a depcomp mode which is confused by this.
3851 # We need to recreate these files for each test, as the compiler may
3852 # overwrite some of them when testing with obscure command lines.
3853 # This happens at least with the AIX C compiler.
3855 for i in 1 2 3 4 5 6; do
3856 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3857 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3858 # Solaris 10 /bin/sh.
3859 echo '/* dummy */' > sub/conftst$i.h
3861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3864 # mode. It turns out that the SunPro C++ compiler does not properly
3865 # handle '-M -o', and we need to detect this. Also, some Intel
3866 # versions had trouble with output in subdirs.
3867 am__obj=sub/conftest.${OBJEXT-o}
3868 am__minus_obj="-o $am__obj"
3871 # This depmode causes a compiler race in universal mode.
3872 test "$am__universal" = false || continue
3875 # After this tag, mechanisms are not by side-effect, so they'll
3876 # only be used when explicitly requested.
3877 if test "x$enable_dependency_tracking" = xyes; then
3883 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3884 # This compiler won't grok '-c -o', but also, the minuso test has
3885 # not run yet. These depmodes are late enough in the game, and
3886 # so weak that their functioning should not be impacted.
3887 am__obj=conftest.${OBJEXT-o}
3892 if depmode=$depmode \
3893 source=sub/conftest.c object=$am__obj \
3894 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3895 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3896 >/dev/null 2>conftest.err &&
3897 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3898 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3899 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3900 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3901 # icc doesn't choke on unknown options, it will just issue warnings
3902 # or remarks (even with -Werror). So we grep stderr for any message
3903 # that says an option was ignored or not supported.
3904 # When given -MP, icc 7.0 and 7.1 complain thusly:
3905 # icc: Command line warning: ignoring option '-M'; no argument required
3906 # The diagnosis changed in icc 8.0:
3907 # icc: Command line remark: option '-MP' not supported
3908 if (grep 'ignoring option' conftest.err ||
3909 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3910 am_cv_CC_dependencies_compiler_type=$depmode
3919 am_cv_CC_dependencies_compiler_type=none
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3924 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3925 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3928 test "x$enable_dependency_tracking" != xno \
3929 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3931 am__fastdepCC_FALSE='#'
3933 am__fastdepCC_TRUE='#'
3934 am__fastdepCC_FALSE=
3941 # Check whether --enable-largefile was given.
3942 if test "${enable_largefile+set}" = set; then :
3943 enableval=$enable_largefile;
3946 if test "$enable_largefile" != no; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3949 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3950 if ${ac_cv_sys_largefile_CC+:} false; then :
3951 $as_echo_n "(cached) " >&6
3953 ac_cv_sys_largefile_CC=no
3954 if test "$GCC" != yes; then
3957 # IRIX 6.2 and later do not support large files by default,
3958 # so use the C compiler's -n32 option if that helps.
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3961 #include <sys/types.h>
3962 /* Check that off_t can represent 2**63 - 1 correctly.
3963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3964 since some C++ compilers masquerading as C compilers
3965 incorrectly reject 9223372036854775807. */
3966 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3968 && LARGE_OFF_T % 2147483647 == 1)
3978 if ac_fn_c_try_compile "$LINENO"; then :
3981 rm -f core conftest.err conftest.$ac_objext
3983 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_cv_sys_largefile_CC=' -n32'; break
3986 rm -f core conftest.err conftest.$ac_objext
3990 rm -f conftest.$ac_ext
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3994 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3995 if test "$ac_cv_sys_largefile_CC" != no; then
3996 CC=$CC$ac_cv_sys_largefile_CC
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4000 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4001 if ${ac_cv_sys_file_offset_bits+:} false; then :
4002 $as_echo_n "(cached) " >&6
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 #include <sys/types.h>
4008 /* Check that off_t can represent 2**63 - 1 correctly.
4009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4010 since some C++ compilers masquerading as C compilers
4011 incorrectly reject 9223372036854775807. */
4012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4014 && LARGE_OFF_T % 2147483647 == 1)
4024 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_cv_sys_file_offset_bits=no; break
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4030 #define _FILE_OFFSET_BITS 64
4031 #include <sys/types.h>
4032 /* Check that off_t can represent 2**63 - 1 correctly.
4033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4034 since some C++ compilers masquerading as C compilers
4035 incorrectly reject 9223372036854775807. */
4036 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4038 && LARGE_OFF_T % 2147483647 == 1)
4048 if ac_fn_c_try_compile "$LINENO"; then :
4049 ac_cv_sys_file_offset_bits=64; break
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 ac_cv_sys_file_offset_bits=unknown
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4057 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4058 case $ac_cv_sys_file_offset_bits in #(
4061 cat >>confdefs.h <<_ACEOF
4062 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4067 if test $ac_cv_sys_file_offset_bits = unknown; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4069 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4070 if ${ac_cv_sys_large_files+:} false; then :
4071 $as_echo_n "(cached) " >&6
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4076 #include <sys/types.h>
4077 /* Check that off_t can represent 2**63 - 1 correctly.
4078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4079 since some C++ compilers masquerading as C compilers
4080 incorrectly reject 9223372036854775807. */
4081 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4083 && LARGE_OFF_T % 2147483647 == 1)
4093 if ac_fn_c_try_compile "$LINENO"; then :
4094 ac_cv_sys_large_files=no; break
4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4099 #define _LARGE_FILES 1
4100 #include <sys/types.h>
4101 /* Check that off_t can represent 2**63 - 1 correctly.
4102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4103 since some C++ compilers masquerading as C compilers
4104 incorrectly reject 9223372036854775807. */
4105 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4107 && LARGE_OFF_T % 2147483647 == 1)
4117 if ac_fn_c_try_compile "$LINENO"; then :
4118 ac_cv_sys_large_files=1; break
4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 ac_cv_sys_large_files=unknown
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4126 $as_echo "$ac_cv_sys_large_files" >&6; }
4127 case $ac_cv_sys_large_files in #(
4130 cat >>confdefs.h <<_ACEOF
4131 #define _LARGE_FILES $ac_cv_sys_large_files
4143 if test -n "$ac_tool_prefix"; then
4144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if ${ac_cv_prog_RANLIB+:} false; then :
4149 $as_echo_n "(cached) " >&6
4151 if test -n "$RANLIB"; then
4152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 RANLIB=$ac_cv_prog_RANLIB
4172 if test -n "$RANLIB"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4174 $as_echo "$RANLIB" >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4182 if test -z "$ac_cv_prog_RANLIB"; then
4183 ac_ct_RANLIB=$RANLIB
4184 # Extract the first word of "ranlib", so it can be a program name with args.
4185 set dummy ranlib; ac_word=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 if test -n "$ac_ct_RANLIB"; then
4192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_ac_ct_RANLIB="ranlib"
4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4212 if test -n "$ac_ct_RANLIB"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4214 $as_echo "$ac_ct_RANLIB" >&6; }
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4220 if test "x$ac_ct_RANLIB" = x; then
4223 case $cross_compiling:$ac_tool_warned in
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4227 ac_tool_warned=yes ;;
4229 RANLIB=$ac_ct_RANLIB
4232 RANLIB="$ac_cv_prog_RANLIB"
4235 if test -n "$ac_tool_prefix"; then
4236 for ac_prog in ar lib "link -lib"
4238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_AR+:} false; then :
4243 $as_echo_n "(cached) " >&6
4245 if test -n "$AR"; then
4246 ac_cv_prog_AR="$AR" # Let the user override the test.
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 if test -n "$AR"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4268 $as_echo "$AR" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4275 test -n "$AR" && break
4278 if test -z "$AR"; then
4280 for ac_prog in ar lib "link -lib"
4282 # Extract the first word of "$ac_prog", so it can be a program name with args.
4283 set dummy $ac_prog; ac_word=$2
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285 $as_echo_n "checking for $ac_word... " >&6; }
4286 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4287 $as_echo_n "(cached) " >&6
4289 if test -n "$ac_ct_AR"; then
4290 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir=.
4297 for ac_exec_ext in '' $ac_executable_extensions; do
4298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4299 ac_cv_prog_ac_ct_AR="$ac_prog"
4300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4310 if test -n "$ac_ct_AR"; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4312 $as_echo "$ac_ct_AR" >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4319 test -n "$ac_ct_AR" && break
4322 if test "x$ac_ct_AR" = x; then
4325 case $cross_compiling:$ac_tool_warned in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4329 ac_tool_warned=yes ;;
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4338 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4339 if ${am_cv_ar_interface+:} false; then :
4340 $as_echo_n "(cached) " >&6
4343 ac_cpp='$CPP $CPPFLAGS'
4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 am_cv_ar_interface=ar
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4351 int some_variable = 0;
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4355 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4356 (eval $am_ar_try) 2>&5
4358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4359 test $ac_status = 0; }
4360 if test "$ac_status" -eq 0; then
4361 am_cv_ar_interface=ar
4363 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4364 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4365 (eval $am_ar_try) 2>&5
4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4368 test $ac_status = 0; }
4369 if test "$ac_status" -eq 0; then
4370 am_cv_ar_interface=lib
4372 am_cv_ar_interface=unknown
4375 rm -f conftest.lib libconftest.a
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4387 $as_echo "$am_cv_ar_interface" >&6; }
4389 case $am_cv_ar_interface in
4393 # Microsoft lib, so override with the ar-lib wrapper script.
4394 # FIXME: It is wrong to rewrite AR.
4395 # But if we don't then we get into trouble of one sort or another.
4396 # A longer-term fix would be to have automake use am__AR in this case,
4397 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4399 AR="$am_aux_dir/ar-lib $AR"
4402 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4407 # Checks for header files.
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4414 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4415 # On Suns, sometimes $CPP names a directory.
4416 if test -n "$CPP" && test -d "$CPP"; then
4419 if test -z "$CPP"; then
4420 if ${ac_cv_prog_CPP+:} false; then :
4421 $as_echo_n "(cached) " >&6
4423 # Double quotes because CPP needs to be expanded
4424 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4427 for ac_c_preproc_warn_flag in '' yes
4429 # Use a header file that comes with gcc, so configuring glibc
4430 # with a fresh cross-compiler works.
4431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4432 # <limits.h> exists even on freestanding compilers.
4433 # On the NeXT, cc -E runs the code through the compiler's parser,
4434 # not just through cpp. "Syntax error" is here to catch this case.
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4438 # include <limits.h>
4440 # include <assert.h>
4444 if ac_fn_c_try_cpp "$LINENO"; then :
4447 # Broken: fails on valid input.
4450 rm -f conftest.err conftest.i conftest.$ac_ext
4452 # OK, works on sane cases. Now check whether nonexistent headers
4453 # can be detected and how.
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4456 #include <ac_nonexistent.h>
4458 if ac_fn_c_try_cpp "$LINENO"; then :
4459 # Broken: success on invalid input.
4462 # Passes both tests.
4466 rm -f conftest.err conftest.i conftest.$ac_ext
4469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4470 rm -f conftest.i conftest.err conftest.$ac_ext
4471 if $ac_preproc_ok; then :
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4484 $as_echo "$CPP" >&6; }
4486 for ac_c_preproc_warn_flag in '' yes
4488 # Use a header file that comes with gcc, so configuring glibc
4489 # with a fresh cross-compiler works.
4490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4491 # <limits.h> exists even on freestanding compilers.
4492 # On the NeXT, cc -E runs the code through the compiler's parser,
4493 # not just through cpp. "Syntax error" is here to catch this case.
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4497 # include <limits.h>
4499 # include <assert.h>
4503 if ac_fn_c_try_cpp "$LINENO"; then :
4506 # Broken: fails on valid input.
4509 rm -f conftest.err conftest.i conftest.$ac_ext
4511 # OK, works on sane cases. Now check whether nonexistent headers
4512 # can be detected and how.
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4515 #include <ac_nonexistent.h>
4517 if ac_fn_c_try_cpp "$LINENO"; then :
4518 # Broken: success on invalid input.
4521 # Passes both tests.
4525 rm -f conftest.err conftest.i conftest.$ac_ext
4528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4529 rm -f conftest.i conftest.err conftest.$ac_ext
4530 if $ac_preproc_ok; then :
4533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4535 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4536 See \`config.log' for more details" "$LINENO" 5; }
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4547 $as_echo_n "checking for X... " >&6; }
4550 # Check whether --with-x was given.
4551 if test "${with_x+set}" = set; then :
4555 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4556 if test "x$with_x" = xno; then
4557 # The user explicitly disabled X.
4560 case $x_includes,$x_libraries in #(
4561 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4562 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4563 $as_echo_n "(cached) " >&6
4565 # One or both of the vars are not set, and there is no cached value.
4566 ac_x_includes=no ac_x_libraries=no
4567 rm -f -r conftest.dir
4568 if mkdir conftest.dir; then
4570 cat >Imakefile <<'_ACEOF'
4572 @echo incroot='${INCROOT}'
4574 @echo usrlibdir='${USRLIBDIR}'
4576 @echo libdir='${LIBDIR}'
4578 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4580 for ac_var in incroot usrlibdir libdir; do
4581 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4583 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4584 for ac_extension in a so sl dylib la dll; do
4585 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4586 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4587 ac_im_usrlibdir=$ac_im_libdir; break
4590 # Screen out bogus values from the imake configuration. They are
4591 # bogus both because they are the default anyway, and because
4592 # using them would break gcc on systems where it needs fixed includes.
4593 case $ac_im_incroot in
4594 /usr/include) ac_x_includes= ;;
4595 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4597 case $ac_im_usrlibdir in
4598 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4599 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4603 rm -f -r conftest.dir
4606 # Standard set of common directories for X headers.
4607 # Check X11 before X11Rn because it is often a symlink to the current release.
4621 /usr/local/X11/include
4622 /usr/local/X11R7/include
4623 /usr/local/X11R6/include
4624 /usr/local/X11R5/include
4625 /usr/local/X11R4/include
4627 /usr/local/include/X11
4628 /usr/local/include/X11R7
4629 /usr/local/include/X11R6
4630 /usr/local/include/X11R5
4631 /usr/local/include/X11R4
4635 /usr/XFree86/include/X11
4639 /usr/unsupported/include
4641 /usr/local/x11r5/include
4642 /usr/lpp/Xamples/include
4644 /usr/openwin/include
4645 /usr/openwin/share/include'
4647 if test "$ac_x_includes" = no; then
4648 # Guess where to find include files, by looking for Xlib.h.
4649 # First, try using that file with no special directory specified.
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4652 #include <X11/Xlib.h>
4654 if ac_fn_c_try_cpp "$LINENO"; then :
4655 # We can compile using X headers with no special include directory.
4658 for ac_dir in $ac_x_header_dirs; do
4659 if test -r "$ac_dir/X11/Xlib.h"; then
4660 ac_x_includes=$ac_dir
4665 rm -f conftest.err conftest.i conftest.$ac_ext
4666 fi # $ac_x_includes = no
4668 if test "$ac_x_libraries" = no; then
4669 # Check for the libraries.
4670 # See if we find them without any special options.
4671 # Don't add to $LIBS permanently.
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4676 #include <X11/Xlib.h>
4685 if ac_fn_c_try_link "$LINENO"; then :
4687 # We can link X programs with no special library path.
4691 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4693 # Don't even attempt the hair of trying to link an X program!
4694 for ac_extension in a so sl dylib la dll; do
4695 if test -r "$ac_dir/libX11.$ac_extension"; then
4696 ac_x_libraries=$ac_dir
4702 rm -f core conftest.err conftest.$ac_objext \
4703 conftest$ac_exeext conftest.$ac_ext
4704 fi # $ac_x_libraries = no
4706 case $ac_x_includes,$ac_x_libraries in #(
4708 # Didn't find X, or a directory has "'" in its name.
4709 ac_cv_have_x="have_x=no";; #(
4711 # Record where we found X for the cache.
4712 ac_cv_have_x="have_x=yes\
4713 ac_x_includes='$ac_x_includes'\
4714 ac_x_libraries='$ac_x_libraries'"
4720 eval "$ac_cv_have_x"
4723 if test "$have_x" != yes; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4725 $as_echo "$have_x" >&6; }
4728 # If each of the values was on the command line, it overrides each guess.
4729 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4730 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4731 # Update the cache value to reflect the command line values.
4732 ac_cv_have_x="have_x=yes\
4733 ac_x_includes='$x_includes'\
4734 ac_x_libraries='$x_libraries'"
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4736 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4740 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4741 if ${ac_cv_path_GREP+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 if test -z "$GREP"; then
4745 ac_path_GREP_found=false
4746 # Loop through the user's path and test for each of PROGNAME-LIST
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4751 test -z "$as_dir" && as_dir=.
4752 for ac_prog in grep ggrep; do
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4755 as_fn_executable_p "$ac_path_GREP" || continue
4756 # Check for GNU ac_path_GREP and select it if it is found.
4757 # Check for GNU $ac_path_GREP
4758 case `"$ac_path_GREP" --version 2>&1` in
4760 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4763 $as_echo_n 0123456789 >"conftest.in"
4766 cat "conftest.in" "conftest.in" >"conftest.tmp"
4767 mv "conftest.tmp" "conftest.in"
4768 cp "conftest.in" "conftest.nl"
4769 $as_echo 'GREP' >> "conftest.nl"
4770 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4771 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4772 as_fn_arith $ac_count + 1 && ac_count=$as_val
4773 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4774 # Best one so far, save it but keep looking for a better one
4775 ac_cv_path_GREP="$ac_path_GREP"
4776 ac_path_GREP_max=$ac_count
4778 # 10*(2^10) chars as input seems more than enough
4779 test $ac_count -gt 10 && break
4781 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4784 $ac_path_GREP_found && break 3
4789 if test -z "$ac_cv_path_GREP"; then
4790 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4793 ac_cv_path_GREP=$GREP
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4798 $as_echo "$ac_cv_path_GREP" >&6; }
4799 GREP="$ac_cv_path_GREP"
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4803 $as_echo_n "checking for egrep... " >&6; }
4804 if ${ac_cv_path_EGREP+:} false; then :
4805 $as_echo_n "(cached) " >&6
4807 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4808 then ac_cv_path_EGREP="$GREP -E"
4810 if test -z "$EGREP"; then
4811 ac_path_EGREP_found=false
4812 # Loop through the user's path and test for each of PROGNAME-LIST
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4817 test -z "$as_dir" && as_dir=.
4818 for ac_prog in egrep; do
4819 for ac_exec_ext in '' $ac_executable_extensions; do
4820 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4821 as_fn_executable_p "$ac_path_EGREP" || continue
4822 # Check for GNU ac_path_EGREP and select it if it is found.
4823 # Check for GNU $ac_path_EGREP
4824 case `"$ac_path_EGREP" --version 2>&1` in
4826 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4829 $as_echo_n 0123456789 >"conftest.in"
4832 cat "conftest.in" "conftest.in" >"conftest.tmp"
4833 mv "conftest.tmp" "conftest.in"
4834 cp "conftest.in" "conftest.nl"
4835 $as_echo 'EGREP' >> "conftest.nl"
4836 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4837 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4838 as_fn_arith $ac_count + 1 && ac_count=$as_val
4839 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4840 # Best one so far, save it but keep looking for a better one
4841 ac_cv_path_EGREP="$ac_path_EGREP"
4842 ac_path_EGREP_max=$ac_count
4844 # 10*(2^10) chars as input seems more than enough
4845 test $ac_count -gt 10 && break
4847 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4850 $ac_path_EGREP_found && break 3
4855 if test -z "$ac_cv_path_EGREP"; then
4856 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4859 ac_cv_path_EGREP=$EGREP
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4865 $as_echo "$ac_cv_path_EGREP" >&6; }
4866 EGREP="$ac_cv_path_EGREP"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4870 $as_echo_n "checking for ANSI C header files... " >&6; }
4871 if ${ac_cv_header_stdc+:} false; then :
4872 $as_echo_n "(cached) " >&6
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4889 if ac_fn_c_try_compile "$LINENO"; then :
4890 ac_cv_header_stdc=yes
4892 ac_cv_header_stdc=no
4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896 if test $ac_cv_header_stdc = yes; then
4897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4904 $EGREP "memchr" >/dev/null 2>&1; then :
4907 ac_cv_header_stdc=no
4913 if test $ac_cv_header_stdc = yes; then
4914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4921 $EGREP "free" >/dev/null 2>&1; then :
4924 ac_cv_header_stdc=no
4930 if test $ac_cv_header_stdc = yes; then
4931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4932 if test "$cross_compiling" = yes; then :
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 #if ((' ' & 0x0FF) == 0x020)
4940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4943 # define ISLOWER(c) \
4944 (('a' <= (c) && (c) <= 'i') \
4945 || ('j' <= (c) && (c) <= 'r') \
4946 || ('s' <= (c) && (c) <= 'z'))
4947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4955 for (i = 0; i < 256; i++)
4956 if (XOR (islower (i), ISLOWER (i))
4957 || toupper (i) != TOUPPER (i))
4962 if ac_fn_c_try_run "$LINENO"; then :
4965 ac_cv_header_stdc=no
4967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4968 conftest.$ac_objext conftest.beam conftest.$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4974 $as_echo "$ac_cv_header_stdc" >&6; }
4975 if test $ac_cv_header_stdc = yes; then
4977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4983 inttypes.h stdint.h unistd.h
4985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4988 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4989 cat >>confdefs.h <<_ACEOF
4990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4998 for ac_header in stdbool.h
5000 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
5001 if test "x$ac_cv_header_stdbool_h" = xyes; then :
5002 cat >>confdefs.h <<_ACEOF
5003 #define HAVE_STDBOOL_H 1
5015 [\\/$]* | ?:[\\/]*) ;;
5016 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5021 $as_echo_n "checking whether NLS is requested... " >&6; }
5022 # Check whether --enable-nls was given.
5023 if test "${enable_nls+set}" = set; then :
5024 enableval=$enable_nls; USE_NLS=$enableval
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5030 $as_echo "$USE_NLS" >&6; }
5037 # Prepare PATH_SEPARATOR.
5038 # The user is always right.
5039 if test "${PATH_SEPARATOR+set}" != set; then
5040 echo "#! /bin/sh" >conf$$.sh
5041 echo "exit 0" >>conf$$.sh
5043 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5051 # Find out how to test for executable files. Don't use a zero-byte file,
5052 # as systems may use methods other than mode bits to determine executability.
5053 cat >conf$$.file <<_ASEOF
5057 chmod +x conf$$.file
5058 if test -x conf$$.file >/dev/null 2>&1; then
5059 ac_executable_p="test -x"
5061 ac_executable_p="test -f"
5065 # Extract the first word of "msgfmt", so it can be a program name with args.
5066 set dummy msgfmt; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_path_MSGFMT+:} false; then :
5070 $as_echo_n "(cached) " >&6
5074 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5077 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5078 for ac_dir in $PATH; do
5080 test -z "$ac_dir" && ac_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5083 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5084 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5085 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5086 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5093 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5097 MSGFMT="$ac_cv_path_MSGFMT"
5098 if test "$MSGFMT" != ":"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5100 $as_echo "$MSGFMT" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5106 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5107 set dummy gmsgfmt; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_path_GMSGFMT+:} false; then :
5111 $as_echo_n "(cached) " >&6
5115 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5137 GMSGFMT=$ac_cv_path_GMSGFMT
5138 if test -n "$GMSGFMT"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5140 $as_echo "$GMSGFMT" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5148 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5149 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5150 *) MSGFMT_015=$MSGFMT ;;
5153 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5154 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5155 *) GMSGFMT_015=$GMSGFMT ;;
5160 # Prepare PATH_SEPARATOR.
5161 # The user is always right.
5162 if test "${PATH_SEPARATOR+set}" != set; then
5163 echo "#! /bin/sh" >conf$$.sh
5164 echo "exit 0" >>conf$$.sh
5166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5174 # Find out how to test for executable files. Don't use a zero-byte file,
5175 # as systems may use methods other than mode bits to determine executability.
5176 cat >conf$$.file <<_ASEOF
5180 chmod +x conf$$.file
5181 if test -x conf$$.file >/dev/null 2>&1; then
5182 ac_executable_p="test -x"
5184 ac_executable_p="test -f"
5188 # Extract the first word of "xgettext", so it can be a program name with args.
5189 set dummy xgettext; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_path_XGETTEXT+:} false; then :
5193 $as_echo_n "(cached) " >&6
5197 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5200 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5201 for ac_dir in $PATH; do
5203 test -z "$ac_dir" && ac_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5206 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5207 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5208 (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
5209 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5216 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5220 XGETTEXT="$ac_cv_path_XGETTEXT"
5221 if test "$XGETTEXT" != ":"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5223 $as_echo "$XGETTEXT" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5231 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5232 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5233 *) XGETTEXT_015=$XGETTEXT ;;
5238 # Prepare PATH_SEPARATOR.
5239 # The user is always right.
5240 if test "${PATH_SEPARATOR+set}" != set; then
5241 echo "#! /bin/sh" >conf$$.sh
5242 echo "exit 0" >>conf$$.sh
5244 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5252 # Find out how to test for executable files. Don't use a zero-byte file,
5253 # as systems may use methods other than mode bits to determine executability.
5254 cat >conf$$.file <<_ASEOF
5258 chmod +x conf$$.file
5259 if test -x conf$$.file >/dev/null 2>&1; then
5260 ac_executable_p="test -x"
5262 ac_executable_p="test -f"
5266 # Extract the first word of "msgmerge", so it can be a program name with args.
5267 set dummy msgmerge; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_path_MSGMERGE+:} false; then :
5271 $as_echo_n "(cached) " >&6
5275 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5278 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5279 for ac_dir in $PATH; do
5281 test -z "$ac_dir" && ac_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5284 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5285 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5286 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5293 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5297 MSGMERGE="$ac_cv_path_MSGMERGE"
5298 if test "$MSGMERGE" != ":"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5300 $as_echo "$MSGMERGE" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5307 test -n "$localedir" || localedir='${datadir}/locale'
5310 ac_config_commands="$ac_config_commands po-directories"
5314 if test "X$prefix" = "XNONE"; then
5315 acl_final_prefix="$ac_default_prefix"
5317 acl_final_prefix="$prefix"
5319 if test "X$exec_prefix" = "XNONE"; then
5320 acl_final_exec_prefix='${prefix}'
5322 acl_final_exec_prefix="$exec_prefix"
5324 acl_save_prefix="$prefix"
5325 prefix="$acl_final_prefix"
5326 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5327 prefix="$acl_save_prefix"
5329 # Make sure we can run config.sub.
5330 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5331 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5334 $as_echo_n "checking build system type... " >&6; }
5335 if ${ac_cv_build+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 ac_build_alias=$build_alias
5339 test "x$ac_build_alias" = x &&
5340 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5341 test "x$ac_build_alias" = x &&
5342 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5343 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5344 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5348 $as_echo "$ac_cv_build" >&6; }
5349 case $ac_cv_build in
5351 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5354 ac_save_IFS=$IFS; IFS='-'
5360 # Remember, the first character of IFS is used to create $*,
5361 # except with old shells:
5364 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5368 $as_echo_n "checking host system type... " >&6; }
5369 if ${ac_cv_host+:} false; then :
5370 $as_echo_n "(cached) " >&6
5372 if test "x$host_alias" = x; then
5373 ac_cv_host=$ac_cv_build
5375 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5376 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5381 $as_echo "$ac_cv_host" >&6; }
5384 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5387 ac_save_IFS=$IFS; IFS='-'
5393 # Remember, the first character of IFS is used to create $*,
5394 # except with old shells:
5397 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5401 # Check whether --with-gnu-ld was given.
5402 if test "${with_gnu_ld+set}" = set; then :
5403 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5408 # Prepare PATH_SEPARATOR.
5409 # The user is always right.
5410 if test "${PATH_SEPARATOR+set}" != set; then
5411 echo "#! /bin/sh" >conf$$.sh
5412 echo "exit 0" >>conf$$.sh
5414 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5422 if test "$GCC" = yes; then
5423 # Check if gcc -print-prog-name=ld gives a path.
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5425 $as_echo_n "checking for ld used by GCC... " >&6; }
5428 # gcc leaves a trailing carriage return which upsets mingw
5429 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5431 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5434 # Accept absolute paths.
5435 [\\/]* | [A-Za-z]:[\\/]*)
5436 re_direlt='/[^/][^/]*/\.\./'
5437 # Canonicalize the path of ld
5438 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5439 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5440 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5442 test -z "$LD" && LD="$ac_prog"
5445 # If it fails, then pretend we aren't using GCC.
5449 # If it is relative, then search for the first ld in PATH.
5453 elif test "$with_gnu_ld" = yes; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5455 $as_echo_n "checking for GNU ld... " >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5458 $as_echo_n "checking for non-GNU ld... " >&6; }
5460 if ${acl_cv_path_LD+:} false; then :
5461 $as_echo_n "(cached) " >&6
5463 if test -z "$LD"; then
5464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5465 for ac_dir in $PATH; do
5466 test -z "$ac_dir" && ac_dir=.
5467 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5468 acl_cv_path_LD="$ac_dir/$ac_prog"
5469 # Check to see if the program is GNU ld. I'd rather use --version,
5470 # but apparently some GNU ld's only accept -v.
5471 # Break only if it was the GNU/non-GNU ld that we prefer.
5472 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5473 *GNU* | *'with BFD'*)
5474 test "$with_gnu_ld" != no && break ;;
5476 test "$with_gnu_ld" != yes && break ;;
5482 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5486 LD="$acl_cv_path_LD"
5487 if test -n "$LD"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5489 $as_echo "$LD" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5494 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5496 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5497 if ${acl_cv_prog_gnu_ld+:} false; then :
5498 $as_echo_n "(cached) " >&6
5500 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5501 case `$LD -v 2>&1 </dev/null` in
5502 *GNU* | *'with BFD'*)
5503 acl_cv_prog_gnu_ld=yes ;;
5505 acl_cv_prog_gnu_ld=no ;;
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5509 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5510 with_gnu_ld=$acl_cv_prog_gnu_ld
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5516 $as_echo_n "checking for shared library run path origin... " >&6; }
5517 if ${acl_cv_rpath+:} false; then :
5518 $as_echo_n "(cached) " >&6
5521 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5522 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5529 $as_echo "$acl_cv_rpath" >&6; }
5531 libext="$acl_cv_libext"
5532 shlibext="$acl_cv_shlibext"
5533 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5534 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5535 hardcode_direct="$acl_cv_hardcode_direct"
5536 hardcode_minus_L="$acl_cv_hardcode_minus_L"
5537 # Check whether --enable-rpath was given.
5538 if test "${enable_rpath+set}" = set; then :
5539 enableval=$enable_rpath; :
5547 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5548 if test -n "$searchpath"; then
5549 acl_save_IFS="${IFS= }"; IFS=":"
5550 for searchdir in $searchpath; do
5551 if test -d "$searchdir"; then
5552 case "$searchdir" in
5553 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5554 *) searchdir=`cd "$searchdir" && pwd`
5555 case "$searchdir" in
5556 */lib64 ) acl_libdirstem=lib64 ;;
5573 acl_save_prefix="$prefix"
5574 prefix="$acl_final_prefix"
5575 acl_save_exec_prefix="$exec_prefix"
5576 exec_prefix="$acl_final_exec_prefix"
5578 eval additional_includedir=\"$includedir\"
5579 eval additional_libdir=\"$libdir\"
5581 exec_prefix="$acl_save_exec_prefix"
5582 prefix="$acl_save_prefix"
5585 # Check whether --with-libiconv-prefix was given.
5586 if test "${with_libiconv_prefix+set}" = set; then :
5587 withval=$with_libiconv_prefix;
5588 if test "X$withval" = "Xno"; then
5591 if test "X$withval" = "X"; then
5593 acl_save_prefix="$prefix"
5594 prefix="$acl_final_prefix"
5595 acl_save_exec_prefix="$exec_prefix"
5596 exec_prefix="$acl_final_exec_prefix"
5598 eval additional_includedir=\"$includedir\"
5599 eval additional_libdir=\"$libdir\"
5601 exec_prefix="$acl_save_exec_prefix"
5602 prefix="$acl_save_prefix"
5605 additional_includedir="$withval/include"
5606 additional_libdir="$withval/$acl_libdirstem"
5617 names_already_handled=
5618 names_next_round='iconv '
5619 while test -n "$names_next_round"; do
5620 names_this_round="$names_next_round"
5622 for name in $names_this_round; do
5624 for n in $names_already_handled; do
5625 if test "$n" = "$name"; then
5630 if test -z "$already_handled"; then
5631 names_already_handled="$names_already_handled $name"
5632 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5633 eval value=\"\$HAVE_LIB$uppername\"
5634 if test -n "$value"; then
5635 if test "$value" = yes; then
5636 eval value=\"\$LIB$uppername\"
5637 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5638 eval value=\"\$LTLIB$uppername\"
5639 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5648 if test $use_additional = yes; then
5649 if test -n "$shlibext" \
5650 && { test -f "$additional_libdir/lib$name.$shlibext" \
5651 || { test "$shlibext" = dll \
5652 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
5653 found_dir="$additional_libdir"
5654 if test -f "$additional_libdir/lib$name.$shlibext"; then
5655 found_so="$additional_libdir/lib$name.$shlibext"
5657 found_so="$additional_libdir/lib$name.dll.a"
5659 if test -f "$additional_libdir/lib$name.la"; then
5660 found_la="$additional_libdir/lib$name.la"
5663 if test -f "$additional_libdir/lib$name.$libext"; then
5664 found_dir="$additional_libdir"
5665 found_a="$additional_libdir/lib$name.$libext"
5666 if test -f "$additional_libdir/lib$name.la"; then
5667 found_la="$additional_libdir/lib$name.la"
5672 if test "X$found_dir" = "X"; then
5673 for x in $LDFLAGS $LTLIBICONV; do
5675 acl_save_prefix="$prefix"
5676 prefix="$acl_final_prefix"
5677 acl_save_exec_prefix="$exec_prefix"
5678 exec_prefix="$acl_final_exec_prefix"
5680 exec_prefix="$acl_save_exec_prefix"
5681 prefix="$acl_save_prefix"
5685 dir=`echo "X$x" | sed -e 's/^X-L//'`
5686 if test -n "$shlibext" \
5687 && { test -f "$dir/lib$name.$shlibext" \
5688 || { test "$shlibext" = dll \
5689 && test -f "$dir/lib$name.dll.a"; }; }; then
5691 if test -f "$dir/lib$name.$shlibext"; then
5692 found_so="$dir/lib$name.$shlibext"
5694 found_so="$dir/lib$name.dll.a"
5696 if test -f "$dir/lib$name.la"; then
5697 found_la="$dir/lib$name.la"
5700 if test -f "$dir/lib$name.$libext"; then
5702 found_a="$dir/lib$name.$libext"
5703 if test -f "$dir/lib$name.la"; then
5704 found_la="$dir/lib$name.la"
5710 if test "X$found_dir" != "X"; then
5715 if test "X$found_dir" != "X"; then
5716 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5717 if test "X$found_so" != "X"; then
5718 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5719 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5722 for x in $ltrpathdirs; do
5723 if test "X$x" = "X$found_dir"; then
5728 if test -z "$haveit"; then
5729 ltrpathdirs="$ltrpathdirs $found_dir"
5731 if test "$hardcode_direct" = yes; then
5732 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5734 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5735 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5737 for x in $rpathdirs; do
5738 if test "X$x" = "X$found_dir"; then
5743 if test -z "$haveit"; then
5744 rpathdirs="$rpathdirs $found_dir"
5748 for x in $LDFLAGS $LIBICONV; do
5750 acl_save_prefix="$prefix"
5751 prefix="$acl_final_prefix"
5752 acl_save_exec_prefix="$exec_prefix"
5753 exec_prefix="$acl_final_exec_prefix"
5755 exec_prefix="$acl_save_exec_prefix"
5756 prefix="$acl_save_prefix"
5758 if test "X$x" = "X-L$found_dir"; then
5763 if test -z "$haveit"; then
5764 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5766 if test "$hardcode_minus_L" != no; then
5767 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5769 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5775 if test "X$found_a" != "X"; then
5776 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5778 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5781 additional_includedir=
5782 case "$found_dir" in
5783 */$acl_libdirstem | */$acl_libdirstem/)
5784 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5785 additional_includedir="$basedir/include"
5788 if test "X$additional_includedir" != "X"; then
5789 if test "X$additional_includedir" != "X/usr/include"; then
5791 if test "X$additional_includedir" = "X/usr/local/include"; then
5792 if test -n "$GCC"; then
5794 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5798 if test -z "$haveit"; then
5799 for x in $CPPFLAGS $INCICONV; do
5801 acl_save_prefix="$prefix"
5802 prefix="$acl_final_prefix"
5803 acl_save_exec_prefix="$exec_prefix"
5804 exec_prefix="$acl_final_exec_prefix"
5806 exec_prefix="$acl_save_exec_prefix"
5807 prefix="$acl_save_prefix"
5809 if test "X$x" = "X-I$additional_includedir"; then
5814 if test -z "$haveit"; then
5815 if test -d "$additional_includedir"; then
5816 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5822 if test -n "$found_la"; then
5823 save_libdir="$libdir"
5825 */* | *\\*) . "$found_la" ;;
5826 *) . "./$found_la" ;;
5828 libdir="$save_libdir"
5829 for dep in $dependency_libs; do
5832 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5833 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5835 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5836 if test -n "$GCC"; then
5838 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5842 if test -z "$haveit"; then
5844 for x in $LDFLAGS $LIBICONV; do
5846 acl_save_prefix="$prefix"
5847 prefix="$acl_final_prefix"
5848 acl_save_exec_prefix="$exec_prefix"
5849 exec_prefix="$acl_final_exec_prefix"
5851 exec_prefix="$acl_save_exec_prefix"
5852 prefix="$acl_save_prefix"
5854 if test "X$x" = "X-L$additional_libdir"; then
5859 if test -z "$haveit"; then
5860 if test -d "$additional_libdir"; then
5861 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5865 for x in $LDFLAGS $LTLIBICONV; do
5867 acl_save_prefix="$prefix"
5868 prefix="$acl_final_prefix"
5869 acl_save_exec_prefix="$exec_prefix"
5870 exec_prefix="$acl_final_exec_prefix"
5872 exec_prefix="$acl_save_exec_prefix"
5873 prefix="$acl_save_prefix"
5875 if test "X$x" = "X-L$additional_libdir"; then
5880 if test -z "$haveit"; then
5881 if test -d "$additional_libdir"; then
5882 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5889 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5890 if test "$enable_rpath" != no; then
5892 for x in $rpathdirs; do
5893 if test "X$x" = "X$dir"; then
5898 if test -z "$haveit"; then
5899 rpathdirs="$rpathdirs $dir"
5902 for x in $ltrpathdirs; do
5903 if test "X$x" = "X$dir"; then
5908 if test -z "$haveit"; then
5909 ltrpathdirs="$ltrpathdirs $dir"
5914 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5917 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5920 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5921 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5927 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5928 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5934 if test "X$rpathdirs" != "X"; then
5935 if test -n "$hardcode_libdir_separator"; then
5937 for found_dir in $rpathdirs; do
5938 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5940 acl_save_libdir="$libdir"
5942 eval flag=\"$hardcode_libdir_flag_spec\"
5943 libdir="$acl_save_libdir"
5944 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5946 for found_dir in $rpathdirs; do
5947 acl_save_libdir="$libdir"
5949 eval flag=\"$hardcode_libdir_flag_spec\"
5950 libdir="$acl_save_libdir"
5951 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5955 if test "X$ltrpathdirs" != "X"; then
5956 for found_dir in $ltrpathdirs; do
5957 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5986 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5987 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5988 $as_echo_n "(cached) " >&6
5990 gt_save_LIBS="$LIBS"
5991 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include <CoreFoundation/CFPreferences.h>
5998 CFPreferencesCopyAppValue(NULL, NULL)
6003 if ac_fn_c_try_link "$LINENO"; then :
6004 gt_cv_func_CFPreferencesCopyAppValue=yes
6006 gt_cv_func_CFPreferencesCopyAppValue=no
6008 rm -f core conftest.err conftest.$ac_objext \
6009 conftest$ac_exeext conftest.$ac_ext
6010 LIBS="$gt_save_LIBS"
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6013 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6014 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6016 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6020 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6021 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6022 $as_echo_n "(cached) " >&6
6024 gt_save_LIBS="$LIBS"
6025 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6027 /* end confdefs.h. */
6028 #include <CoreFoundation/CFLocale.h>
6032 CFLocaleCopyCurrent();
6037 if ac_fn_c_try_link "$LINENO"; then :
6038 gt_cv_func_CFLocaleCopyCurrent=yes
6040 gt_cv_func_CFLocaleCopyCurrent=no
6042 rm -f core conftest.err conftest.$ac_objext \
6043 conftest$ac_exeext conftest.$ac_ext
6044 LIBS="$gt_save_LIBS"
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6047 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6048 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6050 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6054 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6055 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6067 case " $gt_needs " in
6068 *" need-formatstring-macros "*) gt_api_version=3 ;;
6069 *" need-ngettext "*) gt_api_version=2 ;;
6070 *) gt_api_version=1 ;;
6072 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6073 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6075 if test "$USE_NLS" = "yes"; then
6076 gt_use_preinstalled_gnugettext=no
6079 if test $gt_api_version -ge 3; then
6080 gt_revision_test_code='[
6081 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6082 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6084 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6087 gt_revision_test_code=
6089 if test $gt_api_version -ge 2; then
6090 gt_expression_test_code=' + * ngettext ("", "", 0)'
6092 gt_expression_test_code=
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6096 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6097 if eval \${$gt_func_gnugettext_libc+:} false; then :
6098 $as_echo_n "(cached) " >&6
6100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6102 #include <libintl.h>
6103 $gt_revision_test_code
6104 extern int _nl_msg_cat_cntr;
6105 extern int *_nl_domain_bindings;
6109 bindtextdomain ("", "");
6110 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6115 if ac_fn_c_try_link "$LINENO"; then :
6116 eval "$gt_func_gnugettext_libc=yes"
6118 eval "$gt_func_gnugettext_libc=no"
6120 rm -f core conftest.err conftest.$ac_objext \
6121 conftest$ac_exeext conftest.$ac_ext
6123 eval ac_res=\$$gt_func_gnugettext_libc
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6125 $as_echo "$ac_res" >&6; }
6127 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6133 am_save_CPPFLAGS="$CPPFLAGS"
6135 for element in $INCICONV; do
6137 for x in $CPPFLAGS; do
6139 acl_save_prefix="$prefix"
6140 prefix="$acl_final_prefix"
6141 acl_save_exec_prefix="$exec_prefix"
6142 exec_prefix="$acl_final_exec_prefix"
6144 exec_prefix="$acl_save_exec_prefix"
6145 prefix="$acl_save_prefix"
6147 if test "X$x" = "X$element"; then
6152 if test -z "$haveit"; then
6153 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6159 $as_echo_n "checking for iconv... " >&6; }
6160 if ${am_cv_func_iconv+:} false; then :
6161 $as_echo_n "(cached) " >&6
6164 am_cv_func_iconv="no, consider installing GNU libiconv"
6166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6173 iconv_t cd = iconv_open("","");
6174 iconv(cd,NULL,NULL,NULL,NULL);
6180 if ac_fn_c_try_link "$LINENO"; then :
6181 am_cv_func_iconv=yes
6183 rm -f core conftest.err conftest.$ac_objext \
6184 conftest$ac_exeext conftest.$ac_ext
6185 if test "$am_cv_func_iconv" != yes; then
6186 am_save_LIBS="$LIBS"
6187 LIBS="$LIBS $LIBICONV"
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6195 iconv_t cd = iconv_open("","");
6196 iconv(cd,NULL,NULL,NULL,NULL);
6202 if ac_fn_c_try_link "$LINENO"; then :
6204 am_cv_func_iconv=yes
6206 rm -f core conftest.err conftest.$ac_objext \
6207 conftest$ac_exeext conftest.$ac_ext
6208 LIBS="$am_save_LIBS"
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6213 $as_echo "$am_cv_func_iconv" >&6; }
6214 if test "$am_cv_func_iconv" = yes; then
6216 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6219 if test "$am_cv_lib_iconv" = yes; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6221 $as_echo_n "checking how to link with libiconv... " >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6223 $as_echo "$LIBICONV" >&6; }
6225 CPPFLAGS="$am_save_CPPFLAGS"
6238 acl_save_prefix="$prefix"
6239 prefix="$acl_final_prefix"
6240 acl_save_exec_prefix="$exec_prefix"
6241 exec_prefix="$acl_final_exec_prefix"
6243 eval additional_includedir=\"$includedir\"
6244 eval additional_libdir=\"$libdir\"
6246 exec_prefix="$acl_save_exec_prefix"
6247 prefix="$acl_save_prefix"
6250 # Check whether --with-libintl-prefix was given.
6251 if test "${with_libintl_prefix+set}" = set; then :
6252 withval=$with_libintl_prefix;
6253 if test "X$withval" = "Xno"; then
6256 if test "X$withval" = "X"; then
6258 acl_save_prefix="$prefix"
6259 prefix="$acl_final_prefix"
6260 acl_save_exec_prefix="$exec_prefix"
6261 exec_prefix="$acl_final_exec_prefix"
6263 eval additional_includedir=\"$includedir\"
6264 eval additional_libdir=\"$libdir\"
6266 exec_prefix="$acl_save_exec_prefix"
6267 prefix="$acl_save_prefix"
6270 additional_includedir="$withval/include"
6271 additional_libdir="$withval/$acl_libdirstem"
6282 names_already_handled=
6283 names_next_round='intl '
6284 while test -n "$names_next_round"; do
6285 names_this_round="$names_next_round"
6287 for name in $names_this_round; do
6289 for n in $names_already_handled; do
6290 if test "$n" = "$name"; then
6295 if test -z "$already_handled"; then
6296 names_already_handled="$names_already_handled $name"
6297 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6298 eval value=\"\$HAVE_LIB$uppername\"
6299 if test -n "$value"; then
6300 if test "$value" = yes; then
6301 eval value=\"\$LIB$uppername\"
6302 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6303 eval value=\"\$LTLIB$uppername\"
6304 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6313 if test $use_additional = yes; then
6314 if test -n "$shlibext" \
6315 && { test -f "$additional_libdir/lib$name.$shlibext" \
6316 || { test "$shlibext" = dll \
6317 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
6318 found_dir="$additional_libdir"
6319 if test -f "$additional_libdir/lib$name.$shlibext"; then
6320 found_so="$additional_libdir/lib$name.$shlibext"
6322 found_so="$additional_libdir/lib$name.dll.a"
6324 if test -f "$additional_libdir/lib$name.la"; then
6325 found_la="$additional_libdir/lib$name.la"
6328 if test -f "$additional_libdir/lib$name.$libext"; then
6329 found_dir="$additional_libdir"
6330 found_a="$additional_libdir/lib$name.$libext"
6331 if test -f "$additional_libdir/lib$name.la"; then
6332 found_la="$additional_libdir/lib$name.la"
6337 if test "X$found_dir" = "X"; then
6338 for x in $LDFLAGS $LTLIBINTL; do
6340 acl_save_prefix="$prefix"
6341 prefix="$acl_final_prefix"
6342 acl_save_exec_prefix="$exec_prefix"
6343 exec_prefix="$acl_final_exec_prefix"
6345 exec_prefix="$acl_save_exec_prefix"
6346 prefix="$acl_save_prefix"
6350 dir=`echo "X$x" | sed -e 's/^X-L//'`
6351 if test -n "$shlibext" \
6352 && { test -f "$dir/lib$name.$shlibext" \
6353 || { test "$shlibext" = dll \
6354 && test -f "$dir/lib$name.dll.a"; }; }; then
6356 if test -f "$dir/lib$name.$shlibext"; then
6357 found_so="$dir/lib$name.$shlibext"
6359 found_so="$dir/lib$name.dll.a"
6361 if test -f "$dir/lib$name.la"; then
6362 found_la="$dir/lib$name.la"
6365 if test -f "$dir/lib$name.$libext"; then
6367 found_a="$dir/lib$name.$libext"
6368 if test -f "$dir/lib$name.la"; then
6369 found_la="$dir/lib$name.la"
6375 if test "X$found_dir" != "X"; then
6380 if test "X$found_dir" != "X"; then
6381 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6382 if test "X$found_so" != "X"; then
6383 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6384 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6387 for x in $ltrpathdirs; do
6388 if test "X$x" = "X$found_dir"; then
6393 if test -z "$haveit"; then
6394 ltrpathdirs="$ltrpathdirs $found_dir"
6396 if test "$hardcode_direct" = yes; then
6397 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6399 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6400 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6402 for x in $rpathdirs; do
6403 if test "X$x" = "X$found_dir"; then
6408 if test -z "$haveit"; then
6409 rpathdirs="$rpathdirs $found_dir"
6413 for x in $LDFLAGS $LIBINTL; do
6415 acl_save_prefix="$prefix"
6416 prefix="$acl_final_prefix"
6417 acl_save_exec_prefix="$exec_prefix"
6418 exec_prefix="$acl_final_exec_prefix"
6420 exec_prefix="$acl_save_exec_prefix"
6421 prefix="$acl_save_prefix"
6423 if test "X$x" = "X-L$found_dir"; then
6428 if test -z "$haveit"; then
6429 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6431 if test "$hardcode_minus_L" != no; then
6432 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6434 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6440 if test "X$found_a" != "X"; then
6441 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6443 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6446 additional_includedir=
6447 case "$found_dir" in
6448 */$acl_libdirstem | */$acl_libdirstem/)
6449 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6450 additional_includedir="$basedir/include"
6453 if test "X$additional_includedir" != "X"; then
6454 if test "X$additional_includedir" != "X/usr/include"; then
6456 if test "X$additional_includedir" = "X/usr/local/include"; then
6457 if test -n "$GCC"; then
6459 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6463 if test -z "$haveit"; then
6464 for x in $CPPFLAGS $INCINTL; do
6466 acl_save_prefix="$prefix"
6467 prefix="$acl_final_prefix"
6468 acl_save_exec_prefix="$exec_prefix"
6469 exec_prefix="$acl_final_exec_prefix"
6471 exec_prefix="$acl_save_exec_prefix"
6472 prefix="$acl_save_prefix"
6474 if test "X$x" = "X-I$additional_includedir"; then
6479 if test -z "$haveit"; then
6480 if test -d "$additional_includedir"; then
6481 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6487 if test -n "$found_la"; then
6488 save_libdir="$libdir"
6490 */* | *\\*) . "$found_la" ;;
6491 *) . "./$found_la" ;;
6493 libdir="$save_libdir"
6494 for dep in $dependency_libs; do
6497 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6498 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6500 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6501 if test -n "$GCC"; then
6503 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6507 if test -z "$haveit"; then
6509 for x in $LDFLAGS $LIBINTL; do
6511 acl_save_prefix="$prefix"
6512 prefix="$acl_final_prefix"
6513 acl_save_exec_prefix="$exec_prefix"
6514 exec_prefix="$acl_final_exec_prefix"
6516 exec_prefix="$acl_save_exec_prefix"
6517 prefix="$acl_save_prefix"
6519 if test "X$x" = "X-L$additional_libdir"; then
6524 if test -z "$haveit"; then
6525 if test -d "$additional_libdir"; then
6526 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6530 for x in $LDFLAGS $LTLIBINTL; do
6532 acl_save_prefix="$prefix"
6533 prefix="$acl_final_prefix"
6534 acl_save_exec_prefix="$exec_prefix"
6535 exec_prefix="$acl_final_exec_prefix"
6537 exec_prefix="$acl_save_exec_prefix"
6538 prefix="$acl_save_prefix"
6540 if test "X$x" = "X-L$additional_libdir"; then
6545 if test -z "$haveit"; then
6546 if test -d "$additional_libdir"; then
6547 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6554 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6555 if test "$enable_rpath" != no; then
6557 for x in $rpathdirs; do
6558 if test "X$x" = "X$dir"; then
6563 if test -z "$haveit"; then
6564 rpathdirs="$rpathdirs $dir"
6567 for x in $ltrpathdirs; do
6568 if test "X$x" = "X$dir"; then
6573 if test -z "$haveit"; then
6574 ltrpathdirs="$ltrpathdirs $dir"
6579 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6582 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6585 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6586 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6592 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6593 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6599 if test "X$rpathdirs" != "X"; then
6600 if test -n "$hardcode_libdir_separator"; then
6602 for found_dir in $rpathdirs; do
6603 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6605 acl_save_libdir="$libdir"
6607 eval flag=\"$hardcode_libdir_flag_spec\"
6608 libdir="$acl_save_libdir"
6609 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6611 for found_dir in $rpathdirs; do
6612 acl_save_libdir="$libdir"
6614 eval flag=\"$hardcode_libdir_flag_spec\"
6615 libdir="$acl_save_libdir"
6616 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6620 if test "X$ltrpathdirs" != "X"; then
6621 for found_dir in $ltrpathdirs; do
6622 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6627 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6628 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6629 $as_echo_n "(cached) " >&6
6631 gt_save_CPPFLAGS="$CPPFLAGS"
6632 CPPFLAGS="$CPPFLAGS $INCINTL"
6633 gt_save_LIBS="$LIBS"
6634 LIBS="$LIBS $LIBINTL"
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #include <libintl.h>
6638 $gt_revision_test_code
6639 extern int _nl_msg_cat_cntr;
6644 const char *_nl_expand_alias (const char *);
6648 bindtextdomain ("", "");
6649 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6654 if ac_fn_c_try_link "$LINENO"; then :
6655 eval "$gt_func_gnugettext_libintl=yes"
6657 eval "$gt_func_gnugettext_libintl=no"
6659 rm -f core conftest.err conftest.$ac_objext \
6660 conftest$ac_exeext conftest.$ac_ext
6661 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6662 LIBS="$LIBS $LIBICONV"
6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6665 #include <libintl.h>
6666 $gt_revision_test_code
6667 extern int _nl_msg_cat_cntr;
6672 const char *_nl_expand_alias (const char *);
6676 bindtextdomain ("", "");
6677 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6682 if ac_fn_c_try_link "$LINENO"; then :
6683 LIBINTL="$LIBINTL $LIBICONV"
6684 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6685 eval "$gt_func_gnugettext_libintl=yes"
6688 rm -f core conftest.err conftest.$ac_objext \
6689 conftest$ac_exeext conftest.$ac_ext
6691 CPPFLAGS="$gt_save_CPPFLAGS"
6692 LIBS="$gt_save_LIBS"
6694 eval ac_res=\$$gt_func_gnugettext_libintl
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6696 $as_echo "$ac_res" >&6; }
6699 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6700 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6701 && test "$PACKAGE" != gettext-runtime \
6702 && test "$PACKAGE" != gettext-tools; }; then
6703 gt_use_preinstalled_gnugettext=yes
6712 if test -n "$INTL_MACOSX_LIBS"; then
6713 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6714 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6715 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6716 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6720 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6721 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6723 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6731 $as_echo_n "checking whether to use NLS... " >&6; }
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6733 $as_echo "$USE_NLS" >&6; }
6734 if test "$USE_NLS" = "yes"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6736 $as_echo_n "checking where the gettext function comes from... " >&6; }
6737 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6738 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6739 gt_source="external libintl"
6744 gt_source="included intl directory"
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6747 $as_echo "$gt_source" >&6; }
6750 if test "$USE_NLS" = "yes"; then
6752 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6753 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6755 $as_echo_n "checking how to link with libintl... " >&6; }
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6757 $as_echo "$LIBINTL" >&6; }
6759 for element in $INCINTL; do
6761 for x in $CPPFLAGS; do
6763 acl_save_prefix="$prefix"
6764 prefix="$acl_final_prefix"
6765 acl_save_exec_prefix="$exec_prefix"
6766 exec_prefix="$acl_final_exec_prefix"
6768 exec_prefix="$acl_save_exec_prefix"
6769 prefix="$acl_save_prefix"
6771 if test "X$x" = "X$element"; then
6776 if test -z "$haveit"; then
6777 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6784 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6787 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6807 # Check whether --enable-schemas-compile was given.
6808 if test "${enable_schemas_compile+set}" = set; then :
6809 enableval=$enable_schemas_compile; case ${enableval} in
6810 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6811 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6812 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6824 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6825 if test -n "$ac_tool_prefix"; then
6826 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6827 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6831 $as_echo_n "(cached) " >&6
6835 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6857 if test -n "$PKG_CONFIG"; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6859 $as_echo "$PKG_CONFIG" >&6; }
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6867 if test -z "$ac_cv_path_PKG_CONFIG"; then
6868 ac_pt_PKG_CONFIG=$PKG_CONFIG
6869 # Extract the first word of "pkg-config", so it can be a program name with args.
6870 set dummy pkg-config; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6874 $as_echo_n "(cached) " >&6
6876 case $ac_pt_PKG_CONFIG in
6878 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir=.
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6888 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6900 if test -n "$ac_pt_PKG_CONFIG"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6902 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6908 if test "x$ac_pt_PKG_CONFIG" = x; then
6911 case $cross_compiling:$ac_tool_warned in
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned=yes ;;
6917 PKG_CONFIG=$ac_pt_PKG_CONFIG
6920 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6924 if test -n "$PKG_CONFIG"; then
6925 _pkg_min_version=0.16
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6927 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6928 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6930 $as_echo "yes" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933 $as_echo "no" >&6; }
6937 gsettingsschemadir=${datadir}/glib-2.0/schemas
6939 if test x$cross_compiling != xyes; then
6940 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6942 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6943 set dummy glib-compile-schemas; ac_word=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945 $as_echo_n "checking for $ac_word... " >&6; }
6946 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6947 $as_echo_n "(cached) " >&6
6949 case $GLIB_COMPILE_SCHEMAS in
6951 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6973 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6975 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6984 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6985 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
6991 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
6993 mostlyclean-am: clean-gsettings-schemas
6995 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
6997 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
6998 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7000 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7001 uninstall-am: uninstall-gsettings-schemas
7002 install-data-am: install-gsettings-schemas
7004 .SECONDARY: $(gsettings_SCHEMAS)
7006 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7008 if test -n "$^"; then \
7009 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7010 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7011 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7014 uninstall-gsettings-schemas:
7015 @$(NORMAL_UNINSTALL)
7016 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7017 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7018 test -n "$$files" || exit 0; \
7019 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7020 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7021 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7023 clean-gsettings-schemas:
7024 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7026 ifdef gsettings_ENUM_NAMESPACE
7027 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7028 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
7038 ############### common
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7042 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7043 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7044 $as_echo_n "(cached) " >&6
7046 ac_check_lib_save_LIBS=$LIBS
7047 LIBS="-lpthread $LIBS"
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7051 /* Override any GCC internal prototype to avoid an error.
7052 Use char because int might match the return type of a GCC
7053 builtin and then its argument prototype would still apply. */
7057 char pthread_create ();
7061 return pthread_create ();
7066 if ac_fn_c_try_link "$LINENO"; then :
7067 ac_cv_lib_pthread_pthread_create=yes
7069 ac_cv_lib_pthread_pthread_create=no
7071 rm -f core conftest.err conftest.$ac_objext \
7072 conftest$ac_exeext conftest.$ac_ext
7073 LIBS=$ac_check_lib_save_LIBS
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7076 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7077 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7078 cat >>confdefs.h <<_ACEOF
7079 #define HAVE_LIBPTHREAD 1
7082 LIBS="-lpthread $LIBS"
7086 PTHREAD_LIBS=-pthread
7089 # Checks sensors, required by psensor and psensor-server
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7091 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7092 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7093 $as_echo_n "(cached) " >&6
7095 ac_check_lib_save_LIBS=$LIBS
7096 LIBS="-lsensors $LIBS"
7097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7100 /* Override any GCC internal prototype to avoid an error.
7101 Use char because int might match the return type of a GCC
7102 builtin and then its argument prototype would still apply. */
7106 char sensors_init ();
7110 return sensors_init ();
7115 if ac_fn_c_try_link "$LINENO"; then :
7116 ac_cv_lib_sensors_sensors_init=yes
7118 ac_cv_lib_sensors_sensors_init=no
7120 rm -f core conftest.err conftest.$ac_objext \
7121 conftest$ac_exeext conftest.$ac_ext
7122 LIBS=$ac_check_lib_save_LIBS
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7125 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7126 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7127 cat >>confdefs.h <<_ACEOF
7128 #define HAVE_LIBSENSORS 1
7131 LIBS="-lsensors $LIBS"
7135 for ac_header in sensors/sensors.h sensors/error.h
7137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7138 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7139 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7148 SENSORS_LIBS=-lsensors
7151 ############### psensor
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7158 $as_echo_n "checking for X11... " >&6; }
7160 if test -n "$X11_CFLAGS"; then
7161 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7162 elif test -n "$PKG_CONFIG"; then
7163 if test -n "$PKG_CONFIG" && \
7164 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7165 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7168 test $ac_status = 0; }; then
7169 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7170 test "x$?" != "x0" && pkg_failed=yes
7177 if test -n "$X11_LIBS"; then
7178 pkg_cv_X11_LIBS="$X11_LIBS"
7179 elif test -n "$PKG_CONFIG"; then
7180 if test -n "$PKG_CONFIG" && \
7181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7182 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7185 test $ac_status = 0; }; then
7186 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7187 test "x$?" != "x0" && pkg_failed=yes
7197 if test $pkg_failed = yes; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7202 _pkg_short_errors_supported=yes
7204 _pkg_short_errors_supported=no
7206 if test $_pkg_short_errors_supported = yes; then
7207 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7209 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7211 # Put the nasty error message in config.log where it belongs
7212 echo "$X11_PKG_ERRORS" >&5
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7215 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7216 elif test $pkg_failed = untried; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7220 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7222 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7223 X11_LIBS=$pkg_cv_X11_LIBS
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7225 $as_echo "yes" >&6; }
7228 if test -n "$X11_LIBS"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7242 $as_echo_n "checking for XEXT... " >&6; }
7244 if test -n "$XEXT_CFLAGS"; then
7245 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7246 elif test -n "$PKG_CONFIG"; then
7247 if test -n "$PKG_CONFIG" && \
7248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7249 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7252 test $ac_status = 0; }; then
7253 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7254 test "x$?" != "x0" && pkg_failed=yes
7261 if test -n "$XEXT_LIBS"; then
7262 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7263 elif test -n "$PKG_CONFIG"; then
7264 if test -n "$PKG_CONFIG" && \
7265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7266 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7269 test $ac_status = 0; }; then
7270 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7271 test "x$?" != "x0" && pkg_failed=yes
7281 if test $pkg_failed = yes; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7286 _pkg_short_errors_supported=yes
7288 _pkg_short_errors_supported=no
7290 if test $_pkg_short_errors_supported = yes; then
7291 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7293 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7295 # Put the nasty error message in config.log where it belongs
7296 echo "$XEXT_PKG_ERRORS" >&5
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7299 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7300 elif test $pkg_failed = untried; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7304 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7306 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7307 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7309 $as_echo "yes" >&6; }
7312 if test -n "$XEXT_LIBS"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7327 $as_echo_n "checking for GTK... " >&6; }
7329 if test -n "$GTK_CFLAGS"; then
7330 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7331 elif test -n "$PKG_CONFIG"; then
7332 if test -n "$PKG_CONFIG" && \
7333 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7334 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7337 test $ac_status = 0; }; then
7338 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.4" 2>/dev/null`
7339 test "x$?" != "x0" && pkg_failed=yes
7346 if test -n "$GTK_LIBS"; then
7347 pkg_cv_GTK_LIBS="$GTK_LIBS"
7348 elif test -n "$PKG_CONFIG"; then
7349 if test -n "$PKG_CONFIG" && \
7350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7351 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7354 test $ac_status = 0; }; then
7355 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.4" 2>/dev/null`
7356 test "x$?" != "x0" && pkg_failed=yes
7366 if test $pkg_failed = yes; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7370 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7371 _pkg_short_errors_supported=yes
7373 _pkg_short_errors_supported=no
7375 if test $_pkg_short_errors_supported = yes; then
7376 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7378 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7380 # Put the nasty error message in config.log where it belongs
7381 echo "$GTK_PKG_ERRORS" >&5
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7384 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7385 elif test $pkg_failed = untried; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7389 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7391 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7392 GTK_LIBS=$pkg_cv_GTK_LIBS
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7394 $as_echo "yes" >&6; }
7397 if test -n "$GTK_LIBS"; then
7405 # ensure that only allowed headers are included
7406 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
7407 # ensure that no gtk/dk deprecated symbols are used
7408 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
7409 # do not enable flag because GtkStatusIcon is deprecated
7410 #GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
7411 # ensure use of accessors
7412 GTK_CFLAGS+=" -DGSEAL_ENABLE "
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDISKS2" >&5
7420 $as_echo_n "checking for LIBUDISKS2... " >&6; }
7422 if test -n "$LIBUDISKS2_CFLAGS"; then
7423 pkg_cv_LIBUDISKS2_CFLAGS="$LIBUDISKS2_CFLAGS"
7424 elif test -n "$PKG_CONFIG"; then
7425 if test -n "$PKG_CONFIG" && \
7426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7427 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7430 test $ac_status = 0; }; then
7431 pkg_cv_LIBUDISKS2_CFLAGS=`$PKG_CONFIG --cflags "udisks2" 2>/dev/null`
7432 test "x$?" != "x0" && pkg_failed=yes
7439 if test -n "$LIBUDISKS2_LIBS"; then
7440 pkg_cv_LIBUDISKS2_LIBS="$LIBUDISKS2_LIBS"
7441 elif test -n "$PKG_CONFIG"; then
7442 if test -n "$PKG_CONFIG" && \
7443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7444 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7447 test $ac_status = 0; }; then
7448 pkg_cv_LIBUDISKS2_LIBS=`$PKG_CONFIG --libs "udisks2" 2>/dev/null`
7449 test "x$?" != "x0" && pkg_failed=yes
7459 if test $pkg_failed = yes; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7464 _pkg_short_errors_supported=yes
7466 _pkg_short_errors_supported=no
7468 if test $_pkg_short_errors_supported = yes; then
7469 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udisks2" 2>&1`
7471 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "udisks2" 2>&1`
7473 # Put the nasty error message in config.log where it belongs
7474 echo "$LIBUDISKS2_PKG_ERRORS" >&5
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7477 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7478 elif test $pkg_failed = untried; then
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7482 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7484 LIBUDISKS2_CFLAGS=$pkg_cv_LIBUDISKS2_CFLAGS
7485 LIBUDISKS2_LIBS=$pkg_cv_LIBUDISKS2_LIBS
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7487 $as_echo "yes" >&6; }
7489 $as_echo "#define HAVE_LIBUDISKS2 1" >>confdefs.h
7492 if test -n "$LIBUDISKS2_LIBS"; then
7494 LIBUDISKS2_FALSE='#'
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
7507 $as_echo_n "checking for ATASMART... " >&6; }
7509 if test -n "$ATASMART_CFLAGS"; then
7510 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
7511 elif test -n "$PKG_CONFIG"; then
7512 if test -n "$PKG_CONFIG" && \
7513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7514 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7517 test $ac_status = 0; }; then
7518 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
7519 test "x$?" != "x0" && pkg_failed=yes
7526 if test -n "$ATASMART_LIBS"; then
7527 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
7528 elif test -n "$PKG_CONFIG"; then
7529 if test -n "$PKG_CONFIG" && \
7530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7531 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7534 test $ac_status = 0; }; then
7535 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
7536 test "x$?" != "x0" && pkg_failed=yes
7546 if test $pkg_failed = yes; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7551 _pkg_short_errors_supported=yes
7553 _pkg_short_errors_supported=no
7555 if test $_pkg_short_errors_supported = yes; then
7556 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
7558 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
7560 # Put the nasty error message in config.log where it belongs
7561 echo "$ATASMART_PKG_ERRORS" >&5
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7564 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7565 elif test $pkg_failed = untried; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7569 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7571 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
7572 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7574 $as_echo "yes" >&6; }
7576 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
7580 if test -n "$ATASMART_LIBS"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7596 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7598 if test -n "$LIBNOTIFY_CFLAGS"; then
7599 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7600 elif test -n "$PKG_CONFIG"; then
7601 if test -n "$PKG_CONFIG" && \
7602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7603 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7606 test $ac_status = 0; }; then
7607 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7608 test "x$?" != "x0" && pkg_failed=yes
7615 if test -n "$LIBNOTIFY_LIBS"; then
7616 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7617 elif test -n "$PKG_CONFIG"; then
7618 if test -n "$PKG_CONFIG" && \
7619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7620 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7623 test $ac_status = 0; }; then
7624 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7625 test "x$?" != "x0" && pkg_failed=yes
7635 if test $pkg_failed = yes; then
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7639 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7640 _pkg_short_errors_supported=yes
7642 _pkg_short_errors_supported=no
7644 if test $_pkg_short_errors_supported = yes; then
7645 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7647 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7649 # Put the nasty error message in config.log where it belongs
7650 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7653 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7654 elif test $pkg_failed = untried; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7658 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7660 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7661 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7663 $as_echo "yes" >&6; }
7665 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7668 if test -n "$LIBNOTIFY_LIBS"; then
7679 # Checks AppIndicator
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7685 $as_echo_n "checking for APPINDICATOR... " >&6; }
7687 if test -n "$APPINDICATOR_CFLAGS"; then
7688 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7689 elif test -n "$PKG_CONFIG"; then
7690 if test -n "$PKG_CONFIG" && \
7691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7692 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7695 test $ac_status = 0; }; then
7696 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7697 test "x$?" != "x0" && pkg_failed=yes
7704 if test -n "$APPINDICATOR_LIBS"; then
7705 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7706 elif test -n "$PKG_CONFIG"; then
7707 if test -n "$PKG_CONFIG" && \
7708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7709 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7712 test $ac_status = 0; }; then
7713 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7714 test "x$?" != "x0" && pkg_failed=yes
7724 if test $pkg_failed = yes; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726 $as_echo "no" >&6; }
7728 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7729 _pkg_short_errors_supported=yes
7731 _pkg_short_errors_supported=no
7733 if test $_pkg_short_errors_supported = yes; then
7734 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7736 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7738 # Put the nasty error message in config.log where it belongs
7739 echo "$APPINDICATOR_PKG_ERRORS" >&5
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7742 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7743 elif test $pkg_failed = untried; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745 $as_echo "no" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7747 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7749 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7750 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7752 $as_echo "yes" >&6; }
7754 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7758 if test "$APPINDICATOR_LIBS" == ""; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7762 $as_echo_n "checking for APPINDICATOR... " >&6; }
7764 if test -n "$APPINDICATOR_CFLAGS"; then
7765 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7766 elif test -n "$PKG_CONFIG"; then
7767 if test -n "$PKG_CONFIG" && \
7768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7769 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7772 test $ac_status = 0; }; then
7773 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7774 test "x$?" != "x0" && pkg_failed=yes
7781 if test -n "$APPINDICATOR_LIBS"; then
7782 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7783 elif test -n "$PKG_CONFIG"; then
7784 if test -n "$PKG_CONFIG" && \
7785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7786 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7789 test $ac_status = 0; }; then
7790 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7791 test "x$?" != "x0" && pkg_failed=yes
7801 if test $pkg_failed = yes; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7806 _pkg_short_errors_supported=yes
7808 _pkg_short_errors_supported=no
7810 if test $_pkg_short_errors_supported = yes; then
7811 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7813 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7815 # Put the nasty error message in config.log where it belongs
7816 echo "$APPINDICATOR_PKG_ERRORS" >&5
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7819 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7820 elif test $pkg_failed = untried; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822 $as_echo "no" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7824 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7826 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7827 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7829 $as_echo "yes" >&6; }
7831 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7834 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
7840 if test "$APPINDICATOR_LIBS" == ""; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7844 $as_echo_n "checking for APPINDICATOR... " >&6; }
7846 if test -n "$APPINDICATOR_CFLAGS"; then
7847 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7848 elif test -n "$PKG_CONFIG"; then
7849 if test -n "$PKG_CONFIG" && \
7850 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7851 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7854 test $ac_status = 0; }; then
7855 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
7856 test "x$?" != "x0" && pkg_failed=yes
7863 if test -n "$APPINDICATOR_LIBS"; then
7864 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7865 elif test -n "$PKG_CONFIG"; then
7866 if test -n "$PKG_CONFIG" && \
7867 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7868 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7871 test $ac_status = 0; }; then
7872 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
7873 test "x$?" != "x0" && pkg_failed=yes
7883 if test $pkg_failed = yes; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7888 _pkg_short_errors_supported=yes
7890 _pkg_short_errors_supported=no
7892 if test $_pkg_short_errors_supported = yes; then
7893 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7895 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7897 # Put the nasty error message in config.log where it belongs
7898 echo "$APPINDICATOR_PKG_ERRORS" >&5
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7901 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7902 elif test $pkg_failed = untried; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7906 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7908 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7909 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7911 $as_echo "yes" >&6; }
7913 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7917 if test -n "$APPINDICATOR_LIBS"; then
7919 APPINDICATOR_FALSE='#'
7921 APPINDICATOR_TRUE='#'
7928 # Check CURL, needed for remote monitoring
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7933 $as_echo_n "checking for CURL... " >&6; }
7935 if test -n "$CURL_CFLAGS"; then
7936 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7937 elif test -n "$PKG_CONFIG"; then
7938 if test -n "$PKG_CONFIG" && \
7939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7940 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7943 test $ac_status = 0; }; then
7944 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7945 test "x$?" != "x0" && pkg_failed=yes
7952 if test -n "$CURL_LIBS"; then
7953 pkg_cv_CURL_LIBS="$CURL_LIBS"
7954 elif test -n "$PKG_CONFIG"; then
7955 if test -n "$PKG_CONFIG" && \
7956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7957 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7960 test $ac_status = 0; }; then
7961 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7962 test "x$?" != "x0" && pkg_failed=yes
7972 if test $pkg_failed = yes; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7977 _pkg_short_errors_supported=yes
7979 _pkg_short_errors_supported=no
7981 if test $_pkg_short_errors_supported = yes; then
7982 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
7984 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
7986 # Put the nasty error message in config.log where it belongs
7987 echo "$CURL_PKG_ERRORS" >&5
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7990 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7991 elif test $pkg_failed = untried; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7995 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7997 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
7998 CURL_LIBS=$pkg_cv_CURL_LIBS
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8000 $as_echo "yes" >&6; }
8002 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8005 if test -n "$CURL_LIBS"; then
8016 # Check JSON, needed for remote monitoring
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8021 $as_echo_n "checking for JSON... " >&6; }
8023 if test -n "$JSON_CFLAGS"; then
8024 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8025 elif test -n "$PKG_CONFIG"; then
8026 if test -n "$PKG_CONFIG" && \
8027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
8028 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
8030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8031 test $ac_status = 0; }; then
8032 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11.99" 2>/dev/null`
8033 test "x$?" != "x0" && pkg_failed=yes
8040 if test -n "$JSON_LIBS"; then
8041 pkg_cv_JSON_LIBS="$JSON_LIBS"
8042 elif test -n "$PKG_CONFIG"; then
8043 if test -n "$PKG_CONFIG" && \
8044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
8045 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
8047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8048 test $ac_status = 0; }; then
8049 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11.99" 2>/dev/null`
8050 test "x$?" != "x0" && pkg_failed=yes
8060 if test $pkg_failed = yes; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8065 _pkg_short_errors_supported=yes
8067 _pkg_short_errors_supported=no
8069 if test $_pkg_short_errors_supported = yes; then
8070 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
8072 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
8074 # Put the nasty error message in config.log where it belongs
8075 echo "$JSON_PKG_ERRORS" >&5
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8078 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8079 elif test $pkg_failed = untried; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8083 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8085 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8086 JSON_LIBS=$pkg_cv_JSON_LIBS
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8088 $as_echo "yes" >&6; }
8090 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8094 if test "$JSON_LIBS" == ""; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8098 $as_echo_n "checking for JSON... " >&6; }
8100 if test -n "$JSON_CFLAGS"; then
8101 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8102 elif test -n "$PKG_CONFIG"; then
8103 if test -n "$PKG_CONFIG" && \
8104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
8105 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
8107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8108 test $ac_status = 0; }; then
8109 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.11.99" 2>/dev/null`
8110 test "x$?" != "x0" && pkg_failed=yes
8117 if test -n "$JSON_LIBS"; then
8118 pkg_cv_JSON_LIBS="$JSON_LIBS"
8119 elif test -n "$PKG_CONFIG"; then
8120 if test -n "$PKG_CONFIG" && \
8121 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
8122 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
8124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8125 test $ac_status = 0; }; then
8126 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.11.99" 2>/dev/null`
8127 test "x$?" != "x0" && pkg_failed=yes
8137 if test $pkg_failed = yes; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8142 _pkg_short_errors_supported=yes
8144 _pkg_short_errors_supported=no
8146 if test $_pkg_short_errors_supported = yes; then
8147 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8149 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8151 # Put the nasty error message in config.log where it belongs
8152 echo "$JSON_PKG_ERRORS" >&5
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8155 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8156 elif test $pkg_failed = untried; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8160 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8162 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8163 JSON_LIBS=$pkg_cv_JSON_LIBS
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8165 $as_echo "yes" >&6; }
8167 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8170 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8175 if test -n "$JSON_LIBS"; then
8186 # Enables remote monitoring if JSON and CURL is present
8187 if test -n "$JSON_LIBS"; then
8188 if test -n "$CURL_LIBS"; then
8190 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8196 # following code from sensors-applet
8197 # sensors-applet.sourceforge.net/
8198 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8201 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8202 #include <X11/Xlib.h>
8205 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8206 cat >>confdefs.h <<_ACEOF
8207 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8214 if test -n "${X11_LIBS}"; then
8215 LIBS="${LIBS} -lX11 -lXext"
8217 if test "${HAVE_NVIDIA}" = "true"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8219 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8220 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8221 $as_echo_n "(cached) " >&6
8223 ac_check_lib_save_LIBS=$LIBS
8224 LIBS="-lXNVCtrl $LIBS"
8225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226 /* end confdefs.h. */
8228 /* Override any GCC internal prototype to avoid an error.
8229 Use char because int might match the return type of a GCC
8230 builtin and then its argument prototype would still apply. */
8234 char XNVCTRLQueryExtension ();
8238 return XNVCTRLQueryExtension ();
8243 if ac_fn_c_try_link "$LINENO"; then :
8244 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8246 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8248 rm -f core conftest.err conftest.$ac_objext \
8249 conftest$ac_exeext conftest.$ac_ext
8250 LIBS=$ac_check_lib_save_LIBS
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8253 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8254 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8255 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8257 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8264 if test -n "$NVIDIA_LIBS"; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8279 $as_echo_n "checking for UNITY... " >&6; }
8281 if test -n "$UNITY_CFLAGS"; then
8282 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8283 elif test -n "$PKG_CONFIG"; then
8284 if test -n "$PKG_CONFIG" && \
8285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8286 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8289 test $ac_status = 0; }; then
8290 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8291 test "x$?" != "x0" && pkg_failed=yes
8298 if test -n "$UNITY_LIBS"; then
8299 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8300 elif test -n "$PKG_CONFIG"; then
8301 if test -n "$PKG_CONFIG" && \
8302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8303 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8306 test $ac_status = 0; }; then
8307 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8308 test "x$?" != "x0" && pkg_failed=yes
8318 if test $pkg_failed = yes; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8323 _pkg_short_errors_supported=yes
8325 _pkg_short_errors_supported=no
8327 if test $_pkg_short_errors_supported = yes; then
8328 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8330 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8332 # Put the nasty error message in config.log where it belongs
8333 echo "$UNITY_PKG_ERRORS" >&5
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8336 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8337 elif test $pkg_failed = untried; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8339 $as_echo "no" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8341 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8343 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8344 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8346 $as_echo "yes" >&6; }
8348 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8353 if test -n "$UNITY_LIBS"; then
8364 # Check whether --with-libatiadl was given.
8365 if test "${with_libatiadl+set}" = set; then :
8366 withval=$with_libatiadl;
8367 ATIADL_DIR=${withval}
8368 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8369 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8375 for ac_header in adl_defines.h
8377 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8378 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8379 cat >>confdefs.h <<_ACEOF
8380 #define HAVE_ADL_DEFINES_H 1
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8383 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8384 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8385 $as_echo_n "(cached) " >&6
8387 ac_check_lib_save_LIBS=$LIBS
8388 LIBS="-latiadlxx $LIBS"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8392 /* Override any GCC internal prototype to avoid an error.
8393 Use char because int might match the return type of a GCC
8394 builtin and then its argument prototype would still apply. */
8398 char ADL_Main_Control_Refresh ();
8402 return ADL_Main_Control_Refresh ();
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8410 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 LIBS=$ac_check_lib_save_LIBS
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8417 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8418 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8421 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8423 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8424 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8433 if test -n "$LIBATIADL_LIBS"; then
8444 ############### psensor-server
8446 # Check libmicrohttpd, mandatory for psensor-server
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8451 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8453 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8454 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8455 elif test -n "$PKG_CONFIG"; then
8456 if test -n "$PKG_CONFIG" && \
8457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8458 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }; then
8462 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8463 test "x$?" != "x0" && pkg_failed=yes
8470 if test -n "$LIBMICROHTTPD_LIBS"; then
8471 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8472 elif test -n "$PKG_CONFIG"; then
8473 if test -n "$PKG_CONFIG" && \
8474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8475 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8478 test $ac_status = 0; }; then
8479 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8480 test "x$?" != "x0" && pkg_failed=yes
8490 if test $pkg_failed = yes; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8492 $as_echo "no" >&6; }
8494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8495 _pkg_short_errors_supported=yes
8497 _pkg_short_errors_supported=no
8499 if test $_pkg_short_errors_supported = yes; then
8500 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8502 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8504 # Put the nasty error message in config.log where it belongs
8505 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8508 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8509 elif test $pkg_failed = untried; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8511 $as_echo "no" >&6; }
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8513 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8515 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8516 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8518 $as_echo "yes" >&6; }
8520 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8523 if test -n "$LIBMICROHTTPD_LIBS"; then
8525 LIBMICROHTTPD_FALSE='#'
8527 LIBMICROHTTPD_TRUE='#'
8528 LIBMICROHTTPD_FALSE=
8534 # Check gtop2, optional
8536 # Check whether --with-gtop was given.
8537 if test "${with_gtop+set}" = set; then :
8548 if test "$with_gtop" = "yes"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8552 $as_echo_n "checking for GTOP... " >&6; }
8554 if test -n "$GTOP_CFLAGS"; then
8555 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8556 elif test -n "$PKG_CONFIG"; then
8557 if test -n "$PKG_CONFIG" && \
8558 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8559 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8562 test $ac_status = 0; }; then
8563 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8564 test "x$?" != "x0" && pkg_failed=yes
8571 if test -n "$GTOP_LIBS"; then
8572 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8573 elif test -n "$PKG_CONFIG"; then
8574 if test -n "$PKG_CONFIG" && \
8575 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8576 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8579 test $ac_status = 0; }; then
8580 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8581 test "x$?" != "x0" && pkg_failed=yes
8591 if test $pkg_failed = yes; then
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8596 _pkg_short_errors_supported=yes
8598 _pkg_short_errors_supported=no
8600 if test $_pkg_short_errors_supported = yes; then
8601 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8603 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8605 # Put the nasty error message in config.log where it belongs
8606 echo "$GTOP_PKG_ERRORS" >&5
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8609 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8610 elif test $pkg_failed = untried; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8612 $as_echo "no" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8614 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8616 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8617 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8619 $as_echo "yes" >&6; }
8621 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8625 if test -n "$GTOP_LIBS"; then
8636 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/glade/Makefile src/lib/Makefile src/server/Makefile icons/hicolor/scalable/Makefile icons/hicolor/14x14/Makefile icons/hicolor/16x16/Makefile icons/hicolor/22x22/Makefile icons/hicolor/24x24/Makefile icons/hicolor/32x32/Makefile icons/hicolor/48x48/Makefile icons/hicolor/64x64/Makefile icons/ubuntu-mono-dark/status/22/Makefile icons/ubuntu-mono-light/status/22/Makefile icons/ubuntu-mono-dark/apps/22/Makefile www/Makefile po/Makefile.in tests/Makefile"
8639 for ac_prog in help2man
8641 # Extract the first word of "$ac_prog", so it can be a program name with args.
8642 set dummy $ac_prog; ac_word=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_prog_HELP2MAN+:} false; then :
8646 $as_echo_n "(cached) " >&6
8648 if test -n "$HELP2MAN"; then
8649 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 test -z "$as_dir" && as_dir=.
8656 for ac_exec_ext in '' $ac_executable_extensions; do
8657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_HELP2MAN="$ac_prog"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668 HELP2MAN=$ac_cv_prog_HELP2MAN
8669 if test -n "$HELP2MAN"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8671 $as_echo "$HELP2MAN" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8678 test -n "$HELP2MAN" && break
8682 # Extract the first word of "asciidoc", so it can be a program name with args.
8683 set dummy asciidoc; ac_word=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8685 $as_echo_n "checking for $ac_word... " >&6; }
8686 if ${ac_cv_prog_ASCIIDOC+:} false; then :
8687 $as_echo_n "(cached) " >&6
8689 if test -n "$ASCIIDOC"; then
8690 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_prog_ASCIIDOC="yes"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8709 ASCIIDOC=$ac_cv_prog_ASCIIDOC
8710 if test -n "$ASCIIDOC"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
8712 $as_echo "$ASCIIDOC" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8719 if test -n "$ASCIIDOC"; then
8728 # Extract the first word of "cppcheck", so it can be a program name with args.
8729 set dummy cppcheck; ac_word=$2
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8731 $as_echo_n "checking for $ac_word... " >&6; }
8732 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
8733 $as_echo_n "(cached) " >&6
8735 if test -n "$HAVE_CPPCHECK"; then
8736 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
8738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742 test -z "$as_dir" && as_dir=.
8743 for ac_exec_ext in '' $ac_executable_extensions; do
8744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8745 ac_cv_prog_HAVE_CPPCHECK="yes"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8755 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
8756 if test -n "$HAVE_CPPCHECK"; then
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
8758 $as_echo "$HAVE_CPPCHECK" >&6; }
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8761 $as_echo "no" >&6; }
8765 if test -n "$HAVE_CPPCHECK"; then
8774 cat >confcache <<\_ACEOF
8775 # This file is a shell script that caches the results of configure
8776 # tests run on this system so they can be shared between configure
8777 # scripts and configure runs, see configure's option --config-cache.
8778 # It is not useful on other systems. If it contains results you don't
8779 # want to keep, you may remove or edit it.
8781 # config.status only pays attention to the cache file if you give it
8782 # the --recheck option to rerun configure.
8784 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8790 # The following way of writing the cache mishandles newlines in values,
8791 # but we know of no workaround that is simple, portable, and efficient.
8792 # So, we kill variables containing newlines.
8793 # Ultrix sh set writes to stderr and can't be redirected directly,
8794 # and sets the high bit in the cache file unless we assign to the vars.
8796 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8797 eval ac_val=\$$ac_var
8801 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8805 _ | IFS | as_nl) ;; #(
8806 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8807 *) { eval $ac_var=; unset $ac_var;} ;;
8813 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8814 *${as_nl}ac_space=\ *)
8815 # `set' does not quote correctly, so add quotes: double-quote
8816 # substitution turns \\\\ into \\, and sed turns \\ into \.
8819 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8822 # `set' quotes correctly as required by POSIX, so do not add quotes.
8823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8832 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8834 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8836 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8837 if test -w "$cache_file"; then
8838 if test "x$cache_file" != "x/dev/null"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8840 $as_echo "$as_me: updating cache $cache_file" >&6;}
8841 if test ! -f "$cache_file" || test -h "$cache_file"; then
8842 cat confcache >"$cache_file"
8844 case $cache_file in #(
8846 mv -f confcache "$cache_file"$$ &&
8847 mv -f "$cache_file"$$ "$cache_file" ;; #(
8849 mv -f confcache "$cache_file" ;;
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8860 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8861 # Let make expand exec_prefix.
8862 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8864 DEFS=-DHAVE_CONFIG_H
8869 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8870 # 1. Remove the extension, and $U if already installed.
8871 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8872 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8873 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8874 # will be set to the directory where LIBOBJS objects are built.
8875 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8876 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8880 LTLIBOBJS=$ac_ltlibobjs
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8884 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8885 if test -n "$am_sleep_pid"; then
8886 # Hide warnings about reused PIDs.
8887 wait $am_sleep_pid 2>/dev/null
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8890 $as_echo "done" >&6; }
8891 if test -n "$EXEEXT"; then
8893 am__EXEEXT_FALSE='#'
8899 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8900 as_fn_error $? "conditional \"AMDEP\" was never defined.
8901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8903 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8904 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8907 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
8908 as_fn_error $? "conditional \"X11\" was never defined.
8909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8911 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
8912 as_fn_error $? "conditional \"XEXT\" was never defined.
8913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8915 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8916 as_fn_error $? "conditional \"GTK\" was never defined.
8917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8919 if test -z "${LIBUDISKS2_TRUE}" && test -z "${LIBUDISKS2_FALSE}"; then
8920 as_fn_error $? "conditional \"LIBUDISKS2\" was never defined.
8921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8923 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
8924 as_fn_error $? "conditional \"ATASMART\" was never defined.
8925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8927 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8928 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8931 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8932 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8935 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8936 as_fn_error $? "conditional \"CURL\" was never defined.
8937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8939 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8940 as_fn_error $? "conditional \"JSON\" was never defined.
8941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8943 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8944 as_fn_error $? "conditional \"NVIDIA\" was never defined.
8945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8947 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8948 as_fn_error $? "conditional \"UNITY\" was never defined.
8949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8951 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
8952 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8955 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8956 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8959 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8960 as_fn_error $? "conditional \"GTOP\" was never defined.
8961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8963 if test -z "${ASCIIDOC_TRUE}" && test -z "${ASCIIDOC_FALSE}"; then
8964 as_fn_error $? "conditional \"ASCIIDOC\" was never defined.
8965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8967 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
8968 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
8969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8972 : "${CONFIG_STATUS=./config.status}"
8974 ac_clean_files_save=$ac_clean_files
8975 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8977 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8979 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8981 # Generated by $as_me.
8982 # Run this file to recreate the current configuration.
8983 # Compiler output produced by configure, useful for debugging
8984 # configure, is in config.log if it exists.
8990 SHELL=\${CONFIG_SHELL-$SHELL}
8993 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8994 ## -------------------- ##
8995 ## M4sh Initialization. ##
8996 ## -------------------- ##
8998 # Be more Bourne compatible
8999 DUALCASE=1; export DUALCASE # for MKS sh
9000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9003 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9004 # is contrary to our usage. Disable this feature.
9005 alias -g '${1+"$@"}'='"$@"'
9006 setopt NO_GLOB_SUBST
9008 case `(set -o) 2>/dev/null` in #(
9020 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9021 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9023 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9024 # Prefer a ksh shell builtin over an external printf program on Solaris,
9025 # but without wasting forks for bash or zsh.
9026 if test -z "$BASH_VERSION$ZSH_VERSION" \
9027 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9028 as_echo='print -r --'
9029 as_echo_n='print -rn --'
9030 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9031 as_echo='printf %s\n'
9032 as_echo_n='printf %s'
9034 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9035 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9036 as_echo_n='/usr/ucb/echo -n'
9038 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9039 as_echo_n_body='eval
9043 expr "X$arg" : "X\\(.*\\)$as_nl";
9044 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9046 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9048 export as_echo_n_body
9049 as_echo_n='sh -c $as_echo_n_body as_echo'
9052 as_echo='sh -c $as_echo_body as_echo'
9055 # The user is always right.
9056 if test "${PATH_SEPARATOR+set}" != set; then
9058 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9059 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9066 # We need space, tab and new line, in precisely that order. Quoting is
9067 # there to prevent editors from complaining about space-tab.
9068 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9069 # splitting by setting IFS to empty value.)
9072 # Find who we are. Look in the path if we contain no directory separator.
9075 *[\\/]* ) as_myself=$0 ;;
9076 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 test -z "$as_dir" && as_dir=.
9081 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9087 # We did not find ourselves, most probably we were run as `sh COMMAND'
9088 # in which case we are not to be found in the path.
9089 if test "x$as_myself" = x; then
9092 if test ! -f "$as_myself"; then
9093 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9097 # Unset variables that we do not need and which cause bugs (e.g. in
9098 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9099 # suppresses any "Segmentation fault" message there. '((' could
9100 # trigger a bug in pdksh 5.2.14.
9101 for as_var in BASH_ENV ENV MAIL MAILPATH
9102 do eval test x\${$as_var+set} = xset \
9103 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9116 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9119 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9120 # ----------------------------------------
9121 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9122 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9123 # script with STATUS, using 1 if that was 0.
9126 as_status=$1; test $as_status -eq 0 && as_status=1
9128 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9129 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9131 $as_echo "$as_me: error: $2" >&2
9132 as_fn_exit $as_status
9136 # as_fn_set_status STATUS
9137 # -----------------------
9138 # Set $? to STATUS, without forking.
9142 } # as_fn_set_status
9146 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9156 # Portably unset VAR.
9159 { eval $1=; unset $1;}
9161 as_unset=as_fn_unset
9162 # as_fn_append VAR VALUE
9163 # ----------------------
9164 # Append the text in VALUE to the end of the definition contained in VAR. Take
9165 # advantage of any shell optimizations that allow amortized linear growth over
9166 # repeated appends, instead of the typical quadratic growth present in naive
9168 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9169 eval 'as_fn_append ()
9180 # as_fn_arith ARG...
9181 # ------------------
9182 # Perform arithmetic evaluation on the ARGs, and store the result in the
9183 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9184 # must be portable across $(()) and expr.
9185 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9186 eval 'as_fn_arith ()
9193 as_val=`expr "$@" || test $? -eq 1`
9198 if expr a : '\(a\)' >/dev/null 2>&1 &&
9199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9206 as_basename=basename
9211 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9217 as_me=`$as_basename -- "$0" ||
9218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9219 X"$0" : 'X\(//\)$' \| \
9220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9222 sed '/^.*\/\([^/][^/]*\)\/*$/{
9236 # Avoid depending upon Character Ranges.
9237 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9238 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9239 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9240 as_cr_digits='0123456789'
9241 as_cr_alnum=$as_cr_Letters$as_cr_digits
9243 ECHO_C= ECHO_N= ECHO_T=
9244 case `echo -n x` in #(((((
9246 case `echo 'xy\c'` in
9247 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9249 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9256 rm -f conf$$ conf$$.exe conf$$.file
9257 if test -d conf$$.dir; then
9258 rm -f conf$$.dir/conf$$.file
9261 mkdir conf$$.dir 2>/dev/null
9263 if (echo >conf$$.file) 2>/dev/null; then
9264 if ln -s conf$$.file conf$$ 2>/dev/null; then
9266 # ... but there are two gotchas:
9267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9269 # In both cases, we have to default to `cp -pR'.
9270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9272 elif ln conf$$.file conf$$ 2>/dev/null; then
9280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9281 rmdir conf$$.dir 2>/dev/null
9286 # Create "$as_dir" as a directory, including parents if necessary.
9291 -*) as_dir=./$as_dir;;
9293 test -d "$as_dir" || eval $as_mkdir_p || {
9297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9298 *) as_qdir=$as_dir;;
9300 as_dirs="'$as_qdir' $as_dirs"
9301 as_dir=`$as_dirname -- "$as_dir" ||
9302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9303 X"$as_dir" : 'X\(//\)[^/]' \| \
9304 X"$as_dir" : 'X\(//\)$' \| \
9305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9306 $as_echo X"$as_dir" |
9307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9324 test -d "$as_dir" && break
9326 test -z "$as_dirs" || eval "mkdir $as_dirs"
9327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9331 if mkdir -p . 2>/dev/null; then
9332 as_mkdir_p='mkdir -p "$as_dir"'
9334 test -d ./-p && rmdir ./-p
9339 # as_fn_executable_p FILE
9340 # -----------------------
9341 # Test if FILE is an executable regular file.
9342 as_fn_executable_p ()
9344 test -f "$1" && test -x "$1"
9345 } # as_fn_executable_p
9347 as_executable_p=as_fn_executable_p
9349 # Sed expression to map a string onto a valid CPP name.
9350 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9352 # Sed expression to map a string onto a valid variable name.
9353 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9357 ## ----------------------------------- ##
9358 ## Main body of $CONFIG_STATUS script. ##
9359 ## ----------------------------------- ##
9361 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9364 # Save the log message, to keep $0 and so on meaningful, and to
9365 # report actual input values of CONFIG_FILES etc. instead of their
9366 # values after options handling.
9368 This file was extended by psensor $as_me 1.1.3, which was
9369 generated by GNU Autoconf 2.69. Invocation command line was
9371 CONFIG_FILES = $CONFIG_FILES
9372 CONFIG_HEADERS = $CONFIG_HEADERS
9373 CONFIG_LINKS = $CONFIG_LINKS
9374 CONFIG_COMMANDS = $CONFIG_COMMANDS
9377 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9382 case $ac_config_files in *"
9383 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9386 case $ac_config_headers in *"
9387 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9392 # Files that config.status was made for.
9393 config_files="$ac_config_files"
9394 config_headers="$ac_config_headers"
9395 config_commands="$ac_config_commands"
9399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9401 \`$as_me' instantiates files and other configuration actions
9402 from templates according to the current configuration. Unless the files
9403 and actions are specified as TAGs, all are instantiated by default.
9405 Usage: $0 [OPTION]... [TAG]...
9407 -h, --help print this help, then exit
9408 -V, --version print version number and configuration settings, then exit
9409 --config print configuration, then exit
9410 -q, --quiet, --silent
9411 do not print progress messages
9412 -d, --debug don't remove temporary files
9413 --recheck update $as_me by reconfiguring in the same conditions
9414 --file=FILE[:TEMPLATE]
9415 instantiate the configuration file FILE
9416 --header=FILE[:TEMPLATE]
9417 instantiate the configuration header FILE
9419 Configuration files:
9422 Configuration headers:
9425 Configuration commands:
9428 Report bugs to <jeanfi@gmail.com>.
9429 psensor home page: <http://wpitchoune.net/psensor>."
9432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9433 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9435 psensor config.status 1.1.3
9436 configured by $0, generated by GNU Autoconf 2.69,
9437 with options \\"\$ac_cs_config\\"
9439 Copyright (C) 2012 Free Software Foundation, Inc.
9440 This config.status script is free software; the Free Software Foundation
9441 gives unlimited permission to copy, distribute and modify it."
9448 test -n "\$AWK" || AWK=awk
9451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9452 # The default lists apply if the user does not specify any file.
9458 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9459 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9463 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9475 # Handling of the options.
9476 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9478 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9479 $as_echo "$ac_cs_version"; exit ;;
9480 --config | --confi | --conf | --con | --co | --c )
9481 $as_echo "$ac_cs_config"; exit ;;
9482 --debug | --debu | --deb | --de | --d | -d )
9484 --file | --fil | --fi | --f )
9487 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9488 '') as_fn_error $? "missing file argument" ;;
9490 as_fn_append CONFIG_FILES " '$ac_optarg'"
9491 ac_need_defaults=false;;
9492 --header | --heade | --head | --hea )
9495 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9497 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9498 ac_need_defaults=false;;
9500 # Conflict between --help and --header
9501 as_fn_error $? "ambiguous option: \`$1'
9502 Try \`$0 --help' for more information.";;
9503 --help | --hel | -h )
9504 $as_echo "$ac_cs_usage"; exit ;;
9505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9506 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9510 -*) as_fn_error $? "unrecognized option: \`$1'
9511 Try \`$0 --help' for more information." ;;
9513 *) as_fn_append ac_config_targets " $1"
9514 ac_need_defaults=false ;;
9520 ac_configure_extra_args=
9522 if $ac_cs_silent; then
9524 ac_configure_extra_args="$ac_configure_extra_args --silent"
9528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9529 if \$ac_cs_recheck; then
9530 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9532 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9533 CONFIG_SHELL='$SHELL'
9539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9543 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9544 ## Running $as_me. ##
9550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9554 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9555 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9556 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9557 # from automake < 1.5.
9558 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9559 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9560 LINGUAS="${LINGUAS-%UNSET%}"
9565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9567 # Handling of arguments.
9568 for ac_config_target in $ac_config_targets
9570 case $ac_config_target in
9571 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9572 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9573 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9574 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9575 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9576 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9577 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9578 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9579 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9580 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9581 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9582 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9583 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9584 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9585 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9586 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9587 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9588 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9589 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9590 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9591 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9592 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9593 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9595 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9600 # If the user did not use the arguments to specify the items to instantiate,
9601 # then the envvar interface is used. Set only those that are not.
9602 # We use the long form for the default assignment because of an extremely
9603 # bizarre bug on SunOS 4.1.3.
9604 if $ac_need_defaults; then
9605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9607 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9610 # Have a temporary directory for convenience. Make it in the build tree
9611 # simply because there is no reason against having it here, and in addition,
9612 # creating and moving files from /tmp can sometimes cause problems.
9613 # Hook for its removal unless debugging.
9614 # Note that there is a small window in which the directory will not be cleaned:
9615 # after its creation but before its name has been assigned to `$tmp'.
9619 trap 'exit_status=$?
9621 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9623 trap 'as_fn_exit 1' 1 2 13 15
9625 # Create a (secure) tmp directory for tmp files.
9628 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9632 tmp=./conf$$-$RANDOM
9633 (umask 077 && mkdir "$tmp")
9634 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9637 # Set up the scripts for CONFIG_FILES section.
9638 # No need to generate them if there are no CONFIG_FILES.
9639 # This happens for instance with `./config.status config.h'.
9640 if test -n "$CONFIG_FILES"; then
9643 ac_cr=`echo X | tr X '\015'`
9644 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9645 # But we know of no other shell where ac_cr would be empty at this
9646 # point, so we can use a bashism as a fallback.
9647 if test "x$ac_cr" = x; then
9648 eval ac_cr=\$\'\\r\'
9650 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9651 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9657 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9662 echo "cat >conf$$subs.awk <<_ACEOF" &&
9663 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9666 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9667 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9669 for ac_last_try in false false false false false :; do
9670 . ./conf$$subs.sh ||
9671 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9673 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9674 if test $ac_delim_n = $ac_delim_num; then
9676 elif $ac_last_try; then
9677 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9685 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9689 s/^/S["/; s/!.*/"]=/
9699 s/\(.\{148\}\)..*/\1/
9701 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9706 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9713 s/\(.\{148\}\)..*/\1/
9715 s/["\\]/\\&/g; s/^/"/; s/$/"/
9719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9724 ' <conf$$subs.awk | sed '
9729 ' >>$CONFIG_STATUS || ac_write_fail=1
9730 rm -f conf$$subs.awk
9731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9733 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9734 for (key in S) S_is_set[key] = 1
9740 nfields = split(line, field, "@")
9742 len = length(field[1])
9743 for (i = 2; i < nfields; i++) {
9745 keylen = length(key)
9746 if (S_is_set[key]) {
9748 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9749 len += length(value) + length(field[++i])
9760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9761 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9762 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9765 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9766 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9769 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9770 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9771 # trailing colons and then remove the whole line if VPATH becomes empty
9772 # (actually we leave an empty line to preserve line numbers).
9773 if test "x$srcdir" = x.; then
9774 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9793 fi # test -n "$CONFIG_FILES"
9795 # Set up the scripts for CONFIG_HEADERS section.
9796 # No need to generate them if there are no CONFIG_HEADERS.
9797 # This happens for instance with `./config.status Makefile'.
9798 if test -n "$CONFIG_HEADERS"; then
9799 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9803 # Transform confdefs.h into an awk script `defines.awk', embedded as
9804 # here-document in config.status, that substitutes the proper values into
9805 # config.h.in to produce config.h.
9807 # Create a delimiter string that does not exist in confdefs.h, to ease
9808 # handling of long lines.
9810 for ac_last_try in false false :; do
9811 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9812 if test -z "$ac_tt"; then
9814 elif $ac_last_try; then
9815 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9821 # For the awk script, D is an array of macro values keyed by name,
9822 # likewise P contains macro parameters if any. Preserve backslash
9823 # newline sequences.
9825 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9827 s/.\{148\}/&'"$ac_delim"'/g
9830 s/^[ ]*#[ ]*define[ ][ ]*/ /
9837 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9839 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9843 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9844 D["\1"]=" \3\\\\\\n"\\/p
9846 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9851 s/.\{148\}/&'"$ac_delim"'/g
9856 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9859 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9861 ' <confdefs.h | sed '
9862 s/'"$ac_delim"'/"\\\
9863 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9866 for (key in D) D_is_set[key] = 1
9869 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9871 split(line, arg, " ")
9872 if (arg[1] == "#") {
9876 defundef = substr(arg[1], 2)
9879 split(mac1, mac2, "(") #)
9881 prefix = substr(line, 1, index(line, defundef) - 1)
9882 if (D_is_set[macro]) {
9883 # Preserve the white space surrounding the "#".
9884 print prefix "define", macro P[macro] D[macro]
9887 # Replace #undef with comments. This is necessary, for example,
9888 # in the case of _POSIX_SOURCE, which is predefined and required
9889 # on some systems where configure will not decide to define it.
9890 if (defundef == "undef") {
9891 print "/*", prefix defundef, macro, "*/"
9899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9900 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9901 fi # test -n "$CONFIG_HEADERS"
9904 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9909 :[FHLC]) ac_mode=$ac_tag; continue;;
9911 case $ac_mode$ac_tag in
9913 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9914 :[FH]-) ac_tag=-:-;;
9915 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9932 -) ac_f="$ac_tmp/stdin";;
9933 *) # Look for the file first in the build tree, then in the source tree
9934 # (if the path is not absolute). The absolute path cannot be DOS-style,
9935 # because $ac_f cannot contain `:'.
9939 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9941 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9943 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9944 as_fn_append ac_file_inputs " '$ac_f'"
9947 # Let's still pretend it is `configure' which instantiates (i.e., don't
9948 # use $as_me), people would be surprised to read:
9949 # /* config.h. Generated by config.status. */
9950 configure_input='Generated from '`
9951 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9953 if test x"$ac_file" != x-; then
9954 configure_input="$ac_file. $configure_input"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9956 $as_echo "$as_me: creating $ac_file" >&6;}
9958 # Neutralize special characters interpreted by sed in replacement strings.
9959 case $configure_input in #(
9960 *\&* | *\|* | *\\* )
9961 ac_sed_conf_input=`$as_echo "$configure_input" |
9962 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9963 *) ac_sed_conf_input=$configure_input;;
9967 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9973 ac_dir=`$as_dirname -- "$ac_file" ||
9974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9975 X"$ac_file" : 'X\(//\)[^/]' \| \
9976 X"$ac_file" : 'X\(//\)$' \| \
9977 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9978 $as_echo X"$ac_file" |
9979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9996 as_dir="$ac_dir"; as_fn_mkdir_p
10000 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10002 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10003 # A ".." for each directory in $ac_dir_suffix.
10004 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10005 case $ac_top_builddir_sub in
10006 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10007 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10010 ac_abs_top_builddir=$ac_pwd
10011 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10012 # for backward compatibility:
10013 ac_top_builddir=$ac_top_build_prefix
10016 .) # We are building in place.
10018 ac_top_srcdir=$ac_top_builddir_sub
10019 ac_abs_top_srcdir=$ac_pwd ;;
10020 [\\/]* | ?:[\\/]* ) # Absolute name.
10021 ac_srcdir=$srcdir$ac_dir_suffix;
10022 ac_top_srcdir=$srcdir
10023 ac_abs_top_srcdir=$srcdir ;;
10024 *) # Relative name.
10025 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10026 ac_top_srcdir=$ac_top_build_prefix$srcdir
10027 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10029 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10039 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10040 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10042 ac_MKDIR_P=$MKDIR_P
10044 [\\/$]* | ?:[\\/]* ) ;;
10045 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10050 # If the template does not know about datarootdir, expand it.
10051 # FIXME: This hack should be removed a few years after 2.60.
10052 ac_datarootdir_hack=; ac_datarootdir_seen=
10063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10064 *datarootdir*) ac_datarootdir_seen=yes;;
10065 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10070 ac_datarootdir_hack='
10071 s&@datadir@&$datadir&g
10072 s&@docdir@&$docdir&g
10073 s&@infodir@&$infodir&g
10074 s&@localedir@&$localedir&g
10075 s&@mandir@&$mandir&g
10076 s&\\\${datarootdir}&$datarootdir&g' ;;
10080 # Neutralize VPATH when `$srcdir' = `.'.
10081 # Shell code in configure.ac might set extrasub.
10082 # FIXME: do we really want to maintain this feature?
10083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10084 ac_sed_extra="$ac_vpsub
10087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10090 s|@configure_input@|$ac_sed_conf_input|;t t
10091 s&@top_builddir@&$ac_top_builddir_sub&;t t
10092 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10093 s&@srcdir@&$ac_srcdir&;t t
10094 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10095 s&@top_srcdir@&$ac_top_srcdir&;t t
10096 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10097 s&@builddir@&$ac_builddir&;t t
10098 s&@abs_builddir@&$ac_abs_builddir&;t t
10099 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10100 s&@INSTALL@&$ac_INSTALL&;t t
10101 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10102 $ac_datarootdir_hack
10104 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10105 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10108 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10110 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10112 which seems to be undefined. Please make sure it is defined" >&5
10113 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10114 which seems to be undefined. Please make sure it is defined" >&2;}
10116 rm -f "$ac_tmp/stdin"
10118 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10119 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10127 if test x"$ac_file" != x-; then
10129 $as_echo "/* $configure_input */" \
10130 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10131 } >"$ac_tmp/config.h" \
10132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10133 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10135 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10138 mv "$ac_tmp/config.h" "$ac_file" \
10139 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10142 $as_echo "/* $configure_input */" \
10143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10144 || as_fn_error $? "could not create -" "$LINENO" 5
10146 # Compute "$ac_file"'s index in $config_headers.
10149 for _am_header in $config_headers :; do
10150 case $_am_header in
10151 $_am_arg | $_am_arg:* )
10154 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10157 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10158 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10159 X"$_am_arg" : 'X\(//\)[^/]' \| \
10160 X"$_am_arg" : 'X\(//\)$' \| \
10161 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10162 $as_echo X"$_am_arg" |
10163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10167 /^X\(\/\/\)[^/].*/{
10179 s/.*/./; q'`/stamp-h$_am_stamp_count
10182 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10183 $as_echo "$as_me: executing $ac_file commands" >&6;}
10188 case $ac_file$ac_mode in
10189 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10190 # Older Autoconf quotes --file arguments for eval, but not when files
10191 # are listed without --file. Let's play safe and only enable the eval
10192 # if we detect the quoting.
10193 case $CONFIG_FILES in
10194 *\'*) eval set x "$CONFIG_FILES" ;;
10195 *) set x $CONFIG_FILES ;;
10200 # Strip MF so we end up with the name of the file.
10201 mf=`echo "$mf" | sed -e 's/:.*$//'`
10202 # Check whether this is an Automake generated Makefile or not.
10203 # We used to match only the files named 'Makefile.in', but
10204 # some people rename them; so instead we look at the file content.
10205 # Grep'ing the first line is not enough: some people post-process
10206 # each Makefile.in and add a new line on top of each file to say so.
10207 # Grep'ing the whole file is not good either: AIX grep has a line
10208 # limit of 2048, but all sed's we know have understand at least 4000.
10209 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10210 dirpart=`$as_dirname -- "$mf" ||
10211 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10212 X"$mf" : 'X\(//\)[^/]' \| \
10213 X"$mf" : 'X\(//\)$' \| \
10214 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10220 /^X\(\/\/\)[^/].*/{
10236 # Extract the definition of DEPDIR, am__include, and am__quote
10237 # from the Makefile without running 'make'.
10238 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10239 test -z "$DEPDIR" && continue
10240 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10241 test -z "$am__include" && continue
10242 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10243 # Find all dependency output files, they are included files with
10244 # $(DEPDIR) in their names. We invoke sed twice because it is the
10245 # simplest approach to changing $(DEPDIR) to its actual value in the
10247 for file in `sed -n "
10248 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10249 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10250 # Make sure the directory exists.
10251 test -f "$dirpart/$file" && continue
10252 fdir=`$as_dirname -- "$file" ||
10253 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10254 X"$file" : 'X\(//\)[^/]' \| \
10255 X"$file" : 'X\(//\)$' \| \
10256 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10257 $as_echo X"$file" |
10258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10262 /^X\(\/\/\)[^/].*/{
10275 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10276 # echo "creating $dirpart/$file"
10277 echo '# dummy' > "$dirpart/$file"
10282 "po-directories":C)
10283 for ac_file in $CONFIG_FILES; do
10284 # Support "outfile[:infile[:infile...]]"
10286 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10288 # PO directories have a Makefile.in generated from Makefile.in.in.
10289 case "$ac_file" in */Makefile.in)
10290 # Adjust a relative srcdir.
10291 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10292 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10293 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10294 # In autoconf-2.13 it is called $ac_given_srcdir.
10295 # In autoconf-2.50 it is called $srcdir.
10296 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10297 case "$ac_given_srcdir" in
10298 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10299 /*) top_srcdir="$ac_given_srcdir" ;;
10300 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10302 # Treat a directory as a PO directory if and only if it has a
10303 # POTFILES.in file. This allows packages to have multiple PO
10304 # directories under different names or in different locations.
10305 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10306 rm -f "$ac_dir/POTFILES"
10307 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10308 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10309 POMAKEFILEDEPS="POTFILES.in"
10310 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10311 # on $ac_dir but don't depend on user-specified configuration
10313 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10314 # The LINGUAS file contains the set of available languages.
10315 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10316 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10318 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10319 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10320 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10321 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10323 # The set of available languages was given in configure.in.
10324 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10325 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10328 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10329 # Compute UPDATEPOFILES
10330 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10331 # Compute DUMMYPOFILES
10332 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10334 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10335 case "$ac_given_srcdir" in
10337 *) srcdirpre='$(srcdir)/' ;;
10343 for lang in $ALL_LINGUAS; do
10344 POFILES="$POFILES $srcdirpre$lang.po"
10345 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10346 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10347 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10349 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10350 # environment variable.
10352 if test -n "$ALL_LINGUAS"; then
10353 for presentlang in $ALL_LINGUAS; do
10355 if test "%UNSET%" != "$LINGUAS"; then
10356 desiredlanguages="$LINGUAS"
10358 desiredlanguages="$ALL_LINGUAS"
10360 for desiredlang in $desiredlanguages; do
10361 # Use the presentlang catalog if desiredlang is
10362 # a. equal to presentlang, or
10363 # b. a variant of presentlang (because in this case,
10364 # presentlang can be used as a fallback for messages
10365 # which are not translated in the desiredlang catalog).
10366 case "$desiredlang" in
10367 "$presentlang"*) useit=yes;;
10370 if test $useit = yes; then
10371 INST_LINGUAS="$INST_LINGUAS $presentlang"
10376 if test -n "$INST_LINGUAS"; then
10377 for lang in $INST_LINGUAS; do
10378 CATALOGS="$CATALOGS $lang.gmo"
10381 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10382 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"
10383 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10384 if test -f "$f"; then
10386 *.orig | *.bak | *~) ;;
10387 *) cat "$f" >> "$ac_dir/Makefile" ;;
10402 ac_clean_files=$ac_clean_files_save
10404 test $ac_write_fail = 0 ||
10405 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10408 # configure is writing to config.log, and then calls config.status.
10409 # config.status does its own redirection, appending to config.log.
10410 # Unfortunately, on DOS this fails, as config.log is still kept open
10411 # by configure, so config.status won't be able to write to it; its
10412 # output is simply discarded. So we exec the FD to /dev/null,
10413 # effectively closing config.log, so it can be properly (re)opened and
10414 # appended to by config.status. When coming back to configure, we
10415 # need to make the FD available again.
10416 if test "$no_create" != yes; then
10418 ac_config_status_args=
10419 test "$silent" = yes &&
10420 ac_config_status_args="$ac_config_status_args --quiet"
10422 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10424 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10425 # would make configure fail if this is the last instruction.
10426 $ac_cs_success || as_fn_exit 1
10428 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10430 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}