2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.1.0.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='psensor'
582 PACKAGE_TARNAME='psensor'
583 PACKAGE_VERSION='1.1.0'
584 PACKAGE_STRING='psensor 1.1.0'
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
697 GSETTINGS_DISABLE_SCHEMAS_COMPILE
698 GCONF_SCHEMAS_INSTALL_FALSE
699 GCONF_SCHEMAS_INSTALL_TRUE
700 GCONF_SCHEMA_FILE_DIR
701 GCONF_SCHEMA_CONFIG_SOURCE
718 XGETTEXT_EXTRA_OPTIONS
726 GETTEXT_MACRO_VERSION
762 INSTALL_STRIP_PROGRAM
804 program_transform_name
817 enable_option_checking
818 enable_dependency_tracking
827 with_gconf_schema_file_dir
828 enable_schemas_install
829 enable_schemas_compile
833 ac_precious_vars='build_alias
872 # Initialize some variables set by options.
874 ac_init_version=false
875 ac_unrecognized_opts=
877 # The variables have the same names as the options, with
878 # dashes changed to underlines.
886 program_transform_name=s,x,x,
894 # Installation directory options.
895 # These are left unexpanded so users can "make install exec_prefix=/foo"
896 # and all the variables that are supposed to be based on exec_prefix
897 # by default will actually change.
898 # Use braces instead of parens because sh, perl, etc. also accept them.
899 # (The list follows the same order as the GNU Coding Standards.)
900 bindir='${exec_prefix}/bin'
901 sbindir='${exec_prefix}/sbin'
902 libexecdir='${exec_prefix}/libexec'
903 datarootdir='${prefix}/share'
904 datadir='${datarootdir}'
905 sysconfdir='${prefix}/etc'
906 sharedstatedir='${prefix}/com'
907 localstatedir='${prefix}/var'
908 includedir='${prefix}/include'
909 oldincludedir='/usr/include'
910 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
911 infodir='${datarootdir}/info'
916 libdir='${exec_prefix}/lib'
917 localedir='${datarootdir}/locale'
918 mandir='${datarootdir}/man'
924 # If the previous option needs an argument, assign it.
925 if test -n "$ac_prev"; then
926 eval $ac_prev=\$ac_option
932 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
937 # Accept the important Cygnus configure options, so we can diagnose typos.
939 case $ac_dashdash$ac_option in
943 -bindir | --bindir | --bindi | --bind | --bin | --bi)
945 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
948 -build | --build | --buil | --bui | --bu)
949 ac_prev=build_alias ;;
950 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
951 build_alias=$ac_optarg ;;
953 -cache-file | --cache-file | --cache-fil | --cache-fi \
954 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
955 ac_prev=cache_file ;;
956 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
957 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
958 cache_file=$ac_optarg ;;
961 cache_file=config.cache ;;
963 -datadir | --datadir | --datadi | --datad)
965 -datadir=* | --datadir=* | --datadi=* | --datad=*)
966 datadir=$ac_optarg ;;
968 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
969 | --dataroo | --dataro | --datar)
970 ac_prev=datarootdir ;;
971 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
972 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
973 datarootdir=$ac_optarg ;;
975 -disable-* | --disable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
989 eval enable_$ac_useropt=no ;;
991 -docdir | --docdir | --docdi | --doc | --do)
993 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
996 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
998 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1001 -enable-* | --enable-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid feature name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "enable_$ac_useropt"
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval enable_$ac_useropt=\$ac_optarg ;;
1017 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1018 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1019 | --exec | --exe | --ex)
1020 ac_prev=exec_prefix ;;
1021 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1022 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1023 | --exec=* | --exe=* | --ex=*)
1024 exec_prefix=$ac_optarg ;;
1026 -gas | --gas | --ga | --g)
1027 # Obsolete; use --with-gas.
1030 -help | --help | --hel | --he | -h)
1031 ac_init_help=long ;;
1032 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1033 ac_init_help=recursive ;;
1034 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1035 ac_init_help=short ;;
1037 -host | --host | --hos | --ho)
1038 ac_prev=host_alias ;;
1039 -host=* | --host=* | --hos=* | --ho=*)
1040 host_alias=$ac_optarg ;;
1042 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1044 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1046 htmldir=$ac_optarg ;;
1048 -includedir | --includedir | --includedi | --included | --include \
1049 | --includ | --inclu | --incl | --inc)
1050 ac_prev=includedir ;;
1051 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1052 | --includ=* | --inclu=* | --incl=* | --inc=*)
1053 includedir=$ac_optarg ;;
1055 -infodir | --infodir | --infodi | --infod | --info | --inf)
1057 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1058 infodir=$ac_optarg ;;
1060 -libdir | --libdir | --libdi | --libd)
1062 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1063 libdir=$ac_optarg ;;
1065 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1066 | --libexe | --libex | --libe)
1067 ac_prev=libexecdir ;;
1068 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1069 | --libexe=* | --libex=* | --libe=*)
1070 libexecdir=$ac_optarg ;;
1072 -localedir | --localedir | --localedi | --localed | --locale)
1073 ac_prev=localedir ;;
1074 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1075 localedir=$ac_optarg ;;
1077 -localstatedir | --localstatedir | --localstatedi | --localstated \
1078 | --localstate | --localstat | --localsta | --localst | --locals)
1079 ac_prev=localstatedir ;;
1080 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1081 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1082 localstatedir=$ac_optarg ;;
1084 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1086 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1087 mandir=$ac_optarg ;;
1089 -nfp | --nfp | --nf)
1090 # Obsolete; use --without-fp.
1093 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1094 | --no-cr | --no-c | -n)
1097 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1098 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1101 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1102 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1103 | --oldin | --oldi | --old | --ol | --o)
1104 ac_prev=oldincludedir ;;
1105 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1106 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1107 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1108 oldincludedir=$ac_optarg ;;
1110 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1112 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1113 prefix=$ac_optarg ;;
1115 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1116 | --program-pre | --program-pr | --program-p)
1117 ac_prev=program_prefix ;;
1118 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1119 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1120 program_prefix=$ac_optarg ;;
1122 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1123 | --program-suf | --program-su | --program-s)
1124 ac_prev=program_suffix ;;
1125 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1126 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1127 program_suffix=$ac_optarg ;;
1129 -program-transform-name | --program-transform-name \
1130 | --program-transform-nam | --program-transform-na \
1131 | --program-transform-n | --program-transform- \
1132 | --program-transform | --program-transfor \
1133 | --program-transfo | --program-transf \
1134 | --program-trans | --program-tran \
1135 | --progr-tra | --program-tr | --program-t)
1136 ac_prev=program_transform_name ;;
1137 -program-transform-name=* | --program-transform-name=* \
1138 | --program-transform-nam=* | --program-transform-na=* \
1139 | --program-transform-n=* | --program-transform-=* \
1140 | --program-transform=* | --program-transfor=* \
1141 | --program-transfo=* | --program-transf=* \
1142 | --program-trans=* | --program-tran=* \
1143 | --progr-tra=* | --program-tr=* | --program-t=*)
1144 program_transform_name=$ac_optarg ;;
1146 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1148 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1149 pdfdir=$ac_optarg ;;
1151 -psdir | --psdir | --psdi | --psd | --ps)
1153 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1157 | -silent | --silent | --silen | --sile | --sil)
1160 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1162 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1164 sbindir=$ac_optarg ;;
1166 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1167 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1168 | --sharedst | --shareds | --shared | --share | --shar \
1170 ac_prev=sharedstatedir ;;
1171 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1172 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1173 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1175 sharedstatedir=$ac_optarg ;;
1177 -site | --site | --sit)
1179 -site=* | --site=* | --sit=*)
1182 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1184 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1185 srcdir=$ac_optarg ;;
1187 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1188 | --syscon | --sysco | --sysc | --sys | --sy)
1189 ac_prev=sysconfdir ;;
1190 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1191 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1192 sysconfdir=$ac_optarg ;;
1194 -target | --target | --targe | --targ | --tar | --ta | --t)
1195 ac_prev=target_alias ;;
1196 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1197 target_alias=$ac_optarg ;;
1199 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1202 -version | --version | --versio | --versi | --vers | -V)
1203 ac_init_version=: ;;
1206 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209 as_fn_error $? "invalid package name: $ac_useropt"
1210 ac_useropt_orig=$ac_useropt
1211 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in
1216 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1217 ac_unrecognized_sep=', ';;
1219 eval with_$ac_useropt=\$ac_optarg ;;
1221 -without-* | --without-*)
1222 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225 as_fn_error $? "invalid package name: $ac_useropt"
1226 ac_useropt_orig=$ac_useropt
1227 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228 case $ac_user_opts in
1232 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1233 ac_unrecognized_sep=', ';;
1235 eval with_$ac_useropt=no ;;
1238 # Obsolete; use --with-x.
1241 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1242 | --x-incl | --x-inc | --x-in | --x-i)
1243 ac_prev=x_includes ;;
1244 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1245 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1246 x_includes=$ac_optarg ;;
1248 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1249 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1250 ac_prev=x_libraries ;;
1251 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1252 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1253 x_libraries=$ac_optarg ;;
1255 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1256 Try \`$0 --help' for more information"
1260 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1261 # Reject names that are not valid shell variable names.
1262 case $ac_envvar in #(
1263 '' | [0-9]* | *[!_$as_cr_alnum]* )
1264 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1266 eval $ac_envvar=\$ac_optarg
1267 export $ac_envvar ;;
1270 # FIXME: should be removed in autoconf 3.0.
1271 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1273 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1280 if test -n "$ac_prev"; then
1281 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1282 as_fn_error $? "missing argument to $ac_option"
1285 if test -n "$ac_unrecognized_opts"; then
1286 case $enable_option_checking in
1288 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1289 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1293 # Check all directory arguments for consistency.
1294 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1295 datadir sysconfdir sharedstatedir localstatedir includedir \
1296 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1297 libdir localedir mandir
1299 eval ac_val=\$$ac_var
1300 # Remove trailing slashes.
1303 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1304 eval $ac_var=\$ac_val;;
1306 # Be sure to have absolute directory names.
1308 [\\/$]* | ?:[\\/]* ) continue;;
1309 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1311 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1314 # There might be people who depend on the old broken behavior: `$host'
1315 # used to hold the argument of --host etc.
1316 # FIXME: To remove some day.
1319 target=$target_alias
1321 # FIXME: To remove some day.
1322 if test "x$host_alias" != x; then
1323 if test "x$build_alias" = x; then
1324 cross_compiling=maybe
1325 elif test "x$build_alias" != "x$host_alias"; then
1331 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1333 test "$silent" = yes && exec 6>/dev/null
1336 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1337 ac_ls_di=`ls -di .` &&
1338 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1339 as_fn_error $? "working directory cannot be determined"
1340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1341 as_fn_error $? "pwd does not report name of working directory"
1344 # Find the source files, if location was not specified.
1345 if test -z "$srcdir"; then
1346 ac_srcdir_defaulted=yes
1347 # Try the directory containing this script, then the parent directory.
1348 ac_confdir=`$as_dirname -- "$as_myself" ||
1349 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1350 X"$as_myself" : 'X\(//\)[^/]' \| \
1351 X"$as_myself" : 'X\(//\)$' \| \
1352 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1353 $as_echo X"$as_myself" |
1354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 if test ! -r "$srcdir/$ac_unique_file"; then
1376 ac_srcdir_defaulted=no
1378 if test ! -r "$srcdir/$ac_unique_file"; then
1379 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1380 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1382 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1384 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1386 # When building in place, set srcdir=.
1387 if test "$ac_abs_confdir" = "$ac_pwd"; then
1390 # Remove unnecessary trailing slashes from srcdir.
1391 # Double slashes in file names in object file debugging info
1392 # mess up M-x gdb in Emacs.
1394 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1396 for ac_var in $ac_precious_vars; do
1397 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_env_${ac_var}_value=\$${ac_var}
1399 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1400 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1404 # Report the --help message.
1406 if test "$ac_init_help" = "long"; then
1407 # Omit some internal or obsolete options to make the list less imposing.
1408 # This message is too long to be a string in the A/UX 3.1 sh.
1410 \`configure' configures psensor 1.1.0 to adapt to many kinds of systems.
1412 Usage: $0 [OPTION]... [VAR=VALUE]...
1414 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1415 VAR=VALUE. See below for descriptions of some of the useful variables.
1417 Defaults for the options are specified in brackets.
1420 -h, --help display this help and exit
1421 --help=short display options specific to this package
1422 --help=recursive display the short help of all the included packages
1423 -V, --version display version information and exit
1424 -q, --quiet, --silent do not print \`checking ...' messages
1425 --cache-file=FILE cache test results in FILE [disabled]
1426 -C, --config-cache alias for \`--cache-file=config.cache'
1427 -n, --no-create do not create output files
1428 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1430 Installation directories:
1431 --prefix=PREFIX install architecture-independent files in PREFIX
1432 [$ac_default_prefix]
1433 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1436 By default, \`make install' will install all the files in
1437 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1438 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1439 for instance \`--prefix=\$HOME'.
1441 For better control, use the options below.
1443 Fine tuning of the installation directories:
1444 --bindir=DIR user executables [EPREFIX/bin]
1445 --sbindir=DIR system admin executables [EPREFIX/sbin]
1446 --libexecdir=DIR program executables [EPREFIX/libexec]
1447 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1448 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1449 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1450 --libdir=DIR object code libraries [EPREFIX/lib]
1451 --includedir=DIR C header files [PREFIX/include]
1452 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1453 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1454 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1455 --infodir=DIR info documentation [DATAROOTDIR/info]
1456 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1457 --mandir=DIR man documentation [DATAROOTDIR/man]
1458 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1459 --htmldir=DIR html documentation [DOCDIR]
1460 --dvidir=DIR dvi documentation [DOCDIR]
1461 --pdfdir=DIR pdf documentation [DOCDIR]
1462 --psdir=DIR ps documentation [DOCDIR]
1468 --program-prefix=PREFIX prepend PREFIX to installed program names
1469 --program-suffix=SUFFIX append SUFFIX to installed program names
1470 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1473 --x-includes=DIR X include files are in DIR
1474 --x-libraries=DIR X library files are in DIR
1477 --build=BUILD configure for building on BUILD [guessed]
1478 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1482 if test -n "$ac_init_help"; then
1483 case $ac_init_help in
1484 short | recursive ) echo "Configuration of psensor 1.1.0:";;
1489 --disable-option-checking ignore unrecognized --enable/--with options
1490 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1491 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1492 --disable-dependency-tracking speeds up one-time build
1493 --enable-dependency-tracking do not reject slow dependency extractors
1494 --disable-largefile omit support for large files
1495 --disable-nls do not use Native Language Support
1496 --disable-rpath do not hardcode runtime library paths
1497 --disable-schemas-install
1498 Disable the schemas installation
1499 --disable-schemas-compile
1500 Disable regeneration of gschemas.compiled on install
1503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1505 --with-x use the X Window System
1506 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1507 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1508 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1509 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1510 --without-libintl-prefix don't search for libintl in includedir and libdir
1511 --with-gconf-source=sourceaddress
1512 Config database for installing schema files.
1513 --with-gconf-schema-file-dir=dir
1514 Directory for installing schema files.
1515 --with-libatiadl=DIR use libatiadlxx in DIR
1516 --with-gtop=yes|no use gtop
1518 Some influential environment variables:
1519 CC C compiler command
1520 CFLAGS C compiler flags
1521 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1522 nonstandard directory <lib dir>
1523 LIBS libraries to pass to the linker, e.g. -l<library>
1524 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525 you have headers in a nonstandard directory <include dir>
1526 XMKMF Path to xmkmf, Makefile generator for X Window System
1528 PKG_CONFIG path to pkg-config utility
1530 directories to add to pkg-config's search path
1532 path overriding pkg-config's built-in search path
1533 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1534 X11_LIBS linker flags for X11, overriding pkg-config
1535 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1536 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1537 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1538 GTK_LIBS linker flags for GTK, overriding pkg-config
1540 C compiler flags for GCONF, overriding pkg-config
1541 GCONF_LIBS linker flags for GCONF, overriding pkg-config
1543 C compiler flags for ATASMART, overriding pkg-config
1545 linker flags for ATASMART, overriding pkg-config
1547 C compiler flags for LIBNOTIFY, overriding pkg-config
1549 linker flags for LIBNOTIFY, overriding pkg-config
1551 C compiler flags for APPINDICATOR, overriding pkg-config
1553 linker flags for APPINDICATOR, overriding pkg-config
1554 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1555 CURL_LIBS linker flags for CURL, overriding pkg-config
1556 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1557 JSON_LIBS linker flags for JSON, overriding pkg-config
1559 C compiler flags for UNITY, overriding pkg-config
1560 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1561 LIBMICROHTTPD_CFLAGS
1562 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1564 linker flags for LIBMICROHTTPD, overriding pkg-config
1565 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1566 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1568 Use these variables to override the choices made by `configure' or to help
1569 it to find libraries and programs with nonstandard names/locations.
1571 Report bugs to <jeanfi@gmail.com>.
1572 psensor home page: <http://wpitchoune.net/psensor>.
1577 if test "$ac_init_help" = "recursive"; then
1578 # If there are subdirs, report their specific --help.
1579 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1580 test -d "$ac_dir" ||
1581 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1586 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1588 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1589 # A ".." for each directory in $ac_dir_suffix.
1590 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1591 case $ac_top_builddir_sub in
1592 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596 ac_abs_top_builddir=$ac_pwd
1597 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1598 # for backward compatibility:
1599 ac_top_builddir=$ac_top_build_prefix
1602 .) # We are building in place.
1604 ac_top_srcdir=$ac_top_builddir_sub
1605 ac_abs_top_srcdir=$ac_pwd ;;
1606 [\\/]* | ?:[\\/]* ) # Absolute name.
1607 ac_srcdir=$srcdir$ac_dir_suffix;
1608 ac_top_srcdir=$srcdir
1609 ac_abs_top_srcdir=$srcdir ;;
1611 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1612 ac_top_srcdir=$ac_top_build_prefix$srcdir
1613 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1615 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1617 cd "$ac_dir" || { ac_status=$?; continue; }
1618 # Check for guested configure.
1619 if test -f "$ac_srcdir/configure.gnu"; then
1621 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1622 elif test -f "$ac_srcdir/configure"; then
1624 $SHELL "$ac_srcdir/configure" --help=recursive
1626 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1628 cd "$ac_pwd" || { ac_status=$?; break; }
1632 test -n "$ac_init_help" && exit $ac_status
1633 if $ac_init_version; then
1635 psensor configure 1.1.0
1636 generated by GNU Autoconf 2.69
1638 Copyright (C) 2012 Free Software Foundation, Inc.
1639 This configure script is free software; the Free Software Foundation
1640 gives unlimited permission to copy, distribute and modify it.
1645 ## ------------------------ ##
1646 ## Autoconf initialization. ##
1647 ## ------------------------ ##
1649 # ac_fn_c_try_compile LINENO
1650 # --------------------------
1651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext
1656 if { { ac_try="$ac_compile"
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_compile") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_c_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest.$ac_objext; then :
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_c_try_compile
1687 # ac_fn_c_try_cpp LINENO
1688 # ----------------------
1689 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_cpp conftest.$ac_ext"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } > conftest.i && {
1709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 as_fn_set_status $ac_retval
1724 # ac_fn_c_try_link LINENO
1725 # -----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext conftest$ac_exeext
1731 if { { ac_try="$ac_link"
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>conftest.err
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest$ac_exeext && {
1750 test "$cross_compiling" = yes ||
1751 test -x conftest$ac_exeext
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1760 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762 # interfere with the next link command; also delete a directory that is
1763 # left behind by Apple's compiler. We do this before executing the actions.
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1768 } # ac_fn_c_try_link
1770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1773 # the include files in INCLUDES and setting the cache variable VAR
1775 ac_fn_c_check_header_mongrel ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if eval \${$3+:} false; then :
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1788 # Is the header compilable?
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1790 $as_echo_n "checking $2 usability... " >&6; }
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1796 if ac_fn_c_try_compile "$LINENO"; then :
1797 ac_header_compiler=yes
1799 ac_header_compiler=no
1801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1803 $as_echo "$ac_header_compiler" >&6; }
1805 # Is the header present?
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1807 $as_echo_n "checking $2 presence... " >&6; }
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1812 if ac_fn_c_try_cpp "$LINENO"; then :
1813 ac_header_preproc=yes
1815 ac_header_preproc=no
1817 rm -f conftest.err conftest.i conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1819 $as_echo "$ac_header_preproc" >&6; }
1821 # So? What about this header?
1822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1825 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1831 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1833 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1835 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1837 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1840 ( $as_echo "## ------------------------------- ##
1841 ## Report this to jeanfi@gmail.com ##
1842 ## ------------------------------- ##"
1843 ) | sed "s/^/$as_me: WARNING: /" >&2
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \${$3+:} false; then :
1849 $as_echo_n "(cached) " >&6
1851 eval "$3=\$ac_header_compiler"
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1855 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_header_mongrel
1861 # ac_fn_c_try_run LINENO
1862 # ----------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1864 # that executables *can* be run.
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 if { { ac_try="$ac_link"
1870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1879 { { case "(($ac_try" in
1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_try") 2>&5
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; }; }; then :
1891 $as_echo "$as_me: program exited with status $ac_status" >&5
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1895 ac_retval=$ac_status
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 as_fn_set_status $ac_retval
1903 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1904 # -------------------------------------------------------
1905 # Tests whether HEADER exists and can be compiled using the include files in
1906 # INCLUDES, setting the cache variable VAR accordingly.
1907 ac_fn_c_check_header_compile ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \${$3+:} false; then :
1913 $as_echo_n "(cached) " >&6
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1920 if ac_fn_c_try_compile "$LINENO"; then :
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 } # ac_fn_c_check_header_compile
1934 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1935 # -------------------------------------------
1936 # Tests whether TYPE exists after having included INCLUDES, setting cache
1937 # variable VAR accordingly.
1938 ac_fn_c_check_type ()
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if eval \${$3+:} false; then :
1944 $as_echo_n "(cached) " >&6
1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1959 if ac_fn_c_try_compile "$LINENO"; then :
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1972 if ac_fn_c_try_compile "$LINENO"; then :
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_type
1988 # ac_fn_c_check_func LINENO FUNC VAR
1989 # ----------------------------------
1990 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1991 ac_fn_c_check_func ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if eval \${$3+:} false; then :
1997 $as_echo_n "(cached) " >&6
1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h. */
2001 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2003 #define $2 innocuous_$2
2005 /* System header to define __stub macros and hopefully few prototypes,
2006 which can conflict with char $2 (); below.
2007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2008 <limits.h> exists even on freestanding compilers. */
2011 # include <limits.h>
2013 # include <assert.h>
2018 /* Override any GCC internal prototype to avoid an error.
2019 Use char because int might match the return type of a GCC
2020 builtin and then its argument prototype would still apply. */
2025 /* The GNU C library defines this for functions which it implements
2026 to always fail with ENOSYS. Some functions are actually named
2027 something starting with __ and the normal name is an alias. */
2028 #if defined __stub_$2 || defined __stub___$2
2040 if ac_fn_c_try_link "$LINENO"; then :
2045 rm -f core conftest.err conftest.$ac_objext \
2046 conftest$ac_exeext conftest.$ac_ext
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2050 $as_echo "$ac_res" >&6; }
2051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 } # ac_fn_c_check_func
2054 cat >config.log <<_ACEOF
2055 This file contains any messages produced by compilers while
2056 running configure, to aid debugging if configure makes a mistake.
2058 It was created by psensor $as_me 1.1.0, which was
2059 generated by GNU Autoconf 2.69. Invocation command line was
2071 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2072 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2073 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2074 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2075 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2077 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2078 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2080 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2081 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2082 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2083 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2084 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2085 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2086 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 $as_echo "PATH: $as_dir"
2111 # Keep a trace of the command line.
2112 # Strip out --no-create and --no-recursion so they do not pile up.
2113 # Strip out --silent because we don't want to record it for future runs.
2114 # Also quote any args containing shell meta-characters.
2115 # Make two passes to allow for proper duplicate-argument suppression.
2119 ac_must_keep_next=false
2125 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2127 | -silent | --silent | --silen | --sile | --sil)
2130 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2133 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2135 as_fn_append ac_configure_args1 " '$ac_arg'"
2136 if test $ac_must_keep_next = true; then
2137 ac_must_keep_next=false # Got value, back to normal.
2140 *=* | --config-cache | -C | -disable-* | --disable-* \
2141 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2142 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2143 | -with-* | --with-* | -without-* | --without-* | --x)
2144 case "$ac_configure_args0 " in
2145 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2148 -* ) ac_must_keep_next=true ;;
2151 as_fn_append ac_configure_args " '$ac_arg'"
2156 { ac_configure_args0=; unset ac_configure_args0;}
2157 { ac_configure_args1=; unset ac_configure_args1;}
2159 # When interrupted or exit'd, cleanup temporary files, and complete
2160 # config.log. We remove comments because anyway the quotes in there
2161 # would cause problems or look ugly.
2162 # WARNING: Use '\'' to represent an apostrophe within the trap.
2163 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2164 trap 'exit_status=$?
2165 # Save into config.log some information that might help in debugging.
2169 $as_echo "## ---------------- ##
2170 ## Cache variables. ##
2171 ## ---------------- ##"
2173 # The following way of writing the cache mishandles newlines in values,
2175 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2176 eval ac_val=\$$ac_var
2180 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2181 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2184 _ | IFS | as_nl) ;; #(
2185 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2186 *) { eval $ac_var=; unset $ac_var;} ;;
2191 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2192 *${as_nl}ac_space=\ *)
2194 "s/'\''/'\''\\\\'\'''\''/g;
2195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2205 $as_echo "## ----------------- ##
2206 ## Output variables. ##
2207 ## ----------------- ##"
2209 for ac_var in $ac_subst_vars
2211 eval ac_val=\$$ac_var
2213 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215 $as_echo "$ac_var='\''$ac_val'\''"
2219 if test -n "$ac_subst_files"; then
2220 $as_echo "## ------------------- ##
2221 ## File substitutions. ##
2222 ## ------------------- ##"
2224 for ac_var in $ac_subst_files
2226 eval ac_val=\$$ac_var
2228 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230 $as_echo "$ac_var='\''$ac_val'\''"
2235 if test -s confdefs.h; then
2236 $as_echo "## ----------- ##
2243 test "$ac_signal" != 0 &&
2244 $as_echo "$as_me: caught signal $ac_signal"
2245 $as_echo "$as_me: exit $exit_status"
2247 rm -f core *.core core.conftest.* &&
2248 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2251 for ac_signal in 1 2 13 15; do
2252 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2256 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2257 rm -f -r conftest* confdefs.h
2259 $as_echo "/* confdefs.h */" > confdefs.h
2261 # Predefined preprocessor variables.
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_NAME "$PACKAGE_NAME"
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_STRING "$PACKAGE_STRING"
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_URL "$PACKAGE_URL"
2288 # Let the site file select an alternate cache file if it wants to.
2289 # Prefer an explicitly selected file to automatically selected ones.
2292 if test -n "$CONFIG_SITE"; then
2293 # We do not want a PATH search for config.site.
2294 case $CONFIG_SITE in #((
2295 -*) ac_site_file1=./$CONFIG_SITE;;
2296 */*) ac_site_file1=$CONFIG_SITE;;
2297 *) ac_site_file1=./$CONFIG_SITE;;
2299 elif test "x$prefix" != xNONE; then
2300 ac_site_file1=$prefix/share/config.site
2301 ac_site_file2=$prefix/etc/config.site
2303 ac_site_file1=$ac_default_prefix/share/config.site
2304 ac_site_file2=$ac_default_prefix/etc/config.site
2306 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2308 test "x$ac_site_file" = xNONE && continue
2309 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2311 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2312 sed 's/^/| /' "$ac_site_file" >&5
2314 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2316 as_fn_error $? "failed to load site script $ac_site_file
2317 See \`config.log' for more details" "$LINENO" 5; }
2321 if test -r "$cache_file"; then
2322 # Some versions of bash will fail to source /dev/null (special files
2323 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2324 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2326 $as_echo "$as_me: loading cache $cache_file" >&6;}
2328 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2329 *) . "./$cache_file";;
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2334 $as_echo "$as_me: creating cache $cache_file" >&6;}
2338 gt_needs="$gt_needs "
2339 # Check that the precious variables saved in the cache have kept the same
2341 ac_cache_corrupted=false
2342 for ac_var in $ac_precious_vars; do
2343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344 eval ac_new_set=\$ac_env_${ac_var}_set
2345 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346 eval ac_new_val=\$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2354 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 # differences in whitespace do not lead to failure.
2360 ac_old_val_w=`echo x $ac_old_val`
2361 ac_new_val_w=`echo x $ac_new_val`
2362 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2364 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 ac_cache_corrupted=:
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2368 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2369 eval $ac_var=\$ac_old_val
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2372 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2374 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2377 # Pass precious variables to config.status.
2378 if test "$ac_new_set" = set; then
2380 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2381 *) ac_arg=$ac_var=$ac_new_val ;;
2383 case " $ac_configure_args " in
2384 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2385 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2389 if $ac_cache_corrupted; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2393 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2394 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2396 ## -------------------- ##
2397 ## Main body of script. ##
2398 ## -------------------- ##
2401 ac_cpp='$CPP $CPPFLAGS'
2402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2408 am__api_version='1.11'
2411 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2412 if test -f "$ac_dir/install-sh"; then
2414 ac_install_sh="$ac_aux_dir/install-sh -c"
2416 elif test -f "$ac_dir/install.sh"; then
2418 ac_install_sh="$ac_aux_dir/install.sh -c"
2420 elif test -f "$ac_dir/shtool"; then
2422 ac_install_sh="$ac_aux_dir/shtool install -c"
2426 if test -z "$ac_aux_dir"; then
2427 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2430 # These three variables are undocumented and unsupported,
2431 # and are intended to be withdrawn in a future Autoconf release.
2432 # They can cause serious problems if a builder's source tree is in a directory
2433 # whose full name contains unusual characters.
2434 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2435 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2436 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2439 # Find a good install program. We prefer a C program (faster),
2440 # so one script is as good as another. But avoid the broken or
2441 # incompatible versions:
2442 # SysV /etc/install, /usr/sbin/install
2443 # SunOS /usr/etc/install
2444 # IRIX /sbin/install
2446 # AmigaOS /C/install, which installs bootblocks on floppy discs
2447 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2448 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2449 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2450 # OS/2's system install, which has a completely different semantic
2451 # ./install, which can be erroneously created by make from ./install.sh.
2452 # Reject install programs that cannot install multiple files.
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2454 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2455 if test -z "$INSTALL"; then
2456 if ${ac_cv_path_install+:} false; then :
2457 $as_echo_n "(cached) " >&6
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 # Account for people who put trailing slashes in PATH elements.
2465 case $as_dir/ in #((
2466 ./ | .// | /[cC]/* | \
2467 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2468 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2471 # OSF1 and SCO ODT 3.0 have their own names for install.
2472 # Don't use installbsd from OSF since it installs stuff as root
2474 for ac_prog in ginstall scoinst install; do
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2477 if test $ac_prog = install &&
2478 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2479 # AIX install. It has an incompatible calling convention.
2481 elif test $ac_prog = install &&
2482 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483 # program-specific install script used by HP pwplus--don't use.
2486 rm -rf conftest.one conftest.two conftest.dir
2487 echo one > conftest.one
2488 echo two > conftest.two
2490 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2491 test -s conftest.one && test -s conftest.two &&
2492 test -s conftest.dir/conftest.one &&
2493 test -s conftest.dir/conftest.two
2495 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2508 rm -rf conftest.one conftest.two conftest.dir
2511 if test "${ac_cv_path_install+set}" = set; then
2512 INSTALL=$ac_cv_path_install
2514 # As a last resort, use the slow shell script. Don't cache a
2515 # value for INSTALL within a source directory, because that will
2516 # break other packages using the cache if that directory is
2517 # removed, or if the value is a relative name.
2518 INSTALL=$ac_install_sh
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2522 $as_echo "$INSTALL" >&6; }
2524 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2525 # It thinks the first close brace ends the variable substitution.
2526 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2528 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2530 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2533 $as_echo_n "checking whether build environment is sane... " >&6; }
2536 echo timestamp > conftest.file
2537 # Reject unsafe characters in $srcdir or the absolute working directory
2538 # name. Accept space and tab only in the latter.
2542 *[\\\"\#\$\&\'\`$am_lf]*)
2543 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2546 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2547 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2550 # Do `set' in a subshell so we don't clobber the current shell's
2551 # arguments. Must try -L first in case configure is actually a
2552 # symlink; some systems play weird games with the mod time of symlinks
2553 # (eg FreeBSD returns the mod time of the symlink's containing
2556 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2557 if test "$*" = "X"; then
2559 set X `ls -t "$srcdir/configure" conftest.file`
2562 if test "$*" != "X $srcdir/configure conftest.file" \
2563 && test "$*" != "X conftest.file $srcdir/configure"; then
2565 # If neither matched, then we have a broken ls. This can happen
2566 # if, for instance, CONFIG_SHELL is bash and it inherits a
2567 # broken ls alias from the environment. This has actually
2568 # happened. Such a system could not be considered "sane".
2569 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2570 alias in your environment" "$LINENO" 5
2573 test "$2" = conftest.file
2579 as_fn_error $? "newly created file is older than distributed files!
2580 Check your system clock" "$LINENO" 5
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2583 $as_echo "yes" >&6; }
2584 test "$program_prefix" != NONE &&
2585 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2586 # Use a double $ so make ignores it.
2587 test "$program_suffix" != NONE &&
2588 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2589 # Double any \ or $.
2590 # By default was `s,x,x', remove it if useless.
2591 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2592 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2594 # expand $ac_aux_dir to an absolute path
2595 am_aux_dir=`cd $ac_aux_dir && pwd`
2597 if test x"${MISSING+set}" != xset; then
2600 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2602 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2605 # Use eval to expand $SHELL
2606 if eval "$MISSING --run true"; then
2607 am_missing_run="$MISSING --run "
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2611 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2614 if test x"${install_sh}" != xset; then
2617 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2619 install_sh="\${SHELL} $am_aux_dir/install-sh"
2623 # Installed binaries are usually stripped using `strip' when the user
2624 # run `make install-strip'. However `strip' might not be the right
2625 # tool to use in cross-compilation environments, therefore Automake
2626 # will honor the `STRIP' environment variable to overrule this program.
2627 if test "$cross_compiling" != no; then
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2630 set dummy ${ac_tool_prefix}strip; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if ${ac_cv_prog_STRIP+:} false; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$STRIP"; then
2637 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 STRIP=$ac_cv_prog_STRIP
2657 if test -n "$STRIP"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2659 $as_echo "$STRIP" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2667 if test -z "$ac_cv_prog_STRIP"; then
2669 # Extract the first word of "strip", so it can be a program name with args.
2670 set dummy strip; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$ac_ct_STRIP"; then
2677 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_ac_ct_STRIP="strip"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2697 if test -n "$ac_ct_STRIP"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2699 $as_echo "$ac_ct_STRIP" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2705 if test "x$ac_ct_STRIP" = x; then
2708 case $cross_compiling:$ac_tool_warned in
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2712 ac_tool_warned=yes ;;
2717 STRIP="$ac_cv_prog_STRIP"
2721 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2724 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2725 if test -z "$MKDIR_P"; then
2726 if ${ac_cv_path_mkdir+:} false; then :
2727 $as_echo_n "(cached) " >&6
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2733 test -z "$as_dir" && as_dir=.
2734 for ac_prog in mkdir gmkdir; do
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2737 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2738 'mkdir (GNU coreutils) '* | \
2739 'mkdir (coreutils) '* | \
2740 'mkdir (fileutils) '4.1*)
2741 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2751 test -d ./--version && rmdir ./--version
2752 if test "${ac_cv_path_mkdir+set}" = set; then
2753 MKDIR_P="$ac_cv_path_mkdir -p"
2755 # As a last resort, use the slow shell script. Don't cache a
2756 # value for MKDIR_P within a source directory, because that will
2757 # break other packages using the cache if that directory is
2758 # removed, or if the value is a relative name.
2759 MKDIR_P="$ac_install_sh -d"
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2763 $as_echo "$MKDIR_P" >&6; }
2767 [\\/$]* | ?:[\\/]*) ;;
2768 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2771 for ac_prog in gawk mawk nawk awk
2773 # Extract the first word of "$ac_prog", so it can be a program name with args.
2774 set dummy $ac_prog; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if ${ac_cv_prog_AWK+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$AWK"; then
2781 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790 ac_cv_prog_AWK="$ac_prog"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$AWK"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2803 $as_echo "$AWK" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2810 test -n "$AWK" && break
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2814 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2816 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2817 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2818 $as_echo_n "(cached) " >&6
2820 cat >conftest.make <<\_ACEOF
2823 @echo '@@@%%%=$(MAKE)=@@@%%%'
2825 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2826 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2828 eval ac_cv_prog_make_${ac_make}_set=yes;;
2830 eval ac_cv_prog_make_${ac_make}_set=no;;
2834 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2836 $as_echo "yes" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2841 SET_MAKE="MAKE=${MAKE-make}"
2844 rm -rf .tst 2>/dev/null
2845 mkdir .tst 2>/dev/null
2846 if test -d .tst; then
2851 rmdir .tst 2>/dev/null
2853 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2854 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2855 # is not polluted with repeated "-I."
2856 am__isrc=' -I$(srcdir)'
2857 # test to see if srcdir already configured
2858 if test -f $srcdir/config.status; then
2859 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2863 # test whether we have cygpath
2864 if test -z "$CYGPATH_W"; then
2865 if (cygpath --version) >/dev/null 2>/dev/null; then
2866 CYGPATH_W='cygpath -w'
2873 # Define the identity of the package.
2878 cat >>confdefs.h <<_ACEOF
2879 #define PACKAGE "$PACKAGE"
2883 cat >>confdefs.h <<_ACEOF
2884 #define VERSION "$VERSION"
2887 # Some tools Automake needs.
2889 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2892 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2895 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2898 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2901 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2903 # We need awk for the "check" target. The system "awk" is bad on
2905 # Always define AMTAR for backward compatibility. Yes, it's still used
2906 # in the wild :-( We should find a proper way to deprecate it ...
2909 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2917 ac_config_headers="$ac_config_headers config.h"
2923 # Checks for programs.
2925 ac_cpp='$CPP $CPPFLAGS'
2926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_CC+:} false; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC="$CC" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2968 if test -z "$ac_cv_prog_CC"; then
2970 # Extract the first word of "gcc", so it can be a program name with args.
2971 set dummy gcc; ac_word=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$ac_ct_CC"; then
2978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_ac_ct_CC="gcc"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2998 if test -n "$ac_ct_CC"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3000 $as_echo "$ac_ct_CC" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3006 if test "x$ac_ct_CC" = x; then
3009 case $cross_compiling:$ac_tool_warned in
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3013 ac_tool_warned=yes ;;
3021 if test -z "$CC"; then
3022 if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3024 set dummy ${ac_tool_prefix}cc; ac_word=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_CC+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$CC"; then
3031 ac_cv_prog_CC="$CC" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_CC="${ac_tool_prefix}cc"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053 $as_echo "$CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3062 if test -z "$CC"; then
3063 # Extract the first word of "cc", so it can be a program name with args.
3064 set dummy cc; ac_word=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_prog_CC+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC="$CC" # Let the user override the test.
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3082 ac_prog_rejected=yes
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 if test $ac_prog_rejected = yes; then
3094 # We found a bogon in the path, so make sure we never use it.
3095 set dummy $ac_cv_prog_CC
3097 if test $# != 0; then
3098 # We chose a different compiler from the bogus one.
3099 # However, it has the same basename, so the bogon will be chosen
3100 # first if we set CC to just the basename; use the full file name.
3102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3108 if test -n "$CC"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3110 $as_echo "$CC" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3118 if test -z "$CC"; then
3119 if test -n "$ac_tool_prefix"; then
3120 for ac_prog in cl.exe
3122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if ${ac_cv_prog_CC+:} false; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$CC"; then
3130 ac_cv_prog_CC="$CC" # Let the user override the test.
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir=.
3137 for ac_exec_ext in '' $ac_executable_extensions; do
3138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 if test -n "$CC"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3152 $as_echo "$CC" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3159 test -n "$CC" && break
3162 if test -z "$CC"; then
3164 for ac_prog in cl.exe
3166 # Extract the first word of "$ac_prog", so it can be a program name with args.
3167 set dummy $ac_prog; ac_word=$2
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 $as_echo_n "checking for $ac_word... " >&6; }
3170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3171 $as_echo_n "(cached) " >&6
3173 if test -n "$ac_ct_CC"; then
3174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 test -z "$as_dir" && as_dir=.
3181 for ac_exec_ext in '' $ac_executable_extensions; do
3182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3183 ac_cv_prog_ac_ct_CC="$ac_prog"
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3194 if test -n "$ac_ct_CC"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3196 $as_echo "$ac_ct_CC" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3203 test -n "$ac_ct_CC" && break
3206 if test "x$ac_ct_CC" = x; then
3209 case $cross_compiling:$ac_tool_warned in
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3213 ac_tool_warned=yes ;;
3222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3224 as_fn_error $? "no acceptable C compiler found in \$PATH
3225 See \`config.log' for more details" "$LINENO" 5; }
3227 # Provide some information about the compiler.
3228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3231 for ac_option in --version -v -V -qversion; do
3232 { { ac_try="$ac_compiler $ac_option >&5"
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 $as_echo "$ac_try_echo"; } >&5
3239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3241 if test -s conftest.err; then
3243 ... rest of stderr output deleted ...
3244 10q' conftest.err >conftest.er1
3245 cat conftest.er1 >&5
3247 rm -f conftest.er1 conftest.err
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 ac_clean_files_save=$ac_clean_files
3264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3265 # Try to create an executable without -o first, disregard a.out.
3266 # It will help us diagnose broken compilers, and finding out an intuition
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3269 $as_echo_n "checking whether the C compiler works... " >&6; }
3270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3272 # The possible output files:
3273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3276 for ac_file in $ac_files
3279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3280 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3285 if { { ac_try="$ac_link_default"
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3291 $as_echo "$ac_try_echo"; } >&5
3292 (eval "$ac_link_default") 2>&5
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; }; then :
3296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3298 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3299 # so that the user can short-circuit this test for compilers unknown to
3301 for ac_file in $ac_files ''
3303 test -f "$ac_file" || continue
3305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3308 # We found the default executable, but exeext='' is most
3312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3314 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3316 # We set ac_cv_exeext here because the later test for it is not
3317 # safe: cross compilers may not add the suffix if given an `-o'
3318 # argument, so we may need to know it at that point already.
3319 # Even if this section looks crufty: it has the advantage of
3326 test "$ac_cv_exeext" = no && ac_cv_exeext=
3331 if test -z "$ac_file"; then :
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 $as_echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.$ac_ext >&5
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error 77 "C compiler cannot create executables
3340 See \`config.log' for more details" "$LINENO" 5; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3343 $as_echo "yes" >&6; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3346 $as_echo_n "checking for C compiler default output file name... " >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3348 $as_echo "$ac_file" >&6; }
3349 ac_exeext=$ac_cv_exeext
3351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3352 ac_clean_files=$ac_clean_files_save
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3354 $as_echo_n "checking for suffix of executables... " >&6; }
3355 if { { ac_try="$ac_link"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_link") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; then :
3366 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3367 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3368 # work properly (i.e., refer to `conftest.exe'), while it won't with
3370 for ac_file in conftest.exe conftest conftest.*; do
3371 test -f "$ac_file" || continue
3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3383 See \`config.log' for more details" "$LINENO" 5; }
3385 rm -f conftest conftest$ac_cv_exeext
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3387 $as_echo "$ac_cv_exeext" >&6; }
3389 rm -f conftest.$ac_ext
3390 EXEEXT=$ac_cv_exeext
3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3398 FILE *f = fopen ("conftest.out", "w");
3399 return ferror (f) || fclose (f) != 0;
3405 ac_clean_files="$ac_clean_files conftest.out"
3406 # Check that the compiler produces executables we can run. If not, either
3407 # the compiler is broken, or we cross compile.
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3409 $as_echo_n "checking whether we are cross compiling... " >&6; }
3410 if test "$cross_compiling" != yes; then
3411 { { ac_try="$ac_link"
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417 $as_echo "$ac_try_echo"; } >&5
3418 (eval "$ac_link") 2>&5
3420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421 test $ac_status = 0; }
3422 if { ac_try='./conftest$ac_cv_exeext'
3423 { { case "(($ac_try" in
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428 $as_echo "$ac_try_echo"; } >&5
3429 (eval "$ac_try") 2>&5
3431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3432 test $ac_status = 0; }; }; then
3435 if test "$cross_compiling" = maybe; then
3438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 as_fn_error $? "cannot run C compiled programs.
3441 If you meant to cross compile, use \`--host'.
3442 See \`config.log' for more details" "$LINENO" 5; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3447 $as_echo "$cross_compiling" >&6; }
3449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3450 ac_clean_files=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3452 $as_echo_n "checking for suffix of object files... " >&6; }
3453 if ${ac_cv_objext+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 rm -f conftest.o conftest.obj
3468 if { { ac_try="$ac_compile"
3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3474 $as_echo "$ac_try_echo"; } >&5
3475 (eval "$ac_compile") 2>&5
3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478 test $ac_status = 0; }; then :
3479 for ac_file in conftest.o conftest.obj conftest.*; do
3480 test -f "$ac_file" || continue;
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3483 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3488 $as_echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3493 as_fn_error $? "cannot compute suffix of object files: cannot compile
3494 See \`config.log' for more details" "$LINENO" 5; }
3496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3499 $as_echo "$ac_cv_objext" >&6; }
3500 OBJEXT=$ac_cv_objext
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3504 if ${ac_cv_c_compiler_gnu+:} false; then :
3505 $as_echo_n "(cached) " >&6
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3521 if ac_fn_c_try_compile "$LINENO"; then :
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3532 if test $ac_compiler_gnu = yes; then
3537 ac_test_CFLAGS=${CFLAGS+set}
3538 ac_save_CFLAGS=$CFLAGS
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3541 if ${ac_cv_prog_cc_g+:} false; then :
3542 $as_echo_n "(cached) " >&6
3544 ac_save_c_werror_flag=$ac_c_werror_flag
3545 ac_c_werror_flag=yes
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3574 if ac_fn_c_try_compile "$LINENO"; then :
3577 ac_c_werror_flag=$ac_save_c_werror_flag
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3590 if ac_fn_c_try_compile "$LINENO"; then :
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 ac_c_werror_flag=$ac_save_c_werror_flag
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3601 $as_echo "$ac_cv_prog_cc_g" >&6; }
3602 if test "$ac_test_CFLAGS" = set; then
3603 CFLAGS=$ac_save_CFLAGS
3604 elif test $ac_cv_prog_cc_g = yes; then
3605 if test "$GCC" = yes; then
3611 if test "$GCC" = yes; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3619 if ${ac_cv_prog_cc_c89+:} false; then :
3620 $as_echo_n "(cached) " >&6
3622 ac_cv_prog_cc_c89=no
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3630 struct buf { int x; };
3631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3632 static char *e (p, i)
3638 static char *f (char * (*g) (char **, int), char **p, ...)
3643 s = g (p, va_arg (v,int));
3648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3649 function prototypes and stuff, but not '\xHH' hex character constants.
3650 These don't provoke an error unfortunately, instead are silently treated
3651 as 'x'. The following induces an error, until -std is added to get
3652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3653 array size at least. It's necessary to write '\x00'==0 to get something
3654 that's true only with -std. */
3655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3658 inside strings and character constants. */
3660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3662 int test (int i, double x);
3663 struct s1 {int (*f) (int a);};
3664 struct s2 {int (*f) (double a);};
3665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3671 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3679 CC="$ac_save_CC $ac_arg"
3680 if ac_fn_c_try_compile "$LINENO"; then :
3681 ac_cv_prog_cc_c89=$ac_arg
3683 rm -f core conftest.err conftest.$ac_objext
3684 test "x$ac_cv_prog_cc_c89" != "xno" && break
3686 rm -f conftest.$ac_ext
3691 case "x$ac_cv_prog_cc_c89" in
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3694 $as_echo "none needed" >&6; } ;;
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3697 $as_echo "unsupported" >&6; } ;;
3699 CC="$CC $ac_cv_prog_cc_c89"
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3703 if test "x$ac_cv_prog_cc_c89" != xno; then :
3708 ac_cpp='$CPP $CPPFLAGS'
3709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712 DEPDIR="${am__leading_dot}deps"
3714 ac_config_commands="$ac_config_commands depfiles"
3717 am_make=${MAKE-make}
3718 cat > confinc << 'END'
3720 @echo this is the am__doit target
3723 # If we don't find an include directive, just comment out the code.
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3725 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3729 # First try GNU make style include.
3730 echo "include confinc" > confmf
3731 # Ignore all kinds of additional output from `make'.
3732 case `$am_make -s -f confmf 2> /dev/null` in #(
3733 *the\ am__doit\ target*)
3739 # Now try BSD make style include.
3740 if test "$am__include" = "#"; then
3741 echo '.include "confinc"' > confmf
3742 case `$am_make -s -f confmf 2> /dev/null` in #(
3743 *the\ am__doit\ target*)
3744 am__include=.include
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3753 $as_echo "$_am_result" >&6; }
3754 rm -f confinc confmf
3756 # Check whether --enable-dependency-tracking was given.
3757 if test "${enable_dependency_tracking+set}" = set; then :
3758 enableval=$enable_dependency_tracking;
3761 if test "x$enable_dependency_tracking" != xno; then
3762 am_depcomp="$ac_aux_dir/depcomp"
3766 if test "x$enable_dependency_tracking" != xno; then
3776 depcc="$CC" am_compiler_list=
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3779 $as_echo_n "checking dependency style of $depcc... " >&6; }
3780 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3784 # We make a subdir and do the tests there. Otherwise we can end up
3785 # making bogus files that we don't know about and never remove. For
3786 # instance it was reported that on HP-UX the gcc test will end up
3787 # making a dummy file named `D' -- because `-MD' means `put the output
3791 # Copy depcomp to subdir because otherwise we won't find it if we're
3792 # using a relative directory.
3793 cp "$am_depcomp" conftest.dir
3795 # We will build objects and dependencies in a subdirectory because
3796 # it helps to detect inapplicable dependency modes. For instance
3797 # both Tru64's cc and ICC support -MD to output dependencies as a
3798 # side effect of compilation, but ICC will put the dependencies in
3799 # the current directory while Tru64 will put them in the object
3803 am_cv_CC_dependencies_compiler_type=none
3804 if test "$am_compiler_list" = ""; then
3805 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3808 case " $depcc " in #(
3809 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3812 for depmode in $am_compiler_list; do
3813 # Setup a source with many dependencies, because some compilers
3814 # like to wrap large dependency lists on column 80 (with \), and
3815 # we should not choose a depcomp mode which is confused by this.
3817 # We need to recreate these files for each test, as the compiler may
3818 # overwrite some of them when testing with obscure command lines.
3819 # This happens at least with the AIX C compiler.
3821 for i in 1 2 3 4 5 6; do
3822 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3823 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3824 # Solaris 8's {/usr,}/bin/sh.
3825 touch sub/conftst$i.h
3827 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3829 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3830 # mode. It turns out that the SunPro C++ compiler does not properly
3831 # handle `-M -o', and we need to detect this. Also, some Intel
3832 # versions had trouble with output in subdirs
3833 am__obj=sub/conftest.${OBJEXT-o}
3834 am__minus_obj="-o $am__obj"
3837 # This depmode causes a compiler race in universal mode.
3838 test "$am__universal" = false || continue
3841 # after this tag, mechanisms are not by side-effect, so they'll
3842 # only be used when explicitly requested
3843 if test "x$enable_dependency_tracking" = xyes; then
3849 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3850 # This compiler won't grok `-c -o', but also, the minuso test has
3851 # not run yet. These depmodes are late enough in the game, and
3852 # so weak that their functioning should not be impacted.
3853 am__obj=conftest.${OBJEXT-o}
3858 if depmode=$depmode \
3859 source=sub/conftest.c object=$am__obj \
3860 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3861 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3862 >/dev/null 2>conftest.err &&
3863 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3864 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3865 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3866 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3867 # icc doesn't choke on unknown options, it will just issue warnings
3868 # or remarks (even with -Werror). So we grep stderr for any message
3869 # that says an option was ignored or not supported.
3870 # When given -MP, icc 7.0 and 7.1 complain thusly:
3871 # icc: Command line warning: ignoring option '-M'; no argument required
3872 # The diagnosis changed in icc 8.0:
3873 # icc: Command line remark: option '-MP' not supported
3874 if (grep 'ignoring option' conftest.err ||
3875 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3876 am_cv_CC_dependencies_compiler_type=$depmode
3885 am_cv_CC_dependencies_compiler_type=none
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3890 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3891 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3894 test "x$enable_dependency_tracking" != xno \
3895 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3897 am__fastdepCC_FALSE='#'
3899 am__fastdepCC_TRUE='#'
3900 am__fastdepCC_FALSE=
3904 if test "x$CC" != xcc; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3906 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3909 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3911 set dummy $CC; ac_cc=`$as_echo "$2" |
3912 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3913 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3914 $as_echo_n "(cached) " >&6
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3927 # Make sure it works both with $CC and with simple cc.
3928 # We do the test twice because some compilers refuse to overwrite an
3929 # existing .o file with -o, though they will create one.
3930 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3932 if { { case "(($ac_try" in
3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_try") 2>&5
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; } &&
3942 test -f conftest2.$ac_objext && { { 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; };
3953 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3954 if test "x$CC" != xcc; then
3955 # Test first that cc exists at all.
3956 if { ac_try='cc -c conftest.$ac_ext >&5'
3957 { { case "(($ac_try" in
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_try") 2>&5
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; }; then
3967 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3969 if { { case "(($ac_try" in
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_try") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; } &&
3979 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_try") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; };
3993 # cc exists but doesn't like -o.
3994 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3999 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4001 rm -f core conftest*
4004 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4006 $as_echo "yes" >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4011 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4015 # FIXME: we rely on the cache variable name because
4016 # there is no other way.
4018 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4019 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4020 if test "$am_t" != yes; then
4021 # Losing compiler, so override with the script.
4022 # FIXME: It is wrong to rewrite CC.
4023 # But if we don't then we get into trouble of one sort or another.
4024 # A longer-term fix would be to have automake use am__CC in this case,
4025 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4026 CC="$am_aux_dir/compile $CC"
4032 # Check whether --enable-largefile was given.
4033 if test "${enable_largefile+set}" = set; then :
4034 enableval=$enable_largefile;
4037 if test "$enable_largefile" != no; then
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4040 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4041 if ${ac_cv_sys_largefile_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4044 ac_cv_sys_largefile_CC=no
4045 if test "$GCC" != yes; then
4048 # IRIX 6.2 and later do not support large files by default,
4049 # so use the C compiler's -n32 option if that helps.
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052 #include <sys/types.h>
4053 /* Check that off_t can represent 2**63 - 1 correctly.
4054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4055 since some C++ compilers masquerading as C compilers
4056 incorrectly reject 9223372036854775807. */
4057 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4059 && LARGE_OFF_T % 2147483647 == 1)
4069 if ac_fn_c_try_compile "$LINENO"; then :
4072 rm -f core conftest.err conftest.$ac_objext
4074 if ac_fn_c_try_compile "$LINENO"; then :
4075 ac_cv_sys_largefile_CC=' -n32'; break
4077 rm -f core conftest.err conftest.$ac_objext
4081 rm -f conftest.$ac_ext
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4085 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4086 if test "$ac_cv_sys_largefile_CC" != no; then
4087 CC=$CC$ac_cv_sys_largefile_CC
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4091 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4092 if ${ac_cv_sys_file_offset_bits+:} false; then :
4093 $as_echo_n "(cached) " >&6
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098 #include <sys/types.h>
4099 /* Check that off_t can represent 2**63 - 1 correctly.
4100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4101 since some C++ compilers masquerading as C compilers
4102 incorrectly reject 9223372036854775807. */
4103 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4105 && LARGE_OFF_T % 2147483647 == 1)
4115 if ac_fn_c_try_compile "$LINENO"; then :
4116 ac_cv_sys_file_offset_bits=no; break
4118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4121 #define _FILE_OFFSET_BITS 64
4122 #include <sys/types.h>
4123 /* Check that off_t can represent 2**63 - 1 correctly.
4124 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4125 since some C++ compilers masquerading as C compilers
4126 incorrectly reject 9223372036854775807. */
4127 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4128 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4129 && LARGE_OFF_T % 2147483647 == 1)
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_cv_sys_file_offset_bits=64; break
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 ac_cv_sys_file_offset_bits=unknown
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4148 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4149 case $ac_cv_sys_file_offset_bits in #(
4152 cat >>confdefs.h <<_ACEOF
4153 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4158 if test $ac_cv_sys_file_offset_bits = unknown; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4160 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4161 if ${ac_cv_sys_large_files+:} false; then :
4162 $as_echo_n "(cached) " >&6
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167 #include <sys/types.h>
4168 /* Check that off_t can represent 2**63 - 1 correctly.
4169 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4170 since some C++ compilers masquerading as C compilers
4171 incorrectly reject 9223372036854775807. */
4172 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4173 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4174 && LARGE_OFF_T % 2147483647 == 1)
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185 ac_cv_sys_large_files=no; break
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4190 #define _LARGE_FILES 1
4191 #include <sys/types.h>
4192 /* Check that off_t can represent 2**63 - 1 correctly.
4193 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4194 since some C++ compilers masquerading as C compilers
4195 incorrectly reject 9223372036854775807. */
4196 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4197 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4198 && LARGE_OFF_T % 2147483647 == 1)
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_sys_large_files=1; break
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_cv_sys_large_files=unknown
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4217 $as_echo "$ac_cv_sys_large_files" >&6; }
4218 case $ac_cv_sys_large_files in #(
4221 cat >>confdefs.h <<_ACEOF
4222 #define _LARGE_FILES $ac_cv_sys_large_files
4234 if test -n "$ac_tool_prefix"; then
4235 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4236 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238 $as_echo_n "checking for $ac_word... " >&6; }
4239 if ${ac_cv_prog_RANLIB+:} false; then :
4240 $as_echo_n "(cached) " >&6
4242 if test -n "$RANLIB"; then
4243 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir=.
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 RANLIB=$ac_cv_prog_RANLIB
4263 if test -n "$RANLIB"; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4265 $as_echo "$RANLIB" >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4273 if test -z "$ac_cv_prog_RANLIB"; then
4274 ac_ct_RANLIB=$RANLIB
4275 # Extract the first word of "ranlib", so it can be a program name with args.
4276 set dummy ranlib; ac_word=$2
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278 $as_echo_n "checking for $ac_word... " >&6; }
4279 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4280 $as_echo_n "(cached) " >&6
4282 if test -n "$ac_ct_RANLIB"; then
4283 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4289 test -z "$as_dir" && as_dir=.
4290 for ac_exec_ext in '' $ac_executable_extensions; do
4291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4292 ac_cv_prog_ac_ct_RANLIB="ranlib"
4293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4303 if test -n "$ac_ct_RANLIB"; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4305 $as_echo "$ac_ct_RANLIB" >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 $as_echo "no" >&6; }
4311 if test "x$ac_ct_RANLIB" = x; then
4314 case $cross_compiling:$ac_tool_warned in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4318 ac_tool_warned=yes ;;
4320 RANLIB=$ac_ct_RANLIB
4323 RANLIB="$ac_cv_prog_RANLIB"
4326 if test -n "$ac_tool_prefix"; then
4327 for ac_prog in ar lib "link -lib"
4329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if ${ac_cv_prog_AR+:} false; then :
4334 $as_echo_n "(cached) " >&6
4336 if test -n "$AR"; then
4337 ac_cv_prog_AR="$AR" # Let the user override the test.
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 if test -n "$AR"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4359 $as_echo "$AR" >&6; }
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4366 test -n "$AR" && break
4369 if test -z "$AR"; then
4371 for ac_prog in ar lib "link -lib"
4373 # Extract the first word of "$ac_prog", so it can be a program name with args.
4374 set dummy $ac_prog; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -n "$ac_ct_AR"; then
4381 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_ac_ct_AR="$ac_prog"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4401 if test -n "$ac_ct_AR"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4403 $as_echo "$ac_ct_AR" >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 test -n "$ac_ct_AR" && break
4413 if test "x$ac_ct_AR" = x; then
4416 case $cross_compiling:$ac_tool_warned in
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4420 ac_tool_warned=yes ;;
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4429 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4430 if ${am_cv_ar_interface+:} false; then :
4431 $as_echo_n "(cached) " >&6
4433 am_cv_ar_interface=ar
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4436 int some_variable = 0;
4438 if ac_fn_c_try_compile "$LINENO"; then :
4439 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4440 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4441 (eval $am_ar_try) 2>&5
4443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444 test $ac_status = 0; }
4445 if test "$ac_status" -eq 0; then
4446 am_cv_ar_interface=ar
4448 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4449 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4450 (eval $am_ar_try) 2>&5
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }
4454 if test "$ac_status" -eq 0; then
4455 am_cv_ar_interface=lib
4457 am_cv_ar_interface=unknown
4460 rm -f conftest.lib libconftest.a
4463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4467 $as_echo "$am_cv_ar_interface" >&6; }
4469 case $am_cv_ar_interface in
4473 # Microsoft lib, so override with the ar-lib wrapper script.
4474 # FIXME: It is wrong to rewrite AR.
4475 # But if we don't then we get into trouble of one sort or another.
4476 # A longer-term fix would be to have automake use am__AR in this case,
4477 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4479 AR="$am_aux_dir/ar-lib $AR"
4482 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4487 # Checks for header files.
4489 ac_cpp='$CPP $CPPFLAGS'
4490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4494 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4495 # On Suns, sometimes $CPP names a directory.
4496 if test -n "$CPP" && test -d "$CPP"; then
4499 if test -z "$CPP"; then
4500 if ${ac_cv_prog_CPP+:} false; then :
4501 $as_echo_n "(cached) " >&6
4503 # Double quotes because CPP needs to be expanded
4504 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4507 for ac_c_preproc_warn_flag in '' yes
4509 # Use a header file that comes with gcc, so configuring glibc
4510 # with a fresh cross-compiler works.
4511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4512 # <limits.h> exists even on freestanding compilers.
4513 # On the NeXT, cc -E runs the code through the compiler's parser,
4514 # not just through cpp. "Syntax error" is here to catch this case.
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4518 # include <limits.h>
4520 # include <assert.h>
4524 if ac_fn_c_try_cpp "$LINENO"; then :
4527 # Broken: fails on valid input.
4530 rm -f conftest.err conftest.i conftest.$ac_ext
4532 # OK, works on sane cases. Now check whether nonexistent headers
4533 # can be detected and how.
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536 #include <ac_nonexistent.h>
4538 if ac_fn_c_try_cpp "$LINENO"; then :
4539 # Broken: success on invalid input.
4542 # Passes both tests.
4546 rm -f conftest.err conftest.i conftest.$ac_ext
4549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4550 rm -f conftest.i conftest.err conftest.$ac_ext
4551 if $ac_preproc_ok; then :
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4564 $as_echo "$CPP" >&6; }
4566 for ac_c_preproc_warn_flag in '' yes
4568 # Use a header file that comes with gcc, so configuring glibc
4569 # with a fresh cross-compiler works.
4570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4571 # <limits.h> exists even on freestanding compilers.
4572 # On the NeXT, cc -E runs the code through the compiler's parser,
4573 # not just through cpp. "Syntax error" is here to catch this case.
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4577 # include <limits.h>
4579 # include <assert.h>
4583 if ac_fn_c_try_cpp "$LINENO"; then :
4586 # Broken: fails on valid input.
4589 rm -f conftest.err conftest.i conftest.$ac_ext
4591 # OK, works on sane cases. Now check whether nonexistent headers
4592 # can be detected and how.
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4595 #include <ac_nonexistent.h>
4597 if ac_fn_c_try_cpp "$LINENO"; then :
4598 # Broken: success on invalid input.
4601 # Passes both tests.
4605 rm -f conftest.err conftest.i conftest.$ac_ext
4608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4609 rm -f conftest.i conftest.err conftest.$ac_ext
4610 if $ac_preproc_ok; then :
4613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4615 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4616 See \`config.log' for more details" "$LINENO" 5; }
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4627 $as_echo_n "checking for X... " >&6; }
4630 # Check whether --with-x was given.
4631 if test "${with_x+set}" = set; then :
4635 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4636 if test "x$with_x" = xno; then
4637 # The user explicitly disabled X.
4640 case $x_includes,$x_libraries in #(
4641 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4642 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 # One or both of the vars are not set, and there is no cached value.
4646 ac_x_includes=no ac_x_libraries=no
4647 rm -f -r conftest.dir
4648 if mkdir conftest.dir; then
4650 cat >Imakefile <<'_ACEOF'
4652 @echo incroot='${INCROOT}'
4654 @echo usrlibdir='${USRLIBDIR}'
4656 @echo libdir='${LIBDIR}'
4658 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4659 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4660 for ac_var in incroot usrlibdir libdir; do
4661 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4663 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4664 for ac_extension in a so sl dylib la dll; do
4665 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4666 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4667 ac_im_usrlibdir=$ac_im_libdir; break
4670 # Screen out bogus values from the imake configuration. They are
4671 # bogus both because they are the default anyway, and because
4672 # using them would break gcc on systems where it needs fixed includes.
4673 case $ac_im_incroot in
4674 /usr/include) ac_x_includes= ;;
4675 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4677 case $ac_im_usrlibdir in
4678 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4679 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4683 rm -f -r conftest.dir
4686 # Standard set of common directories for X headers.
4687 # Check X11 before X11Rn because it is often a symlink to the current release.
4701 /usr/local/X11/include
4702 /usr/local/X11R7/include
4703 /usr/local/X11R6/include
4704 /usr/local/X11R5/include
4705 /usr/local/X11R4/include
4707 /usr/local/include/X11
4708 /usr/local/include/X11R7
4709 /usr/local/include/X11R6
4710 /usr/local/include/X11R5
4711 /usr/local/include/X11R4
4715 /usr/XFree86/include/X11
4719 /usr/unsupported/include
4721 /usr/local/x11r5/include
4722 /usr/lpp/Xamples/include
4724 /usr/openwin/include
4725 /usr/openwin/share/include'
4727 if test "$ac_x_includes" = no; then
4728 # Guess where to find include files, by looking for Xlib.h.
4729 # First, try using that file with no special directory specified.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <X11/Xlib.h>
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # We can compile using X headers with no special include directory.
4738 for ac_dir in $ac_x_header_dirs; do
4739 if test -r "$ac_dir/X11/Xlib.h"; then
4740 ac_x_includes=$ac_dir
4745 rm -f conftest.err conftest.i conftest.$ac_ext
4746 fi # $ac_x_includes = no
4748 if test "$ac_x_libraries" = no; then
4749 # Check for the libraries.
4750 # See if we find them without any special options.
4751 # Don't add to $LIBS permanently.
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4756 #include <X11/Xlib.h>
4765 if ac_fn_c_try_link "$LINENO"; then :
4767 # We can link X programs with no special library path.
4771 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4773 # Don't even attempt the hair of trying to link an X program!
4774 for ac_extension in a so sl dylib la dll; do
4775 if test -r "$ac_dir/libX11.$ac_extension"; then
4776 ac_x_libraries=$ac_dir
4782 rm -f core conftest.err conftest.$ac_objext \
4783 conftest$ac_exeext conftest.$ac_ext
4784 fi # $ac_x_libraries = no
4786 case $ac_x_includes,$ac_x_libraries in #(
4788 # Didn't find X, or a directory has "'" in its name.
4789 ac_cv_have_x="have_x=no";; #(
4791 # Record where we found X for the cache.
4792 ac_cv_have_x="have_x=yes\
4793 ac_x_includes='$ac_x_includes'\
4794 ac_x_libraries='$ac_x_libraries'"
4800 eval "$ac_cv_have_x"
4803 if test "$have_x" != yes; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4805 $as_echo "$have_x" >&6; }
4808 # If each of the values was on the command line, it overrides each guess.
4809 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4810 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4811 # Update the cache value to reflect the command line values.
4812 ac_cv_have_x="have_x=yes\
4813 ac_x_includes='$x_includes'\
4814 ac_x_libraries='$x_libraries'"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4816 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4820 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4821 if ${ac_cv_path_GREP+:} false; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -z "$GREP"; then
4825 ac_path_GREP_found=false
4826 # Loop through the user's path and test for each of PROGNAME-LIST
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 test -z "$as_dir" && as_dir=.
4832 for ac_prog in grep ggrep; do
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4835 as_fn_executable_p "$ac_path_GREP" || continue
4836 # Check for GNU ac_path_GREP and select it if it is found.
4837 # Check for GNU $ac_path_GREP
4838 case `"$ac_path_GREP" --version 2>&1` in
4840 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4843 $as_echo_n 0123456789 >"conftest.in"
4846 cat "conftest.in" "conftest.in" >"conftest.tmp"
4847 mv "conftest.tmp" "conftest.in"
4848 cp "conftest.in" "conftest.nl"
4849 $as_echo 'GREP' >> "conftest.nl"
4850 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4851 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4852 as_fn_arith $ac_count + 1 && ac_count=$as_val
4853 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4854 # Best one so far, save it but keep looking for a better one
4855 ac_cv_path_GREP="$ac_path_GREP"
4856 ac_path_GREP_max=$ac_count
4858 # 10*(2^10) chars as input seems more than enough
4859 test $ac_count -gt 10 && break
4861 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4864 $ac_path_GREP_found && break 3
4869 if test -z "$ac_cv_path_GREP"; then
4870 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873 ac_cv_path_GREP=$GREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4878 $as_echo "$ac_cv_path_GREP" >&6; }
4879 GREP="$ac_cv_path_GREP"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4883 $as_echo_n "checking for egrep... " >&6; }
4884 if ${ac_cv_path_EGREP+:} false; then :
4885 $as_echo_n "(cached) " >&6
4887 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4888 then ac_cv_path_EGREP="$GREP -E"
4890 if test -z "$EGREP"; then
4891 ac_path_EGREP_found=false
4892 # Loop through the user's path and test for each of PROGNAME-LIST
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4897 test -z "$as_dir" && as_dir=.
4898 for ac_prog in egrep; do
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4901 as_fn_executable_p "$ac_path_EGREP" || continue
4902 # Check for GNU ac_path_EGREP and select it if it is found.
4903 # Check for GNU $ac_path_EGREP
4904 case `"$ac_path_EGREP" --version 2>&1` in
4906 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4909 $as_echo_n 0123456789 >"conftest.in"
4912 cat "conftest.in" "conftest.in" >"conftest.tmp"
4913 mv "conftest.tmp" "conftest.in"
4914 cp "conftest.in" "conftest.nl"
4915 $as_echo 'EGREP' >> "conftest.nl"
4916 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4918 as_fn_arith $ac_count + 1 && ac_count=$as_val
4919 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4920 # Best one so far, save it but keep looking for a better one
4921 ac_cv_path_EGREP="$ac_path_EGREP"
4922 ac_path_EGREP_max=$ac_count
4924 # 10*(2^10) chars as input seems more than enough
4925 test $ac_count -gt 10 && break
4927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4930 $ac_path_EGREP_found && break 3
4935 if test -z "$ac_cv_path_EGREP"; then
4936 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4939 ac_cv_path_EGREP=$EGREP
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4945 $as_echo "$ac_cv_path_EGREP" >&6; }
4946 EGREP="$ac_cv_path_EGREP"
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4950 $as_echo_n "checking for ANSI C header files... " >&6; }
4951 if ${ac_cv_header_stdc+:} false; then :
4952 $as_echo_n "(cached) " >&6
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 ac_cv_header_stdc=yes
4972 ac_cv_header_stdc=no
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 if test $ac_cv_header_stdc = yes; then
4977 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4984 $EGREP "memchr" >/dev/null 2>&1; then :
4987 ac_cv_header_stdc=no
4993 if test $ac_cv_header_stdc = yes; then
4994 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
5000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5001 $EGREP "free" >/dev/null 2>&1; then :
5004 ac_cv_header_stdc=no
5010 if test $ac_cv_header_stdc = yes; then
5011 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5012 if test "$cross_compiling" = yes; then :
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 #if ((' ' & 0x0FF) == 0x020)
5020 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5021 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5023 # define ISLOWER(c) \
5024 (('a' <= (c) && (c) <= 'i') \
5025 || ('j' <= (c) && (c) <= 'r') \
5026 || ('s' <= (c) && (c) <= 'z'))
5027 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5030 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5035 for (i = 0; i < 256; i++)
5036 if (XOR (islower (i), ISLOWER (i))
5037 || toupper (i) != TOUPPER (i))
5042 if ac_fn_c_try_run "$LINENO"; then :
5045 ac_cv_header_stdc=no
5047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5048 conftest.$ac_objext conftest.beam conftest.$ac_ext
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5054 $as_echo "$ac_cv_header_stdc" >&6; }
5055 if test $ac_cv_header_stdc = yes; then
5057 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5061 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5062 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5063 inttypes.h stdint.h unistd.h
5065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5066 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5069 cat >>confdefs.h <<_ACEOF
5070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5078 for ac_header in stdbool.h
5080 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
5081 if test "x$ac_cv_header_stdbool_h" = xyes; then :
5082 cat >>confdefs.h <<_ACEOF
5083 #define HAVE_STDBOOL_H 1
5091 # Checks for typedefs, structures, and compiler characteristics.
5092 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5093 if test "x$ac_cv_type_size_t" = xyes; then :
5097 cat >>confdefs.h <<_ACEOF
5098 #define size_t unsigned int
5103 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5104 if test "x$ac_cv_type_ssize_t" = xyes; then :
5108 cat >>confdefs.h <<_ACEOF
5115 # Checks for library functions.
5116 for ac_header in stdlib.h
5118 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5119 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5120 cat >>confdefs.h <<_ACEOF
5121 #define HAVE_STDLIB_H 1
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5129 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5130 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5131 $as_echo_n "(cached) " >&6
5133 if test "$cross_compiling" = yes; then :
5134 ac_cv_func_malloc_0_nonnull=no
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5138 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5139 # include <stdlib.h>
5147 return ! malloc (0);
5152 if ac_fn_c_try_run "$LINENO"; then :
5153 ac_cv_func_malloc_0_nonnull=yes
5155 ac_cv_func_malloc_0_nonnull=no
5157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5158 conftest.$ac_objext conftest.beam conftest.$ac_ext
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5163 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5164 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5166 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5169 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5171 case " $LIBOBJS " in
5172 *" malloc.$ac_objext "* ) ;;
5173 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5178 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5183 for ac_header in stdlib.h
5185 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5186 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5187 cat >>confdefs.h <<_ACEOF
5188 #define HAVE_STDLIB_H 1
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5196 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5197 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 if test "$cross_compiling" = yes; then :
5201 ac_cv_func_realloc_0_nonnull=no
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5206 # include <stdlib.h>
5214 return ! realloc (0, 0);
5219 if ac_fn_c_try_run "$LINENO"; then :
5220 ac_cv_func_realloc_0_nonnull=yes
5222 ac_cv_func_realloc_0_nonnull=no
5224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5225 conftest.$ac_objext conftest.beam conftest.$ac_ext
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5230 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5231 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5233 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5236 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5238 case " $LIBOBJS " in
5239 *" realloc.$ac_objext "* ) ;;
5240 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5245 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5250 for ac_func in gettimeofday memmove socket strdup strtol
5252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5254 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5255 cat >>confdefs.h <<_ACEOF
5256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5265 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5266 if ${ac_cv_path_SED+:} false; then :
5267 $as_echo_n "(cached) " >&6
5269 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5270 for ac_i in 1 2 3 4 5 6 7; do
5271 ac_script="$ac_script$as_nl$ac_script"
5273 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5274 { ac_script=; unset ac_script;}
5275 if test -z "$SED"; then
5276 ac_path_SED_found=false
5277 # Loop through the user's path and test for each of PROGNAME-LIST
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir=.
5283 for ac_prog in sed gsed; do
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5286 as_fn_executable_p "$ac_path_SED" || continue
5287 # Check for GNU ac_path_SED and select it if it is found.
5288 # Check for GNU $ac_path_SED
5289 case `"$ac_path_SED" --version 2>&1` in
5291 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5294 $as_echo_n 0123456789 >"conftest.in"
5297 cat "conftest.in" "conftest.in" >"conftest.tmp"
5298 mv "conftest.tmp" "conftest.in"
5299 cp "conftest.in" "conftest.nl"
5300 $as_echo '' >> "conftest.nl"
5301 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5302 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5303 as_fn_arith $ac_count + 1 && ac_count=$as_val
5304 if test $ac_count -gt ${ac_path_SED_max-0}; then
5305 # Best one so far, save it but keep looking for a better one
5306 ac_cv_path_SED="$ac_path_SED"
5307 ac_path_SED_max=$ac_count
5309 # 10*(2^10) chars as input seems more than enough
5310 test $ac_count -gt 10 && break
5312 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5315 $ac_path_SED_found && break 3
5320 if test -z "$ac_cv_path_SED"; then
5321 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5329 $as_echo "$ac_cv_path_SED" >&6; }
5330 SED="$ac_cv_path_SED"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5335 $as_echo_n "checking whether NLS is requested... " >&6; }
5336 # Check whether --enable-nls was given.
5337 if test "${enable_nls+set}" = set; then :
5338 enableval=$enable_nls; USE_NLS=$enableval
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5344 $as_echo "$USE_NLS" >&6; }
5349 GETTEXT_MACRO_VERSION=0.18
5354 # Prepare PATH_SEPARATOR.
5355 # The user is always right.
5356 if test "${PATH_SEPARATOR+set}" != set; then
5357 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5358 # contains only /bin. Note that ksh looks also at the FPATH variable,
5359 # so we have to set that as well for the test.
5361 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5362 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5363 || PATH_SEPARATOR=';'
5367 # Find out how to test for executable files. Don't use a zero-byte file,
5368 # as systems may use methods other than mode bits to determine executability.
5369 cat >conf$$.file <<_ASEOF
5373 chmod +x conf$$.file
5374 if test -x conf$$.file >/dev/null 2>&1; then
5375 ac_executable_p="test -x"
5377 ac_executable_p="test -f"
5381 # Extract the first word of "msgfmt", so it can be a program name with args.
5382 set dummy msgfmt; ac_word=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_path_MSGFMT+:} false; then :
5386 $as_echo_n "(cached) " >&6
5390 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5393 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5394 for ac_dir in $PATH; do
5396 test -z "$ac_dir" && ac_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5399 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5400 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5401 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5402 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5409 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5413 MSGFMT="$ac_cv_path_MSGFMT"
5414 if test "$MSGFMT" != ":"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5416 $as_echo "$MSGFMT" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5422 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5423 set dummy gmsgfmt; ac_word=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if ${ac_cv_path_GMSGFMT+:} false; then :
5427 $as_echo_n "(cached) " >&6
5431 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5453 GMSGFMT=$ac_cv_path_GMSGFMT
5454 if test -n "$GMSGFMT"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5456 $as_echo "$GMSGFMT" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5465 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5466 *) MSGFMT_015=$MSGFMT ;;
5469 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5470 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5471 *) GMSGFMT_015=$GMSGFMT ;;
5476 # Prepare PATH_SEPARATOR.
5477 # The user is always right.
5478 if test "${PATH_SEPARATOR+set}" != set; then
5479 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5480 # contains only /bin. Note that ksh looks also at the FPATH variable,
5481 # so we have to set that as well for the test.
5483 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5484 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5485 || PATH_SEPARATOR=';'
5489 # Find out how to test for executable files. Don't use a zero-byte file,
5490 # as systems may use methods other than mode bits to determine executability.
5491 cat >conf$$.file <<_ASEOF
5495 chmod +x conf$$.file
5496 if test -x conf$$.file >/dev/null 2>&1; then
5497 ac_executable_p="test -x"
5499 ac_executable_p="test -f"
5503 # Extract the first word of "xgettext", so it can be a program name with args.
5504 set dummy xgettext; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_path_XGETTEXT+:} false; then :
5508 $as_echo_n "(cached) " >&6
5512 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5515 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5516 for ac_dir in $PATH; do
5518 test -z "$ac_dir" && ac_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5521 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5522 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5523 (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
5524 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5531 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5535 XGETTEXT="$ac_cv_path_XGETTEXT"
5536 if test "$XGETTEXT" != ":"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5538 $as_echo "$XGETTEXT" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5546 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5547 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5548 *) XGETTEXT_015=$XGETTEXT ;;
5553 # Prepare PATH_SEPARATOR.
5554 # The user is always right.
5555 if test "${PATH_SEPARATOR+set}" != set; then
5556 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5557 # contains only /bin. Note that ksh looks also at the FPATH variable,
5558 # so we have to set that as well for the test.
5560 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5561 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5562 || PATH_SEPARATOR=';'
5566 # Find out how to test for executable files. Don't use a zero-byte file,
5567 # as systems may use methods other than mode bits to determine executability.
5568 cat >conf$$.file <<_ASEOF
5572 chmod +x conf$$.file
5573 if test -x conf$$.file >/dev/null 2>&1; then
5574 ac_executable_p="test -x"
5576 ac_executable_p="test -f"
5580 # Extract the first word of "msgmerge", so it can be a program name with args.
5581 set dummy msgmerge; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_path_MSGMERGE+:} false; then :
5585 $as_echo_n "(cached) " >&6
5589 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5592 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5593 for ac_dir in $PATH; do
5595 test -z "$ac_dir" && ac_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5598 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5599 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5600 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5607 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5611 MSGMERGE="$ac_cv_path_MSGMERGE"
5612 if test "$MSGMERGE" != ":"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5614 $as_echo "$MSGMERGE" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5621 test -n "$localedir" || localedir='${datadir}/locale'
5624 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5627 ac_config_commands="$ac_config_commands po-directories"
5631 if test "X$prefix" = "XNONE"; then
5632 acl_final_prefix="$ac_default_prefix"
5634 acl_final_prefix="$prefix"
5636 if test "X$exec_prefix" = "XNONE"; then
5637 acl_final_exec_prefix='${prefix}'
5639 acl_final_exec_prefix="$exec_prefix"
5641 acl_save_prefix="$prefix"
5642 prefix="$acl_final_prefix"
5643 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5644 prefix="$acl_save_prefix"
5646 # Make sure we can run config.sub.
5647 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5648 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5651 $as_echo_n "checking build system type... " >&6; }
5652 if ${ac_cv_build+:} false; then :
5653 $as_echo_n "(cached) " >&6
5655 ac_build_alias=$build_alias
5656 test "x$ac_build_alias" = x &&
5657 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5658 test "x$ac_build_alias" = x &&
5659 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5660 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5661 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5665 $as_echo "$ac_cv_build" >&6; }
5666 case $ac_cv_build in
5668 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5671 ac_save_IFS=$IFS; IFS='-'
5677 # Remember, the first character of IFS is used to create $*,
5678 # except with old shells:
5681 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5685 $as_echo_n "checking host system type... " >&6; }
5686 if ${ac_cv_host+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 if test "x$host_alias" = x; then
5690 ac_cv_host=$ac_cv_build
5692 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5693 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5698 $as_echo "$ac_cv_host" >&6; }
5701 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5704 ac_save_IFS=$IFS; IFS='-'
5710 # Remember, the first character of IFS is used to create $*,
5711 # except with old shells:
5714 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5719 # Check whether --with-gnu-ld was given.
5720 if test "${with_gnu_ld+set}" = set; then :
5721 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5726 # Prepare PATH_SEPARATOR.
5727 # The user is always right.
5728 if test "${PATH_SEPARATOR+set}" != set; then
5729 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5730 # contains only /bin. Note that ksh looks also at the FPATH variable,
5731 # so we have to set that as well for the test.
5733 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5734 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5735 || PATH_SEPARATOR=';'
5740 if test "$GCC" = yes; then
5741 # Check if gcc -print-prog-name=ld gives a path.
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5743 $as_echo_n "checking for ld used by $CC... " >&6; }
5746 # gcc leaves a trailing carriage return which upsets mingw
5747 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5749 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5752 # Accept absolute paths.
5754 re_direlt='/[^/][^/]*/\.\./'
5755 # Canonicalize the pathname of ld
5756 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5757 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
5758 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5760 test -z "$LD" && LD="$ac_prog"
5763 # If it fails, then pretend we aren't using GCC.
5767 # If it is relative, then search for the first ld in PATH.
5771 elif test "$with_gnu_ld" = yes; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5773 $as_echo_n "checking for GNU ld... " >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5776 $as_echo_n "checking for non-GNU ld... " >&6; }
5778 if ${acl_cv_path_LD+:} false; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -z "$LD"; then
5782 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5783 for ac_dir in $PATH; do
5785 test -z "$ac_dir" && ac_dir=.
5786 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5787 acl_cv_path_LD="$ac_dir/$ac_prog"
5788 # Check to see if the program is GNU ld. I'd rather use --version,
5789 # but apparently some variants of GNU ld only accept -v.
5790 # Break only if it was the GNU/non-GNU ld that we prefer.
5791 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5792 *GNU* | *'with BFD'*)
5793 test "$with_gnu_ld" != no && break
5796 test "$with_gnu_ld" != yes && break
5803 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5807 LD="$acl_cv_path_LD"
5808 if test -n "$LD"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5810 $as_echo "$LD" >&6; }
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5815 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5817 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5818 if ${acl_cv_prog_gnu_ld+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5822 case `$LD -v 2>&1 </dev/null` in
5823 *GNU* | *'with BFD'*)
5824 acl_cv_prog_gnu_ld=yes
5827 acl_cv_prog_gnu_ld=no
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5832 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5833 with_gnu_ld=$acl_cv_prog_gnu_ld
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5839 $as_echo_n "checking for shared library run path origin... " >&6; }
5840 if ${acl_cv_rpath+:} false; then :
5841 $as_echo_n "(cached) " >&6
5844 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5845 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5852 $as_echo "$acl_cv_rpath" >&6; }
5854 acl_libext="$acl_cv_libext"
5855 acl_shlibext="$acl_cv_shlibext"
5856 acl_libname_spec="$acl_cv_libname_spec"
5857 acl_library_names_spec="$acl_cv_library_names_spec"
5858 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5859 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5860 acl_hardcode_direct="$acl_cv_hardcode_direct"
5861 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5862 # Check whether --enable-rpath was given.
5863 if test "${enable_rpath+set}" = set; then :
5864 enableval=$enable_rpath; :
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5877 $as_echo_n "checking for 64-bit host... " >&6; }
5878 if ${gl_cv_solaris_64bit+:} false; then :
5879 $as_echo_n "(cached) " >&6
5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5890 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5891 gl_cv_solaris_64bit=yes
5893 gl_cv_solaris_64bit=no
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5900 $as_echo "$gl_cv_solaris_64bit" >&6; }
5901 if test $gl_cv_solaris_64bit = yes; then
5902 acl_libdirstem=lib/64
5904 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5905 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5910 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5911 if test -n "$searchpath"; then
5912 acl_save_IFS="${IFS= }"; IFS=":"
5913 for searchdir in $searchpath; do
5914 if test -d "$searchdir"; then
5915 case "$searchdir" in
5916 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5918 # Better ignore directories of this form. They are misleading.
5920 *) searchdir=`cd "$searchdir" && pwd`
5921 case "$searchdir" in
5922 */lib64 ) acl_libdirstem=lib64 ;;
5931 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5946 acl_save_prefix="$prefix"
5947 prefix="$acl_final_prefix"
5948 acl_save_exec_prefix="$exec_prefix"
5949 exec_prefix="$acl_final_exec_prefix"
5951 eval additional_includedir=\"$includedir\"
5952 eval additional_libdir=\"$libdir\"
5954 exec_prefix="$acl_save_exec_prefix"
5955 prefix="$acl_save_prefix"
5958 # Check whether --with-libiconv-prefix was given.
5959 if test "${with_libiconv_prefix+set}" = set; then :
5960 withval=$with_libiconv_prefix;
5961 if test "X$withval" = "Xno"; then
5964 if test "X$withval" = "X"; then
5966 acl_save_prefix="$prefix"
5967 prefix="$acl_final_prefix"
5968 acl_save_exec_prefix="$exec_prefix"
5969 exec_prefix="$acl_final_exec_prefix"
5971 eval additional_includedir=\"$includedir\"
5972 eval additional_libdir=\"$libdir\"
5974 exec_prefix="$acl_save_exec_prefix"
5975 prefix="$acl_save_prefix"
5978 additional_includedir="$withval/include"
5979 additional_libdir="$withval/$acl_libdirstem"
5980 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5981 && ! test -d "$withval/$acl_libdirstem"; then
5982 additional_libdir="$withval/$acl_libdirstem2"
5996 names_already_handled=
5997 names_next_round='iconv '
5998 while test -n "$names_next_round"; do
5999 names_this_round="$names_next_round"
6001 for name in $names_this_round; do
6003 for n in $names_already_handled; do
6004 if test "$n" = "$name"; then
6009 if test -z "$already_handled"; then
6010 names_already_handled="$names_already_handled $name"
6011 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6012 eval value=\"\$HAVE_LIB$uppername\"
6013 if test -n "$value"; then
6014 if test "$value" = yes; then
6015 eval value=\"\$LIB$uppername\"
6016 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
6017 eval value=\"\$LTLIB$uppername\"
6018 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
6027 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6028 if test -n "$acl_shlibext"; then
6029 shrext=".$acl_shlibext" # typically: shrext=.so
6033 if test $use_additional = yes; then
6034 dir="$additional_libdir"
6035 if test -n "$acl_shlibext"; then
6036 if test -f "$dir/$libname$shrext"; then
6038 found_so="$dir/$libname$shrext"
6040 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6041 ver=`(cd "$dir" && \
6042 for f in "$libname$shrext".*; do echo "$f"; done \
6043 | sed -e "s,^$libname$shrext\\\\.,," \
6044 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6045 | sed 1q ) 2>/dev/null`
6046 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6048 found_so="$dir/$libname$shrext.$ver"
6051 eval library_names=\"$acl_library_names_spec\"
6052 for f in $library_names; do
6053 if test -f "$dir/$f"; then
6062 if test "X$found_dir" = "X"; then
6063 if test -f "$dir/$libname.$acl_libext"; then
6065 found_a="$dir/$libname.$acl_libext"
6068 if test "X$found_dir" != "X"; then
6069 if test -f "$dir/$libname.la"; then
6070 found_la="$dir/$libname.la"
6074 if test "X$found_dir" = "X"; then
6075 for x in $LDFLAGS $LTLIBICONV; do
6077 acl_save_prefix="$prefix"
6078 prefix="$acl_final_prefix"
6079 acl_save_exec_prefix="$exec_prefix"
6080 exec_prefix="$acl_final_exec_prefix"
6082 exec_prefix="$acl_save_exec_prefix"
6083 prefix="$acl_save_prefix"
6087 dir=`echo "X$x" | sed -e 's/^X-L//'`
6088 if test -n "$acl_shlibext"; then
6089 if test -f "$dir/$libname$shrext"; then
6091 found_so="$dir/$libname$shrext"
6093 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6094 ver=`(cd "$dir" && \
6095 for f in "$libname$shrext".*; do echo "$f"; done \
6096 | sed -e "s,^$libname$shrext\\\\.,," \
6097 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6098 | sed 1q ) 2>/dev/null`
6099 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6101 found_so="$dir/$libname$shrext.$ver"
6104 eval library_names=\"$acl_library_names_spec\"
6105 for f in $library_names; do
6106 if test -f "$dir/$f"; then
6115 if test "X$found_dir" = "X"; then
6116 if test -f "$dir/$libname.$acl_libext"; then
6118 found_a="$dir/$libname.$acl_libext"
6121 if test "X$found_dir" != "X"; then
6122 if test -f "$dir/$libname.la"; then
6123 found_la="$dir/$libname.la"
6128 if test "X$found_dir" != "X"; then
6133 if test "X$found_dir" != "X"; then
6134 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6135 if test "X$found_so" != "X"; then
6136 if test "$enable_rpath" = no \
6137 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6138 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6139 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6142 for x in $ltrpathdirs; do
6143 if test "X$x" = "X$found_dir"; then
6148 if test -z "$haveit"; then
6149 ltrpathdirs="$ltrpathdirs $found_dir"
6151 if test "$acl_hardcode_direct" = yes; then
6152 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6154 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6155 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6157 for x in $rpathdirs; do
6158 if test "X$x" = "X$found_dir"; then
6163 if test -z "$haveit"; then
6164 rpathdirs="$rpathdirs $found_dir"
6168 for x in $LDFLAGS $LIBICONV; do
6170 acl_save_prefix="$prefix"
6171 prefix="$acl_final_prefix"
6172 acl_save_exec_prefix="$exec_prefix"
6173 exec_prefix="$acl_final_exec_prefix"
6175 exec_prefix="$acl_save_exec_prefix"
6176 prefix="$acl_save_prefix"
6178 if test "X$x" = "X-L$found_dir"; then
6183 if test -z "$haveit"; then
6184 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6186 if test "$acl_hardcode_minus_L" != no; then
6187 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6189 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6195 if test "X$found_a" != "X"; then
6196 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
6198 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6201 additional_includedir=
6202 case "$found_dir" in
6203 */$acl_libdirstem | */$acl_libdirstem/)
6204 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6205 if test "$name" = 'iconv'; then
6206 LIBICONV_PREFIX="$basedir"
6208 additional_includedir="$basedir/include"
6210 */$acl_libdirstem2 | */$acl_libdirstem2/)
6211 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6212 if test "$name" = 'iconv'; then
6213 LIBICONV_PREFIX="$basedir"
6215 additional_includedir="$basedir/include"
6218 if test "X$additional_includedir" != "X"; then
6219 if test "X$additional_includedir" != "X/usr/include"; then
6221 if test "X$additional_includedir" = "X/usr/local/include"; then
6222 if test -n "$GCC"; then
6224 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6228 if test -z "$haveit"; then
6229 for x in $CPPFLAGS $INCICONV; do
6231 acl_save_prefix="$prefix"
6232 prefix="$acl_final_prefix"
6233 acl_save_exec_prefix="$exec_prefix"
6234 exec_prefix="$acl_final_exec_prefix"
6236 exec_prefix="$acl_save_exec_prefix"
6237 prefix="$acl_save_prefix"
6239 if test "X$x" = "X-I$additional_includedir"; then
6244 if test -z "$haveit"; then
6245 if test -d "$additional_includedir"; then
6246 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6252 if test -n "$found_la"; then
6253 save_libdir="$libdir"
6255 */* | *\\*) . "$found_la" ;;
6256 *) . "./$found_la" ;;
6258 libdir="$save_libdir"
6259 for dep in $dependency_libs; do
6262 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6263 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6264 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6266 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6267 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6268 if test -n "$GCC"; then
6270 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6274 if test -z "$haveit"; then
6276 for x in $LDFLAGS $LIBICONV; do
6278 acl_save_prefix="$prefix"
6279 prefix="$acl_final_prefix"
6280 acl_save_exec_prefix="$exec_prefix"
6281 exec_prefix="$acl_final_exec_prefix"
6283 exec_prefix="$acl_save_exec_prefix"
6284 prefix="$acl_save_prefix"
6286 if test "X$x" = "X-L$additional_libdir"; then
6291 if test -z "$haveit"; then
6292 if test -d "$additional_libdir"; then
6293 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6297 for x in $LDFLAGS $LTLIBICONV; do
6299 acl_save_prefix="$prefix"
6300 prefix="$acl_final_prefix"
6301 acl_save_exec_prefix="$exec_prefix"
6302 exec_prefix="$acl_final_exec_prefix"
6304 exec_prefix="$acl_save_exec_prefix"
6305 prefix="$acl_save_prefix"
6307 if test "X$x" = "X-L$additional_libdir"; then
6312 if test -z "$haveit"; then
6313 if test -d "$additional_libdir"; then
6314 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6321 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6322 if test "$enable_rpath" != no; then
6324 for x in $rpathdirs; do
6325 if test "X$x" = "X$dir"; then
6330 if test -z "$haveit"; then
6331 rpathdirs="$rpathdirs $dir"
6334 for x in $ltrpathdirs; do
6335 if test "X$x" = "X$dir"; then
6340 if test -z "$haveit"; then
6341 ltrpathdirs="$ltrpathdirs $dir"
6346 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6349 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6352 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6353 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6359 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6360 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6366 if test "X$rpathdirs" != "X"; then
6367 if test -n "$acl_hardcode_libdir_separator"; then
6369 for found_dir in $rpathdirs; do
6370 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6372 acl_save_libdir="$libdir"
6374 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6375 libdir="$acl_save_libdir"
6376 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6378 for found_dir in $rpathdirs; do
6379 acl_save_libdir="$libdir"
6381 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6382 libdir="$acl_save_libdir"
6383 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6387 if test "X$ltrpathdirs" != "X"; then
6388 for found_dir in $ltrpathdirs; do
6389 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6424 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6425 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
6426 $as_echo_n "(cached) " >&6
6428 gt_save_LIBS="$LIBS"
6429 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #include <CoreFoundation/CFPreferences.h>
6436 CFPreferencesCopyAppValue(NULL, NULL)
6441 if ac_fn_c_try_link "$LINENO"; then :
6442 gt_cv_func_CFPreferencesCopyAppValue=yes
6444 gt_cv_func_CFPreferencesCopyAppValue=no
6446 rm -f core conftest.err conftest.$ac_objext \
6447 conftest$ac_exeext conftest.$ac_ext
6448 LIBS="$gt_save_LIBS"
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6451 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6452 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6454 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6458 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6459 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6460 $as_echo_n "(cached) " >&6
6462 gt_save_LIBS="$LIBS"
6463 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6466 #include <CoreFoundation/CFLocale.h>
6470 CFLocaleCopyCurrent();
6475 if ac_fn_c_try_link "$LINENO"; then :
6476 gt_cv_func_CFLocaleCopyCurrent=yes
6478 gt_cv_func_CFLocaleCopyCurrent=no
6480 rm -f core conftest.err conftest.$ac_objext \
6481 conftest$ac_exeext conftest.$ac_ext
6482 LIBS="$gt_save_LIBS"
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6485 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6486 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6488 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6492 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6493 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6505 case " $gt_needs " in
6506 *" need-formatstring-macros "*) gt_api_version=3 ;;
6507 *" need-ngettext "*) gt_api_version=2 ;;
6508 *) gt_api_version=1 ;;
6510 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6511 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6513 if test "$USE_NLS" = "yes"; then
6514 gt_use_preinstalled_gnugettext=no
6517 if test $gt_api_version -ge 3; then
6518 gt_revision_test_code='
6519 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6520 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6522 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6525 gt_revision_test_code=
6527 if test $gt_api_version -ge 2; then
6528 gt_expression_test_code=' + * ngettext ("", "", 0)'
6530 gt_expression_test_code=
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6534 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6535 if eval \${$gt_func_gnugettext_libc+:} false; then :
6536 $as_echo_n "(cached) " >&6
6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6541 #include <libintl.h>
6542 $gt_revision_test_code
6543 extern int _nl_msg_cat_cntr;
6544 extern int *_nl_domain_bindings;
6550 bindtextdomain ("", "");
6551 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6557 if ac_fn_c_try_link "$LINENO"; then :
6558 eval "$gt_func_gnugettext_libc=yes"
6560 eval "$gt_func_gnugettext_libc=no"
6562 rm -f core conftest.err conftest.$ac_objext \
6563 conftest$ac_exeext conftest.$ac_ext
6565 eval ac_res=\$$gt_func_gnugettext_libc
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6567 $as_echo "$ac_res" >&6; }
6569 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6575 am_save_CPPFLAGS="$CPPFLAGS"
6577 for element in $INCICONV; do
6579 for x in $CPPFLAGS; do
6581 acl_save_prefix="$prefix"
6582 prefix="$acl_final_prefix"
6583 acl_save_exec_prefix="$exec_prefix"
6584 exec_prefix="$acl_final_exec_prefix"
6586 exec_prefix="$acl_save_exec_prefix"
6587 prefix="$acl_save_prefix"
6589 if test "X$x" = "X$element"; then
6594 if test -z "$haveit"; then
6595 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6601 $as_echo_n "checking for iconv... " >&6; }
6602 if ${am_cv_func_iconv+:} false; then :
6603 $as_echo_n "(cached) " >&6
6606 am_cv_func_iconv="no, consider installing GNU libiconv"
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6617 iconv_t cd = iconv_open("","");
6618 iconv(cd,NULL,NULL,NULL,NULL);
6624 if ac_fn_c_try_link "$LINENO"; then :
6625 am_cv_func_iconv=yes
6627 rm -f core conftest.err conftest.$ac_objext \
6628 conftest$ac_exeext conftest.$ac_ext
6629 if test "$am_cv_func_iconv" != yes; then
6630 am_save_LIBS="$LIBS"
6631 LIBS="$LIBS $LIBICONV"
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6641 iconv_t cd = iconv_open("","");
6642 iconv(cd,NULL,NULL,NULL,NULL);
6648 if ac_fn_c_try_link "$LINENO"; then :
6650 am_cv_func_iconv=yes
6652 rm -f core conftest.err conftest.$ac_objext \
6653 conftest$ac_exeext conftest.$ac_ext
6654 LIBS="$am_save_LIBS"
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6659 $as_echo "$am_cv_func_iconv" >&6; }
6660 if test "$am_cv_func_iconv" = yes; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6662 $as_echo_n "checking for working iconv... " >&6; }
6663 if ${am_cv_func_iconv_works+:} false; then :
6664 $as_echo_n "(cached) " >&6
6667 am_save_LIBS="$LIBS"
6668 if test $am_cv_lib_iconv = yes; then
6669 LIBS="$LIBS $LIBICONV"
6671 if test "$cross_compiling" = yes; then :
6674 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6675 *) am_cv_func_iconv_works="guessing yes" ;;
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6687 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6690 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6691 if (cd_utf8_to_88591 != (iconv_t)(-1))
6693 static const char input[] = "\342\202\254"; /* EURO SIGN */
6695 const char *inptr = input;
6696 size_t inbytesleft = strlen (input);
6698 size_t outbytesleft = sizeof (buf);
6699 size_t res = iconv (cd_utf8_to_88591,
6700 (char **) &inptr, &inbytesleft,
6701 &outptr, &outbytesleft);
6704 iconv_close (cd_utf8_to_88591);
6707 /* Test against Solaris 10 bug: Failures are not distinguishable from
6708 successful returns. */
6710 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6711 if (cd_ascii_to_88591 != (iconv_t)(-1))
6713 static const char input[] = "\263";
6715 const char *inptr = input;
6716 size_t inbytesleft = strlen (input);
6718 size_t outbytesleft = sizeof (buf);
6719 size_t res = iconv (cd_ascii_to_88591,
6720 (char **) &inptr, &inbytesleft,
6721 &outptr, &outbytesleft);
6724 iconv_close (cd_ascii_to_88591);
6727 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6729 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6730 if (cd_88591_to_utf8 != (iconv_t)(-1))
6732 static const char input[] = "\304";
6733 static char buf[2] = { (char)0xDE, (char)0xAD };
6734 const char *inptr = input;
6735 size_t inbytesleft = 1;
6737 size_t outbytesleft = 1;
6738 size_t res = iconv (cd_88591_to_utf8,
6739 (char **) &inptr, &inbytesleft,
6740 &outptr, &outbytesleft);
6741 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6743 iconv_close (cd_88591_to_utf8);
6746 #if 0 /* This bug could be worked around by the caller. */
6747 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6749 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6750 if (cd_88591_to_utf8 != (iconv_t)(-1))
6752 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6754 const char *inptr = input;
6755 size_t inbytesleft = strlen (input);
6757 size_t outbytesleft = sizeof (buf);
6758 size_t res = iconv (cd_88591_to_utf8,
6759 (char **) &inptr, &inbytesleft,
6760 &outptr, &outbytesleft);
6763 iconv_close (cd_88591_to_utf8);
6767 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6769 if (/* Try standardized names. */
6770 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6771 /* Try IRIX, OSF/1 names. */
6772 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6773 /* Try AIX names. */
6774 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6775 /* Try HP-UX names. */
6776 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6781 if ac_fn_c_try_run "$LINENO"; then :
6782 am_cv_func_iconv_works=yes
6784 am_cv_func_iconv_works=no
6786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6787 conftest.$ac_objext conftest.beam conftest.$ac_ext
6790 LIBS="$am_save_LIBS"
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6794 $as_echo "$am_cv_func_iconv_works" >&6; }
6795 case "$am_cv_func_iconv_works" in
6796 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6797 *) am_func_iconv=yes ;;
6800 am_func_iconv=no am_cv_lib_iconv=no
6802 if test "$am_func_iconv" = yes; then
6804 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6807 if test "$am_cv_lib_iconv" = yes; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6809 $as_echo_n "checking how to link with libiconv... " >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6811 $as_echo "$LIBICONV" >&6; }
6813 CPPFLAGS="$am_save_CPPFLAGS"
6830 acl_save_prefix="$prefix"
6831 prefix="$acl_final_prefix"
6832 acl_save_exec_prefix="$exec_prefix"
6833 exec_prefix="$acl_final_exec_prefix"
6835 eval additional_includedir=\"$includedir\"
6836 eval additional_libdir=\"$libdir\"
6838 exec_prefix="$acl_save_exec_prefix"
6839 prefix="$acl_save_prefix"
6842 # Check whether --with-libintl-prefix was given.
6843 if test "${with_libintl_prefix+set}" = set; then :
6844 withval=$with_libintl_prefix;
6845 if test "X$withval" = "Xno"; then
6848 if test "X$withval" = "X"; then
6850 acl_save_prefix="$prefix"
6851 prefix="$acl_final_prefix"
6852 acl_save_exec_prefix="$exec_prefix"
6853 exec_prefix="$acl_final_exec_prefix"
6855 eval additional_includedir=\"$includedir\"
6856 eval additional_libdir=\"$libdir\"
6858 exec_prefix="$acl_save_exec_prefix"
6859 prefix="$acl_save_prefix"
6862 additional_includedir="$withval/include"
6863 additional_libdir="$withval/$acl_libdirstem"
6864 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6865 && ! test -d "$withval/$acl_libdirstem"; then
6866 additional_libdir="$withval/$acl_libdirstem2"
6880 names_already_handled=
6881 names_next_round='intl '
6882 while test -n "$names_next_round"; do
6883 names_this_round="$names_next_round"
6885 for name in $names_this_round; do
6887 for n in $names_already_handled; do
6888 if test "$n" = "$name"; then
6893 if test -z "$already_handled"; then
6894 names_already_handled="$names_already_handled $name"
6895 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6896 eval value=\"\$HAVE_LIB$uppername\"
6897 if test -n "$value"; then
6898 if test "$value" = yes; then
6899 eval value=\"\$LIB$uppername\"
6900 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6901 eval value=\"\$LTLIB$uppername\"
6902 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6911 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6912 if test -n "$acl_shlibext"; then
6913 shrext=".$acl_shlibext" # typically: shrext=.so
6917 if test $use_additional = yes; then
6918 dir="$additional_libdir"
6919 if test -n "$acl_shlibext"; then
6920 if test -f "$dir/$libname$shrext"; then
6922 found_so="$dir/$libname$shrext"
6924 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6925 ver=`(cd "$dir" && \
6926 for f in "$libname$shrext".*; do echo "$f"; done \
6927 | sed -e "s,^$libname$shrext\\\\.,," \
6928 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6929 | sed 1q ) 2>/dev/null`
6930 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6932 found_so="$dir/$libname$shrext.$ver"
6935 eval library_names=\"$acl_library_names_spec\"
6936 for f in $library_names; do
6937 if test -f "$dir/$f"; then
6946 if test "X$found_dir" = "X"; then
6947 if test -f "$dir/$libname.$acl_libext"; then
6949 found_a="$dir/$libname.$acl_libext"
6952 if test "X$found_dir" != "X"; then
6953 if test -f "$dir/$libname.la"; then
6954 found_la="$dir/$libname.la"
6958 if test "X$found_dir" = "X"; then
6959 for x in $LDFLAGS $LTLIBINTL; do
6961 acl_save_prefix="$prefix"
6962 prefix="$acl_final_prefix"
6963 acl_save_exec_prefix="$exec_prefix"
6964 exec_prefix="$acl_final_exec_prefix"
6966 exec_prefix="$acl_save_exec_prefix"
6967 prefix="$acl_save_prefix"
6971 dir=`echo "X$x" | sed -e 's/^X-L//'`
6972 if test -n "$acl_shlibext"; then
6973 if test -f "$dir/$libname$shrext"; then
6975 found_so="$dir/$libname$shrext"
6977 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6978 ver=`(cd "$dir" && \
6979 for f in "$libname$shrext".*; do echo "$f"; done \
6980 | sed -e "s,^$libname$shrext\\\\.,," \
6981 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6982 | sed 1q ) 2>/dev/null`
6983 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6985 found_so="$dir/$libname$shrext.$ver"
6988 eval library_names=\"$acl_library_names_spec\"
6989 for f in $library_names; do
6990 if test -f "$dir/$f"; then
6999 if test "X$found_dir" = "X"; then
7000 if test -f "$dir/$libname.$acl_libext"; then
7002 found_a="$dir/$libname.$acl_libext"
7005 if test "X$found_dir" != "X"; then
7006 if test -f "$dir/$libname.la"; then
7007 found_la="$dir/$libname.la"
7012 if test "X$found_dir" != "X"; then
7017 if test "X$found_dir" != "X"; then
7018 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
7019 if test "X$found_so" != "X"; then
7020 if test "$enable_rpath" = no \
7021 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7022 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7023 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7026 for x in $ltrpathdirs; do
7027 if test "X$x" = "X$found_dir"; then
7032 if test -z "$haveit"; then
7033 ltrpathdirs="$ltrpathdirs $found_dir"
7035 if test "$acl_hardcode_direct" = yes; then
7036 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7038 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7039 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7041 for x in $rpathdirs; do
7042 if test "X$x" = "X$found_dir"; then
7047 if test -z "$haveit"; then
7048 rpathdirs="$rpathdirs $found_dir"
7052 for x in $LDFLAGS $LIBINTL; do
7054 acl_save_prefix="$prefix"
7055 prefix="$acl_final_prefix"
7056 acl_save_exec_prefix="$exec_prefix"
7057 exec_prefix="$acl_final_exec_prefix"
7059 exec_prefix="$acl_save_exec_prefix"
7060 prefix="$acl_save_prefix"
7062 if test "X$x" = "X-L$found_dir"; then
7067 if test -z "$haveit"; then
7068 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
7070 if test "$acl_hardcode_minus_L" != no; then
7071 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7073 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7079 if test "X$found_a" != "X"; then
7080 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
7082 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
7085 additional_includedir=
7086 case "$found_dir" in
7087 */$acl_libdirstem | */$acl_libdirstem/)
7088 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7089 if test "$name" = 'intl'; then
7090 LIBINTL_PREFIX="$basedir"
7092 additional_includedir="$basedir/include"
7094 */$acl_libdirstem2 | */$acl_libdirstem2/)
7095 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7096 if test "$name" = 'intl'; then
7097 LIBINTL_PREFIX="$basedir"
7099 additional_includedir="$basedir/include"
7102 if test "X$additional_includedir" != "X"; then
7103 if test "X$additional_includedir" != "X/usr/include"; then
7105 if test "X$additional_includedir" = "X/usr/local/include"; then
7106 if test -n "$GCC"; then
7108 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7112 if test -z "$haveit"; then
7113 for x in $CPPFLAGS $INCINTL; do
7115 acl_save_prefix="$prefix"
7116 prefix="$acl_final_prefix"
7117 acl_save_exec_prefix="$exec_prefix"
7118 exec_prefix="$acl_final_exec_prefix"
7120 exec_prefix="$acl_save_exec_prefix"
7121 prefix="$acl_save_prefix"
7123 if test "X$x" = "X-I$additional_includedir"; then
7128 if test -z "$haveit"; then
7129 if test -d "$additional_includedir"; then
7130 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7136 if test -n "$found_la"; then
7137 save_libdir="$libdir"
7139 */* | *\\*) . "$found_la" ;;
7140 *) . "./$found_la" ;;
7142 libdir="$save_libdir"
7143 for dep in $dependency_libs; do
7146 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7147 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7148 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7150 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7151 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7152 if test -n "$GCC"; then
7154 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7158 if test -z "$haveit"; then
7160 for x in $LDFLAGS $LIBINTL; do
7162 acl_save_prefix="$prefix"
7163 prefix="$acl_final_prefix"
7164 acl_save_exec_prefix="$exec_prefix"
7165 exec_prefix="$acl_final_exec_prefix"
7167 exec_prefix="$acl_save_exec_prefix"
7168 prefix="$acl_save_prefix"
7170 if test "X$x" = "X-L$additional_libdir"; then
7175 if test -z "$haveit"; then
7176 if test -d "$additional_libdir"; then
7177 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
7181 for x in $LDFLAGS $LTLIBINTL; do
7183 acl_save_prefix="$prefix"
7184 prefix="$acl_final_prefix"
7185 acl_save_exec_prefix="$exec_prefix"
7186 exec_prefix="$acl_final_exec_prefix"
7188 exec_prefix="$acl_save_exec_prefix"
7189 prefix="$acl_save_prefix"
7191 if test "X$x" = "X-L$additional_libdir"; then
7196 if test -z "$haveit"; then
7197 if test -d "$additional_libdir"; then
7198 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
7205 dir=`echo "X$dep" | sed -e 's/^X-R//'`
7206 if test "$enable_rpath" != no; then
7208 for x in $rpathdirs; do
7209 if test "X$x" = "X$dir"; then
7214 if test -z "$haveit"; then
7215 rpathdirs="$rpathdirs $dir"
7218 for x in $ltrpathdirs; do
7219 if test "X$x" = "X$dir"; then
7224 if test -z "$haveit"; then
7225 ltrpathdirs="$ltrpathdirs $dir"
7230 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7233 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7236 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
7237 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7243 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7244 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7250 if test "X$rpathdirs" != "X"; then
7251 if test -n "$acl_hardcode_libdir_separator"; then
7253 for found_dir in $rpathdirs; do
7254 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7256 acl_save_libdir="$libdir"
7258 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7259 libdir="$acl_save_libdir"
7260 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7262 for found_dir in $rpathdirs; do
7263 acl_save_libdir="$libdir"
7265 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7266 libdir="$acl_save_libdir"
7267 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7271 if test "X$ltrpathdirs" != "X"; then
7272 for found_dir in $ltrpathdirs; do
7273 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7283 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7284 if eval \${$gt_func_gnugettext_libintl+:} false; then :
7285 $as_echo_n "(cached) " >&6
7287 gt_save_CPPFLAGS="$CPPFLAGS"
7288 CPPFLAGS="$CPPFLAGS $INCINTL"
7289 gt_save_LIBS="$LIBS"
7290 LIBS="$LIBS $LIBINTL"
7291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292 /* end confdefs.h. */
7294 #include <libintl.h>
7295 $gt_revision_test_code
7296 extern int _nl_msg_cat_cntr;
7301 const char *_nl_expand_alias (const char *);
7307 bindtextdomain ("", "");
7308 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7314 if ac_fn_c_try_link "$LINENO"; then :
7315 eval "$gt_func_gnugettext_libintl=yes"
7317 eval "$gt_func_gnugettext_libintl=no"
7319 rm -f core conftest.err conftest.$ac_objext \
7320 conftest$ac_exeext conftest.$ac_ext
7321 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7322 LIBS="$LIBS $LIBICONV"
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7326 #include <libintl.h>
7327 $gt_revision_test_code
7328 extern int _nl_msg_cat_cntr;
7333 const char *_nl_expand_alias (const char *);
7339 bindtextdomain ("", "");
7340 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7346 if ac_fn_c_try_link "$LINENO"; then :
7347 LIBINTL="$LIBINTL $LIBICONV"
7348 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7349 eval "$gt_func_gnugettext_libintl=yes"
7352 rm -f core conftest.err conftest.$ac_objext \
7353 conftest$ac_exeext conftest.$ac_ext
7355 CPPFLAGS="$gt_save_CPPFLAGS"
7356 LIBS="$gt_save_LIBS"
7358 eval ac_res=\$$gt_func_gnugettext_libintl
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7360 $as_echo "$ac_res" >&6; }
7363 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7364 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7365 && test "$PACKAGE" != gettext-runtime \
7366 && test "$PACKAGE" != gettext-tools; }; then
7367 gt_use_preinstalled_gnugettext=yes
7376 if test -n "$INTL_MACOSX_LIBS"; then
7377 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7378 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7379 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7380 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7384 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7385 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7387 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7395 $as_echo_n "checking whether to use NLS... " >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7397 $as_echo "$USE_NLS" >&6; }
7398 if test "$USE_NLS" = "yes"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7400 $as_echo_n "checking where the gettext function comes from... " >&6; }
7401 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7402 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7403 gt_source="external libintl"
7408 gt_source="included intl directory"
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7411 $as_echo "$gt_source" >&6; }
7414 if test "$USE_NLS" = "yes"; then
7416 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7417 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7419 $as_echo_n "checking how to link with libintl... " >&6; }
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7421 $as_echo "$LIBINTL" >&6; }
7423 for element in $INCINTL; do
7425 for x in $CPPFLAGS; do
7427 acl_save_prefix="$prefix"
7428 prefix="$acl_final_prefix"
7429 acl_save_exec_prefix="$exec_prefix"
7430 exec_prefix="$acl_final_exec_prefix"
7432 exec_prefix="$acl_save_exec_prefix"
7433 prefix="$acl_save_prefix"
7435 if test "X$x" = "X$element"; then
7440 if test -z "$haveit"; then
7441 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7448 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7451 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7469 # Extract the first word of "gconftool-2", so it can be a program name with args.
7470 set dummy gconftool-2; ac_word=$2
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7472 $as_echo_n "checking for $ac_word... " >&6; }
7473 if ${ac_cv_path_GCONFTOOL+:} false; then :
7474 $as_echo_n "(cached) " >&6
7478 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
7500 GCONFTOOL=$ac_cv_path_GCONFTOOL
7501 if test -n "$GCONFTOOL"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
7503 $as_echo "$GCONFTOOL" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7511 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
7512 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
7514 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
7518 # Check whether --with-gconf-source was given.
7519 if test "${with_gconf_source+set}" = set; then :
7520 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
7526 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
7528 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
7529 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
7533 # Check whether --with-gconf-schema-file-dir was given.
7534 if test "${with_gconf_schema_file_dir+set}" = set; then :
7535 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
7541 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
7543 # Check whether --enable-schemas-install was given.
7544 if test "${enable_schemas_install+set}" = set; then :
7545 enableval=$enable_schemas_install; case ${enableval} in
7547 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
7551 if test "$enable_schemas_install" != no; then
7552 GCONF_SCHEMAS_INSTALL_TRUE=
7553 GCONF_SCHEMAS_INSTALL_FALSE='#'
7555 GCONF_SCHEMAS_INSTALL_TRUE='#'
7556 GCONF_SCHEMAS_INSTALL_FALSE=
7564 # Check whether --enable-schemas-compile was given.
7565 if test "${enable_schemas_compile+set}" = set; then :
7566 enableval=$enable_schemas_compile; case ${enableval} in
7567 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
7568 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
7569 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
7581 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7588 $as_echo_n "(cached) " >&6
7592 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7614 if test -n "$PKG_CONFIG"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7616 $as_echo "$PKG_CONFIG" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7624 if test -z "$ac_cv_path_PKG_CONFIG"; then
7625 ac_pt_PKG_CONFIG=$PKG_CONFIG
7626 # Extract the first word of "pkg-config", so it can be a program name with args.
7627 set dummy pkg-config; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7631 $as_echo_n "(cached) " >&6
7633 case $ac_pt_PKG_CONFIG in
7635 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7657 if test -n "$ac_pt_PKG_CONFIG"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7659 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7665 if test "x$ac_pt_PKG_CONFIG" = x; then
7668 case $cross_compiling:$ac_tool_warned in
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7672 ac_tool_warned=yes ;;
7674 PKG_CONFIG=$ac_pt_PKG_CONFIG
7677 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7681 if test -n "$PKG_CONFIG"; then
7682 _pkg_min_version=0.16
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7684 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7685 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7687 $as_echo "yes" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7694 gsettingsschemadir=${datadir}/glib-2.0/schemas
7696 if test x$cross_compiling != xyes; then
7697 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
7699 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
7700 set dummy glib-compile-schemas; ac_word=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702 $as_echo_n "checking for $ac_word... " >&6; }
7703 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
7704 $as_echo_n "(cached) " >&6
7706 case $GLIB_COMPILE_SCHEMAS in
7708 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
7711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 test -z "$as_dir" && as_dir=.
7716 for ac_exec_ext in '' $ac_executable_extensions; do
7717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7718 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
7719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
7730 if test -n "$GLIB_COMPILE_SCHEMAS"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
7732 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7741 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
7742 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
7748 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
7750 mostlyclean-am: clean-gsettings-schemas
7752 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7754 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7755 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7757 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7758 uninstall-am: uninstall-gsettings-schemas
7759 install-data-am: install-gsettings-schemas
7761 .SECONDARY: $(gsettings_SCHEMAS)
7763 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7765 if test -n "$^"; then \
7766 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7767 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7768 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7771 uninstall-gsettings-schemas:
7772 @$(NORMAL_UNINSTALL)
7773 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7774 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7775 test -n "$$files" || exit 0; \
7776 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7777 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7778 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7780 clean-gsettings-schemas:
7781 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7783 ifdef gsettings_ENUM_NAMESPACE
7784 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7785 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
7795 ############### common
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7799 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7800 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7801 $as_echo_n "(cached) " >&6
7803 ac_check_lib_save_LIBS=$LIBS
7804 LIBS="-lpthread $LIBS"
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7808 /* Override any GCC internal prototype to avoid an error.
7809 Use char because int might match the return type of a GCC
7810 builtin and then its argument prototype would still apply. */
7814 char pthread_create ();
7818 return pthread_create ();
7823 if ac_fn_c_try_link "$LINENO"; then :
7824 ac_cv_lib_pthread_pthread_create=yes
7826 ac_cv_lib_pthread_pthread_create=no
7828 rm -f core conftest.err conftest.$ac_objext \
7829 conftest$ac_exeext conftest.$ac_ext
7830 LIBS=$ac_check_lib_save_LIBS
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7833 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7834 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7835 cat >>confdefs.h <<_ACEOF
7836 #define HAVE_LIBPTHREAD 1
7839 LIBS="-lpthread $LIBS"
7843 PTHREAD_LIBS=-pthread
7846 # Checks sensors, required by psensor and psensor-server
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7848 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7849 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7850 $as_echo_n "(cached) " >&6
7852 ac_check_lib_save_LIBS=$LIBS
7853 LIBS="-lsensors $LIBS"
7854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h. */
7857 /* Override any GCC internal prototype to avoid an error.
7858 Use char because int might match the return type of a GCC
7859 builtin and then its argument prototype would still apply. */
7863 char sensors_init ();
7867 return sensors_init ();
7872 if ac_fn_c_try_link "$LINENO"; then :
7873 ac_cv_lib_sensors_sensors_init=yes
7875 ac_cv_lib_sensors_sensors_init=no
7877 rm -f core conftest.err conftest.$ac_objext \
7878 conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7882 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7883 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7884 cat >>confdefs.h <<_ACEOF
7885 #define HAVE_LIBSENSORS 1
7888 LIBS="-lsensors $LIBS"
7892 for ac_header in sensors/sensors.h sensors/errors.h
7894 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7896 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7897 cat >>confdefs.h <<_ACEOF
7898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7905 SENSORS_LIBS=-lsensors
7908 ############### psensor
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7915 $as_echo_n "checking for X11... " >&6; }
7917 if test -n "$X11_CFLAGS"; then
7918 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7919 elif test -n "$PKG_CONFIG"; then
7920 if test -n "$PKG_CONFIG" && \
7921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7922 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7925 test $ac_status = 0; }; then
7926 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7927 test "x$?" != "x0" && pkg_failed=yes
7934 if test -n "$X11_LIBS"; then
7935 pkg_cv_X11_LIBS="$X11_LIBS"
7936 elif test -n "$PKG_CONFIG"; then
7937 if test -n "$PKG_CONFIG" && \
7938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7939 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942 test $ac_status = 0; }; then
7943 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7944 test "x$?" != "x0" && pkg_failed=yes
7954 if test $pkg_failed = yes; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956 $as_echo "no" >&6; }
7958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7959 _pkg_short_errors_supported=yes
7961 _pkg_short_errors_supported=no
7963 if test $_pkg_short_errors_supported = yes; then
7964 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7966 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7968 # Put the nasty error message in config.log where it belongs
7969 echo "$X11_PKG_ERRORS" >&5
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7972 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7973 elif test $pkg_failed = untried; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7977 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7979 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7980 X11_LIBS=$pkg_cv_X11_LIBS
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7982 $as_echo "yes" >&6; }
7985 if test -n "$X11_LIBS"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7999 $as_echo_n "checking for XEXT... " >&6; }
8001 if test -n "$XEXT_CFLAGS"; then
8002 pkg_cv_XEXT_CFLAGS="$XEXT_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 \"xext\""; } >&5
8006 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
8008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8009 test $ac_status = 0; }; then
8010 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
8011 test "x$?" != "x0" && pkg_failed=yes
8018 if test -n "$XEXT_LIBS"; then
8019 pkg_cv_XEXT_LIBS="$XEXT_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 \"xext\""; } >&5
8023 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
8025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8026 test $ac_status = 0; }; then
8027 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 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 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
8050 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
8052 # Put the nasty error message in config.log where it belongs
8053 echo "$XEXT_PKG_ERRORS" >&5
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
8056 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&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: \"xext missing psensor will not be built\"" >&5
8061 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
8063 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
8064 XEXT_LIBS=$pkg_cv_XEXT_LIBS
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8066 $as_echo "yes" >&6; }
8069 if test -n "$XEXT_LIBS"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
8084 $as_echo_n "checking for GTK... " >&6; }
8086 if test -n "$GTK_CFLAGS"; then
8087 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
8088 elif test -n "$PKG_CONFIG"; then
8089 if test -n "$PKG_CONFIG" && \
8090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
8091 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
8093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8094 test $ac_status = 0; }; then
8095 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
8096 test "x$?" != "x0" && pkg_failed=yes
8103 if test -n "$GTK_LIBS"; then
8104 pkg_cv_GTK_LIBS="$GTK_LIBS"
8105 elif test -n "$PKG_CONFIG"; then
8106 if test -n "$PKG_CONFIG" && \
8107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
8108 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
8110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8111 test $ac_status = 0; }; then
8112 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
8113 test "x$?" != "x0" && pkg_failed=yes
8123 if test $pkg_failed = yes; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8127 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8128 _pkg_short_errors_supported=yes
8130 _pkg_short_errors_supported=no
8132 if test $_pkg_short_errors_supported = yes; then
8133 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
8135 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
8137 # Put the nasty error message in config.log where it belongs
8138 echo "$GTK_PKG_ERRORS" >&5
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
8141 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
8142 elif test $pkg_failed = untried; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
8146 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
8148 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
8149 GTK_LIBS=$pkg_cv_GTK_LIBS
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8151 $as_echo "yes" >&6; }
8154 if test -n "$GTK_LIBS"; then
8162 # ensure that only allowed headers are included
8163 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
8164 # ensure that no gtk deprecated symbols are used
8165 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
8166 GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
8167 # ensure use of accessors
8168 GTK_CFLAGS+=" -DGSEAL_ENABLE "
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
8176 $as_echo_n "checking for GCONF... " >&6; }
8178 if test -n "$GCONF_CFLAGS"; then
8179 pkg_cv_GCONF_CFLAGS="$GCONF_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 \"gconf-2.0\""; } >&5
8183 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8186 test $ac_status = 0; }; then
8187 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
8188 test "x$?" != "x0" && pkg_failed=yes
8195 if test -n "$GCONF_LIBS"; then
8196 pkg_cv_GCONF_LIBS="$GCONF_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 \"gconf-2.0\""; } >&5
8200 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8203 test $ac_status = 0; }; then
8204 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 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 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
8227 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
8229 # Put the nasty error message in config.log where it belongs
8230 echo "$GCONF_PKG_ERRORS" >&5
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gconf2 missing psensor will not be built\"" >&5
8233 $as_echo "$as_me: WARNING: \"gconf2 missing psensor will not be built\"" >&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: \"gconf2 missing psensor will not be built\"" >&5
8238 $as_echo "$as_me: WARNING: \"gconf2 missing psensor will not be built\"" >&2;}
8240 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
8241 GCONF_LIBS=$pkg_cv_GCONF_LIBS
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8243 $as_echo "yes" >&6; }
8245 $as_echo "#define HAVE_GCONF2 1" >>confdefs.h
8248 if test -n "$GCONF_LIBS"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
8265 $as_echo_n "checking for ATASMART... " >&6; }
8267 if test -n "$ATASMART_CFLAGS"; then
8268 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
8269 elif test -n "$PKG_CONFIG"; then
8270 if test -n "$PKG_CONFIG" && \
8271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
8272 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
8274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8275 test $ac_status = 0; }; then
8276 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
8277 test "x$?" != "x0" && pkg_failed=yes
8284 if test -n "$ATASMART_LIBS"; then
8285 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
8286 elif test -n "$PKG_CONFIG"; then
8287 if test -n "$PKG_CONFIG" && \
8288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
8289 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
8291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8292 test $ac_status = 0; }; then
8293 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
8294 test "x$?" != "x0" && pkg_failed=yes
8304 if test $pkg_failed = yes; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8308 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8309 _pkg_short_errors_supported=yes
8311 _pkg_short_errors_supported=no
8313 if test $_pkg_short_errors_supported = yes; then
8314 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
8316 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
8318 # Put the nasty error message in config.log where it belongs
8319 echo "$ATASMART_PKG_ERRORS" >&5
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
8322 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
8323 elif test $pkg_failed = untried; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 $as_echo "no" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
8327 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
8329 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
8330 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8332 $as_echo "yes" >&6; }
8334 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
8338 if test -n "$ATASMART_LIBS"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
8354 $as_echo_n "checking for LIBNOTIFY... " >&6; }
8356 if test -n "$LIBNOTIFY_CFLAGS"; then
8357 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
8358 elif test -n "$PKG_CONFIG"; then
8359 if test -n "$PKG_CONFIG" && \
8360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
8361 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
8363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8364 test $ac_status = 0; }; then
8365 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
8366 test "x$?" != "x0" && pkg_failed=yes
8373 if test -n "$LIBNOTIFY_LIBS"; then
8374 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
8375 elif test -n "$PKG_CONFIG"; then
8376 if test -n "$PKG_CONFIG" && \
8377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
8378 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8381 test $ac_status = 0; }; then
8382 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
8383 test "x$?" != "x0" && pkg_failed=yes
8393 if test $pkg_failed = yes; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8398 _pkg_short_errors_supported=yes
8400 _pkg_short_errors_supported=no
8402 if test $_pkg_short_errors_supported = yes; then
8403 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
8405 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
8407 # Put the nasty error message in config.log where it belongs
8408 echo "$LIBNOTIFY_PKG_ERRORS" >&5
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
8411 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
8412 elif test $pkg_failed = untried; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
8416 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
8418 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
8419 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8421 $as_echo "yes" >&6; }
8423 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
8426 if test -n "$LIBNOTIFY_LIBS"; then
8437 # Checks AppIndicator
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
8443 $as_echo_n "checking for APPINDICATOR... " >&6; }
8445 if test -n "$APPINDICATOR_CFLAGS"; then
8446 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8447 elif test -n "$PKG_CONFIG"; then
8448 if test -n "$PKG_CONFIG" && \
8449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
8450 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
8452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8453 test $ac_status = 0; }; then
8454 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
8455 test "x$?" != "x0" && pkg_failed=yes
8462 if test -n "$APPINDICATOR_LIBS"; then
8463 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8464 elif test -n "$PKG_CONFIG"; then
8465 if test -n "$PKG_CONFIG" && \
8466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
8467 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
8469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8470 test $ac_status = 0; }; then
8471 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
8472 test "x$?" != "x0" && pkg_failed=yes
8482 if test $pkg_failed = yes; then
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8484 $as_echo "no" >&6; }
8486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8487 _pkg_short_errors_supported=yes
8489 _pkg_short_errors_supported=no
8491 if test $_pkg_short_errors_supported = yes; then
8492 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
8494 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
8496 # Put the nasty error message in config.log where it belongs
8497 echo "$APPINDICATOR_PKG_ERRORS" >&5
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
8500 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
8501 elif test $pkg_failed = untried; then
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8503 $as_echo "no" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
8505 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
8507 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8508 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8510 $as_echo "yes" >&6; }
8512 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8516 if test "$APPINDICATOR_LIBS" == ""; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
8520 $as_echo_n "checking for APPINDICATOR... " >&6; }
8522 if test -n "$APPINDICATOR_CFLAGS"; then
8523 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8524 elif test -n "$PKG_CONFIG"; then
8525 if test -n "$PKG_CONFIG" && \
8526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
8527 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
8529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8530 test $ac_status = 0; }; then
8531 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
8532 test "x$?" != "x0" && pkg_failed=yes
8539 if test -n "$APPINDICATOR_LIBS"; then
8540 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8541 elif test -n "$PKG_CONFIG"; then
8542 if test -n "$PKG_CONFIG" && \
8543 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
8544 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
8546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8547 test $ac_status = 0; }; then
8548 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
8549 test "x$?" != "x0" && pkg_failed=yes
8559 if test $pkg_failed = yes; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8564 _pkg_short_errors_supported=yes
8566 _pkg_short_errors_supported=no
8568 if test $_pkg_short_errors_supported = yes; then
8569 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
8571 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
8573 # Put the nasty error message in config.log where it belongs
8574 echo "$APPINDICATOR_PKG_ERRORS" >&5
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
8577 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
8578 elif test $pkg_failed = untried; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8580 $as_echo "no" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
8582 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
8584 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8585 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8587 $as_echo "yes" >&6; }
8589 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8592 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
8598 if test "$APPINDICATOR_LIBS" == ""; then
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
8602 $as_echo_n "checking for APPINDICATOR... " >&6; }
8604 if test -n "$APPINDICATOR_CFLAGS"; then
8605 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8606 elif test -n "$PKG_CONFIG"; then
8607 if test -n "$PKG_CONFIG" && \
8608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
8609 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
8611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8612 test $ac_status = 0; }; then
8613 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
8614 test "x$?" != "x0" && pkg_failed=yes
8621 if test -n "$APPINDICATOR_LIBS"; then
8622 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8623 elif test -n "$PKG_CONFIG"; then
8624 if test -n "$PKG_CONFIG" && \
8625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
8626 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
8628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8629 test $ac_status = 0; }; then
8630 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
8631 test "x$?" != "x0" && pkg_failed=yes
8641 if test $pkg_failed = yes; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8646 _pkg_short_errors_supported=yes
8648 _pkg_short_errors_supported=no
8650 if test $_pkg_short_errors_supported = yes; then
8651 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
8653 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
8655 # Put the nasty error message in config.log where it belongs
8656 echo "$APPINDICATOR_PKG_ERRORS" >&5
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
8659 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
8660 elif test $pkg_failed = untried; then
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 $as_echo "no" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
8664 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
8666 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8667 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8669 $as_echo "yes" >&6; }
8671 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8675 if test -n "$APPINDICATOR_LIBS"; then
8677 APPINDICATOR_FALSE='#'
8679 APPINDICATOR_TRUE='#'
8686 # Check CURL, needed for remote monitoring
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
8691 $as_echo_n "checking for CURL... " >&6; }
8693 if test -n "$CURL_CFLAGS"; then
8694 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
8695 elif test -n "$PKG_CONFIG"; then
8696 if test -n "$PKG_CONFIG" && \
8697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8698 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8701 test $ac_status = 0; }; then
8702 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
8703 test "x$?" != "x0" && pkg_failed=yes
8710 if test -n "$CURL_LIBS"; then
8711 pkg_cv_CURL_LIBS="$CURL_LIBS"
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 \"libcurl\""; } >&5
8715 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8718 test $ac_status = 0; }; then
8719 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
8720 test "x$?" != "x0" && pkg_failed=yes
8730 if test $pkg_failed = yes; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 $as_echo "no" >&6; }
8734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8735 _pkg_short_errors_supported=yes
8737 _pkg_short_errors_supported=no
8739 if test $_pkg_short_errors_supported = yes; then
8740 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
8742 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
8744 # Put the nasty error message in config.log where it belongs
8745 echo "$CURL_PKG_ERRORS" >&5
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8748 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8749 elif test $pkg_failed = untried; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8751 $as_echo "no" >&6; }
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8753 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8755 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
8756 CURL_LIBS=$pkg_cv_CURL_LIBS
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8758 $as_echo "yes" >&6; }
8760 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8763 if test -n "$CURL_LIBS"; then
8774 # Check JSON, needed for remote monitoring
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8779 $as_echo_n "checking for JSON... " >&6; }
8781 if test -n "$JSON_CFLAGS"; then
8782 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8783 elif test -n "$PKG_CONFIG"; then
8784 if test -n "$PKG_CONFIG" && \
8785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
8786 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
8788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8789 test $ac_status = 0; }; then
8790 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
8791 test "x$?" != "x0" && pkg_failed=yes
8798 if test -n "$JSON_LIBS"; then
8799 pkg_cv_JSON_LIBS="$JSON_LIBS"
8800 elif test -n "$PKG_CONFIG"; then
8801 if test -n "$PKG_CONFIG" && \
8802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
8803 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
8805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8806 test $ac_status = 0; }; then
8807 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
8808 test "x$?" != "x0" && pkg_failed=yes
8818 if test $pkg_failed = yes; then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820 $as_echo "no" >&6; }
8822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8823 _pkg_short_errors_supported=yes
8825 _pkg_short_errors_supported=no
8827 if test $_pkg_short_errors_supported = yes; then
8828 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
8830 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
8832 # Put the nasty error message in config.log where it belongs
8833 echo "$JSON_PKG_ERRORS" >&5
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8836 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8837 elif test $pkg_failed = untried; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8839 $as_echo "no" >&6; }
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8841 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8843 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8844 JSON_LIBS=$pkg_cv_JSON_LIBS
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8846 $as_echo "yes" >&6; }
8848 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8852 if test "$JSON_LIBS" == ""; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8856 $as_echo_n "checking for JSON... " >&6; }
8858 if test -n "$JSON_CFLAGS"; then
8859 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8860 elif test -n "$PKG_CONFIG"; then
8861 if test -n "$PKG_CONFIG" && \
8862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8863 ($PKG_CONFIG --exists --print-errors "json") 2>&5
8865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8866 test $ac_status = 0; }; then
8867 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
8868 test "x$?" != "x0" && pkg_failed=yes
8875 if test -n "$JSON_LIBS"; then
8876 pkg_cv_JSON_LIBS="$JSON_LIBS"
8877 elif test -n "$PKG_CONFIG"; then
8878 if test -n "$PKG_CONFIG" && \
8879 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8880 ($PKG_CONFIG --exists --print-errors "json") 2>&5
8882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8883 test $ac_status = 0; }; then
8884 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
8885 test "x$?" != "x0" && pkg_failed=yes
8895 if test $pkg_failed = yes; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897 $as_echo "no" >&6; }
8899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8900 _pkg_short_errors_supported=yes
8902 _pkg_short_errors_supported=no
8904 if test $_pkg_short_errors_supported = yes; then
8905 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
8907 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
8909 # Put the nasty error message in config.log where it belongs
8910 echo "$JSON_PKG_ERRORS" >&5
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8913 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8914 elif test $pkg_failed = untried; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8918 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8920 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8921 JSON_LIBS=$pkg_cv_JSON_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8923 $as_echo "yes" >&6; }
8925 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8928 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8933 if test -n "$JSON_LIBS"; then
8944 # Enables remote monitoring if JSON and CURL is present
8945 if test -n "$JSON_LIBS"; then
8946 if test -n "$CURL_LIBS"; then
8948 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8954 # following code from sensors-applet
8955 # sensors-applet.sourceforge.net/
8956 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8959 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8960 #include <X11/Xlib.h>
8963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8964 cat >>confdefs.h <<_ACEOF
8965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8972 if test -n "${X11_LIBS}"; then
8973 LIBS="${LIBS} -lX11 -lXext"
8975 if test "${HAVE_NVIDIA}" = "true"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8977 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8978 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8979 $as_echo_n "(cached) " >&6
8981 ac_check_lib_save_LIBS=$LIBS
8982 LIBS="-lXNVCtrl $LIBS"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8992 char XNVCTRLQueryExtension ();
8996 return XNVCTRLQueryExtension ();
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
9004 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
9011 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
9012 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
9013 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
9015 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
9022 if test -n "$NVIDIA_LIBS"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
9037 $as_echo_n "checking for UNITY... " >&6; }
9039 if test -n "$UNITY_CFLAGS"; then
9040 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
9041 elif test -n "$PKG_CONFIG"; then
9042 if test -n "$PKG_CONFIG" && \
9043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
9044 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
9046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9047 test $ac_status = 0; }; then
9048 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
9049 test "x$?" != "x0" && pkg_failed=yes
9056 if test -n "$UNITY_LIBS"; then
9057 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
9058 elif test -n "$PKG_CONFIG"; then
9059 if test -n "$PKG_CONFIG" && \
9060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
9061 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
9063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9064 test $ac_status = 0; }; then
9065 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
9066 test "x$?" != "x0" && pkg_failed=yes
9076 if test $pkg_failed = yes; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078 $as_echo "no" >&6; }
9080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9081 _pkg_short_errors_supported=yes
9083 _pkg_short_errors_supported=no
9085 if test $_pkg_short_errors_supported = yes; then
9086 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
9088 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
9090 # Put the nasty error message in config.log where it belongs
9091 echo "$UNITY_PKG_ERRORS" >&5
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
9094 $as_echo "$as_me: WARNING: Unity not present" >&2;}
9095 elif test $pkg_failed = untried; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
9099 $as_echo "$as_me: WARNING: Unity not present" >&2;}
9101 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
9102 UNITY_LIBS=$pkg_cv_UNITY_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9104 $as_echo "yes" >&6; }
9106 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
9111 if test -n "$UNITY_LIBS"; then
9122 # Check whether --with-libatiadl was given.
9123 if test "${with_libatiadl+set}" = set; then :
9124 withval=$with_libatiadl;
9125 ATIADL_DIR=${withval}
9126 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
9127 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
9133 for ac_header in adl_defines.h
9135 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
9136 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
9137 cat >>confdefs.h <<_ACEOF
9138 #define HAVE_ADL_DEFINES_H 1
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
9141 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
9142 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
9143 $as_echo_n "(cached) " >&6
9145 ac_check_lib_save_LIBS=$LIBS
9146 LIBS="-latiadlxx $LIBS"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9150 /* Override any GCC internal prototype to avoid an error.
9151 Use char because int might match the return type of a GCC
9152 builtin and then its argument prototype would still apply. */
9156 char ADL_Main_Control_Refresh ();
9160 return ADL_Main_Control_Refresh ();
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
9168 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 LIBS=$ac_check_lib_save_LIBS
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
9175 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
9176 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
9179 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
9181 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
9182 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
9191 if test -n "$LIBATIADL_LIBS"; then
9202 ############### psensor-server
9204 # libmicrohttpd, mandatory for psensor-server
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
9209 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
9211 if test -n "$LIBMICROHTTPD_CFLAGS"; then
9212 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
9213 elif test -n "$PKG_CONFIG"; then
9214 if test -n "$PKG_CONFIG" && \
9215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
9216 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
9218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9219 test $ac_status = 0; }; then
9220 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
9221 test "x$?" != "x0" && pkg_failed=yes
9228 if test -n "$LIBMICROHTTPD_LIBS"; then
9229 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
9230 elif test -n "$PKG_CONFIG"; then
9231 if test -n "$PKG_CONFIG" && \
9232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
9233 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
9235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9236 test $ac_status = 0; }; then
9237 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
9238 test "x$?" != "x0" && pkg_failed=yes
9248 if test $pkg_failed = yes; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9250 $as_echo "no" >&6; }
9252 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9253 _pkg_short_errors_supported=yes
9255 _pkg_short_errors_supported=no
9257 if test $_pkg_short_errors_supported = yes; then
9258 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
9260 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
9262 # Put the nasty error message in config.log where it belongs
9263 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
9266 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
9267 elif test $pkg_failed = untried; then
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9269 $as_echo "no" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
9271 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
9273 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
9274 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9276 $as_echo "yes" >&6; }
9278 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
9281 if test -n "$LIBMICROHTTPD_LIBS"; then
9283 LIBMICROHTTPD_FALSE='#'
9285 LIBMICROHTTPD_TRUE='#'
9286 LIBMICROHTTPD_FALSE=
9295 # Check whether --with-gtop was given.
9296 if test "${with_gtop+set}" = set; then :
9307 if test "$with_gtop" = "yes"; then
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
9311 $as_echo_n "checking for GTOP... " >&6; }
9313 if test -n "$GTOP_CFLAGS"; then
9314 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
9315 elif test -n "$PKG_CONFIG"; then
9316 if test -n "$PKG_CONFIG" && \
9317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
9318 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
9320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9321 test $ac_status = 0; }; then
9322 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
9323 test "x$?" != "x0" && pkg_failed=yes
9330 if test -n "$GTOP_LIBS"; then
9331 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
9332 elif test -n "$PKG_CONFIG"; then
9333 if test -n "$PKG_CONFIG" && \
9334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
9335 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
9337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9338 test $ac_status = 0; }; then
9339 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
9340 test "x$?" != "x0" && pkg_failed=yes
9350 if test $pkg_failed = yes; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9352 $as_echo "no" >&6; }
9354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9355 _pkg_short_errors_supported=yes
9357 _pkg_short_errors_supported=no
9359 if test $_pkg_short_errors_supported = yes; then
9360 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
9362 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
9364 # Put the nasty error message in config.log where it belongs
9365 echo "$GTOP_PKG_ERRORS" >&5
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
9368 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
9369 elif test $pkg_failed = untried; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 $as_echo "no" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
9373 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
9375 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
9376 GTOP_LIBS=$pkg_cv_GTOP_LIBS
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9378 $as_echo "yes" >&6; }
9380 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
9384 if test -n "$GTOP_LIBS"; then
9395 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"
9398 for ac_prog in help2man
9400 # Extract the first word of "$ac_prog", so it can be a program name with args.
9401 set dummy $ac_prog; ac_word=$2
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9403 $as_echo_n "checking for $ac_word... " >&6; }
9404 if ${ac_cv_prog_HELP2MAN+:} false; then :
9405 $as_echo_n "(cached) " >&6
9407 if test -n "$HELP2MAN"; then
9408 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
9410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9414 test -z "$as_dir" && as_dir=.
9415 for ac_exec_ext in '' $ac_executable_extensions; do
9416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9417 ac_cv_prog_HELP2MAN="$ac_prog"
9418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9427 HELP2MAN=$ac_cv_prog_HELP2MAN
9428 if test -n "$HELP2MAN"; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
9430 $as_echo "$HELP2MAN" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9433 $as_echo "no" >&6; }
9437 test -n "$HELP2MAN" && break
9441 # Extract the first word of "cppcheck", so it can be a program name with args.
9442 set dummy cppcheck; ac_word=$2
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9444 $as_echo_n "checking for $ac_word... " >&6; }
9445 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
9446 $as_echo_n "(cached) " >&6
9448 if test -n "$HAVE_CPPCHECK"; then
9449 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
9451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9455 test -z "$as_dir" && as_dir=.
9456 for ac_exec_ext in '' $ac_executable_extensions; do
9457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9458 ac_cv_prog_HAVE_CPPCHECK="yes"
9459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9468 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
9469 if test -n "$HAVE_CPPCHECK"; then
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
9471 $as_echo "$HAVE_CPPCHECK" >&6; }
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9474 $as_echo "no" >&6; }
9478 if test -n "$HAVE_CPPCHECK"; then
9487 cat >confcache <<\_ACEOF
9488 # This file is a shell script that caches the results of configure
9489 # tests run on this system so they can be shared between configure
9490 # scripts and configure runs, see configure's option --config-cache.
9491 # It is not useful on other systems. If it contains results you don't
9492 # want to keep, you may remove or edit it.
9494 # config.status only pays attention to the cache file if you give it
9495 # the --recheck option to rerun configure.
9497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9503 # The following way of writing the cache mishandles newlines in values,
9504 # but we know of no workaround that is simple, portable, and efficient.
9505 # So, we kill variables containing newlines.
9506 # Ultrix sh set writes to stderr and can't be redirected directly,
9507 # and sets the high bit in the cache file unless we assign to the vars.
9509 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9510 eval ac_val=\$$ac_var
9514 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9518 _ | IFS | as_nl) ;; #(
9519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9520 *) { eval $ac_var=; unset $ac_var;} ;;
9526 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9527 *${as_nl}ac_space=\ *)
9528 # `set' does not quote correctly, so add quotes: double-quote
9529 # substitution turns \\\\ into \\, and sed turns \\ into \.
9532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9535 # `set' quotes correctly as required by POSIX, so do not add quotes.
9536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9547 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9549 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9550 if test -w "$cache_file"; then
9551 if test "x$cache_file" != "x/dev/null"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9553 $as_echo "$as_me: updating cache $cache_file" >&6;}
9554 if test ! -f "$cache_file" || test -h "$cache_file"; then
9555 cat confcache >"$cache_file"
9557 case $cache_file in #(
9559 mv -f confcache "$cache_file"$$ &&
9560 mv -f "$cache_file"$$ "$cache_file" ;; #(
9562 mv -f confcache "$cache_file" ;;
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9574 # Let make expand exec_prefix.
9575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9577 DEFS=-DHAVE_CONFIG_H
9582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9583 # 1. Remove the extension, and $U if already installed.
9584 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9585 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9587 # will be set to the directory where LIBOBJS objects are built.
9588 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9589 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9593 LTLIBOBJS=$ac_ltlibobjs
9596 if test -n "$EXEEXT"; then
9598 am__EXEEXT_FALSE='#'
9604 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9605 as_fn_error $? "conditional \"AMDEP\" was never defined.
9606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9608 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9609 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9612 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9613 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9616 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
9617 as_fn_error $? "conditional \"X11\" was never defined.
9618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9620 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
9621 as_fn_error $? "conditional \"XEXT\" was never defined.
9622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9624 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
9625 as_fn_error $? "conditional \"GTK\" was never defined.
9626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9628 if test -z "${GCONF_TRUE}" && test -z "${GCONF_FALSE}"; then
9629 as_fn_error $? "conditional \"GCONF\" was never defined.
9630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9632 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
9633 as_fn_error $? "conditional \"ATASMART\" was never defined.
9634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9636 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
9637 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
9638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9640 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
9641 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
9642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9644 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
9645 as_fn_error $? "conditional \"CURL\" was never defined.
9646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9648 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
9649 as_fn_error $? "conditional \"JSON\" was never defined.
9650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9652 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
9653 as_fn_error $? "conditional \"NVIDIA\" was never defined.
9654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9656 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
9657 as_fn_error $? "conditional \"UNITY\" was never defined.
9658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9660 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
9661 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
9662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9664 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
9665 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
9666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9668 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
9669 as_fn_error $? "conditional \"GTOP\" was never defined.
9670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9672 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
9673 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
9674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9677 : "${CONFIG_STATUS=./config.status}"
9679 ac_clean_files_save=$ac_clean_files
9680 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9682 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9684 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9686 # Generated by $as_me.
9687 # Run this file to recreate the current configuration.
9688 # Compiler output produced by configure, useful for debugging
9689 # configure, is in config.log if it exists.
9695 SHELL=\${CONFIG_SHELL-$SHELL}
9698 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9699 ## -------------------- ##
9700 ## M4sh Initialization. ##
9701 ## -------------------- ##
9703 # Be more Bourne compatible
9704 DUALCASE=1; export DUALCASE # for MKS sh
9705 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9708 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9709 # is contrary to our usage. Disable this feature.
9710 alias -g '${1+"$@"}'='"$@"'
9711 setopt NO_GLOB_SUBST
9713 case `(set -o) 2>/dev/null` in #(
9725 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9726 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9727 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9729 # Prefer a ksh shell builtin over an external printf program on Solaris,
9730 # but without wasting forks for bash or zsh.
9731 if test -z "$BASH_VERSION$ZSH_VERSION" \
9732 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9733 as_echo='print -r --'
9734 as_echo_n='print -rn --'
9735 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9736 as_echo='printf %s\n'
9737 as_echo_n='printf %s'
9739 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9740 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9741 as_echo_n='/usr/ucb/echo -n'
9743 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9744 as_echo_n_body='eval
9748 expr "X$arg" : "X\\(.*\\)$as_nl";
9749 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9751 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9753 export as_echo_n_body
9754 as_echo_n='sh -c $as_echo_n_body as_echo'
9757 as_echo='sh -c $as_echo_body as_echo'
9760 # The user is always right.
9761 if test "${PATH_SEPARATOR+set}" != set; then
9763 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9764 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9771 # We need space, tab and new line, in precisely that order. Quoting is
9772 # there to prevent editors from complaining about space-tab.
9773 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9774 # splitting by setting IFS to empty value.)
9777 # Find who we are. Look in the path if we contain no directory separator.
9780 *[\\/]* ) as_myself=$0 ;;
9781 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785 test -z "$as_dir" && as_dir=.
9786 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9792 # We did not find ourselves, most probably we were run as `sh COMMAND'
9793 # in which case we are not to be found in the path.
9794 if test "x$as_myself" = x; then
9797 if test ! -f "$as_myself"; then
9798 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9802 # Unset variables that we do not need and which cause bugs (e.g. in
9803 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9804 # suppresses any "Segmentation fault" message there. '((' could
9805 # trigger a bug in pdksh 5.2.14.
9806 for as_var in BASH_ENV ENV MAIL MAILPATH
9807 do eval test x\${$as_var+set} = xset \
9808 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9821 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9824 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9825 # ----------------------------------------
9826 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9827 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9828 # script with STATUS, using 1 if that was 0.
9831 as_status=$1; test $as_status -eq 0 && as_status=1
9833 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9834 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9836 $as_echo "$as_me: error: $2" >&2
9837 as_fn_exit $as_status
9841 # as_fn_set_status STATUS
9842 # -----------------------
9843 # Set $? to STATUS, without forking.
9847 } # as_fn_set_status
9851 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9861 # Portably unset VAR.
9864 { eval $1=; unset $1;}
9866 as_unset=as_fn_unset
9867 # as_fn_append VAR VALUE
9868 # ----------------------
9869 # Append the text in VALUE to the end of the definition contained in VAR. Take
9870 # advantage of any shell optimizations that allow amortized linear growth over
9871 # repeated appends, instead of the typical quadratic growth present in naive
9873 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9874 eval 'as_fn_append ()
9885 # as_fn_arith ARG...
9886 # ------------------
9887 # Perform arithmetic evaluation on the ARGs, and store the result in the
9888 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9889 # must be portable across $(()) and expr.
9890 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9891 eval 'as_fn_arith ()
9898 as_val=`expr "$@" || test $? -eq 1`
9903 if expr a : '\(a\)' >/dev/null 2>&1 &&
9904 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9910 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9911 as_basename=basename
9916 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9922 as_me=`$as_basename -- "$0" ||
9923 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9924 X"$0" : 'X\(//\)$' \| \
9925 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9927 sed '/^.*\/\([^/][^/]*\)\/*$/{
9941 # Avoid depending upon Character Ranges.
9942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9945 as_cr_digits='0123456789'
9946 as_cr_alnum=$as_cr_Letters$as_cr_digits
9948 ECHO_C= ECHO_N= ECHO_T=
9949 case `echo -n x` in #(((((
9951 case `echo 'xy\c'` in
9952 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9954 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9961 rm -f conf$$ conf$$.exe conf$$.file
9962 if test -d conf$$.dir; then
9963 rm -f conf$$.dir/conf$$.file
9966 mkdir conf$$.dir 2>/dev/null
9968 if (echo >conf$$.file) 2>/dev/null; then
9969 if ln -s conf$$.file conf$$ 2>/dev/null; then
9971 # ... but there are two gotchas:
9972 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9973 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9974 # In both cases, we have to default to `cp -pR'.
9975 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9977 elif ln conf$$.file conf$$ 2>/dev/null; then
9985 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9986 rmdir conf$$.dir 2>/dev/null
9991 # Create "$as_dir" as a directory, including parents if necessary.
9996 -*) as_dir=./$as_dir;;
9998 test -d "$as_dir" || eval $as_mkdir_p || {
10002 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10003 *) as_qdir=$as_dir;;
10005 as_dirs="'$as_qdir' $as_dirs"
10006 as_dir=`$as_dirname -- "$as_dir" ||
10007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10008 X"$as_dir" : 'X\(//\)[^/]' \| \
10009 X"$as_dir" : 'X\(//\)$' \| \
10010 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10011 $as_echo X"$as_dir" |
10012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10016 /^X\(\/\/\)[^/].*/{
10029 test -d "$as_dir" && break
10031 test -z "$as_dirs" || eval "mkdir $as_dirs"
10032 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10036 if mkdir -p . 2>/dev/null; then
10037 as_mkdir_p='mkdir -p "$as_dir"'
10039 test -d ./-p && rmdir ./-p
10044 # as_fn_executable_p FILE
10045 # -----------------------
10046 # Test if FILE is an executable regular file.
10047 as_fn_executable_p ()
10049 test -f "$1" && test -x "$1"
10050 } # as_fn_executable_p
10051 as_test_x='test -x'
10052 as_executable_p=as_fn_executable_p
10054 # Sed expression to map a string onto a valid CPP name.
10055 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10057 # Sed expression to map a string onto a valid variable name.
10058 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10062 ## ----------------------------------- ##
10063 ## Main body of $CONFIG_STATUS script. ##
10064 ## ----------------------------------- ##
10066 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10069 # Save the log message, to keep $0 and so on meaningful, and to
10070 # report actual input values of CONFIG_FILES etc. instead of their
10071 # values after options handling.
10073 This file was extended by psensor $as_me 1.1.0, which was
10074 generated by GNU Autoconf 2.69. Invocation command line was
10076 CONFIG_FILES = $CONFIG_FILES
10077 CONFIG_HEADERS = $CONFIG_HEADERS
10078 CONFIG_LINKS = $CONFIG_LINKS
10079 CONFIG_COMMANDS = $CONFIG_COMMANDS
10082 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10087 case $ac_config_files in *"
10088 "*) set x $ac_config_files; shift; ac_config_files=$*;;
10091 case $ac_config_headers in *"
10092 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10097 # Files that config.status was made for.
10098 config_files="$ac_config_files"
10099 config_headers="$ac_config_headers"
10100 config_commands="$ac_config_commands"
10104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10106 \`$as_me' instantiates files and other configuration actions
10107 from templates according to the current configuration. Unless the files
10108 and actions are specified as TAGs, all are instantiated by default.
10110 Usage: $0 [OPTION]... [TAG]...
10112 -h, --help print this help, then exit
10113 -V, --version print version number and configuration settings, then exit
10114 --config print configuration, then exit
10115 -q, --quiet, --silent
10116 do not print progress messages
10117 -d, --debug don't remove temporary files
10118 --recheck update $as_me by reconfiguring in the same conditions
10119 --file=FILE[:TEMPLATE]
10120 instantiate the configuration file FILE
10121 --header=FILE[:TEMPLATE]
10122 instantiate the configuration header FILE
10124 Configuration files:
10127 Configuration headers:
10130 Configuration commands:
10133 Report bugs to <jeanfi@gmail.com>.
10134 psensor home page: <http://wpitchoune.net/psensor>."
10137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10138 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10140 psensor config.status 1.1.0
10141 configured by $0, generated by GNU Autoconf 2.69,
10142 with options \\"\$ac_cs_config\\"
10144 Copyright (C) 2012 Free Software Foundation, Inc.
10145 This config.status script is free software; the Free Software Foundation
10146 gives unlimited permission to copy, distribute and modify it."
10153 test -n "\$AWK" || AWK=awk
10156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10157 # The default lists apply if the user does not specify any file.
10163 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10164 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10168 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10180 # Handling of the options.
10181 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10183 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10184 $as_echo "$ac_cs_version"; exit ;;
10185 --config | --confi | --conf | --con | --co | --c )
10186 $as_echo "$ac_cs_config"; exit ;;
10187 --debug | --debu | --deb | --de | --d | -d )
10189 --file | --fil | --fi | --f )
10192 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10193 '') as_fn_error $? "missing file argument" ;;
10195 as_fn_append CONFIG_FILES " '$ac_optarg'"
10196 ac_need_defaults=false;;
10197 --header | --heade | --head | --hea )
10200 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10202 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10203 ac_need_defaults=false;;
10205 # Conflict between --help and --header
10206 as_fn_error $? "ambiguous option: \`$1'
10207 Try \`$0 --help' for more information.";;
10208 --help | --hel | -h )
10209 $as_echo "$ac_cs_usage"; exit ;;
10210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10211 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10214 # This is an error.
10215 -*) as_fn_error $? "unrecognized option: \`$1'
10216 Try \`$0 --help' for more information." ;;
10218 *) as_fn_append ac_config_targets " $1"
10219 ac_need_defaults=false ;;
10225 ac_configure_extra_args=
10227 if $ac_cs_silent; then
10229 ac_configure_extra_args="$ac_configure_extra_args --silent"
10233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10234 if \$ac_cs_recheck; then
10235 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10237 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10238 CONFIG_SHELL='$SHELL'
10239 export CONFIG_SHELL
10244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10248 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10249 ## Running $as_me. ##
10255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10259 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10260 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10261 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
10262 # from automake < 1.5.
10263 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10264 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10265 LINGUAS="${LINGUAS-%UNSET%}"
10270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10272 # Handling of arguments.
10273 for ac_config_target in $ac_config_targets
10275 case $ac_config_target in
10276 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10277 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10278 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
10279 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10280 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10281 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10282 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
10283 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
10284 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
10285 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
10286 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
10287 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
10288 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
10289 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
10290 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
10291 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
10292 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
10293 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
10294 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
10295 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
10296 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
10297 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10298 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
10300 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10305 # If the user did not use the arguments to specify the items to instantiate,
10306 # then the envvar interface is used. Set only those that are not.
10307 # We use the long form for the default assignment because of an extremely
10308 # bizarre bug on SunOS 4.1.3.
10309 if $ac_need_defaults; then
10310 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10311 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10312 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10315 # Have a temporary directory for convenience. Make it in the build tree
10316 # simply because there is no reason against having it here, and in addition,
10317 # creating and moving files from /tmp can sometimes cause problems.
10318 # Hook for its removal unless debugging.
10319 # Note that there is a small window in which the directory will not be cleaned:
10320 # after its creation but before its name has been assigned to `$tmp'.
10324 trap 'exit_status=$?
10325 : "${ac_tmp:=$tmp}"
10326 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10328 trap 'as_fn_exit 1' 1 2 13 15
10330 # Create a (secure) tmp directory for tmp files.
10333 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10337 tmp=./conf$$-$RANDOM
10338 (umask 077 && mkdir "$tmp")
10339 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10342 # Set up the scripts for CONFIG_FILES section.
10343 # No need to generate them if there are no CONFIG_FILES.
10344 # This happens for instance with `./config.status config.h'.
10345 if test -n "$CONFIG_FILES"; then
10348 ac_cr=`echo X | tr X '\015'`
10349 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10350 # But we know of no other shell where ac_cr would be empty at this
10351 # point, so we can use a bashism as a fallback.
10352 if test "x$ac_cr" = x; then
10353 eval ac_cr=\$\'\\r\'
10355 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10356 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10359 ac_cs_awk_cr=$ac_cr
10362 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10367 echo "cat >conf$$subs.awk <<_ACEOF" &&
10368 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10370 } >conf$$subs.sh ||
10371 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10372 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10374 for ac_last_try in false false false false false :; do
10375 . ./conf$$subs.sh ||
10376 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10378 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10379 if test $ac_delim_n = $ac_delim_num; then
10381 elif $ac_last_try; then
10382 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10384 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10387 rm -f conf$$subs.sh
10389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10390 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10394 s/^/S["/; s/!.*/"]=/
10404 s/\(.\{148\}\)..*/\1/
10406 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10418 s/\(.\{148\}\)..*/\1/
10420 s/["\\]/\\&/g; s/^/"/; s/$/"/
10424 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10429 ' <conf$$subs.awk | sed '
10434 ' >>$CONFIG_STATUS || ac_write_fail=1
10435 rm -f conf$$subs.awk
10436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10438 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10439 for (key in S) S_is_set[key] = 1
10445 nfields = split(line, field, "@")
10447 len = length(field[1])
10448 for (i = 2; i < nfields; i++) {
10450 keylen = length(key)
10451 if (S_is_set[key]) {
10453 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10454 len += length(value) + length(field[++i])
10465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10466 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10467 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10470 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10471 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10474 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10475 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10476 # trailing colons and then remove the whole line if VPATH becomes empty
10477 # (actually we leave an empty line to preserve line numbers).
10478 if test "x$srcdir" = x.; then
10479 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10498 fi # test -n "$CONFIG_FILES"
10500 # Set up the scripts for CONFIG_HEADERS section.
10501 # No need to generate them if there are no CONFIG_HEADERS.
10502 # This happens for instance with `./config.status Makefile'.
10503 if test -n "$CONFIG_HEADERS"; then
10504 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10508 # Transform confdefs.h into an awk script `defines.awk', embedded as
10509 # here-document in config.status, that substitutes the proper values into
10510 # config.h.in to produce config.h.
10512 # Create a delimiter string that does not exist in confdefs.h, to ease
10513 # handling of long lines.
10515 for ac_last_try in false false :; do
10516 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10517 if test -z "$ac_tt"; then
10519 elif $ac_last_try; then
10520 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10526 # For the awk script, D is an array of macro values keyed by name,
10527 # likewise P contains macro parameters if any. Preserve backslash
10528 # newline sequences.
10530 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10532 s/.\{148\}/&'"$ac_delim"'/g
10535 s/^[ ]*#[ ]*define[ ][ ]*/ /
10542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10544 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10549 D["\1"]=" \3\\\\\\n"\\/p
10551 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10556 s/.\{148\}/&'"$ac_delim"'/g
10561 s/["\\]/\\&/g; s/^/"/; s/$/"/p
10564 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10566 ' <confdefs.h | sed '
10567 s/'"$ac_delim"'/"\\\
10568 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10571 for (key in D) D_is_set[key] = 1
10574 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10576 split(line, arg, " ")
10577 if (arg[1] == "#") {
10581 defundef = substr(arg[1], 2)
10584 split(mac1, mac2, "(") #)
10586 prefix = substr(line, 1, index(line, defundef) - 1)
10587 if (D_is_set[macro]) {
10588 # Preserve the white space surrounding the "#".
10589 print prefix "define", macro P[macro] D[macro]
10592 # Replace #undef with comments. This is necessary, for example,
10593 # in the case of _POSIX_SOURCE, which is predefined and required
10594 # on some systems where configure will not decide to define it.
10595 if (defundef == "undef") {
10596 print "/*", prefix defundef, macro, "*/"
10604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10605 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10606 fi # test -n "$CONFIG_HEADERS"
10609 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10614 :[FHLC]) ac_mode=$ac_tag; continue;;
10616 case $ac_mode$ac_tag in
10618 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10619 :[FH]-) ac_tag=-:-;;
10620 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10637 -) ac_f="$ac_tmp/stdin";;
10638 *) # Look for the file first in the build tree, then in the source tree
10639 # (if the path is not absolute). The absolute path cannot be DOS-style,
10640 # because $ac_f cannot contain `:'.
10644 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10646 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10648 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10649 as_fn_append ac_file_inputs " '$ac_f'"
10652 # Let's still pretend it is `configure' which instantiates (i.e., don't
10653 # use $as_me), people would be surprised to read:
10654 # /* config.h. Generated by config.status. */
10655 configure_input='Generated from '`
10656 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10658 if test x"$ac_file" != x-; then
10659 configure_input="$ac_file. $configure_input"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10661 $as_echo "$as_me: creating $ac_file" >&6;}
10663 # Neutralize special characters interpreted by sed in replacement strings.
10664 case $configure_input in #(
10665 *\&* | *\|* | *\\* )
10666 ac_sed_conf_input=`$as_echo "$configure_input" |
10667 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10668 *) ac_sed_conf_input=$configure_input;;
10672 *:-:* | *:-) cat >"$ac_tmp/stdin" \
10673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10678 ac_dir=`$as_dirname -- "$ac_file" ||
10679 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10680 X"$ac_file" : 'X\(//\)[^/]' \| \
10681 X"$ac_file" : 'X\(//\)$' \| \
10682 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10683 $as_echo X"$ac_file" |
10684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10688 /^X\(\/\/\)[^/].*/{
10701 as_dir="$ac_dir"; as_fn_mkdir_p
10705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10707 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10708 # A ".." for each directory in $ac_dir_suffix.
10709 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10710 case $ac_top_builddir_sub in
10711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10715 ac_abs_top_builddir=$ac_pwd
10716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10717 # for backward compatibility:
10718 ac_top_builddir=$ac_top_build_prefix
10721 .) # We are building in place.
10723 ac_top_srcdir=$ac_top_builddir_sub
10724 ac_abs_top_srcdir=$ac_pwd ;;
10725 [\\/]* | ?:[\\/]* ) # Absolute name.
10726 ac_srcdir=$srcdir$ac_dir_suffix;
10727 ac_top_srcdir=$srcdir
10728 ac_abs_top_srcdir=$srcdir ;;
10729 *) # Relative name.
10730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10731 ac_top_srcdir=$ac_top_build_prefix$srcdir
10732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10744 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10745 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10747 ac_MKDIR_P=$MKDIR_P
10749 [\\/$]* | ?:[\\/]* ) ;;
10750 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10755 # If the template does not know about datarootdir, expand it.
10756 # FIXME: This hack should be removed a few years after 2.60.
10757 ac_datarootdir_hack=; ac_datarootdir_seen=
10768 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10769 *datarootdir*) ac_datarootdir_seen=yes;;
10770 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10772 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10775 ac_datarootdir_hack='
10776 s&@datadir@&$datadir&g
10777 s&@docdir@&$docdir&g
10778 s&@infodir@&$infodir&g
10779 s&@localedir@&$localedir&g
10780 s&@mandir@&$mandir&g
10781 s&\\\${datarootdir}&$datarootdir&g' ;;
10785 # Neutralize VPATH when `$srcdir' = `.'.
10786 # Shell code in configure.ac might set extrasub.
10787 # FIXME: do we really want to maintain this feature?
10788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10789 ac_sed_extra="$ac_vpsub
10792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10794 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10795 s|@configure_input@|$ac_sed_conf_input|;t t
10796 s&@top_builddir@&$ac_top_builddir_sub&;t t
10797 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10798 s&@srcdir@&$ac_srcdir&;t t
10799 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10800 s&@top_srcdir@&$ac_top_srcdir&;t t
10801 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10802 s&@builddir@&$ac_builddir&;t t
10803 s&@abs_builddir@&$ac_abs_builddir&;t t
10804 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10805 s&@INSTALL@&$ac_INSTALL&;t t
10806 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10807 $ac_datarootdir_hack
10809 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10810 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10812 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10813 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10814 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10815 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10817 which seems to be undefined. Please make sure it is defined" >&5
10818 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10819 which seems to be undefined. Please make sure it is defined" >&2;}
10821 rm -f "$ac_tmp/stdin"
10823 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10824 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10826 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10832 if test x"$ac_file" != x-; then
10834 $as_echo "/* $configure_input */" \
10835 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10836 } >"$ac_tmp/config.h" \
10837 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10838 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10840 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10843 mv "$ac_tmp/config.h" "$ac_file" \
10844 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10847 $as_echo "/* $configure_input */" \
10848 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10849 || as_fn_error $? "could not create -" "$LINENO" 5
10851 # Compute "$ac_file"'s index in $config_headers.
10854 for _am_header in $config_headers :; do
10855 case $_am_header in
10856 $_am_arg | $_am_arg:* )
10859 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10862 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10863 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10864 X"$_am_arg" : 'X\(//\)[^/]' \| \
10865 X"$_am_arg" : 'X\(//\)$' \| \
10866 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10867 $as_echo X"$_am_arg" |
10868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10872 /^X\(\/\/\)[^/].*/{
10884 s/.*/./; q'`/stamp-h$_am_stamp_count
10887 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10888 $as_echo "$as_me: executing $ac_file commands" >&6;}
10893 case $ac_file$ac_mode in
10894 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10895 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10896 # are listed without --file. Let's play safe and only enable the eval
10897 # if we detect the quoting.
10898 case $CONFIG_FILES in
10899 *\'*) eval set x "$CONFIG_FILES" ;;
10900 *) set x $CONFIG_FILES ;;
10905 # Strip MF so we end up with the name of the file.
10906 mf=`echo "$mf" | sed -e 's/:.*$//'`
10907 # Check whether this is an Automake generated Makefile or not.
10908 # We used to match only the files named `Makefile.in', but
10909 # some people rename them; so instead we look at the file content.
10910 # Grep'ing the first line is not enough: some people post-process
10911 # each Makefile.in and add a new line on top of each file to say so.
10912 # Grep'ing the whole file is not good either: AIX grep has a line
10913 # limit of 2048, but all sed's we know have understand at least 4000.
10914 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10915 dirpart=`$as_dirname -- "$mf" ||
10916 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10917 X"$mf" : 'X\(//\)[^/]' \| \
10918 X"$mf" : 'X\(//\)$' \| \
10919 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10925 /^X\(\/\/\)[^/].*/{
10941 # Extract the definition of DEPDIR, am__include, and am__quote
10942 # from the Makefile without running `make'.
10943 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10944 test -z "$DEPDIR" && continue
10945 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10946 test -z "am__include" && continue
10947 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10948 # When using ansi2knr, U may be empty or an underscore; expand it
10949 U=`sed -n 's/^U = //p' < "$mf"`
10950 # Find all dependency output files, they are included files with
10951 # $(DEPDIR) in their names. We invoke sed twice because it is the
10952 # simplest approach to changing $(DEPDIR) to its actual value in the
10954 for file in `sed -n "
10955 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10956 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10957 # Make sure the directory exists.
10958 test -f "$dirpart/$file" && continue
10959 fdir=`$as_dirname -- "$file" ||
10960 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10961 X"$file" : 'X\(//\)[^/]' \| \
10962 X"$file" : 'X\(//\)$' \| \
10963 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10964 $as_echo X"$file" |
10965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10969 /^X\(\/\/\)[^/].*/{
10982 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10983 # echo "creating $dirpart/$file"
10984 echo '# dummy' > "$dirpart/$file"
10989 "po-directories":C)
10990 for ac_file in $CONFIG_FILES; do
10991 # Support "outfile[:infile[:infile...]]"
10993 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10995 # PO directories have a Makefile.in generated from Makefile.in.in.
10996 case "$ac_file" in */Makefile.in)
10997 # Adjust a relative srcdir.
10998 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10999 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
11000 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
11001 # In autoconf-2.13 it is called $ac_given_srcdir.
11002 # In autoconf-2.50 it is called $srcdir.
11003 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
11004 case "$ac_given_srcdir" in
11005 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
11006 /*) top_srcdir="$ac_given_srcdir" ;;
11007 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
11009 # Treat a directory as a PO directory if and only if it has a
11010 # POTFILES.in file. This allows packages to have multiple PO
11011 # directories under different names or in different locations.
11012 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
11013 rm -f "$ac_dir/POTFILES"
11014 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
11015 gt_tab=`printf '\t'`
11016 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
11017 POMAKEFILEDEPS="POTFILES.in"
11018 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
11019 # on $ac_dir but don't depend on user-specified configuration
11021 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
11022 # The LINGUAS file contains the set of available languages.
11023 if test -n "$OBSOLETE_ALL_LINGUAS"; then
11024 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
11026 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
11027 # Hide the ALL_LINGUAS assignment from automake < 1.5.
11028 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
11029 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
11031 # The set of available languages was given in configure.in.
11032 # Hide the ALL_LINGUAS assignment from automake < 1.5.
11033 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
11036 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
11037 # Compute UPDATEPOFILES
11038 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
11039 # Compute DUMMYPOFILES
11040 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
11042 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
11043 case "$ac_given_srcdir" in
11045 *) srcdirpre='$(srcdir)/' ;;
11051 for lang in $ALL_LINGUAS; do
11052 POFILES="$POFILES $srcdirpre$lang.po"
11053 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
11054 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
11055 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
11057 # CATALOGS depends on both $ac_dir and the user's LINGUAS
11058 # environment variable.
11060 if test -n "$ALL_LINGUAS"; then
11061 for presentlang in $ALL_LINGUAS; do
11063 if test "%UNSET%" != "$LINGUAS"; then
11064 desiredlanguages="$LINGUAS"
11066 desiredlanguages="$ALL_LINGUAS"
11068 for desiredlang in $desiredlanguages; do
11069 # Use the presentlang catalog if desiredlang is
11070 # a. equal to presentlang, or
11071 # b. a variant of presentlang (because in this case,
11072 # presentlang can be used as a fallback for messages
11073 # which are not translated in the desiredlang catalog).
11074 case "$desiredlang" in
11075 "$presentlang"*) useit=yes;;
11078 if test $useit = yes; then
11079 INST_LINGUAS="$INST_LINGUAS $presentlang"
11084 if test -n "$INST_LINGUAS"; then
11085 for lang in $INST_LINGUAS; do
11086 CATALOGS="$CATALOGS $lang.gmo"
11089 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
11090 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"
11091 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
11092 if test -f "$f"; then
11094 *.orig | *.bak | *~) ;;
11095 *) cat "$f" >> "$ac_dir/Makefile" ;;
11110 ac_clean_files=$ac_clean_files_save
11112 test $ac_write_fail = 0 ||
11113 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11116 # configure is writing to config.log, and then calls config.status.
11117 # config.status does its own redirection, appending to config.log.
11118 # Unfortunately, on DOS this fails, as config.log is still kept open
11119 # by configure, so config.status won't be able to write to it; its
11120 # output is simply discarded. So we exec the FD to /dev/null,
11121 # effectively closing config.log, so it can be properly (re)opened and
11122 # appended to by config.status. When coming back to configure, we
11123 # need to make the FD available again.
11124 if test "$no_create" != yes; then
11126 ac_config_status_args=
11127 test "$silent" = yes &&
11128 ac_config_status_args="$ac_config_status_args --quiet"
11130 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11132 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11133 # would make configure fail if this is the last instruction.
11134 $ac_cs_success || as_fn_exit 1
11136 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11138 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}