2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 0.8.0.x.
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='0.8.0.x'
584 PACKAGE_STRING='psensor 0.8.0.x'
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
694 GCONF_SCHEMAS_INSTALL_FALSE
695 GCONF_SCHEMAS_INSTALL_TRUE
696 GCONF_SCHEMA_FILE_DIR
697 GCONF_SCHEMA_CONFIG_SOURCE
714 XGETTEXT_EXTRA_OPTIONS
722 GETTEXT_MACRO_VERSION
755 INSTALL_STRIP_PROGRAM
797 program_transform_name
810 enable_option_checking
811 enable_dependency_tracking
819 with_gconf_schema_file_dir
820 enable_schemas_install
824 ac_precious_vars='build_alias
863 # Initialize some variables set by options.
865 ac_init_version=false
866 ac_unrecognized_opts=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
877 program_transform_name=s,x,x,
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir='${exec_prefix}/bin'
892 sbindir='${exec_prefix}/sbin'
893 libexecdir='${exec_prefix}/libexec'
894 datarootdir='${prefix}/share'
895 datadir='${datarootdir}'
896 sysconfdir='${prefix}/etc'
897 sharedstatedir='${prefix}/com'
898 localstatedir='${prefix}/var'
899 includedir='${prefix}/include'
900 oldincludedir='/usr/include'
901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir='${datarootdir}/info'
907 libdir='${exec_prefix}/lib'
908 localedir='${datarootdir}/locale'
909 mandir='${datarootdir}/man'
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\$ac_option
923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
934 -bindir | --bindir | --bindi | --bind | --bin | --bi)
936 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
939 -build | --build | --buil | --bui | --bu)
940 ac_prev=build_alias ;;
941 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942 build_alias=$ac_optarg ;;
944 -cache-file | --cache-file | --cache-fil | --cache-fi \
945 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946 ac_prev=cache_file ;;
947 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949 cache_file=$ac_optarg ;;
952 cache_file=config.cache ;;
954 -datadir | --datadir | --datadi | --datad)
956 -datadir=* | --datadir=* | --datadi=* | --datad=*)
957 datadir=$ac_optarg ;;
959 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960 | --dataroo | --dataro | --datar)
961 ac_prev=datarootdir ;;
962 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964 datarootdir=$ac_optarg ;;
966 -disable-* | --disable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=no ;;
982 -docdir | --docdir | --docdi | --doc | --do)
984 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
987 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
989 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
992 -enable-* | --enable-*)
993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error $? "invalid feature name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_$ac_useropt"
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1006 eval enable_$ac_useropt=\$ac_optarg ;;
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev=exec_prefix ;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix=$ac_optarg ;;
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help=long ;;
1023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024 ac_init_help=recursive ;;
1025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026 ac_init_help=short ;;
1028 -host | --host | --hos | --ho)
1029 ac_prev=host_alias ;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias=$ac_optarg ;;
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037 htmldir=$ac_optarg ;;
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev=includedir ;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir=$ac_optarg ;;
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir=$ac_optarg ;;
1051 -libdir | --libdir | --libdi | --libd)
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir=$ac_optarg ;;
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev=libexecdir ;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir=$ac_optarg ;;
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev=localedir ;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir=$ac_optarg ;;
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev=localstatedir ;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir=$ac_optarg ;;
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir=$ac_optarg ;;
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev=oldincludedir ;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir=$ac_optarg ;;
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix=$ac_optarg ;;
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev=program_prefix ;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix=$ac_optarg ;;
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev=program_suffix ;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix=$ac_optarg ;;
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir=$ac_optarg ;;
1142 -psdir | --psdir | --psdi | --psd | --ps)
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155 sbindir=$ac_optarg ;;
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1161 ac_prev=sharedstatedir ;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166 sharedstatedir=$ac_optarg ;;
1168 -site | --site | --sit)
1170 -site=* | --site=* | --sit=*)
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir=$ac_optarg ;;
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev=sysconfdir ;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir=$ac_optarg ;;
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev=target_alias ;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias=$ac_optarg ;;
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version=: ;;
1197 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200 as_fn_error $? "invalid package name: $ac_useropt"
1201 ac_useropt_orig=$ac_useropt
1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep=', ';;
1210 eval with_$ac_useropt=\$ac_optarg ;;
1212 -without-* | --without-*)
1213 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216 as_fn_error $? "invalid package name: $ac_useropt"
1217 ac_useropt_orig=$ac_useropt
1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep=', ';;
1226 eval with_$ac_useropt=no ;;
1229 # Obsolete; use --with-x.
1232 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233 | --x-incl | --x-inc | --x-in | --x-i)
1234 ac_prev=x_includes ;;
1235 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237 x_includes=$ac_optarg ;;
1239 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241 ac_prev=x_libraries ;;
1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244 x_libraries=$ac_optarg ;;
1246 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1251 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' | [0-9]* | *[!_$as_cr_alnum]* )
1255 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1257 eval $ac_envvar=\$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271 if test -n "$ac_prev"; then
1272 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error $? "missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1279 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 # Check all directory arguments for consistency.
1285 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val=\$$ac_var
1291 # Remove trailing slashes.
1294 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\$ac_val;;
1297 # Be sure to have absolute directory names.
1299 [\\/$]* | ?:[\\/]* ) continue;;
1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1302 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1310 target=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x; then
1314 if test "x$build_alias" = x; then
1315 cross_compiling=maybe
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1324 test "$silent" = yes && exec 6>/dev/null
1327 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di=`ls -di .` &&
1329 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1330 as_fn_error $? "working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 as_fn_error $? "pwd does not report name of working directory"
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$as_myself" : 'X\(//\)[^/]' \| \
1342 X"$as_myself" : 'X\(//\)$' \| \
1343 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1371 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1373 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var in $ac_precious_vars; do
1388 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1389 eval ac_env_${ac_var}_value=\$${ac_var}
1390 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures psensor 0.8.0.x to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking ...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1464 --x-includes=DIR X include files are in DIR
1465 --x-libraries=DIR X library files are in DIR
1468 --build=BUILD configure for building on BUILD [guessed]
1469 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short | recursive ) echo "Configuration of psensor 0.8.0.x:";;
1480 --disable-option-checking ignore unrecognized --enable/--with options
1481 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1482 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1483 --disable-dependency-tracking speeds up one-time build
1484 --enable-dependency-tracking do not reject slow dependency extractors
1485 --disable-nls do not use Native Language Support
1486 --disable-rpath do not hardcode runtime library paths
1487 --disable-schemas-install
1488 Disable the schemas installation
1491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1493 --with-x use the X Window System
1494 --with-gnu-ld assume the C compiler uses GNU ld default=no
1495 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1496 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1497 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1498 --without-libintl-prefix don't search for libintl in includedir and libdir
1499 --with-gconf-source=sourceaddress
1500 Config database for installing schema files.
1501 --with-gconf-schema-file-dir=dir
1502 Directory for installing schema files.
1503 --with-libatiadl=DIR use libatiadlxx in DIR
1504 --with-gtop=yes|no use gtop
1506 Some influential environment variables:
1507 CC C compiler command
1508 CFLAGS C compiler flags
1509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1510 nonstandard directory <lib dir>
1511 LIBS libraries to pass to the linker, e.g. -l<library>
1512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1513 you have headers in a nonstandard directory <include dir>
1514 XMKMF Path to xmkmf, Makefile generator for X Window System
1516 PKG_CONFIG path to pkg-config utility
1518 directories to add to pkg-config's search path
1520 path overriding pkg-config's built-in search path
1521 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1522 X11_LIBS linker flags for X11, overriding pkg-config
1523 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1524 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1525 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1526 GTK_LIBS linker flags for GTK, overriding pkg-config
1528 C compiler flags for GCONF, overriding pkg-config
1529 GCONF_LIBS linker flags for GCONF, overriding pkg-config
1531 C compiler flags for ATASMART, overriding pkg-config
1533 linker flags for ATASMART, overriding pkg-config
1535 C compiler flags for LIBNOTIFY, overriding pkg-config
1537 linker flags for LIBNOTIFY, overriding pkg-config
1539 C compiler flags for APPINDICATOR, overriding pkg-config
1541 linker flags for APPINDICATOR, overriding pkg-config
1542 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1543 CURL_LIBS linker flags for CURL, overriding pkg-config
1544 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1545 JSON_LIBS linker flags for JSON, overriding pkg-config
1547 C compiler flags for UNITY, overriding pkg-config
1548 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1549 LIBMICROHTTPD_CFLAGS
1550 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1552 linker flags for LIBMICROHTTPD, overriding pkg-config
1553 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1554 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1556 Use these variables to override the choices made by `configure' or to help
1557 it to find libraries and programs with nonstandard names/locations.
1559 Report bugs to <jeanfi@gmail.com>.
1560 psensor home page: <http://wpitchoune.net/psensor>.
1565 if test "$ac_init_help" = "recursive"; then
1566 # If there are subdirs, report their specific --help.
1567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568 test -d "$ac_dir" ||
1569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577 # A ".." for each directory in $ac_dir_suffix.
1578 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579 case $ac_top_builddir_sub in
1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1590 .) # We are building in place.
1592 ac_top_srcdir=$ac_top_builddir_sub
1593 ac_abs_top_srcdir=$ac_pwd ;;
1594 [\\/]* | ?:[\\/]* ) # Absolute name.
1595 ac_srcdir=$srcdir$ac_dir_suffix;
1596 ac_top_srcdir=$srcdir
1597 ac_abs_top_srcdir=$srcdir ;;
1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 cd "$ac_dir" || { ac_status=$?; continue; }
1606 # Check for guested configure.
1607 if test -f "$ac_srcdir/configure.gnu"; then
1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 elif test -f "$ac_srcdir/configure"; then
1612 $SHELL "$ac_srcdir/configure" --help=recursive
1614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616 cd "$ac_pwd" || { ac_status=$?; break; }
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1623 psensor configure 0.8.0.x
1624 generated by GNU Autoconf 2.69
1626 Copyright (C) 2012 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 rm -f conftest.$ac_objext
1644 if { { ac_try="$ac_compile"
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_compile") 2>conftest.err
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && {
1660 test -z "$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1662 } && test -s conftest.$ac_objext; then :
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 as_fn_set_status $ac_retval
1673 } # ac_fn_c_try_compile
1675 # ac_fn_c_try_cpp LINENO
1676 # ----------------------
1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if { { ac_try="$ac_cpp conftest.$ac_ext"
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } > conftest.i && {
1697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1712 # ac_fn_c_try_link LINENO
1713 # -----------------------
1714 # Try to link conftest.$ac_ext, and return whether this succeeded.
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext conftest$ac_exeext
1719 if { { ac_try="$ac_link"
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_link") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest$ac_exeext && {
1738 test "$cross_compiling" = yes ||
1739 test -x conftest$ac_exeext
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1749 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1750 # interfere with the next link command; also delete a directory that is
1751 # left behind by Apple's compiler. We do this before executing the actions.
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_link
1758 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1759 # -------------------------------------------------------
1760 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1761 # the include files in INCLUDES and setting the cache variable VAR
1763 ac_fn_c_check_header_mongrel ()
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if eval \${$3+:} false; then :
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770 $as_echo_n "(cached) " >&6
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1776 # Is the header compilable?
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1778 $as_echo_n "checking $2 usability... " >&6; }
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1784 if ac_fn_c_try_compile "$LINENO"; then :
1785 ac_header_compiler=yes
1787 ac_header_compiler=no
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1791 $as_echo "$ac_header_compiler" >&6; }
1793 # Is the header present?
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1795 $as_echo_n "checking $2 presence... " >&6; }
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1800 if ac_fn_c_try_cpp "$LINENO"; then :
1801 ac_header_preproc=yes
1803 ac_header_preproc=no
1805 rm -f conftest.err conftest.i conftest.$ac_ext
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1807 $as_echo "$ac_header_preproc" >&6; }
1809 # So? What about this header?
1810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1813 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1815 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1819 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1821 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1823 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1825 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1827 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 ( $as_echo "## ------------------------------- ##
1829 ## Report this to jeanfi@gmail.com ##
1830 ## ------------------------------- ##"
1831 ) | sed "s/^/$as_me: WARNING: /" >&2
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if eval \${$3+:} false; then :
1837 $as_echo_n "(cached) " >&6
1839 eval "$3=\$ac_header_compiler"
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 } # ac_fn_c_check_header_mongrel
1849 # ac_fn_c_try_run LINENO
1850 # ----------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1852 # that executables *can* be run.
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if { { ac_try="$ac_link"
1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1867 { { case "(($ac_try" in
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_try") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; }; }; then :
1879 $as_echo "$as_me: program exited with status $ac_status" >&5
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1883 ac_retval=$ac_status
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1891 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1892 # -------------------------------------------------------
1893 # Tests whether HEADER exists and can be compiled using the include files in
1894 # INCLUDES, setting the cache variable VAR accordingly.
1895 ac_fn_c_check_header_compile ()
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if eval \${$3+:} false; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1908 if ac_fn_c_try_compile "$LINENO"; then :
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920 } # ac_fn_c_check_header_compile
1922 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1923 # -------------------------------------------
1924 # Tests whether TYPE exists after having included INCLUDES, setting cache
1925 # variable VAR accordingly.
1926 ac_fn_c_check_type ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1947 if ac_fn_c_try_compile "$LINENO"; then :
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1960 if ac_fn_c_try_compile "$LINENO"; then :
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 } # ac_fn_c_check_type
1976 # ac_fn_c_check_func LINENO FUNC VAR
1977 # ----------------------------------
1978 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1979 ac_fn_c_check_func ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 $as_echo_n "checking for $2... " >&6; }
1984 if eval \${$3+:} false; then :
1985 $as_echo_n "(cached) " >&6
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1989 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1991 #define $2 innocuous_$2
1993 /* System header to define __stub macros and hopefully few prototypes,
1994 which can conflict with char $2 (); below.
1995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1996 <limits.h> exists even on freestanding compilers. */
1999 # include <limits.h>
2001 # include <assert.h>
2006 /* Override any GCC internal prototype to avoid an error.
2007 Use char because int might match the return type of a GCC
2008 builtin and then its argument prototype would still apply. */
2013 /* The GNU C library defines this for functions which it implements
2014 to always fail with ENOSYS. Some functions are actually named
2015 something starting with __ and the normal name is an alias. */
2016 #if defined __stub_$2 || defined __stub___$2
2028 if ac_fn_c_try_link "$LINENO"; then :
2033 rm -f core conftest.err conftest.$ac_objext \
2034 conftest$ac_exeext conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_func
2042 cat >config.log <<_ACEOF
2043 This file contains any messages produced by compilers while
2044 running configure, to aid debugging if configure makes a mistake.
2046 It was created by psensor $as_me 0.8.0.x, which was
2047 generated by GNU Autoconf 2.69. Invocation command line was
2059 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2060 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2061 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2062 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2063 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2065 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2066 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2068 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2069 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2070 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2071 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2072 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2073 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2074 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 $as_echo "PATH: $as_dir"
2099 # Keep a trace of the command line.
2100 # Strip out --no-create and --no-recursion so they do not pile up.
2101 # Strip out --silent because we don't want to record it for future runs.
2102 # Also quote any args containing shell meta-characters.
2103 # Make two passes to allow for proper duplicate-argument suppression.
2107 ac_must_keep_next=false
2113 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115 | -silent | --silent | --silen | --sile | --sil)
2118 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2121 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2123 as_fn_append ac_configure_args1 " '$ac_arg'"
2124 if test $ac_must_keep_next = true; then
2125 ac_must_keep_next=false # Got value, back to normal.
2128 *=* | --config-cache | -C | -disable-* | --disable-* \
2129 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2130 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2131 | -with-* | --with-* | -without-* | --without-* | --x)
2132 case "$ac_configure_args0 " in
2133 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2136 -* ) ac_must_keep_next=true ;;
2139 as_fn_append ac_configure_args " '$ac_arg'"
2144 { ac_configure_args0=; unset ac_configure_args0;}
2145 { ac_configure_args1=; unset ac_configure_args1;}
2147 # When interrupted or exit'd, cleanup temporary files, and complete
2148 # config.log. We remove comments because anyway the quotes in there
2149 # would cause problems or look ugly.
2150 # WARNING: Use '\'' to represent an apostrophe within the trap.
2151 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2152 trap 'exit_status=$?
2153 # Save into config.log some information that might help in debugging.
2157 $as_echo "## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##"
2161 # The following way of writing the cache mishandles newlines in values,
2163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164 eval ac_val=\$$ac_var
2168 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2172 _ | IFS | as_nl) ;; #(
2173 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2174 *) { eval $ac_var=; unset $ac_var;} ;;
2179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193 $as_echo "## ----------------- ##
2194 ## Output variables. ##
2195 ## ----------------- ##"
2197 for ac_var in $ac_subst_vars
2199 eval ac_val=\$$ac_var
2201 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203 $as_echo "$ac_var='\''$ac_val'\''"
2207 if test -n "$ac_subst_files"; then
2208 $as_echo "## ------------------- ##
2209 ## File substitutions. ##
2210 ## ------------------- ##"
2212 for ac_var in $ac_subst_files
2214 eval ac_val=\$$ac_var
2216 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 $as_echo "$ac_var='\''$ac_val'\''"
2223 if test -s confdefs.h; then
2224 $as_echo "## ----------- ##
2231 test "$ac_signal" != 0 &&
2232 $as_echo "$as_me: caught signal $ac_signal"
2233 $as_echo "$as_me: exit $exit_status"
2235 rm -f core *.core core.conftest.* &&
2236 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239 for ac_signal in 1 2 13 15; do
2240 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2244 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2245 rm -f -r conftest* confdefs.h
2247 $as_echo "/* confdefs.h */" > confdefs.h
2249 # Predefined preprocessor variables.
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_STRING "$PACKAGE_STRING"
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_URL "$PACKAGE_URL"
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer an explicitly selected file to automatically selected ones.
2280 if test -n "$CONFIG_SITE"; then
2281 # We do not want a PATH search for config.site.
2282 case $CONFIG_SITE in #((
2283 -*) ac_site_file1=./$CONFIG_SITE;;
2284 */*) ac_site_file1=$CONFIG_SITE;;
2285 *) ac_site_file1=./$CONFIG_SITE;;
2287 elif test "x$prefix" != xNONE; then
2288 ac_site_file1=$prefix/share/config.site
2289 ac_site_file2=$prefix/etc/config.site
2291 ac_site_file1=$ac_default_prefix/share/config.site
2292 ac_site_file2=$ac_default_prefix/etc/config.site
2294 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2296 test "x$ac_site_file" = xNONE && continue
2297 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2299 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2300 sed 's/^/| /' "$ac_site_file" >&5
2302 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 as_fn_error $? "failed to load site script $ac_site_file
2305 See \`config.log' for more details" "$LINENO" 5; }
2309 if test -r "$cache_file"; then
2310 # Some versions of bash will fail to source /dev/null (special files
2311 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2312 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2314 $as_echo "$as_me: loading cache $cache_file" >&6;}
2316 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2317 *) . "./$cache_file";;
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2322 $as_echo "$as_me: creating cache $cache_file" >&6;}
2326 gt_needs="$gt_needs "
2327 # Check that the precious variables saved in the cache have kept the same
2329 ac_cache_corrupted=false
2330 for ac_var in $ac_precious_vars; do
2331 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2332 eval ac_new_set=\$ac_env_${ac_var}_set
2333 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2334 eval ac_new_val=\$ac_env_${ac_var}_value
2335 case $ac_old_set,$ac_new_set in
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2338 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2339 ac_cache_corrupted=: ;;
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2342 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2343 ac_cache_corrupted=: ;;
2346 if test "x$ac_old_val" != "x$ac_new_val"; then
2347 # differences in whitespace do not lead to failure.
2348 ac_old_val_w=`echo x $ac_old_val`
2349 ac_new_val_w=`echo x $ac_new_val`
2350 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2352 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2353 ac_cache_corrupted=:
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2356 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2357 eval $ac_var=\$ac_old_val
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2360 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2362 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2365 # Pass precious variables to config.status.
2366 if test "$ac_new_set" = set; then
2368 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2369 *) ac_arg=$ac_var=$ac_new_val ;;
2371 case " $ac_configure_args " in
2372 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2373 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2377 if $ac_cache_corrupted; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2381 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2382 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2384 ## -------------------- ##
2385 ## Main body of script. ##
2386 ## -------------------- ##
2389 ac_cpp='$CPP $CPPFLAGS'
2390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396 am__api_version='1.11'
2399 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2400 if test -f "$ac_dir/install-sh"; then
2402 ac_install_sh="$ac_aux_dir/install-sh -c"
2404 elif test -f "$ac_dir/install.sh"; then
2406 ac_install_sh="$ac_aux_dir/install.sh -c"
2408 elif test -f "$ac_dir/shtool"; then
2410 ac_install_sh="$ac_aux_dir/shtool install -c"
2414 if test -z "$ac_aux_dir"; then
2415 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2418 # These three variables are undocumented and unsupported,
2419 # and are intended to be withdrawn in a future Autoconf release.
2420 # They can cause serious problems if a builder's source tree is in a directory
2421 # whose full name contains unusual characters.
2422 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2423 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2424 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2427 # Find a good install program. We prefer a C program (faster),
2428 # so one script is as good as another. But avoid the broken or
2429 # incompatible versions:
2430 # SysV /etc/install, /usr/sbin/install
2431 # SunOS /usr/etc/install
2432 # IRIX /sbin/install
2434 # AmigaOS /C/install, which installs bootblocks on floppy discs
2435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2438 # OS/2's system install, which has a completely different semantic
2439 # ./install, which can be erroneously created by make from ./install.sh.
2440 # Reject install programs that cannot install multiple files.
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2442 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2443 if test -z "$INSTALL"; then
2444 if ${ac_cv_path_install+:} false; then :
2445 $as_echo_n "(cached) " >&6
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir=.
2452 # Account for people who put trailing slashes in PATH elements.
2453 case $as_dir/ in #((
2454 ./ | .// | /[cC]/* | \
2455 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2456 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2459 # OSF1 and SCO ODT 3.0 have their own names for install.
2460 # Don't use installbsd from OSF since it installs stuff as root
2462 for ac_prog in ginstall scoinst install; do
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2465 if test $ac_prog = install &&
2466 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467 # AIX install. It has an incompatible calling convention.
2469 elif test $ac_prog = install &&
2470 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2471 # program-specific install script used by HP pwplus--don't use.
2474 rm -rf conftest.one conftest.two conftest.dir
2475 echo one > conftest.one
2476 echo two > conftest.two
2478 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2479 test -s conftest.one && test -s conftest.two &&
2480 test -s conftest.dir/conftest.one &&
2481 test -s conftest.dir/conftest.two
2483 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2496 rm -rf conftest.one conftest.two conftest.dir
2499 if test "${ac_cv_path_install+set}" = set; then
2500 INSTALL=$ac_cv_path_install
2502 # As a last resort, use the slow shell script. Don't cache a
2503 # value for INSTALL within a source directory, because that will
2504 # break other packages using the cache if that directory is
2505 # removed, or if the value is a relative name.
2506 INSTALL=$ac_install_sh
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2510 $as_echo "$INSTALL" >&6; }
2512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2513 # It thinks the first close brace ends the variable substitution.
2514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2521 $as_echo_n "checking whether build environment is sane... " >&6; }
2524 echo timestamp > conftest.file
2525 # Reject unsafe characters in $srcdir or the absolute working directory
2526 # name. Accept space and tab only in the latter.
2530 *[\\\"\#\$\&\'\`$am_lf]*)
2531 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2534 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2535 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2538 # Do `set' in a subshell so we don't clobber the current shell's
2539 # arguments. Must try -L first in case configure is actually a
2540 # symlink; some systems play weird games with the mod time of symlinks
2541 # (eg FreeBSD returns the mod time of the symlink's containing
2544 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2545 if test "$*" = "X"; then
2547 set X `ls -t "$srcdir/configure" conftest.file`
2550 if test "$*" != "X $srcdir/configure conftest.file" \
2551 && test "$*" != "X conftest.file $srcdir/configure"; then
2553 # If neither matched, then we have a broken ls. This can happen
2554 # if, for instance, CONFIG_SHELL is bash and it inherits a
2555 # broken ls alias from the environment. This has actually
2556 # happened. Such a system could not be considered "sane".
2557 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2558 alias in your environment" "$LINENO" 5
2561 test "$2" = conftest.file
2567 as_fn_error $? "newly created file is older than distributed files!
2568 Check your system clock" "$LINENO" 5
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2571 $as_echo "yes" >&6; }
2572 test "$program_prefix" != NONE &&
2573 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2574 # Use a double $ so make ignores it.
2575 test "$program_suffix" != NONE &&
2576 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2577 # Double any \ or $.
2578 # By default was `s,x,x', remove it if useless.
2579 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2580 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2582 # expand $ac_aux_dir to an absolute path
2583 am_aux_dir=`cd $ac_aux_dir && pwd`
2585 if test x"${MISSING+set}" != xset; then
2588 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2590 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2593 # Use eval to expand $SHELL
2594 if eval "$MISSING --run true"; then
2595 am_missing_run="$MISSING --run "
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2599 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2602 if test x"${install_sh}" != xset; then
2605 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2607 install_sh="\${SHELL} $am_aux_dir/install-sh"
2611 # Installed binaries are usually stripped using `strip' when the user
2612 # run `make install-strip'. However `strip' might not be the right
2613 # tool to use in cross-compilation environments, therefore Automake
2614 # will honor the `STRIP' environment variable to overrule this program.
2615 if test "$cross_compiling" != no; then
2616 if test -n "$ac_tool_prefix"; then
2617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2618 set dummy ${ac_tool_prefix}strip; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if ${ac_cv_prog_STRIP+:} false; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$STRIP"; then
2625 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 STRIP=$ac_cv_prog_STRIP
2645 if test -n "$STRIP"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2647 $as_echo "$STRIP" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2655 if test -z "$ac_cv_prog_STRIP"; then
2657 # Extract the first word of "strip", so it can be a program name with args.
2658 set dummy strip; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$ac_ct_STRIP"; then
2665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 ac_cv_prog_ac_ct_STRIP="strip"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2685 if test -n "$ac_ct_STRIP"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2687 $as_echo "$ac_ct_STRIP" >&6; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2693 if test "x$ac_ct_STRIP" = x; then
2696 case $cross_compiling:$ac_tool_warned in
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2700 ac_tool_warned=yes ;;
2705 STRIP="$ac_cv_prog_STRIP"
2709 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2712 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2713 if test -z "$MKDIR_P"; then
2714 if ${ac_cv_path_mkdir+:} false; then :
2715 $as_echo_n "(cached) " >&6
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2721 test -z "$as_dir" && as_dir=.
2722 for ac_prog in mkdir gmkdir; do
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2725 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2726 'mkdir (GNU coreutils) '* | \
2727 'mkdir (coreutils) '* | \
2728 'mkdir (fileutils) '4.1*)
2729 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2739 test -d ./--version && rmdir ./--version
2740 if test "${ac_cv_path_mkdir+set}" = set; then
2741 MKDIR_P="$ac_cv_path_mkdir -p"
2743 # As a last resort, use the slow shell script. Don't cache a
2744 # value for MKDIR_P within a source directory, because that will
2745 # break other packages using the cache if that directory is
2746 # removed, or if the value is a relative name.
2747 MKDIR_P="$ac_install_sh -d"
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2751 $as_echo "$MKDIR_P" >&6; }
2755 [\\/$]* | ?:[\\/]*) ;;
2756 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2759 for ac_prog in gawk mawk nawk awk
2761 # Extract the first word of "$ac_prog", so it can be a program name with args.
2762 set dummy $ac_prog; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_AWK+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$AWK"; then
2769 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_AWK="$ac_prog"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 if test -n "$AWK"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2791 $as_echo "$AWK" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2798 test -n "$AWK" && break
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2802 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2804 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2805 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 cat >conftest.make <<\_ACEOF
2811 @echo '@@@%%%=$(MAKE)=@@@%%%'
2813 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2814 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2816 eval ac_cv_prog_make_${ac_make}_set=yes;;
2818 eval ac_cv_prog_make_${ac_make}_set=no;;
2822 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2824 $as_echo "yes" >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2829 SET_MAKE="MAKE=${MAKE-make}"
2832 rm -rf .tst 2>/dev/null
2833 mkdir .tst 2>/dev/null
2834 if test -d .tst; then
2839 rmdir .tst 2>/dev/null
2841 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2842 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2843 # is not polluted with repeated "-I."
2844 am__isrc=' -I$(srcdir)'
2845 # test to see if srcdir already configured
2846 if test -f $srcdir/config.status; then
2847 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2851 # test whether we have cygpath
2852 if test -z "$CYGPATH_W"; then
2853 if (cygpath --version) >/dev/null 2>/dev/null; then
2854 CYGPATH_W='cygpath -w'
2861 # Define the identity of the package.
2866 cat >>confdefs.h <<_ACEOF
2867 #define PACKAGE "$PACKAGE"
2871 cat >>confdefs.h <<_ACEOF
2872 #define VERSION "$VERSION"
2875 # Some tools Automake needs.
2877 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2880 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2883 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2886 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2889 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2891 # We need awk for the "check" target. The system "awk" is bad on
2893 # Always define AMTAR for backward compatibility. Yes, it's still used
2894 # in the wild :-( We should find a proper way to deprecate it ...
2897 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2905 ac_config_headers="$ac_config_headers config.h"
2908 # Checks for programs.
2910 ac_cpp='$CPP $CPPFLAGS'
2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 if test -n "$ac_tool_prefix"; then
2915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if ${ac_cv_prog_CC+:} false; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$CC"; then
2923 ac_cv_prog_CC="$CC" # Let the user override the test.
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 if test -n "$CC"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2945 $as_echo "$CC" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2953 if test -z "$ac_cv_prog_CC"; then
2955 # Extract the first word of "gcc", so it can be a program name with args.
2956 set dummy gcc; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_CC"; then
2963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972 ac_cv_prog_ac_ct_CC="gcc"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2985 $as_echo "$ac_ct_CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2991 if test "x$ac_ct_CC" = x; then
2994 case $cross_compiling:$ac_tool_warned in
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2998 ac_tool_warned=yes ;;
3006 if test -z "$CC"; then
3007 if test -n "$ac_tool_prefix"; then
3008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3009 set dummy ${ac_tool_prefix}cc; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_CC+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC="$CC" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_CC="${ac_tool_prefix}cc"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 if test -n "$CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3047 if test -z "$CC"; then
3048 # Extract the first word of "cc", so it can be a program name with args.
3049 set dummy cc; ac_word=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_CC+:} false; then :
3053 $as_echo_n "(cached) " >&6
3055 if test -n "$CC"; then
3056 ac_cv_prog_CC="$CC" # Let the user override the test.
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3067 ac_prog_rejected=yes
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 if test $ac_prog_rejected = yes; then
3079 # We found a bogon in the path, so make sure we never use it.
3080 set dummy $ac_cv_prog_CC
3082 if test $# != 0; then
3083 # We chose a different compiler from the bogus one.
3084 # However, it has the same basename, so the bogon will be chosen
3085 # first if we set CC to just the basename; use the full file name.
3087 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3093 if test -n "$CC"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3095 $as_echo "$CC" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3103 if test -z "$CC"; then
3104 if test -n "$ac_tool_prefix"; then
3105 for ac_prog in cl.exe
3107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3108 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_CC+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 if test -n "$CC"; then
3115 ac_cv_prog_CC="$CC" # Let the user override the test.
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir=.
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3124 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 if test -n "$CC"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3137 $as_echo "$CC" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3144 test -n "$CC" && break
3147 if test -z "$CC"; then
3149 for ac_prog in cl.exe
3151 # Extract the first word of "$ac_prog", so it can be a program name with args.
3152 set dummy $ac_prog; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$ac_ct_CC"; then
3159 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_ac_ct_CC="$ac_prog"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3179 if test -n "$ac_ct_CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3181 $as_echo "$ac_ct_CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3188 test -n "$ac_ct_CC" && break
3191 if test "x$ac_ct_CC" = x; then
3194 case $cross_compiling:$ac_tool_warned in
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3198 ac_tool_warned=yes ;;
3207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error $? "no acceptable C compiler found in \$PATH
3210 See \`config.log' for more details" "$LINENO" 5; }
3212 # Provide some information about the compiler.
3213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3216 for ac_option in --version -v -V -qversion; do
3217 { { ac_try="$ac_compiler $ac_option >&5"
3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3226 if test -s conftest.err; then
3228 ... rest of stderr output deleted ...
3229 10q' conftest.err >conftest.er1
3230 cat conftest.er1 >&5
3232 rm -f conftest.er1 conftest.err
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 ac_clean_files_save=$ac_clean_files
3249 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3250 # Try to create an executable without -o first, disregard a.out.
3251 # It will help us diagnose broken compilers, and finding out an intuition
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3254 $as_echo_n "checking whether the C compiler works... " >&6; }
3255 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3257 # The possible output files:
3258 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3261 for ac_file in $ac_files
3264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3270 if { { ac_try="$ac_link_default"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_link_default") 2>&5
3279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3280 test $ac_status = 0; }; then :
3281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3284 # so that the user can short-circuit this test for compilers unknown to
3286 for ac_file in $ac_files ''
3288 test -f "$ac_file" || continue
3290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3293 # We found the default executable, but exeext='' is most
3297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3301 # We set ac_cv_exeext here because the later test for it is not
3302 # safe: cross compilers may not add the suffix if given an `-o'
3303 # argument, so we may need to know it at that point already.
3304 # Even if this section looks crufty: it has the advantage of
3311 test "$ac_cv_exeext" = no && ac_cv_exeext=
3316 if test -z "$ac_file"; then :
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3319 $as_echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error 77 "C compiler cannot create executables
3325 See \`config.log' for more details" "$LINENO" 5; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3328 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3331 $as_echo_n "checking for C compiler default output file name... " >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3333 $as_echo "$ac_file" >&6; }
3334 ac_exeext=$ac_cv_exeext
3336 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3337 ac_clean_files=$ac_clean_files_save
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3339 $as_echo_n "checking for suffix of executables... " >&6; }
3340 if { { ac_try="$ac_link"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_link") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; then :
3351 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3352 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3353 # work properly (i.e., refer to `conftest.exe'), while it won't with
3355 for ac_file in conftest.exe conftest conftest.*; do
3356 test -f "$ac_file" || continue
3358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3359 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3368 See \`config.log' for more details" "$LINENO" 5; }
3370 rm -f conftest conftest$ac_cv_exeext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3372 $as_echo "$ac_cv_exeext" >&6; }
3374 rm -f conftest.$ac_ext
3375 EXEEXT=$ac_cv_exeext
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3383 FILE *f = fopen ("conftest.out", "w");
3384 return ferror (f) || fclose (f) != 0;
3390 ac_clean_files="$ac_clean_files conftest.out"
3391 # Check that the compiler produces executables we can run. If not, either
3392 # the compiler is broken, or we cross compile.
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3394 $as_echo_n "checking whether we are cross compiling... " >&6; }
3395 if test "$cross_compiling" != yes; then
3396 { { ac_try="$ac_link"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_link") 2>&5
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }
3407 if { ac_try='./conftest$ac_cv_exeext'
3408 { { case "(($ac_try" in
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_try") 2>&5
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }; }; then
3420 if test "$cross_compiling" = maybe; then
3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $? "cannot run C compiled programs.
3426 If you meant to cross compile, use \`--host'.
3427 See \`config.log' for more details" "$LINENO" 5; }
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3432 $as_echo "$cross_compiling" >&6; }
3434 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3435 ac_clean_files=$ac_clean_files_save
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3437 $as_echo_n "checking for suffix of object files... " >&6; }
3438 if ${ac_cv_objext+:} false; then :
3439 $as_echo_n "(cached) " >&6
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3452 rm -f conftest.o conftest.obj
3453 if { { ac_try="$ac_compile"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_compile") 2>&5
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }; then :
3464 for ac_file in conftest.o conftest.obj conftest.*; do
3465 test -f "$ac_file" || continue;
3467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3468 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3473 $as_echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error $? "cannot compute suffix of object files: cannot compile
3479 See \`config.log' for more details" "$LINENO" 5; }
3481 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3484 $as_echo "$ac_cv_objext" >&6; }
3485 OBJEXT=$ac_cv_objext
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3488 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3489 if ${ac_cv_c_compiler_gnu+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3516 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3517 if test $ac_compiler_gnu = yes; then
3522 ac_test_CFLAGS=${CFLAGS+set}
3523 ac_save_CFLAGS=$CFLAGS
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3525 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3526 if ${ac_cv_prog_cc_g+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 ac_save_c_werror_flag=$ac_c_werror_flag
3530 ac_c_werror_flag=yes
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3562 ac_c_werror_flag=$ac_save_c_werror_flag
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3575 if ac_fn_c_try_compile "$LINENO"; then :
3578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 ac_c_werror_flag=$ac_save_c_werror_flag
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3586 $as_echo "$ac_cv_prog_cc_g" >&6; }
3587 if test "$ac_test_CFLAGS" = set; then
3588 CFLAGS=$ac_save_CFLAGS
3589 elif test $ac_cv_prog_cc_g = yes; then
3590 if test "$GCC" = yes; then
3596 if test "$GCC" = yes; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3603 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3604 if ${ac_cv_prog_cc_c89+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 ac_cv_prog_cc_c89=no
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3614 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3615 struct buf { int x; };
3616 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3617 static char *e (p, i)
3623 static char *f (char * (*g) (char **, int), char **p, ...)
3628 s = g (p, va_arg (v,int));
3633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3634 function prototypes and stuff, but not '\xHH' hex character constants.
3635 These don't provoke an error unfortunately, instead are silently treated
3636 as 'x'. The following induces an error, until -std is added to get
3637 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3638 array size at least. It's necessary to write '\x00'==0 to get something
3639 that's true only with -std. */
3640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3643 inside strings and character constants. */
3645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3647 int test (int i, double x);
3648 struct s1 {int (*f) (int a);};
3649 struct s2 {int (*f) (double a);};
3650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3656 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3661 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3662 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3664 CC="$ac_save_CC $ac_arg"
3665 if ac_fn_c_try_compile "$LINENO"; then :
3666 ac_cv_prog_cc_c89=$ac_arg
3668 rm -f core conftest.err conftest.$ac_objext
3669 test "x$ac_cv_prog_cc_c89" != "xno" && break
3671 rm -f conftest.$ac_ext
3676 case "x$ac_cv_prog_cc_c89" in
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3679 $as_echo "none needed" >&6; } ;;
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3682 $as_echo "unsupported" >&6; } ;;
3684 CC="$CC $ac_cv_prog_cc_c89"
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3686 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3688 if test "x$ac_cv_prog_cc_c89" != xno; then :
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 DEPDIR="${am__leading_dot}deps"
3699 ac_config_commands="$ac_config_commands depfiles"
3702 am_make=${MAKE-make}
3703 cat > confinc << 'END'
3705 @echo this is the am__doit target
3708 # If we don't find an include directive, just comment out the code.
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3710 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3714 # First try GNU make style include.
3715 echo "include confinc" > confmf
3716 # Ignore all kinds of additional output from `make'.
3717 case `$am_make -s -f confmf 2> /dev/null` in #(
3718 *the\ am__doit\ target*)
3724 # Now try BSD make style include.
3725 if test "$am__include" = "#"; then
3726 echo '.include "confinc"' > confmf
3727 case `$am_make -s -f confmf 2> /dev/null` in #(
3728 *the\ am__doit\ target*)
3729 am__include=.include
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3738 $as_echo "$_am_result" >&6; }
3739 rm -f confinc confmf
3741 # Check whether --enable-dependency-tracking was given.
3742 if test "${enable_dependency_tracking+set}" = set; then :
3743 enableval=$enable_dependency_tracking;
3746 if test "x$enable_dependency_tracking" != xno; then
3747 am_depcomp="$ac_aux_dir/depcomp"
3751 if test "x$enable_dependency_tracking" != xno; then
3761 depcc="$CC" am_compiler_list=
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3764 $as_echo_n "checking dependency style of $depcc... " >&6; }
3765 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3766 $as_echo_n "(cached) " >&6
3768 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3769 # We make a subdir and do the tests there. Otherwise we can end up
3770 # making bogus files that we don't know about and never remove. For
3771 # instance it was reported that on HP-UX the gcc test will end up
3772 # making a dummy file named `D' -- because `-MD' means `put the output
3776 # Copy depcomp to subdir because otherwise we won't find it if we're
3777 # using a relative directory.
3778 cp "$am_depcomp" conftest.dir
3780 # We will build objects and dependencies in a subdirectory because
3781 # it helps to detect inapplicable dependency modes. For instance
3782 # both Tru64's cc and ICC support -MD to output dependencies as a
3783 # side effect of compilation, but ICC will put the dependencies in
3784 # the current directory while Tru64 will put them in the object
3788 am_cv_CC_dependencies_compiler_type=none
3789 if test "$am_compiler_list" = ""; then
3790 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3793 case " $depcc " in #(
3794 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3797 for depmode in $am_compiler_list; do
3798 # Setup a source with many dependencies, because some compilers
3799 # like to wrap large dependency lists on column 80 (with \), and
3800 # we should not choose a depcomp mode which is confused by this.
3802 # We need to recreate these files for each test, as the compiler may
3803 # overwrite some of them when testing with obscure command lines.
3804 # This happens at least with the AIX C compiler.
3806 for i in 1 2 3 4 5 6; do
3807 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3808 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3809 # Solaris 8's {/usr,}/bin/sh.
3810 touch sub/conftst$i.h
3812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3814 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3815 # mode. It turns out that the SunPro C++ compiler does not properly
3816 # handle `-M -o', and we need to detect this. Also, some Intel
3817 # versions had trouble with output in subdirs
3818 am__obj=sub/conftest.${OBJEXT-o}
3819 am__minus_obj="-o $am__obj"
3822 # This depmode causes a compiler race in universal mode.
3823 test "$am__universal" = false || continue
3826 # after this tag, mechanisms are not by side-effect, so they'll
3827 # only be used when explicitly requested
3828 if test "x$enable_dependency_tracking" = xyes; then
3834 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3835 # This compiler won't grok `-c -o', but also, the minuso test has
3836 # not run yet. These depmodes are late enough in the game, and
3837 # so weak that their functioning should not be impacted.
3838 am__obj=conftest.${OBJEXT-o}
3843 if depmode=$depmode \
3844 source=sub/conftest.c object=$am__obj \
3845 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3846 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3847 >/dev/null 2>conftest.err &&
3848 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3849 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3850 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3851 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3852 # icc doesn't choke on unknown options, it will just issue warnings
3853 # or remarks (even with -Werror). So we grep stderr for any message
3854 # that says an option was ignored or not supported.
3855 # When given -MP, icc 7.0 and 7.1 complain thusly:
3856 # icc: Command line warning: ignoring option '-M'; no argument required
3857 # The diagnosis changed in icc 8.0:
3858 # icc: Command line remark: option '-MP' not supported
3859 if (grep 'ignoring option' conftest.err ||
3860 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3861 am_cv_CC_dependencies_compiler_type=$depmode
3870 am_cv_CC_dependencies_compiler_type=none
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3875 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3876 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3879 test "x$enable_dependency_tracking" != xno \
3880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3882 am__fastdepCC_FALSE='#'
3884 am__fastdepCC_TRUE='#'
3885 am__fastdepCC_FALSE=
3889 if test "x$CC" != xcc; then
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3891 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3894 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3896 set dummy $CC; ac_cc=`$as_echo "$2" |
3897 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3898 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3899 $as_echo_n "(cached) " >&6
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 # Make sure it works both with $CC and with simple cc.
3913 # We do the test twice because some compilers refuse to overwrite an
3914 # existing .o file with -o, though they will create one.
3915 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3917 if { { case "(($ac_try" in
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_try") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; } &&
3927 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_try") 2>&5
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; };
3938 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3939 if test "x$CC" != xcc; then
3940 # Test first that cc exists at all.
3941 if { ac_try='cc -c conftest.$ac_ext >&5'
3942 { { case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_try") 2>&5
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; }; then
3952 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3954 if { { case "(($ac_try" in
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_try") 2>&5
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; } &&
3964 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 $as_echo "$ac_try_echo"; } >&5
3970 (eval "$ac_try") 2>&5
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; };
3978 # cc exists but doesn't like -o.
3979 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3984 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3986 rm -f core conftest*
3989 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3991 $as_echo "yes" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3996 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4000 # FIXME: we rely on the cache variable name because
4001 # there is no other way.
4003 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4004 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4005 if test "$am_t" != yes; then
4006 # Losing compiler, so override with the script.
4007 # FIXME: It is wrong to rewrite CC.
4008 # But if we don't then we get into trouble of one sort or another.
4009 # A longer-term fix would be to have automake use am__CC in this case,
4010 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4011 CC="$am_aux_dir/compile $CC"
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4019 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_RANLIB+:} false; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$RANLIB"; then
4026 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 RANLIB=$ac_cv_prog_RANLIB
4046 if test -n "$RANLIB"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4048 $as_echo "$RANLIB" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4056 if test -z "$ac_cv_prog_RANLIB"; then
4057 ac_ct_RANLIB=$RANLIB
4058 # Extract the first word of "ranlib", so it can be a program name with args.
4059 set dummy ranlib; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$ac_ct_RANLIB"; then
4066 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_ac_ct_RANLIB="ranlib"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4086 if test -n "$ac_ct_RANLIB"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4088 $as_echo "$ac_ct_RANLIB" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4094 if test "x$ac_ct_RANLIB" = x; then
4097 case $cross_compiling:$ac_tool_warned in
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4101 ac_tool_warned=yes ;;
4103 RANLIB=$ac_ct_RANLIB
4106 RANLIB="$ac_cv_prog_RANLIB"
4110 # Checks for header files.
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4118 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4119 # On Suns, sometimes $CPP names a directory.
4120 if test -n "$CPP" && test -d "$CPP"; then
4123 if test -z "$CPP"; then
4124 if ${ac_cv_prog_CPP+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 # Double quotes because CPP needs to be expanded
4128 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4131 for ac_c_preproc_warn_flag in '' yes
4133 # Use a header file that comes with gcc, so configuring glibc
4134 # with a fresh cross-compiler works.
4135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136 # <limits.h> exists even on freestanding compilers.
4137 # On the NeXT, cc -E runs the code through the compiler's parser,
4138 # not just through cpp. "Syntax error" is here to catch this case.
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4142 # include <limits.h>
4144 # include <assert.h>
4148 if ac_fn_c_try_cpp "$LINENO"; then :
4151 # Broken: fails on valid input.
4154 rm -f conftest.err conftest.i conftest.$ac_ext
4156 # OK, works on sane cases. Now check whether nonexistent headers
4157 # can be detected and how.
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160 #include <ac_nonexistent.h>
4162 if ac_fn_c_try_cpp "$LINENO"; then :
4163 # Broken: success on invalid input.
4166 # Passes both tests.
4170 rm -f conftest.err conftest.i conftest.$ac_ext
4173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4174 rm -f conftest.i conftest.err conftest.$ac_ext
4175 if $ac_preproc_ok; then :
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4188 $as_echo "$CPP" >&6; }
4190 for ac_c_preproc_warn_flag in '' yes
4192 # Use a header file that comes with gcc, so configuring glibc
4193 # with a fresh cross-compiler works.
4194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4195 # <limits.h> exists even on freestanding compilers.
4196 # On the NeXT, cc -E runs the code through the compiler's parser,
4197 # not just through cpp. "Syntax error" is here to catch this case.
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 # include <limits.h>
4203 # include <assert.h>
4207 if ac_fn_c_try_cpp "$LINENO"; then :
4210 # Broken: fails on valid input.
4213 rm -f conftest.err conftest.i conftest.$ac_ext
4215 # OK, works on sane cases. Now check whether nonexistent headers
4216 # can be detected and how.
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 #include <ac_nonexistent.h>
4221 if ac_fn_c_try_cpp "$LINENO"; then :
4222 # Broken: success on invalid input.
4225 # Passes both tests.
4229 rm -f conftest.err conftest.i conftest.$ac_ext
4232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4233 rm -f conftest.i conftest.err conftest.$ac_ext
4234 if $ac_preproc_ok; then :
4237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4240 See \`config.log' for more details" "$LINENO" 5; }
4244 ac_cpp='$CPP $CPPFLAGS'
4245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4251 $as_echo_n "checking for X... " >&6; }
4254 # Check whether --with-x was given.
4255 if test "${with_x+set}" = set; then :
4259 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4260 if test "x$with_x" = xno; then
4261 # The user explicitly disabled X.
4264 case $x_includes,$x_libraries in #(
4265 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4266 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 # One or both of the vars are not set, and there is no cached value.
4270 ac_x_includes=no ac_x_libraries=no
4271 rm -f -r conftest.dir
4272 if mkdir conftest.dir; then
4274 cat >Imakefile <<'_ACEOF'
4276 @echo incroot='${INCROOT}'
4278 @echo usrlibdir='${USRLIBDIR}'
4280 @echo libdir='${LIBDIR}'
4282 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4283 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4284 for ac_var in incroot usrlibdir libdir; do
4285 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4287 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4288 for ac_extension in a so sl dylib la dll; do
4289 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4290 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4291 ac_im_usrlibdir=$ac_im_libdir; break
4294 # Screen out bogus values from the imake configuration. They are
4295 # bogus both because they are the default anyway, and because
4296 # using them would break gcc on systems where it needs fixed includes.
4297 case $ac_im_incroot in
4298 /usr/include) ac_x_includes= ;;
4299 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4301 case $ac_im_usrlibdir in
4302 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4303 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4307 rm -f -r conftest.dir
4310 # Standard set of common directories for X headers.
4311 # Check X11 before X11Rn because it is often a symlink to the current release.
4325 /usr/local/X11/include
4326 /usr/local/X11R7/include
4327 /usr/local/X11R6/include
4328 /usr/local/X11R5/include
4329 /usr/local/X11R4/include
4331 /usr/local/include/X11
4332 /usr/local/include/X11R7
4333 /usr/local/include/X11R6
4334 /usr/local/include/X11R5
4335 /usr/local/include/X11R4
4339 /usr/XFree86/include/X11
4343 /usr/unsupported/include
4345 /usr/local/x11r5/include
4346 /usr/lpp/Xamples/include
4348 /usr/openwin/include
4349 /usr/openwin/share/include'
4351 if test "$ac_x_includes" = no; then
4352 # Guess where to find include files, by looking for Xlib.h.
4353 # First, try using that file with no special directory specified.
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4356 #include <X11/Xlib.h>
4358 if ac_fn_c_try_cpp "$LINENO"; then :
4359 # We can compile using X headers with no special include directory.
4362 for ac_dir in $ac_x_header_dirs; do
4363 if test -r "$ac_dir/X11/Xlib.h"; then
4364 ac_x_includes=$ac_dir
4369 rm -f conftest.err conftest.i conftest.$ac_ext
4370 fi # $ac_x_includes = no
4372 if test "$ac_x_libraries" = no; then
4373 # Check for the libraries.
4374 # See if we find them without any special options.
4375 # Don't add to $LIBS permanently.
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 #include <X11/Xlib.h>
4389 if ac_fn_c_try_link "$LINENO"; then :
4391 # We can link X programs with no special library path.
4395 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4397 # Don't even attempt the hair of trying to link an X program!
4398 for ac_extension in a so sl dylib la dll; do
4399 if test -r "$ac_dir/libX11.$ac_extension"; then
4400 ac_x_libraries=$ac_dir
4406 rm -f core conftest.err conftest.$ac_objext \
4407 conftest$ac_exeext conftest.$ac_ext
4408 fi # $ac_x_libraries = no
4410 case $ac_x_includes,$ac_x_libraries in #(
4412 # Didn't find X, or a directory has "'" in its name.
4413 ac_cv_have_x="have_x=no";; #(
4415 # Record where we found X for the cache.
4416 ac_cv_have_x="have_x=yes\
4417 ac_x_includes='$ac_x_includes'\
4418 ac_x_libraries='$ac_x_libraries'"
4424 eval "$ac_cv_have_x"
4427 if test "$have_x" != yes; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4429 $as_echo "$have_x" >&6; }
4432 # If each of the values was on the command line, it overrides each guess.
4433 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4434 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4435 # Update the cache value to reflect the command line values.
4436 ac_cv_have_x="have_x=yes\
4437 ac_x_includes='$x_includes'\
4438 ac_x_libraries='$x_libraries'"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4440 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4444 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4445 if ${ac_cv_path_GREP+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -z "$GREP"; then
4449 ac_path_GREP_found=false
4450 # Loop through the user's path and test for each of PROGNAME-LIST
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4455 test -z "$as_dir" && as_dir=.
4456 for ac_prog in grep ggrep; do
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4459 as_fn_executable_p "$ac_path_GREP" || continue
4460 # Check for GNU ac_path_GREP and select it if it is found.
4461 # Check for GNU $ac_path_GREP
4462 case `"$ac_path_GREP" --version 2>&1` in
4464 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4467 $as_echo_n 0123456789 >"conftest.in"
4470 cat "conftest.in" "conftest.in" >"conftest.tmp"
4471 mv "conftest.tmp" "conftest.in"
4472 cp "conftest.in" "conftest.nl"
4473 $as_echo 'GREP' >> "conftest.nl"
4474 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4475 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4476 as_fn_arith $ac_count + 1 && ac_count=$as_val
4477 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4478 # Best one so far, save it but keep looking for a better one
4479 ac_cv_path_GREP="$ac_path_GREP"
4480 ac_path_GREP_max=$ac_count
4482 # 10*(2^10) chars as input seems more than enough
4483 test $ac_count -gt 10 && break
4485 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4488 $ac_path_GREP_found && break 3
4493 if test -z "$ac_cv_path_GREP"; then
4494 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4497 ac_cv_path_GREP=$GREP
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4502 $as_echo "$ac_cv_path_GREP" >&6; }
4503 GREP="$ac_cv_path_GREP"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4507 $as_echo_n "checking for egrep... " >&6; }
4508 if ${ac_cv_path_EGREP+:} false; then :
4509 $as_echo_n "(cached) " >&6
4511 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4512 then ac_cv_path_EGREP="$GREP -E"
4514 if test -z "$EGREP"; then
4515 ac_path_EGREP_found=false
4516 # Loop through the user's path and test for each of PROGNAME-LIST
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 test -z "$as_dir" && as_dir=.
4522 for ac_prog in egrep; do
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4525 as_fn_executable_p "$ac_path_EGREP" || continue
4526 # Check for GNU ac_path_EGREP and select it if it is found.
4527 # Check for GNU $ac_path_EGREP
4528 case `"$ac_path_EGREP" --version 2>&1` in
4530 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4533 $as_echo_n 0123456789 >"conftest.in"
4536 cat "conftest.in" "conftest.in" >"conftest.tmp"
4537 mv "conftest.tmp" "conftest.in"
4538 cp "conftest.in" "conftest.nl"
4539 $as_echo 'EGREP' >> "conftest.nl"
4540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4542 as_fn_arith $ac_count + 1 && ac_count=$as_val
4543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4544 # Best one so far, save it but keep looking for a better one
4545 ac_cv_path_EGREP="$ac_path_EGREP"
4546 ac_path_EGREP_max=$ac_count
4548 # 10*(2^10) chars as input seems more than enough
4549 test $ac_count -gt 10 && break
4551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 $ac_path_EGREP_found && break 3
4559 if test -z "$ac_cv_path_EGREP"; then
4560 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563 ac_cv_path_EGREP=$EGREP
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4569 $as_echo "$ac_cv_path_EGREP" >&6; }
4570 EGREP="$ac_cv_path_EGREP"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4574 $as_echo_n "checking for ANSI C header files... " >&6; }
4575 if ${ac_cv_header_stdc+:} false; then :
4576 $as_echo_n "(cached) " >&6
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4593 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_cv_header_stdc=yes
4596 ac_cv_header_stdc=no
4598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 if test $ac_cv_header_stdc = yes; then
4601 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4608 $EGREP "memchr" >/dev/null 2>&1; then :
4611 ac_cv_header_stdc=no
4617 if test $ac_cv_header_stdc = yes; then
4618 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4625 $EGREP "free" >/dev/null 2>&1; then :
4628 ac_cv_header_stdc=no
4634 if test $ac_cv_header_stdc = yes; then
4635 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4636 if test "$cross_compiling" = yes; then :
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4643 #if ((' ' & 0x0FF) == 0x020)
4644 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4645 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4647 # define ISLOWER(c) \
4648 (('a' <= (c) && (c) <= 'i') \
4649 || ('j' <= (c) && (c) <= 'r') \
4650 || ('s' <= (c) && (c) <= 'z'))
4651 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4654 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4659 for (i = 0; i < 256; i++)
4660 if (XOR (islower (i), ISLOWER (i))
4661 || toupper (i) != TOUPPER (i))
4666 if ac_fn_c_try_run "$LINENO"; then :
4669 ac_cv_header_stdc=no
4671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4672 conftest.$ac_objext conftest.beam conftest.$ac_ext
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4678 $as_echo "$ac_cv_header_stdc" >&6; }
4679 if test $ac_cv_header_stdc = yes; then
4681 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4685 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4686 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4687 inttypes.h stdint.h unistd.h
4689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4690 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4693 cat >>confdefs.h <<_ACEOF
4694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4702 for ac_header in stdbool.h
4704 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
4705 if test "x$ac_cv_header_stdbool_h" = xyes; then :
4706 cat >>confdefs.h <<_ACEOF
4707 #define HAVE_STDBOOL_H 1
4715 # Checks for typedefs, structures, and compiler characteristics.
4716 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4717 if test "x$ac_cv_type_size_t" = xyes; then :
4721 cat >>confdefs.h <<_ACEOF
4722 #define size_t unsigned int
4727 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4728 if test "x$ac_cv_type_ssize_t" = xyes; then :
4732 cat >>confdefs.h <<_ACEOF
4739 # Checks for library functions.
4740 for ac_header in stdlib.h
4742 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4743 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4744 cat >>confdefs.h <<_ACEOF
4745 #define HAVE_STDLIB_H 1
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4753 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4754 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4755 $as_echo_n "(cached) " >&6
4757 if test "$cross_compiling" = yes; then :
4758 ac_cv_func_malloc_0_nonnull=no
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4763 # include <stdlib.h>
4771 return ! malloc (0);
4776 if ac_fn_c_try_run "$LINENO"; then :
4777 ac_cv_func_malloc_0_nonnull=yes
4779 ac_cv_func_malloc_0_nonnull=no
4781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4782 conftest.$ac_objext conftest.beam conftest.$ac_ext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4787 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4788 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4790 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4793 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4795 case " $LIBOBJS " in
4796 *" malloc.$ac_objext "* ) ;;
4797 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4802 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4807 for ac_header in stdlib.h
4809 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4810 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4811 cat >>confdefs.h <<_ACEOF
4812 #define HAVE_STDLIB_H 1
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4820 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4821 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
4822 $as_echo_n "(cached) " >&6
4824 if test "$cross_compiling" = yes; then :
4825 ac_cv_func_realloc_0_nonnull=no
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4829 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4830 # include <stdlib.h>
4838 return ! realloc (0, 0);
4843 if ac_fn_c_try_run "$LINENO"; then :
4844 ac_cv_func_realloc_0_nonnull=yes
4846 ac_cv_func_realloc_0_nonnull=no
4848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4849 conftest.$ac_objext conftest.beam conftest.$ac_ext
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4854 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4855 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4857 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4860 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4862 case " $LIBOBJS " in
4863 *" realloc.$ac_objext "* ) ;;
4864 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4869 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4874 for ac_func in gettimeofday memmove socket strdup strtol
4876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4879 cat >>confdefs.h <<_ACEOF
4880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4890 $as_echo_n "checking whether NLS is requested... " >&6; }
4891 # Check whether --enable-nls was given.
4892 if test "${enable_nls+set}" = set; then :
4893 enableval=$enable_nls; USE_NLS=$enableval
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4899 $as_echo "$USE_NLS" >&6; }
4904 GETTEXT_MACRO_VERSION=0.18
4909 # Prepare PATH_SEPARATOR.
4910 # The user is always right.
4911 if test "${PATH_SEPARATOR+set}" != set; then
4912 echo "#! /bin/sh" >conf$$.sh
4913 echo "exit 0" >>conf$$.sh
4915 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4923 # Find out how to test for executable files. Don't use a zero-byte file,
4924 # as systems may use methods other than mode bits to determine executability.
4925 cat >conf$$.file <<_ASEOF
4929 chmod +x conf$$.file
4930 if test -x conf$$.file >/dev/null 2>&1; then
4931 ac_executable_p="test -x"
4933 ac_executable_p="test -f"
4937 # Extract the first word of "msgfmt", so it can be a program name with args.
4938 set dummy msgfmt; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_path_MSGFMT+:} false; then :
4942 $as_echo_n "(cached) " >&6
4946 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4949 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4950 for ac_dir in $PATH; do
4952 test -z "$ac_dir" && ac_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4955 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4956 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4957 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4958 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4965 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4969 MSGFMT="$ac_cv_path_MSGFMT"
4970 if test "$MSGFMT" != ":"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4972 $as_echo "$MSGFMT" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4978 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4979 set dummy gmsgfmt; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_path_GMSGFMT+:} false; then :
4983 $as_echo_n "(cached) " >&6
4987 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5009 GMSGFMT=$ac_cv_path_GMSGFMT
5010 if test -n "$GMSGFMT"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5012 $as_echo "$GMSGFMT" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5021 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5022 *) MSGFMT_015=$MSGFMT ;;
5025 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5026 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5027 *) GMSGFMT_015=$GMSGFMT ;;
5032 # Prepare PATH_SEPARATOR.
5033 # The user is always right.
5034 if test "${PATH_SEPARATOR+set}" != set; then
5035 echo "#! /bin/sh" >conf$$.sh
5036 echo "exit 0" >>conf$$.sh
5038 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5046 # Find out how to test for executable files. Don't use a zero-byte file,
5047 # as systems may use methods other than mode bits to determine executability.
5048 cat >conf$$.file <<_ASEOF
5052 chmod +x conf$$.file
5053 if test -x conf$$.file >/dev/null 2>&1; then
5054 ac_executable_p="test -x"
5056 ac_executable_p="test -f"
5060 # Extract the first word of "xgettext", so it can be a program name with args.
5061 set dummy xgettext; ac_word=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_path_XGETTEXT+:} false; then :
5065 $as_echo_n "(cached) " >&6
5069 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5072 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5073 for ac_dir in $PATH; do
5075 test -z "$ac_dir" && ac_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5078 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5079 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5080 (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
5081 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5088 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5092 XGETTEXT="$ac_cv_path_XGETTEXT"
5093 if test "$XGETTEXT" != ":"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5095 $as_echo "$XGETTEXT" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5103 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5104 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5105 *) XGETTEXT_015=$XGETTEXT ;;
5110 # Prepare PATH_SEPARATOR.
5111 # The user is always right.
5112 if test "${PATH_SEPARATOR+set}" != set; then
5113 echo "#! /bin/sh" >conf$$.sh
5114 echo "exit 0" >>conf$$.sh
5116 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5124 # Find out how to test for executable files. Don't use a zero-byte file,
5125 # as systems may use methods other than mode bits to determine executability.
5126 cat >conf$$.file <<_ASEOF
5130 chmod +x conf$$.file
5131 if test -x conf$$.file >/dev/null 2>&1; then
5132 ac_executable_p="test -x"
5134 ac_executable_p="test -f"
5138 # Extract the first word of "msgmerge", so it can be a program name with args.
5139 set dummy msgmerge; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_path_MSGMERGE+:} false; then :
5143 $as_echo_n "(cached) " >&6
5147 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5150 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5151 for ac_dir in $PATH; do
5153 test -z "$ac_dir" && ac_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5156 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5157 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5158 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5165 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5169 MSGMERGE="$ac_cv_path_MSGMERGE"
5170 if test "$MSGMERGE" != ":"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5172 $as_echo "$MSGMERGE" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5179 test -n "$localedir" || localedir='${datadir}/locale'
5182 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5185 ac_config_commands="$ac_config_commands po-directories"
5189 if test "X$prefix" = "XNONE"; then
5190 acl_final_prefix="$ac_default_prefix"
5192 acl_final_prefix="$prefix"
5194 if test "X$exec_prefix" = "XNONE"; then
5195 acl_final_exec_prefix='${prefix}'
5197 acl_final_exec_prefix="$exec_prefix"
5199 acl_save_prefix="$prefix"
5200 prefix="$acl_final_prefix"
5201 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5202 prefix="$acl_save_prefix"
5204 # Make sure we can run config.sub.
5205 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5206 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5209 $as_echo_n "checking build system type... " >&6; }
5210 if ${ac_cv_build+:} false; then :
5211 $as_echo_n "(cached) " >&6
5213 ac_build_alias=$build_alias
5214 test "x$ac_build_alias" = x &&
5215 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5216 test "x$ac_build_alias" = x &&
5217 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5218 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5219 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5223 $as_echo "$ac_cv_build" >&6; }
5224 case $ac_cv_build in
5226 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5229 ac_save_IFS=$IFS; IFS='-'
5235 # Remember, the first character of IFS is used to create $*,
5236 # except with old shells:
5239 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5243 $as_echo_n "checking host system type... " >&6; }
5244 if ${ac_cv_host+:} false; then :
5245 $as_echo_n "(cached) " >&6
5247 if test "x$host_alias" = x; then
5248 ac_cv_host=$ac_cv_build
5250 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5251 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5256 $as_echo "$ac_cv_host" >&6; }
5259 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5262 ac_save_IFS=$IFS; IFS='-'
5268 # Remember, the first character of IFS is used to create $*,
5269 # except with old shells:
5272 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5276 # Check whether --with-gnu-ld was given.
5277 if test "${with_gnu_ld+set}" = set; then :
5278 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5283 # Prepare PATH_SEPARATOR.
5284 # The user is always right.
5285 if test "${PATH_SEPARATOR+set}" != set; then
5286 echo "#! /bin/sh" >conf$$.sh
5287 echo "exit 0" >>conf$$.sh
5289 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5297 if test "$GCC" = yes; then
5298 # Check if gcc -print-prog-name=ld gives a path.
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5300 $as_echo_n "checking for ld used by GCC... " >&6; }
5303 # gcc leaves a trailing carriage return which upsets mingw
5304 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5306 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5309 # Accept absolute paths.
5310 [\\/]* | [A-Za-z]:[\\/]*)
5311 re_direlt='/[^/][^/]*/\.\./'
5312 # Canonicalize the path of ld
5313 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5314 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5315 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5317 test -z "$LD" && LD="$ac_prog"
5320 # If it fails, then pretend we aren't using GCC.
5324 # If it is relative, then search for the first ld in PATH.
5328 elif test "$with_gnu_ld" = yes; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5330 $as_echo_n "checking for GNU ld... " >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5333 $as_echo_n "checking for non-GNU ld... " >&6; }
5335 if ${acl_cv_path_LD+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -z "$LD"; then
5339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5340 for ac_dir in $PATH; do
5341 test -z "$ac_dir" && ac_dir=.
5342 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5343 acl_cv_path_LD="$ac_dir/$ac_prog"
5344 # Check to see if the program is GNU ld. I'd rather use --version,
5345 # but apparently some GNU ld's only accept -v.
5346 # Break only if it was the GNU/non-GNU ld that we prefer.
5347 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5348 *GNU* | *'with BFD'*)
5349 test "$with_gnu_ld" != no && break ;;
5351 test "$with_gnu_ld" != yes && break ;;
5357 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5361 LD="$acl_cv_path_LD"
5362 if test -n "$LD"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5364 $as_echo "$LD" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5369 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5371 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5372 if ${acl_cv_prog_gnu_ld+:} false; then :
5373 $as_echo_n "(cached) " >&6
5375 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5376 case `$LD -v 2>&1 </dev/null` in
5377 *GNU* | *'with BFD'*)
5378 acl_cv_prog_gnu_ld=yes ;;
5380 acl_cv_prog_gnu_ld=no ;;
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5384 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5385 with_gnu_ld=$acl_cv_prog_gnu_ld
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5391 $as_echo_n "checking for shared library run path origin... " >&6; }
5392 if ${acl_cv_rpath+:} false; then :
5393 $as_echo_n "(cached) " >&6
5396 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5397 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5404 $as_echo "$acl_cv_rpath" >&6; }
5406 acl_libext="$acl_cv_libext"
5407 acl_shlibext="$acl_cv_shlibext"
5408 acl_libname_spec="$acl_cv_libname_spec"
5409 acl_library_names_spec="$acl_cv_library_names_spec"
5410 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5411 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5412 acl_hardcode_direct="$acl_cv_hardcode_direct"
5413 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5414 # Check whether --enable-rpath was given.
5415 if test "${enable_rpath+set}" = set; then :
5416 enableval=$enable_rpath; :
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5429 $as_echo_n "checking for 64-bit host... " >&6; }
5430 if ${gl_cv_solaris_64bit+:} false; then :
5431 $as_echo_n "(cached) " >&6
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h. */
5441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5442 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5443 gl_cv_solaris_64bit=yes
5445 gl_cv_solaris_64bit=no
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5452 $as_echo "$gl_cv_solaris_64bit" >&6; }
5453 if test $gl_cv_solaris_64bit = yes; then
5454 acl_libdirstem=lib/64
5456 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5457 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5462 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5463 if test -n "$searchpath"; then
5464 acl_save_IFS="${IFS= }"; IFS=":"
5465 for searchdir in $searchpath; do
5466 if test -d "$searchdir"; then
5467 case "$searchdir" in
5468 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5470 # Better ignore directories of this form. They are misleading.
5472 *) searchdir=`cd "$searchdir" && pwd`
5473 case "$searchdir" in
5474 */lib64 ) acl_libdirstem=lib64 ;;
5483 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5498 acl_save_prefix="$prefix"
5499 prefix="$acl_final_prefix"
5500 acl_save_exec_prefix="$exec_prefix"
5501 exec_prefix="$acl_final_exec_prefix"
5503 eval additional_includedir=\"$includedir\"
5504 eval additional_libdir=\"$libdir\"
5506 exec_prefix="$acl_save_exec_prefix"
5507 prefix="$acl_save_prefix"
5510 # Check whether --with-libiconv-prefix was given.
5511 if test "${with_libiconv_prefix+set}" = set; then :
5512 withval=$with_libiconv_prefix;
5513 if test "X$withval" = "Xno"; then
5516 if test "X$withval" = "X"; then
5518 acl_save_prefix="$prefix"
5519 prefix="$acl_final_prefix"
5520 acl_save_exec_prefix="$exec_prefix"
5521 exec_prefix="$acl_final_exec_prefix"
5523 eval additional_includedir=\"$includedir\"
5524 eval additional_libdir=\"$libdir\"
5526 exec_prefix="$acl_save_exec_prefix"
5527 prefix="$acl_save_prefix"
5530 additional_includedir="$withval/include"
5531 additional_libdir="$withval/$acl_libdirstem"
5532 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5533 && ! test -d "$withval/$acl_libdirstem"; then
5534 additional_libdir="$withval/$acl_libdirstem2"
5548 names_already_handled=
5549 names_next_round='iconv '
5550 while test -n "$names_next_round"; do
5551 names_this_round="$names_next_round"
5553 for name in $names_this_round; do
5555 for n in $names_already_handled; do
5556 if test "$n" = "$name"; then
5561 if test -z "$already_handled"; then
5562 names_already_handled="$names_already_handled $name"
5563 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5564 eval value=\"\$HAVE_LIB$uppername\"
5565 if test -n "$value"; then
5566 if test "$value" = yes; then
5567 eval value=\"\$LIB$uppername\"
5568 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5569 eval value=\"\$LTLIB$uppername\"
5570 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5579 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5580 if test -n "$acl_shlibext"; then
5581 shrext=".$acl_shlibext" # typically: shrext=.so
5585 if test $use_additional = yes; then
5586 dir="$additional_libdir"
5587 if test -n "$acl_shlibext"; then
5588 if test -f "$dir/$libname$shrext"; then
5590 found_so="$dir/$libname$shrext"
5592 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5593 ver=`(cd "$dir" && \
5594 for f in "$libname$shrext".*; do echo "$f"; done \
5595 | sed -e "s,^$libname$shrext\\\\.,," \
5596 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5597 | sed 1q ) 2>/dev/null`
5598 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5600 found_so="$dir/$libname$shrext.$ver"
5603 eval library_names=\"$acl_library_names_spec\"
5604 for f in $library_names; do
5605 if test -f "$dir/$f"; then
5614 if test "X$found_dir" = "X"; then
5615 if test -f "$dir/$libname.$acl_libext"; then
5617 found_a="$dir/$libname.$acl_libext"
5620 if test "X$found_dir" != "X"; then
5621 if test -f "$dir/$libname.la"; then
5622 found_la="$dir/$libname.la"
5626 if test "X$found_dir" = "X"; then
5627 for x in $LDFLAGS $LTLIBICONV; do
5629 acl_save_prefix="$prefix"
5630 prefix="$acl_final_prefix"
5631 acl_save_exec_prefix="$exec_prefix"
5632 exec_prefix="$acl_final_exec_prefix"
5634 exec_prefix="$acl_save_exec_prefix"
5635 prefix="$acl_save_prefix"
5639 dir=`echo "X$x" | sed -e 's/^X-L//'`
5640 if test -n "$acl_shlibext"; then
5641 if test -f "$dir/$libname$shrext"; then
5643 found_so="$dir/$libname$shrext"
5645 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5646 ver=`(cd "$dir" && \
5647 for f in "$libname$shrext".*; do echo "$f"; done \
5648 | sed -e "s,^$libname$shrext\\\\.,," \
5649 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5650 | sed 1q ) 2>/dev/null`
5651 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5653 found_so="$dir/$libname$shrext.$ver"
5656 eval library_names=\"$acl_library_names_spec\"
5657 for f in $library_names; do
5658 if test -f "$dir/$f"; then
5667 if test "X$found_dir" = "X"; then
5668 if test -f "$dir/$libname.$acl_libext"; then
5670 found_a="$dir/$libname.$acl_libext"
5673 if test "X$found_dir" != "X"; then
5674 if test -f "$dir/$libname.la"; then
5675 found_la="$dir/$libname.la"
5680 if test "X$found_dir" != "X"; then
5685 if test "X$found_dir" != "X"; then
5686 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5687 if test "X$found_so" != "X"; then
5688 if test "$enable_rpath" = no \
5689 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5690 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5691 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5694 for x in $ltrpathdirs; do
5695 if test "X$x" = "X$found_dir"; then
5700 if test -z "$haveit"; then
5701 ltrpathdirs="$ltrpathdirs $found_dir"
5703 if test "$acl_hardcode_direct" = yes; then
5704 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5706 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5707 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5709 for x in $rpathdirs; do
5710 if test "X$x" = "X$found_dir"; then
5715 if test -z "$haveit"; then
5716 rpathdirs="$rpathdirs $found_dir"
5720 for x in $LDFLAGS $LIBICONV; do
5722 acl_save_prefix="$prefix"
5723 prefix="$acl_final_prefix"
5724 acl_save_exec_prefix="$exec_prefix"
5725 exec_prefix="$acl_final_exec_prefix"
5727 exec_prefix="$acl_save_exec_prefix"
5728 prefix="$acl_save_prefix"
5730 if test "X$x" = "X-L$found_dir"; then
5735 if test -z "$haveit"; then
5736 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5738 if test "$acl_hardcode_minus_L" != no; then
5739 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5741 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5747 if test "X$found_a" != "X"; then
5748 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5750 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5753 additional_includedir=
5754 case "$found_dir" in
5755 */$acl_libdirstem | */$acl_libdirstem/)
5756 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5757 if test "$name" = 'iconv'; then
5758 LIBICONV_PREFIX="$basedir"
5760 additional_includedir="$basedir/include"
5762 */$acl_libdirstem2 | */$acl_libdirstem2/)
5763 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5764 if test "$name" = 'iconv'; then
5765 LIBICONV_PREFIX="$basedir"
5767 additional_includedir="$basedir/include"
5770 if test "X$additional_includedir" != "X"; then
5771 if test "X$additional_includedir" != "X/usr/include"; then
5773 if test "X$additional_includedir" = "X/usr/local/include"; then
5774 if test -n "$GCC"; then
5776 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5780 if test -z "$haveit"; then
5781 for x in $CPPFLAGS $INCICONV; do
5783 acl_save_prefix="$prefix"
5784 prefix="$acl_final_prefix"
5785 acl_save_exec_prefix="$exec_prefix"
5786 exec_prefix="$acl_final_exec_prefix"
5788 exec_prefix="$acl_save_exec_prefix"
5789 prefix="$acl_save_prefix"
5791 if test "X$x" = "X-I$additional_includedir"; then
5796 if test -z "$haveit"; then
5797 if test -d "$additional_includedir"; then
5798 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5804 if test -n "$found_la"; then
5805 save_libdir="$libdir"
5807 */* | *\\*) . "$found_la" ;;
5808 *) . "./$found_la" ;;
5810 libdir="$save_libdir"
5811 for dep in $dependency_libs; do
5814 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5815 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5816 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5818 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5819 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5820 if test -n "$GCC"; then
5822 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5826 if test -z "$haveit"; then
5828 for x in $LDFLAGS $LIBICONV; do
5830 acl_save_prefix="$prefix"
5831 prefix="$acl_final_prefix"
5832 acl_save_exec_prefix="$exec_prefix"
5833 exec_prefix="$acl_final_exec_prefix"
5835 exec_prefix="$acl_save_exec_prefix"
5836 prefix="$acl_save_prefix"
5838 if test "X$x" = "X-L$additional_libdir"; then
5843 if test -z "$haveit"; then
5844 if test -d "$additional_libdir"; then
5845 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5849 for x in $LDFLAGS $LTLIBICONV; do
5851 acl_save_prefix="$prefix"
5852 prefix="$acl_final_prefix"
5853 acl_save_exec_prefix="$exec_prefix"
5854 exec_prefix="$acl_final_exec_prefix"
5856 exec_prefix="$acl_save_exec_prefix"
5857 prefix="$acl_save_prefix"
5859 if test "X$x" = "X-L$additional_libdir"; then
5864 if test -z "$haveit"; then
5865 if test -d "$additional_libdir"; then
5866 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5873 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5874 if test "$enable_rpath" != no; then
5876 for x in $rpathdirs; do
5877 if test "X$x" = "X$dir"; then
5882 if test -z "$haveit"; then
5883 rpathdirs="$rpathdirs $dir"
5886 for x in $ltrpathdirs; do
5887 if test "X$x" = "X$dir"; then
5892 if test -z "$haveit"; then
5893 ltrpathdirs="$ltrpathdirs $dir"
5898 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5901 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5904 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5905 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5911 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5912 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5918 if test "X$rpathdirs" != "X"; then
5919 if test -n "$acl_hardcode_libdir_separator"; then
5921 for found_dir in $rpathdirs; do
5922 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5924 acl_save_libdir="$libdir"
5926 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5927 libdir="$acl_save_libdir"
5928 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5930 for found_dir in $rpathdirs; do
5931 acl_save_libdir="$libdir"
5933 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5934 libdir="$acl_save_libdir"
5935 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5939 if test "X$ltrpathdirs" != "X"; then
5940 for found_dir in $ltrpathdirs; do
5941 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5976 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5977 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5978 $as_echo_n "(cached) " >&6
5980 gt_save_LIBS="$LIBS"
5981 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5984 #include <CoreFoundation/CFPreferences.h>
5988 CFPreferencesCopyAppValue(NULL, NULL)
5993 if ac_fn_c_try_link "$LINENO"; then :
5994 gt_cv_func_CFPreferencesCopyAppValue=yes
5996 gt_cv_func_CFPreferencesCopyAppValue=no
5998 rm -f core conftest.err conftest.$ac_objext \
5999 conftest$ac_exeext conftest.$ac_ext
6000 LIBS="$gt_save_LIBS"
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6003 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6004 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6006 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6010 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6011 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6012 $as_echo_n "(cached) " >&6
6014 gt_save_LIBS="$LIBS"
6015 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <CoreFoundation/CFLocale.h>
6022 CFLocaleCopyCurrent();
6027 if ac_fn_c_try_link "$LINENO"; then :
6028 gt_cv_func_CFLocaleCopyCurrent=yes
6030 gt_cv_func_CFLocaleCopyCurrent=no
6032 rm -f core conftest.err conftest.$ac_objext \
6033 conftest$ac_exeext conftest.$ac_ext
6034 LIBS="$gt_save_LIBS"
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6037 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6038 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6040 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6044 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6045 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6057 case " $gt_needs " in
6058 *" need-formatstring-macros "*) gt_api_version=3 ;;
6059 *" need-ngettext "*) gt_api_version=2 ;;
6060 *) gt_api_version=1 ;;
6062 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6063 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6065 if test "$USE_NLS" = "yes"; then
6066 gt_use_preinstalled_gnugettext=no
6069 if test $gt_api_version -ge 3; then
6070 gt_revision_test_code='
6071 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6072 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6074 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6077 gt_revision_test_code=
6079 if test $gt_api_version -ge 2; then
6080 gt_expression_test_code=' + * ngettext ("", "", 0)'
6082 gt_expression_test_code=
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6086 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6087 if eval \${$gt_func_gnugettext_libc+:} false; then :
6088 $as_echo_n "(cached) " >&6
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6092 #include <libintl.h>
6093 $gt_revision_test_code
6094 extern int _nl_msg_cat_cntr;
6095 extern int *_nl_domain_bindings;
6099 bindtextdomain ("", "");
6100 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6105 if ac_fn_c_try_link "$LINENO"; then :
6106 eval "$gt_func_gnugettext_libc=yes"
6108 eval "$gt_func_gnugettext_libc=no"
6110 rm -f core conftest.err conftest.$ac_objext \
6111 conftest$ac_exeext conftest.$ac_ext
6113 eval ac_res=\$$gt_func_gnugettext_libc
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6115 $as_echo "$ac_res" >&6; }
6117 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6123 am_save_CPPFLAGS="$CPPFLAGS"
6125 for element in $INCICONV; do
6127 for x in $CPPFLAGS; do
6129 acl_save_prefix="$prefix"
6130 prefix="$acl_final_prefix"
6131 acl_save_exec_prefix="$exec_prefix"
6132 exec_prefix="$acl_final_exec_prefix"
6134 exec_prefix="$acl_save_exec_prefix"
6135 prefix="$acl_save_prefix"
6137 if test "X$x" = "X$element"; then
6142 if test -z "$haveit"; then
6143 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6149 $as_echo_n "checking for iconv... " >&6; }
6150 if ${am_cv_func_iconv+:} false; then :
6151 $as_echo_n "(cached) " >&6
6154 am_cv_func_iconv="no, consider installing GNU libiconv"
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6163 iconv_t cd = iconv_open("","");
6164 iconv(cd,NULL,NULL,NULL,NULL);
6170 if ac_fn_c_try_link "$LINENO"; then :
6171 am_cv_func_iconv=yes
6173 rm -f core conftest.err conftest.$ac_objext \
6174 conftest$ac_exeext conftest.$ac_ext
6175 if test "$am_cv_func_iconv" != yes; then
6176 am_save_LIBS="$LIBS"
6177 LIBS="$LIBS $LIBICONV"
6178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6185 iconv_t cd = iconv_open("","");
6186 iconv(cd,NULL,NULL,NULL,NULL);
6192 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 LIBS="$am_save_LIBS"
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6203 $as_echo "$am_cv_func_iconv" >&6; }
6204 if test "$am_cv_func_iconv" = yes; then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6206 $as_echo_n "checking for working iconv... " >&6; }
6207 if ${am_cv_func_iconv_works+:} false; then :
6208 $as_echo_n "(cached) " >&6
6211 am_save_LIBS="$LIBS"
6212 if test $am_cv_lib_iconv = yes; then
6213 LIBS="$LIBS $LIBICONV"
6215 if test "$cross_compiling" = yes; then :
6217 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6218 *) am_cv_func_iconv_works="guessing yes" ;;
6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6228 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6231 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6232 if (cd_utf8_to_88591 != (iconv_t)(-1))
6234 static const char input[] = "\342\202\254"; /* EURO SIGN */
6236 const char *inptr = input;
6237 size_t inbytesleft = strlen (input);
6239 size_t outbytesleft = sizeof (buf);
6240 size_t res = iconv (cd_utf8_to_88591,
6241 (char **) &inptr, &inbytesleft,
6242 &outptr, &outbytesleft);
6247 /* Test against Solaris 10 bug: Failures are not distinguishable from
6248 successful returns. */
6250 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6251 if (cd_ascii_to_88591 != (iconv_t)(-1))
6253 static const char input[] = "\263";
6255 const char *inptr = input;
6256 size_t inbytesleft = strlen (input);
6258 size_t outbytesleft = sizeof (buf);
6259 size_t res = iconv (cd_ascii_to_88591,
6260 (char **) &inptr, &inbytesleft,
6261 &outptr, &outbytesleft);
6266 #if 0 /* This bug could be worked around by the caller. */
6267 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6269 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6270 if (cd_88591_to_utf8 != (iconv_t)(-1))
6272 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6274 const char *inptr = input;
6275 size_t inbytesleft = strlen (input);
6277 size_t outbytesleft = sizeof (buf);
6278 size_t res = iconv (cd_88591_to_utf8,
6279 (char **) &inptr, &inbytesleft,
6280 &outptr, &outbytesleft);
6286 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6288 if (/* Try standardized names. */
6289 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6290 /* Try IRIX, OSF/1 names. */
6291 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6292 /* Try AIX names. */
6293 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6294 /* Try HP-UX names. */
6295 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6300 if ac_fn_c_try_run "$LINENO"; then :
6301 am_cv_func_iconv_works=yes
6303 am_cv_func_iconv_works=no
6305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6306 conftest.$ac_objext conftest.beam conftest.$ac_ext
6309 LIBS="$am_save_LIBS"
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6313 $as_echo "$am_cv_func_iconv_works" >&6; }
6314 case "$am_cv_func_iconv_works" in
6315 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6316 *) am_func_iconv=yes ;;
6319 am_func_iconv=no am_cv_lib_iconv=no
6321 if test "$am_func_iconv" = yes; then
6323 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6326 if test "$am_cv_lib_iconv" = yes; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6328 $as_echo_n "checking how to link with libiconv... " >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6330 $as_echo "$LIBICONV" >&6; }
6332 CPPFLAGS="$am_save_CPPFLAGS"
6349 acl_save_prefix="$prefix"
6350 prefix="$acl_final_prefix"
6351 acl_save_exec_prefix="$exec_prefix"
6352 exec_prefix="$acl_final_exec_prefix"
6354 eval additional_includedir=\"$includedir\"
6355 eval additional_libdir=\"$libdir\"
6357 exec_prefix="$acl_save_exec_prefix"
6358 prefix="$acl_save_prefix"
6361 # Check whether --with-libintl-prefix was given.
6362 if test "${with_libintl_prefix+set}" = set; then :
6363 withval=$with_libintl_prefix;
6364 if test "X$withval" = "Xno"; then
6367 if test "X$withval" = "X"; then
6369 acl_save_prefix="$prefix"
6370 prefix="$acl_final_prefix"
6371 acl_save_exec_prefix="$exec_prefix"
6372 exec_prefix="$acl_final_exec_prefix"
6374 eval additional_includedir=\"$includedir\"
6375 eval additional_libdir=\"$libdir\"
6377 exec_prefix="$acl_save_exec_prefix"
6378 prefix="$acl_save_prefix"
6381 additional_includedir="$withval/include"
6382 additional_libdir="$withval/$acl_libdirstem"
6383 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6384 && ! test -d "$withval/$acl_libdirstem"; then
6385 additional_libdir="$withval/$acl_libdirstem2"
6399 names_already_handled=
6400 names_next_round='intl '
6401 while test -n "$names_next_round"; do
6402 names_this_round="$names_next_round"
6404 for name in $names_this_round; do
6406 for n in $names_already_handled; do
6407 if test "$n" = "$name"; then
6412 if test -z "$already_handled"; then
6413 names_already_handled="$names_already_handled $name"
6414 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6415 eval value=\"\$HAVE_LIB$uppername\"
6416 if test -n "$value"; then
6417 if test "$value" = yes; then
6418 eval value=\"\$LIB$uppername\"
6419 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6420 eval value=\"\$LTLIB$uppername\"
6421 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6430 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6431 if test -n "$acl_shlibext"; then
6432 shrext=".$acl_shlibext" # typically: shrext=.so
6436 if test $use_additional = yes; then
6437 dir="$additional_libdir"
6438 if test -n "$acl_shlibext"; then
6439 if test -f "$dir/$libname$shrext"; then
6441 found_so="$dir/$libname$shrext"
6443 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6444 ver=`(cd "$dir" && \
6445 for f in "$libname$shrext".*; do echo "$f"; done \
6446 | sed -e "s,^$libname$shrext\\\\.,," \
6447 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6448 | sed 1q ) 2>/dev/null`
6449 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6451 found_so="$dir/$libname$shrext.$ver"
6454 eval library_names=\"$acl_library_names_spec\"
6455 for f in $library_names; do
6456 if test -f "$dir/$f"; then
6465 if test "X$found_dir" = "X"; then
6466 if test -f "$dir/$libname.$acl_libext"; then
6468 found_a="$dir/$libname.$acl_libext"
6471 if test "X$found_dir" != "X"; then
6472 if test -f "$dir/$libname.la"; then
6473 found_la="$dir/$libname.la"
6477 if test "X$found_dir" = "X"; then
6478 for x in $LDFLAGS $LTLIBINTL; do
6480 acl_save_prefix="$prefix"
6481 prefix="$acl_final_prefix"
6482 acl_save_exec_prefix="$exec_prefix"
6483 exec_prefix="$acl_final_exec_prefix"
6485 exec_prefix="$acl_save_exec_prefix"
6486 prefix="$acl_save_prefix"
6490 dir=`echo "X$x" | sed -e 's/^X-L//'`
6491 if test -n "$acl_shlibext"; then
6492 if test -f "$dir/$libname$shrext"; then
6494 found_so="$dir/$libname$shrext"
6496 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6497 ver=`(cd "$dir" && \
6498 for f in "$libname$shrext".*; do echo "$f"; done \
6499 | sed -e "s,^$libname$shrext\\\\.,," \
6500 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6501 | sed 1q ) 2>/dev/null`
6502 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6504 found_so="$dir/$libname$shrext.$ver"
6507 eval library_names=\"$acl_library_names_spec\"
6508 for f in $library_names; do
6509 if test -f "$dir/$f"; then
6518 if test "X$found_dir" = "X"; then
6519 if test -f "$dir/$libname.$acl_libext"; then
6521 found_a="$dir/$libname.$acl_libext"
6524 if test "X$found_dir" != "X"; then
6525 if test -f "$dir/$libname.la"; then
6526 found_la="$dir/$libname.la"
6531 if test "X$found_dir" != "X"; then
6536 if test "X$found_dir" != "X"; then
6537 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6538 if test "X$found_so" != "X"; then
6539 if test "$enable_rpath" = no \
6540 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6541 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6542 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6545 for x in $ltrpathdirs; do
6546 if test "X$x" = "X$found_dir"; then
6551 if test -z "$haveit"; then
6552 ltrpathdirs="$ltrpathdirs $found_dir"
6554 if test "$acl_hardcode_direct" = yes; then
6555 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6557 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6558 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6560 for x in $rpathdirs; do
6561 if test "X$x" = "X$found_dir"; then
6566 if test -z "$haveit"; then
6567 rpathdirs="$rpathdirs $found_dir"
6571 for x in $LDFLAGS $LIBINTL; do
6573 acl_save_prefix="$prefix"
6574 prefix="$acl_final_prefix"
6575 acl_save_exec_prefix="$exec_prefix"
6576 exec_prefix="$acl_final_exec_prefix"
6578 exec_prefix="$acl_save_exec_prefix"
6579 prefix="$acl_save_prefix"
6581 if test "X$x" = "X-L$found_dir"; then
6586 if test -z "$haveit"; then
6587 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6589 if test "$acl_hardcode_minus_L" != no; then
6590 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6592 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6598 if test "X$found_a" != "X"; then
6599 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6601 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6604 additional_includedir=
6605 case "$found_dir" in
6606 */$acl_libdirstem | */$acl_libdirstem/)
6607 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6608 if test "$name" = 'intl'; then
6609 LIBINTL_PREFIX="$basedir"
6611 additional_includedir="$basedir/include"
6613 */$acl_libdirstem2 | */$acl_libdirstem2/)
6614 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6615 if test "$name" = 'intl'; then
6616 LIBINTL_PREFIX="$basedir"
6618 additional_includedir="$basedir/include"
6621 if test "X$additional_includedir" != "X"; then
6622 if test "X$additional_includedir" != "X/usr/include"; then
6624 if test "X$additional_includedir" = "X/usr/local/include"; then
6625 if test -n "$GCC"; then
6627 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6631 if test -z "$haveit"; then
6632 for x in $CPPFLAGS $INCINTL; do
6634 acl_save_prefix="$prefix"
6635 prefix="$acl_final_prefix"
6636 acl_save_exec_prefix="$exec_prefix"
6637 exec_prefix="$acl_final_exec_prefix"
6639 exec_prefix="$acl_save_exec_prefix"
6640 prefix="$acl_save_prefix"
6642 if test "X$x" = "X-I$additional_includedir"; then
6647 if test -z "$haveit"; then
6648 if test -d "$additional_includedir"; then
6649 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6655 if test -n "$found_la"; then
6656 save_libdir="$libdir"
6658 */* | *\\*) . "$found_la" ;;
6659 *) . "./$found_la" ;;
6661 libdir="$save_libdir"
6662 for dep in $dependency_libs; do
6665 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6666 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6667 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6669 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6670 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6671 if test -n "$GCC"; then
6673 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6677 if test -z "$haveit"; then
6679 for x in $LDFLAGS $LIBINTL; do
6681 acl_save_prefix="$prefix"
6682 prefix="$acl_final_prefix"
6683 acl_save_exec_prefix="$exec_prefix"
6684 exec_prefix="$acl_final_exec_prefix"
6686 exec_prefix="$acl_save_exec_prefix"
6687 prefix="$acl_save_prefix"
6689 if test "X$x" = "X-L$additional_libdir"; then
6694 if test -z "$haveit"; then
6695 if test -d "$additional_libdir"; then
6696 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6700 for x in $LDFLAGS $LTLIBINTL; do
6702 acl_save_prefix="$prefix"
6703 prefix="$acl_final_prefix"
6704 acl_save_exec_prefix="$exec_prefix"
6705 exec_prefix="$acl_final_exec_prefix"
6707 exec_prefix="$acl_save_exec_prefix"
6708 prefix="$acl_save_prefix"
6710 if test "X$x" = "X-L$additional_libdir"; then
6715 if test -z "$haveit"; then
6716 if test -d "$additional_libdir"; then
6717 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6724 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6725 if test "$enable_rpath" != no; then
6727 for x in $rpathdirs; do
6728 if test "X$x" = "X$dir"; then
6733 if test -z "$haveit"; then
6734 rpathdirs="$rpathdirs $dir"
6737 for x in $ltrpathdirs; do
6738 if test "X$x" = "X$dir"; then
6743 if test -z "$haveit"; then
6744 ltrpathdirs="$ltrpathdirs $dir"
6749 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6752 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6755 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6756 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6762 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6763 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6769 if test "X$rpathdirs" != "X"; then
6770 if test -n "$acl_hardcode_libdir_separator"; then
6772 for found_dir in $rpathdirs; do
6773 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6775 acl_save_libdir="$libdir"
6777 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6778 libdir="$acl_save_libdir"
6779 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6781 for found_dir in $rpathdirs; do
6782 acl_save_libdir="$libdir"
6784 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6785 libdir="$acl_save_libdir"
6786 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6790 if test "X$ltrpathdirs" != "X"; then
6791 for found_dir in $ltrpathdirs; do
6792 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6802 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6803 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6804 $as_echo_n "(cached) " >&6
6806 gt_save_CPPFLAGS="$CPPFLAGS"
6807 CPPFLAGS="$CPPFLAGS $INCINTL"
6808 gt_save_LIBS="$LIBS"
6809 LIBS="$LIBS $LIBINTL"
6810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6811 /* end confdefs.h. */
6812 #include <libintl.h>
6813 $gt_revision_test_code
6814 extern int _nl_msg_cat_cntr;
6819 const char *_nl_expand_alias (const char *);
6823 bindtextdomain ("", "");
6824 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6829 if ac_fn_c_try_link "$LINENO"; then :
6830 eval "$gt_func_gnugettext_libintl=yes"
6832 eval "$gt_func_gnugettext_libintl=no"
6834 rm -f core conftest.err conftest.$ac_objext \
6835 conftest$ac_exeext conftest.$ac_ext
6836 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6837 LIBS="$LIBS $LIBICONV"
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6840 #include <libintl.h>
6841 $gt_revision_test_code
6842 extern int _nl_msg_cat_cntr;
6847 const char *_nl_expand_alias (const char *);
6851 bindtextdomain ("", "");
6852 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6857 if ac_fn_c_try_link "$LINENO"; then :
6858 LIBINTL="$LIBINTL $LIBICONV"
6859 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6860 eval "$gt_func_gnugettext_libintl=yes"
6863 rm -f core conftest.err conftest.$ac_objext \
6864 conftest$ac_exeext conftest.$ac_ext
6866 CPPFLAGS="$gt_save_CPPFLAGS"
6867 LIBS="$gt_save_LIBS"
6869 eval ac_res=\$$gt_func_gnugettext_libintl
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6871 $as_echo "$ac_res" >&6; }
6874 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6875 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6876 && test "$PACKAGE" != gettext-runtime \
6877 && test "$PACKAGE" != gettext-tools; }; then
6878 gt_use_preinstalled_gnugettext=yes
6887 if test -n "$INTL_MACOSX_LIBS"; then
6888 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6889 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6890 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6891 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6895 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6896 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6898 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6906 $as_echo_n "checking whether to use NLS... " >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6908 $as_echo "$USE_NLS" >&6; }
6909 if test "$USE_NLS" = "yes"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6911 $as_echo_n "checking where the gettext function comes from... " >&6; }
6912 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6913 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6914 gt_source="external libintl"
6919 gt_source="included intl directory"
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6922 $as_echo "$gt_source" >&6; }
6925 if test "$USE_NLS" = "yes"; then
6927 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6928 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6930 $as_echo_n "checking how to link with libintl... " >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6932 $as_echo "$LIBINTL" >&6; }
6934 for element in $INCINTL; do
6936 for x in $CPPFLAGS; do
6938 acl_save_prefix="$prefix"
6939 prefix="$acl_final_prefix"
6940 acl_save_exec_prefix="$exec_prefix"
6941 exec_prefix="$acl_final_exec_prefix"
6943 exec_prefix="$acl_save_exec_prefix"
6944 prefix="$acl_save_prefix"
6946 if test "X$x" = "X$element"; then
6951 if test -z "$haveit"; then
6952 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6959 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6962 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6980 # Extract the first word of "gconftool-2", so it can be a program name with args.
6981 set dummy gconftool-2; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_path_GCONFTOOL+:} false; then :
6985 $as_echo_n "(cached) " >&6
6989 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6999 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
7011 GCONFTOOL=$ac_cv_path_GCONFTOOL
7012 if test -n "$GCONFTOOL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
7014 $as_echo "$GCONFTOOL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
7023 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
7025 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
7029 # Check whether --with-gconf-source was given.
7030 if test "${with_gconf_source+set}" = set; then :
7031 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
7037 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
7039 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
7040 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
7044 # Check whether --with-gconf-schema-file-dir was given.
7045 if test "${with_gconf_schema_file_dir+set}" = set; then :
7046 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
7052 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
7054 # Check whether --enable-schemas-install was given.
7055 if test "${enable_schemas_install+set}" = set; then :
7056 enableval=$enable_schemas_install; case ${enableval} in
7058 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
7062 if test "$enable_schemas_install" != no; then
7063 GCONF_SCHEMAS_INSTALL_TRUE=
7064 GCONF_SCHEMAS_INSTALL_FALSE='#'
7066 GCONF_SCHEMAS_INSTALL_TRUE='#'
7067 GCONF_SCHEMAS_INSTALL_FALSE=
7072 ############### common
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7076 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7077 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7078 $as_echo_n "(cached) " >&6
7080 ac_check_lib_save_LIBS=$LIBS
7081 LIBS="-lpthread $LIBS"
7082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7083 /* end confdefs.h. */
7085 /* Override any GCC internal prototype to avoid an error.
7086 Use char because int might match the return type of a GCC
7087 builtin and then its argument prototype would still apply. */
7091 char pthread_create ();
7095 return pthread_create ();
7100 if ac_fn_c_try_link "$LINENO"; then :
7101 ac_cv_lib_pthread_pthread_create=yes
7103 ac_cv_lib_pthread_pthread_create=no
7105 rm -f core conftest.err conftest.$ac_objext \
7106 conftest$ac_exeext conftest.$ac_ext
7107 LIBS=$ac_check_lib_save_LIBS
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7110 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7111 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7112 cat >>confdefs.h <<_ACEOF
7113 #define HAVE_LIBPTHREAD 1
7116 LIBS="-lpthread $LIBS"
7120 PTHREAD_LIBS=-pthread
7123 # Checks sensors, required by psensor and psensor-server
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7125 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7126 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7127 $as_echo_n "(cached) " >&6
7129 ac_check_lib_save_LIBS=$LIBS
7130 LIBS="-lsensors $LIBS"
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7134 /* Override any GCC internal prototype to avoid an error.
7135 Use char because int might match the return type of a GCC
7136 builtin and then its argument prototype would still apply. */
7140 char sensors_init ();
7144 return sensors_init ();
7149 if ac_fn_c_try_link "$LINENO"; then :
7150 ac_cv_lib_sensors_sensors_init=yes
7152 ac_cv_lib_sensors_sensors_init=no
7154 rm -f core conftest.err conftest.$ac_objext \
7155 conftest$ac_exeext conftest.$ac_ext
7156 LIBS=$ac_check_lib_save_LIBS
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7159 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7160 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define HAVE_LIBSENSORS 1
7165 LIBS="-lsensors $LIBS"
7169 for ac_header in sensors/sensors.h sensors/errors.h
7171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7172 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7174 cat >>confdefs.h <<_ACEOF
7175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7182 SENSORS_LIBS=-lsensors
7185 ############### psensor
7196 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7197 if test -n "$ac_tool_prefix"; then
7198 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7199 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7201 $as_echo_n "checking for $ac_word... " >&6; }
7202 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7203 $as_echo_n "(cached) " >&6
7207 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir=.
7215 for ac_exec_ext in '' $ac_executable_extensions; do
7216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7217 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7229 if test -n "$PKG_CONFIG"; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7231 $as_echo "$PKG_CONFIG" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 $as_echo "no" >&6; }
7239 if test -z "$ac_cv_path_PKG_CONFIG"; then
7240 ac_pt_PKG_CONFIG=$PKG_CONFIG
7241 # Extract the first word of "pkg-config", so it can be a program name with args.
7242 set dummy pkg-config; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 $as_echo_n "checking for $ac_word... " >&6; }
7245 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7246 $as_echo_n "(cached) " >&6
7248 case $ac_pt_PKG_CONFIG in
7250 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 test -z "$as_dir" && as_dir=.
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7260 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7271 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7272 if test -n "$ac_pt_PKG_CONFIG"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7274 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7280 if test "x$ac_pt_PKG_CONFIG" = x; then
7283 case $cross_compiling:$ac_tool_warned in
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7287 ac_tool_warned=yes ;;
7289 PKG_CONFIG=$ac_pt_PKG_CONFIG
7292 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7296 if test -n "$PKG_CONFIG"; then
7297 _pkg_min_version=0.9.0
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7299 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7300 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7302 $as_echo "yes" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7312 $as_echo_n "checking for X11... " >&6; }
7314 if test -n "$X11_CFLAGS"; then
7315 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7316 elif test -n "$PKG_CONFIG"; then
7317 if test -n "$PKG_CONFIG" && \
7318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7319 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7322 test $ac_status = 0; }; then
7323 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7324 test "x$?" != "x0" && pkg_failed=yes
7331 if test -n "$X11_LIBS"; then
7332 pkg_cv_X11_LIBS="$X11_LIBS"
7333 elif test -n "$PKG_CONFIG"; then
7334 if test -n "$PKG_CONFIG" && \
7335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7336 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7339 test $ac_status = 0; }; then
7340 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7341 test "x$?" != "x0" && pkg_failed=yes
7351 if test $pkg_failed = yes; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7355 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7356 _pkg_short_errors_supported=yes
7358 _pkg_short_errors_supported=no
7360 if test $_pkg_short_errors_supported = yes; then
7361 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7363 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7365 # Put the nasty error message in config.log where it belongs
7366 echo "$X11_PKG_ERRORS" >&5
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7369 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7370 elif test $pkg_failed = untried; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7374 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7376 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7377 X11_LIBS=$pkg_cv_X11_LIBS
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7379 $as_echo "yes" >&6; }
7382 if test -n "$X11_LIBS"; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7396 $as_echo_n "checking for XEXT... " >&6; }
7398 if test -n "$XEXT_CFLAGS"; then
7399 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7400 elif test -n "$PKG_CONFIG"; then
7401 if test -n "$PKG_CONFIG" && \
7402 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7403 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406 test $ac_status = 0; }; then
7407 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7408 test "x$?" != "x0" && pkg_failed=yes
7415 if test -n "$XEXT_LIBS"; then
7416 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7417 elif test -n "$PKG_CONFIG"; then
7418 if test -n "$PKG_CONFIG" && \
7419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7420 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7423 test $ac_status = 0; }; then
7424 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7425 test "x$?" != "x0" && pkg_failed=yes
7435 if test $pkg_failed = yes; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437 $as_echo "no" >&6; }
7439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7440 _pkg_short_errors_supported=yes
7442 _pkg_short_errors_supported=no
7444 if test $_pkg_short_errors_supported = yes; then
7445 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7447 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7449 # Put the nasty error message in config.log where it belongs
7450 echo "$XEXT_PKG_ERRORS" >&5
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7453 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7454 elif test $pkg_failed = untried; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7458 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7460 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7461 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7463 $as_echo "yes" >&6; }
7466 if test -n "$XEXT_LIBS"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7481 $as_echo_n "checking for GTK... " >&6; }
7483 if test -n "$GTK_CFLAGS"; then
7484 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7485 elif test -n "$PKG_CONFIG"; then
7486 if test -n "$PKG_CONFIG" && \
7487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7488 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7491 test $ac_status = 0; }; then
7492 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
7493 test "x$?" != "x0" && pkg_failed=yes
7500 if test -n "$GTK_LIBS"; then
7501 pkg_cv_GTK_LIBS="$GTK_LIBS"
7502 elif test -n "$PKG_CONFIG"; then
7503 if test -n "$PKG_CONFIG" && \
7504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7505 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7508 test $ac_status = 0; }; then
7509 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
7510 test "x$?" != "x0" && pkg_failed=yes
7520 if test $pkg_failed = yes; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7525 _pkg_short_errors_supported=yes
7527 _pkg_short_errors_supported=no
7529 if test $_pkg_short_errors_supported = yes; then
7530 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
7532 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
7534 # Put the nasty error message in config.log where it belongs
7535 echo "$GTK_PKG_ERRORS" >&5
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7538 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7539 elif test $pkg_failed = untried; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7543 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7545 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7546 GTK_LIBS=$pkg_cv_GTK_LIBS
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7548 $as_echo "yes" >&6; }
7551 if test -n "$GTK_LIBS"; then
7559 # ensure that only allowed headers are included
7560 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
7561 # ensure that no gtk deprecated symbols are used
7562 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
7563 GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
7564 # ensure use of accessors
7565 GTK_CFLAGS+=" -DGSEAL_ENABLE "
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
7573 $as_echo_n "checking for GCONF... " >&6; }
7575 if test -n "$GCONF_CFLAGS"; then
7576 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
7577 elif test -n "$PKG_CONFIG"; then
7578 if test -n "$PKG_CONFIG" && \
7579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
7580 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
7582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7583 test $ac_status = 0; }; then
7584 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
7585 test "x$?" != "x0" && pkg_failed=yes
7592 if test -n "$GCONF_LIBS"; then
7593 pkg_cv_GCONF_LIBS="$GCONF_LIBS"
7594 elif test -n "$PKG_CONFIG"; then
7595 if test -n "$PKG_CONFIG" && \
7596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
7597 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
7599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7600 test $ac_status = 0; }; then
7601 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
7602 test "x$?" != "x0" && pkg_failed=yes
7612 if test $pkg_failed = yes; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7617 _pkg_short_errors_supported=yes
7619 _pkg_short_errors_supported=no
7621 if test $_pkg_short_errors_supported = yes; then
7622 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
7624 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
7626 # Put the nasty error message in config.log where it belongs
7627 echo "$GCONF_PKG_ERRORS" >&5
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gconf2 missing psensor will not be built\"" >&5
7630 $as_echo "$as_me: WARNING: \"gconf2 missing psensor will not be built\"" >&2;}
7631 elif test $pkg_failed = untried; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gconf2 missing psensor will not be built\"" >&5
7635 $as_echo "$as_me: WARNING: \"gconf2 missing psensor will not be built\"" >&2;}
7637 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
7638 GCONF_LIBS=$pkg_cv_GCONF_LIBS
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7640 $as_echo "yes" >&6; }
7642 $as_echo "#define HAVE_GCONF2 1" >>confdefs.h
7645 if test -n "$GCONF_LIBS"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
7662 $as_echo_n "checking for ATASMART... " >&6; }
7664 if test -n "$ATASMART_CFLAGS"; then
7665 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
7666 elif test -n "$PKG_CONFIG"; then
7667 if test -n "$PKG_CONFIG" && \
7668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7669 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7672 test $ac_status = 0; }; then
7673 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
7674 test "x$?" != "x0" && pkg_failed=yes
7681 if test -n "$ATASMART_LIBS"; then
7682 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
7683 elif test -n "$PKG_CONFIG"; then
7684 if test -n "$PKG_CONFIG" && \
7685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7686 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7689 test $ac_status = 0; }; then
7690 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
7691 test "x$?" != "x0" && pkg_failed=yes
7701 if test $pkg_failed = yes; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7706 _pkg_short_errors_supported=yes
7708 _pkg_short_errors_supported=no
7710 if test $_pkg_short_errors_supported = yes; then
7711 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
7713 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
7715 # Put the nasty error message in config.log where it belongs
7716 echo "$ATASMART_PKG_ERRORS" >&5
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7719 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7720 elif test $pkg_failed = untried; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7724 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7726 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
7727 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7729 $as_echo "yes" >&6; }
7731 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
7735 if test -n "$ATASMART_LIBS"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7751 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7753 if test -n "$LIBNOTIFY_CFLAGS"; then
7754 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7755 elif test -n "$PKG_CONFIG"; then
7756 if test -n "$PKG_CONFIG" && \
7757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7758 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7761 test $ac_status = 0; }; then
7762 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7763 test "x$?" != "x0" && pkg_failed=yes
7770 if test -n "$LIBNOTIFY_LIBS"; then
7771 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7772 elif test -n "$PKG_CONFIG"; then
7773 if test -n "$PKG_CONFIG" && \
7774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7775 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7778 test $ac_status = 0; }; then
7779 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7780 test "x$?" != "x0" && pkg_failed=yes
7790 if test $pkg_failed = yes; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7792 $as_echo "no" >&6; }
7794 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7795 _pkg_short_errors_supported=yes
7797 _pkg_short_errors_supported=no
7799 if test $_pkg_short_errors_supported = yes; then
7800 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7802 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7804 # Put the nasty error message in config.log where it belongs
7805 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7808 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7809 elif test $pkg_failed = untried; then
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811 $as_echo "no" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7813 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7815 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7816 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7818 $as_echo "yes" >&6; }
7820 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7823 if test -n "$LIBNOTIFY_LIBS"; then
7834 # Checks AppIndicator
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7840 $as_echo_n "checking for APPINDICATOR... " >&6; }
7842 if test -n "$APPINDICATOR_CFLAGS"; then
7843 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7844 elif test -n "$PKG_CONFIG"; then
7845 if test -n "$PKG_CONFIG" && \
7846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7847 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7850 test $ac_status = 0; }; then
7851 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7852 test "x$?" != "x0" && pkg_failed=yes
7859 if test -n "$APPINDICATOR_LIBS"; then
7860 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
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 \"appindicator3-0.1\""; } >&5
7864 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7867 test $ac_status = 0; }; then
7868 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7869 test "x$?" != "x0" && pkg_failed=yes
7879 if test $pkg_failed = yes; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7884 _pkg_short_errors_supported=yes
7886 _pkg_short_errors_supported=no
7888 if test $_pkg_short_errors_supported = yes; then
7889 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7891 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7893 # Put the nasty error message in config.log where it belongs
7894 echo "$APPINDICATOR_PKG_ERRORS" >&5
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7897 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7898 elif test $pkg_failed = untried; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7900 $as_echo "no" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7902 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7904 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7905 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7907 $as_echo "yes" >&6; }
7909 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7913 if test "$APPINDICATOR_LIBS" == ""; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7917 $as_echo_n "checking for APPINDICATOR... " >&6; }
7919 if test -n "$APPINDICATOR_CFLAGS"; then
7920 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7921 elif test -n "$PKG_CONFIG"; then
7922 if test -n "$PKG_CONFIG" && \
7923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7924 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7927 test $ac_status = 0; }; then
7928 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7929 test "x$?" != "x0" && pkg_failed=yes
7936 if test -n "$APPINDICATOR_LIBS"; then
7937 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7938 elif test -n "$PKG_CONFIG"; then
7939 if test -n "$PKG_CONFIG" && \
7940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7941 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7944 test $ac_status = 0; }; then
7945 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7946 test "x$?" != "x0" && pkg_failed=yes
7956 if test $pkg_failed = yes; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7961 _pkg_short_errors_supported=yes
7963 _pkg_short_errors_supported=no
7965 if test $_pkg_short_errors_supported = yes; then
7966 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7968 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7970 # Put the nasty error message in config.log where it belongs
7971 echo "$APPINDICATOR_PKG_ERRORS" >&5
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7974 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7975 elif test $pkg_failed = untried; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7979 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7981 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7982 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7984 $as_echo "yes" >&6; }
7986 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7989 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
7995 if test "$APPINDICATOR_LIBS" == ""; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7999 $as_echo_n "checking for APPINDICATOR... " >&6; }
8001 if test -n "$APPINDICATOR_CFLAGS"; then
8002 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8003 elif test -n "$PKG_CONFIG"; then
8004 if test -n "$PKG_CONFIG" && \
8005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
8006 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
8008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8009 test $ac_status = 0; }; then
8010 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
8011 test "x$?" != "x0" && pkg_failed=yes
8018 if test -n "$APPINDICATOR_LIBS"; then
8019 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8020 elif test -n "$PKG_CONFIG"; then
8021 if test -n "$PKG_CONFIG" && \
8022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
8023 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
8025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8026 test $ac_status = 0; }; then
8027 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
8028 test "x$?" != "x0" && pkg_failed=yes
8038 if test $pkg_failed = yes; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8040 $as_echo "no" >&6; }
8042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8043 _pkg_short_errors_supported=yes
8045 _pkg_short_errors_supported=no
8047 if test $_pkg_short_errors_supported = yes; then
8048 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
8050 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
8052 # Put the nasty error message in config.log where it belongs
8053 echo "$APPINDICATOR_PKG_ERRORS" >&5
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
8056 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
8057 elif test $pkg_failed = untried; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
8061 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
8063 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8064 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8066 $as_echo "yes" >&6; }
8068 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8072 if test -n "$APPINDICATOR_LIBS"; then
8074 APPINDICATOR_FALSE='#'
8076 APPINDICATOR_TRUE='#'
8083 # Check CURL, needed for remote monitoring
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
8088 $as_echo_n "checking for CURL... " >&6; }
8090 if test -n "$CURL_CFLAGS"; then
8091 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
8092 elif test -n "$PKG_CONFIG"; then
8093 if test -n "$PKG_CONFIG" && \
8094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8095 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8098 test $ac_status = 0; }; then
8099 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
8100 test "x$?" != "x0" && pkg_failed=yes
8107 if test -n "$CURL_LIBS"; then
8108 pkg_cv_CURL_LIBS="$CURL_LIBS"
8109 elif test -n "$PKG_CONFIG"; then
8110 if test -n "$PKG_CONFIG" && \
8111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8112 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8115 test $ac_status = 0; }; then
8116 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
8117 test "x$?" != "x0" && pkg_failed=yes
8127 if test $pkg_failed = yes; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8132 _pkg_short_errors_supported=yes
8134 _pkg_short_errors_supported=no
8136 if test $_pkg_short_errors_supported = yes; then
8137 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
8139 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
8141 # Put the nasty error message in config.log where it belongs
8142 echo "$CURL_PKG_ERRORS" >&5
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8145 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8146 elif test $pkg_failed = untried; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8150 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8152 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
8153 CURL_LIBS=$pkg_cv_CURL_LIBS
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8155 $as_echo "yes" >&6; }
8157 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8160 if test -n "$CURL_LIBS"; then
8171 # Check JSON, needed for remote monitoring
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8176 $as_echo_n "checking for JSON... " >&6; }
8178 if test -n "$JSON_CFLAGS"; then
8179 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8180 elif test -n "$PKG_CONFIG"; then
8181 if test -n "$PKG_CONFIG" && \
8182 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
8183 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
8185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8186 test $ac_status = 0; }; then
8187 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
8188 test "x$?" != "x0" && pkg_failed=yes
8195 if test -n "$JSON_LIBS"; then
8196 pkg_cv_JSON_LIBS="$JSON_LIBS"
8197 elif test -n "$PKG_CONFIG"; then
8198 if test -n "$PKG_CONFIG" && \
8199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
8200 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
8202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8203 test $ac_status = 0; }; then
8204 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
8205 test "x$?" != "x0" && pkg_failed=yes
8215 if test $pkg_failed = yes; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8220 _pkg_short_errors_supported=yes
8222 _pkg_short_errors_supported=no
8224 if test $_pkg_short_errors_supported = yes; then
8225 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
8227 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
8229 # Put the nasty error message in config.log where it belongs
8230 echo "$JSON_PKG_ERRORS" >&5
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8233 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8234 elif test $pkg_failed = untried; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8238 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8240 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8241 JSON_LIBS=$pkg_cv_JSON_LIBS
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8243 $as_echo "yes" >&6; }
8245 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8249 if test "$JSON_LIBS" == ""; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8253 $as_echo_n "checking for JSON... " >&6; }
8255 if test -n "$JSON_CFLAGS"; then
8256 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8257 elif test -n "$PKG_CONFIG"; then
8258 if test -n "$PKG_CONFIG" && \
8259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8260 ($PKG_CONFIG --exists --print-errors "json") 2>&5
8262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8263 test $ac_status = 0; }; then
8264 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
8265 test "x$?" != "x0" && pkg_failed=yes
8272 if test -n "$JSON_LIBS"; then
8273 pkg_cv_JSON_LIBS="$JSON_LIBS"
8274 elif test -n "$PKG_CONFIG"; then
8275 if test -n "$PKG_CONFIG" && \
8276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8277 ($PKG_CONFIG --exists --print-errors "json") 2>&5
8279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8280 test $ac_status = 0; }; then
8281 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
8282 test "x$?" != "x0" && pkg_failed=yes
8292 if test $pkg_failed = yes; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8296 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8297 _pkg_short_errors_supported=yes
8299 _pkg_short_errors_supported=no
8301 if test $_pkg_short_errors_supported = yes; then
8302 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
8304 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
8306 # Put the nasty error message in config.log where it belongs
8307 echo "$JSON_PKG_ERRORS" >&5
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8310 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8311 elif test $pkg_failed = untried; then
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8315 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8317 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8318 JSON_LIBS=$pkg_cv_JSON_LIBS
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8320 $as_echo "yes" >&6; }
8322 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8325 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8330 if test -n "$JSON_LIBS"; then
8341 # Enables remote monitoring if JSON and CURL is present
8342 if test -n "$JSON_LIBS"; then
8343 if test -n "$CURL_LIBS"; then
8345 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8351 # following code from sensors-applet
8352 # sensors-applet.sourceforge.net/
8353 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8357 #include <X11/Xlib.h>
8360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8361 cat >>confdefs.h <<_ACEOF
8362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8369 if test -n "${X11_LIBS}"; then
8370 LIBS="${LIBS} -lX11 -lXext"
8372 if test "${HAVE_NVIDIA}" = "true"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8374 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8375 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8376 $as_echo_n "(cached) " >&6
8378 ac_check_lib_save_LIBS=$LIBS
8379 LIBS="-lXNVCtrl $LIBS"
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8383 /* Override any GCC internal prototype to avoid an error.
8384 Use char because int might match the return type of a GCC
8385 builtin and then its argument prototype would still apply. */
8389 char XNVCTRLQueryExtension ();
8393 return XNVCTRLQueryExtension ();
8398 if ac_fn_c_try_link "$LINENO"; then :
8399 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8401 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 LIBS=$ac_check_lib_save_LIBS
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8408 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8409 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8410 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8412 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8419 if test -n "$NVIDIA_LIBS"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8434 $as_echo_n "checking for UNITY... " >&6; }
8436 if test -n "$UNITY_CFLAGS"; then
8437 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8438 elif test -n "$PKG_CONFIG"; then
8439 if test -n "$PKG_CONFIG" && \
8440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8441 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8444 test $ac_status = 0; }; then
8445 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8446 test "x$?" != "x0" && pkg_failed=yes
8453 if test -n "$UNITY_LIBS"; then
8454 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8455 elif test -n "$PKG_CONFIG"; then
8456 if test -n "$PKG_CONFIG" && \
8457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8458 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }; then
8462 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8463 test "x$?" != "x0" && pkg_failed=yes
8473 if test $pkg_failed = yes; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8475 $as_echo "no" >&6; }
8477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8478 _pkg_short_errors_supported=yes
8480 _pkg_short_errors_supported=no
8482 if test $_pkg_short_errors_supported = yes; then
8483 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8485 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8487 # Put the nasty error message in config.log where it belongs
8488 echo "$UNITY_PKG_ERRORS" >&5
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8491 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8492 elif test $pkg_failed = untried; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8494 $as_echo "no" >&6; }
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8496 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8498 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8499 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8501 $as_echo "yes" >&6; }
8503 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8508 if test -n "$UNITY_LIBS"; then
8519 # Check whether --with-libatiadl was given.
8520 if test "${with_libatiadl+set}" = set; then :
8521 withval=$with_libatiadl;
8522 ATIADL_DIR=${withval}
8523 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8524 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8530 for ac_header in adl_defines.h
8532 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8533 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8534 cat >>confdefs.h <<_ACEOF
8535 #define HAVE_ADL_DEFINES_H 1
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8538 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8539 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8540 $as_echo_n "(cached) " >&6
8542 ac_check_lib_save_LIBS=$LIBS
8543 LIBS="-latiadlxx $LIBS"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8547 /* Override any GCC internal prototype to avoid an error.
8548 Use char because int might match the return type of a GCC
8549 builtin and then its argument prototype would still apply. */
8553 char ADL_Main_Control_Refresh ();
8557 return ADL_Main_Control_Refresh ();
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8565 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 LIBS=$ac_check_lib_save_LIBS
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8572 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8573 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8576 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8578 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8579 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8588 if test -n "$LIBATIADL_LIBS"; then
8599 ############### psensor-server
8601 # libmicrohttpd, mandatory for psensor-server
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8606 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8608 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8609 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8610 elif test -n "$PKG_CONFIG"; then
8611 if test -n "$PKG_CONFIG" && \
8612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8613 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8616 test $ac_status = 0; }; then
8617 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8618 test "x$?" != "x0" && pkg_failed=yes
8625 if test -n "$LIBMICROHTTPD_LIBS"; then
8626 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8627 elif test -n "$PKG_CONFIG"; then
8628 if test -n "$PKG_CONFIG" && \
8629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8630 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8633 test $ac_status = 0; }; then
8634 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8635 test "x$?" != "x0" && pkg_failed=yes
8645 if test $pkg_failed = yes; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647 $as_echo "no" >&6; }
8649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8650 _pkg_short_errors_supported=yes
8652 _pkg_short_errors_supported=no
8654 if test $_pkg_short_errors_supported = yes; then
8655 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8657 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8659 # Put the nasty error message in config.log where it belongs
8660 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8663 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8664 elif test $pkg_failed = untried; then
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8668 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8670 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8671 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8673 $as_echo "yes" >&6; }
8675 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8678 if test -n "$LIBMICROHTTPD_LIBS"; then
8680 LIBMICROHTTPD_FALSE='#'
8682 LIBMICROHTTPD_TRUE='#'
8683 LIBMICROHTTPD_FALSE=
8692 # Check whether --with-gtop was given.
8693 if test "${with_gtop+set}" = set; then :
8704 if test "$with_gtop" = "yes"; then
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8708 $as_echo_n "checking for GTOP... " >&6; }
8710 if test -n "$GTOP_CFLAGS"; then
8711 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8712 elif test -n "$PKG_CONFIG"; then
8713 if test -n "$PKG_CONFIG" && \
8714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8715 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8718 test $ac_status = 0; }; then
8719 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8720 test "x$?" != "x0" && pkg_failed=yes
8727 if test -n "$GTOP_LIBS"; then
8728 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8729 elif test -n "$PKG_CONFIG"; then
8730 if test -n "$PKG_CONFIG" && \
8731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8732 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8735 test $ac_status = 0; }; then
8736 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8737 test "x$?" != "x0" && pkg_failed=yes
8747 if test $pkg_failed = yes; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8749 $as_echo "no" >&6; }
8751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8752 _pkg_short_errors_supported=yes
8754 _pkg_short_errors_supported=no
8756 if test $_pkg_short_errors_supported = yes; then
8757 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8759 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8761 # Put the nasty error message in config.log where it belongs
8762 echo "$GTOP_PKG_ERRORS" >&5
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8765 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8766 elif test $pkg_failed = untried; then
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8768 $as_echo "no" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8770 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8772 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8773 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8775 $as_echo "yes" >&6; }
8777 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8781 if test -n "$GTOP_LIBS"; then
8792 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"
8795 for ac_prog in help2man
8797 # Extract the first word of "$ac_prog", so it can be a program name with args.
8798 set dummy $ac_prog; ac_word=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if ${ac_cv_prog_HELP2MAN+:} false; then :
8802 $as_echo_n "(cached) " >&6
8804 if test -n "$HELP2MAN"; then
8805 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir=.
8812 for ac_exec_ext in '' $ac_executable_extensions; do
8813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8814 ac_cv_prog_HELP2MAN="$ac_prog"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 HELP2MAN=$ac_cv_prog_HELP2MAN
8825 if test -n "$HELP2MAN"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8827 $as_echo "$HELP2MAN" >&6; }
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 $as_echo "no" >&6; }
8834 test -n "$HELP2MAN" && break
8838 # Extract the first word of "cppcheck", so it can be a program name with args.
8839 set dummy cppcheck; ac_word=$2
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 $as_echo_n "checking for $ac_word... " >&6; }
8842 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
8843 $as_echo_n "(cached) " >&6
8845 if test -n "$HAVE_CPPCHECK"; then
8846 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
8848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8852 test -z "$as_dir" && as_dir=.
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8855 ac_cv_prog_HAVE_CPPCHECK="yes"
8856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8865 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
8866 if test -n "$HAVE_CPPCHECK"; then
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
8868 $as_echo "$HAVE_CPPCHECK" >&6; }
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8875 if test -n "$HAVE_CPPCHECK"; then
8884 cat >confcache <<\_ACEOF
8885 # This file is a shell script that caches the results of configure
8886 # tests run on this system so they can be shared between configure
8887 # scripts and configure runs, see configure's option --config-cache.
8888 # It is not useful on other systems. If it contains results you don't
8889 # want to keep, you may remove or edit it.
8891 # config.status only pays attention to the cache file if you give it
8892 # the --recheck option to rerun configure.
8894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8900 # The following way of writing the cache mishandles newlines in values,
8901 # but we know of no workaround that is simple, portable, and efficient.
8902 # So, we kill variables containing newlines.
8903 # Ultrix sh set writes to stderr and can't be redirected directly,
8904 # and sets the high bit in the cache file unless we assign to the vars.
8906 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8907 eval ac_val=\$$ac_var
8911 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8915 _ | IFS | as_nl) ;; #(
8916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8917 *) { eval $ac_var=; unset $ac_var;} ;;
8923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8924 *${as_nl}ac_space=\ *)
8925 # `set' does not quote correctly, so add quotes: double-quote
8926 # substitution turns \\\\ into \\, and sed turns \\ into \.
8929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8932 # `set' quotes correctly as required by POSIX, so do not add quotes.
8933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8947 if test -w "$cache_file"; then
8948 if test "x$cache_file" != "x/dev/null"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8950 $as_echo "$as_me: updating cache $cache_file" >&6;}
8951 if test ! -f "$cache_file" || test -h "$cache_file"; then
8952 cat confcache >"$cache_file"
8954 case $cache_file in #(
8956 mv -f confcache "$cache_file"$$ &&
8957 mv -f "$cache_file"$$ "$cache_file" ;; #(
8959 mv -f confcache "$cache_file" ;;
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8965 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8970 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8971 # Let make expand exec_prefix.
8972 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8974 DEFS=-DHAVE_CONFIG_H
8979 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8980 # 1. Remove the extension, and $U if already installed.
8981 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8982 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8983 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8984 # will be set to the directory where LIBOBJS objects are built.
8985 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8986 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8990 LTLIBOBJS=$ac_ltlibobjs
8993 if test -n "$EXEEXT"; then
8995 am__EXEEXT_FALSE='#'
9001 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9002 as_fn_error $? "conditional \"AMDEP\" was never defined.
9003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9005 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9006 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9009 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9010 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9013 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
9014 as_fn_error $? "conditional \"X11\" was never defined.
9015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9017 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
9018 as_fn_error $? "conditional \"XEXT\" was never defined.
9019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9021 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
9022 as_fn_error $? "conditional \"GTK\" was never defined.
9023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9025 if test -z "${GCONF_TRUE}" && test -z "${GCONF_FALSE}"; then
9026 as_fn_error $? "conditional \"GCONF\" was never defined.
9027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9029 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
9030 as_fn_error $? "conditional \"ATASMART\" was never defined.
9031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9033 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
9034 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
9035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9037 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
9038 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
9039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9041 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
9042 as_fn_error $? "conditional \"CURL\" was never defined.
9043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9045 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
9046 as_fn_error $? "conditional \"JSON\" was never defined.
9047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9049 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
9050 as_fn_error $? "conditional \"NVIDIA\" was never defined.
9051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9053 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
9054 as_fn_error $? "conditional \"UNITY\" was never defined.
9055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9057 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
9058 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
9059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9061 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
9062 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
9063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9065 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
9066 as_fn_error $? "conditional \"GTOP\" was never defined.
9067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9069 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
9070 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
9071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9074 : "${CONFIG_STATUS=./config.status}"
9076 ac_clean_files_save=$ac_clean_files
9077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9079 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9081 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9083 # Generated by $as_me.
9084 # Run this file to recreate the current configuration.
9085 # Compiler output produced by configure, useful for debugging
9086 # configure, is in config.log if it exists.
9092 SHELL=\${CONFIG_SHELL-$SHELL}
9095 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9096 ## -------------------- ##
9097 ## M4sh Initialization. ##
9098 ## -------------------- ##
9100 # Be more Bourne compatible
9101 DUALCASE=1; export DUALCASE # for MKS sh
9102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9105 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9106 # is contrary to our usage. Disable this feature.
9107 alias -g '${1+"$@"}'='"$@"'
9108 setopt NO_GLOB_SUBST
9110 case `(set -o) 2>/dev/null` in #(
9122 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9123 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9125 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9126 # Prefer a ksh shell builtin over an external printf program on Solaris,
9127 # but without wasting forks for bash or zsh.
9128 if test -z "$BASH_VERSION$ZSH_VERSION" \
9129 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9130 as_echo='print -r --'
9131 as_echo_n='print -rn --'
9132 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9133 as_echo='printf %s\n'
9134 as_echo_n='printf %s'
9136 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9137 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9138 as_echo_n='/usr/ucb/echo -n'
9140 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9141 as_echo_n_body='eval
9145 expr "X$arg" : "X\\(.*\\)$as_nl";
9146 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9148 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9150 export as_echo_n_body
9151 as_echo_n='sh -c $as_echo_n_body as_echo'
9154 as_echo='sh -c $as_echo_body as_echo'
9157 # The user is always right.
9158 if test "${PATH_SEPARATOR+set}" != set; then
9160 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9161 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9168 # We need space, tab and new line, in precisely that order. Quoting is
9169 # there to prevent editors from complaining about space-tab.
9170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9171 # splitting by setting IFS to empty value.)
9174 # Find who we are. Look in the path if we contain no directory separator.
9177 *[\\/]* ) as_myself=$0 ;;
9178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9182 test -z "$as_dir" && as_dir=.
9183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9189 # We did not find ourselves, most probably we were run as `sh COMMAND'
9190 # in which case we are not to be found in the path.
9191 if test "x$as_myself" = x; then
9194 if test ! -f "$as_myself"; then
9195 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9199 # Unset variables that we do not need and which cause bugs (e.g. in
9200 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9201 # suppresses any "Segmentation fault" message there. '((' could
9202 # trigger a bug in pdksh 5.2.14.
9203 for as_var in BASH_ENV ENV MAIL MAILPATH
9204 do eval test x\${$as_var+set} = xset \
9205 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9218 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9221 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9222 # ----------------------------------------
9223 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9224 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9225 # script with STATUS, using 1 if that was 0.
9228 as_status=$1; test $as_status -eq 0 && as_status=1
9230 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9231 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9233 $as_echo "$as_me: error: $2" >&2
9234 as_fn_exit $as_status
9238 # as_fn_set_status STATUS
9239 # -----------------------
9240 # Set $? to STATUS, without forking.
9244 } # as_fn_set_status
9248 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9258 # Portably unset VAR.
9261 { eval $1=; unset $1;}
9263 as_unset=as_fn_unset
9264 # as_fn_append VAR VALUE
9265 # ----------------------
9266 # Append the text in VALUE to the end of the definition contained in VAR. Take
9267 # advantage of any shell optimizations that allow amortized linear growth over
9268 # repeated appends, instead of the typical quadratic growth present in naive
9270 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9271 eval 'as_fn_append ()
9282 # as_fn_arith ARG...
9283 # ------------------
9284 # Perform arithmetic evaluation on the ARGs, and store the result in the
9285 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9286 # must be portable across $(()) and expr.
9287 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9288 eval 'as_fn_arith ()
9295 as_val=`expr "$@" || test $? -eq 1`
9300 if expr a : '\(a\)' >/dev/null 2>&1 &&
9301 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9307 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9308 as_basename=basename
9313 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9319 as_me=`$as_basename -- "$0" ||
9320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9321 X"$0" : 'X\(//\)$' \| \
9322 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9324 sed '/^.*\/\([^/][^/]*\)\/*$/{
9338 # Avoid depending upon Character Ranges.
9339 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9340 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9341 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9342 as_cr_digits='0123456789'
9343 as_cr_alnum=$as_cr_Letters$as_cr_digits
9345 ECHO_C= ECHO_N= ECHO_T=
9346 case `echo -n x` in #(((((
9348 case `echo 'xy\c'` in
9349 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9351 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9358 rm -f conf$$ conf$$.exe conf$$.file
9359 if test -d conf$$.dir; then
9360 rm -f conf$$.dir/conf$$.file
9363 mkdir conf$$.dir 2>/dev/null
9365 if (echo >conf$$.file) 2>/dev/null; then
9366 if ln -s conf$$.file conf$$ 2>/dev/null; then
9368 # ... but there are two gotchas:
9369 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9370 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9371 # In both cases, we have to default to `cp -pR'.
9372 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9374 elif ln conf$$.file conf$$ 2>/dev/null; then
9382 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9383 rmdir conf$$.dir 2>/dev/null
9388 # Create "$as_dir" as a directory, including parents if necessary.
9393 -*) as_dir=./$as_dir;;
9395 test -d "$as_dir" || eval $as_mkdir_p || {
9399 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9400 *) as_qdir=$as_dir;;
9402 as_dirs="'$as_qdir' $as_dirs"
9403 as_dir=`$as_dirname -- "$as_dir" ||
9404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9405 X"$as_dir" : 'X\(//\)[^/]' \| \
9406 X"$as_dir" : 'X\(//\)$' \| \
9407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9408 $as_echo X"$as_dir" |
9409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9426 test -d "$as_dir" && break
9428 test -z "$as_dirs" || eval "mkdir $as_dirs"
9429 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9433 if mkdir -p . 2>/dev/null; then
9434 as_mkdir_p='mkdir -p "$as_dir"'
9436 test -d ./-p && rmdir ./-p
9441 # as_fn_executable_p FILE
9442 # -----------------------
9443 # Test if FILE is an executable regular file.
9444 as_fn_executable_p ()
9446 test -f "$1" && test -x "$1"
9447 } # as_fn_executable_p
9449 as_executable_p=as_fn_executable_p
9451 # Sed expression to map a string onto a valid CPP name.
9452 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9454 # Sed expression to map a string onto a valid variable name.
9455 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9459 ## ----------------------------------- ##
9460 ## Main body of $CONFIG_STATUS script. ##
9461 ## ----------------------------------- ##
9463 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9466 # Save the log message, to keep $0 and so on meaningful, and to
9467 # report actual input values of CONFIG_FILES etc. instead of their
9468 # values after options handling.
9470 This file was extended by psensor $as_me 0.8.0.x, which was
9471 generated by GNU Autoconf 2.69. Invocation command line was
9473 CONFIG_FILES = $CONFIG_FILES
9474 CONFIG_HEADERS = $CONFIG_HEADERS
9475 CONFIG_LINKS = $CONFIG_LINKS
9476 CONFIG_COMMANDS = $CONFIG_COMMANDS
9479 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9484 case $ac_config_files in *"
9485 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9488 case $ac_config_headers in *"
9489 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9494 # Files that config.status was made for.
9495 config_files="$ac_config_files"
9496 config_headers="$ac_config_headers"
9497 config_commands="$ac_config_commands"
9501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9503 \`$as_me' instantiates files and other configuration actions
9504 from templates according to the current configuration. Unless the files
9505 and actions are specified as TAGs, all are instantiated by default.
9507 Usage: $0 [OPTION]... [TAG]...
9509 -h, --help print this help, then exit
9510 -V, --version print version number and configuration settings, then exit
9511 --config print configuration, then exit
9512 -q, --quiet, --silent
9513 do not print progress messages
9514 -d, --debug don't remove temporary files
9515 --recheck update $as_me by reconfiguring in the same conditions
9516 --file=FILE[:TEMPLATE]
9517 instantiate the configuration file FILE
9518 --header=FILE[:TEMPLATE]
9519 instantiate the configuration header FILE
9521 Configuration files:
9524 Configuration headers:
9527 Configuration commands:
9530 Report bugs to <jeanfi@gmail.com>.
9531 psensor home page: <http://wpitchoune.net/psensor>."
9534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9535 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9537 psensor config.status 0.8.0.x
9538 configured by $0, generated by GNU Autoconf 2.69,
9539 with options \\"\$ac_cs_config\\"
9541 Copyright (C) 2012 Free Software Foundation, Inc.
9542 This config.status script is free software; the Free Software Foundation
9543 gives unlimited permission to copy, distribute and modify it."
9550 test -n "\$AWK" || AWK=awk
9553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9554 # The default lists apply if the user does not specify any file.
9560 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9561 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9565 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9577 # Handling of the options.
9578 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9580 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9581 $as_echo "$ac_cs_version"; exit ;;
9582 --config | --confi | --conf | --con | --co | --c )
9583 $as_echo "$ac_cs_config"; exit ;;
9584 --debug | --debu | --deb | --de | --d | -d )
9586 --file | --fil | --fi | --f )
9589 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9590 '') as_fn_error $? "missing file argument" ;;
9592 as_fn_append CONFIG_FILES " '$ac_optarg'"
9593 ac_need_defaults=false;;
9594 --header | --heade | --head | --hea )
9597 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9599 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9600 ac_need_defaults=false;;
9602 # Conflict between --help and --header
9603 as_fn_error $? "ambiguous option: \`$1'
9604 Try \`$0 --help' for more information.";;
9605 --help | --hel | -h )
9606 $as_echo "$ac_cs_usage"; exit ;;
9607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9608 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9612 -*) as_fn_error $? "unrecognized option: \`$1'
9613 Try \`$0 --help' for more information." ;;
9615 *) as_fn_append ac_config_targets " $1"
9616 ac_need_defaults=false ;;
9622 ac_configure_extra_args=
9624 if $ac_cs_silent; then
9626 ac_configure_extra_args="$ac_configure_extra_args --silent"
9630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9631 if \$ac_cs_recheck; then
9632 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9634 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9635 CONFIG_SHELL='$SHELL'
9641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9645 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9646 ## Running $as_me. ##
9652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9656 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9657 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9658 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9659 # from automake < 1.5.
9660 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9661 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9662 LINGUAS="${LINGUAS-%UNSET%}"
9667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9669 # Handling of arguments.
9670 for ac_config_target in $ac_config_targets
9672 case $ac_config_target in
9673 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9674 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9675 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9676 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9677 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9678 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9679 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9680 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9681 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9682 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9683 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9684 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9685 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9686 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9687 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9688 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9689 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9690 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9691 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9692 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9693 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9694 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9695 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9697 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9702 # If the user did not use the arguments to specify the items to instantiate,
9703 # then the envvar interface is used. Set only those that are not.
9704 # We use the long form for the default assignment because of an extremely
9705 # bizarre bug on SunOS 4.1.3.
9706 if $ac_need_defaults; then
9707 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9708 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9709 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9712 # Have a temporary directory for convenience. Make it in the build tree
9713 # simply because there is no reason against having it here, and in addition,
9714 # creating and moving files from /tmp can sometimes cause problems.
9715 # Hook for its removal unless debugging.
9716 # Note that there is a small window in which the directory will not be cleaned:
9717 # after its creation but before its name has been assigned to `$tmp'.
9721 trap 'exit_status=$?
9723 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9725 trap 'as_fn_exit 1' 1 2 13 15
9727 # Create a (secure) tmp directory for tmp files.
9730 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9734 tmp=./conf$$-$RANDOM
9735 (umask 077 && mkdir "$tmp")
9736 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9739 # Set up the scripts for CONFIG_FILES section.
9740 # No need to generate them if there are no CONFIG_FILES.
9741 # This happens for instance with `./config.status config.h'.
9742 if test -n "$CONFIG_FILES"; then
9745 ac_cr=`echo X | tr X '\015'`
9746 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9747 # But we know of no other shell where ac_cr would be empty at this
9748 # point, so we can use a bashism as a fallback.
9749 if test "x$ac_cr" = x; then
9750 eval ac_cr=\$\'\\r\'
9752 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9753 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9759 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9764 echo "cat >conf$$subs.awk <<_ACEOF" &&
9765 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9768 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9769 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9771 for ac_last_try in false false false false false :; do
9772 . ./conf$$subs.sh ||
9773 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9775 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9776 if test $ac_delim_n = $ac_delim_num; then
9778 elif $ac_last_try; then
9779 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9781 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9787 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9791 s/^/S["/; s/!.*/"]=/
9801 s/\(.\{148\}\)..*/\1/
9803 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9808 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9815 s/\(.\{148\}\)..*/\1/
9817 s/["\\]/\\&/g; s/^/"/; s/$/"/
9821 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9826 ' <conf$$subs.awk | sed '
9831 ' >>$CONFIG_STATUS || ac_write_fail=1
9832 rm -f conf$$subs.awk
9833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9835 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9836 for (key in S) S_is_set[key] = 1
9842 nfields = split(line, field, "@")
9844 len = length(field[1])
9845 for (i = 2; i < nfields; i++) {
9847 keylen = length(key)
9848 if (S_is_set[key]) {
9850 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9851 len += length(value) + length(field[++i])
9862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9863 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9864 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9867 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9868 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9871 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9872 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9873 # trailing colons and then remove the whole line if VPATH becomes empty
9874 # (actually we leave an empty line to preserve line numbers).
9875 if test "x$srcdir" = x.; then
9876 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9895 fi # test -n "$CONFIG_FILES"
9897 # Set up the scripts for CONFIG_HEADERS section.
9898 # No need to generate them if there are no CONFIG_HEADERS.
9899 # This happens for instance with `./config.status Makefile'.
9900 if test -n "$CONFIG_HEADERS"; then
9901 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9905 # Transform confdefs.h into an awk script `defines.awk', embedded as
9906 # here-document in config.status, that substitutes the proper values into
9907 # config.h.in to produce config.h.
9909 # Create a delimiter string that does not exist in confdefs.h, to ease
9910 # handling of long lines.
9912 for ac_last_try in false false :; do
9913 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9914 if test -z "$ac_tt"; then
9916 elif $ac_last_try; then
9917 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9919 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9923 # For the awk script, D is an array of macro values keyed by name,
9924 # likewise P contains macro parameters if any. Preserve backslash
9925 # newline sequences.
9927 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9929 s/.\{148\}/&'"$ac_delim"'/g
9932 s/^[ ]*#[ ]*define[ ][ ]*/ /
9939 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9941 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9946 D["\1"]=" \3\\\\\\n"\\/p
9948 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9953 s/.\{148\}/&'"$ac_delim"'/g
9958 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9961 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9963 ' <confdefs.h | sed '
9964 s/'"$ac_delim"'/"\\\
9965 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9968 for (key in D) D_is_set[key] = 1
9971 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9973 split(line, arg, " ")
9974 if (arg[1] == "#") {
9978 defundef = substr(arg[1], 2)
9981 split(mac1, mac2, "(") #)
9983 prefix = substr(line, 1, index(line, defundef) - 1)
9984 if (D_is_set[macro]) {
9985 # Preserve the white space surrounding the "#".
9986 print prefix "define", macro P[macro] D[macro]
9989 # Replace #undef with comments. This is necessary, for example,
9990 # in the case of _POSIX_SOURCE, which is predefined and required
9991 # on some systems where configure will not decide to define it.
9992 if (defundef == "undef") {
9993 print "/*", prefix defundef, macro, "*/"
10001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10002 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10003 fi # test -n "$CONFIG_HEADERS"
10006 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10011 :[FHLC]) ac_mode=$ac_tag; continue;;
10013 case $ac_mode$ac_tag in
10015 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10016 :[FH]-) ac_tag=-:-;;
10017 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10034 -) ac_f="$ac_tmp/stdin";;
10035 *) # Look for the file first in the build tree, then in the source tree
10036 # (if the path is not absolute). The absolute path cannot be DOS-style,
10037 # because $ac_f cannot contain `:'.
10041 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10043 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10045 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10046 as_fn_append ac_file_inputs " '$ac_f'"
10049 # Let's still pretend it is `configure' which instantiates (i.e., don't
10050 # use $as_me), people would be surprised to read:
10051 # /* config.h. Generated by config.status. */
10052 configure_input='Generated from '`
10053 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10055 if test x"$ac_file" != x-; then
10056 configure_input="$ac_file. $configure_input"
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10058 $as_echo "$as_me: creating $ac_file" >&6;}
10060 # Neutralize special characters interpreted by sed in replacement strings.
10061 case $configure_input in #(
10062 *\&* | *\|* | *\\* )
10063 ac_sed_conf_input=`$as_echo "$configure_input" |
10064 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10065 *) ac_sed_conf_input=$configure_input;;
10069 *:-:* | *:-) cat >"$ac_tmp/stdin" \
10070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10075 ac_dir=`$as_dirname -- "$ac_file" ||
10076 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10077 X"$ac_file" : 'X\(//\)[^/]' \| \
10078 X"$ac_file" : 'X\(//\)$' \| \
10079 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10080 $as_echo X"$ac_file" |
10081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10085 /^X\(\/\/\)[^/].*/{
10098 as_dir="$ac_dir"; as_fn_mkdir_p
10102 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10104 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10105 # A ".." for each directory in $ac_dir_suffix.
10106 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10107 case $ac_top_builddir_sub in
10108 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10109 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10112 ac_abs_top_builddir=$ac_pwd
10113 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10114 # for backward compatibility:
10115 ac_top_builddir=$ac_top_build_prefix
10118 .) # We are building in place.
10120 ac_top_srcdir=$ac_top_builddir_sub
10121 ac_abs_top_srcdir=$ac_pwd ;;
10122 [\\/]* | ?:[\\/]* ) # Absolute name.
10123 ac_srcdir=$srcdir$ac_dir_suffix;
10124 ac_top_srcdir=$srcdir
10125 ac_abs_top_srcdir=$srcdir ;;
10126 *) # Relative name.
10127 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10128 ac_top_srcdir=$ac_top_build_prefix$srcdir
10129 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10131 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10141 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10142 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10144 ac_MKDIR_P=$MKDIR_P
10146 [\\/$]* | ?:[\\/]* ) ;;
10147 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10152 # If the template does not know about datarootdir, expand it.
10153 # FIXME: This hack should be removed a few years after 2.60.
10154 ac_datarootdir_hack=; ac_datarootdir_seen=
10165 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10166 *datarootdir*) ac_datarootdir_seen=yes;;
10167 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10169 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10172 ac_datarootdir_hack='
10173 s&@datadir@&$datadir&g
10174 s&@docdir@&$docdir&g
10175 s&@infodir@&$infodir&g
10176 s&@localedir@&$localedir&g
10177 s&@mandir@&$mandir&g
10178 s&\\\${datarootdir}&$datarootdir&g' ;;
10182 # Neutralize VPATH when `$srcdir' = `.'.
10183 # Shell code in configure.ac might set extrasub.
10184 # FIXME: do we really want to maintain this feature?
10185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10186 ac_sed_extra="$ac_vpsub
10189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10192 s|@configure_input@|$ac_sed_conf_input|;t t
10193 s&@top_builddir@&$ac_top_builddir_sub&;t t
10194 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10195 s&@srcdir@&$ac_srcdir&;t t
10196 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10197 s&@top_srcdir@&$ac_top_srcdir&;t t
10198 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10199 s&@builddir@&$ac_builddir&;t t
10200 s&@abs_builddir@&$ac_abs_builddir&;t t
10201 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10202 s&@INSTALL@&$ac_INSTALL&;t t
10203 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10204 $ac_datarootdir_hack
10206 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10207 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10209 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10210 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10211 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10212 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10214 which seems to be undefined. Please make sure it is defined" >&5
10215 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10216 which seems to be undefined. Please make sure it is defined" >&2;}
10218 rm -f "$ac_tmp/stdin"
10220 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10221 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10229 if test x"$ac_file" != x-; then
10231 $as_echo "/* $configure_input */" \
10232 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10233 } >"$ac_tmp/config.h" \
10234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10235 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10237 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10240 mv "$ac_tmp/config.h" "$ac_file" \
10241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10244 $as_echo "/* $configure_input */" \
10245 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10246 || as_fn_error $? "could not create -" "$LINENO" 5
10248 # Compute "$ac_file"'s index in $config_headers.
10251 for _am_header in $config_headers :; do
10252 case $_am_header in
10253 $_am_arg | $_am_arg:* )
10256 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10259 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10260 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10261 X"$_am_arg" : 'X\(//\)[^/]' \| \
10262 X"$_am_arg" : 'X\(//\)$' \| \
10263 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10264 $as_echo X"$_am_arg" |
10265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10269 /^X\(\/\/\)[^/].*/{
10281 s/.*/./; q'`/stamp-h$_am_stamp_count
10284 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10285 $as_echo "$as_me: executing $ac_file commands" >&6;}
10290 case $ac_file$ac_mode in
10291 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10292 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10293 # are listed without --file. Let's play safe and only enable the eval
10294 # if we detect the quoting.
10295 case $CONFIG_FILES in
10296 *\'*) eval set x "$CONFIG_FILES" ;;
10297 *) set x $CONFIG_FILES ;;
10302 # Strip MF so we end up with the name of the file.
10303 mf=`echo "$mf" | sed -e 's/:.*$//'`
10304 # Check whether this is an Automake generated Makefile or not.
10305 # We used to match only the files named `Makefile.in', but
10306 # some people rename them; so instead we look at the file content.
10307 # Grep'ing the first line is not enough: some people post-process
10308 # each Makefile.in and add a new line on top of each file to say so.
10309 # Grep'ing the whole file is not good either: AIX grep has a line
10310 # limit of 2048, but all sed's we know have understand at least 4000.
10311 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10312 dirpart=`$as_dirname -- "$mf" ||
10313 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10314 X"$mf" : 'X\(//\)[^/]' \| \
10315 X"$mf" : 'X\(//\)$' \| \
10316 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10322 /^X\(\/\/\)[^/].*/{
10338 # Extract the definition of DEPDIR, am__include, and am__quote
10339 # from the Makefile without running `make'.
10340 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10341 test -z "$DEPDIR" && continue
10342 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10343 test -z "am__include" && continue
10344 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10345 # When using ansi2knr, U may be empty or an underscore; expand it
10346 U=`sed -n 's/^U = //p' < "$mf"`
10347 # Find all dependency output files, they are included files with
10348 # $(DEPDIR) in their names. We invoke sed twice because it is the
10349 # simplest approach to changing $(DEPDIR) to its actual value in the
10351 for file in `sed -n "
10352 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10353 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10354 # Make sure the directory exists.
10355 test -f "$dirpart/$file" && continue
10356 fdir=`$as_dirname -- "$file" ||
10357 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10358 X"$file" : 'X\(//\)[^/]' \| \
10359 X"$file" : 'X\(//\)$' \| \
10360 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10361 $as_echo X"$file" |
10362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10366 /^X\(\/\/\)[^/].*/{
10379 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10380 # echo "creating $dirpart/$file"
10381 echo '# dummy' > "$dirpart/$file"
10386 "po-directories":C)
10387 for ac_file in $CONFIG_FILES; do
10388 # Support "outfile[:infile[:infile...]]"
10390 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10392 # PO directories have a Makefile.in generated from Makefile.in.in.
10393 case "$ac_file" in */Makefile.in)
10394 # Adjust a relative srcdir.
10395 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10396 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10397 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10398 # In autoconf-2.13 it is called $ac_given_srcdir.
10399 # In autoconf-2.50 it is called $srcdir.
10400 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10401 case "$ac_given_srcdir" in
10402 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10403 /*) top_srcdir="$ac_given_srcdir" ;;
10404 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10406 # Treat a directory as a PO directory if and only if it has a
10407 # POTFILES.in file. This allows packages to have multiple PO
10408 # directories under different names or in different locations.
10409 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10410 rm -f "$ac_dir/POTFILES"
10411 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10412 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10413 POMAKEFILEDEPS="POTFILES.in"
10414 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10415 # on $ac_dir but don't depend on user-specified configuration
10417 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10418 # The LINGUAS file contains the set of available languages.
10419 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10420 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10422 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10423 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10424 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10425 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10427 # The set of available languages was given in configure.in.
10428 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10429 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10432 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10433 # Compute UPDATEPOFILES
10434 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10435 # Compute DUMMYPOFILES
10436 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10438 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10439 case "$ac_given_srcdir" in
10441 *) srcdirpre='$(srcdir)/' ;;
10447 for lang in $ALL_LINGUAS; do
10448 POFILES="$POFILES $srcdirpre$lang.po"
10449 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10450 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10451 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10453 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10454 # environment variable.
10456 if test -n "$ALL_LINGUAS"; then
10457 for presentlang in $ALL_LINGUAS; do
10459 if test "%UNSET%" != "$LINGUAS"; then
10460 desiredlanguages="$LINGUAS"
10462 desiredlanguages="$ALL_LINGUAS"
10464 for desiredlang in $desiredlanguages; do
10465 # Use the presentlang catalog if desiredlang is
10466 # a. equal to presentlang, or
10467 # b. a variant of presentlang (because in this case,
10468 # presentlang can be used as a fallback for messages
10469 # which are not translated in the desiredlang catalog).
10470 case "$desiredlang" in
10471 "$presentlang"*) useit=yes;;
10474 if test $useit = yes; then
10475 INST_LINGUAS="$INST_LINGUAS $presentlang"
10480 if test -n "$INST_LINGUAS"; then
10481 for lang in $INST_LINGUAS; do
10482 CATALOGS="$CATALOGS $lang.gmo"
10485 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10486 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"
10487 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10488 if test -f "$f"; then
10490 *.orig | *.bak | *~) ;;
10491 *) cat "$f" >> "$ac_dir/Makefile" ;;
10506 ac_clean_files=$ac_clean_files_save
10508 test $ac_write_fail = 0 ||
10509 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10512 # configure is writing to config.log, and then calls config.status.
10513 # config.status does its own redirection, appending to config.log.
10514 # Unfortunately, on DOS this fails, as config.log is still kept open
10515 # by configure, so config.status won't be able to write to it; its
10516 # output is simply discarded. So we exec the FD to /dev/null,
10517 # effectively closing config.log, so it can be properly (re)opened and
10518 # appended to by config.status. When coming back to configure, we
10519 # need to make the FD available again.
10520 if test "$no_create" != yes; then
10522 ac_config_status_args=
10523 test "$silent" = yes &&
10524 ac_config_status_args="$ac_config_status_args --quiet"
10526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10529 # would make configure fail if this is the last instruction.
10530 $ac_cs_success || as_fn_exit 1
10532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10534 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}