2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.1.2.
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.2'
584 PACKAGE_STRING='psensor 1.1.2'
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.2 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.2:";;
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.2
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.2, 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 deprecated symbols are used
7408 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
7409 GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
7410 # ensure use of accessors
7411 GTK_CFLAGS+=" -DGSEAL_ENABLE "
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDISKS2" >&5
7419 $as_echo_n "checking for LIBUDISKS2... " >&6; }
7421 if test -n "$LIBUDISKS2_CFLAGS"; then
7422 pkg_cv_LIBUDISKS2_CFLAGS="$LIBUDISKS2_CFLAGS"
7423 elif test -n "$PKG_CONFIG"; then
7424 if test -n "$PKG_CONFIG" && \
7425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7426 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7429 test $ac_status = 0; }; then
7430 pkg_cv_LIBUDISKS2_CFLAGS=`$PKG_CONFIG --cflags "udisks2" 2>/dev/null`
7431 test "x$?" != "x0" && pkg_failed=yes
7438 if test -n "$LIBUDISKS2_LIBS"; then
7439 pkg_cv_LIBUDISKS2_LIBS="$LIBUDISKS2_LIBS"
7440 elif test -n "$PKG_CONFIG"; then
7441 if test -n "$PKG_CONFIG" && \
7442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7443 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7446 test $ac_status = 0; }; then
7447 pkg_cv_LIBUDISKS2_LIBS=`$PKG_CONFIG --libs "udisks2" 2>/dev/null`
7448 test "x$?" != "x0" && pkg_failed=yes
7458 if test $pkg_failed = yes; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7463 _pkg_short_errors_supported=yes
7465 _pkg_short_errors_supported=no
7467 if test $_pkg_short_errors_supported = yes; then
7468 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udisks2" 2>&1`
7470 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "udisks2" 2>&1`
7472 # Put the nasty error message in config.log where it belongs
7473 echo "$LIBUDISKS2_PKG_ERRORS" >&5
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7476 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7477 elif test $pkg_failed = untried; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7481 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7483 LIBUDISKS2_CFLAGS=$pkg_cv_LIBUDISKS2_CFLAGS
7484 LIBUDISKS2_LIBS=$pkg_cv_LIBUDISKS2_LIBS
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7486 $as_echo "yes" >&6; }
7488 $as_echo "#define HAVE_LIBUDISKS2 1" >>confdefs.h
7491 if test -n "$LIBUDISKS2_LIBS"; then
7493 LIBUDISKS2_FALSE='#'
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
7506 $as_echo_n "checking for ATASMART... " >&6; }
7508 if test -n "$ATASMART_CFLAGS"; then
7509 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
7510 elif test -n "$PKG_CONFIG"; then
7511 if test -n "$PKG_CONFIG" && \
7512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7513 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7516 test $ac_status = 0; }; then
7517 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
7518 test "x$?" != "x0" && pkg_failed=yes
7525 if test -n "$ATASMART_LIBS"; then
7526 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
7527 elif test -n "$PKG_CONFIG"; then
7528 if test -n "$PKG_CONFIG" && \
7529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7530 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7533 test $ac_status = 0; }; then
7534 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
7535 test "x$?" != "x0" && pkg_failed=yes
7545 if test $pkg_failed = yes; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7550 _pkg_short_errors_supported=yes
7552 _pkg_short_errors_supported=no
7554 if test $_pkg_short_errors_supported = yes; then
7555 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
7557 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
7559 # Put the nasty error message in config.log where it belongs
7560 echo "$ATASMART_PKG_ERRORS" >&5
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7563 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7564 elif test $pkg_failed = untried; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7568 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7570 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
7571 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7573 $as_echo "yes" >&6; }
7575 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
7579 if test -n "$ATASMART_LIBS"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7595 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7597 if test -n "$LIBNOTIFY_CFLAGS"; then
7598 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7599 elif test -n "$PKG_CONFIG"; then
7600 if test -n "$PKG_CONFIG" && \
7601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7602 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605 test $ac_status = 0; }; then
7606 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7607 test "x$?" != "x0" && pkg_failed=yes
7614 if test -n "$LIBNOTIFY_LIBS"; then
7615 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7616 elif test -n "$PKG_CONFIG"; then
7617 if test -n "$PKG_CONFIG" && \
7618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7619 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7622 test $ac_status = 0; }; then
7623 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7624 test "x$?" != "x0" && pkg_failed=yes
7634 if test $pkg_failed = yes; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7639 _pkg_short_errors_supported=yes
7641 _pkg_short_errors_supported=no
7643 if test $_pkg_short_errors_supported = yes; then
7644 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7646 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7648 # Put the nasty error message in config.log where it belongs
7649 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7652 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7653 elif test $pkg_failed = untried; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7657 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7659 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7660 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7662 $as_echo "yes" >&6; }
7664 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7667 if test -n "$LIBNOTIFY_LIBS"; then
7678 # Checks AppIndicator
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7684 $as_echo_n "checking for APPINDICATOR... " >&6; }
7686 if test -n "$APPINDICATOR_CFLAGS"; then
7687 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7688 elif test -n "$PKG_CONFIG"; then
7689 if test -n "$PKG_CONFIG" && \
7690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7691 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7694 test $ac_status = 0; }; then
7695 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7696 test "x$?" != "x0" && pkg_failed=yes
7703 if test -n "$APPINDICATOR_LIBS"; then
7704 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7705 elif test -n "$PKG_CONFIG"; then
7706 if test -n "$PKG_CONFIG" && \
7707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7708 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7711 test $ac_status = 0; }; then
7712 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7713 test "x$?" != "x0" && pkg_failed=yes
7723 if test $pkg_failed = yes; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7728 _pkg_short_errors_supported=yes
7730 _pkg_short_errors_supported=no
7732 if test $_pkg_short_errors_supported = yes; then
7733 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7735 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7737 # Put the nasty error message in config.log where it belongs
7738 echo "$APPINDICATOR_PKG_ERRORS" >&5
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7741 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7742 elif test $pkg_failed = untried; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7746 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7748 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7749 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7751 $as_echo "yes" >&6; }
7753 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7757 if test "$APPINDICATOR_LIBS" == ""; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7761 $as_echo_n "checking for APPINDICATOR... " >&6; }
7763 if test -n "$APPINDICATOR_CFLAGS"; then
7764 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7765 elif test -n "$PKG_CONFIG"; then
7766 if test -n "$PKG_CONFIG" && \
7767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7768 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7771 test $ac_status = 0; }; then
7772 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7773 test "x$?" != "x0" && pkg_failed=yes
7780 if test -n "$APPINDICATOR_LIBS"; then
7781 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7782 elif test -n "$PKG_CONFIG"; then
7783 if test -n "$PKG_CONFIG" && \
7784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7785 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7788 test $ac_status = 0; }; then
7789 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7790 test "x$?" != "x0" && pkg_failed=yes
7800 if test $pkg_failed = yes; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7805 _pkg_short_errors_supported=yes
7807 _pkg_short_errors_supported=no
7809 if test $_pkg_short_errors_supported = yes; then
7810 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7812 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7814 # Put the nasty error message in config.log where it belongs
7815 echo "$APPINDICATOR_PKG_ERRORS" >&5
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7818 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7819 elif test $pkg_failed = untried; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821 $as_echo "no" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7823 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7825 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7826 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7828 $as_echo "yes" >&6; }
7830 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7833 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
7839 if test "$APPINDICATOR_LIBS" == ""; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7843 $as_echo_n "checking for APPINDICATOR... " >&6; }
7845 if test -n "$APPINDICATOR_CFLAGS"; then
7846 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7847 elif test -n "$PKG_CONFIG"; then
7848 if test -n "$PKG_CONFIG" && \
7849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7850 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7853 test $ac_status = 0; }; then
7854 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
7855 test "x$?" != "x0" && pkg_failed=yes
7862 if test -n "$APPINDICATOR_LIBS"; then
7863 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7864 elif test -n "$PKG_CONFIG"; then
7865 if test -n "$PKG_CONFIG" && \
7866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7867 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7870 test $ac_status = 0; }; then
7871 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
7872 test "x$?" != "x0" && pkg_failed=yes
7882 if test $pkg_failed = yes; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7884 $as_echo "no" >&6; }
7886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7887 _pkg_short_errors_supported=yes
7889 _pkg_short_errors_supported=no
7891 if test $_pkg_short_errors_supported = yes; then
7892 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7894 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7896 # Put the nasty error message in config.log where it belongs
7897 echo "$APPINDICATOR_PKG_ERRORS" >&5
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7900 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7901 elif test $pkg_failed = untried; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7905 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7907 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7908 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7910 $as_echo "yes" >&6; }
7912 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7916 if test -n "$APPINDICATOR_LIBS"; then
7918 APPINDICATOR_FALSE='#'
7920 APPINDICATOR_TRUE='#'
7927 # Check CURL, needed for remote monitoring
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7932 $as_echo_n "checking for CURL... " >&6; }
7934 if test -n "$CURL_CFLAGS"; then
7935 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7936 elif test -n "$PKG_CONFIG"; then
7937 if test -n "$PKG_CONFIG" && \
7938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7939 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942 test $ac_status = 0; }; then
7943 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7944 test "x$?" != "x0" && pkg_failed=yes
7951 if test -n "$CURL_LIBS"; then
7952 pkg_cv_CURL_LIBS="$CURL_LIBS"
7953 elif test -n "$PKG_CONFIG"; then
7954 if test -n "$PKG_CONFIG" && \
7955 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7956 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7959 test $ac_status = 0; }; then
7960 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7961 test "x$?" != "x0" && pkg_failed=yes
7971 if test $pkg_failed = yes; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7976 _pkg_short_errors_supported=yes
7978 _pkg_short_errors_supported=no
7980 if test $_pkg_short_errors_supported = yes; then
7981 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
7983 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
7985 # Put the nasty error message in config.log where it belongs
7986 echo "$CURL_PKG_ERRORS" >&5
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7989 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7990 elif test $pkg_failed = untried; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992 $as_echo "no" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7994 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7996 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
7997 CURL_LIBS=$pkg_cv_CURL_LIBS
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7999 $as_echo "yes" >&6; }
8001 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8004 if test -n "$CURL_LIBS"; then
8015 # Check JSON, needed for remote monitoring
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8020 $as_echo_n "checking for JSON... " >&6; }
8022 if test -n "$JSON_CFLAGS"; then
8023 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8024 elif test -n "$PKG_CONFIG"; then
8025 if test -n "$PKG_CONFIG" && \
8026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
8027 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
8029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8030 test $ac_status = 0; }; then
8031 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11.99" 2>/dev/null`
8032 test "x$?" != "x0" && pkg_failed=yes
8039 if test -n "$JSON_LIBS"; then
8040 pkg_cv_JSON_LIBS="$JSON_LIBS"
8041 elif test -n "$PKG_CONFIG"; then
8042 if test -n "$PKG_CONFIG" && \
8043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
8044 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
8046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8047 test $ac_status = 0; }; then
8048 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11.99" 2>/dev/null`
8049 test "x$?" != "x0" && pkg_failed=yes
8059 if test $pkg_failed = yes; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8064 _pkg_short_errors_supported=yes
8066 _pkg_short_errors_supported=no
8068 if test $_pkg_short_errors_supported = yes; then
8069 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
8071 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
8073 # Put the nasty error message in config.log where it belongs
8074 echo "$JSON_PKG_ERRORS" >&5
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8077 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8078 elif test $pkg_failed = untried; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8080 $as_echo "no" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8082 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8084 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8085 JSON_LIBS=$pkg_cv_JSON_LIBS
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8087 $as_echo "yes" >&6; }
8089 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8093 if test "$JSON_LIBS" == ""; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8097 $as_echo_n "checking for JSON... " >&6; }
8099 if test -n "$JSON_CFLAGS"; then
8100 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8101 elif test -n "$PKG_CONFIG"; then
8102 if test -n "$PKG_CONFIG" && \
8103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
8104 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
8106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8107 test $ac_status = 0; }; then
8108 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.11.99" 2>/dev/null`
8109 test "x$?" != "x0" && pkg_failed=yes
8116 if test -n "$JSON_LIBS"; then
8117 pkg_cv_JSON_LIBS="$JSON_LIBS"
8118 elif test -n "$PKG_CONFIG"; then
8119 if test -n "$PKG_CONFIG" && \
8120 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
8121 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
8123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8124 test $ac_status = 0; }; then
8125 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.11.99" 2>/dev/null`
8126 test "x$?" != "x0" && pkg_failed=yes
8136 if test $pkg_failed = yes; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138 $as_echo "no" >&6; }
8140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8141 _pkg_short_errors_supported=yes
8143 _pkg_short_errors_supported=no
8145 if test $_pkg_short_errors_supported = yes; then
8146 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8148 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8150 # Put the nasty error message in config.log where it belongs
8151 echo "$JSON_PKG_ERRORS" >&5
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8154 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8155 elif test $pkg_failed = untried; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8159 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8161 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8162 JSON_LIBS=$pkg_cv_JSON_LIBS
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8164 $as_echo "yes" >&6; }
8166 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8169 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8174 if test -n "$JSON_LIBS"; then
8185 # Enables remote monitoring if JSON and CURL is present
8186 if test -n "$JSON_LIBS"; then
8187 if test -n "$CURL_LIBS"; then
8189 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8195 # following code from sensors-applet
8196 # sensors-applet.sourceforge.net/
8197 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8200 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8201 #include <X11/Xlib.h>
8204 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8205 cat >>confdefs.h <<_ACEOF
8206 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8213 if test -n "${X11_LIBS}"; then
8214 LIBS="${LIBS} -lX11 -lXext"
8216 if test "${HAVE_NVIDIA}" = "true"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8218 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8219 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8220 $as_echo_n "(cached) " >&6
8222 ac_check_lib_save_LIBS=$LIBS
8223 LIBS="-lXNVCtrl $LIBS"
8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8225 /* end confdefs.h. */
8227 /* Override any GCC internal prototype to avoid an error.
8228 Use char because int might match the return type of a GCC
8229 builtin and then its argument prototype would still apply. */
8233 char XNVCTRLQueryExtension ();
8237 return XNVCTRLQueryExtension ();
8242 if ac_fn_c_try_link "$LINENO"; then :
8243 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8245 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8247 rm -f core conftest.err conftest.$ac_objext \
8248 conftest$ac_exeext conftest.$ac_ext
8249 LIBS=$ac_check_lib_save_LIBS
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8252 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8253 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8254 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8256 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8263 if test -n "$NVIDIA_LIBS"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8278 $as_echo_n "checking for UNITY... " >&6; }
8280 if test -n "$UNITY_CFLAGS"; then
8281 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8282 elif test -n "$PKG_CONFIG"; then
8283 if test -n "$PKG_CONFIG" && \
8284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8285 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8288 test $ac_status = 0; }; then
8289 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8290 test "x$?" != "x0" && pkg_failed=yes
8297 if test -n "$UNITY_LIBS"; then
8298 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8299 elif test -n "$PKG_CONFIG"; then
8300 if test -n "$PKG_CONFIG" && \
8301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8302 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8305 test $ac_status = 0; }; then
8306 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8307 test "x$?" != "x0" && pkg_failed=yes
8317 if test $pkg_failed = yes; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8321 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8322 _pkg_short_errors_supported=yes
8324 _pkg_short_errors_supported=no
8326 if test $_pkg_short_errors_supported = yes; then
8327 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8329 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8331 # Put the nasty error message in config.log where it belongs
8332 echo "$UNITY_PKG_ERRORS" >&5
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8335 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8336 elif test $pkg_failed = untried; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8340 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8342 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8343 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8345 $as_echo "yes" >&6; }
8347 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8352 if test -n "$UNITY_LIBS"; then
8363 # Check whether --with-libatiadl was given.
8364 if test "${with_libatiadl+set}" = set; then :
8365 withval=$with_libatiadl;
8366 ATIADL_DIR=${withval}
8367 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8368 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8374 for ac_header in adl_defines.h
8376 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8377 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8378 cat >>confdefs.h <<_ACEOF
8379 #define HAVE_ADL_DEFINES_H 1
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8382 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8383 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8384 $as_echo_n "(cached) " >&6
8386 ac_check_lib_save_LIBS=$LIBS
8387 LIBS="-latiadlxx $LIBS"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8391 /* Override any GCC internal prototype to avoid an error.
8392 Use char because int might match the return type of a GCC
8393 builtin and then its argument prototype would still apply. */
8397 char ADL_Main_Control_Refresh ();
8401 return ADL_Main_Control_Refresh ();
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8409 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 LIBS=$ac_check_lib_save_LIBS
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8416 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8417 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8420 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8422 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8423 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8432 if test -n "$LIBATIADL_LIBS"; then
8443 ############### psensor-server
8445 # Check libmicrohttpd, mandatory for psensor-server
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8450 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8452 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8453 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8454 elif test -n "$PKG_CONFIG"; then
8455 if test -n "$PKG_CONFIG" && \
8456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8457 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8460 test $ac_status = 0; }; then
8461 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8462 test "x$?" != "x0" && pkg_failed=yes
8469 if test -n "$LIBMICROHTTPD_LIBS"; then
8470 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8471 elif test -n "$PKG_CONFIG"; then
8472 if test -n "$PKG_CONFIG" && \
8473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8474 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8477 test $ac_status = 0; }; then
8478 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8479 test "x$?" != "x0" && pkg_failed=yes
8489 if test $pkg_failed = yes; then
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491 $as_echo "no" >&6; }
8493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8494 _pkg_short_errors_supported=yes
8496 _pkg_short_errors_supported=no
8498 if test $_pkg_short_errors_supported = yes; then
8499 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8501 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8503 # Put the nasty error message in config.log where it belongs
8504 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8507 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8508 elif test $pkg_failed = untried; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8512 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8514 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8515 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8517 $as_echo "yes" >&6; }
8519 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8522 if test -n "$LIBMICROHTTPD_LIBS"; then
8524 LIBMICROHTTPD_FALSE='#'
8526 LIBMICROHTTPD_TRUE='#'
8527 LIBMICROHTTPD_FALSE=
8533 # Check gtop2, optional
8535 # Check whether --with-gtop was given.
8536 if test "${with_gtop+set}" = set; then :
8547 if test "$with_gtop" = "yes"; then
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8551 $as_echo_n "checking for GTOP... " >&6; }
8553 if test -n "$GTOP_CFLAGS"; then
8554 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8555 elif test -n "$PKG_CONFIG"; then
8556 if test -n "$PKG_CONFIG" && \
8557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8558 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8561 test $ac_status = 0; }; then
8562 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8563 test "x$?" != "x0" && pkg_failed=yes
8570 if test -n "$GTOP_LIBS"; then
8571 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8572 elif test -n "$PKG_CONFIG"; then
8573 if test -n "$PKG_CONFIG" && \
8574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8575 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8578 test $ac_status = 0; }; then
8579 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8580 test "x$?" != "x0" && pkg_failed=yes
8590 if test $pkg_failed = yes; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8595 _pkg_short_errors_supported=yes
8597 _pkg_short_errors_supported=no
8599 if test $_pkg_short_errors_supported = yes; then
8600 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8602 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8604 # Put the nasty error message in config.log where it belongs
8605 echo "$GTOP_PKG_ERRORS" >&5
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8608 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8609 elif test $pkg_failed = untried; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8611 $as_echo "no" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8613 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8615 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8616 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8618 $as_echo "yes" >&6; }
8620 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8624 if test -n "$GTOP_LIBS"; then
8635 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"
8638 for ac_prog in help2man
8640 # Extract the first word of "$ac_prog", so it can be a program name with args.
8641 set dummy $ac_prog; ac_word=$2
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8643 $as_echo_n "checking for $ac_word... " >&6; }
8644 if ${ac_cv_prog_HELP2MAN+:} false; then :
8645 $as_echo_n "(cached) " >&6
8647 if test -n "$HELP2MAN"; then
8648 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8654 test -z "$as_dir" && as_dir=.
8655 for ac_exec_ext in '' $ac_executable_extensions; do
8656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8657 ac_cv_prog_HELP2MAN="$ac_prog"
8658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8667 HELP2MAN=$ac_cv_prog_HELP2MAN
8668 if test -n "$HELP2MAN"; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8670 $as_echo "$HELP2MAN" >&6; }
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8673 $as_echo "no" >&6; }
8677 test -n "$HELP2MAN" && break
8681 # Extract the first word of "asciidoc", so it can be a program name with args.
8682 set dummy asciidoc; ac_word=$2
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8684 $as_echo_n "checking for $ac_word... " >&6; }
8685 if ${ac_cv_prog_ASCIIDOC+:} false; then :
8686 $as_echo_n "(cached) " >&6
8688 if test -n "$ASCIIDOC"; then
8689 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
8691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8695 test -z "$as_dir" && as_dir=.
8696 for ac_exec_ext in '' $ac_executable_extensions; do
8697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_prog_ASCIIDOC="yes"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708 ASCIIDOC=$ac_cv_prog_ASCIIDOC
8709 if test -n "$ASCIIDOC"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
8711 $as_echo "$ASCIIDOC" >&6; }
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8718 if test -n "$ASCIIDOC"; then
8727 # Extract the first word of "cppcheck", so it can be a program name with args.
8728 set dummy cppcheck; ac_word=$2
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8730 $as_echo_n "checking for $ac_word... " >&6; }
8731 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
8732 $as_echo_n "(cached) " >&6
8734 if test -n "$HAVE_CPPCHECK"; then
8735 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
8737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8741 test -z "$as_dir" && as_dir=.
8742 for ac_exec_ext in '' $ac_executable_extensions; do
8743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8744 ac_cv_prog_HAVE_CPPCHECK="yes"
8745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8754 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
8755 if test -n "$HAVE_CPPCHECK"; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
8757 $as_echo "$HAVE_CPPCHECK" >&6; }
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8760 $as_echo "no" >&6; }
8764 if test -n "$HAVE_CPPCHECK"; then
8773 cat >confcache <<\_ACEOF
8774 # This file is a shell script that caches the results of configure
8775 # tests run on this system so they can be shared between configure
8776 # scripts and configure runs, see configure's option --config-cache.
8777 # It is not useful on other systems. If it contains results you don't
8778 # want to keep, you may remove or edit it.
8780 # config.status only pays attention to the cache file if you give it
8781 # the --recheck option to rerun configure.
8783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8789 # The following way of writing the cache mishandles newlines in values,
8790 # but we know of no workaround that is simple, portable, and efficient.
8791 # So, we kill variables containing newlines.
8792 # Ultrix sh set writes to stderr and can't be redirected directly,
8793 # and sets the high bit in the cache file unless we assign to the vars.
8795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8796 eval ac_val=\$$ac_var
8800 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8804 _ | IFS | as_nl) ;; #(
8805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8806 *) { eval $ac_var=; unset $ac_var;} ;;
8812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8813 *${as_nl}ac_space=\ *)
8814 # `set' does not quote correctly, so add quotes: double-quote
8815 # substitution turns \\\\ into \\, and sed turns \\ into \.
8818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8821 # `set' quotes correctly as required by POSIX, so do not add quotes.
8822 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8836 if test -w "$cache_file"; then
8837 if test "x$cache_file" != "x/dev/null"; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8839 $as_echo "$as_me: updating cache $cache_file" >&6;}
8840 if test ! -f "$cache_file" || test -h "$cache_file"; then
8841 cat confcache >"$cache_file"
8843 case $cache_file in #(
8845 mv -f confcache "$cache_file"$$ &&
8846 mv -f "$cache_file"$$ "$cache_file" ;; #(
8848 mv -f confcache "$cache_file" ;;
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8854 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8859 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8860 # Let make expand exec_prefix.
8861 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8863 DEFS=-DHAVE_CONFIG_H
8868 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8869 # 1. Remove the extension, and $U if already installed.
8870 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8871 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8872 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8873 # will be set to the directory where LIBOBJS objects are built.
8874 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8875 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8879 LTLIBOBJS=$ac_ltlibobjs
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8883 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8884 if test -n "$am_sleep_pid"; then
8885 # Hide warnings about reused PIDs.
8886 wait $am_sleep_pid 2>/dev/null
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8889 $as_echo "done" >&6; }
8890 if test -n "$EXEEXT"; then
8892 am__EXEEXT_FALSE='#'
8898 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8899 as_fn_error $? "conditional \"AMDEP\" was never defined.
8900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8902 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8903 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8906 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
8907 as_fn_error $? "conditional \"X11\" was never defined.
8908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8910 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
8911 as_fn_error $? "conditional \"XEXT\" was never defined.
8912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8914 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8915 as_fn_error $? "conditional \"GTK\" was never defined.
8916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8918 if test -z "${LIBUDISKS2_TRUE}" && test -z "${LIBUDISKS2_FALSE}"; then
8919 as_fn_error $? "conditional \"LIBUDISKS2\" was never defined.
8920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8922 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
8923 as_fn_error $? "conditional \"ATASMART\" was never defined.
8924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8926 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8927 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8930 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8931 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8934 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8935 as_fn_error $? "conditional \"CURL\" was never defined.
8936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8938 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8939 as_fn_error $? "conditional \"JSON\" was never defined.
8940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8942 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8943 as_fn_error $? "conditional \"NVIDIA\" was never defined.
8944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8946 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8947 as_fn_error $? "conditional \"UNITY\" was never defined.
8948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8950 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
8951 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8954 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8955 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8958 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8959 as_fn_error $? "conditional \"GTOP\" was never defined.
8960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8962 if test -z "${ASCIIDOC_TRUE}" && test -z "${ASCIIDOC_FALSE}"; then
8963 as_fn_error $? "conditional \"ASCIIDOC\" was never defined.
8964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8966 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
8967 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
8968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8971 : "${CONFIG_STATUS=./config.status}"
8973 ac_clean_files_save=$ac_clean_files
8974 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8976 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8978 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8980 # Generated by $as_me.
8981 # Run this file to recreate the current configuration.
8982 # Compiler output produced by configure, useful for debugging
8983 # configure, is in config.log if it exists.
8989 SHELL=\${CONFIG_SHELL-$SHELL}
8992 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8993 ## -------------------- ##
8994 ## M4sh Initialization. ##
8995 ## -------------------- ##
8997 # Be more Bourne compatible
8998 DUALCASE=1; export DUALCASE # for MKS sh
8999 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9002 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9003 # is contrary to our usage. Disable this feature.
9004 alias -g '${1+"$@"}'='"$@"'
9005 setopt NO_GLOB_SUBST
9007 case `(set -o) 2>/dev/null` in #(
9019 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9020 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9021 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9023 # Prefer a ksh shell builtin over an external printf program on Solaris,
9024 # but without wasting forks for bash or zsh.
9025 if test -z "$BASH_VERSION$ZSH_VERSION" \
9026 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9027 as_echo='print -r --'
9028 as_echo_n='print -rn --'
9029 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9030 as_echo='printf %s\n'
9031 as_echo_n='printf %s'
9033 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9034 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9035 as_echo_n='/usr/ucb/echo -n'
9037 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9038 as_echo_n_body='eval
9042 expr "X$arg" : "X\\(.*\\)$as_nl";
9043 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9045 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9047 export as_echo_n_body
9048 as_echo_n='sh -c $as_echo_n_body as_echo'
9051 as_echo='sh -c $as_echo_body as_echo'
9054 # The user is always right.
9055 if test "${PATH_SEPARATOR+set}" != set; then
9057 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9058 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9065 # We need space, tab and new line, in precisely that order. Quoting is
9066 # there to prevent editors from complaining about space-tab.
9067 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9068 # splitting by setting IFS to empty value.)
9071 # Find who we are. Look in the path if we contain no directory separator.
9074 *[\\/]* ) as_myself=$0 ;;
9075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9079 test -z "$as_dir" && as_dir=.
9080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9086 # We did not find ourselves, most probably we were run as `sh COMMAND'
9087 # in which case we are not to be found in the path.
9088 if test "x$as_myself" = x; then
9091 if test ! -f "$as_myself"; then
9092 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9096 # Unset variables that we do not need and which cause bugs (e.g. in
9097 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9098 # suppresses any "Segmentation fault" message there. '((' could
9099 # trigger a bug in pdksh 5.2.14.
9100 for as_var in BASH_ENV ENV MAIL MAILPATH
9101 do eval test x\${$as_var+set} = xset \
9102 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9115 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9118 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9119 # ----------------------------------------
9120 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9121 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9122 # script with STATUS, using 1 if that was 0.
9125 as_status=$1; test $as_status -eq 0 && as_status=1
9127 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9128 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9130 $as_echo "$as_me: error: $2" >&2
9131 as_fn_exit $as_status
9135 # as_fn_set_status STATUS
9136 # -----------------------
9137 # Set $? to STATUS, without forking.
9141 } # as_fn_set_status
9145 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9155 # Portably unset VAR.
9158 { eval $1=; unset $1;}
9160 as_unset=as_fn_unset
9161 # as_fn_append VAR VALUE
9162 # ----------------------
9163 # Append the text in VALUE to the end of the definition contained in VAR. Take
9164 # advantage of any shell optimizations that allow amortized linear growth over
9165 # repeated appends, instead of the typical quadratic growth present in naive
9167 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9168 eval 'as_fn_append ()
9179 # as_fn_arith ARG...
9180 # ------------------
9181 # Perform arithmetic evaluation on the ARGs, and store the result in the
9182 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9183 # must be portable across $(()) and expr.
9184 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9185 eval 'as_fn_arith ()
9192 as_val=`expr "$@" || test $? -eq 1`
9197 if expr a : '\(a\)' >/dev/null 2>&1 &&
9198 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9204 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9205 as_basename=basename
9210 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9216 as_me=`$as_basename -- "$0" ||
9217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9218 X"$0" : 'X\(//\)$' \| \
9219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9221 sed '/^.*\/\([^/][^/]*\)\/*$/{
9235 # Avoid depending upon Character Ranges.
9236 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9237 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9238 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9239 as_cr_digits='0123456789'
9240 as_cr_alnum=$as_cr_Letters$as_cr_digits
9242 ECHO_C= ECHO_N= ECHO_T=
9243 case `echo -n x` in #(((((
9245 case `echo 'xy\c'` in
9246 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9248 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9255 rm -f conf$$ conf$$.exe conf$$.file
9256 if test -d conf$$.dir; then
9257 rm -f conf$$.dir/conf$$.file
9260 mkdir conf$$.dir 2>/dev/null
9262 if (echo >conf$$.file) 2>/dev/null; then
9263 if ln -s conf$$.file conf$$ 2>/dev/null; then
9265 # ... but there are two gotchas:
9266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9268 # In both cases, we have to default to `cp -pR'.
9269 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9271 elif ln conf$$.file conf$$ 2>/dev/null; then
9279 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9280 rmdir conf$$.dir 2>/dev/null
9285 # Create "$as_dir" as a directory, including parents if necessary.
9290 -*) as_dir=./$as_dir;;
9292 test -d "$as_dir" || eval $as_mkdir_p || {
9296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9297 *) as_qdir=$as_dir;;
9299 as_dirs="'$as_qdir' $as_dirs"
9300 as_dir=`$as_dirname -- "$as_dir" ||
9301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9302 X"$as_dir" : 'X\(//\)[^/]' \| \
9303 X"$as_dir" : 'X\(//\)$' \| \
9304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9305 $as_echo X"$as_dir" |
9306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9323 test -d "$as_dir" && break
9325 test -z "$as_dirs" || eval "mkdir $as_dirs"
9326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9330 if mkdir -p . 2>/dev/null; then
9331 as_mkdir_p='mkdir -p "$as_dir"'
9333 test -d ./-p && rmdir ./-p
9338 # as_fn_executable_p FILE
9339 # -----------------------
9340 # Test if FILE is an executable regular file.
9341 as_fn_executable_p ()
9343 test -f "$1" && test -x "$1"
9344 } # as_fn_executable_p
9346 as_executable_p=as_fn_executable_p
9348 # Sed expression to map a string onto a valid CPP name.
9349 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9351 # Sed expression to map a string onto a valid variable name.
9352 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9356 ## ----------------------------------- ##
9357 ## Main body of $CONFIG_STATUS script. ##
9358 ## ----------------------------------- ##
9360 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9363 # Save the log message, to keep $0 and so on meaningful, and to
9364 # report actual input values of CONFIG_FILES etc. instead of their
9365 # values after options handling.
9367 This file was extended by psensor $as_me 1.1.2, which was
9368 generated by GNU Autoconf 2.69. Invocation command line was
9370 CONFIG_FILES = $CONFIG_FILES
9371 CONFIG_HEADERS = $CONFIG_HEADERS
9372 CONFIG_LINKS = $CONFIG_LINKS
9373 CONFIG_COMMANDS = $CONFIG_COMMANDS
9376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9381 case $ac_config_files in *"
9382 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9385 case $ac_config_headers in *"
9386 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9391 # Files that config.status was made for.
9392 config_files="$ac_config_files"
9393 config_headers="$ac_config_headers"
9394 config_commands="$ac_config_commands"
9398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9400 \`$as_me' instantiates files and other configuration actions
9401 from templates according to the current configuration. Unless the files
9402 and actions are specified as TAGs, all are instantiated by default.
9404 Usage: $0 [OPTION]... [TAG]...
9406 -h, --help print this help, then exit
9407 -V, --version print version number and configuration settings, then exit
9408 --config print configuration, then exit
9409 -q, --quiet, --silent
9410 do not print progress messages
9411 -d, --debug don't remove temporary files
9412 --recheck update $as_me by reconfiguring in the same conditions
9413 --file=FILE[:TEMPLATE]
9414 instantiate the configuration file FILE
9415 --header=FILE[:TEMPLATE]
9416 instantiate the configuration header FILE
9418 Configuration files:
9421 Configuration headers:
9424 Configuration commands:
9427 Report bugs to <jeanfi@gmail.com>.
9428 psensor home page: <http://wpitchoune.net/psensor>."
9431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9432 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9434 psensor config.status 1.1.2
9435 configured by $0, generated by GNU Autoconf 2.69,
9436 with options \\"\$ac_cs_config\\"
9438 Copyright (C) 2012 Free Software Foundation, Inc.
9439 This config.status script is free software; the Free Software Foundation
9440 gives unlimited permission to copy, distribute and modify it."
9447 test -n "\$AWK" || AWK=awk
9450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9451 # The default lists apply if the user does not specify any file.
9457 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9474 # Handling of the options.
9475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9478 $as_echo "$ac_cs_version"; exit ;;
9479 --config | --confi | --conf | --con | --co | --c )
9480 $as_echo "$ac_cs_config"; exit ;;
9481 --debug | --debu | --deb | --de | --d | -d )
9483 --file | --fil | --fi | --f )
9486 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9487 '') as_fn_error $? "missing file argument" ;;
9489 as_fn_append CONFIG_FILES " '$ac_optarg'"
9490 ac_need_defaults=false;;
9491 --header | --heade | --head | --hea )
9494 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9496 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9497 ac_need_defaults=false;;
9499 # Conflict between --help and --header
9500 as_fn_error $? "ambiguous option: \`$1'
9501 Try \`$0 --help' for more information.";;
9502 --help | --hel | -h )
9503 $as_echo "$ac_cs_usage"; exit ;;
9504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9505 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9509 -*) as_fn_error $? "unrecognized option: \`$1'
9510 Try \`$0 --help' for more information." ;;
9512 *) as_fn_append ac_config_targets " $1"
9513 ac_need_defaults=false ;;
9519 ac_configure_extra_args=
9521 if $ac_cs_silent; then
9523 ac_configure_extra_args="$ac_configure_extra_args --silent"
9527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9528 if \$ac_cs_recheck; then
9529 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9531 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9532 CONFIG_SHELL='$SHELL'
9538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9543 ## Running $as_me. ##
9549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9553 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9554 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9555 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9556 # from automake < 1.5.
9557 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9558 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9559 LINGUAS="${LINGUAS-%UNSET%}"
9564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9566 # Handling of arguments.
9567 for ac_config_target in $ac_config_targets
9569 case $ac_config_target in
9570 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9571 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9572 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9573 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9574 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9575 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9576 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9577 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9578 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9579 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9580 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9581 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9582 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9583 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9584 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9585 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9586 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9587 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9588 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9589 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9590 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9591 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9592 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9594 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9599 # If the user did not use the arguments to specify the items to instantiate,
9600 # then the envvar interface is used. Set only those that are not.
9601 # We use the long form for the default assignment because of an extremely
9602 # bizarre bug on SunOS 4.1.3.
9603 if $ac_need_defaults; then
9604 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9605 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9606 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9609 # Have a temporary directory for convenience. Make it in the build tree
9610 # simply because there is no reason against having it here, and in addition,
9611 # creating and moving files from /tmp can sometimes cause problems.
9612 # Hook for its removal unless debugging.
9613 # Note that there is a small window in which the directory will not be cleaned:
9614 # after its creation but before its name has been assigned to `$tmp'.
9618 trap 'exit_status=$?
9620 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9622 trap 'as_fn_exit 1' 1 2 13 15
9624 # Create a (secure) tmp directory for tmp files.
9627 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9631 tmp=./conf$$-$RANDOM
9632 (umask 077 && mkdir "$tmp")
9633 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9636 # Set up the scripts for CONFIG_FILES section.
9637 # No need to generate them if there are no CONFIG_FILES.
9638 # This happens for instance with `./config.status config.h'.
9639 if test -n "$CONFIG_FILES"; then
9642 ac_cr=`echo X | tr X '\015'`
9643 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9644 # But we know of no other shell where ac_cr would be empty at this
9645 # point, so we can use a bashism as a fallback.
9646 if test "x$ac_cr" = x; then
9647 eval ac_cr=\$\'\\r\'
9649 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9650 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9656 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9661 echo "cat >conf$$subs.awk <<_ACEOF" &&
9662 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9665 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9666 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9668 for ac_last_try in false false false false false :; do
9669 . ./conf$$subs.sh ||
9670 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9672 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9673 if test $ac_delim_n = $ac_delim_num; then
9675 elif $ac_last_try; then
9676 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9678 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9684 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9688 s/^/S["/; s/!.*/"]=/
9698 s/\(.\{148\}\)..*/\1/
9700 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9705 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9712 s/\(.\{148\}\)..*/\1/
9714 s/["\\]/\\&/g; s/^/"/; s/$/"/
9718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9723 ' <conf$$subs.awk | sed '
9728 ' >>$CONFIG_STATUS || ac_write_fail=1
9729 rm -f conf$$subs.awk
9730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9732 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9733 for (key in S) S_is_set[key] = 1
9739 nfields = split(line, field, "@")
9741 len = length(field[1])
9742 for (i = 2; i < nfields; i++) {
9744 keylen = length(key)
9745 if (S_is_set[key]) {
9747 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9748 len += length(value) + length(field[++i])
9759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9760 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9761 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9764 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9765 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9768 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9769 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9770 # trailing colons and then remove the whole line if VPATH becomes empty
9771 # (actually we leave an empty line to preserve line numbers).
9772 if test "x$srcdir" = x.; then
9773 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9792 fi # test -n "$CONFIG_FILES"
9794 # Set up the scripts for CONFIG_HEADERS section.
9795 # No need to generate them if there are no CONFIG_HEADERS.
9796 # This happens for instance with `./config.status Makefile'.
9797 if test -n "$CONFIG_HEADERS"; then
9798 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9802 # Transform confdefs.h into an awk script `defines.awk', embedded as
9803 # here-document in config.status, that substitutes the proper values into
9804 # config.h.in to produce config.h.
9806 # Create a delimiter string that does not exist in confdefs.h, to ease
9807 # handling of long lines.
9809 for ac_last_try in false false :; do
9810 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9811 if test -z "$ac_tt"; then
9813 elif $ac_last_try; then
9814 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9816 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9820 # For the awk script, D is an array of macro values keyed by name,
9821 # likewise P contains macro parameters if any. Preserve backslash
9822 # newline sequences.
9824 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9826 s/.\{148\}/&'"$ac_delim"'/g
9829 s/^[ ]*#[ ]*define[ ][ ]*/ /
9836 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9838 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9842 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9843 D["\1"]=" \3\\\\\\n"\\/p
9845 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9850 s/.\{148\}/&'"$ac_delim"'/g
9855 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9858 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9860 ' <confdefs.h | sed '
9861 s/'"$ac_delim"'/"\\\
9862 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9865 for (key in D) D_is_set[key] = 1
9868 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9870 split(line, arg, " ")
9871 if (arg[1] == "#") {
9875 defundef = substr(arg[1], 2)
9878 split(mac1, mac2, "(") #)
9880 prefix = substr(line, 1, index(line, defundef) - 1)
9881 if (D_is_set[macro]) {
9882 # Preserve the white space surrounding the "#".
9883 print prefix "define", macro P[macro] D[macro]
9886 # Replace #undef with comments. This is necessary, for example,
9887 # in the case of _POSIX_SOURCE, which is predefined and required
9888 # on some systems where configure will not decide to define it.
9889 if (defundef == "undef") {
9890 print "/*", prefix defundef, macro, "*/"
9898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9899 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9900 fi # test -n "$CONFIG_HEADERS"
9903 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9908 :[FHLC]) ac_mode=$ac_tag; continue;;
9910 case $ac_mode$ac_tag in
9912 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9913 :[FH]-) ac_tag=-:-;;
9914 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9931 -) ac_f="$ac_tmp/stdin";;
9932 *) # Look for the file first in the build tree, then in the source tree
9933 # (if the path is not absolute). The absolute path cannot be DOS-style,
9934 # because $ac_f cannot contain `:'.
9938 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9940 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9942 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9943 as_fn_append ac_file_inputs " '$ac_f'"
9946 # Let's still pretend it is `configure' which instantiates (i.e., don't
9947 # use $as_me), people would be surprised to read:
9948 # /* config.h. Generated by config.status. */
9949 configure_input='Generated from '`
9950 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9952 if test x"$ac_file" != x-; then
9953 configure_input="$ac_file. $configure_input"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9955 $as_echo "$as_me: creating $ac_file" >&6;}
9957 # Neutralize special characters interpreted by sed in replacement strings.
9958 case $configure_input in #(
9959 *\&* | *\|* | *\\* )
9960 ac_sed_conf_input=`$as_echo "$configure_input" |
9961 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9962 *) ac_sed_conf_input=$configure_input;;
9966 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9972 ac_dir=`$as_dirname -- "$ac_file" ||
9973 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9974 X"$ac_file" : 'X\(//\)[^/]' \| \
9975 X"$ac_file" : 'X\(//\)$' \| \
9976 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9977 $as_echo X"$ac_file" |
9978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9995 as_dir="$ac_dir"; as_fn_mkdir_p
9999 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10001 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10002 # A ".." for each directory in $ac_dir_suffix.
10003 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10004 case $ac_top_builddir_sub in
10005 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10006 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10009 ac_abs_top_builddir=$ac_pwd
10010 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10011 # for backward compatibility:
10012 ac_top_builddir=$ac_top_build_prefix
10015 .) # We are building in place.
10017 ac_top_srcdir=$ac_top_builddir_sub
10018 ac_abs_top_srcdir=$ac_pwd ;;
10019 [\\/]* | ?:[\\/]* ) # Absolute name.
10020 ac_srcdir=$srcdir$ac_dir_suffix;
10021 ac_top_srcdir=$srcdir
10022 ac_abs_top_srcdir=$srcdir ;;
10023 *) # Relative name.
10024 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10025 ac_top_srcdir=$ac_top_build_prefix$srcdir
10026 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10028 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10038 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10039 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10041 ac_MKDIR_P=$MKDIR_P
10043 [\\/$]* | ?:[\\/]* ) ;;
10044 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10049 # If the template does not know about datarootdir, expand it.
10050 # FIXME: This hack should be removed a few years after 2.60.
10051 ac_datarootdir_hack=; ac_datarootdir_seen=
10062 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10063 *datarootdir*) ac_datarootdir_seen=yes;;
10064 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10066 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10069 ac_datarootdir_hack='
10070 s&@datadir@&$datadir&g
10071 s&@docdir@&$docdir&g
10072 s&@infodir@&$infodir&g
10073 s&@localedir@&$localedir&g
10074 s&@mandir@&$mandir&g
10075 s&\\\${datarootdir}&$datarootdir&g' ;;
10079 # Neutralize VPATH when `$srcdir' = `.'.
10080 # Shell code in configure.ac might set extrasub.
10081 # FIXME: do we really want to maintain this feature?
10082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10083 ac_sed_extra="$ac_vpsub
10086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10089 s|@configure_input@|$ac_sed_conf_input|;t t
10090 s&@top_builddir@&$ac_top_builddir_sub&;t t
10091 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10092 s&@srcdir@&$ac_srcdir&;t t
10093 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10094 s&@top_srcdir@&$ac_top_srcdir&;t t
10095 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10096 s&@builddir@&$ac_builddir&;t t
10097 s&@abs_builddir@&$ac_abs_builddir&;t t
10098 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10099 s&@INSTALL@&$ac_INSTALL&;t t
10100 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10101 $ac_datarootdir_hack
10103 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10104 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10107 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10108 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10109 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10111 which seems to be undefined. Please make sure it is defined" >&5
10112 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10113 which seems to be undefined. Please make sure it is defined" >&2;}
10115 rm -f "$ac_tmp/stdin"
10117 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10118 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10120 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10126 if test x"$ac_file" != x-; then
10128 $as_echo "/* $configure_input */" \
10129 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10130 } >"$ac_tmp/config.h" \
10131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10132 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10134 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10137 mv "$ac_tmp/config.h" "$ac_file" \
10138 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10141 $as_echo "/* $configure_input */" \
10142 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10143 || as_fn_error $? "could not create -" "$LINENO" 5
10145 # Compute "$ac_file"'s index in $config_headers.
10148 for _am_header in $config_headers :; do
10149 case $_am_header in
10150 $_am_arg | $_am_arg:* )
10153 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10156 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10157 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10158 X"$_am_arg" : 'X\(//\)[^/]' \| \
10159 X"$_am_arg" : 'X\(//\)$' \| \
10160 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10161 $as_echo X"$_am_arg" |
10162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10166 /^X\(\/\/\)[^/].*/{
10178 s/.*/./; q'`/stamp-h$_am_stamp_count
10181 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10182 $as_echo "$as_me: executing $ac_file commands" >&6;}
10187 case $ac_file$ac_mode in
10188 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10189 # Older Autoconf quotes --file arguments for eval, but not when files
10190 # are listed without --file. Let's play safe and only enable the eval
10191 # if we detect the quoting.
10192 case $CONFIG_FILES in
10193 *\'*) eval set x "$CONFIG_FILES" ;;
10194 *) set x $CONFIG_FILES ;;
10199 # Strip MF so we end up with the name of the file.
10200 mf=`echo "$mf" | sed -e 's/:.*$//'`
10201 # Check whether this is an Automake generated Makefile or not.
10202 # We used to match only the files named 'Makefile.in', but
10203 # some people rename them; so instead we look at the file content.
10204 # Grep'ing the first line is not enough: some people post-process
10205 # each Makefile.in and add a new line on top of each file to say so.
10206 # Grep'ing the whole file is not good either: AIX grep has a line
10207 # limit of 2048, but all sed's we know have understand at least 4000.
10208 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10209 dirpart=`$as_dirname -- "$mf" ||
10210 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10211 X"$mf" : 'X\(//\)[^/]' \| \
10212 X"$mf" : 'X\(//\)$' \| \
10213 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10219 /^X\(\/\/\)[^/].*/{
10235 # Extract the definition of DEPDIR, am__include, and am__quote
10236 # from the Makefile without running 'make'.
10237 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10238 test -z "$DEPDIR" && continue
10239 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10240 test -z "$am__include" && continue
10241 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10242 # Find all dependency output files, they are included files with
10243 # $(DEPDIR) in their names. We invoke sed twice because it is the
10244 # simplest approach to changing $(DEPDIR) to its actual value in the
10246 for file in `sed -n "
10247 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10248 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10249 # Make sure the directory exists.
10250 test -f "$dirpart/$file" && continue
10251 fdir=`$as_dirname -- "$file" ||
10252 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10253 X"$file" : 'X\(//\)[^/]' \| \
10254 X"$file" : 'X\(//\)$' \| \
10255 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10256 $as_echo X"$file" |
10257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10261 /^X\(\/\/\)[^/].*/{
10274 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10275 # echo "creating $dirpart/$file"
10276 echo '# dummy' > "$dirpart/$file"
10281 "po-directories":C)
10282 for ac_file in $CONFIG_FILES; do
10283 # Support "outfile[:infile[:infile...]]"
10285 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10287 # PO directories have a Makefile.in generated from Makefile.in.in.
10288 case "$ac_file" in */Makefile.in)
10289 # Adjust a relative srcdir.
10290 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10291 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10292 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10293 # In autoconf-2.13 it is called $ac_given_srcdir.
10294 # In autoconf-2.50 it is called $srcdir.
10295 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10296 case "$ac_given_srcdir" in
10297 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10298 /*) top_srcdir="$ac_given_srcdir" ;;
10299 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10301 # Treat a directory as a PO directory if and only if it has a
10302 # POTFILES.in file. This allows packages to have multiple PO
10303 # directories under different names or in different locations.
10304 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10305 rm -f "$ac_dir/POTFILES"
10306 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10307 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10308 POMAKEFILEDEPS="POTFILES.in"
10309 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10310 # on $ac_dir but don't depend on user-specified configuration
10312 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10313 # The LINGUAS file contains the set of available languages.
10314 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10315 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10317 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10318 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10319 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10320 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10322 # The set of available languages was given in configure.in.
10323 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10324 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10327 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10328 # Compute UPDATEPOFILES
10329 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10330 # Compute DUMMYPOFILES
10331 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10333 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10334 case "$ac_given_srcdir" in
10336 *) srcdirpre='$(srcdir)/' ;;
10342 for lang in $ALL_LINGUAS; do
10343 POFILES="$POFILES $srcdirpre$lang.po"
10344 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10345 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10346 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10348 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10349 # environment variable.
10351 if test -n "$ALL_LINGUAS"; then
10352 for presentlang in $ALL_LINGUAS; do
10354 if test "%UNSET%" != "$LINGUAS"; then
10355 desiredlanguages="$LINGUAS"
10357 desiredlanguages="$ALL_LINGUAS"
10359 for desiredlang in $desiredlanguages; do
10360 # Use the presentlang catalog if desiredlang is
10361 # a. equal to presentlang, or
10362 # b. a variant of presentlang (because in this case,
10363 # presentlang can be used as a fallback for messages
10364 # which are not translated in the desiredlang catalog).
10365 case "$desiredlang" in
10366 "$presentlang"*) useit=yes;;
10369 if test $useit = yes; then
10370 INST_LINGUAS="$INST_LINGUAS $presentlang"
10375 if test -n "$INST_LINGUAS"; then
10376 for lang in $INST_LINGUAS; do
10377 CATALOGS="$CATALOGS $lang.gmo"
10380 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10381 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"
10382 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10383 if test -f "$f"; then
10385 *.orig | *.bak | *~) ;;
10386 *) cat "$f" >> "$ac_dir/Makefile" ;;
10401 ac_clean_files=$ac_clean_files_save
10403 test $ac_write_fail = 0 ||
10404 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10407 # configure is writing to config.log, and then calls config.status.
10408 # config.status does its own redirection, appending to config.log.
10409 # Unfortunately, on DOS this fails, as config.log is still kept open
10410 # by configure, so config.status won't be able to write to it; its
10411 # output is simply discarded. So we exec the FD to /dev/null,
10412 # effectively closing config.log, so it can be properly (re)opened and
10413 # appended to by config.status. When coming back to configure, we
10414 # need to make the FD available again.
10415 if test "$no_create" != yes; then
10417 ac_config_status_args=
10418 test "$silent" = yes &&
10419 ac_config_status_args="$ac_config_status_args --quiet"
10421 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10423 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10424 # would make configure fail if this is the last instruction.
10425 $ac_cs_success || as_fn_exit 1
10427 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10429 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}