2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.1.4.
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.4'
584 PACKAGE_STRING='psensor 1.1.4'
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
804 program_transform_name
817 enable_option_checking
819 enable_dependency_tracking
827 enable_schemas_compile
831 ac_precious_vars='build_alias
870 # Initialize some variables set by options.
872 ac_init_version=false
873 ac_unrecognized_opts=
875 # The variables have the same names as the options, with
876 # dashes changed to underlines.
884 program_transform_name=s,x,x,
892 # Installation directory options.
893 # These are left unexpanded so users can "make install exec_prefix=/foo"
894 # and all the variables that are supposed to be based on exec_prefix
895 # by default will actually change.
896 # Use braces instead of parens because sh, perl, etc. also accept them.
897 # (The list follows the same order as the GNU Coding Standards.)
898 bindir='${exec_prefix}/bin'
899 sbindir='${exec_prefix}/sbin'
900 libexecdir='${exec_prefix}/libexec'
901 datarootdir='${prefix}/share'
902 datadir='${datarootdir}'
903 sysconfdir='${prefix}/etc'
904 sharedstatedir='${prefix}/com'
905 localstatedir='${prefix}/var'
906 runstatedir='${localstatedir}/run'
907 includedir='${prefix}/include'
908 oldincludedir='/usr/include'
909 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
910 infodir='${datarootdir}/info'
915 libdir='${exec_prefix}/lib'
916 localedir='${datarootdir}/locale'
917 mandir='${datarootdir}/man'
923 # If the previous option needs an argument, assign it.
924 if test -n "$ac_prev"; then
925 eval $ac_prev=\$ac_option
931 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
936 # Accept the important Cygnus configure options, so we can diagnose typos.
938 case $ac_dashdash$ac_option in
942 -bindir | --bindir | --bindi | --bind | --bin | --bi)
944 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
947 -build | --build | --buil | --bui | --bu)
948 ac_prev=build_alias ;;
949 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
950 build_alias=$ac_optarg ;;
952 -cache-file | --cache-file | --cache-fil | --cache-fi \
953 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
954 ac_prev=cache_file ;;
955 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
956 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
957 cache_file=$ac_optarg ;;
960 cache_file=config.cache ;;
962 -datadir | --datadir | --datadi | --datad)
964 -datadir=* | --datadir=* | --datadi=* | --datad=*)
965 datadir=$ac_optarg ;;
967 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
968 | --dataroo | --dataro | --datar)
969 ac_prev=datarootdir ;;
970 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
971 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
972 datarootdir=$ac_optarg ;;
974 -disable-* | --disable-*)
975 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978 as_fn_error $? "invalid feature name: $ac_useropt"
979 ac_useropt_orig=$ac_useropt
980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
986 ac_unrecognized_sep=', ';;
988 eval enable_$ac_useropt=no ;;
990 -docdir | --docdir | --docdi | --doc | --do)
992 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
995 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
997 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1000 -enable-* | --enable-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004 as_fn_error $? "invalid feature name: $ac_useropt"
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_$ac_useropt"
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1014 eval enable_$ac_useropt=\$ac_optarg ;;
1016 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1017 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1018 | --exec | --exe | --ex)
1019 ac_prev=exec_prefix ;;
1020 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1021 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1022 | --exec=* | --exe=* | --ex=*)
1023 exec_prefix=$ac_optarg ;;
1025 -gas | --gas | --ga | --g)
1026 # Obsolete; use --with-gas.
1029 -help | --help | --hel | --he | -h)
1030 ac_init_help=long ;;
1031 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1032 ac_init_help=recursive ;;
1033 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1034 ac_init_help=short ;;
1036 -host | --host | --hos | --ho)
1037 ac_prev=host_alias ;;
1038 -host=* | --host=* | --hos=* | --ho=*)
1039 host_alias=$ac_optarg ;;
1041 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1043 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1045 htmldir=$ac_optarg ;;
1047 -includedir | --includedir | --includedi | --included | --include \
1048 | --includ | --inclu | --incl | --inc)
1049 ac_prev=includedir ;;
1050 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1051 | --includ=* | --inclu=* | --incl=* | --inc=*)
1052 includedir=$ac_optarg ;;
1054 -infodir | --infodir | --infodi | --infod | --info | --inf)
1056 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1057 infodir=$ac_optarg ;;
1059 -libdir | --libdir | --libdi | --libd)
1061 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1062 libdir=$ac_optarg ;;
1064 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1065 | --libexe | --libex | --libe)
1066 ac_prev=libexecdir ;;
1067 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1068 | --libexe=* | --libex=* | --libe=*)
1069 libexecdir=$ac_optarg ;;
1071 -localedir | --localedir | --localedi | --localed | --locale)
1072 ac_prev=localedir ;;
1073 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1074 localedir=$ac_optarg ;;
1076 -localstatedir | --localstatedir | --localstatedi | --localstated \
1077 | --localstate | --localstat | --localsta | --localst | --locals)
1078 ac_prev=localstatedir ;;
1079 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1080 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1081 localstatedir=$ac_optarg ;;
1083 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1085 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1086 mandir=$ac_optarg ;;
1088 -nfp | --nfp | --nf)
1089 # Obsolete; use --without-fp.
1092 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1093 | --no-cr | --no-c | -n)
1096 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1097 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1100 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1101 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1102 | --oldin | --oldi | --old | --ol | --o)
1103 ac_prev=oldincludedir ;;
1104 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1105 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1106 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1107 oldincludedir=$ac_optarg ;;
1109 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1111 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1112 prefix=$ac_optarg ;;
1114 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1115 | --program-pre | --program-pr | --program-p)
1116 ac_prev=program_prefix ;;
1117 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1118 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1119 program_prefix=$ac_optarg ;;
1121 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1122 | --program-suf | --program-su | --program-s)
1123 ac_prev=program_suffix ;;
1124 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1125 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1126 program_suffix=$ac_optarg ;;
1128 -program-transform-name | --program-transform-name \
1129 | --program-transform-nam | --program-transform-na \
1130 | --program-transform-n | --program-transform- \
1131 | --program-transform | --program-transfor \
1132 | --program-transfo | --program-transf \
1133 | --program-trans | --program-tran \
1134 | --progr-tra | --program-tr | --program-t)
1135 ac_prev=program_transform_name ;;
1136 -program-transform-name=* | --program-transform-name=* \
1137 | --program-transform-nam=* | --program-transform-na=* \
1138 | --program-transform-n=* | --program-transform-=* \
1139 | --program-transform=* | --program-transfor=* \
1140 | --program-transfo=* | --program-transf=* \
1141 | --program-trans=* | --program-tran=* \
1142 | --progr-tra=* | --program-tr=* | --program-t=*)
1143 program_transform_name=$ac_optarg ;;
1145 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1147 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1148 pdfdir=$ac_optarg ;;
1150 -psdir | --psdir | --psdi | --psd | --ps)
1152 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1156 | -silent | --silent | --silen | --sile | --sil)
1159 -runstatedir | --runstatedir | --runstatedi | --runstated \
1160 | --runstate | --runstat | --runsta | --runst | --runs \
1161 | --run | --ru | --r)
1162 ac_prev=runstatedir ;;
1163 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1164 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1165 | --run=* | --ru=* | --r=*)
1166 runstatedir=$ac_optarg ;;
1168 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1170 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1172 sbindir=$ac_optarg ;;
1174 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1175 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1176 | --sharedst | --shareds | --shared | --share | --shar \
1178 ac_prev=sharedstatedir ;;
1179 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1180 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1181 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1183 sharedstatedir=$ac_optarg ;;
1185 -site | --site | --sit)
1187 -site=* | --site=* | --sit=*)
1190 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1192 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1193 srcdir=$ac_optarg ;;
1195 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1196 | --syscon | --sysco | --sysc | --sys | --sy)
1197 ac_prev=sysconfdir ;;
1198 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1199 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1200 sysconfdir=$ac_optarg ;;
1202 -target | --target | --targe | --targ | --tar | --ta | --t)
1203 ac_prev=target_alias ;;
1204 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1205 target_alias=$ac_optarg ;;
1207 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1210 -version | --version | --versio | --versi | --vers | -V)
1211 ac_init_version=: ;;
1214 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1217 as_fn_error $? "invalid package name: $ac_useropt"
1218 ac_useropt_orig=$ac_useropt
1219 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep=', ';;
1227 eval with_$ac_useropt=\$ac_optarg ;;
1229 -without-* | --without-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error $? "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1243 eval with_$ac_useropt=no ;;
1246 # Obsolete; use --with-x.
1249 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1250 | --x-incl | --x-inc | --x-in | --x-i)
1251 ac_prev=x_includes ;;
1252 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1253 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1254 x_includes=$ac_optarg ;;
1256 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1257 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1258 ac_prev=x_libraries ;;
1259 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1260 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1261 x_libraries=$ac_optarg ;;
1263 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1264 Try \`$0 --help' for more information"
1268 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1269 # Reject names that are not valid shell variable names.
1270 case $ac_envvar in #(
1271 '' | [0-9]* | *[!_$as_cr_alnum]* )
1272 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1274 eval $ac_envvar=\$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1281 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1288 if test -n "$ac_prev"; then
1289 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1290 as_fn_error $? "missing argument to $ac_option"
1293 if test -n "$ac_unrecognized_opts"; then
1294 case $enable_option_checking in
1296 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1297 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301 # Check all directory arguments for consistency.
1302 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303 datadir sysconfdir sharedstatedir localstatedir includedir \
1304 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305 libdir localedir mandir runstatedir
1307 eval ac_val=\$$ac_var
1308 # Remove trailing slashes.
1311 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312 eval $ac_var=\$ac_val;;
1314 # Be sure to have absolute directory names.
1316 [\\/$]* | ?:[\\/]* ) continue;;
1317 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1319 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x; then
1331 if test "x$build_alias" = x; then
1332 cross_compiling=maybe
1333 elif test "x$build_alias" != "x$host_alias"; then
1339 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1341 test "$silent" = yes && exec 6>/dev/null
1344 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1345 ac_ls_di=`ls -di .` &&
1346 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1347 as_fn_error $? "working directory cannot be determined"
1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1349 as_fn_error $? "pwd does not report name of working directory"
1352 # Find the source files, if location was not specified.
1353 if test -z "$srcdir"; then
1354 ac_srcdir_defaulted=yes
1355 # Try the directory containing this script, then the parent directory.
1356 ac_confdir=`$as_dirname -- "$as_myself" ||
1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1358 X"$as_myself" : 'X\(//\)[^/]' \| \
1359 X"$as_myself" : 'X\(//\)$' \| \
1360 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1361 $as_echo X"$as_myself" |
1362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1384 ac_srcdir_defaulted=no
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1387 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1388 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1390 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1392 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1394 # When building in place, set srcdir=.
1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
1398 # Remove unnecessary trailing slashes from srcdir.
1399 # Double slashes in file names in object file debugging info
1400 # mess up M-x gdb in Emacs.
1402 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1404 for ac_var in $ac_precious_vars; do
1405 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1406 eval ac_env_${ac_var}_value=\$${ac_var}
1407 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1408 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1412 # Report the --help message.
1414 if test "$ac_init_help" = "long"; then
1415 # Omit some internal or obsolete options to make the list less imposing.
1416 # This message is too long to be a string in the A/UX 3.1 sh.
1418 \`configure' configures psensor 1.1.4 to adapt to many kinds of systems.
1420 Usage: $0 [OPTION]... [VAR=VALUE]...
1422 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1423 VAR=VALUE. See below for descriptions of some of the useful variables.
1425 Defaults for the options are specified in brackets.
1428 -h, --help display this help and exit
1429 --help=short display options specific to this package
1430 --help=recursive display the short help of all the included packages
1431 -V, --version display version information and exit
1432 -q, --quiet, --silent do not print \`checking ...' messages
1433 --cache-file=FILE cache test results in FILE [disabled]
1434 -C, --config-cache alias for \`--cache-file=config.cache'
1435 -n, --no-create do not create output files
1436 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1438 Installation directories:
1439 --prefix=PREFIX install architecture-independent files in PREFIX
1440 [$ac_default_prefix]
1441 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1444 By default, \`make install' will install all the files in
1445 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1446 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1447 for instance \`--prefix=\$HOME'.
1449 For better control, use the options below.
1451 Fine tuning of the installation directories:
1452 --bindir=DIR user executables [EPREFIX/bin]
1453 --sbindir=DIR system admin executables [EPREFIX/sbin]
1454 --libexecdir=DIR program executables [EPREFIX/libexec]
1455 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1456 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1457 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1458 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1459 --libdir=DIR object code libraries [EPREFIX/lib]
1460 --includedir=DIR C header files [PREFIX/include]
1461 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1462 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1463 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1464 --infodir=DIR info documentation [DATAROOTDIR/info]
1465 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1466 --mandir=DIR man documentation [DATAROOTDIR/man]
1467 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1468 --htmldir=DIR html documentation [DOCDIR]
1469 --dvidir=DIR dvi documentation [DOCDIR]
1470 --pdfdir=DIR pdf documentation [DOCDIR]
1471 --psdir=DIR ps documentation [DOCDIR]
1477 --program-prefix=PREFIX prepend PREFIX to installed program names
1478 --program-suffix=SUFFIX append SUFFIX to installed program names
1479 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1482 --x-includes=DIR X include files are in DIR
1483 --x-libraries=DIR X library files are in DIR
1486 --build=BUILD configure for building on BUILD [guessed]
1487 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1491 if test -n "$ac_init_help"; then
1492 case $ac_init_help in
1493 short | recursive ) echo "Configuration of psensor 1.1.4:";;
1498 --disable-option-checking ignore unrecognized --enable/--with options
1499 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1500 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1501 --enable-silent-rules less verbose build output (undo: "make V=1")
1502 --disable-silent-rules verbose build output (undo: "make V=0")
1503 --enable-dependency-tracking
1504 do not reject slow dependency extractors
1505 --disable-dependency-tracking
1506 speeds up one-time build
1507 --disable-largefile omit support for large files
1508 --disable-nls do not use Native Language Support
1509 --disable-rpath do not hardcode runtime library paths
1510 --disable-schemas-compile
1511 Disable regeneration of gschemas.compiled on install
1514 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1515 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1516 --with-x use the X Window System
1517 --with-gnu-ld assume the C compiler uses GNU ld default=no
1518 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1519 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1520 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1521 --without-libintl-prefix don't search for libintl in includedir and libdir
1522 --with-libatiadl=DIR use libatiadlxx in DIR
1523 --with-gtop=yes|no use gtop
1525 Some influential environment variables:
1526 CC C compiler command
1527 CFLAGS C compiler flags
1528 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1529 nonstandard directory <lib dir>
1530 LIBS libraries to pass to the linker, e.g. -l<library>
1531 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1532 you have headers in a nonstandard directory <include dir>
1533 XMKMF Path to xmkmf, Makefile generator for X Window System
1535 PKG_CONFIG path to pkg-config utility
1537 directories to add to pkg-config's search path
1539 path overriding pkg-config's built-in search path
1540 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1541 X11_LIBS linker flags for X11, overriding pkg-config
1542 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1543 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1544 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1545 GTK_LIBS linker flags for GTK, overriding pkg-config
1547 C compiler flags for LIBUDISKS2, overriding pkg-config
1549 linker flags for LIBUDISKS2, overriding pkg-config
1551 C compiler flags for ATASMART, overriding pkg-config
1553 linker flags for ATASMART, overriding pkg-config
1555 C compiler flags for LIBNOTIFY, overriding pkg-config
1557 linker flags for LIBNOTIFY, overriding pkg-config
1559 C compiler flags for APPINDICATOR, overriding pkg-config
1561 linker flags for APPINDICATOR, overriding pkg-config
1562 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1563 CURL_LIBS linker flags for CURL, overriding pkg-config
1564 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1565 JSON_LIBS linker flags for JSON, overriding pkg-config
1567 C compiler flags for UNITY, overriding pkg-config
1568 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1569 LIBMICROHTTPD_CFLAGS
1570 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1572 linker flags for LIBMICROHTTPD, overriding pkg-config
1573 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1574 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1576 Use these variables to override the choices made by `configure' or to help
1577 it to find libraries and programs with nonstandard names/locations.
1579 Report bugs to <jeanfi@gmail.com>.
1580 psensor home page: <http://wpitchoune.net/psensor>.
1585 if test "$ac_init_help" = "recursive"; then
1586 # If there are subdirs, report their specific --help.
1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588 test -d "$ac_dir" ||
1589 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1597 # A ".." for each directory in $ac_dir_suffix.
1598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1599 case $ac_top_builddir_sub in
1600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604 ac_abs_top_builddir=$ac_pwd
1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606 # for backward compatibility:
1607 ac_top_builddir=$ac_top_build_prefix
1610 .) # We are building in place.
1612 ac_top_srcdir=$ac_top_builddir_sub
1613 ac_abs_top_srcdir=$ac_pwd ;;
1614 [\\/]* | ?:[\\/]* ) # Absolute name.
1615 ac_srcdir=$srcdir$ac_dir_suffix;
1616 ac_top_srcdir=$srcdir
1617 ac_abs_top_srcdir=$srcdir ;;
1619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620 ac_top_srcdir=$ac_top_build_prefix$srcdir
1621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625 cd "$ac_dir" || { ac_status=$?; continue; }
1626 # Check for guested configure.
1627 if test -f "$ac_srcdir/configure.gnu"; then
1629 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630 elif test -f "$ac_srcdir/configure"; then
1632 $SHELL "$ac_srcdir/configure" --help=recursive
1634 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636 cd "$ac_pwd" || { ac_status=$?; break; }
1640 test -n "$ac_init_help" && exit $ac_status
1641 if $ac_init_version; then
1643 psensor configure 1.1.4
1644 generated by GNU Autoconf 2.69
1646 Copyright (C) 2012 Free Software Foundation, Inc.
1647 This configure script is free software; the Free Software Foundation
1648 gives unlimited permission to copy, distribute and modify it.
1653 ## ------------------------ ##
1654 ## Autoconf initialization. ##
1655 ## ------------------------ ##
1657 # ac_fn_c_try_compile LINENO
1658 # --------------------------
1659 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1660 ac_fn_c_try_compile ()
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 rm -f conftest.$ac_objext
1664 if { { ac_try="$ac_compile"
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_compile") 2>conftest.err
1673 if test -s conftest.err; then
1674 grep -v '^ *+' conftest.err >conftest.er1
1675 cat conftest.er1 >&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && {
1680 test -z "$ac_c_werror_flag" ||
1681 test ! -s conftest.err
1682 } && test -s conftest.$ac_objext; then :
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1693 } # ac_fn_c_try_compile
1695 # ac_fn_c_try_cpp LINENO
1696 # ----------------------
1697 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_cpp conftest.$ac_ext"
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } > conftest.i && {
1717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1748 if test -s conftest.err; then
1749 grep -v '^ *+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 test -x conftest$ac_exeext
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 as_fn_set_status $ac_retval
1776 } # ac_fn_c_try_link
1778 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1779 # -------------------------------------------------------
1780 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1781 # the include files in INCLUDES and setting the cache variable VAR
1783 ac_fn_c_check_header_mongrel ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 if eval \${$3+:} false; then :
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1796 # Is the header compilable?
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1798 $as_echo_n "checking $2 usability... " >&6; }
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1804 if ac_fn_c_try_compile "$LINENO"; then :
1805 ac_header_compiler=yes
1807 ac_header_compiler=no
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1811 $as_echo "$ac_header_compiler" >&6; }
1813 # Is the header present?
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1815 $as_echo_n "checking $2 presence... " >&6; }
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1820 if ac_fn_c_try_cpp "$LINENO"; then :
1821 ac_header_preproc=yes
1823 ac_header_preproc=no
1825 rm -f conftest.err conftest.i conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1827 $as_echo "$ac_header_preproc" >&6; }
1829 # So? What about this header?
1830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1833 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1839 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1841 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1843 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1845 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1847 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1848 ( $as_echo "## ------------------------------- ##
1849 ## Report this to jeanfi@gmail.com ##
1850 ## ------------------------------- ##"
1851 ) | sed "s/^/$as_me: WARNING: /" >&2
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855 $as_echo_n "checking for $2... " >&6; }
1856 if eval \${$3+:} false; then :
1857 $as_echo_n "(cached) " >&6
1859 eval "$3=\$ac_header_compiler"
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 } # ac_fn_c_check_header_mongrel
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_link"
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887 { { case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_try") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; }; }; then :
1899 $as_echo "$as_me: program exited with status $ac_status" >&5
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1903 ac_retval=$ac_status
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1911 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1912 # -------------------------------------------------------
1913 # Tests whether HEADER exists and can be compiled using the include files in
1914 # INCLUDES, setting the cache variable VAR accordingly.
1915 ac_fn_c_check_header_compile ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if eval \${$3+:} false; then :
1921 $as_echo_n "(cached) " >&6
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_header_compile
1941 cat >config.log <<_ACEOF
1942 This file contains any messages produced by compilers while
1943 running configure, to aid debugging if configure makes a mistake.
1945 It was created by psensor $as_me 1.1.4, which was
1946 generated by GNU Autoconf 2.69. Invocation command line was
1958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir=.
1982 $as_echo "PATH: $as_dir"
1998 # Keep a trace of the command line.
1999 # Strip out --no-create and --no-recursion so they do not pile up.
2000 # Strip out --silent because we don't want to record it for future runs.
2001 # Also quote any args containing shell meta-characters.
2002 # Make two passes to allow for proper duplicate-argument suppression.
2006 ac_must_keep_next=false
2012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2014 | -silent | --silent | --silen | --sile | --sil)
2017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2022 as_fn_append ac_configure_args1 " '$ac_arg'"
2023 if test $ac_must_keep_next = true; then
2024 ac_must_keep_next=false # Got value, back to normal.
2027 *=* | --config-cache | -C | -disable-* | --disable-* \
2028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2030 | -with-* | --with-* | -without-* | --without-* | --x)
2031 case "$ac_configure_args0 " in
2032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2035 -* ) ac_must_keep_next=true ;;
2038 as_fn_append ac_configure_args " '$ac_arg'"
2043 { ac_configure_args0=; unset ac_configure_args0;}
2044 { ac_configure_args1=; unset ac_configure_args1;}
2046 # When interrupted or exit'd, cleanup temporary files, and complete
2047 # config.log. We remove comments because anyway the quotes in there
2048 # would cause problems or look ugly.
2049 # WARNING: Use '\'' to represent an apostrophe within the trap.
2050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2051 trap 'exit_status=$?
2052 # Save into config.log some information that might help in debugging.
2056 $as_echo "## ---------------- ##
2057 ## Cache variables. ##
2058 ## ---------------- ##"
2060 # The following way of writing the cache mishandles newlines in values,
2062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2063 eval ac_val=\$$ac_var
2067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2071 _ | IFS | as_nl) ;; #(
2072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2073 *) { eval $ac_var=; unset $ac_var;} ;;
2078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2079 *${as_nl}ac_space=\ *)
2081 "s/'\''/'\''\\\\'\'''\''/g;
2082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092 $as_echo "## ----------------- ##
2093 ## Output variables. ##
2094 ## ----------------- ##"
2096 for ac_var in $ac_subst_vars
2098 eval ac_val=\$$ac_var
2100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2106 if test -n "$ac_subst_files"; then
2107 $as_echo "## ------------------- ##
2108 ## File substitutions. ##
2109 ## ------------------- ##"
2111 for ac_var in $ac_subst_files
2113 eval ac_val=\$$ac_var
2115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117 $as_echo "$ac_var='\''$ac_val'\''"
2122 if test -s confdefs.h; then
2123 $as_echo "## ----------- ##
2130 test "$ac_signal" != 0 &&
2131 $as_echo "$as_me: caught signal $ac_signal"
2132 $as_echo "$as_me: exit $exit_status"
2134 rm -f core *.core core.conftest.* &&
2135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138 for ac_signal in 1 2 13 15; do
2139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2144 rm -f -r conftest* confdefs.h
2146 $as_echo "/* confdefs.h */" > confdefs.h
2148 # Predefined preprocessor variables.
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_NAME "$PACKAGE_NAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_STRING "$PACKAGE_STRING"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_URL "$PACKAGE_URL"
2175 # Let the site file select an alternate cache file if it wants to.
2176 # Prefer an explicitly selected file to automatically selected ones.
2179 if test -n "$CONFIG_SITE"; then
2180 # We do not want a PATH search for config.site.
2181 case $CONFIG_SITE in #((
2182 -*) ac_site_file1=./$CONFIG_SITE;;
2183 */*) ac_site_file1=$CONFIG_SITE;;
2184 *) ac_site_file1=./$CONFIG_SITE;;
2186 elif test "x$prefix" != xNONE; then
2187 ac_site_file1=$prefix/share/config.site
2188 ac_site_file2=$prefix/etc/config.site
2190 ac_site_file1=$ac_default_prefix/share/config.site
2191 ac_site_file2=$ac_default_prefix/etc/config.site
2193 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2195 test "x$ac_site_file" = xNONE && continue
2196 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2199 sed 's/^/| /' "$ac_site_file" >&5
2201 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2203 as_fn_error $? "failed to load site script $ac_site_file
2204 See \`config.log' for more details" "$LINENO" 5; }
2208 if test -r "$cache_file"; then
2209 # Some versions of bash will fail to source /dev/null (special files
2210 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2211 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2213 $as_echo "$as_me: loading cache $cache_file" >&6;}
2215 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2216 *) . "./$cache_file";;
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2221 $as_echo "$as_me: creating cache $cache_file" >&6;}
2225 gt_needs="$gt_needs "
2226 # Check that the precious variables saved in the cache have kept the same
2228 ac_cache_corrupted=false
2229 for ac_var in $ac_precious_vars; do
2230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2231 eval ac_new_set=\$ac_env_${ac_var}_set
2232 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2233 eval ac_new_val=\$ac_env_${ac_var}_value
2234 case $ac_old_set,$ac_new_set in
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2237 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2238 ac_cache_corrupted=: ;;
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2241 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2242 ac_cache_corrupted=: ;;
2245 if test "x$ac_old_val" != "x$ac_new_val"; then
2246 # differences in whitespace do not lead to failure.
2247 ac_old_val_w=`echo x $ac_old_val`
2248 ac_new_val_w=`echo x $ac_new_val`
2249 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2251 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2252 ac_cache_corrupted=:
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2255 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2256 eval $ac_var=\$ac_old_val
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2259 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2261 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2264 # Pass precious variables to config.status.
2265 if test "$ac_new_set" = set; then
2267 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2268 *) ac_arg=$ac_var=$ac_new_val ;;
2270 case " $ac_configure_args " in
2271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2272 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2276 if $ac_cache_corrupted; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2280 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2281 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2283 ## -------------------- ##
2284 ## Main body of script. ##
2285 ## -------------------- ##
2288 ac_cpp='$CPP $CPPFLAGS'
2289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2295 am__api_version='1.15'
2298 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2299 if test -f "$ac_dir/install-sh"; then
2301 ac_install_sh="$ac_aux_dir/install-sh -c"
2303 elif test -f "$ac_dir/install.sh"; then
2305 ac_install_sh="$ac_aux_dir/install.sh -c"
2307 elif test -f "$ac_dir/shtool"; then
2309 ac_install_sh="$ac_aux_dir/shtool install -c"
2313 if test -z "$ac_aux_dir"; then
2314 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2317 # These three variables are undocumented and unsupported,
2318 # and are intended to be withdrawn in a future Autoconf release.
2319 # They can cause serious problems if a builder's source tree is in a directory
2320 # whose full name contains unusual characters.
2321 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2322 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2323 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2326 # Find a good install program. We prefer a C program (faster),
2327 # so one script is as good as another. But avoid the broken or
2328 # incompatible versions:
2329 # SysV /etc/install, /usr/sbin/install
2330 # SunOS /usr/etc/install
2331 # IRIX /sbin/install
2333 # AmigaOS /C/install, which installs bootblocks on floppy discs
2334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2337 # OS/2's system install, which has a completely different semantic
2338 # ./install, which can be erroneously created by make from ./install.sh.
2339 # Reject install programs that cannot install multiple files.
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2341 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2342 if test -z "$INSTALL"; then
2343 if ${ac_cv_path_install+:} false; then :
2344 $as_echo_n "(cached) " >&6
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 # Account for people who put trailing slashes in PATH elements.
2352 case $as_dir/ in #((
2353 ./ | .// | /[cC]/* | \
2354 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2355 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2358 # OSF1 and SCO ODT 3.0 have their own names for install.
2359 # Don't use installbsd from OSF since it installs stuff as root
2361 for ac_prog in ginstall scoinst install; do
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2364 if test $ac_prog = install &&
2365 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2366 # AIX install. It has an incompatible calling convention.
2368 elif test $ac_prog = install &&
2369 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2370 # program-specific install script used by HP pwplus--don't use.
2373 rm -rf conftest.one conftest.two conftest.dir
2374 echo one > conftest.one
2375 echo two > conftest.two
2377 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2378 test -s conftest.one && test -s conftest.two &&
2379 test -s conftest.dir/conftest.one &&
2380 test -s conftest.dir/conftest.two
2382 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2395 rm -rf conftest.one conftest.two conftest.dir
2398 if test "${ac_cv_path_install+set}" = set; then
2399 INSTALL=$ac_cv_path_install
2401 # As a last resort, use the slow shell script. Don't cache a
2402 # value for INSTALL within a source directory, because that will
2403 # break other packages using the cache if that directory is
2404 # removed, or if the value is a relative name.
2405 INSTALL=$ac_install_sh
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2409 $as_echo "$INSTALL" >&6; }
2411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2412 # It thinks the first close brace ends the variable substitution.
2413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2417 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2420 $as_echo_n "checking whether build environment is sane... " >&6; }
2421 # Reject unsafe characters in $srcdir or the absolute working directory
2422 # name. Accept space and tab only in the latter.
2426 *[\\\"\#\$\&\'\`$am_lf]*)
2427 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2430 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2431 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2434 # Do 'set' in a subshell so we don't clobber the current shell's
2435 # arguments. Must try -L first in case configure is actually a
2436 # symlink; some systems play weird games with the mod time of symlinks
2437 # (eg FreeBSD returns the mod time of the symlink's containing
2441 for am_try in 1 2; do
2442 echo "timestamp, slept: $am_has_slept" > conftest.file
2443 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2444 if test "$*" = "X"; then
2446 set X `ls -t "$srcdir/configure" conftest.file`
2448 if test "$*" != "X $srcdir/configure conftest.file" \
2449 && test "$*" != "X conftest.file $srcdir/configure"; then
2451 # If neither matched, then we have a broken ls. This can happen
2452 # if, for instance, CONFIG_SHELL is bash and it inherits a
2453 # broken ls alias from the environment. This has actually
2454 # happened. Such a system could not be considered "sane".
2455 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2456 alias in your environment" "$LINENO" 5
2458 if test "$2" = conftest.file || test $am_try -eq 2; then
2465 test "$2" = conftest.file
2471 as_fn_error $? "newly created file is older than distributed files!
2472 Check your system clock" "$LINENO" 5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2475 $as_echo "yes" >&6; }
2476 # If we didn't sleep, we still need to ensure time stamps of config.status and
2477 # generated files are strictly newer.
2479 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2486 test "$program_prefix" != NONE &&
2487 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2488 # Use a double $ so make ignores it.
2489 test "$program_suffix" != NONE &&
2490 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2491 # Double any \ or $.
2492 # By default was `s,x,x', remove it if useless.
2493 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2494 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2496 # Expand $ac_aux_dir to an absolute path.
2497 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2499 if test x"${MISSING+set}" != xset; then
2502 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2504 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2507 # Use eval to expand $SHELL
2508 if eval "$MISSING --is-lightweight"; then
2509 am_missing_run="$MISSING "
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2513 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2516 if test x"${install_sh+set}" != xset; then
2519 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2521 install_sh="\${SHELL} $am_aux_dir/install-sh"
2525 # Installed binaries are usually stripped using 'strip' when the user
2526 # run "make install-strip". However 'strip' might not be the right
2527 # tool to use in cross-compilation environments, therefore Automake
2528 # will honor the 'STRIP' environment variable to overrule this program.
2529 if test "$cross_compiling" != no; then
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2532 set dummy ${ac_tool_prefix}strip; ac_word=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_STRIP+:} false; then :
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$STRIP"; then
2539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 STRIP=$ac_cv_prog_STRIP
2559 if test -n "$STRIP"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2561 $as_echo "$STRIP" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2569 if test -z "$ac_cv_prog_STRIP"; then
2571 # Extract the first word of "strip", so it can be a program name with args.
2572 set dummy strip; ac_word=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_STRIP"; then
2579 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_STRIP="strip"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2599 if test -n "$ac_ct_STRIP"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2601 $as_echo "$ac_ct_STRIP" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2607 if test "x$ac_ct_STRIP" = x; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614 ac_tool_warned=yes ;;
2619 STRIP="$ac_cv_prog_STRIP"
2623 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2626 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2627 if test -z "$MKDIR_P"; then
2628 if ${ac_cv_path_mkdir+:} false; then :
2629 $as_echo_n "(cached) " >&6
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2635 test -z "$as_dir" && as_dir=.
2636 for ac_prog in mkdir gmkdir; do
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2639 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2640 'mkdir (GNU coreutils) '* | \
2641 'mkdir (coreutils) '* | \
2642 'mkdir (fileutils) '4.1*)
2643 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2653 test -d ./--version && rmdir ./--version
2654 if test "${ac_cv_path_mkdir+set}" = set; then
2655 MKDIR_P="$ac_cv_path_mkdir -p"
2657 # As a last resort, use the slow shell script. Don't cache a
2658 # value for MKDIR_P within a source directory, because that will
2659 # break other packages using the cache if that directory is
2660 # removed, or if the value is a relative name.
2661 MKDIR_P="$ac_install_sh -d"
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2665 $as_echo "$MKDIR_P" >&6; }
2667 for ac_prog in gawk mawk nawk awk
2669 # Extract the first word of "$ac_prog", so it can be a program name with args.
2670 set dummy $ac_prog; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_AWK+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$AWK"; then
2677 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_AWK="$ac_prog"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 if test -n "$AWK"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2699 $as_echo "$AWK" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2706 test -n "$AWK" && break
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2712 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2713 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2714 $as_echo_n "(cached) " >&6
2716 cat >conftest.make <<\_ACEOF
2719 @echo '@@@%%%=$(MAKE)=@@@%%%'
2721 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2724 eval ac_cv_prog_make_${ac_make}_set=yes;;
2726 eval ac_cv_prog_make_${ac_make}_set=no;;
2730 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2737 SET_MAKE="MAKE=${MAKE-make}"
2740 rm -rf .tst 2>/dev/null
2741 mkdir .tst 2>/dev/null
2742 if test -d .tst; then
2747 rmdir .tst 2>/dev/null
2749 # Check whether --enable-silent-rules was given.
2750 if test "${enable_silent_rules+set}" = set; then :
2751 enableval=$enable_silent_rules;
2754 case $enable_silent_rules in # (((
2755 yes) AM_DEFAULT_VERBOSITY=0;;
2756 no) AM_DEFAULT_VERBOSITY=1;;
2757 *) AM_DEFAULT_VERBOSITY=1;;
2759 am_make=${MAKE-make}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2761 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2762 if ${am_cv_make_support_nested_variables+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 if $as_echo 'TRUE=$(BAR$(V))
2771 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2772 am_cv_make_support_nested_variables=yes
2774 am_cv_make_support_nested_variables=no
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2778 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2779 if test $am_cv_make_support_nested_variables = yes; then
2781 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2783 AM_V=$AM_DEFAULT_VERBOSITY
2784 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2788 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2789 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2790 # is not polluted with repeated "-I."
2791 am__isrc=' -I$(srcdir)'
2792 # test to see if srcdir already configured
2793 if test -f $srcdir/config.status; then
2794 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2798 # test whether we have cygpath
2799 if test -z "$CYGPATH_W"; then
2800 if (cygpath --version) >/dev/null 2>/dev/null; then
2801 CYGPATH_W='cygpath -w'
2808 # Define the identity of the package.
2813 cat >>confdefs.h <<_ACEOF
2814 #define PACKAGE "$PACKAGE"
2818 cat >>confdefs.h <<_ACEOF
2819 #define VERSION "$VERSION"
2822 # Some tools Automake needs.
2824 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2827 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2830 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2833 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2836 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2838 # For better backward compatibility. To be removed once Automake 1.9.x
2839 # dies out for good. For more background, see:
2840 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2841 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2842 mkdir_p='$(MKDIR_P)'
2844 # We need awk for the "check" target (and possibly the TAP driver). The
2845 # system "awk" is bad on some platforms.
2846 # Always define AMTAR for backward compatibility. Yes, it's still used
2847 # in the wild :-( We should find a proper way to deprecate it ...
2851 # We'll loop over all known methods to create a tar archive until one works.
2852 _am_tools='gnutar pax cpio none'
2854 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2861 # POSIX will say in a future version that running "rm -f" with no argument
2862 # is OK; and we want to be able to make that assumption in our Makefile
2863 # recipes. So use an aggressive probe to check that the usage we want is
2864 # actually supported "in the wild" to an acceptable degree.
2865 # See automake bug#10828.
2866 # To make any issue more visible, cause the running configure to be aborted
2867 # by default if the 'rm' program in use doesn't match our expectations; the
2868 # user can still override this though.
2869 if rm -f && rm -fr && rm -rf; then : OK; else
2873 Your 'rm' program seems unable to run without file operands specified
2874 on the command line, even when the '-f' option is present. This is contrary
2875 to the behaviour of most rm programs out there, and not conforming with
2876 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2878 Please tell bug-automake@gnu.org about your system, including the value
2879 of your $PATH and any error possibly output before this message. This
2880 can help us improve future automake versions.
2883 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2884 echo 'Configuration will proceed anyway, since you have set the' >&2
2885 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2889 Aborting the configuration process, to ensure you take notice of the issue.
2891 You can download and install GNU coreutils to get an 'rm' implementation
2892 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2894 If you want to complete the configuration process using your problematic
2895 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2896 to "yes", and re-run configure.
2899 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2905 ac_config_headers="$ac_config_headers config.h"
2911 # Checks for programs.
2913 ac_cpp='$CPP $CPPFLAGS'
2914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2919 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_CC+:} false; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$CC"; then
2926 ac_cv_prog_CC="$CC" # Let the user override the test.
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2935 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test -n "$CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2956 if test -z "$ac_cv_prog_CC"; then
2958 # Extract the first word of "gcc", so it can be a program name with args.
2959 set dummy gcc; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$ac_ct_CC"; then
2966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2975 ac_cv_prog_ac_ct_CC="gcc"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2988 $as_echo "$ac_ct_CC" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2994 if test "x$ac_ct_CC" = x; then
2997 case $cross_compiling:$ac_tool_warned in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001 ac_tool_warned=yes ;;
3009 if test -z "$CC"; then
3010 if test -n "$ac_tool_prefix"; then
3011 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3012 set dummy ${ac_tool_prefix}cc; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_CC+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$CC"; then
3019 ac_cv_prog_CC="$CC" # Let the user override the test.
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_CC="${ac_tool_prefix}cc"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 if test -n "$CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3041 $as_echo "$CC" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3050 if test -z "$CC"; then
3051 # Extract the first word of "cc", so it can be a program name with args.
3052 set dummy cc; ac_word=$2
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054 $as_echo_n "checking for $ac_word... " >&6; }
3055 if ${ac_cv_prog_CC+:} false; then :
3056 $as_echo_n "(cached) " >&6
3058 if test -n "$CC"; then
3059 ac_cv_prog_CC="$CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3070 ac_prog_rejected=yes
3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test $ac_prog_rejected = yes; then
3082 # We found a bogon in the path, so make sure we never use it.
3083 set dummy $ac_cv_prog_CC
3085 if test $# != 0; then
3086 # We chose a different compiler from the bogus one.
3087 # However, it has the same basename, so the bogon will be chosen
3088 # first if we set CC to just the basename; use the full file name.
3090 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3096 if test -n "$CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098 $as_echo "$CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3106 if test -z "$CC"; then
3107 if test -n "$ac_tool_prefix"; then
3108 for ac_prog in cl.exe
3110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_CC+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC="$CC" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3127 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3147 test -n "$CC" && break
3150 if test -z "$CC"; then
3152 for ac_prog in cl.exe
3154 # Extract the first word of "$ac_prog", so it can be a program name with args.
3155 set dummy $ac_prog; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$ac_ct_CC"; then
3162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_ac_ct_CC="$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3182 if test -n "$ac_ct_CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3184 $as_echo "$ac_ct_CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$ac_ct_CC" && break
3194 if test "x$ac_ct_CC" = x; then
3197 case $cross_compiling:$ac_tool_warned in
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201 ac_tool_warned=yes ;;
3210 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 as_fn_error $? "no acceptable C compiler found in \$PATH
3213 See \`config.log' for more details" "$LINENO" 5; }
3215 # Provide some information about the compiler.
3216 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3219 for ac_option in --version -v -V -qversion; do
3220 { { ac_try="$ac_compiler $ac_option >&5"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3229 if test -s conftest.err; then
3231 ... rest of stderr output deleted ...
3232 10q' conftest.err >conftest.er1
3233 cat conftest.er1 >&5
3235 rm -f conftest.er1 conftest.err
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3251 ac_clean_files_save=$ac_clean_files
3252 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3253 # Try to create an executable without -o first, disregard a.out.
3254 # It will help us diagnose broken compilers, and finding out an intuition
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3257 $as_echo_n "checking whether the C compiler works... " >&6; }
3258 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3260 # The possible output files:
3261 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3264 for ac_file in $ac_files
3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3268 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3273 if { { ac_try="$ac_link_default"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_link_default") 2>&5
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; then :
3284 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3285 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3286 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3287 # so that the user can short-circuit this test for compilers unknown to
3289 for ac_file in $ac_files ''
3291 test -f "$ac_file" || continue
3293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3296 # We found the default executable, but exeext='' is most
3300 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3302 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3304 # We set ac_cv_exeext here because the later test for it is not
3305 # safe: cross compilers may not add the suffix if given an `-o'
3306 # argument, so we may need to know it at that point already.
3307 # Even if this section looks crufty: it has the advantage of
3314 test "$ac_cv_exeext" = no && ac_cv_exeext=
3319 if test -z "$ac_file"; then :
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error 77 "C compiler cannot create executables
3328 See \`config.log' for more details" "$LINENO" 5; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3334 $as_echo_n "checking for C compiler default output file name... " >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3336 $as_echo "$ac_file" >&6; }
3337 ac_exeext=$ac_cv_exeext
3339 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3340 ac_clean_files=$ac_clean_files_save
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3342 $as_echo_n "checking for suffix of executables... " >&6; }
3343 if { { ac_try="$ac_link"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_link") 2>&5
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }; then :
3354 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3355 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3356 # work properly (i.e., refer to `conftest.exe'), while it won't with
3358 for ac_file in conftest.exe conftest conftest.*; do
3359 test -f "$ac_file" || continue
3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3362 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3371 See \`config.log' for more details" "$LINENO" 5; }
3373 rm -f conftest conftest$ac_cv_exeext
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3375 $as_echo "$ac_cv_exeext" >&6; }
3377 rm -f conftest.$ac_ext
3378 EXEEXT=$ac_cv_exeext
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3386 FILE *f = fopen ("conftest.out", "w");
3387 return ferror (f) || fclose (f) != 0;
3393 ac_clean_files="$ac_clean_files conftest.out"
3394 # Check that the compiler produces executables we can run. If not, either
3395 # the compiler is broken, or we cross compile.
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3397 $as_echo_n "checking whether we are cross compiling... " >&6; }
3398 if test "$cross_compiling" != yes; then
3399 { { ac_try="$ac_link"
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_link") 2>&5
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }
3410 if { ac_try='./conftest$ac_cv_exeext'
3411 { { case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_try") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; }; then
3423 if test "$cross_compiling" = maybe; then
3426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "cannot run C compiled programs.
3429 If you meant to cross compile, use \`--host'.
3430 See \`config.log' for more details" "$LINENO" 5; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3435 $as_echo "$cross_compiling" >&6; }
3437 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3438 ac_clean_files=$ac_clean_files_save
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3440 $as_echo_n "checking for suffix of object files... " >&6; }
3441 if ${ac_cv_objext+:} false; then :
3442 $as_echo_n "(cached) " >&6
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 rm -f conftest.o conftest.obj
3456 if { { ac_try="$ac_compile"
3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459 *) ac_try_echo=$ac_try;;
3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3462 $as_echo "$ac_try_echo"; } >&5
3463 (eval "$ac_compile") 2>&5
3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466 test $ac_status = 0; }; then :
3467 for ac_file in conftest.o conftest.obj conftest.*; do
3468 test -f "$ac_file" || continue;
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3471 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3476 $as_echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error $? "cannot compute suffix of object files: cannot compile
3482 See \`config.log' for more details" "$LINENO" 5; }
3484 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3487 $as_echo "$ac_cv_objext" >&6; }
3488 OBJEXT=$ac_cv_objext
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3491 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3492 if ${ac_cv_c_compiler_gnu+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3509 if ac_fn_c_try_compile "$LINENO"; then :
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3519 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3520 if test $ac_compiler_gnu = yes; then
3525 ac_test_CFLAGS=${CFLAGS+set}
3526 ac_save_CFLAGS=$CFLAGS
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3528 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3529 if ${ac_cv_prog_cc_g+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 ac_save_c_werror_flag=$ac_c_werror_flag
3533 ac_c_werror_flag=yes
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3562 if ac_fn_c_try_compile "$LINENO"; then :
3565 ac_c_werror_flag=$ac_save_c_werror_flag
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3578 if ac_fn_c_try_compile "$LINENO"; then :
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3589 $as_echo "$ac_cv_prog_cc_g" >&6; }
3590 if test "$ac_test_CFLAGS" = set; then
3591 CFLAGS=$ac_save_CFLAGS
3592 elif test $ac_cv_prog_cc_g = yes; then
3593 if test "$GCC" = yes; then
3599 if test "$GCC" = yes; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3606 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3607 if ${ac_cv_prog_cc_c89+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 ac_cv_prog_cc_c89=no
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3617 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3618 struct buf { int x; };
3619 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3620 static char *e (p, i)
3626 static char *f (char * (*g) (char **, int), char **p, ...)
3631 s = g (p, va_arg (v,int));
3636 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3637 function prototypes and stuff, but not '\xHH' hex character constants.
3638 These don't provoke an error unfortunately, instead are silently treated
3639 as 'x'. The following induces an error, until -std is added to get
3640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3641 array size at least. It's necessary to write '\x00'==0 to get something
3642 that's true only with -std. */
3643 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3645 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3646 inside strings and character constants. */
3648 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3650 int test (int i, double x);
3651 struct s1 {int (*f) (int a);};
3652 struct s2 {int (*f) (double a);};
3653 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3659 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3664 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3667 CC="$ac_save_CC $ac_arg"
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669 ac_cv_prog_cc_c89=$ac_arg
3671 rm -f core conftest.err conftest.$ac_objext
3672 test "x$ac_cv_prog_cc_c89" != "xno" && break
3674 rm -f conftest.$ac_ext
3679 case "x$ac_cv_prog_cc_c89" in
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3682 $as_echo "none needed" >&6; } ;;
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3685 $as_echo "unsupported" >&6; } ;;
3687 CC="$CC $ac_cv_prog_cc_c89"
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3689 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3691 if test "x$ac_cv_prog_cc_c89" != xno; then :
3696 ac_cpp='$CPP $CPPFLAGS'
3697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3702 ac_cpp='$CPP $CPPFLAGS'
3703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3707 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3708 if ${am_cv_prog_cc_c_o+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3722 # Make sure it works both with $CC and with simple cc.
3723 # Following AC_PROG_CC_C_O, we do the test twice because some
3724 # compilers refuse to overwrite an existing .o file with -o,
3725 # though they will create one.
3726 am_cv_prog_cc_c_o=yes
3728 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3729 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } \
3733 && test -f conftest2.$ac_objext; then
3736 am_cv_prog_cc_c_o=no
3740 rm -f core conftest*
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3744 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3745 if test "$am_cv_prog_cc_c_o" != yes; then
3746 # Losing compiler, so override with the script.
3747 # FIXME: It is wrong to rewrite CC.
3748 # But if we don't then we get into trouble of one sort or another.
3749 # A longer-term fix would be to have automake use am__CC in this case,
3750 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3751 CC="$am_aux_dir/compile $CC"
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3759 DEPDIR="${am__leading_dot}deps"
3761 ac_config_commands="$ac_config_commands depfiles"
3764 am_make=${MAKE-make}
3765 cat > confinc << 'END'
3767 @echo this is the am__doit target
3770 # If we don't find an include directive, just comment out the code.
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3772 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3776 # First try GNU make style include.
3777 echo "include confinc" > confmf
3778 # Ignore all kinds of additional output from 'make'.
3779 case `$am_make -s -f confmf 2> /dev/null` in #(
3780 *the\ am__doit\ target*)
3786 # Now try BSD make style include.
3787 if test "$am__include" = "#"; then
3788 echo '.include "confinc"' > confmf
3789 case `$am_make -s -f confmf 2> /dev/null` in #(
3790 *the\ am__doit\ target*)
3791 am__include=.include
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3800 $as_echo "$_am_result" >&6; }
3801 rm -f confinc confmf
3803 # Check whether --enable-dependency-tracking was given.
3804 if test "${enable_dependency_tracking+set}" = set; then :
3805 enableval=$enable_dependency_tracking;
3808 if test "x$enable_dependency_tracking" != xno; then
3809 am_depcomp="$ac_aux_dir/depcomp"
3813 if test "x$enable_dependency_tracking" != xno; then
3823 depcc="$CC" am_compiler_list=
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3826 $as_echo_n "checking dependency style of $depcc... " >&6; }
3827 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3831 # We make a subdir and do the tests there. Otherwise we can end up
3832 # making bogus files that we don't know about and never remove. For
3833 # instance it was reported that on HP-UX the gcc test will end up
3834 # making a dummy file named 'D' -- because '-MD' means "put the output
3838 # Copy depcomp to subdir because otherwise we won't find it if we're
3839 # using a relative directory.
3840 cp "$am_depcomp" conftest.dir
3842 # We will build objects and dependencies in a subdirectory because
3843 # it helps to detect inapplicable dependency modes. For instance
3844 # both Tru64's cc and ICC support -MD to output dependencies as a
3845 # side effect of compilation, but ICC will put the dependencies in
3846 # the current directory while Tru64 will put them in the object
3850 am_cv_CC_dependencies_compiler_type=none
3851 if test "$am_compiler_list" = ""; then
3852 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3859 for depmode in $am_compiler_list; do
3860 # Setup a source with many dependencies, because some compilers
3861 # like to wrap large dependency lists on column 80 (with \), and
3862 # we should not choose a depcomp mode which is confused by this.
3864 # We need to recreate these files for each test, as the compiler may
3865 # overwrite some of them when testing with obscure command lines.
3866 # This happens at least with the AIX C compiler.
3868 for i in 1 2 3 4 5 6; do
3869 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3870 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3871 # Solaris 10 /bin/sh.
3872 echo '/* dummy */' > sub/conftst$i.h
3874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3876 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3877 # mode. It turns out that the SunPro C++ compiler does not properly
3878 # handle '-M -o', and we need to detect this. Also, some Intel
3879 # versions had trouble with output in subdirs.
3880 am__obj=sub/conftest.${OBJEXT-o}
3881 am__minus_obj="-o $am__obj"
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3888 # After this tag, mechanisms are not by side-effect, so they'll
3889 # only be used when explicitly requested.
3890 if test "x$enable_dependency_tracking" = xyes; then
3896 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3897 # This compiler won't grok '-c -o', but also, the minuso test has
3898 # not run yet. These depmodes are late enough in the game, and
3899 # so weak that their functioning should not be impacted.
3900 am__obj=conftest.${OBJEXT-o}
3905 if depmode=$depmode \
3906 source=sub/conftest.c object=$am__obj \
3907 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3909 >/dev/null 2>conftest.err &&
3910 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3911 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3913 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3914 # icc doesn't choke on unknown options, it will just issue warnings
3915 # or remarks (even with -Werror). So we grep stderr for any message
3916 # that says an option was ignored or not supported.
3917 # When given -MP, icc 7.0 and 7.1 complain thusly:
3918 # icc: Command line warning: ignoring option '-M'; no argument required
3919 # The diagnosis changed in icc 8.0:
3920 # icc: Command line remark: option '-MP' not supported
3921 if (grep 'ignoring option' conftest.err ||
3922 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3923 am_cv_CC_dependencies_compiler_type=$depmode
3932 am_cv_CC_dependencies_compiler_type=none
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3937 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3938 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3941 test "x$enable_dependency_tracking" != xno \
3942 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3944 am__fastdepCC_FALSE='#'
3946 am__fastdepCC_TRUE='#'
3947 am__fastdepCC_FALSE=
3954 # Check whether --enable-largefile was given.
3955 if test "${enable_largefile+set}" = set; then :
3956 enableval=$enable_largefile;
3959 if test "$enable_largefile" != no; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3963 if ${ac_cv_sys_largefile_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 ac_cv_sys_largefile_CC=no
3967 if test "$GCC" != yes; then
3970 # IRIX 6.2 and later do not support large files by default,
3971 # so use the C compiler's -n32 option if that helps.
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3974 #include <sys/types.h>
3975 /* Check that off_t can represent 2**63 - 1 correctly.
3976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3977 since some C++ compilers masquerading as C compilers
3978 incorrectly reject 9223372036854775807. */
3979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3981 && LARGE_OFF_T % 2147483647 == 1)
3991 if ac_fn_c_try_compile "$LINENO"; then :
3994 rm -f core conftest.err conftest.$ac_objext
3996 if ac_fn_c_try_compile "$LINENO"; then :
3997 ac_cv_sys_largefile_CC=' -n32'; break
3999 rm -f core conftest.err conftest.$ac_objext
4003 rm -f conftest.$ac_ext
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4008 if test "$ac_cv_sys_largefile_CC" != no; then
4009 CC=$CC$ac_cv_sys_largefile_CC
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4014 if ${ac_cv_sys_file_offset_bits+:} false; then :
4015 $as_echo_n "(cached) " >&6
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4020 #include <sys/types.h>
4021 /* Check that off_t can represent 2**63 - 1 correctly.
4022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4023 since some C++ compilers masquerading as C compilers
4024 incorrectly reject 9223372036854775807. */
4025 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4027 && LARGE_OFF_T % 2147483647 == 1)
4037 if ac_fn_c_try_compile "$LINENO"; then :
4038 ac_cv_sys_file_offset_bits=no; break
4040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4043 #define _FILE_OFFSET_BITS 64
4044 #include <sys/types.h>
4045 /* Check that off_t can represent 2**63 - 1 correctly.
4046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4047 since some C++ compilers masquerading as C compilers
4048 incorrectly reject 9223372036854775807. */
4049 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4051 && LARGE_OFF_T % 2147483647 == 1)
4061 if ac_fn_c_try_compile "$LINENO"; then :
4062 ac_cv_sys_file_offset_bits=64; break
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065 ac_cv_sys_file_offset_bits=unknown
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4071 case $ac_cv_sys_file_offset_bits in #(
4074 cat >>confdefs.h <<_ACEOF
4075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4080 if test $ac_cv_sys_file_offset_bits = unknown; then
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4083 if ${ac_cv_sys_large_files+:} false; then :
4084 $as_echo_n "(cached) " >&6
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4089 #include <sys/types.h>
4090 /* Check that off_t can represent 2**63 - 1 correctly.
4091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4092 since some C++ compilers masquerading as C compilers
4093 incorrectly reject 9223372036854775807. */
4094 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4096 && LARGE_OFF_T % 2147483647 == 1)
4106 if ac_fn_c_try_compile "$LINENO"; then :
4107 ac_cv_sys_large_files=no; break
4109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4112 #define _LARGE_FILES 1
4113 #include <sys/types.h>
4114 /* Check that off_t can represent 2**63 - 1 correctly.
4115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4116 since some C++ compilers masquerading as C compilers
4117 incorrectly reject 9223372036854775807. */
4118 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4120 && LARGE_OFF_T % 2147483647 == 1)
4130 if ac_fn_c_try_compile "$LINENO"; then :
4131 ac_cv_sys_large_files=1; break
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 ac_cv_sys_large_files=unknown
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4139 $as_echo "$ac_cv_sys_large_files" >&6; }
4140 case $ac_cv_sys_large_files in #(
4143 cat >>confdefs.h <<_ACEOF
4144 #define _LARGE_FILES $ac_cv_sys_large_files
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if ${ac_cv_prog_RANLIB+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$RANLIB"; then
4165 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 RANLIB=$ac_cv_prog_RANLIB
4185 if test -n "$RANLIB"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4187 $as_echo "$RANLIB" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4195 if test -z "$ac_cv_prog_RANLIB"; then
4196 ac_ct_RANLIB=$RANLIB
4197 # Extract the first word of "ranlib", so it can be a program name with args.
4198 set dummy ranlib; ac_word=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -n "$ac_ct_RANLIB"; then
4205 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_RANLIB="ranlib"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4225 if test -n "$ac_ct_RANLIB"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4227 $as_echo "$ac_ct_RANLIB" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4233 if test "x$ac_ct_RANLIB" = x; then
4236 case $cross_compiling:$ac_tool_warned in
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4240 ac_tool_warned=yes ;;
4242 RANLIB=$ac_ct_RANLIB
4245 RANLIB="$ac_cv_prog_RANLIB"
4248 if test -n "$ac_tool_prefix"; then
4249 for ac_prog in ar lib "link -lib"
4251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 $as_echo_n "checking for $ac_word... " >&6; }
4255 if ${ac_cv_prog_AR+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 if test -n "$AR"; then
4259 ac_cv_prog_AR="$AR" # Let the user override the test.
4261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir=.
4266 for ac_exec_ext in '' $ac_executable_extensions; do
4267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4268 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 if test -n "$AR"; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4281 $as_echo "$AR" >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4288 test -n "$AR" && break
4291 if test -z "$AR"; then
4293 for ac_prog in ar lib "link -lib"
4295 # Extract the first word of "$ac_prog", so it can be a program name with args.
4296 set dummy $ac_prog; ac_word=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4300 $as_echo_n "(cached) " >&6
4302 if test -n "$ac_ct_AR"; then
4303 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir=.
4310 for ac_exec_ext in '' $ac_executable_extensions; do
4311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312 ac_cv_prog_ac_ct_AR="$ac_prog"
4313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4323 if test -n "$ac_ct_AR"; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4325 $as_echo "$ac_ct_AR" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4332 test -n "$ac_ct_AR" && break
4335 if test "x$ac_ct_AR" = x; then
4338 case $cross_compiling:$ac_tool_warned in
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4342 ac_tool_warned=yes ;;
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4351 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4352 if ${am_cv_ar_interface+:} false; then :
4353 $as_echo_n "(cached) " >&6
4356 ac_cpp='$CPP $CPPFLAGS'
4357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4361 am_cv_ar_interface=ar
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4364 int some_variable = 0;
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4368 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4369 (eval $am_ar_try) 2>&5
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }
4373 if test "$ac_status" -eq 0; then
4374 am_cv_ar_interface=ar
4376 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4377 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4378 (eval $am_ar_try) 2>&5
4380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4381 test $ac_status = 0; }
4382 if test "$ac_status" -eq 0; then
4383 am_cv_ar_interface=lib
4385 am_cv_ar_interface=unknown
4388 rm -f conftest.lib libconftest.a
4391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 ac_cpp='$CPP $CPPFLAGS'
4394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4400 $as_echo "$am_cv_ar_interface" >&6; }
4402 case $am_cv_ar_interface in
4406 # Microsoft lib, so override with the ar-lib wrapper script.
4407 # FIXME: It is wrong to rewrite AR.
4408 # But if we don't then we get into trouble of one sort or another.
4409 # A longer-term fix would be to have automake use am__AR in this case,
4410 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4412 AR="$am_aux_dir/ar-lib $AR"
4415 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4420 # Checks for header files.
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4427 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4428 # On Suns, sometimes $CPP names a directory.
4429 if test -n "$CPP" && test -d "$CPP"; then
4432 if test -z "$CPP"; then
4433 if ${ac_cv_prog_CPP+:} false; then :
4434 $as_echo_n "(cached) " >&6
4436 # Double quotes because CPP needs to be expanded
4437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4440 for ac_c_preproc_warn_flag in '' yes
4442 # Use a header file that comes with gcc, so configuring glibc
4443 # with a fresh cross-compiler works.
4444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4445 # <limits.h> exists even on freestanding compilers.
4446 # On the NeXT, cc -E runs the code through the compiler's parser,
4447 # not just through cpp. "Syntax error" is here to catch this case.
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4451 # include <limits.h>
4453 # include <assert.h>
4457 if ac_fn_c_try_cpp "$LINENO"; then :
4460 # Broken: fails on valid input.
4463 rm -f conftest.err conftest.i conftest.$ac_ext
4465 # OK, works on sane cases. Now check whether nonexistent headers
4466 # can be detected and how.
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4469 #include <ac_nonexistent.h>
4471 if ac_fn_c_try_cpp "$LINENO"; then :
4472 # Broken: success on invalid input.
4475 # Passes both tests.
4479 rm -f conftest.err conftest.i conftest.$ac_ext
4482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4483 rm -f conftest.i conftest.err conftest.$ac_ext
4484 if $ac_preproc_ok; then :
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4497 $as_echo "$CPP" >&6; }
4499 for ac_c_preproc_warn_flag in '' yes
4501 # Use a header file that comes with gcc, so configuring glibc
4502 # with a fresh cross-compiler works.
4503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 # <limits.h> exists even on freestanding compilers.
4505 # On the NeXT, cc -E runs the code through the compiler's parser,
4506 # not just through cpp. "Syntax error" is here to catch this case.
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4510 # include <limits.h>
4512 # include <assert.h>
4516 if ac_fn_c_try_cpp "$LINENO"; then :
4519 # Broken: fails on valid input.
4522 rm -f conftest.err conftest.i conftest.$ac_ext
4524 # OK, works on sane cases. Now check whether nonexistent headers
4525 # can be detected and how.
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528 #include <ac_nonexistent.h>
4530 if ac_fn_c_try_cpp "$LINENO"; then :
4531 # Broken: success on invalid input.
4534 # Passes both tests.
4538 rm -f conftest.err conftest.i conftest.$ac_ext
4541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4542 rm -f conftest.i conftest.err conftest.$ac_ext
4543 if $ac_preproc_ok; then :
4546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4548 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4549 See \`config.log' for more details" "$LINENO" 5; }
4553 ac_cpp='$CPP $CPPFLAGS'
4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4560 $as_echo_n "checking for X... " >&6; }
4563 # Check whether --with-x was given.
4564 if test "${with_x+set}" = set; then :
4568 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4569 if test "x$with_x" = xno; then
4570 # The user explicitly disabled X.
4573 case $x_includes,$x_libraries in #(
4574 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4575 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4576 $as_echo_n "(cached) " >&6
4578 # One or both of the vars are not set, and there is no cached value.
4579 ac_x_includes=no ac_x_libraries=no
4580 rm -f -r conftest.dir
4581 if mkdir conftest.dir; then
4583 cat >Imakefile <<'_ACEOF'
4585 @echo incroot='${INCROOT}'
4587 @echo usrlibdir='${USRLIBDIR}'
4589 @echo libdir='${LIBDIR}'
4591 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4592 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4593 for ac_var in incroot usrlibdir libdir; do
4594 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4596 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4597 for ac_extension in a so sl dylib la dll; do
4598 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4599 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4600 ac_im_usrlibdir=$ac_im_libdir; break
4603 # Screen out bogus values from the imake configuration. They are
4604 # bogus both because they are the default anyway, and because
4605 # using them would break gcc on systems where it needs fixed includes.
4606 case $ac_im_incroot in
4607 /usr/include) ac_x_includes= ;;
4608 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4610 case $ac_im_usrlibdir in
4611 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4612 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4616 rm -f -r conftest.dir
4619 # Standard set of common directories for X headers.
4620 # Check X11 before X11Rn because it is often a symlink to the current release.
4634 /usr/local/X11/include
4635 /usr/local/X11R7/include
4636 /usr/local/X11R6/include
4637 /usr/local/X11R5/include
4638 /usr/local/X11R4/include
4640 /usr/local/include/X11
4641 /usr/local/include/X11R7
4642 /usr/local/include/X11R6
4643 /usr/local/include/X11R5
4644 /usr/local/include/X11R4
4648 /usr/XFree86/include/X11
4652 /usr/unsupported/include
4654 /usr/local/x11r5/include
4655 /usr/lpp/Xamples/include
4657 /usr/openwin/include
4658 /usr/openwin/share/include'
4660 if test "$ac_x_includes" = no; then
4661 # Guess where to find include files, by looking for Xlib.h.
4662 # First, try using that file with no special directory specified.
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4665 #include <X11/Xlib.h>
4667 if ac_fn_c_try_cpp "$LINENO"; then :
4668 # We can compile using X headers with no special include directory.
4671 for ac_dir in $ac_x_header_dirs; do
4672 if test -r "$ac_dir/X11/Xlib.h"; then
4673 ac_x_includes=$ac_dir
4678 rm -f conftest.err conftest.i conftest.$ac_ext
4679 fi # $ac_x_includes = no
4681 if test "$ac_x_libraries" = no; then
4682 # Check for the libraries.
4683 # See if we find them without any special options.
4684 # Don't add to $LIBS permanently.
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4689 #include <X11/Xlib.h>
4698 if ac_fn_c_try_link "$LINENO"; then :
4700 # We can link X programs with no special library path.
4704 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4706 # Don't even attempt the hair of trying to link an X program!
4707 for ac_extension in a so sl dylib la dll; do
4708 if test -r "$ac_dir/libX11.$ac_extension"; then
4709 ac_x_libraries=$ac_dir
4715 rm -f core conftest.err conftest.$ac_objext \
4716 conftest$ac_exeext conftest.$ac_ext
4717 fi # $ac_x_libraries = no
4719 case $ac_x_includes,$ac_x_libraries in #(
4721 # Didn't find X, or a directory has "'" in its name.
4722 ac_cv_have_x="have_x=no";; #(
4724 # Record where we found X for the cache.
4725 ac_cv_have_x="have_x=yes\
4726 ac_x_includes='$ac_x_includes'\
4727 ac_x_libraries='$ac_x_libraries'"
4733 eval "$ac_cv_have_x"
4736 if test "$have_x" != yes; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4738 $as_echo "$have_x" >&6; }
4741 # If each of the values was on the command line, it overrides each guess.
4742 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4743 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4744 # Update the cache value to reflect the command line values.
4745 ac_cv_have_x="have_x=yes\
4746 ac_x_includes='$x_includes'\
4747 ac_x_libraries='$x_libraries'"
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4749 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if ${ac_cv_path_GREP+:} false; then :
4755 $as_echo_n "(cached) " >&6
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 as_fn_executable_p "$ac_path_GREP" || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4776 $as_echo_n 0123456789 >"conftest.in"
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4797 $ac_path_GREP_found && break 3
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if ${ac_cv_path_EGREP+:} false; then :
4818 $as_echo_n "(cached) " >&6
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 as_fn_executable_p "$ac_path_EGREP" || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4842 $as_echo_n 0123456789 >"conftest.in"
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 $ac_path_EGREP_found && break 3
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4883 $as_echo_n "checking for ANSI C header files... " >&6; }
4884 if ${ac_cv_header_stdc+:} false; then :
4885 $as_echo_n "(cached) " >&6
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4902 if ac_fn_c_try_compile "$LINENO"; then :
4903 ac_cv_header_stdc=yes
4905 ac_cv_header_stdc=no
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 if test $ac_cv_header_stdc = yes; then
4910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4917 $EGREP "memchr" >/dev/null 2>&1; then :
4920 ac_cv_header_stdc=no
4926 if test $ac_cv_header_stdc = yes; then
4927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4934 $EGREP "free" >/dev/null 2>&1; then :
4937 ac_cv_header_stdc=no
4943 if test $ac_cv_header_stdc = yes; then
4944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4945 if test "$cross_compiling" = yes; then :
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 #if ((' ' & 0x0FF) == 0x020)
4953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4956 # define ISLOWER(c) \
4957 (('a' <= (c) && (c) <= 'i') \
4958 || ('j' <= (c) && (c) <= 'r') \
4959 || ('s' <= (c) && (c) <= 'z'))
4960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4968 for (i = 0; i < 256; i++)
4969 if (XOR (islower (i), ISLOWER (i))
4970 || toupper (i) != TOUPPER (i))
4975 if ac_fn_c_try_run "$LINENO"; then :
4978 ac_cv_header_stdc=no
4980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4981 conftest.$ac_objext conftest.beam conftest.$ac_ext
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4987 $as_echo "$ac_cv_header_stdc" >&6; }
4988 if test $ac_cv_header_stdc = yes; then
4990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4996 inttypes.h stdint.h unistd.h
4998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5002 cat >>confdefs.h <<_ACEOF
5003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5011 for ac_header in stdbool.h
5013 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
5014 if test "x$ac_cv_header_stdbool_h" = xyes; then :
5015 cat >>confdefs.h <<_ACEOF
5016 #define HAVE_STDBOOL_H 1
5028 [\\/$]* | ?:[\\/]*) ;;
5029 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5034 $as_echo_n "checking whether NLS is requested... " >&6; }
5035 # Check whether --enable-nls was given.
5036 if test "${enable_nls+set}" = set; then :
5037 enableval=$enable_nls; USE_NLS=$enableval
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5043 $as_echo "$USE_NLS" >&6; }
5050 # Prepare PATH_SEPARATOR.
5051 # The user is always right.
5052 if test "${PATH_SEPARATOR+set}" != set; then
5053 echo "#! /bin/sh" >conf$$.sh
5054 echo "exit 0" >>conf$$.sh
5056 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5064 # Find out how to test for executable files. Don't use a zero-byte file,
5065 # as systems may use methods other than mode bits to determine executability.
5066 cat >conf$$.file <<_ASEOF
5070 chmod +x conf$$.file
5071 if test -x conf$$.file >/dev/null 2>&1; then
5072 ac_executable_p="test -x"
5074 ac_executable_p="test -f"
5078 # Extract the first word of "msgfmt", so it can be a program name with args.
5079 set dummy msgfmt; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_path_MSGFMT+:} false; then :
5083 $as_echo_n "(cached) " >&6
5087 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5090 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5091 for ac_dir in $PATH; do
5093 test -z "$ac_dir" && ac_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5096 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5097 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5098 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5099 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5106 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5110 MSGFMT="$ac_cv_path_MSGFMT"
5111 if test "$MSGFMT" != ":"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5113 $as_echo "$MSGFMT" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5119 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5120 set dummy gmsgfmt; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_path_GMSGFMT+:} false; then :
5124 $as_echo_n "(cached) " >&6
5128 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5150 GMSGFMT=$ac_cv_path_GMSGFMT
5151 if test -n "$GMSGFMT"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5153 $as_echo "$GMSGFMT" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5162 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5163 *) MSGFMT_015=$MSGFMT ;;
5166 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5167 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5168 *) GMSGFMT_015=$GMSGFMT ;;
5173 # Prepare PATH_SEPARATOR.
5174 # The user is always right.
5175 if test "${PATH_SEPARATOR+set}" != set; then
5176 echo "#! /bin/sh" >conf$$.sh
5177 echo "exit 0" >>conf$$.sh
5179 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5187 # Find out how to test for executable files. Don't use a zero-byte file,
5188 # as systems may use methods other than mode bits to determine executability.
5189 cat >conf$$.file <<_ASEOF
5193 chmod +x conf$$.file
5194 if test -x conf$$.file >/dev/null 2>&1; then
5195 ac_executable_p="test -x"
5197 ac_executable_p="test -f"
5201 # Extract the first word of "xgettext", so it can be a program name with args.
5202 set dummy xgettext; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_path_XGETTEXT+:} false; then :
5206 $as_echo_n "(cached) " >&6
5210 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5213 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5214 for ac_dir in $PATH; do
5216 test -z "$ac_dir" && ac_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5219 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5220 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5221 (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
5222 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5229 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5233 XGETTEXT="$ac_cv_path_XGETTEXT"
5234 if test "$XGETTEXT" != ":"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5236 $as_echo "$XGETTEXT" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5244 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5245 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5246 *) XGETTEXT_015=$XGETTEXT ;;
5251 # Prepare PATH_SEPARATOR.
5252 # The user is always right.
5253 if test "${PATH_SEPARATOR+set}" != set; then
5254 echo "#! /bin/sh" >conf$$.sh
5255 echo "exit 0" >>conf$$.sh
5257 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5265 # Find out how to test for executable files. Don't use a zero-byte file,
5266 # as systems may use methods other than mode bits to determine executability.
5267 cat >conf$$.file <<_ASEOF
5271 chmod +x conf$$.file
5272 if test -x conf$$.file >/dev/null 2>&1; then
5273 ac_executable_p="test -x"
5275 ac_executable_p="test -f"
5279 # Extract the first word of "msgmerge", so it can be a program name with args.
5280 set dummy msgmerge; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_path_MSGMERGE+:} false; then :
5284 $as_echo_n "(cached) " >&6
5288 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5291 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5292 for ac_dir in $PATH; do
5294 test -z "$ac_dir" && ac_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5297 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5298 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5299 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5306 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5310 MSGMERGE="$ac_cv_path_MSGMERGE"
5311 if test "$MSGMERGE" != ":"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5313 $as_echo "$MSGMERGE" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 test -n "$localedir" || localedir='${datadir}/locale'
5323 ac_config_commands="$ac_config_commands po-directories"
5327 if test "X$prefix" = "XNONE"; then
5328 acl_final_prefix="$ac_default_prefix"
5330 acl_final_prefix="$prefix"
5332 if test "X$exec_prefix" = "XNONE"; then
5333 acl_final_exec_prefix='${prefix}'
5335 acl_final_exec_prefix="$exec_prefix"
5337 acl_save_prefix="$prefix"
5338 prefix="$acl_final_prefix"
5339 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5340 prefix="$acl_save_prefix"
5342 # Make sure we can run config.sub.
5343 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5344 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5347 $as_echo_n "checking build system type... " >&6; }
5348 if ${ac_cv_build+:} false; then :
5349 $as_echo_n "(cached) " >&6
5351 ac_build_alias=$build_alias
5352 test "x$ac_build_alias" = x &&
5353 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5354 test "x$ac_build_alias" = x &&
5355 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5356 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5357 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5361 $as_echo "$ac_cv_build" >&6; }
5362 case $ac_cv_build in
5364 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5367 ac_save_IFS=$IFS; IFS='-'
5373 # Remember, the first character of IFS is used to create $*,
5374 # except with old shells:
5377 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5381 $as_echo_n "checking host system type... " >&6; }
5382 if ${ac_cv_host+:} false; then :
5383 $as_echo_n "(cached) " >&6
5385 if test "x$host_alias" = x; then
5386 ac_cv_host=$ac_cv_build
5388 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5389 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5394 $as_echo "$ac_cv_host" >&6; }
5397 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5400 ac_save_IFS=$IFS; IFS='-'
5406 # Remember, the first character of IFS is used to create $*,
5407 # except with old shells:
5410 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5414 # Check whether --with-gnu-ld was given.
5415 if test "${with_gnu_ld+set}" = set; then :
5416 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5421 # Prepare PATH_SEPARATOR.
5422 # The user is always right.
5423 if test "${PATH_SEPARATOR+set}" != set; then
5424 echo "#! /bin/sh" >conf$$.sh
5425 echo "exit 0" >>conf$$.sh
5427 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5435 if test "$GCC" = yes; then
5436 # Check if gcc -print-prog-name=ld gives a path.
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5438 $as_echo_n "checking for ld used by GCC... " >&6; }
5441 # gcc leaves a trailing carriage return which upsets mingw
5442 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5444 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5447 # Accept absolute paths.
5448 [\\/]* | [A-Za-z]:[\\/]*)
5449 re_direlt='/[^/][^/]*/\.\./'
5450 # Canonicalize the path of ld
5451 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5452 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5453 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5455 test -z "$LD" && LD="$ac_prog"
5458 # If it fails, then pretend we aren't using GCC.
5462 # If it is relative, then search for the first ld in PATH.
5466 elif test "$with_gnu_ld" = yes; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5468 $as_echo_n "checking for GNU ld... " >&6; }
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5471 $as_echo_n "checking for non-GNU ld... " >&6; }
5473 if ${acl_cv_path_LD+:} false; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -z "$LD"; then
5477 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5478 for ac_dir in $PATH; do
5479 test -z "$ac_dir" && ac_dir=.
5480 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5481 acl_cv_path_LD="$ac_dir/$ac_prog"
5482 # Check to see if the program is GNU ld. I'd rather use --version,
5483 # but apparently some GNU ld's only accept -v.
5484 # Break only if it was the GNU/non-GNU ld that we prefer.
5485 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5486 *GNU* | *'with BFD'*)
5487 test "$with_gnu_ld" != no && break ;;
5489 test "$with_gnu_ld" != yes && break ;;
5495 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5499 LD="$acl_cv_path_LD"
5500 if test -n "$LD"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5502 $as_echo "$LD" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5507 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5509 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5510 if ${acl_cv_prog_gnu_ld+:} false; then :
5511 $as_echo_n "(cached) " >&6
5513 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5514 case `$LD -v 2>&1 </dev/null` in
5515 *GNU* | *'with BFD'*)
5516 acl_cv_prog_gnu_ld=yes ;;
5518 acl_cv_prog_gnu_ld=no ;;
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5522 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5523 with_gnu_ld=$acl_cv_prog_gnu_ld
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5529 $as_echo_n "checking for shared library run path origin... " >&6; }
5530 if ${acl_cv_rpath+:} false; then :
5531 $as_echo_n "(cached) " >&6
5534 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5535 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5542 $as_echo "$acl_cv_rpath" >&6; }
5544 libext="$acl_cv_libext"
5545 shlibext="$acl_cv_shlibext"
5546 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5547 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5548 hardcode_direct="$acl_cv_hardcode_direct"
5549 hardcode_minus_L="$acl_cv_hardcode_minus_L"
5550 # Check whether --enable-rpath was given.
5551 if test "${enable_rpath+set}" = set; then :
5552 enableval=$enable_rpath; :
5560 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5561 if test -n "$searchpath"; then
5562 acl_save_IFS="${IFS= }"; IFS=":"
5563 for searchdir in $searchpath; do
5564 if test -d "$searchdir"; then
5565 case "$searchdir" in
5566 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5567 *) searchdir=`cd "$searchdir" && pwd`
5568 case "$searchdir" in
5569 */lib64 ) acl_libdirstem=lib64 ;;
5586 acl_save_prefix="$prefix"
5587 prefix="$acl_final_prefix"
5588 acl_save_exec_prefix="$exec_prefix"
5589 exec_prefix="$acl_final_exec_prefix"
5591 eval additional_includedir=\"$includedir\"
5592 eval additional_libdir=\"$libdir\"
5594 exec_prefix="$acl_save_exec_prefix"
5595 prefix="$acl_save_prefix"
5598 # Check whether --with-libiconv-prefix was given.
5599 if test "${with_libiconv_prefix+set}" = set; then :
5600 withval=$with_libiconv_prefix;
5601 if test "X$withval" = "Xno"; then
5604 if test "X$withval" = "X"; then
5606 acl_save_prefix="$prefix"
5607 prefix="$acl_final_prefix"
5608 acl_save_exec_prefix="$exec_prefix"
5609 exec_prefix="$acl_final_exec_prefix"
5611 eval additional_includedir=\"$includedir\"
5612 eval additional_libdir=\"$libdir\"
5614 exec_prefix="$acl_save_exec_prefix"
5615 prefix="$acl_save_prefix"
5618 additional_includedir="$withval/include"
5619 additional_libdir="$withval/$acl_libdirstem"
5630 names_already_handled=
5631 names_next_round='iconv '
5632 while test -n "$names_next_round"; do
5633 names_this_round="$names_next_round"
5635 for name in $names_this_round; do
5637 for n in $names_already_handled; do
5638 if test "$n" = "$name"; then
5643 if test -z "$already_handled"; then
5644 names_already_handled="$names_already_handled $name"
5645 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5646 eval value=\"\$HAVE_LIB$uppername\"
5647 if test -n "$value"; then
5648 if test "$value" = yes; then
5649 eval value=\"\$LIB$uppername\"
5650 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5651 eval value=\"\$LTLIB$uppername\"
5652 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5661 if test $use_additional = yes; then
5662 if test -n "$shlibext" \
5663 && { test -f "$additional_libdir/lib$name.$shlibext" \
5664 || { test "$shlibext" = dll \
5665 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
5666 found_dir="$additional_libdir"
5667 if test -f "$additional_libdir/lib$name.$shlibext"; then
5668 found_so="$additional_libdir/lib$name.$shlibext"
5670 found_so="$additional_libdir/lib$name.dll.a"
5672 if test -f "$additional_libdir/lib$name.la"; then
5673 found_la="$additional_libdir/lib$name.la"
5676 if test -f "$additional_libdir/lib$name.$libext"; then
5677 found_dir="$additional_libdir"
5678 found_a="$additional_libdir/lib$name.$libext"
5679 if test -f "$additional_libdir/lib$name.la"; then
5680 found_la="$additional_libdir/lib$name.la"
5685 if test "X$found_dir" = "X"; then
5686 for x in $LDFLAGS $LTLIBICONV; do
5688 acl_save_prefix="$prefix"
5689 prefix="$acl_final_prefix"
5690 acl_save_exec_prefix="$exec_prefix"
5691 exec_prefix="$acl_final_exec_prefix"
5693 exec_prefix="$acl_save_exec_prefix"
5694 prefix="$acl_save_prefix"
5698 dir=`echo "X$x" | sed -e 's/^X-L//'`
5699 if test -n "$shlibext" \
5700 && { test -f "$dir/lib$name.$shlibext" \
5701 || { test "$shlibext" = dll \
5702 && test -f "$dir/lib$name.dll.a"; }; }; then
5704 if test -f "$dir/lib$name.$shlibext"; then
5705 found_so="$dir/lib$name.$shlibext"
5707 found_so="$dir/lib$name.dll.a"
5709 if test -f "$dir/lib$name.la"; then
5710 found_la="$dir/lib$name.la"
5713 if test -f "$dir/lib$name.$libext"; then
5715 found_a="$dir/lib$name.$libext"
5716 if test -f "$dir/lib$name.la"; then
5717 found_la="$dir/lib$name.la"
5723 if test "X$found_dir" != "X"; then
5728 if test "X$found_dir" != "X"; then
5729 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5730 if test "X$found_so" != "X"; then
5731 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5732 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5735 for x in $ltrpathdirs; do
5736 if test "X$x" = "X$found_dir"; then
5741 if test -z "$haveit"; then
5742 ltrpathdirs="$ltrpathdirs $found_dir"
5744 if test "$hardcode_direct" = yes; then
5745 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5747 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5748 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5750 for x in $rpathdirs; do
5751 if test "X$x" = "X$found_dir"; then
5756 if test -z "$haveit"; then
5757 rpathdirs="$rpathdirs $found_dir"
5761 for x in $LDFLAGS $LIBICONV; do
5763 acl_save_prefix="$prefix"
5764 prefix="$acl_final_prefix"
5765 acl_save_exec_prefix="$exec_prefix"
5766 exec_prefix="$acl_final_exec_prefix"
5768 exec_prefix="$acl_save_exec_prefix"
5769 prefix="$acl_save_prefix"
5771 if test "X$x" = "X-L$found_dir"; then
5776 if test -z "$haveit"; then
5777 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5779 if test "$hardcode_minus_L" != no; then
5780 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5782 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5788 if test "X$found_a" != "X"; then
5789 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5791 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5794 additional_includedir=
5795 case "$found_dir" in
5796 */$acl_libdirstem | */$acl_libdirstem/)
5797 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5798 additional_includedir="$basedir/include"
5801 if test "X$additional_includedir" != "X"; then
5802 if test "X$additional_includedir" != "X/usr/include"; then
5804 if test "X$additional_includedir" = "X/usr/local/include"; then
5805 if test -n "$GCC"; then
5807 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5811 if test -z "$haveit"; then
5812 for x in $CPPFLAGS $INCICONV; do
5814 acl_save_prefix="$prefix"
5815 prefix="$acl_final_prefix"
5816 acl_save_exec_prefix="$exec_prefix"
5817 exec_prefix="$acl_final_exec_prefix"
5819 exec_prefix="$acl_save_exec_prefix"
5820 prefix="$acl_save_prefix"
5822 if test "X$x" = "X-I$additional_includedir"; then
5827 if test -z "$haveit"; then
5828 if test -d "$additional_includedir"; then
5829 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5835 if test -n "$found_la"; then
5836 save_libdir="$libdir"
5838 */* | *\\*) . "$found_la" ;;
5839 *) . "./$found_la" ;;
5841 libdir="$save_libdir"
5842 for dep in $dependency_libs; do
5845 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5846 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5848 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5849 if test -n "$GCC"; then
5851 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5855 if test -z "$haveit"; then
5857 for x in $LDFLAGS $LIBICONV; do
5859 acl_save_prefix="$prefix"
5860 prefix="$acl_final_prefix"
5861 acl_save_exec_prefix="$exec_prefix"
5862 exec_prefix="$acl_final_exec_prefix"
5864 exec_prefix="$acl_save_exec_prefix"
5865 prefix="$acl_save_prefix"
5867 if test "X$x" = "X-L$additional_libdir"; then
5872 if test -z "$haveit"; then
5873 if test -d "$additional_libdir"; then
5874 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5878 for x in $LDFLAGS $LTLIBICONV; do
5880 acl_save_prefix="$prefix"
5881 prefix="$acl_final_prefix"
5882 acl_save_exec_prefix="$exec_prefix"
5883 exec_prefix="$acl_final_exec_prefix"
5885 exec_prefix="$acl_save_exec_prefix"
5886 prefix="$acl_save_prefix"
5888 if test "X$x" = "X-L$additional_libdir"; then
5893 if test -z "$haveit"; then
5894 if test -d "$additional_libdir"; then
5895 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5902 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5903 if test "$enable_rpath" != no; then
5905 for x in $rpathdirs; do
5906 if test "X$x" = "X$dir"; then
5911 if test -z "$haveit"; then
5912 rpathdirs="$rpathdirs $dir"
5915 for x in $ltrpathdirs; do
5916 if test "X$x" = "X$dir"; then
5921 if test -z "$haveit"; then
5922 ltrpathdirs="$ltrpathdirs $dir"
5927 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5930 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5933 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5934 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5940 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5941 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5947 if test "X$rpathdirs" != "X"; then
5948 if test -n "$hardcode_libdir_separator"; then
5950 for found_dir in $rpathdirs; do
5951 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5953 acl_save_libdir="$libdir"
5955 eval flag=\"$hardcode_libdir_flag_spec\"
5956 libdir="$acl_save_libdir"
5957 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5959 for found_dir in $rpathdirs; do
5960 acl_save_libdir="$libdir"
5962 eval flag=\"$hardcode_libdir_flag_spec\"
5963 libdir="$acl_save_libdir"
5964 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5968 if test "X$ltrpathdirs" != "X"; then
5969 for found_dir in $ltrpathdirs; do
5970 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5999 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6000 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
6001 $as_echo_n "(cached) " >&6
6003 gt_save_LIBS="$LIBS"
6004 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 #include <CoreFoundation/CFPreferences.h>
6011 CFPreferencesCopyAppValue(NULL, NULL)
6016 if ac_fn_c_try_link "$LINENO"; then :
6017 gt_cv_func_CFPreferencesCopyAppValue=yes
6019 gt_cv_func_CFPreferencesCopyAppValue=no
6021 rm -f core conftest.err conftest.$ac_objext \
6022 conftest$ac_exeext conftest.$ac_ext
6023 LIBS="$gt_save_LIBS"
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6026 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6027 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6029 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6033 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6034 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6035 $as_echo_n "(cached) " >&6
6037 gt_save_LIBS="$LIBS"
6038 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 #include <CoreFoundation/CFLocale.h>
6045 CFLocaleCopyCurrent();
6050 if ac_fn_c_try_link "$LINENO"; then :
6051 gt_cv_func_CFLocaleCopyCurrent=yes
6053 gt_cv_func_CFLocaleCopyCurrent=no
6055 rm -f core conftest.err conftest.$ac_objext \
6056 conftest$ac_exeext conftest.$ac_ext
6057 LIBS="$gt_save_LIBS"
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6060 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6061 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6063 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6067 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6068 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6080 case " $gt_needs " in
6081 *" need-formatstring-macros "*) gt_api_version=3 ;;
6082 *" need-ngettext "*) gt_api_version=2 ;;
6083 *) gt_api_version=1 ;;
6085 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6086 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6088 if test "$USE_NLS" = "yes"; then
6089 gt_use_preinstalled_gnugettext=no
6092 if test $gt_api_version -ge 3; then
6093 gt_revision_test_code='[
6094 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6095 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6097 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6100 gt_revision_test_code=
6102 if test $gt_api_version -ge 2; then
6103 gt_expression_test_code=' + * ngettext ("", "", 0)'
6105 gt_expression_test_code=
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6109 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6110 if eval \${$gt_func_gnugettext_libc+:} false; then :
6111 $as_echo_n "(cached) " >&6
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #include <libintl.h>
6116 $gt_revision_test_code
6117 extern int _nl_msg_cat_cntr;
6118 extern int *_nl_domain_bindings;
6122 bindtextdomain ("", "");
6123 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6128 if ac_fn_c_try_link "$LINENO"; then :
6129 eval "$gt_func_gnugettext_libc=yes"
6131 eval "$gt_func_gnugettext_libc=no"
6133 rm -f core conftest.err conftest.$ac_objext \
6134 conftest$ac_exeext conftest.$ac_ext
6136 eval ac_res=\$$gt_func_gnugettext_libc
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6138 $as_echo "$ac_res" >&6; }
6140 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6146 am_save_CPPFLAGS="$CPPFLAGS"
6148 for element in $INCICONV; do
6150 for x in $CPPFLAGS; do
6152 acl_save_prefix="$prefix"
6153 prefix="$acl_final_prefix"
6154 acl_save_exec_prefix="$exec_prefix"
6155 exec_prefix="$acl_final_exec_prefix"
6157 exec_prefix="$acl_save_exec_prefix"
6158 prefix="$acl_save_prefix"
6160 if test "X$x" = "X$element"; then
6165 if test -z "$haveit"; then
6166 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6172 $as_echo_n "checking for iconv... " >&6; }
6173 if ${am_cv_func_iconv+:} false; then :
6174 $as_echo_n "(cached) " >&6
6177 am_cv_func_iconv="no, consider installing GNU libiconv"
6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6186 iconv_t cd = iconv_open("","");
6187 iconv(cd,NULL,NULL,NULL,NULL);
6193 if ac_fn_c_try_link "$LINENO"; then :
6194 am_cv_func_iconv=yes
6196 rm -f core conftest.err conftest.$ac_objext \
6197 conftest$ac_exeext conftest.$ac_ext
6198 if test "$am_cv_func_iconv" != yes; then
6199 am_save_LIBS="$LIBS"
6200 LIBS="$LIBS $LIBICONV"
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6208 iconv_t cd = iconv_open("","");
6209 iconv(cd,NULL,NULL,NULL,NULL);
6215 if ac_fn_c_try_link "$LINENO"; then :
6217 am_cv_func_iconv=yes
6219 rm -f core conftest.err conftest.$ac_objext \
6220 conftest$ac_exeext conftest.$ac_ext
6221 LIBS="$am_save_LIBS"
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6226 $as_echo "$am_cv_func_iconv" >&6; }
6227 if test "$am_cv_func_iconv" = yes; then
6229 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6232 if test "$am_cv_lib_iconv" = yes; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6234 $as_echo_n "checking how to link with libiconv... " >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6236 $as_echo "$LIBICONV" >&6; }
6238 CPPFLAGS="$am_save_CPPFLAGS"
6251 acl_save_prefix="$prefix"
6252 prefix="$acl_final_prefix"
6253 acl_save_exec_prefix="$exec_prefix"
6254 exec_prefix="$acl_final_exec_prefix"
6256 eval additional_includedir=\"$includedir\"
6257 eval additional_libdir=\"$libdir\"
6259 exec_prefix="$acl_save_exec_prefix"
6260 prefix="$acl_save_prefix"
6263 # Check whether --with-libintl-prefix was given.
6264 if test "${with_libintl_prefix+set}" = set; then :
6265 withval=$with_libintl_prefix;
6266 if test "X$withval" = "Xno"; then
6269 if test "X$withval" = "X"; then
6271 acl_save_prefix="$prefix"
6272 prefix="$acl_final_prefix"
6273 acl_save_exec_prefix="$exec_prefix"
6274 exec_prefix="$acl_final_exec_prefix"
6276 eval additional_includedir=\"$includedir\"
6277 eval additional_libdir=\"$libdir\"
6279 exec_prefix="$acl_save_exec_prefix"
6280 prefix="$acl_save_prefix"
6283 additional_includedir="$withval/include"
6284 additional_libdir="$withval/$acl_libdirstem"
6295 names_already_handled=
6296 names_next_round='intl '
6297 while test -n "$names_next_round"; do
6298 names_this_round="$names_next_round"
6300 for name in $names_this_round; do
6302 for n in $names_already_handled; do
6303 if test "$n" = "$name"; then
6308 if test -z "$already_handled"; then
6309 names_already_handled="$names_already_handled $name"
6310 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6311 eval value=\"\$HAVE_LIB$uppername\"
6312 if test -n "$value"; then
6313 if test "$value" = yes; then
6314 eval value=\"\$LIB$uppername\"
6315 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6316 eval value=\"\$LTLIB$uppername\"
6317 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6326 if test $use_additional = yes; then
6327 if test -n "$shlibext" \
6328 && { test -f "$additional_libdir/lib$name.$shlibext" \
6329 || { test "$shlibext" = dll \
6330 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
6331 found_dir="$additional_libdir"
6332 if test -f "$additional_libdir/lib$name.$shlibext"; then
6333 found_so="$additional_libdir/lib$name.$shlibext"
6335 found_so="$additional_libdir/lib$name.dll.a"
6337 if test -f "$additional_libdir/lib$name.la"; then
6338 found_la="$additional_libdir/lib$name.la"
6341 if test -f "$additional_libdir/lib$name.$libext"; then
6342 found_dir="$additional_libdir"
6343 found_a="$additional_libdir/lib$name.$libext"
6344 if test -f "$additional_libdir/lib$name.la"; then
6345 found_la="$additional_libdir/lib$name.la"
6350 if test "X$found_dir" = "X"; then
6351 for x in $LDFLAGS $LTLIBINTL; do
6353 acl_save_prefix="$prefix"
6354 prefix="$acl_final_prefix"
6355 acl_save_exec_prefix="$exec_prefix"
6356 exec_prefix="$acl_final_exec_prefix"
6358 exec_prefix="$acl_save_exec_prefix"
6359 prefix="$acl_save_prefix"
6363 dir=`echo "X$x" | sed -e 's/^X-L//'`
6364 if test -n "$shlibext" \
6365 && { test -f "$dir/lib$name.$shlibext" \
6366 || { test "$shlibext" = dll \
6367 && test -f "$dir/lib$name.dll.a"; }; }; then
6369 if test -f "$dir/lib$name.$shlibext"; then
6370 found_so="$dir/lib$name.$shlibext"
6372 found_so="$dir/lib$name.dll.a"
6374 if test -f "$dir/lib$name.la"; then
6375 found_la="$dir/lib$name.la"
6378 if test -f "$dir/lib$name.$libext"; then
6380 found_a="$dir/lib$name.$libext"
6381 if test -f "$dir/lib$name.la"; then
6382 found_la="$dir/lib$name.la"
6388 if test "X$found_dir" != "X"; then
6393 if test "X$found_dir" != "X"; then
6394 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6395 if test "X$found_so" != "X"; then
6396 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6397 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6400 for x in $ltrpathdirs; do
6401 if test "X$x" = "X$found_dir"; then
6406 if test -z "$haveit"; then
6407 ltrpathdirs="$ltrpathdirs $found_dir"
6409 if test "$hardcode_direct" = yes; then
6410 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6412 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6413 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6415 for x in $rpathdirs; do
6416 if test "X$x" = "X$found_dir"; then
6421 if test -z "$haveit"; then
6422 rpathdirs="$rpathdirs $found_dir"
6426 for x in $LDFLAGS $LIBINTL; do
6428 acl_save_prefix="$prefix"
6429 prefix="$acl_final_prefix"
6430 acl_save_exec_prefix="$exec_prefix"
6431 exec_prefix="$acl_final_exec_prefix"
6433 exec_prefix="$acl_save_exec_prefix"
6434 prefix="$acl_save_prefix"
6436 if test "X$x" = "X-L$found_dir"; then
6441 if test -z "$haveit"; then
6442 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6444 if test "$hardcode_minus_L" != no; then
6445 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6447 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6453 if test "X$found_a" != "X"; then
6454 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6456 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6459 additional_includedir=
6460 case "$found_dir" in
6461 */$acl_libdirstem | */$acl_libdirstem/)
6462 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6463 additional_includedir="$basedir/include"
6466 if test "X$additional_includedir" != "X"; then
6467 if test "X$additional_includedir" != "X/usr/include"; then
6469 if test "X$additional_includedir" = "X/usr/local/include"; then
6470 if test -n "$GCC"; then
6472 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6476 if test -z "$haveit"; then
6477 for x in $CPPFLAGS $INCINTL; do
6479 acl_save_prefix="$prefix"
6480 prefix="$acl_final_prefix"
6481 acl_save_exec_prefix="$exec_prefix"
6482 exec_prefix="$acl_final_exec_prefix"
6484 exec_prefix="$acl_save_exec_prefix"
6485 prefix="$acl_save_prefix"
6487 if test "X$x" = "X-I$additional_includedir"; then
6492 if test -z "$haveit"; then
6493 if test -d "$additional_includedir"; then
6494 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6500 if test -n "$found_la"; then
6501 save_libdir="$libdir"
6503 */* | *\\*) . "$found_la" ;;
6504 *) . "./$found_la" ;;
6506 libdir="$save_libdir"
6507 for dep in $dependency_libs; do
6510 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6511 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6513 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6514 if test -n "$GCC"; then
6516 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6520 if test -z "$haveit"; then
6522 for x in $LDFLAGS $LIBINTL; do
6524 acl_save_prefix="$prefix"
6525 prefix="$acl_final_prefix"
6526 acl_save_exec_prefix="$exec_prefix"
6527 exec_prefix="$acl_final_exec_prefix"
6529 exec_prefix="$acl_save_exec_prefix"
6530 prefix="$acl_save_prefix"
6532 if test "X$x" = "X-L$additional_libdir"; then
6537 if test -z "$haveit"; then
6538 if test -d "$additional_libdir"; then
6539 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6543 for x in $LDFLAGS $LTLIBINTL; do
6545 acl_save_prefix="$prefix"
6546 prefix="$acl_final_prefix"
6547 acl_save_exec_prefix="$exec_prefix"
6548 exec_prefix="$acl_final_exec_prefix"
6550 exec_prefix="$acl_save_exec_prefix"
6551 prefix="$acl_save_prefix"
6553 if test "X$x" = "X-L$additional_libdir"; then
6558 if test -z "$haveit"; then
6559 if test -d "$additional_libdir"; then
6560 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6567 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6568 if test "$enable_rpath" != no; then
6570 for x in $rpathdirs; do
6571 if test "X$x" = "X$dir"; then
6576 if test -z "$haveit"; then
6577 rpathdirs="$rpathdirs $dir"
6580 for x in $ltrpathdirs; do
6581 if test "X$x" = "X$dir"; then
6586 if test -z "$haveit"; then
6587 ltrpathdirs="$ltrpathdirs $dir"
6592 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6595 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6598 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6599 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6605 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6606 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6612 if test "X$rpathdirs" != "X"; then
6613 if test -n "$hardcode_libdir_separator"; then
6615 for found_dir in $rpathdirs; do
6616 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6618 acl_save_libdir="$libdir"
6620 eval flag=\"$hardcode_libdir_flag_spec\"
6621 libdir="$acl_save_libdir"
6622 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6624 for found_dir in $rpathdirs; do
6625 acl_save_libdir="$libdir"
6627 eval flag=\"$hardcode_libdir_flag_spec\"
6628 libdir="$acl_save_libdir"
6629 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6633 if test "X$ltrpathdirs" != "X"; then
6634 for found_dir in $ltrpathdirs; do
6635 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6640 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6641 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6642 $as_echo_n "(cached) " >&6
6644 gt_save_CPPFLAGS="$CPPFLAGS"
6645 CPPFLAGS="$CPPFLAGS $INCINTL"
6646 gt_save_LIBS="$LIBS"
6647 LIBS="$LIBS $LIBINTL"
6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #include <libintl.h>
6651 $gt_revision_test_code
6652 extern int _nl_msg_cat_cntr;
6657 const char *_nl_expand_alias (const char *);
6661 bindtextdomain ("", "");
6662 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6667 if ac_fn_c_try_link "$LINENO"; then :
6668 eval "$gt_func_gnugettext_libintl=yes"
6670 eval "$gt_func_gnugettext_libintl=no"
6672 rm -f core conftest.err conftest.$ac_objext \
6673 conftest$ac_exeext conftest.$ac_ext
6674 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6675 LIBS="$LIBS $LIBICONV"
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6678 #include <libintl.h>
6679 $gt_revision_test_code
6680 extern int _nl_msg_cat_cntr;
6685 const char *_nl_expand_alias (const char *);
6689 bindtextdomain ("", "");
6690 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6695 if ac_fn_c_try_link "$LINENO"; then :
6696 LIBINTL="$LIBINTL $LIBICONV"
6697 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6698 eval "$gt_func_gnugettext_libintl=yes"
6701 rm -f core conftest.err conftest.$ac_objext \
6702 conftest$ac_exeext conftest.$ac_ext
6704 CPPFLAGS="$gt_save_CPPFLAGS"
6705 LIBS="$gt_save_LIBS"
6707 eval ac_res=\$$gt_func_gnugettext_libintl
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6709 $as_echo "$ac_res" >&6; }
6712 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6713 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6714 && test "$PACKAGE" != gettext-runtime \
6715 && test "$PACKAGE" != gettext-tools; }; then
6716 gt_use_preinstalled_gnugettext=yes
6725 if test -n "$INTL_MACOSX_LIBS"; then
6726 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6727 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6728 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6729 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6733 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6734 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6736 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6744 $as_echo_n "checking whether to use NLS... " >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6746 $as_echo "$USE_NLS" >&6; }
6747 if test "$USE_NLS" = "yes"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6749 $as_echo_n "checking where the gettext function comes from... " >&6; }
6750 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6751 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6752 gt_source="external libintl"
6757 gt_source="included intl directory"
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6760 $as_echo "$gt_source" >&6; }
6763 if test "$USE_NLS" = "yes"; then
6765 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6766 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6768 $as_echo_n "checking how to link with libintl... " >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6770 $as_echo "$LIBINTL" >&6; }
6772 for element in $INCINTL; do
6774 for x in $CPPFLAGS; do
6776 acl_save_prefix="$prefix"
6777 prefix="$acl_final_prefix"
6778 acl_save_exec_prefix="$exec_prefix"
6779 exec_prefix="$acl_final_exec_prefix"
6781 exec_prefix="$acl_save_exec_prefix"
6782 prefix="$acl_save_prefix"
6784 if test "X$x" = "X$element"; then
6789 if test -z "$haveit"; then
6790 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6797 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6800 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6820 # Check whether --enable-schemas-compile was given.
6821 if test "${enable_schemas_compile+set}" = set; then :
6822 enableval=$enable_schemas_compile; case ${enableval} in
6823 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6824 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6825 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6837 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6838 if test -n "$ac_tool_prefix"; then
6839 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6840 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6844 $as_echo_n "(cached) " >&6
6848 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6870 if test -n "$PKG_CONFIG"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6872 $as_echo "$PKG_CONFIG" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6880 if test -z "$ac_cv_path_PKG_CONFIG"; then
6881 ac_pt_PKG_CONFIG=$PKG_CONFIG
6882 # Extract the first word of "pkg-config", so it can be a program name with args.
6883 set dummy pkg-config; ac_word=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 $as_echo_n "checking for $ac_word... " >&6; }
6886 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6887 $as_echo_n "(cached) " >&6
6889 case $ac_pt_PKG_CONFIG in
6891 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898 test -z "$as_dir" && as_dir=.
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6901 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6913 if test -n "$ac_pt_PKG_CONFIG"; then
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6915 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6921 if test "x$ac_pt_PKG_CONFIG" = x; then
6924 case $cross_compiling:$ac_tool_warned in
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6930 PKG_CONFIG=$ac_pt_PKG_CONFIG
6933 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6937 if test -n "$PKG_CONFIG"; then
6938 _pkg_min_version=0.16
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6940 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6941 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6943 $as_echo "yes" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946 $as_echo "no" >&6; }
6950 gsettingsschemadir=${datadir}/glib-2.0/schemas
6952 if test x$cross_compiling != xyes; then
6953 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6955 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6956 set dummy glib-compile-schemas; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6960 $as_echo_n "(cached) " >&6
6962 case $GLIB_COMPILE_SCHEMAS in
6964 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 test -z "$as_dir" && as_dir=.
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6986 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6988 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6997 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6998 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
7004 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
7006 mostlyclean-am: clean-gsettings-schemas
7008 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7010 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7011 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7013 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7014 uninstall-am: uninstall-gsettings-schemas
7015 install-data-am: install-gsettings-schemas
7017 .SECONDARY: $(gsettings_SCHEMAS)
7019 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7021 if test -n "$^"; then \
7022 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7023 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7024 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7027 uninstall-gsettings-schemas:
7028 @$(NORMAL_UNINSTALL)
7029 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7030 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7031 test -n "$$files" || exit 0; \
7032 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7033 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7034 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7036 clean-gsettings-schemas:
7037 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7039 ifdef gsettings_ENUM_NAMESPACE
7040 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7041 $(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 $@
7051 ############### common
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7055 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7056 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7057 $as_echo_n "(cached) " >&6
7059 ac_check_lib_save_LIBS=$LIBS
7060 LIBS="-lpthread $LIBS"
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7064 /* Override any GCC internal prototype to avoid an error.
7065 Use char because int might match the return type of a GCC
7066 builtin and then its argument prototype would still apply. */
7070 char pthread_create ();
7074 return pthread_create ();
7079 if ac_fn_c_try_link "$LINENO"; then :
7080 ac_cv_lib_pthread_pthread_create=yes
7082 ac_cv_lib_pthread_pthread_create=no
7084 rm -f core conftest.err conftest.$ac_objext \
7085 conftest$ac_exeext conftest.$ac_ext
7086 LIBS=$ac_check_lib_save_LIBS
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7089 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7090 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7091 cat >>confdefs.h <<_ACEOF
7092 #define HAVE_LIBPTHREAD 1
7095 LIBS="-lpthread $LIBS"
7099 PTHREAD_LIBS=-pthread
7102 # Checks sensors, required by psensor and psensor-server
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7104 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7105 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7106 $as_echo_n "(cached) " >&6
7108 ac_check_lib_save_LIBS=$LIBS
7109 LIBS="-lsensors $LIBS"
7110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7111 /* end confdefs.h. */
7113 /* Override any GCC internal prototype to avoid an error.
7114 Use char because int might match the return type of a GCC
7115 builtin and then its argument prototype would still apply. */
7119 char sensors_init ();
7123 return sensors_init ();
7128 if ac_fn_c_try_link "$LINENO"; then :
7129 ac_cv_lib_sensors_sensors_init=yes
7131 ac_cv_lib_sensors_sensors_init=no
7133 rm -f core conftest.err conftest.$ac_objext \
7134 conftest$ac_exeext conftest.$ac_ext
7135 LIBS=$ac_check_lib_save_LIBS
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7138 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7139 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_LIBSENSORS 1
7144 LIBS="-lsensors $LIBS"
7148 for ac_header in sensors/sensors.h sensors/error.h
7150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7151 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7152 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7153 cat >>confdefs.h <<_ACEOF
7154 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7161 SENSORS_LIBS=-lsensors
7164 ############### psensor
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7171 $as_echo_n "checking for X11... " >&6; }
7173 if test -n "$X11_CFLAGS"; then
7174 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7175 elif test -n "$PKG_CONFIG"; then
7176 if test -n "$PKG_CONFIG" && \
7177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7178 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7181 test $ac_status = 0; }; then
7182 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7183 test "x$?" != "x0" && pkg_failed=yes
7190 if test -n "$X11_LIBS"; then
7191 pkg_cv_X11_LIBS="$X11_LIBS"
7192 elif test -n "$PKG_CONFIG"; then
7193 if test -n "$PKG_CONFIG" && \
7194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7195 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7198 test $ac_status = 0; }; then
7199 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7200 test "x$?" != "x0" && pkg_failed=yes
7210 if test $pkg_failed = yes; then
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212 $as_echo "no" >&6; }
7214 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7215 _pkg_short_errors_supported=yes
7217 _pkg_short_errors_supported=no
7219 if test $_pkg_short_errors_supported = yes; then
7220 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7222 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7224 # Put the nasty error message in config.log where it belongs
7225 echo "$X11_PKG_ERRORS" >&5
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7228 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7229 elif test $pkg_failed = untried; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7231 $as_echo "no" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7233 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7235 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7236 X11_LIBS=$pkg_cv_X11_LIBS
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7238 $as_echo "yes" >&6; }
7241 if test -n "$X11_LIBS"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7255 $as_echo_n "checking for XEXT... " >&6; }
7257 if test -n "$XEXT_CFLAGS"; then
7258 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7259 elif test -n "$PKG_CONFIG"; then
7260 if test -n "$PKG_CONFIG" && \
7261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7262 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7265 test $ac_status = 0; }; then
7266 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7267 test "x$?" != "x0" && pkg_failed=yes
7274 if test -n "$XEXT_LIBS"; then
7275 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7276 elif test -n "$PKG_CONFIG"; then
7277 if test -n "$PKG_CONFIG" && \
7278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7279 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7282 test $ac_status = 0; }; then
7283 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7284 test "x$?" != "x0" && pkg_failed=yes
7294 if test $pkg_failed = yes; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7299 _pkg_short_errors_supported=yes
7301 _pkg_short_errors_supported=no
7303 if test $_pkg_short_errors_supported = yes; then
7304 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7306 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7308 # Put the nasty error message in config.log where it belongs
7309 echo "$XEXT_PKG_ERRORS" >&5
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7312 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7313 elif test $pkg_failed = untried; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7317 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7319 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7320 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7322 $as_echo "yes" >&6; }
7325 if test -n "$XEXT_LIBS"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7340 $as_echo_n "checking for GTK... " >&6; }
7342 if test -n "$GTK_CFLAGS"; then
7343 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7344 elif test -n "$PKG_CONFIG"; then
7345 if test -n "$PKG_CONFIG" && \
7346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7347 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7350 test $ac_status = 0; }; then
7351 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.4" 2>/dev/null`
7352 test "x$?" != "x0" && pkg_failed=yes
7359 if test -n "$GTK_LIBS"; then
7360 pkg_cv_GTK_LIBS="$GTK_LIBS"
7361 elif test -n "$PKG_CONFIG"; then
7362 if test -n "$PKG_CONFIG" && \
7363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7364 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7367 test $ac_status = 0; }; then
7368 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.4" 2>/dev/null`
7369 test "x$?" != "x0" && pkg_failed=yes
7379 if test $pkg_failed = yes; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7384 _pkg_short_errors_supported=yes
7386 _pkg_short_errors_supported=no
7388 if test $_pkg_short_errors_supported = yes; then
7389 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7391 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7393 # Put the nasty error message in config.log where it belongs
7394 echo "$GTK_PKG_ERRORS" >&5
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7397 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7398 elif test $pkg_failed = untried; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7402 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7404 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7405 GTK_LIBS=$pkg_cv_GTK_LIBS
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7407 $as_echo "yes" >&6; }
7410 if test -n "$GTK_LIBS"; then
7418 # ensure that only allowed headers are included
7419 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
7420 # ensure that no gtk/dk deprecated symbols are used
7421 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
7422 # do not enable flag because GtkStatusIcon is deprecated
7423 #GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
7424 # ensure use of accessors
7425 GTK_CFLAGS+=" -DGSEAL_ENABLE "
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDISKS2" >&5
7433 $as_echo_n "checking for LIBUDISKS2... " >&6; }
7435 if test -n "$LIBUDISKS2_CFLAGS"; then
7436 pkg_cv_LIBUDISKS2_CFLAGS="$LIBUDISKS2_CFLAGS"
7437 elif test -n "$PKG_CONFIG"; then
7438 if test -n "$PKG_CONFIG" && \
7439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7440 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7443 test $ac_status = 0; }; then
7444 pkg_cv_LIBUDISKS2_CFLAGS=`$PKG_CONFIG --cflags "udisks2" 2>/dev/null`
7445 test "x$?" != "x0" && pkg_failed=yes
7452 if test -n "$LIBUDISKS2_LIBS"; then
7453 pkg_cv_LIBUDISKS2_LIBS="$LIBUDISKS2_LIBS"
7454 elif test -n "$PKG_CONFIG"; then
7455 if test -n "$PKG_CONFIG" && \
7456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7457 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7460 test $ac_status = 0; }; then
7461 pkg_cv_LIBUDISKS2_LIBS=`$PKG_CONFIG --libs "udisks2" 2>/dev/null`
7462 test "x$?" != "x0" && pkg_failed=yes
7472 if test $pkg_failed = yes; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7476 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7477 _pkg_short_errors_supported=yes
7479 _pkg_short_errors_supported=no
7481 if test $_pkg_short_errors_supported = yes; then
7482 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udisks2" 2>&1`
7484 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "udisks2" 2>&1`
7486 # Put the nasty error message in config.log where it belongs
7487 echo "$LIBUDISKS2_PKG_ERRORS" >&5
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7490 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7491 elif test $pkg_failed = untried; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 $as_echo "no" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7495 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7497 LIBUDISKS2_CFLAGS=$pkg_cv_LIBUDISKS2_CFLAGS
7498 LIBUDISKS2_LIBS=$pkg_cv_LIBUDISKS2_LIBS
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7500 $as_echo "yes" >&6; }
7502 $as_echo "#define HAVE_LIBUDISKS2 1" >>confdefs.h
7505 if test -n "$LIBUDISKS2_LIBS"; then
7507 LIBUDISKS2_FALSE='#'
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
7520 $as_echo_n "checking for ATASMART... " >&6; }
7522 if test -n "$ATASMART_CFLAGS"; then
7523 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
7524 elif test -n "$PKG_CONFIG"; then
7525 if test -n "$PKG_CONFIG" && \
7526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7527 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7530 test $ac_status = 0; }; then
7531 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
7532 test "x$?" != "x0" && pkg_failed=yes
7539 if test -n "$ATASMART_LIBS"; then
7540 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
7541 elif test -n "$PKG_CONFIG"; then
7542 if test -n "$PKG_CONFIG" && \
7543 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7544 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7547 test $ac_status = 0; }; then
7548 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
7549 test "x$?" != "x0" && pkg_failed=yes
7559 if test $pkg_failed = yes; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 $as_echo "no" >&6; }
7563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7564 _pkg_short_errors_supported=yes
7566 _pkg_short_errors_supported=no
7568 if test $_pkg_short_errors_supported = yes; then
7569 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
7571 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
7573 # Put the nasty error message in config.log where it belongs
7574 echo "$ATASMART_PKG_ERRORS" >&5
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7577 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7578 elif test $pkg_failed = untried; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7582 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7584 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
7585 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7587 $as_echo "yes" >&6; }
7589 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
7593 if test -n "$ATASMART_LIBS"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7609 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7611 if test -n "$LIBNOTIFY_CFLAGS"; then
7612 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7613 elif test -n "$PKG_CONFIG"; then
7614 if test -n "$PKG_CONFIG" && \
7615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7616 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7619 test $ac_status = 0; }; then
7620 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7621 test "x$?" != "x0" && pkg_failed=yes
7628 if test -n "$LIBNOTIFY_LIBS"; then
7629 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7630 elif test -n "$PKG_CONFIG"; then
7631 if test -n "$PKG_CONFIG" && \
7632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7633 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7636 test $ac_status = 0; }; then
7637 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7638 test "x$?" != "x0" && pkg_failed=yes
7648 if test $pkg_failed = yes; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7653 _pkg_short_errors_supported=yes
7655 _pkg_short_errors_supported=no
7657 if test $_pkg_short_errors_supported = yes; then
7658 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7660 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7662 # Put the nasty error message in config.log where it belongs
7663 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7666 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7667 elif test $pkg_failed = untried; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7671 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7673 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7674 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7676 $as_echo "yes" >&6; }
7678 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7681 if test -n "$LIBNOTIFY_LIBS"; then
7692 # Checks AppIndicator
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7698 $as_echo_n "checking for APPINDICATOR... " >&6; }
7700 if test -n "$APPINDICATOR_CFLAGS"; then
7701 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7702 elif test -n "$PKG_CONFIG"; then
7703 if test -n "$PKG_CONFIG" && \
7704 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7705 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7708 test $ac_status = 0; }; then
7709 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7710 test "x$?" != "x0" && pkg_failed=yes
7717 if test -n "$APPINDICATOR_LIBS"; then
7718 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7719 elif test -n "$PKG_CONFIG"; then
7720 if test -n "$PKG_CONFIG" && \
7721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7722 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7725 test $ac_status = 0; }; then
7726 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7727 test "x$?" != "x0" && pkg_failed=yes
7737 if test $pkg_failed = yes; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7742 _pkg_short_errors_supported=yes
7744 _pkg_short_errors_supported=no
7746 if test $_pkg_short_errors_supported = yes; then
7747 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7749 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7751 # Put the nasty error message in config.log where it belongs
7752 echo "$APPINDICATOR_PKG_ERRORS" >&5
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7755 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7756 elif test $pkg_failed = untried; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 $as_echo "no" >&6; }
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7760 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7762 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7763 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7765 $as_echo "yes" >&6; }
7767 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7771 if test "$APPINDICATOR_LIBS" == ""; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7775 $as_echo_n "checking for APPINDICATOR... " >&6; }
7777 if test -n "$APPINDICATOR_CFLAGS"; then
7778 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7779 elif test -n "$PKG_CONFIG"; then
7780 if test -n "$PKG_CONFIG" && \
7781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7782 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7785 test $ac_status = 0; }; then
7786 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7787 test "x$?" != "x0" && pkg_failed=yes
7794 if test -n "$APPINDICATOR_LIBS"; then
7795 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7796 elif test -n "$PKG_CONFIG"; then
7797 if test -n "$PKG_CONFIG" && \
7798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7799 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7802 test $ac_status = 0; }; then
7803 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7804 test "x$?" != "x0" && pkg_failed=yes
7814 if test $pkg_failed = yes; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7819 _pkg_short_errors_supported=yes
7821 _pkg_short_errors_supported=no
7823 if test $_pkg_short_errors_supported = yes; then
7824 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7826 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7828 # Put the nasty error message in config.log where it belongs
7829 echo "$APPINDICATOR_PKG_ERRORS" >&5
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7832 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7833 elif test $pkg_failed = untried; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7837 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7839 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7840 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7842 $as_echo "yes" >&6; }
7844 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7847 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
7853 if test "$APPINDICATOR_LIBS" == ""; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7857 $as_echo_n "checking for APPINDICATOR... " >&6; }
7859 if test -n "$APPINDICATOR_CFLAGS"; then
7860 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7861 elif test -n "$PKG_CONFIG"; then
7862 if test -n "$PKG_CONFIG" && \
7863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7864 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7867 test $ac_status = 0; }; then
7868 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
7869 test "x$?" != "x0" && pkg_failed=yes
7876 if test -n "$APPINDICATOR_LIBS"; then
7877 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7878 elif test -n "$PKG_CONFIG"; then
7879 if test -n "$PKG_CONFIG" && \
7880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7881 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7884 test $ac_status = 0; }; then
7885 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
7886 test "x$?" != "x0" && pkg_failed=yes
7896 if test $pkg_failed = yes; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7898 $as_echo "no" >&6; }
7900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7901 _pkg_short_errors_supported=yes
7903 _pkg_short_errors_supported=no
7905 if test $_pkg_short_errors_supported = yes; then
7906 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7908 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7910 # Put the nasty error message in config.log where it belongs
7911 echo "$APPINDICATOR_PKG_ERRORS" >&5
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7914 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7915 elif test $pkg_failed = untried; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7919 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7921 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7922 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7924 $as_echo "yes" >&6; }
7926 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7930 if test -n "$APPINDICATOR_LIBS"; then
7932 APPINDICATOR_FALSE='#'
7934 APPINDICATOR_TRUE='#'
7941 # Check CURL, needed for remote monitoring
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7946 $as_echo_n "checking for CURL... " >&6; }
7948 if test -n "$CURL_CFLAGS"; then
7949 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7950 elif test -n "$PKG_CONFIG"; then
7951 if test -n "$PKG_CONFIG" && \
7952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7953 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7956 test $ac_status = 0; }; then
7957 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7958 test "x$?" != "x0" && pkg_failed=yes
7965 if test -n "$CURL_LIBS"; then
7966 pkg_cv_CURL_LIBS="$CURL_LIBS"
7967 elif test -n "$PKG_CONFIG"; then
7968 if test -n "$PKG_CONFIG" && \
7969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7970 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7973 test $ac_status = 0; }; then
7974 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7975 test "x$?" != "x0" && pkg_failed=yes
7985 if test $pkg_failed = yes; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7990 _pkg_short_errors_supported=yes
7992 _pkg_short_errors_supported=no
7994 if test $_pkg_short_errors_supported = yes; then
7995 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
7997 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
7999 # Put the nasty error message in config.log where it belongs
8000 echo "$CURL_PKG_ERRORS" >&5
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8003 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8004 elif test $pkg_failed = untried; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8008 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8010 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
8011 CURL_LIBS=$pkg_cv_CURL_LIBS
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8013 $as_echo "yes" >&6; }
8015 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8018 if test -n "$CURL_LIBS"; then
8029 # Check JSON, needed for remote monitoring
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8034 $as_echo_n "checking for JSON... " >&6; }
8036 if test -n "$JSON_CFLAGS"; then
8037 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8038 elif test -n "$PKG_CONFIG"; then
8039 if test -n "$PKG_CONFIG" && \
8040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
8041 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
8043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8044 test $ac_status = 0; }; then
8045 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11.99" 2>/dev/null`
8046 test "x$?" != "x0" && pkg_failed=yes
8053 if test -n "$JSON_LIBS"; then
8054 pkg_cv_JSON_LIBS="$JSON_LIBS"
8055 elif test -n "$PKG_CONFIG"; then
8056 if test -n "$PKG_CONFIG" && \
8057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
8058 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
8060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8061 test $ac_status = 0; }; then
8062 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11.99" 2>/dev/null`
8063 test "x$?" != "x0" && pkg_failed=yes
8073 if test $pkg_failed = yes; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8078 _pkg_short_errors_supported=yes
8080 _pkg_short_errors_supported=no
8082 if test $_pkg_short_errors_supported = yes; then
8083 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
8085 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
8087 # Put the nasty error message in config.log where it belongs
8088 echo "$JSON_PKG_ERRORS" >&5
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8091 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8092 elif test $pkg_failed = untried; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8096 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8098 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8099 JSON_LIBS=$pkg_cv_JSON_LIBS
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8101 $as_echo "yes" >&6; }
8103 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8107 if test "$JSON_LIBS" == ""; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8111 $as_echo_n "checking for JSON... " >&6; }
8113 if test -n "$JSON_CFLAGS"; then
8114 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8115 elif test -n "$PKG_CONFIG"; then
8116 if test -n "$PKG_CONFIG" && \
8117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
8118 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
8120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8121 test $ac_status = 0; }; then
8122 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.11.99" 2>/dev/null`
8123 test "x$?" != "x0" && pkg_failed=yes
8130 if test -n "$JSON_LIBS"; then
8131 pkg_cv_JSON_LIBS="$JSON_LIBS"
8132 elif test -n "$PKG_CONFIG"; then
8133 if test -n "$PKG_CONFIG" && \
8134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
8135 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
8137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8138 test $ac_status = 0; }; then
8139 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.11.99" 2>/dev/null`
8140 test "x$?" != "x0" && pkg_failed=yes
8150 if test $pkg_failed = yes; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8155 _pkg_short_errors_supported=yes
8157 _pkg_short_errors_supported=no
8159 if test $_pkg_short_errors_supported = yes; then
8160 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8162 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8164 # Put the nasty error message in config.log where it belongs
8165 echo "$JSON_PKG_ERRORS" >&5
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8168 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8169 elif test $pkg_failed = untried; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8173 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8175 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8176 JSON_LIBS=$pkg_cv_JSON_LIBS
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8178 $as_echo "yes" >&6; }
8180 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8183 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8188 if test -n "$JSON_LIBS"; then
8199 # Enables remote monitoring if JSON and CURL is present
8200 if test -n "$JSON_LIBS"; then
8201 if test -n "$CURL_LIBS"; then
8203 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8209 # following code from sensors-applet
8210 # sensors-applet.sourceforge.net/
8211 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8214 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8215 #include <X11/Xlib.h>
8218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8219 cat >>confdefs.h <<_ACEOF
8220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8227 if test -n "${X11_LIBS}"; then
8228 LIBS="${LIBS} -lX11 -lXext"
8230 if test "${HAVE_NVIDIA}" = "true"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8232 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8233 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8234 $as_echo_n "(cached) " >&6
8236 ac_check_lib_save_LIBS=$LIBS
8237 LIBS="-lXNVCtrl $LIBS"
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8241 /* Override any GCC internal prototype to avoid an error.
8242 Use char because int might match the return type of a GCC
8243 builtin and then its argument prototype would still apply. */
8247 char XNVCTRLQueryExtension ();
8251 return XNVCTRLQueryExtension ();
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8259 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 LIBS=$ac_check_lib_save_LIBS
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8266 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8267 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8268 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8270 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8277 if test -n "$NVIDIA_LIBS"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8292 $as_echo_n "checking for UNITY... " >&6; }
8294 if test -n "$UNITY_CFLAGS"; then
8295 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8296 elif test -n "$PKG_CONFIG"; then
8297 if test -n "$PKG_CONFIG" && \
8298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8299 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8302 test $ac_status = 0; }; then
8303 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8304 test "x$?" != "x0" && pkg_failed=yes
8311 if test -n "$UNITY_LIBS"; then
8312 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8313 elif test -n "$PKG_CONFIG"; then
8314 if test -n "$PKG_CONFIG" && \
8315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8316 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8319 test $ac_status = 0; }; then
8320 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8321 test "x$?" != "x0" && pkg_failed=yes
8331 if test $pkg_failed = yes; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8336 _pkg_short_errors_supported=yes
8338 _pkg_short_errors_supported=no
8340 if test $_pkg_short_errors_supported = yes; then
8341 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8343 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8345 # Put the nasty error message in config.log where it belongs
8346 echo "$UNITY_PKG_ERRORS" >&5
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8349 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8350 elif test $pkg_failed = untried; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8354 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8356 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8357 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8359 $as_echo "yes" >&6; }
8361 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8366 if test -n "$UNITY_LIBS"; then
8377 # Check whether --with-libatiadl was given.
8378 if test "${with_libatiadl+set}" = set; then :
8379 withval=$with_libatiadl;
8380 ATIADL_DIR=${withval}
8381 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8382 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8388 for ac_header in adl_defines.h
8390 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8391 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8392 cat >>confdefs.h <<_ACEOF
8393 #define HAVE_ADL_DEFINES_H 1
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8396 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8397 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8398 $as_echo_n "(cached) " >&6
8400 ac_check_lib_save_LIBS=$LIBS
8401 LIBS="-latiadlxx $LIBS"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8405 /* Override any GCC internal prototype to avoid an error.
8406 Use char because int might match the return type of a GCC
8407 builtin and then its argument prototype would still apply. */
8411 char ADL_Main_Control_Refresh ();
8415 return ADL_Main_Control_Refresh ();
8420 if ac_fn_c_try_link "$LINENO"; then :
8421 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8423 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8425 rm -f core conftest.err conftest.$ac_objext \
8426 conftest$ac_exeext conftest.$ac_ext
8427 LIBS=$ac_check_lib_save_LIBS
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8430 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8431 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8434 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8436 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8437 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8446 if test -n "$LIBATIADL_LIBS"; then
8457 ############### psensor-server
8459 # Check libmicrohttpd, mandatory for psensor-server
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8464 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8466 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8467 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8468 elif test -n "$PKG_CONFIG"; then
8469 if test -n "$PKG_CONFIG" && \
8470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8471 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8474 test $ac_status = 0; }; then
8475 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8476 test "x$?" != "x0" && pkg_failed=yes
8483 if test -n "$LIBMICROHTTPD_LIBS"; then
8484 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8485 elif test -n "$PKG_CONFIG"; then
8486 if test -n "$PKG_CONFIG" && \
8487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8488 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8491 test $ac_status = 0; }; then
8492 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8493 test "x$?" != "x0" && pkg_failed=yes
8503 if test $pkg_failed = yes; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8508 _pkg_short_errors_supported=yes
8510 _pkg_short_errors_supported=no
8512 if test $_pkg_short_errors_supported = yes; then
8513 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8515 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8517 # Put the nasty error message in config.log where it belongs
8518 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8521 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8522 elif test $pkg_failed = untried; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8526 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8528 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8529 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8531 $as_echo "yes" >&6; }
8533 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8536 if test -n "$LIBMICROHTTPD_LIBS"; then
8538 LIBMICROHTTPD_FALSE='#'
8540 LIBMICROHTTPD_TRUE='#'
8541 LIBMICROHTTPD_FALSE=
8547 # Check gtop2, optional
8549 # Check whether --with-gtop was given.
8550 if test "${with_gtop+set}" = set; then :
8561 if test "$with_gtop" = "yes"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8565 $as_echo_n "checking for GTOP... " >&6; }
8567 if test -n "$GTOP_CFLAGS"; then
8568 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8569 elif test -n "$PKG_CONFIG"; then
8570 if test -n "$PKG_CONFIG" && \
8571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8572 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8575 test $ac_status = 0; }; then
8576 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8577 test "x$?" != "x0" && pkg_failed=yes
8584 if test -n "$GTOP_LIBS"; then
8585 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8586 elif test -n "$PKG_CONFIG"; then
8587 if test -n "$PKG_CONFIG" && \
8588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8589 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8592 test $ac_status = 0; }; then
8593 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8594 test "x$?" != "x0" && pkg_failed=yes
8604 if test $pkg_failed = yes; then
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8606 $as_echo "no" >&6; }
8608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8609 _pkg_short_errors_supported=yes
8611 _pkg_short_errors_supported=no
8613 if test $_pkg_short_errors_supported = yes; then
8614 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8616 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8618 # Put the nasty error message in config.log where it belongs
8619 echo "$GTOP_PKG_ERRORS" >&5
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8622 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8623 elif test $pkg_failed = untried; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8625 $as_echo "no" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8627 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8629 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8630 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8632 $as_echo "yes" >&6; }
8634 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8638 if test -n "$GTOP_LIBS"; then
8649 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"
8652 for ac_prog in help2man
8654 # Extract the first word of "$ac_prog", so it can be a program name with args.
8655 set dummy $ac_prog; ac_word=$2
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8657 $as_echo_n "checking for $ac_word... " >&6; }
8658 if ${ac_cv_prog_HELP2MAN+:} false; then :
8659 $as_echo_n "(cached) " >&6
8661 if test -n "$HELP2MAN"; then
8662 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir=.
8669 for ac_exec_ext in '' $ac_executable_extensions; do
8670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8671 ac_cv_prog_HELP2MAN="$ac_prog"
8672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 HELP2MAN=$ac_cv_prog_HELP2MAN
8682 if test -n "$HELP2MAN"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8684 $as_echo "$HELP2MAN" >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8687 $as_echo "no" >&6; }
8691 test -n "$HELP2MAN" && break
8695 # Extract the first word of "asciidoc", so it can be a program name with args.
8696 set dummy asciidoc; ac_word=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8698 $as_echo_n "checking for $ac_word... " >&6; }
8699 if ${ac_cv_prog_ASCIIDOC+:} false; then :
8700 $as_echo_n "(cached) " >&6
8702 if test -n "$ASCIIDOC"; then
8703 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712 ac_cv_prog_ASCIIDOC="yes"
8713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8722 ASCIIDOC=$ac_cv_prog_ASCIIDOC
8723 if test -n "$ASCIIDOC"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
8725 $as_echo "$ASCIIDOC" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728 $as_echo "no" >&6; }
8732 if test -n "$ASCIIDOC"; then
8741 # Extract the first word of "cppcheck", so it can be a program name with args.
8742 set dummy cppcheck; ac_word=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
8746 $as_echo_n "(cached) " >&6
8748 if test -n "$HAVE_CPPCHECK"; then
8749 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
8751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8755 test -z "$as_dir" && as_dir=.
8756 for ac_exec_ext in '' $ac_executable_extensions; do
8757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8758 ac_cv_prog_HAVE_CPPCHECK="yes"
8759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
8769 if test -n "$HAVE_CPPCHECK"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
8771 $as_echo "$HAVE_CPPCHECK" >&6; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8778 if test -n "$HAVE_CPPCHECK"; then
8787 cat >confcache <<\_ACEOF
8788 # This file is a shell script that caches the results of configure
8789 # tests run on this system so they can be shared between configure
8790 # scripts and configure runs, see configure's option --config-cache.
8791 # It is not useful on other systems. If it contains results you don't
8792 # want to keep, you may remove or edit it.
8794 # config.status only pays attention to the cache file if you give it
8795 # the --recheck option to rerun configure.
8797 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8798 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8803 # The following way of writing the cache mishandles newlines in values,
8804 # but we know of no workaround that is simple, portable, and efficient.
8805 # So, we kill variables containing newlines.
8806 # Ultrix sh set writes to stderr and can't be redirected directly,
8807 # and sets the high bit in the cache file unless we assign to the vars.
8809 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8810 eval ac_val=\$$ac_var
8814 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8815 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8818 _ | IFS | as_nl) ;; #(
8819 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8820 *) { eval $ac_var=; unset $ac_var;} ;;
8826 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8827 *${as_nl}ac_space=\ *)
8828 # `set' does not quote correctly, so add quotes: double-quote
8829 # substitution turns \\\\ into \\, and sed turns \\ into \.
8832 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8835 # `set' quotes correctly as required by POSIX, so do not add quotes.
8836 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8845 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8847 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8849 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8850 if test -w "$cache_file"; then
8851 if test "x$cache_file" != "x/dev/null"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8853 $as_echo "$as_me: updating cache $cache_file" >&6;}
8854 if test ! -f "$cache_file" || test -h "$cache_file"; then
8855 cat confcache >"$cache_file"
8857 case $cache_file in #(
8859 mv -f confcache "$cache_file"$$ &&
8860 mv -f "$cache_file"$$ "$cache_file" ;; #(
8862 mv -f confcache "$cache_file" ;;
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8868 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8873 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8874 # Let make expand exec_prefix.
8875 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8877 DEFS=-DHAVE_CONFIG_H
8882 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8883 # 1. Remove the extension, and $U if already installed.
8884 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8885 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8886 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8887 # will be set to the directory where LIBOBJS objects are built.
8888 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8889 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8893 LTLIBOBJS=$ac_ltlibobjs
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8897 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8898 if test -n "$am_sleep_pid"; then
8899 # Hide warnings about reused PIDs.
8900 wait $am_sleep_pid 2>/dev/null
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8903 $as_echo "done" >&6; }
8904 if test -n "$EXEEXT"; then
8906 am__EXEEXT_FALSE='#'
8912 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8913 as_fn_error $? "conditional \"AMDEP\" was never defined.
8914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8916 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8917 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8920 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
8921 as_fn_error $? "conditional \"X11\" was never defined.
8922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8924 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
8925 as_fn_error $? "conditional \"XEXT\" was never defined.
8926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8928 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8929 as_fn_error $? "conditional \"GTK\" was never defined.
8930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8932 if test -z "${LIBUDISKS2_TRUE}" && test -z "${LIBUDISKS2_FALSE}"; then
8933 as_fn_error $? "conditional \"LIBUDISKS2\" was never defined.
8934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8936 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
8937 as_fn_error $? "conditional \"ATASMART\" was never defined.
8938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8940 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8941 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8944 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8945 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8948 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8949 as_fn_error $? "conditional \"CURL\" was never defined.
8950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8952 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8953 as_fn_error $? "conditional \"JSON\" was never defined.
8954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8956 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8957 as_fn_error $? "conditional \"NVIDIA\" was never defined.
8958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8960 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8961 as_fn_error $? "conditional \"UNITY\" was never defined.
8962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8964 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
8965 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8968 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8969 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8972 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8973 as_fn_error $? "conditional \"GTOP\" was never defined.
8974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8976 if test -z "${ASCIIDOC_TRUE}" && test -z "${ASCIIDOC_FALSE}"; then
8977 as_fn_error $? "conditional \"ASCIIDOC\" was never defined.
8978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8980 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
8981 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
8982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8985 : "${CONFIG_STATUS=./config.status}"
8987 ac_clean_files_save=$ac_clean_files
8988 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8990 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8992 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8994 # Generated by $as_me.
8995 # Run this file to recreate the current configuration.
8996 # Compiler output produced by configure, useful for debugging
8997 # configure, is in config.log if it exists.
9003 SHELL=\${CONFIG_SHELL-$SHELL}
9006 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9007 ## -------------------- ##
9008 ## M4sh Initialization. ##
9009 ## -------------------- ##
9011 # Be more Bourne compatible
9012 DUALCASE=1; export DUALCASE # for MKS sh
9013 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9016 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9017 # is contrary to our usage. Disable this feature.
9018 alias -g '${1+"$@"}'='"$@"'
9019 setopt NO_GLOB_SUBST
9021 case `(set -o) 2>/dev/null` in #(
9033 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9034 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9036 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9037 # Prefer a ksh shell builtin over an external printf program on Solaris,
9038 # but without wasting forks for bash or zsh.
9039 if test -z "$BASH_VERSION$ZSH_VERSION" \
9040 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9041 as_echo='print -r --'
9042 as_echo_n='print -rn --'
9043 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9044 as_echo='printf %s\n'
9045 as_echo_n='printf %s'
9047 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9048 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9049 as_echo_n='/usr/ucb/echo -n'
9051 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9052 as_echo_n_body='eval
9056 expr "X$arg" : "X\\(.*\\)$as_nl";
9057 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9059 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9061 export as_echo_n_body
9062 as_echo_n='sh -c $as_echo_n_body as_echo'
9065 as_echo='sh -c $as_echo_body as_echo'
9068 # The user is always right.
9069 if test "${PATH_SEPARATOR+set}" != set; then
9071 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9072 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9079 # We need space, tab and new line, in precisely that order. Quoting is
9080 # there to prevent editors from complaining about space-tab.
9081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9082 # splitting by setting IFS to empty value.)
9085 # Find who we are. Look in the path if we contain no directory separator.
9088 *[\\/]* ) as_myself=$0 ;;
9089 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9093 test -z "$as_dir" && as_dir=.
9094 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9100 # We did not find ourselves, most probably we were run as `sh COMMAND'
9101 # in which case we are not to be found in the path.
9102 if test "x$as_myself" = x; then
9105 if test ! -f "$as_myself"; then
9106 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9110 # Unset variables that we do not need and which cause bugs (e.g. in
9111 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9112 # suppresses any "Segmentation fault" message there. '((' could
9113 # trigger a bug in pdksh 5.2.14.
9114 for as_var in BASH_ENV ENV MAIL MAILPATH
9115 do eval test x\${$as_var+set} = xset \
9116 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9129 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9132 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9133 # ----------------------------------------
9134 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9135 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9136 # script with STATUS, using 1 if that was 0.
9139 as_status=$1; test $as_status -eq 0 && as_status=1
9141 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9142 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9144 $as_echo "$as_me: error: $2" >&2
9145 as_fn_exit $as_status
9149 # as_fn_set_status STATUS
9150 # -----------------------
9151 # Set $? to STATUS, without forking.
9155 } # as_fn_set_status
9159 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9169 # Portably unset VAR.
9172 { eval $1=; unset $1;}
9174 as_unset=as_fn_unset
9175 # as_fn_append VAR VALUE
9176 # ----------------------
9177 # Append the text in VALUE to the end of the definition contained in VAR. Take
9178 # advantage of any shell optimizations that allow amortized linear growth over
9179 # repeated appends, instead of the typical quadratic growth present in naive
9181 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9182 eval 'as_fn_append ()
9193 # as_fn_arith ARG...
9194 # ------------------
9195 # Perform arithmetic evaluation on the ARGs, and store the result in the
9196 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9197 # must be portable across $(()) and expr.
9198 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9199 eval 'as_fn_arith ()
9206 as_val=`expr "$@" || test $? -eq 1`
9211 if expr a : '\(a\)' >/dev/null 2>&1 &&
9212 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9218 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9219 as_basename=basename
9224 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9230 as_me=`$as_basename -- "$0" ||
9231 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9232 X"$0" : 'X\(//\)$' \| \
9233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9235 sed '/^.*\/\([^/][^/]*\)\/*$/{
9249 # Avoid depending upon Character Ranges.
9250 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9251 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9252 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9253 as_cr_digits='0123456789'
9254 as_cr_alnum=$as_cr_Letters$as_cr_digits
9256 ECHO_C= ECHO_N= ECHO_T=
9257 case `echo -n x` in #(((((
9259 case `echo 'xy\c'` in
9260 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9262 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9269 rm -f conf$$ conf$$.exe conf$$.file
9270 if test -d conf$$.dir; then
9271 rm -f conf$$.dir/conf$$.file
9274 mkdir conf$$.dir 2>/dev/null
9276 if (echo >conf$$.file) 2>/dev/null; then
9277 if ln -s conf$$.file conf$$ 2>/dev/null; then
9279 # ... but there are two gotchas:
9280 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9281 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9282 # In both cases, we have to default to `cp -pR'.
9283 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9285 elif ln conf$$.file conf$$ 2>/dev/null; then
9293 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9294 rmdir conf$$.dir 2>/dev/null
9299 # Create "$as_dir" as a directory, including parents if necessary.
9304 -*) as_dir=./$as_dir;;
9306 test -d "$as_dir" || eval $as_mkdir_p || {
9310 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9311 *) as_qdir=$as_dir;;
9313 as_dirs="'$as_qdir' $as_dirs"
9314 as_dir=`$as_dirname -- "$as_dir" ||
9315 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9316 X"$as_dir" : 'X\(//\)[^/]' \| \
9317 X"$as_dir" : 'X\(//\)$' \| \
9318 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9319 $as_echo X"$as_dir" |
9320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9337 test -d "$as_dir" && break
9339 test -z "$as_dirs" || eval "mkdir $as_dirs"
9340 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9344 if mkdir -p . 2>/dev/null; then
9345 as_mkdir_p='mkdir -p "$as_dir"'
9347 test -d ./-p && rmdir ./-p
9352 # as_fn_executable_p FILE
9353 # -----------------------
9354 # Test if FILE is an executable regular file.
9355 as_fn_executable_p ()
9357 test -f "$1" && test -x "$1"
9358 } # as_fn_executable_p
9360 as_executable_p=as_fn_executable_p
9362 # Sed expression to map a string onto a valid CPP name.
9363 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9365 # Sed expression to map a string onto a valid variable name.
9366 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9370 ## ----------------------------------- ##
9371 ## Main body of $CONFIG_STATUS script. ##
9372 ## ----------------------------------- ##
9374 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9377 # Save the log message, to keep $0 and so on meaningful, and to
9378 # report actual input values of CONFIG_FILES etc. instead of their
9379 # values after options handling.
9381 This file was extended by psensor $as_me 1.1.4, which was
9382 generated by GNU Autoconf 2.69. Invocation command line was
9384 CONFIG_FILES = $CONFIG_FILES
9385 CONFIG_HEADERS = $CONFIG_HEADERS
9386 CONFIG_LINKS = $CONFIG_LINKS
9387 CONFIG_COMMANDS = $CONFIG_COMMANDS
9390 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9395 case $ac_config_files in *"
9396 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9399 case $ac_config_headers in *"
9400 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9405 # Files that config.status was made for.
9406 config_files="$ac_config_files"
9407 config_headers="$ac_config_headers"
9408 config_commands="$ac_config_commands"
9412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9414 \`$as_me' instantiates files and other configuration actions
9415 from templates according to the current configuration. Unless the files
9416 and actions are specified as TAGs, all are instantiated by default.
9418 Usage: $0 [OPTION]... [TAG]...
9420 -h, --help print this help, then exit
9421 -V, --version print version number and configuration settings, then exit
9422 --config print configuration, then exit
9423 -q, --quiet, --silent
9424 do not print progress messages
9425 -d, --debug don't remove temporary files
9426 --recheck update $as_me by reconfiguring in the same conditions
9427 --file=FILE[:TEMPLATE]
9428 instantiate the configuration file FILE
9429 --header=FILE[:TEMPLATE]
9430 instantiate the configuration header FILE
9432 Configuration files:
9435 Configuration headers:
9438 Configuration commands:
9441 Report bugs to <jeanfi@gmail.com>.
9442 psensor home page: <http://wpitchoune.net/psensor>."
9445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9446 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9448 psensor config.status 1.1.4
9449 configured by $0, generated by GNU Autoconf 2.69,
9450 with options \\"\$ac_cs_config\\"
9452 Copyright (C) 2012 Free Software Foundation, Inc.
9453 This config.status script is free software; the Free Software Foundation
9454 gives unlimited permission to copy, distribute and modify it."
9461 test -n "\$AWK" || AWK=awk
9464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9465 # The default lists apply if the user does not specify any file.
9471 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9472 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9476 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9488 # Handling of the options.
9489 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9491 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9492 $as_echo "$ac_cs_version"; exit ;;
9493 --config | --confi | --conf | --con | --co | --c )
9494 $as_echo "$ac_cs_config"; exit ;;
9495 --debug | --debu | --deb | --de | --d | -d )
9497 --file | --fil | --fi | --f )
9500 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9501 '') as_fn_error $? "missing file argument" ;;
9503 as_fn_append CONFIG_FILES " '$ac_optarg'"
9504 ac_need_defaults=false;;
9505 --header | --heade | --head | --hea )
9508 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9510 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9511 ac_need_defaults=false;;
9513 # Conflict between --help and --header
9514 as_fn_error $? "ambiguous option: \`$1'
9515 Try \`$0 --help' for more information.";;
9516 --help | --hel | -h )
9517 $as_echo "$ac_cs_usage"; exit ;;
9518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9523 -*) as_fn_error $? "unrecognized option: \`$1'
9524 Try \`$0 --help' for more information." ;;
9526 *) as_fn_append ac_config_targets " $1"
9527 ac_need_defaults=false ;;
9533 ac_configure_extra_args=
9535 if $ac_cs_silent; then
9537 ac_configure_extra_args="$ac_configure_extra_args --silent"
9541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9542 if \$ac_cs_recheck; then
9543 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9545 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9546 CONFIG_SHELL='$SHELL'
9552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9556 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9557 ## Running $as_me. ##
9563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9567 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9568 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9569 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9570 # from automake < 1.5.
9571 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9572 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9573 LINGUAS="${LINGUAS-%UNSET%}"
9578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9580 # Handling of arguments.
9581 for ac_config_target in $ac_config_targets
9583 case $ac_config_target in
9584 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9585 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9586 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9587 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9588 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9589 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9590 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9591 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9592 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9593 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9594 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9595 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9596 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9597 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9598 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9599 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9600 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9601 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9602 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9603 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9604 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9605 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9606 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9608 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9613 # If the user did not use the arguments to specify the items to instantiate,
9614 # then the envvar interface is used. Set only those that are not.
9615 # We use the long form for the default assignment because of an extremely
9616 # bizarre bug on SunOS 4.1.3.
9617 if $ac_need_defaults; then
9618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9623 # Have a temporary directory for convenience. Make it in the build tree
9624 # simply because there is no reason against having it here, and in addition,
9625 # creating and moving files from /tmp can sometimes cause problems.
9626 # Hook for its removal unless debugging.
9627 # Note that there is a small window in which the directory will not be cleaned:
9628 # after its creation but before its name has been assigned to `$tmp'.
9632 trap 'exit_status=$?
9634 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9636 trap 'as_fn_exit 1' 1 2 13 15
9638 # Create a (secure) tmp directory for tmp files.
9641 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9645 tmp=./conf$$-$RANDOM
9646 (umask 077 && mkdir "$tmp")
9647 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9650 # Set up the scripts for CONFIG_FILES section.
9651 # No need to generate them if there are no CONFIG_FILES.
9652 # This happens for instance with `./config.status config.h'.
9653 if test -n "$CONFIG_FILES"; then
9656 ac_cr=`echo X | tr X '\015'`
9657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9658 # But we know of no other shell where ac_cr would be empty at this
9659 # point, so we can use a bashism as a fallback.
9660 if test "x$ac_cr" = x; then
9661 eval ac_cr=\$\'\\r\'
9663 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9670 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9675 echo "cat >conf$$subs.awk <<_ACEOF" &&
9676 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9679 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9682 for ac_last_try in false false false false false :; do
9683 . ./conf$$subs.sh ||
9684 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9686 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9687 if test $ac_delim_n = $ac_delim_num; then
9689 elif $ac_last_try; then
9690 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9698 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9702 s/^/S["/; s/!.*/"]=/
9712 s/\(.\{148\}\)..*/\1/
9714 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9726 s/\(.\{148\}\)..*/\1/
9728 s/["\\]/\\&/g; s/^/"/; s/$/"/
9732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9737 ' <conf$$subs.awk | sed '
9742 ' >>$CONFIG_STATUS || ac_write_fail=1
9743 rm -f conf$$subs.awk
9744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9746 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9747 for (key in S) S_is_set[key] = 1
9753 nfields = split(line, field, "@")
9755 len = length(field[1])
9756 for (i = 2; i < nfields; i++) {
9758 keylen = length(key)
9759 if (S_is_set[key]) {
9761 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9762 len += length(value) + length(field[++i])
9773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9774 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9775 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9778 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9779 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9782 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9783 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9784 # trailing colons and then remove the whole line if VPATH becomes empty
9785 # (actually we leave an empty line to preserve line numbers).
9786 if test "x$srcdir" = x.; then
9787 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9806 fi # test -n "$CONFIG_FILES"
9808 # Set up the scripts for CONFIG_HEADERS section.
9809 # No need to generate them if there are no CONFIG_HEADERS.
9810 # This happens for instance with `./config.status Makefile'.
9811 if test -n "$CONFIG_HEADERS"; then
9812 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9816 # Transform confdefs.h into an awk script `defines.awk', embedded as
9817 # here-document in config.status, that substitutes the proper values into
9818 # config.h.in to produce config.h.
9820 # Create a delimiter string that does not exist in confdefs.h, to ease
9821 # handling of long lines.
9823 for ac_last_try in false false :; do
9824 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9825 if test -z "$ac_tt"; then
9827 elif $ac_last_try; then
9828 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9834 # For the awk script, D is an array of macro values keyed by name,
9835 # likewise P contains macro parameters if any. Preserve backslash
9836 # newline sequences.
9838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9840 s/.\{148\}/&'"$ac_delim"'/g
9843 s/^[ ]*#[ ]*define[ ][ ]*/ /
9850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9852 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9857 D["\1"]=" \3\\\\\\n"\\/p
9859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9864 s/.\{148\}/&'"$ac_delim"'/g
9869 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9872 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9874 ' <confdefs.h | sed '
9875 s/'"$ac_delim"'/"\\\
9876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9879 for (key in D) D_is_set[key] = 1
9882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9884 split(line, arg, " ")
9885 if (arg[1] == "#") {
9889 defundef = substr(arg[1], 2)
9892 split(mac1, mac2, "(") #)
9894 prefix = substr(line, 1, index(line, defundef) - 1)
9895 if (D_is_set[macro]) {
9896 # Preserve the white space surrounding the "#".
9897 print prefix "define", macro P[macro] D[macro]
9900 # Replace #undef with comments. This is necessary, for example,
9901 # in the case of _POSIX_SOURCE, which is predefined and required
9902 # on some systems where configure will not decide to define it.
9903 if (defundef == "undef") {
9904 print "/*", prefix defundef, macro, "*/"
9912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9913 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9914 fi # test -n "$CONFIG_HEADERS"
9917 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9922 :[FHLC]) ac_mode=$ac_tag; continue;;
9924 case $ac_mode$ac_tag in
9926 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9927 :[FH]-) ac_tag=-:-;;
9928 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9945 -) ac_f="$ac_tmp/stdin";;
9946 *) # Look for the file first in the build tree, then in the source tree
9947 # (if the path is not absolute). The absolute path cannot be DOS-style,
9948 # because $ac_f cannot contain `:'.
9952 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9954 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9956 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9957 as_fn_append ac_file_inputs " '$ac_f'"
9960 # Let's still pretend it is `configure' which instantiates (i.e., don't
9961 # use $as_me), people would be surprised to read:
9962 # /* config.h. Generated by config.status. */
9963 configure_input='Generated from '`
9964 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9966 if test x"$ac_file" != x-; then
9967 configure_input="$ac_file. $configure_input"
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9969 $as_echo "$as_me: creating $ac_file" >&6;}
9971 # Neutralize special characters interpreted by sed in replacement strings.
9972 case $configure_input in #(
9973 *\&* | *\|* | *\\* )
9974 ac_sed_conf_input=`$as_echo "$configure_input" |
9975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9976 *) ac_sed_conf_input=$configure_input;;
9980 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9986 ac_dir=`$as_dirname -- "$ac_file" ||
9987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9988 X"$ac_file" : 'X\(//\)[^/]' \| \
9989 X"$ac_file" : 'X\(//\)$' \| \
9990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9991 $as_echo X"$ac_file" |
9992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10009 as_dir="$ac_dir"; as_fn_mkdir_p
10013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10015 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10016 # A ".." for each directory in $ac_dir_suffix.
10017 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10018 case $ac_top_builddir_sub in
10019 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10020 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10023 ac_abs_top_builddir=$ac_pwd
10024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10025 # for backward compatibility:
10026 ac_top_builddir=$ac_top_build_prefix
10029 .) # We are building in place.
10031 ac_top_srcdir=$ac_top_builddir_sub
10032 ac_abs_top_srcdir=$ac_pwd ;;
10033 [\\/]* | ?:[\\/]* ) # Absolute name.
10034 ac_srcdir=$srcdir$ac_dir_suffix;
10035 ac_top_srcdir=$srcdir
10036 ac_abs_top_srcdir=$srcdir ;;
10037 *) # Relative name.
10038 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10039 ac_top_srcdir=$ac_top_build_prefix$srcdir
10040 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10052 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10053 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10055 ac_MKDIR_P=$MKDIR_P
10057 [\\/$]* | ?:[\\/]* ) ;;
10058 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10063 # If the template does not know about datarootdir, expand it.
10064 # FIXME: This hack should be removed a few years after 2.60.
10065 ac_datarootdir_hack=; ac_datarootdir_seen=
10076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10077 *datarootdir*) ac_datarootdir_seen=yes;;
10078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10083 ac_datarootdir_hack='
10084 s&@datadir@&$datadir&g
10085 s&@docdir@&$docdir&g
10086 s&@infodir@&$infodir&g
10087 s&@localedir@&$localedir&g
10088 s&@mandir@&$mandir&g
10089 s&\\\${datarootdir}&$datarootdir&g' ;;
10093 # Neutralize VPATH when `$srcdir' = `.'.
10094 # Shell code in configure.ac might set extrasub.
10095 # FIXME: do we really want to maintain this feature?
10096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10097 ac_sed_extra="$ac_vpsub
10100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10103 s|@configure_input@|$ac_sed_conf_input|;t t
10104 s&@top_builddir@&$ac_top_builddir_sub&;t t
10105 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10106 s&@srcdir@&$ac_srcdir&;t t
10107 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10108 s&@top_srcdir@&$ac_top_srcdir&;t t
10109 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10110 s&@builddir@&$ac_builddir&;t t
10111 s&@abs_builddir@&$ac_abs_builddir&;t t
10112 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10113 s&@INSTALL@&$ac_INSTALL&;t t
10114 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10115 $ac_datarootdir_hack
10117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10118 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10121 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10122 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10123 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10125 which seems to be undefined. Please make sure it is defined" >&5
10126 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10127 which seems to be undefined. Please make sure it is defined" >&2;}
10129 rm -f "$ac_tmp/stdin"
10131 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10132 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10140 if test x"$ac_file" != x-; then
10142 $as_echo "/* $configure_input */" \
10143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10144 } >"$ac_tmp/config.h" \
10145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10146 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10148 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10151 mv "$ac_tmp/config.h" "$ac_file" \
10152 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10155 $as_echo "/* $configure_input */" \
10156 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10157 || as_fn_error $? "could not create -" "$LINENO" 5
10159 # Compute "$ac_file"'s index in $config_headers.
10162 for _am_header in $config_headers :; do
10163 case $_am_header in
10164 $_am_arg | $_am_arg:* )
10167 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10170 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10171 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10172 X"$_am_arg" : 'X\(//\)[^/]' \| \
10173 X"$_am_arg" : 'X\(//\)$' \| \
10174 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10175 $as_echo X"$_am_arg" |
10176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10180 /^X\(\/\/\)[^/].*/{
10192 s/.*/./; q'`/stamp-h$_am_stamp_count
10195 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10196 $as_echo "$as_me: executing $ac_file commands" >&6;}
10201 case $ac_file$ac_mode in
10202 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10203 # Older Autoconf quotes --file arguments for eval, but not when files
10204 # are listed without --file. Let's play safe and only enable the eval
10205 # if we detect the quoting.
10206 case $CONFIG_FILES in
10207 *\'*) eval set x "$CONFIG_FILES" ;;
10208 *) set x $CONFIG_FILES ;;
10213 # Strip MF so we end up with the name of the file.
10214 mf=`echo "$mf" | sed -e 's/:.*$//'`
10215 # Check whether this is an Automake generated Makefile or not.
10216 # We used to match only the files named 'Makefile.in', but
10217 # some people rename them; so instead we look at the file content.
10218 # Grep'ing the first line is not enough: some people post-process
10219 # each Makefile.in and add a new line on top of each file to say so.
10220 # Grep'ing the whole file is not good either: AIX grep has a line
10221 # limit of 2048, but all sed's we know have understand at least 4000.
10222 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10223 dirpart=`$as_dirname -- "$mf" ||
10224 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10225 X"$mf" : 'X\(//\)[^/]' \| \
10226 X"$mf" : 'X\(//\)$' \| \
10227 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10233 /^X\(\/\/\)[^/].*/{
10249 # Extract the definition of DEPDIR, am__include, and am__quote
10250 # from the Makefile without running 'make'.
10251 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10252 test -z "$DEPDIR" && continue
10253 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10254 test -z "$am__include" && continue
10255 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10256 # Find all dependency output files, they are included files with
10257 # $(DEPDIR) in their names. We invoke sed twice because it is the
10258 # simplest approach to changing $(DEPDIR) to its actual value in the
10260 for file in `sed -n "
10261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10263 # Make sure the directory exists.
10264 test -f "$dirpart/$file" && continue
10265 fdir=`$as_dirname -- "$file" ||
10266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10267 X"$file" : 'X\(//\)[^/]' \| \
10268 X"$file" : 'X\(//\)$' \| \
10269 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10270 $as_echo X"$file" |
10271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10275 /^X\(\/\/\)[^/].*/{
10288 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10289 # echo "creating $dirpart/$file"
10290 echo '# dummy' > "$dirpart/$file"
10295 "po-directories":C)
10296 for ac_file in $CONFIG_FILES; do
10297 # Support "outfile[:infile[:infile...]]"
10299 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10301 # PO directories have a Makefile.in generated from Makefile.in.in.
10302 case "$ac_file" in */Makefile.in)
10303 # Adjust a relative srcdir.
10304 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10305 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10306 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10307 # In autoconf-2.13 it is called $ac_given_srcdir.
10308 # In autoconf-2.50 it is called $srcdir.
10309 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10310 case "$ac_given_srcdir" in
10311 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10312 /*) top_srcdir="$ac_given_srcdir" ;;
10313 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10315 # Treat a directory as a PO directory if and only if it has a
10316 # POTFILES.in file. This allows packages to have multiple PO
10317 # directories under different names or in different locations.
10318 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10319 rm -f "$ac_dir/POTFILES"
10320 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10321 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10322 POMAKEFILEDEPS="POTFILES.in"
10323 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10324 # on $ac_dir but don't depend on user-specified configuration
10326 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10327 # The LINGUAS file contains the set of available languages.
10328 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10329 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10331 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10332 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10333 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10334 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10336 # The set of available languages was given in configure.in.
10337 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10338 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10341 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10342 # Compute UPDATEPOFILES
10343 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10344 # Compute DUMMYPOFILES
10345 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10347 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10348 case "$ac_given_srcdir" in
10350 *) srcdirpre='$(srcdir)/' ;;
10356 for lang in $ALL_LINGUAS; do
10357 POFILES="$POFILES $srcdirpre$lang.po"
10358 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10359 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10360 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10362 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10363 # environment variable.
10365 if test -n "$ALL_LINGUAS"; then
10366 for presentlang in $ALL_LINGUAS; do
10368 if test "%UNSET%" != "$LINGUAS"; then
10369 desiredlanguages="$LINGUAS"
10371 desiredlanguages="$ALL_LINGUAS"
10373 for desiredlang in $desiredlanguages; do
10374 # Use the presentlang catalog if desiredlang is
10375 # a. equal to presentlang, or
10376 # b. a variant of presentlang (because in this case,
10377 # presentlang can be used as a fallback for messages
10378 # which are not translated in the desiredlang catalog).
10379 case "$desiredlang" in
10380 "$presentlang"*) useit=yes;;
10383 if test $useit = yes; then
10384 INST_LINGUAS="$INST_LINGUAS $presentlang"
10389 if test -n "$INST_LINGUAS"; then
10390 for lang in $INST_LINGUAS; do
10391 CATALOGS="$CATALOGS $lang.gmo"
10394 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10395 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"
10396 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10397 if test -f "$f"; then
10399 *.orig | *.bak | *~) ;;
10400 *) cat "$f" >> "$ac_dir/Makefile" ;;
10415 ac_clean_files=$ac_clean_files_save
10417 test $ac_write_fail = 0 ||
10418 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10421 # configure is writing to config.log, and then calls config.status.
10422 # config.status does its own redirection, appending to config.log.
10423 # Unfortunately, on DOS this fails, as config.log is still kept open
10424 # by configure, so config.status won't be able to write to it; its
10425 # output is simply discarded. So we exec the FD to /dev/null,
10426 # effectively closing config.log, so it can be properly (re)opened and
10427 # appended to by config.status. When coming back to configure, we
10428 # need to make the FD available again.
10429 if test "$no_create" != yes; then
10431 ac_config_status_args=
10432 test "$silent" = yes &&
10433 ac_config_status_args="$ac_config_status_args --quiet"
10435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10438 # would make configure fail if this is the last instruction.
10439 $ac_cs_success || as_fn_exit 1
10441 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10443 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}