2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.2.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.2.0'
584 PACKAGE_STRING='psensor 1.2.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
705 GSETTINGS_DISABLE_SCHEMAS_COMPILE
765 INSTALL_STRIP_PROGRAM
807 program_transform_name
820 enable_option_checking
822 enable_dependency_tracking
830 enable_schemas_compile
834 ac_precious_vars='build_alias
873 # Initialize some variables set by options.
875 ac_init_version=false
876 ac_unrecognized_opts=
878 # The variables have the same names as the options, with
879 # dashes changed to underlines.
887 program_transform_name=s,x,x,
895 # Installation directory options.
896 # These are left unexpanded so users can "make install exec_prefix=/foo"
897 # and all the variables that are supposed to be based on exec_prefix
898 # by default will actually change.
899 # Use braces instead of parens because sh, perl, etc. also accept them.
900 # (The list follows the same order as the GNU Coding Standards.)
901 bindir='${exec_prefix}/bin'
902 sbindir='${exec_prefix}/sbin'
903 libexecdir='${exec_prefix}/libexec'
904 datarootdir='${prefix}/share'
905 datadir='${datarootdir}'
906 sysconfdir='${prefix}/etc'
907 sharedstatedir='${prefix}/com'
908 localstatedir='${prefix}/var'
909 includedir='${prefix}/include'
910 oldincludedir='/usr/include'
911 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
912 infodir='${datarootdir}/info'
917 libdir='${exec_prefix}/lib'
918 localedir='${datarootdir}/locale'
919 mandir='${datarootdir}/man'
925 # If the previous option needs an argument, assign it.
926 if test -n "$ac_prev"; then
927 eval $ac_prev=\$ac_option
933 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
938 # Accept the important Cygnus configure options, so we can diagnose typos.
940 case $ac_dashdash$ac_option in
944 -bindir | --bindir | --bindi | --bind | --bin | --bi)
946 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
949 -build | --build | --buil | --bui | --bu)
950 ac_prev=build_alias ;;
951 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
952 build_alias=$ac_optarg ;;
954 -cache-file | --cache-file | --cache-fil | --cache-fi \
955 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
956 ac_prev=cache_file ;;
957 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
958 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
959 cache_file=$ac_optarg ;;
962 cache_file=config.cache ;;
964 -datadir | --datadir | --datadi | --datad)
966 -datadir=* | --datadir=* | --datadi=* | --datad=*)
967 datadir=$ac_optarg ;;
969 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
970 | --dataroo | --dataro | --datar)
971 ac_prev=datarootdir ;;
972 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
973 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
974 datarootdir=$ac_optarg ;;
976 -disable-* | --disable-*)
977 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980 as_fn_error $? "invalid feature name: $ac_useropt"
981 ac_useropt_orig=$ac_useropt
982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
988 ac_unrecognized_sep=', ';;
990 eval enable_$ac_useropt=no ;;
992 -docdir | --docdir | --docdi | --doc | --do)
994 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
997 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
999 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1000 dvidir=$ac_optarg ;;
1002 -enable-* | --enable-*)
1003 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error $? "invalid feature name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_$ac_useropt"
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1016 eval enable_$ac_useropt=\$ac_optarg ;;
1018 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1019 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1020 | --exec | --exe | --ex)
1021 ac_prev=exec_prefix ;;
1022 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1023 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1024 | --exec=* | --exe=* | --ex=*)
1025 exec_prefix=$ac_optarg ;;
1027 -gas | --gas | --ga | --g)
1028 # Obsolete; use --with-gas.
1031 -help | --help | --hel | --he | -h)
1032 ac_init_help=long ;;
1033 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1034 ac_init_help=recursive ;;
1035 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1036 ac_init_help=short ;;
1038 -host | --host | --hos | --ho)
1039 ac_prev=host_alias ;;
1040 -host=* | --host=* | --hos=* | --ho=*)
1041 host_alias=$ac_optarg ;;
1043 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1045 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1047 htmldir=$ac_optarg ;;
1049 -includedir | --includedir | --includedi | --included | --include \
1050 | --includ | --inclu | --incl | --inc)
1051 ac_prev=includedir ;;
1052 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1053 | --includ=* | --inclu=* | --incl=* | --inc=*)
1054 includedir=$ac_optarg ;;
1056 -infodir | --infodir | --infodi | --infod | --info | --inf)
1058 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1059 infodir=$ac_optarg ;;
1061 -libdir | --libdir | --libdi | --libd)
1063 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1064 libdir=$ac_optarg ;;
1066 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1067 | --libexe | --libex | --libe)
1068 ac_prev=libexecdir ;;
1069 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1070 | --libexe=* | --libex=* | --libe=*)
1071 libexecdir=$ac_optarg ;;
1073 -localedir | --localedir | --localedi | --localed | --locale)
1074 ac_prev=localedir ;;
1075 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1076 localedir=$ac_optarg ;;
1078 -localstatedir | --localstatedir | --localstatedi | --localstated \
1079 | --localstate | --localstat | --localsta | --localst | --locals)
1080 ac_prev=localstatedir ;;
1081 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1082 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1083 localstatedir=$ac_optarg ;;
1085 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1087 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1088 mandir=$ac_optarg ;;
1090 -nfp | --nfp | --nf)
1091 # Obsolete; use --without-fp.
1094 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1095 | --no-cr | --no-c | -n)
1098 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1099 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1102 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1103 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1104 | --oldin | --oldi | --old | --ol | --o)
1105 ac_prev=oldincludedir ;;
1106 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1107 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1108 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1109 oldincludedir=$ac_optarg ;;
1111 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1113 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1114 prefix=$ac_optarg ;;
1116 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1117 | --program-pre | --program-pr | --program-p)
1118 ac_prev=program_prefix ;;
1119 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1120 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1121 program_prefix=$ac_optarg ;;
1123 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1124 | --program-suf | --program-su | --program-s)
1125 ac_prev=program_suffix ;;
1126 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1127 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1128 program_suffix=$ac_optarg ;;
1130 -program-transform-name | --program-transform-name \
1131 | --program-transform-nam | --program-transform-na \
1132 | --program-transform-n | --program-transform- \
1133 | --program-transform | --program-transfor \
1134 | --program-transfo | --program-transf \
1135 | --program-trans | --program-tran \
1136 | --progr-tra | --program-tr | --program-t)
1137 ac_prev=program_transform_name ;;
1138 -program-transform-name=* | --program-transform-name=* \
1139 | --program-transform-nam=* | --program-transform-na=* \
1140 | --program-transform-n=* | --program-transform-=* \
1141 | --program-transform=* | --program-transfor=* \
1142 | --program-transfo=* | --program-transf=* \
1143 | --program-trans=* | --program-tran=* \
1144 | --progr-tra=* | --program-tr=* | --program-t=*)
1145 program_transform_name=$ac_optarg ;;
1147 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1149 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1150 pdfdir=$ac_optarg ;;
1152 -psdir | --psdir | --psdi | --psd | --ps)
1154 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1157 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1158 | -silent | --silent | --silen | --sile | --sil)
1161 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1163 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1165 sbindir=$ac_optarg ;;
1167 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1168 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1169 | --sharedst | --shareds | --shared | --share | --shar \
1171 ac_prev=sharedstatedir ;;
1172 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1173 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1174 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1176 sharedstatedir=$ac_optarg ;;
1178 -site | --site | --sit)
1180 -site=* | --site=* | --sit=*)
1183 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1185 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1186 srcdir=$ac_optarg ;;
1188 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1189 | --syscon | --sysco | --sysc | --sys | --sy)
1190 ac_prev=sysconfdir ;;
1191 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1192 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1193 sysconfdir=$ac_optarg ;;
1195 -target | --target | --targe | --targ | --tar | --ta | --t)
1196 ac_prev=target_alias ;;
1197 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1198 target_alias=$ac_optarg ;;
1200 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1203 -version | --version | --versio | --versi | --vers | -V)
1204 ac_init_version=: ;;
1207 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 as_fn_error $? "invalid package name: $ac_useropt"
1211 ac_useropt_orig=$ac_useropt
1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1218 ac_unrecognized_sep=', ';;
1220 eval with_$ac_useropt=\$ac_optarg ;;
1222 -without-* | --without-*)
1223 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1226 as_fn_error $? "invalid package name: $ac_useropt"
1227 ac_useropt_orig=$ac_useropt
1228 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1234 ac_unrecognized_sep=', ';;
1236 eval with_$ac_useropt=no ;;
1239 # Obsolete; use --with-x.
1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1243 | --x-incl | --x-inc | --x-in | --x-i)
1244 ac_prev=x_includes ;;
1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 x_includes=$ac_optarg ;;
1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1251 ac_prev=x_libraries ;;
1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 x_libraries=$ac_optarg ;;
1256 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1257 Try \`$0 --help' for more information"
1261 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1262 # Reject names that are not valid shell variable names.
1263 case $ac_envvar in #(
1264 '' | [0-9]* | *[!_$as_cr_alnum]* )
1265 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1267 eval $ac_envvar=\$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1281 if test -n "$ac_prev"; then
1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283 as_fn_error $? "missing argument to $ac_option"
1286 if test -n "$ac_unrecognized_opts"; then
1287 case $enable_option_checking in
1289 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1290 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1294 # Check all directory arguments for consistency.
1295 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1296 datadir sysconfdir sharedstatedir localstatedir includedir \
1297 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1298 libdir localedir mandir
1300 eval ac_val=\$$ac_var
1301 # Remove trailing slashes.
1304 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1305 eval $ac_var=\$ac_val;;
1307 # Be sure to have absolute directory names.
1309 [\\/$]* | ?:[\\/]* ) continue;;
1310 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1312 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1315 # There might be people who depend on the old broken behavior: `$host'
1316 # used to hold the argument of --host etc.
1317 # FIXME: To remove some day.
1320 target=$target_alias
1322 # FIXME: To remove some day.
1323 if test "x$host_alias" != x; then
1324 if test "x$build_alias" = x; then
1325 cross_compiling=maybe
1326 elif test "x$build_alias" != "x$host_alias"; then
1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1334 test "$silent" = yes && exec 6>/dev/null
1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1338 ac_ls_di=`ls -di .` &&
1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1340 as_fn_error $? "working directory cannot be determined"
1341 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1342 as_fn_error $? "pwd does not report name of working directory"
1345 # Find the source files, if location was not specified.
1346 if test -z "$srcdir"; then
1347 ac_srcdir_defaulted=yes
1348 # Try the directory containing this script, then the parent directory.
1349 ac_confdir=`$as_dirname -- "$as_myself" ||
1350 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1351 X"$as_myself" : 'X\(//\)[^/]' \| \
1352 X"$as_myself" : 'X\(//\)$' \| \
1353 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1354 $as_echo X"$as_myself" |
1355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1377 ac_srcdir_defaulted=no
1379 if test ! -r "$srcdir/$ac_unique_file"; then
1380 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1381 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1383 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1385 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1387 # When building in place, set srcdir=.
1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
1391 # Remove unnecessary trailing slashes from srcdir.
1392 # Double slashes in file names in object file debugging info
1393 # mess up M-x gdb in Emacs.
1395 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1397 for ac_var in $ac_precious_vars; do
1398 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1399 eval ac_env_${ac_var}_value=\$${ac_var}
1400 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1401 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1405 # Report the --help message.
1407 if test "$ac_init_help" = "long"; then
1408 # Omit some internal or obsolete options to make the list less imposing.
1409 # This message is too long to be a string in the A/UX 3.1 sh.
1411 \`configure' configures psensor 1.2.0 to adapt to many kinds of systems.
1413 Usage: $0 [OPTION]... [VAR=VALUE]...
1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1416 VAR=VALUE. See below for descriptions of some of the useful variables.
1418 Defaults for the options are specified in brackets.
1421 -h, --help display this help and exit
1422 --help=short display options specific to this package
1423 --help=recursive display the short help of all the included packages
1424 -V, --version display version information and exit
1425 -q, --quiet, --silent do not print \`checking ...' messages
1426 --cache-file=FILE cache test results in FILE [disabled]
1427 -C, --config-cache alias for \`--cache-file=config.cache'
1428 -n, --no-create do not create output files
1429 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1431 Installation directories:
1432 --prefix=PREFIX install architecture-independent files in PREFIX
1433 [$ac_default_prefix]
1434 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1437 By default, \`make install' will install all the files in
1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1440 for instance \`--prefix=\$HOME'.
1442 For better control, use the options below.
1444 Fine tuning of the installation directories:
1445 --bindir=DIR user executables [EPREFIX/bin]
1446 --sbindir=DIR system admin executables [EPREFIX/sbin]
1447 --libexecdir=DIR program executables [EPREFIX/libexec]
1448 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1449 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1450 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1451 --libdir=DIR object code libraries [EPREFIX/lib]
1452 --includedir=DIR C header files [PREFIX/include]
1453 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1454 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1455 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1456 --infodir=DIR info documentation [DATAROOTDIR/info]
1457 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1458 --mandir=DIR man documentation [DATAROOTDIR/man]
1459 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1460 --htmldir=DIR html documentation [DOCDIR]
1461 --dvidir=DIR dvi documentation [DOCDIR]
1462 --pdfdir=DIR pdf documentation [DOCDIR]
1463 --psdir=DIR ps documentation [DOCDIR]
1469 --program-prefix=PREFIX prepend PREFIX to installed program names
1470 --program-suffix=SUFFIX append SUFFIX to installed program names
1471 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1474 --x-includes=DIR X include files are in DIR
1475 --x-libraries=DIR X library files are in DIR
1478 --build=BUILD configure for building on BUILD [guessed]
1479 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1483 if test -n "$ac_init_help"; then
1484 case $ac_init_help in
1485 short | recursive ) echo "Configuration of psensor 1.2.0:";;
1490 --disable-option-checking ignore unrecognized --enable/--with options
1491 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1492 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1493 --enable-silent-rules less verbose build output (undo: "make V=1")
1494 --disable-silent-rules verbose build output (undo: "make V=0")
1495 --enable-dependency-tracking
1496 do not reject slow dependency extractors
1497 --disable-dependency-tracking
1498 speeds up one-time build
1499 --disable-largefile omit support for large files
1500 --disable-nls do not use Native Language Support
1501 --disable-rpath do not hardcode runtime library paths
1502 --disable-schemas-compile
1503 Disable regeneration of gschemas.compiled on install
1506 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1507 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1508 --with-x use the X Window System
1509 --with-gnu-ld assume the C compiler uses GNU ld default=no
1510 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1511 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1512 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1513 --without-libintl-prefix don't search for libintl in includedir and libdir
1514 --with-libatiadl=DIR use libatiadlxx in DIR
1515 --with-gtop=yes|no use gtop
1517 Some influential environment variables:
1518 CC C compiler command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1521 nonstandard directory <lib dir>
1522 LIBS libraries to pass to the linker, e.g. -l<library>
1523 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524 you have headers in a nonstandard directory <include dir>
1525 XMKMF Path to xmkmf, Makefile generator for X Window System
1527 PKG_CONFIG path to pkg-config utility
1529 directories to add to pkg-config's search path
1531 path overriding pkg-config's built-in search path
1532 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1533 X11_LIBS linker flags for X11, overriding pkg-config
1534 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1535 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1536 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1537 GTK_LIBS linker flags for GTK, overriding pkg-config
1539 C compiler flags for LIBUDISKS2, overriding pkg-config
1541 linker flags for LIBUDISKS2, 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.2.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
1933 cat >config.log <<_ACEOF
1934 This file contains any messages produced by compilers while
1935 running configure, to aid debugging if configure makes a mistake.
1937 It was created by psensor $as_me 1.2.0, which was
1938 generated by GNU Autoconf 2.69. Invocation command line was
1950 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1951 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1952 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1953 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1954 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1956 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1957 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1959 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1960 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1961 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1962 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1963 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1964 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1965 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir=.
1974 $as_echo "PATH: $as_dir"
1990 # Keep a trace of the command line.
1991 # Strip out --no-create and --no-recursion so they do not pile up.
1992 # Strip out --silent because we don't want to record it for future runs.
1993 # Also quote any args containing shell meta-characters.
1994 # Make two passes to allow for proper duplicate-argument suppression.
1998 ac_must_keep_next=false
2004 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2006 | -silent | --silent | --silen | --sile | --sil)
2009 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2012 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2014 as_fn_append ac_configure_args1 " '$ac_arg'"
2015 if test $ac_must_keep_next = true; then
2016 ac_must_keep_next=false # Got value, back to normal.
2019 *=* | --config-cache | -C | -disable-* | --disable-* \
2020 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2021 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2022 | -with-* | --with-* | -without-* | --without-* | --x)
2023 case "$ac_configure_args0 " in
2024 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2027 -* ) ac_must_keep_next=true ;;
2030 as_fn_append ac_configure_args " '$ac_arg'"
2035 { ac_configure_args0=; unset ac_configure_args0;}
2036 { ac_configure_args1=; unset ac_configure_args1;}
2038 # When interrupted or exit'd, cleanup temporary files, and complete
2039 # config.log. We remove comments because anyway the quotes in there
2040 # would cause problems or look ugly.
2041 # WARNING: Use '\'' to represent an apostrophe within the trap.
2042 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2043 trap 'exit_status=$?
2044 # Save into config.log some information that might help in debugging.
2048 $as_echo "## ---------------- ##
2049 ## Cache variables. ##
2050 ## ---------------- ##"
2052 # The following way of writing the cache mishandles newlines in values,
2054 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2055 eval ac_val=\$$ac_var
2059 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2060 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2063 _ | IFS | as_nl) ;; #(
2064 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2065 *) { eval $ac_var=; unset $ac_var;} ;;
2070 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2071 *${as_nl}ac_space=\ *)
2073 "s/'\''/'\''\\\\'\'''\''/g;
2074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2077 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2084 $as_echo "## ----------------- ##
2085 ## Output variables. ##
2086 ## ----------------- ##"
2088 for ac_var in $ac_subst_vars
2090 eval ac_val=\$$ac_var
2092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2094 $as_echo "$ac_var='\''$ac_val'\''"
2098 if test -n "$ac_subst_files"; then
2099 $as_echo "## ------------------- ##
2100 ## File substitutions. ##
2101 ## ------------------- ##"
2103 for ac_var in $ac_subst_files
2105 eval ac_val=\$$ac_var
2107 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2109 $as_echo "$ac_var='\''$ac_val'\''"
2114 if test -s confdefs.h; then
2115 $as_echo "## ----------- ##
2122 test "$ac_signal" != 0 &&
2123 $as_echo "$as_me: caught signal $ac_signal"
2124 $as_echo "$as_me: exit $exit_status"
2126 rm -f core *.core core.conftest.* &&
2127 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2130 for ac_signal in 1 2 13 15; do
2131 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2136 rm -f -r conftest* confdefs.h
2138 $as_echo "/* confdefs.h */" > confdefs.h
2140 # Predefined preprocessor variables.
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_NAME "$PACKAGE_NAME"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_STRING "$PACKAGE_STRING"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_URL "$PACKAGE_URL"
2167 # Let the site file select an alternate cache file if it wants to.
2168 # Prefer an explicitly selected file to automatically selected ones.
2171 if test -n "$CONFIG_SITE"; then
2172 # We do not want a PATH search for config.site.
2173 case $CONFIG_SITE in #((
2174 -*) ac_site_file1=./$CONFIG_SITE;;
2175 */*) ac_site_file1=$CONFIG_SITE;;
2176 *) ac_site_file1=./$CONFIG_SITE;;
2178 elif test "x$prefix" != xNONE; then
2179 ac_site_file1=$prefix/share/config.site
2180 ac_site_file2=$prefix/etc/config.site
2182 ac_site_file1=$ac_default_prefix/share/config.site
2183 ac_site_file2=$ac_default_prefix/etc/config.site
2185 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2187 test "x$ac_site_file" = xNONE && continue
2188 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2190 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2191 sed 's/^/| /' "$ac_site_file" >&5
2193 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2195 as_fn_error $? "failed to load site script $ac_site_file
2196 See \`config.log' for more details" "$LINENO" 5; }
2200 if test -r "$cache_file"; then
2201 # Some versions of bash will fail to source /dev/null (special files
2202 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2203 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2205 $as_echo "$as_me: loading cache $cache_file" >&6;}
2207 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2208 *) . "./$cache_file";;
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2213 $as_echo "$as_me: creating cache $cache_file" >&6;}
2217 gt_needs="$gt_needs "
2218 # Check that the precious variables saved in the cache have kept the same
2220 ac_cache_corrupted=false
2221 for ac_var in $ac_precious_vars; do
2222 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2223 eval ac_new_set=\$ac_env_${ac_var}_set
2224 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2225 eval ac_new_val=\$ac_env_${ac_var}_value
2226 case $ac_old_set,$ac_new_set in
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2229 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2230 ac_cache_corrupted=: ;;
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2233 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2234 ac_cache_corrupted=: ;;
2237 if test "x$ac_old_val" != "x$ac_new_val"; then
2238 # differences in whitespace do not lead to failure.
2239 ac_old_val_w=`echo x $ac_old_val`
2240 ac_new_val_w=`echo x $ac_new_val`
2241 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2243 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2244 ac_cache_corrupted=:
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2247 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2248 eval $ac_var=\$ac_old_val
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2251 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2253 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2256 # Pass precious variables to config.status.
2257 if test "$ac_new_set" = set; then
2259 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2260 *) ac_arg=$ac_var=$ac_new_val ;;
2262 case " $ac_configure_args " in
2263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2264 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2268 if $ac_cache_corrupted; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2272 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2273 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2275 ## -------------------- ##
2276 ## Main body of script. ##
2277 ## -------------------- ##
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2287 am__api_version='1.14'
2290 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2291 if test -f "$ac_dir/install-sh"; then
2293 ac_install_sh="$ac_aux_dir/install-sh -c"
2295 elif test -f "$ac_dir/install.sh"; then
2297 ac_install_sh="$ac_aux_dir/install.sh -c"
2299 elif test -f "$ac_dir/shtool"; then
2301 ac_install_sh="$ac_aux_dir/shtool install -c"
2305 if test -z "$ac_aux_dir"; then
2306 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2309 # These three variables are undocumented and unsupported,
2310 # and are intended to be withdrawn in a future Autoconf release.
2311 # They can cause serious problems if a builder's source tree is in a directory
2312 # whose full name contains unusual characters.
2313 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2314 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2315 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2318 # Find a good install program. We prefer a C program (faster),
2319 # so one script is as good as another. But avoid the broken or
2320 # incompatible versions:
2321 # SysV /etc/install, /usr/sbin/install
2322 # SunOS /usr/etc/install
2323 # IRIX /sbin/install
2325 # AmigaOS /C/install, which installs bootblocks on floppy discs
2326 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2327 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2328 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2329 # OS/2's system install, which has a completely different semantic
2330 # ./install, which can be erroneously created by make from ./install.sh.
2331 # Reject install programs that cannot install multiple files.
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2333 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2334 if test -z "$INSTALL"; then
2335 if ${ac_cv_path_install+:} false; then :
2336 $as_echo_n "(cached) " >&6
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 # Account for people who put trailing slashes in PATH elements.
2344 case $as_dir/ in #((
2345 ./ | .// | /[cC]/* | \
2346 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2347 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2350 # OSF1 and SCO ODT 3.0 have their own names for install.
2351 # Don't use installbsd from OSF since it installs stuff as root
2353 for ac_prog in ginstall scoinst install; do
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2356 if test $ac_prog = install &&
2357 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2358 # AIX install. It has an incompatible calling convention.
2360 elif test $ac_prog = install &&
2361 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2362 # program-specific install script used by HP pwplus--don't use.
2365 rm -rf conftest.one conftest.two conftest.dir
2366 echo one > conftest.one
2367 echo two > conftest.two
2369 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2370 test -s conftest.one && test -s conftest.two &&
2371 test -s conftest.dir/conftest.one &&
2372 test -s conftest.dir/conftest.two
2374 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2387 rm -rf conftest.one conftest.two conftest.dir
2390 if test "${ac_cv_path_install+set}" = set; then
2391 INSTALL=$ac_cv_path_install
2393 # As a last resort, use the slow shell script. Don't cache a
2394 # value for INSTALL within a source directory, because that will
2395 # break other packages using the cache if that directory is
2396 # removed, or if the value is a relative name.
2397 INSTALL=$ac_install_sh
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2401 $as_echo "$INSTALL" >&6; }
2403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2404 # It thinks the first close brace ends the variable substitution.
2405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2412 $as_echo_n "checking whether build environment is sane... " >&6; }
2413 # Reject unsafe characters in $srcdir or the absolute working directory
2414 # name. Accept space and tab only in the latter.
2418 *[\\\"\#\$\&\'\`$am_lf]*)
2419 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2422 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2423 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2426 # Do 'set' in a subshell so we don't clobber the current shell's
2427 # arguments. Must try -L first in case configure is actually a
2428 # symlink; some systems play weird games with the mod time of symlinks
2429 # (eg FreeBSD returns the mod time of the symlink's containing
2433 for am_try in 1 2; do
2434 echo "timestamp, slept: $am_has_slept" > conftest.file
2435 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2436 if test "$*" = "X"; then
2438 set X `ls -t "$srcdir/configure" conftest.file`
2440 if test "$*" != "X $srcdir/configure conftest.file" \
2441 && test "$*" != "X conftest.file $srcdir/configure"; then
2443 # If neither matched, then we have a broken ls. This can happen
2444 # if, for instance, CONFIG_SHELL is bash and it inherits a
2445 # broken ls alias from the environment. This has actually
2446 # happened. Such a system could not be considered "sane".
2447 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2450 if test "$2" = conftest.file || test $am_try -eq 2; then
2457 test "$2" = conftest.file
2463 as_fn_error $? "newly created file is older than distributed files!
2464 Check your system clock" "$LINENO" 5
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2467 $as_echo "yes" >&6; }
2468 # If we didn't sleep, we still need to ensure time stamps of config.status and
2469 # generated files are strictly newer.
2471 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2478 test "$program_prefix" != NONE &&
2479 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2480 # Use a double $ so make ignores it.
2481 test "$program_suffix" != NONE &&
2482 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2483 # Double any \ or $.
2484 # By default was `s,x,x', remove it if useless.
2485 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2486 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2488 # Expand $ac_aux_dir to an absolute path.
2489 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2491 if test x"${MISSING+set}" != xset; then
2494 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2496 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2499 # Use eval to expand $SHELL
2500 if eval "$MISSING --is-lightweight"; then
2501 am_missing_run="$MISSING "
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2505 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2508 if test x"${install_sh}" != xset; then
2511 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2513 install_sh="\${SHELL} $am_aux_dir/install-sh"
2517 # Installed binaries are usually stripped using 'strip' when the user
2518 # run "make install-strip". However 'strip' might not be the right
2519 # tool to use in cross-compilation environments, therefore Automake
2520 # will honor the 'STRIP' environment variable to overrule this program.
2521 if test "$cross_compiling" != no; then
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}strip; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_STRIP+:} false; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$STRIP"; then
2531 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 STRIP=$ac_cv_prog_STRIP
2551 if test -n "$STRIP"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2553 $as_echo "$STRIP" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2561 if test -z "$ac_cv_prog_STRIP"; then
2563 # Extract the first word of "strip", so it can be a program name with args.
2564 set dummy strip; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$ac_ct_STRIP"; then
2571 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_ac_ct_STRIP="strip"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2591 if test -n "$ac_ct_STRIP"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2593 $as_echo "$ac_ct_STRIP" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2599 if test "x$ac_ct_STRIP" = x; then
2602 case $cross_compiling:$ac_tool_warned in
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned=yes ;;
2611 STRIP="$ac_cv_prog_STRIP"
2615 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2618 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2619 if test -z "$MKDIR_P"; then
2620 if ${ac_cv_path_mkdir+:} false; then :
2621 $as_echo_n "(cached) " >&6
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2627 test -z "$as_dir" && as_dir=.
2628 for ac_prog in mkdir gmkdir; do
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2631 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2632 'mkdir (GNU coreutils) '* | \
2633 'mkdir (coreutils) '* | \
2634 'mkdir (fileutils) '4.1*)
2635 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2645 test -d ./--version && rmdir ./--version
2646 if test "${ac_cv_path_mkdir+set}" = set; then
2647 MKDIR_P="$ac_cv_path_mkdir -p"
2649 # As a last resort, use the slow shell script. Don't cache a
2650 # value for MKDIR_P within a source directory, because that will
2651 # break other packages using the cache if that directory is
2652 # removed, or if the value is a relative name.
2653 MKDIR_P="$ac_install_sh -d"
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2657 $as_echo "$MKDIR_P" >&6; }
2659 for ac_prog in gawk mawk nawk awk
2661 # Extract the first word of "$ac_prog", so it can be a program name with args.
2662 set dummy $ac_prog; ac_word=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_AWK+:} false; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$AWK"; then
2669 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2678 ac_cv_prog_AWK="$ac_prog"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 if test -n "$AWK"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2691 $as_echo "$AWK" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2698 test -n "$AWK" && break
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2702 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2704 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2705 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 cat >conftest.make <<\_ACEOF
2711 @echo '@@@%%%=$(MAKE)=@@@%%%'
2713 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2714 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2716 eval ac_cv_prog_make_${ac_make}_set=yes;;
2718 eval ac_cv_prog_make_${ac_make}_set=no;;
2722 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2729 SET_MAKE="MAKE=${MAKE-make}"
2732 rm -rf .tst 2>/dev/null
2733 mkdir .tst 2>/dev/null
2734 if test -d .tst; then
2739 rmdir .tst 2>/dev/null
2741 # Check whether --enable-silent-rules was given.
2742 if test "${enable_silent_rules+set}" = set; then :
2743 enableval=$enable_silent_rules;
2746 case $enable_silent_rules in # (((
2747 yes) AM_DEFAULT_VERBOSITY=0;;
2748 no) AM_DEFAULT_VERBOSITY=1;;
2749 *) AM_DEFAULT_VERBOSITY=1;;
2751 am_make=${MAKE-make}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2753 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2754 if ${am_cv_make_support_nested_variables+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 if $as_echo 'TRUE=$(BAR$(V))
2763 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2764 am_cv_make_support_nested_variables=yes
2766 am_cv_make_support_nested_variables=no
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2770 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2771 if test $am_cv_make_support_nested_variables = yes; then
2773 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2775 AM_V=$AM_DEFAULT_VERBOSITY
2776 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2780 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2781 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2782 # is not polluted with repeated "-I."
2783 am__isrc=' -I$(srcdir)'
2784 # test to see if srcdir already configured
2785 if test -f $srcdir/config.status; then
2786 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2790 # test whether we have cygpath
2791 if test -z "$CYGPATH_W"; then
2792 if (cygpath --version) >/dev/null 2>/dev/null; then
2793 CYGPATH_W='cygpath -w'
2800 # Define the identity of the package.
2805 cat >>confdefs.h <<_ACEOF
2806 #define PACKAGE "$PACKAGE"
2810 cat >>confdefs.h <<_ACEOF
2811 #define VERSION "$VERSION"
2814 # Some tools Automake needs.
2816 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2819 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2822 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2825 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2828 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2830 # For better backward compatibility. To be removed once Automake 1.9.x
2831 # dies out for good. For more background, see:
2832 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2833 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2834 mkdir_p='$(MKDIR_P)'
2836 # We need awk for the "check" target. The system "awk" is bad on
2838 # Always define AMTAR for backward compatibility. Yes, it's still used
2839 # in the wild :-( We should find a proper way to deprecate it ...
2843 # We'll loop over all known methods to create a tar archive until one works.
2844 _am_tools='gnutar pax cpio none'
2846 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2853 # POSIX will say in a future version that running "rm -f" with no argument
2854 # is OK; and we want to be able to make that assumption in our Makefile
2855 # recipes. So use an aggressive probe to check that the usage we want is
2856 # actually supported "in the wild" to an acceptable degree.
2857 # See automake bug#10828.
2858 # To make any issue more visible, cause the running configure to be aborted
2859 # by default if the 'rm' program in use doesn't match our expectations; the
2860 # user can still override this though.
2861 if rm -f && rm -fr && rm -rf; then : OK; else
2865 Your 'rm' program seems unable to run without file operands specified
2866 on the command line, even when the '-f' option is present. This is contrary
2867 to the behaviour of most rm programs out there, and not conforming with
2868 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2870 Please tell bug-automake@gnu.org about your system, including the value
2871 of your $PATH and any error possibly output before this message. This
2872 can help us improve future automake versions.
2875 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2876 echo 'Configuration will proceed anyway, since you have set the' >&2
2877 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2881 Aborting the configuration process, to ensure you take notice of the issue.
2883 You can download and install GNU coreutils to get an 'rm' implementation
2884 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2886 If you want to complete the configuration process using your problematic
2887 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2888 to "yes", and re-run configure.
2891 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2897 ac_config_headers="$ac_config_headers config.h"
2903 # Checks for programs.
2905 ac_cpp='$CPP $CPPFLAGS'
2906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2909 if test -n "$ac_tool_prefix"; then
2910 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2911 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913 $as_echo_n "checking for $ac_word... " >&6; }
2914 if ${ac_cv_prog_CC+:} false; then :
2915 $as_echo_n "(cached) " >&6
2917 if test -n "$CC"; then
2918 ac_cv_prog_CC="$CC" # Let the user override the test.
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test -n "$CC"; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2940 $as_echo "$CC" >&6; }
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2948 if test -z "$ac_cv_prog_CC"; then
2950 # Extract the first word of "gcc", so it can be a program name with args.
2951 set dummy gcc; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 if test -n "$ac_ct_CC"; then
2958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967 ac_cv_prog_ac_ct_CC="gcc"
2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2978 if test -n "$ac_ct_CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2980 $as_echo "$ac_ct_CC" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2986 if test "x$ac_ct_CC" = x; then
2989 case $cross_compiling:$ac_tool_warned in
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2993 ac_tool_warned=yes ;;
3001 if test -z "$CC"; then
3002 if test -n "$ac_tool_prefix"; then
3003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3004 set dummy ${ac_tool_prefix}cc; ac_word=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if ${ac_cv_prog_CC+:} false; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -n "$CC"; then
3011 ac_cv_prog_CC="$CC" # Let the user override the test.
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir=.
3018 for ac_exec_ext in '' $ac_executable_extensions; do
3019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3020 ac_cv_prog_CC="${ac_tool_prefix}cc"
3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test -n "$CC"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033 $as_echo "$CC" >&6; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3042 if test -z "$CC"; then
3043 # Extract the first word of "cc", so it can be a program name with args.
3044 set dummy cc; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_CC+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 if test -n "$CC"; then
3051 ac_cv_prog_CC="$CC" # Let the user override the test.
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3062 ac_prog_rejected=yes
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 if test $ac_prog_rejected = yes; then
3074 # We found a bogon in the path, so make sure we never use it.
3075 set dummy $ac_cv_prog_CC
3077 if test $# != 0; then
3078 # We chose a different compiler from the bogus one.
3079 # However, it has the same basename, so the bogon will be chosen
3080 # first if we set CC to just the basename; use the full file name.
3082 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3088 if test -n "$CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3098 if test -z "$CC"; then
3099 if test -n "$ac_tool_prefix"; then
3100 for ac_prog in cl.exe
3102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_CC+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$CC"; then
3110 ac_cv_prog_CC="$CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test -n "$CC"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 $as_echo "$CC" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 test -n "$CC" && break
3142 if test -z "$CC"; then
3144 for ac_prog in cl.exe
3146 # Extract the first word of "$ac_prog", so it can be a program name with args.
3147 set dummy $ac_prog; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$ac_ct_CC"; then
3154 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_ac_ct_CC="$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3174 if test -n "$ac_ct_CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3176 $as_echo "$ac_ct_CC" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3183 test -n "$ac_ct_CC" && break
3186 if test "x$ac_ct_CC" = x; then
3189 case $cross_compiling:$ac_tool_warned in
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193 ac_tool_warned=yes ;;
3202 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204 as_fn_error $? "no acceptable C compiler found in \$PATH
3205 See \`config.log' for more details" "$LINENO" 5; }
3207 # Provide some information about the compiler.
3208 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3211 for ac_option in --version -v -V -qversion; do
3212 { { ac_try="$ac_compiler $ac_option >&5"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3221 if test -s conftest.err; then
3223 ... rest of stderr output deleted ...
3224 10q' conftest.err >conftest.er1
3225 cat conftest.er1 >&5
3227 rm -f conftest.er1 conftest.err
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; }
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3243 ac_clean_files_save=$ac_clean_files
3244 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3245 # Try to create an executable without -o first, disregard a.out.
3246 # It will help us diagnose broken compilers, and finding out an intuition
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3249 $as_echo_n "checking whether the C compiler works... " >&6; }
3250 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3252 # The possible output files:
3253 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3256 for ac_file in $ac_files
3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3260 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3265 if { { ac_try="$ac_link_default"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271 $as_echo "$ac_try_echo"; } >&5
3272 (eval "$ac_link_default") 2>&5
3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275 test $ac_status = 0; }; then :
3276 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3277 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3278 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3279 # so that the user can short-circuit this test for compilers unknown to
3281 for ac_file in $ac_files ''
3283 test -f "$ac_file" || continue
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3288 # We found the default executable, but exeext='' is most
3292 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3294 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3296 # We set ac_cv_exeext here because the later test for it is not
3297 # safe: cross compilers may not add the suffix if given an `-o'
3298 # argument, so we may need to know it at that point already.
3299 # Even if this section looks crufty: it has the advantage of
3306 test "$ac_cv_exeext" = no && ac_cv_exeext=
3311 if test -z "$ac_file"; then :
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3314 $as_echo "$as_me: failed program was:" >&5
3315 sed 's/^/| /' conftest.$ac_ext >&5
3317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error 77 "C compiler cannot create executables
3320 See \`config.log' for more details" "$LINENO" 5; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3326 $as_echo_n "checking for C compiler default output file name... " >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3328 $as_echo "$ac_file" >&6; }
3329 ac_exeext=$ac_cv_exeext
3331 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3332 ac_clean_files=$ac_clean_files_save
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3334 $as_echo_n "checking for suffix of executables... " >&6; }
3335 if { { ac_try="$ac_link"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_link") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; then :
3346 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3347 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3348 # work properly (i.e., refer to `conftest.exe'), while it won't with
3350 for ac_file in conftest.exe conftest conftest.*; do
3351 test -f "$ac_file" || continue
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3354 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 rm -f conftest conftest$ac_cv_exeext
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3367 $as_echo "$ac_cv_exeext" >&6; }
3369 rm -f conftest.$ac_ext
3370 EXEEXT=$ac_cv_exeext
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3378 FILE *f = fopen ("conftest.out", "w");
3379 return ferror (f) || fclose (f) != 0;
3385 ac_clean_files="$ac_clean_files conftest.out"
3386 # Check that the compiler produces executables we can run. If not, either
3387 # the compiler is broken, or we cross compile.
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3389 $as_echo_n "checking whether we are cross compiling... " >&6; }
3390 if test "$cross_compiling" != yes; then
3391 { { ac_try="$ac_link"
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3397 $as_echo "$ac_try_echo"; } >&5
3398 (eval "$ac_link") 2>&5
3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401 test $ac_status = 0; }
3402 if { ac_try='./conftest$ac_cv_exeext'
3403 { { case "(($ac_try" in
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_try") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }; }; then
3415 if test "$cross_compiling" = maybe; then
3418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error $? "cannot run C compiled programs.
3421 If you meant to cross compile, use \`--host'.
3422 See \`config.log' for more details" "$LINENO" 5; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3427 $as_echo "$cross_compiling" >&6; }
3429 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3430 ac_clean_files=$ac_clean_files_save
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3432 $as_echo_n "checking for suffix of object files... " >&6; }
3433 if ${ac_cv_objext+:} false; then :
3434 $as_echo_n "(cached) " >&6
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 rm -f conftest.o conftest.obj
3448 if { { ac_try="$ac_compile"
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454 $as_echo "$ac_try_echo"; } >&5
3455 (eval "$ac_compile") 2>&5
3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458 test $ac_status = 0; }; then :
3459 for ac_file in conftest.o conftest.obj conftest.*; do
3460 test -f "$ac_file" || continue;
3462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3463 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3468 $as_echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "cannot compute suffix of object files: cannot compile
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3479 $as_echo "$ac_cv_objext" >&6; }
3480 OBJEXT=$ac_cv_objext
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3483 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3484 if ${ac_cv_c_compiler_gnu+:} false; then :
3485 $as_echo_n "(cached) " >&6
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3501 if ac_fn_c_try_compile "$LINENO"; then :
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3511 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3512 if test $ac_compiler_gnu = yes; then
3517 ac_test_CFLAGS=${CFLAGS+set}
3518 ac_save_CFLAGS=$CFLAGS
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3520 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3521 if ${ac_cv_prog_cc_g+:} false; then :
3522 $as_echo_n "(cached) " >&6
3524 ac_save_c_werror_flag=$ac_c_werror_flag
3525 ac_c_werror_flag=yes
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3539 if ac_fn_c_try_compile "$LINENO"; then :
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 if ac_fn_c_try_compile "$LINENO"; then :
3557 ac_c_werror_flag=$ac_save_c_werror_flag
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3570 if ac_fn_c_try_compile "$LINENO"; then :
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 ac_c_werror_flag=$ac_save_c_werror_flag
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3581 $as_echo "$ac_cv_prog_cc_g" >&6; }
3582 if test "$ac_test_CFLAGS" = set; then
3583 CFLAGS=$ac_save_CFLAGS
3584 elif test $ac_cv_prog_cc_g = yes; then
3585 if test "$GCC" = yes; then
3591 if test "$GCC" = yes; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3598 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3599 if ${ac_cv_prog_cc_c89+:} false; then :
3600 $as_echo_n "(cached) " >&6
3602 ac_cv_prog_cc_c89=no
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3609 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3610 struct buf { int x; };
3611 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3612 static char *e (p, i)
3618 static char *f (char * (*g) (char **, int), char **p, ...)
3623 s = g (p, va_arg (v,int));
3628 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3629 function prototypes and stuff, but not '\xHH' hex character constants.
3630 These don't provoke an error unfortunately, instead are silently treated
3631 as 'x'. The following induces an error, until -std is added to get
3632 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3633 array size at least. It's necessary to write '\x00'==0 to get something
3634 that's true only with -std. */
3635 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3637 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3638 inside strings and character constants. */
3640 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3642 int test (int i, double x);
3643 struct s1 {int (*f) (int a);};
3644 struct s2 {int (*f) (double a);};
3645 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3651 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3656 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3657 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3659 CC="$ac_save_CC $ac_arg"
3660 if ac_fn_c_try_compile "$LINENO"; then :
3661 ac_cv_prog_cc_c89=$ac_arg
3663 rm -f core conftest.err conftest.$ac_objext
3664 test "x$ac_cv_prog_cc_c89" != "xno" && break
3666 rm -f conftest.$ac_ext
3671 case "x$ac_cv_prog_cc_c89" in
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3674 $as_echo "none needed" >&6; } ;;
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3677 $as_echo "unsupported" >&6; } ;;
3679 CC="$CC $ac_cv_prog_cc_c89"
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3681 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3683 if test "x$ac_cv_prog_cc_c89" != xno; then :
3688 ac_cpp='$CPP $CPPFLAGS'
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3699 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3700 if ${am_cv_prog_cc_c_o+:} false; then :
3701 $as_echo_n "(cached) " >&6
3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3714 # Make sure it works both with $CC and with simple cc.
3715 # Following AC_PROG_CC_C_O, we do the test twice because some
3716 # compilers refuse to overwrite an existing .o file with -o,
3717 # though they will create one.
3718 am_cv_prog_cc_c_o=yes
3720 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3721 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } \
3725 && test -f conftest2.$ac_objext; then
3728 am_cv_prog_cc_c_o=no
3732 rm -f core conftest*
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3736 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3737 if test "$am_cv_prog_cc_c_o" != yes; then
3738 # Losing compiler, so override with the script.
3739 # FIXME: It is wrong to rewrite CC.
3740 # But if we don't then we get into trouble of one sort or another.
3741 # A longer-term fix would be to have automake use am__CC in this case,
3742 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3743 CC="$am_aux_dir/compile $CC"
3746 ac_cpp='$CPP $CPPFLAGS'
3747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 DEPDIR="${am__leading_dot}deps"
3753 ac_config_commands="$ac_config_commands depfiles"
3756 am_make=${MAKE-make}
3757 cat > confinc << 'END'
3759 @echo this is the am__doit target
3762 # If we don't find an include directive, just comment out the code.
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3764 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3768 # First try GNU make style include.
3769 echo "include confinc" > confmf
3770 # Ignore all kinds of additional output from 'make'.
3771 case `$am_make -s -f confmf 2> /dev/null` in #(
3772 *the\ am__doit\ target*)
3778 # Now try BSD make style include.
3779 if test "$am__include" = "#"; then
3780 echo '.include "confinc"' > confmf
3781 case `$am_make -s -f confmf 2> /dev/null` in #(
3782 *the\ am__doit\ target*)
3783 am__include=.include
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3792 $as_echo "$_am_result" >&6; }
3793 rm -f confinc confmf
3795 # Check whether --enable-dependency-tracking was given.
3796 if test "${enable_dependency_tracking+set}" = set; then :
3797 enableval=$enable_dependency_tracking;
3800 if test "x$enable_dependency_tracking" != xno; then
3801 am_depcomp="$ac_aux_dir/depcomp"
3805 if test "x$enable_dependency_tracking" != xno; then
3815 depcc="$CC" am_compiler_list=
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3818 $as_echo_n "checking dependency style of $depcc... " >&6; }
3819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3823 # We make a subdir and do the tests there. Otherwise we can end up
3824 # making bogus files that we don't know about and never remove. For
3825 # instance it was reported that on HP-UX the gcc test will end up
3826 # making a dummy file named 'D' -- because '-MD' means "put the output
3830 # Copy depcomp to subdir because otherwise we won't find it if we're
3831 # using a relative directory.
3832 cp "$am_depcomp" conftest.dir
3834 # We will build objects and dependencies in a subdirectory because
3835 # it helps to detect inapplicable dependency modes. For instance
3836 # both Tru64's cc and ICC support -MD to output dependencies as a
3837 # side effect of compilation, but ICC will put the dependencies in
3838 # the current directory while Tru64 will put them in the object
3842 am_cv_CC_dependencies_compiler_type=none
3843 if test "$am_compiler_list" = ""; then
3844 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3847 case " $depcc " in #(
3848 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3851 for depmode in $am_compiler_list; do
3852 # Setup a source with many dependencies, because some compilers
3853 # like to wrap large dependency lists on column 80 (with \), and
3854 # we should not choose a depcomp mode which is confused by this.
3856 # We need to recreate these files for each test, as the compiler may
3857 # overwrite some of them when testing with obscure command lines.
3858 # This happens at least with the AIX C compiler.
3860 for i in 1 2 3 4 5 6; do
3861 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3862 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3863 # Solaris 10 /bin/sh.
3864 echo '/* dummy */' > sub/conftst$i.h
3866 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3868 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3869 # mode. It turns out that the SunPro C++ compiler does not properly
3870 # handle '-M -o', and we need to detect this. Also, some Intel
3871 # versions had trouble with output in subdirs.
3872 am__obj=sub/conftest.${OBJEXT-o}
3873 am__minus_obj="-o $am__obj"
3876 # This depmode causes a compiler race in universal mode.
3877 test "$am__universal" = false || continue
3880 # After this tag, mechanisms are not by side-effect, so they'll
3881 # only be used when explicitly requested.
3882 if test "x$enable_dependency_tracking" = xyes; then
3888 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3889 # This compiler won't grok '-c -o', but also, the minuso test has
3890 # not run yet. These depmodes are late enough in the game, and
3891 # so weak that their functioning should not be impacted.
3892 am__obj=conftest.${OBJEXT-o}
3897 if depmode=$depmode \
3898 source=sub/conftest.c object=$am__obj \
3899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3900 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3901 >/dev/null 2>conftest.err &&
3902 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3903 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3904 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3905 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3906 # icc doesn't choke on unknown options, it will just issue warnings
3907 # or remarks (even with -Werror). So we grep stderr for any message
3908 # that says an option was ignored or not supported.
3909 # When given -MP, icc 7.0 and 7.1 complain thusly:
3910 # icc: Command line warning: ignoring option '-M'; no argument required
3911 # The diagnosis changed in icc 8.0:
3912 # icc: Command line remark: option '-MP' not supported
3913 if (grep 'ignoring option' conftest.err ||
3914 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3915 am_cv_CC_dependencies_compiler_type=$depmode
3924 am_cv_CC_dependencies_compiler_type=none
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3933 test "x$enable_dependency_tracking" != xno \
3934 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3936 am__fastdepCC_FALSE='#'
3938 am__fastdepCC_TRUE='#'
3939 am__fastdepCC_FALSE=
3946 # Check whether --enable-largefile was given.
3947 if test "${enable_largefile+set}" = set; then :
3948 enableval=$enable_largefile;
3951 if test "$enable_largefile" != no; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3954 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3955 if ${ac_cv_sys_largefile_CC+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 ac_cv_sys_largefile_CC=no
3959 if test "$GCC" != yes; then
3962 # IRIX 6.2 and later do not support large files by default,
3963 # so use the C compiler's -n32 option if that helps.
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3966 #include <sys/types.h>
3967 /* Check that off_t can represent 2**63 - 1 correctly.
3968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3969 since some C++ compilers masquerading as C compilers
3970 incorrectly reject 9223372036854775807. */
3971 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3973 && LARGE_OFF_T % 2147483647 == 1)
3983 if ac_fn_c_try_compile "$LINENO"; then :
3986 rm -f core conftest.err conftest.$ac_objext
3988 if ac_fn_c_try_compile "$LINENO"; then :
3989 ac_cv_sys_largefile_CC=' -n32'; break
3991 rm -f core conftest.err conftest.$ac_objext
3995 rm -f conftest.$ac_ext
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3999 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4000 if test "$ac_cv_sys_largefile_CC" != no; then
4001 CC=$CC$ac_cv_sys_largefile_CC
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4005 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4006 if ${ac_cv_sys_file_offset_bits+:} false; then :
4007 $as_echo_n "(cached) " >&6
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4012 #include <sys/types.h>
4013 /* Check that off_t can represent 2**63 - 1 correctly.
4014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4015 since some C++ compilers masquerading as C compilers
4016 incorrectly reject 9223372036854775807. */
4017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4019 && LARGE_OFF_T % 2147483647 == 1)
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 ac_cv_sys_file_offset_bits=no; break
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4035 #define _FILE_OFFSET_BITS 64
4036 #include <sys/types.h>
4037 /* Check that off_t can represent 2**63 - 1 correctly.
4038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4039 since some C++ compilers masquerading as C compilers
4040 incorrectly reject 9223372036854775807. */
4041 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4043 && LARGE_OFF_T % 2147483647 == 1)
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 ac_cv_sys_file_offset_bits=64; break
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4057 ac_cv_sys_file_offset_bits=unknown
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4062 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4063 case $ac_cv_sys_file_offset_bits in #(
4066 cat >>confdefs.h <<_ACEOF
4067 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4072 if test $ac_cv_sys_file_offset_bits = unknown; then
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4074 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4075 if ${ac_cv_sys_large_files+:} false; then :
4076 $as_echo_n "(cached) " >&6
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4081 #include <sys/types.h>
4082 /* Check that off_t can represent 2**63 - 1 correctly.
4083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4084 since some C++ compilers masquerading as C compilers
4085 incorrectly reject 9223372036854775807. */
4086 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4088 && LARGE_OFF_T % 2147483647 == 1)
4098 if ac_fn_c_try_compile "$LINENO"; then :
4099 ac_cv_sys_large_files=no; break
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4104 #define _LARGE_FILES 1
4105 #include <sys/types.h>
4106 /* Check that off_t can represent 2**63 - 1 correctly.
4107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4108 since some C++ compilers masquerading as C compilers
4109 incorrectly reject 9223372036854775807. */
4110 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4112 && LARGE_OFF_T % 2147483647 == 1)
4122 if ac_fn_c_try_compile "$LINENO"; then :
4123 ac_cv_sys_large_files=1; break
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 ac_cv_sys_large_files=unknown
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4131 $as_echo "$ac_cv_sys_large_files" >&6; }
4132 case $ac_cv_sys_large_files in #(
4135 cat >>confdefs.h <<_ACEOF
4136 #define _LARGE_FILES $ac_cv_sys_large_files
4148 if test -n "$ac_tool_prefix"; then
4149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if ${ac_cv_prog_RANLIB+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -n "$RANLIB"; then
4157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4166 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 RANLIB=$ac_cv_prog_RANLIB
4177 if test -n "$RANLIB"; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4179 $as_echo "$RANLIB" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4187 if test -z "$ac_cv_prog_RANLIB"; then
4188 ac_ct_RANLIB=$RANLIB
4189 # Extract the first word of "ranlib", so it can be a program name with args.
4190 set dummy ranlib; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$ac_ct_RANLIB"; then
4197 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir=.
4204 for ac_exec_ext in '' $ac_executable_extensions; do
4205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206 ac_cv_prog_ac_ct_RANLIB="ranlib"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4217 if test -n "$ac_ct_RANLIB"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4219 $as_echo "$ac_ct_RANLIB" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4225 if test "x$ac_ct_RANLIB" = x; then
4228 case $cross_compiling:$ac_tool_warned in
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4232 ac_tool_warned=yes ;;
4234 RANLIB=$ac_ct_RANLIB
4237 RANLIB="$ac_cv_prog_RANLIB"
4240 if test -n "$ac_tool_prefix"; then
4241 for ac_prog in ar lib "link -lib"
4243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246 $as_echo_n "checking for $ac_word... " >&6; }
4247 if ${ac_cv_prog_AR+:} false; then :
4248 $as_echo_n "(cached) " >&6
4250 if test -n "$AR"; then
4251 ac_cv_prog_AR="$AR" # Let the user override the test.
4253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir=.
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 if test -n "$AR"; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4273 $as_echo "$AR" >&6; }
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4276 $as_echo "no" >&6; }
4280 test -n "$AR" && break
4283 if test -z "$AR"; then
4285 for ac_prog in ar lib "link -lib"
4287 # Extract the first word of "$ac_prog", so it can be a program name with args.
4288 set dummy $ac_prog; ac_word=$2
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4290 $as_echo_n "checking for $ac_word... " >&6; }
4291 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4292 $as_echo_n "(cached) " >&6
4294 if test -n "$ac_ct_AR"; then
4295 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_ac_ct_AR="$ac_prog"
4305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4315 if test -n "$ac_ct_AR"; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4317 $as_echo "$ac_ct_AR" >&6; }
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320 $as_echo "no" >&6; }
4324 test -n "$ac_ct_AR" && break
4327 if test "x$ac_ct_AR" = x; then
4330 case $cross_compiling:$ac_tool_warned in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4334 ac_tool_warned=yes ;;
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4343 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4344 if ${am_cv_ar_interface+:} false; then :
4345 $as_echo_n "(cached) " >&6
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4353 am_cv_ar_interface=ar
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4356 int some_variable = 0;
4358 if ac_fn_c_try_compile "$LINENO"; then :
4359 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4360 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4361 (eval $am_ar_try) 2>&5
4363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4364 test $ac_status = 0; }
4365 if test "$ac_status" -eq 0; then
4366 am_cv_ar_interface=ar
4368 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4369 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4370 (eval $am_ar_try) 2>&5
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; }
4374 if test "$ac_status" -eq 0; then
4375 am_cv_ar_interface=lib
4377 am_cv_ar_interface=unknown
4380 rm -f conftest.lib libconftest.a
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4392 $as_echo "$am_cv_ar_interface" >&6; }
4394 case $am_cv_ar_interface in
4398 # Microsoft lib, so override with the ar-lib wrapper script.
4399 # FIXME: It is wrong to rewrite AR.
4400 # But if we don't then we get into trouble of one sort or another.
4401 # A longer-term fix would be to have automake use am__AR in this case,
4402 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4404 AR="$am_aux_dir/ar-lib $AR"
4407 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4412 # Checks for header files.
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4419 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4420 # On Suns, sometimes $CPP names a directory.
4421 if test -n "$CPP" && test -d "$CPP"; then
4424 if test -z "$CPP"; then
4425 if ${ac_cv_prog_CPP+:} false; then :
4426 $as_echo_n "(cached) " >&6
4428 # Double quotes because CPP needs to be expanded
4429 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4432 for ac_c_preproc_warn_flag in '' yes
4434 # Use a header file that comes with gcc, so configuring glibc
4435 # with a fresh cross-compiler works.
4436 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4437 # <limits.h> exists even on freestanding compilers.
4438 # On the NeXT, cc -E runs the code through the compiler's parser,
4439 # not just through cpp. "Syntax error" is here to catch this case.
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4443 # include <limits.h>
4445 # include <assert.h>
4449 if ac_fn_c_try_cpp "$LINENO"; then :
4452 # Broken: fails on valid input.
4455 rm -f conftest.err conftest.i conftest.$ac_ext
4457 # OK, works on sane cases. Now check whether nonexistent headers
4458 # can be detected and how.
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4461 #include <ac_nonexistent.h>
4463 if ac_fn_c_try_cpp "$LINENO"; then :
4464 # Broken: success on invalid input.
4467 # Passes both tests.
4471 rm -f conftest.err conftest.i conftest.$ac_ext
4474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4475 rm -f conftest.i conftest.err conftest.$ac_ext
4476 if $ac_preproc_ok; then :
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4489 $as_echo "$CPP" >&6; }
4491 for ac_c_preproc_warn_flag in '' yes
4493 # Use a header file that comes with gcc, so configuring glibc
4494 # with a fresh cross-compiler works.
4495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4496 # <limits.h> exists even on freestanding compilers.
4497 # On the NeXT, cc -E runs the code through the compiler's parser,
4498 # not just through cpp. "Syntax error" is here to catch this case.
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4502 # include <limits.h>
4504 # include <assert.h>
4508 if ac_fn_c_try_cpp "$LINENO"; then :
4511 # Broken: fails on valid input.
4514 rm -f conftest.err conftest.i conftest.$ac_ext
4516 # OK, works on sane cases. Now check whether nonexistent headers
4517 # can be detected and how.
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4520 #include <ac_nonexistent.h>
4522 if ac_fn_c_try_cpp "$LINENO"; then :
4523 # Broken: success on invalid input.
4526 # Passes both tests.
4530 rm -f conftest.err conftest.i conftest.$ac_ext
4533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4534 rm -f conftest.i conftest.err conftest.$ac_ext
4535 if $ac_preproc_ok; then :
4538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4540 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4541 See \`config.log' for more details" "$LINENO" 5; }
4545 ac_cpp='$CPP $CPPFLAGS'
4546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4552 $as_echo_n "checking for X... " >&6; }
4555 # Check whether --with-x was given.
4556 if test "${with_x+set}" = set; then :
4560 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4561 if test "x$with_x" = xno; then
4562 # The user explicitly disabled X.
4565 case $x_includes,$x_libraries in #(
4566 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4567 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4568 $as_echo_n "(cached) " >&6
4570 # One or both of the vars are not set, and there is no cached value.
4571 ac_x_includes=no ac_x_libraries=no
4572 rm -f -r conftest.dir
4573 if mkdir conftest.dir; then
4575 cat >Imakefile <<'_ACEOF'
4577 @echo incroot='${INCROOT}'
4579 @echo usrlibdir='${USRLIBDIR}'
4581 @echo libdir='${LIBDIR}'
4583 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4584 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4585 for ac_var in incroot usrlibdir libdir; do
4586 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4588 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4589 for ac_extension in a so sl dylib la dll; do
4590 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4591 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4592 ac_im_usrlibdir=$ac_im_libdir; break
4595 # Screen out bogus values from the imake configuration. They are
4596 # bogus both because they are the default anyway, and because
4597 # using them would break gcc on systems where it needs fixed includes.
4598 case $ac_im_incroot in
4599 /usr/include) ac_x_includes= ;;
4600 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4602 case $ac_im_usrlibdir in
4603 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4604 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4608 rm -f -r conftest.dir
4611 # Standard set of common directories for X headers.
4612 # Check X11 before X11Rn because it is often a symlink to the current release.
4626 /usr/local/X11/include
4627 /usr/local/X11R7/include
4628 /usr/local/X11R6/include
4629 /usr/local/X11R5/include
4630 /usr/local/X11R4/include
4632 /usr/local/include/X11
4633 /usr/local/include/X11R7
4634 /usr/local/include/X11R6
4635 /usr/local/include/X11R5
4636 /usr/local/include/X11R4
4640 /usr/XFree86/include/X11
4644 /usr/unsupported/include
4646 /usr/local/x11r5/include
4647 /usr/lpp/Xamples/include
4649 /usr/openwin/include
4650 /usr/openwin/share/include'
4652 if test "$ac_x_includes" = no; then
4653 # Guess where to find include files, by looking for Xlib.h.
4654 # First, try using that file with no special directory specified.
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #include <X11/Xlib.h>
4659 if ac_fn_c_try_cpp "$LINENO"; then :
4660 # We can compile using X headers with no special include directory.
4663 for ac_dir in $ac_x_header_dirs; do
4664 if test -r "$ac_dir/X11/Xlib.h"; then
4665 ac_x_includes=$ac_dir
4670 rm -f conftest.err conftest.i conftest.$ac_ext
4671 fi # $ac_x_includes = no
4673 if test "$ac_x_libraries" = no; then
4674 # Check for the libraries.
4675 # See if we find them without any special options.
4676 # Don't add to $LIBS permanently.
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #include <X11/Xlib.h>
4690 if ac_fn_c_try_link "$LINENO"; then :
4692 # We can link X programs with no special library path.
4696 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4698 # Don't even attempt the hair of trying to link an X program!
4699 for ac_extension in a so sl dylib la dll; do
4700 if test -r "$ac_dir/libX11.$ac_extension"; then
4701 ac_x_libraries=$ac_dir
4707 rm -f core conftest.err conftest.$ac_objext \
4708 conftest$ac_exeext conftest.$ac_ext
4709 fi # $ac_x_libraries = no
4711 case $ac_x_includes,$ac_x_libraries in #(
4713 # Didn't find X, or a directory has "'" in its name.
4714 ac_cv_have_x="have_x=no";; #(
4716 # Record where we found X for the cache.
4717 ac_cv_have_x="have_x=yes\
4718 ac_x_includes='$ac_x_includes'\
4719 ac_x_libraries='$ac_x_libraries'"
4725 eval "$ac_cv_have_x"
4728 if test "$have_x" != yes; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4730 $as_echo "$have_x" >&6; }
4733 # If each of the values was on the command line, it overrides each guess.
4734 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4735 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4736 # Update the cache value to reflect the command line values.
4737 ac_cv_have_x="have_x=yes\
4738 ac_x_includes='$x_includes'\
4739 ac_x_libraries='$x_libraries'"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4741 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4745 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4746 if ${ac_cv_path_GREP+:} false; then :
4747 $as_echo_n "(cached) " >&6
4749 if test -z "$GREP"; then
4750 ac_path_GREP_found=false
4751 # Loop through the user's path and test for each of PROGNAME-LIST
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 test -z "$as_dir" && as_dir=.
4757 for ac_prog in grep ggrep; do
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4760 as_fn_executable_p "$ac_path_GREP" || continue
4761 # Check for GNU ac_path_GREP and select it if it is found.
4762 # Check for GNU $ac_path_GREP
4763 case `"$ac_path_GREP" --version 2>&1` in
4765 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 $as_echo_n 0123456789 >"conftest.in"
4771 cat "conftest.in" "conftest.in" >"conftest.tmp"
4772 mv "conftest.tmp" "conftest.in"
4773 cp "conftest.in" "conftest.nl"
4774 $as_echo 'GREP' >> "conftest.nl"
4775 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4777 as_fn_arith $ac_count + 1 && ac_count=$as_val
4778 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4779 # Best one so far, save it but keep looking for a better one
4780 ac_cv_path_GREP="$ac_path_GREP"
4781 ac_path_GREP_max=$ac_count
4783 # 10*(2^10) chars as input seems more than enough
4784 test $ac_count -gt 10 && break
4786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4789 $ac_path_GREP_found && break 3
4794 if test -z "$ac_cv_path_GREP"; then
4795 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 ac_cv_path_GREP=$GREP
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4803 $as_echo "$ac_cv_path_GREP" >&6; }
4804 GREP="$ac_cv_path_GREP"
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4808 $as_echo_n "checking for egrep... " >&6; }
4809 if ${ac_cv_path_EGREP+:} false; then :
4810 $as_echo_n "(cached) " >&6
4812 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4813 then ac_cv_path_EGREP="$GREP -E"
4815 if test -z "$EGREP"; then
4816 ac_path_EGREP_found=false
4817 # Loop through the user's path and test for each of PROGNAME-LIST
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 test -z "$as_dir" && as_dir=.
4823 for ac_prog in egrep; do
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4826 as_fn_executable_p "$ac_path_EGREP" || continue
4827 # Check for GNU ac_path_EGREP and select it if it is found.
4828 # Check for GNU $ac_path_EGREP
4829 case `"$ac_path_EGREP" --version 2>&1` in
4831 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 $as_echo_n 0123456789 >"conftest.in"
4837 cat "conftest.in" "conftest.in" >"conftest.tmp"
4838 mv "conftest.tmp" "conftest.in"
4839 cp "conftest.in" "conftest.nl"
4840 $as_echo 'EGREP' >> "conftest.nl"
4841 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4842 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4843 as_fn_arith $ac_count + 1 && ac_count=$as_val
4844 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4845 # Best one so far, save it but keep looking for a better one
4846 ac_cv_path_EGREP="$ac_path_EGREP"
4847 ac_path_EGREP_max=$ac_count
4849 # 10*(2^10) chars as input seems more than enough
4850 test $ac_count -gt 10 && break
4852 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4855 $ac_path_EGREP_found && break 3
4860 if test -z "$ac_cv_path_EGREP"; then
4861 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 ac_cv_path_EGREP=$EGREP
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4870 $as_echo "$ac_cv_path_EGREP" >&6; }
4871 EGREP="$ac_cv_path_EGREP"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4875 $as_echo_n "checking for ANSI C header files... " >&6; }
4876 if ${ac_cv_header_stdc+:} false; then :
4877 $as_echo_n "(cached) " >&6
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4894 if ac_fn_c_try_compile "$LINENO"; then :
4895 ac_cv_header_stdc=yes
4897 ac_cv_header_stdc=no
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 if test $ac_cv_header_stdc = yes; then
4902 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4909 $EGREP "memchr" >/dev/null 2>&1; then :
4912 ac_cv_header_stdc=no
4918 if test $ac_cv_header_stdc = yes; then
4919 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926 $EGREP "free" >/dev/null 2>&1; then :
4929 ac_cv_header_stdc=no
4935 if test $ac_cv_header_stdc = yes; then
4936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4937 if test "$cross_compiling" = yes; then :
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4944 #if ((' ' & 0x0FF) == 0x020)
4945 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4946 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4948 # define ISLOWER(c) \
4949 (('a' <= (c) && (c) <= 'i') \
4950 || ('j' <= (c) && (c) <= 'r') \
4951 || ('s' <= (c) && (c) <= 'z'))
4952 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4955 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4960 for (i = 0; i < 256; i++)
4961 if (XOR (islower (i), ISLOWER (i))
4962 || toupper (i) != TOUPPER (i))
4967 if ac_fn_c_try_run "$LINENO"; then :
4970 ac_cv_header_stdc=no
4972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4973 conftest.$ac_objext conftest.beam conftest.$ac_ext
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4979 $as_echo "$ac_cv_header_stdc" >&6; }
4980 if test $ac_cv_header_stdc = yes; then
4982 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4986 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4987 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4988 inttypes.h stdint.h unistd.h
4990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4991 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4994 cat >>confdefs.h <<_ACEOF
4995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5003 for ac_header in stdbool.h
5005 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
5006 if test "x$ac_cv_header_stdbool_h" = xyes; then :
5007 cat >>confdefs.h <<_ACEOF
5008 #define HAVE_STDBOOL_H 1
5020 [\\/$]* | ?:[\\/]*) ;;
5021 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5026 $as_echo_n "checking whether NLS is requested... " >&6; }
5027 # Check whether --enable-nls was given.
5028 if test "${enable_nls+set}" = set; then :
5029 enableval=$enable_nls; USE_NLS=$enableval
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5035 $as_echo "$USE_NLS" >&6; }
5042 # Prepare PATH_SEPARATOR.
5043 # The user is always right.
5044 if test "${PATH_SEPARATOR+set}" != set; then
5045 echo "#! /bin/sh" >conf$$.sh
5046 echo "exit 0" >>conf$$.sh
5048 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5056 # Find out how to test for executable files. Don't use a zero-byte file,
5057 # as systems may use methods other than mode bits to determine executability.
5058 cat >conf$$.file <<_ASEOF
5062 chmod +x conf$$.file
5063 if test -x conf$$.file >/dev/null 2>&1; then
5064 ac_executable_p="test -x"
5066 ac_executable_p="test -f"
5070 # Extract the first word of "msgfmt", so it can be a program name with args.
5071 set dummy msgfmt; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_path_MSGFMT+:} false; then :
5075 $as_echo_n "(cached) " >&6
5079 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5082 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5083 for ac_dir in $PATH; do
5085 test -z "$ac_dir" && ac_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5088 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5089 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5090 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5091 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5098 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5102 MSGFMT="$ac_cv_path_MSGFMT"
5103 if test "$MSGFMT" != ":"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5105 $as_echo "$MSGFMT" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5112 set dummy gmsgfmt; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_path_GMSGFMT+:} false; then :
5116 $as_echo_n "(cached) " >&6
5120 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5142 GMSGFMT=$ac_cv_path_GMSGFMT
5143 if test -n "$GMSGFMT"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5145 $as_echo "$GMSGFMT" >&6; }
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5153 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5154 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5155 *) MSGFMT_015=$MSGFMT ;;
5158 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5159 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5160 *) GMSGFMT_015=$GMSGFMT ;;
5165 # Prepare PATH_SEPARATOR.
5166 # The user is always right.
5167 if test "${PATH_SEPARATOR+set}" != set; then
5168 echo "#! /bin/sh" >conf$$.sh
5169 echo "exit 0" >>conf$$.sh
5171 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5179 # Find out how to test for executable files. Don't use a zero-byte file,
5180 # as systems may use methods other than mode bits to determine executability.
5181 cat >conf$$.file <<_ASEOF
5185 chmod +x conf$$.file
5186 if test -x conf$$.file >/dev/null 2>&1; then
5187 ac_executable_p="test -x"
5189 ac_executable_p="test -f"
5193 # Extract the first word of "xgettext", so it can be a program name with args.
5194 set dummy xgettext; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_path_XGETTEXT+:} false; then :
5198 $as_echo_n "(cached) " >&6
5202 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5205 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5206 for ac_dir in $PATH; do
5208 test -z "$ac_dir" && ac_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5211 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5212 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5213 (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
5214 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5221 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5225 XGETTEXT="$ac_cv_path_XGETTEXT"
5226 if test "$XGETTEXT" != ":"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5228 $as_echo "$XGETTEXT" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5237 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5238 *) XGETTEXT_015=$XGETTEXT ;;
5243 # Prepare PATH_SEPARATOR.
5244 # The user is always right.
5245 if test "${PATH_SEPARATOR+set}" != set; then
5246 echo "#! /bin/sh" >conf$$.sh
5247 echo "exit 0" >>conf$$.sh
5249 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5257 # Find out how to test for executable files. Don't use a zero-byte file,
5258 # as systems may use methods other than mode bits to determine executability.
5259 cat >conf$$.file <<_ASEOF
5263 chmod +x conf$$.file
5264 if test -x conf$$.file >/dev/null 2>&1; then
5265 ac_executable_p="test -x"
5267 ac_executable_p="test -f"
5271 # Extract the first word of "msgmerge", so it can be a program name with args.
5272 set dummy msgmerge; ac_word=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_path_MSGMERGE+:} false; then :
5276 $as_echo_n "(cached) " >&6
5280 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5283 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5284 for ac_dir in $PATH; do
5286 test -z "$ac_dir" && ac_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5289 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5290 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5291 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5298 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5302 MSGMERGE="$ac_cv_path_MSGMERGE"
5303 if test "$MSGMERGE" != ":"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5305 $as_echo "$MSGMERGE" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5312 test -n "$localedir" || localedir='${datadir}/locale'
5315 ac_config_commands="$ac_config_commands po-directories"
5319 if test "X$prefix" = "XNONE"; then
5320 acl_final_prefix="$ac_default_prefix"
5322 acl_final_prefix="$prefix"
5324 if test "X$exec_prefix" = "XNONE"; then
5325 acl_final_exec_prefix='${prefix}'
5327 acl_final_exec_prefix="$exec_prefix"
5329 acl_save_prefix="$prefix"
5330 prefix="$acl_final_prefix"
5331 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5332 prefix="$acl_save_prefix"
5334 # Make sure we can run config.sub.
5335 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5336 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5339 $as_echo_n "checking build system type... " >&6; }
5340 if ${ac_cv_build+:} false; then :
5341 $as_echo_n "(cached) " >&6
5343 ac_build_alias=$build_alias
5344 test "x$ac_build_alias" = x &&
5345 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5346 test "x$ac_build_alias" = x &&
5347 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5348 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5349 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5353 $as_echo "$ac_cv_build" >&6; }
5354 case $ac_cv_build in
5356 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5359 ac_save_IFS=$IFS; IFS='-'
5365 # Remember, the first character of IFS is used to create $*,
5366 # except with old shells:
5369 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5373 $as_echo_n "checking host system type... " >&6; }
5374 if ${ac_cv_host+:} false; then :
5375 $as_echo_n "(cached) " >&6
5377 if test "x$host_alias" = x; then
5378 ac_cv_host=$ac_cv_build
5380 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5381 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5386 $as_echo "$ac_cv_host" >&6; }
5389 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5392 ac_save_IFS=$IFS; IFS='-'
5398 # Remember, the first character of IFS is used to create $*,
5399 # except with old shells:
5402 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5406 # Check whether --with-gnu-ld was given.
5407 if test "${with_gnu_ld+set}" = set; then :
5408 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5413 # Prepare PATH_SEPARATOR.
5414 # The user is always right.
5415 if test "${PATH_SEPARATOR+set}" != set; then
5416 echo "#! /bin/sh" >conf$$.sh
5417 echo "exit 0" >>conf$$.sh
5419 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5427 if test "$GCC" = yes; then
5428 # Check if gcc -print-prog-name=ld gives a path.
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5430 $as_echo_n "checking for ld used by GCC... " >&6; }
5433 # gcc leaves a trailing carriage return which upsets mingw
5434 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5436 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5439 # Accept absolute paths.
5440 [\\/]* | [A-Za-z]:[\\/]*)
5441 re_direlt='/[^/][^/]*/\.\./'
5442 # Canonicalize the path of ld
5443 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5444 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5445 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5447 test -z "$LD" && LD="$ac_prog"
5450 # If it fails, then pretend we aren't using GCC.
5454 # If it is relative, then search for the first ld in PATH.
5458 elif test "$with_gnu_ld" = yes; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5460 $as_echo_n "checking for GNU ld... " >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5463 $as_echo_n "checking for non-GNU ld... " >&6; }
5465 if ${acl_cv_path_LD+:} false; then :
5466 $as_echo_n "(cached) " >&6
5468 if test -z "$LD"; then
5469 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5470 for ac_dir in $PATH; do
5471 test -z "$ac_dir" && ac_dir=.
5472 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5473 acl_cv_path_LD="$ac_dir/$ac_prog"
5474 # Check to see if the program is GNU ld. I'd rather use --version,
5475 # but apparently some GNU ld's only accept -v.
5476 # Break only if it was the GNU/non-GNU ld that we prefer.
5477 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5478 *GNU* | *'with BFD'*)
5479 test "$with_gnu_ld" != no && break ;;
5481 test "$with_gnu_ld" != yes && break ;;
5487 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5491 LD="$acl_cv_path_LD"
5492 if test -n "$LD"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5494 $as_echo "$LD" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5499 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5501 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5502 if ${acl_cv_prog_gnu_ld+:} false; then :
5503 $as_echo_n "(cached) " >&6
5505 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5506 case `$LD -v 2>&1 </dev/null` in
5507 *GNU* | *'with BFD'*)
5508 acl_cv_prog_gnu_ld=yes ;;
5510 acl_cv_prog_gnu_ld=no ;;
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5514 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5515 with_gnu_ld=$acl_cv_prog_gnu_ld
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5521 $as_echo_n "checking for shared library run path origin... " >&6; }
5522 if ${acl_cv_rpath+:} false; then :
5523 $as_echo_n "(cached) " >&6
5526 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5527 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5534 $as_echo "$acl_cv_rpath" >&6; }
5536 libext="$acl_cv_libext"
5537 shlibext="$acl_cv_shlibext"
5538 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5539 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5540 hardcode_direct="$acl_cv_hardcode_direct"
5541 hardcode_minus_L="$acl_cv_hardcode_minus_L"
5542 # Check whether --enable-rpath was given.
5543 if test "${enable_rpath+set}" = set; then :
5544 enableval=$enable_rpath; :
5552 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5553 if test -n "$searchpath"; then
5554 acl_save_IFS="${IFS= }"; IFS=":"
5555 for searchdir in $searchpath; do
5556 if test -d "$searchdir"; then
5557 case "$searchdir" in
5558 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5559 *) searchdir=`cd "$searchdir" && pwd`
5560 case "$searchdir" in
5561 */lib64 ) acl_libdirstem=lib64 ;;
5578 acl_save_prefix="$prefix"
5579 prefix="$acl_final_prefix"
5580 acl_save_exec_prefix="$exec_prefix"
5581 exec_prefix="$acl_final_exec_prefix"
5583 eval additional_includedir=\"$includedir\"
5584 eval additional_libdir=\"$libdir\"
5586 exec_prefix="$acl_save_exec_prefix"
5587 prefix="$acl_save_prefix"
5590 # Check whether --with-libiconv-prefix was given.
5591 if test "${with_libiconv_prefix+set}" = set; then :
5592 withval=$with_libiconv_prefix;
5593 if test "X$withval" = "Xno"; then
5596 if test "X$withval" = "X"; then
5598 acl_save_prefix="$prefix"
5599 prefix="$acl_final_prefix"
5600 acl_save_exec_prefix="$exec_prefix"
5601 exec_prefix="$acl_final_exec_prefix"
5603 eval additional_includedir=\"$includedir\"
5604 eval additional_libdir=\"$libdir\"
5606 exec_prefix="$acl_save_exec_prefix"
5607 prefix="$acl_save_prefix"
5610 additional_includedir="$withval/include"
5611 additional_libdir="$withval/$acl_libdirstem"
5622 names_already_handled=
5623 names_next_round='iconv '
5624 while test -n "$names_next_round"; do
5625 names_this_round="$names_next_round"
5627 for name in $names_this_round; do
5629 for n in $names_already_handled; do
5630 if test "$n" = "$name"; then
5635 if test -z "$already_handled"; then
5636 names_already_handled="$names_already_handled $name"
5637 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5638 eval value=\"\$HAVE_LIB$uppername\"
5639 if test -n "$value"; then
5640 if test "$value" = yes; then
5641 eval value=\"\$LIB$uppername\"
5642 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5643 eval value=\"\$LTLIB$uppername\"
5644 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5653 if test $use_additional = yes; then
5654 if test -n "$shlibext" \
5655 && { test -f "$additional_libdir/lib$name.$shlibext" \
5656 || { test "$shlibext" = dll \
5657 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
5658 found_dir="$additional_libdir"
5659 if test -f "$additional_libdir/lib$name.$shlibext"; then
5660 found_so="$additional_libdir/lib$name.$shlibext"
5662 found_so="$additional_libdir/lib$name.dll.a"
5664 if test -f "$additional_libdir/lib$name.la"; then
5665 found_la="$additional_libdir/lib$name.la"
5668 if test -f "$additional_libdir/lib$name.$libext"; then
5669 found_dir="$additional_libdir"
5670 found_a="$additional_libdir/lib$name.$libext"
5671 if test -f "$additional_libdir/lib$name.la"; then
5672 found_la="$additional_libdir/lib$name.la"
5677 if test "X$found_dir" = "X"; then
5678 for x in $LDFLAGS $LTLIBICONV; do
5680 acl_save_prefix="$prefix"
5681 prefix="$acl_final_prefix"
5682 acl_save_exec_prefix="$exec_prefix"
5683 exec_prefix="$acl_final_exec_prefix"
5685 exec_prefix="$acl_save_exec_prefix"
5686 prefix="$acl_save_prefix"
5690 dir=`echo "X$x" | sed -e 's/^X-L//'`
5691 if test -n "$shlibext" \
5692 && { test -f "$dir/lib$name.$shlibext" \
5693 || { test "$shlibext" = dll \
5694 && test -f "$dir/lib$name.dll.a"; }; }; then
5696 if test -f "$dir/lib$name.$shlibext"; then
5697 found_so="$dir/lib$name.$shlibext"
5699 found_so="$dir/lib$name.dll.a"
5701 if test -f "$dir/lib$name.la"; then
5702 found_la="$dir/lib$name.la"
5705 if test -f "$dir/lib$name.$libext"; then
5707 found_a="$dir/lib$name.$libext"
5708 if test -f "$dir/lib$name.la"; then
5709 found_la="$dir/lib$name.la"
5715 if test "X$found_dir" != "X"; then
5720 if test "X$found_dir" != "X"; then
5721 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5722 if test "X$found_so" != "X"; then
5723 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5724 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5727 for x in $ltrpathdirs; do
5728 if test "X$x" = "X$found_dir"; then
5733 if test -z "$haveit"; then
5734 ltrpathdirs="$ltrpathdirs $found_dir"
5736 if test "$hardcode_direct" = yes; then
5737 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5739 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5740 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5742 for x in $rpathdirs; do
5743 if test "X$x" = "X$found_dir"; then
5748 if test -z "$haveit"; then
5749 rpathdirs="$rpathdirs $found_dir"
5753 for x in $LDFLAGS $LIBICONV; do
5755 acl_save_prefix="$prefix"
5756 prefix="$acl_final_prefix"
5757 acl_save_exec_prefix="$exec_prefix"
5758 exec_prefix="$acl_final_exec_prefix"
5760 exec_prefix="$acl_save_exec_prefix"
5761 prefix="$acl_save_prefix"
5763 if test "X$x" = "X-L$found_dir"; then
5768 if test -z "$haveit"; then
5769 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5771 if test "$hardcode_minus_L" != no; then
5772 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5774 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5780 if test "X$found_a" != "X"; then
5781 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5783 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5786 additional_includedir=
5787 case "$found_dir" in
5788 */$acl_libdirstem | */$acl_libdirstem/)
5789 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5790 additional_includedir="$basedir/include"
5793 if test "X$additional_includedir" != "X"; then
5794 if test "X$additional_includedir" != "X/usr/include"; then
5796 if test "X$additional_includedir" = "X/usr/local/include"; then
5797 if test -n "$GCC"; then
5799 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5803 if test -z "$haveit"; then
5804 for x in $CPPFLAGS $INCICONV; do
5806 acl_save_prefix="$prefix"
5807 prefix="$acl_final_prefix"
5808 acl_save_exec_prefix="$exec_prefix"
5809 exec_prefix="$acl_final_exec_prefix"
5811 exec_prefix="$acl_save_exec_prefix"
5812 prefix="$acl_save_prefix"
5814 if test "X$x" = "X-I$additional_includedir"; then
5819 if test -z "$haveit"; then
5820 if test -d "$additional_includedir"; then
5821 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5827 if test -n "$found_la"; then
5828 save_libdir="$libdir"
5830 */* | *\\*) . "$found_la" ;;
5831 *) . "./$found_la" ;;
5833 libdir="$save_libdir"
5834 for dep in $dependency_libs; do
5837 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5838 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5840 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5841 if test -n "$GCC"; then
5843 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5847 if test -z "$haveit"; then
5849 for x in $LDFLAGS $LIBICONV; do
5851 acl_save_prefix="$prefix"
5852 prefix="$acl_final_prefix"
5853 acl_save_exec_prefix="$exec_prefix"
5854 exec_prefix="$acl_final_exec_prefix"
5856 exec_prefix="$acl_save_exec_prefix"
5857 prefix="$acl_save_prefix"
5859 if test "X$x" = "X-L$additional_libdir"; then
5864 if test -z "$haveit"; then
5865 if test -d "$additional_libdir"; then
5866 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5870 for x in $LDFLAGS $LTLIBICONV; do
5872 acl_save_prefix="$prefix"
5873 prefix="$acl_final_prefix"
5874 acl_save_exec_prefix="$exec_prefix"
5875 exec_prefix="$acl_final_exec_prefix"
5877 exec_prefix="$acl_save_exec_prefix"
5878 prefix="$acl_save_prefix"
5880 if test "X$x" = "X-L$additional_libdir"; then
5885 if test -z "$haveit"; then
5886 if test -d "$additional_libdir"; then
5887 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5894 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5895 if test "$enable_rpath" != no; then
5897 for x in $rpathdirs; do
5898 if test "X$x" = "X$dir"; then
5903 if test -z "$haveit"; then
5904 rpathdirs="$rpathdirs $dir"
5907 for x in $ltrpathdirs; do
5908 if test "X$x" = "X$dir"; then
5913 if test -z "$haveit"; then
5914 ltrpathdirs="$ltrpathdirs $dir"
5919 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5922 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5925 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5926 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5932 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5933 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5939 if test "X$rpathdirs" != "X"; then
5940 if test -n "$hardcode_libdir_separator"; then
5942 for found_dir in $rpathdirs; do
5943 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5945 acl_save_libdir="$libdir"
5947 eval flag=\"$hardcode_libdir_flag_spec\"
5948 libdir="$acl_save_libdir"
5949 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5951 for found_dir in $rpathdirs; do
5952 acl_save_libdir="$libdir"
5954 eval flag=\"$hardcode_libdir_flag_spec\"
5955 libdir="$acl_save_libdir"
5956 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5960 if test "X$ltrpathdirs" != "X"; then
5961 for found_dir in $ltrpathdirs; do
5962 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5991 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5992 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5993 $as_echo_n "(cached) " >&6
5995 gt_save_LIBS="$LIBS"
5996 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
5999 #include <CoreFoundation/CFPreferences.h>
6003 CFPreferencesCopyAppValue(NULL, NULL)
6008 if ac_fn_c_try_link "$LINENO"; then :
6009 gt_cv_func_CFPreferencesCopyAppValue=yes
6011 gt_cv_func_CFPreferencesCopyAppValue=no
6013 rm -f core conftest.err conftest.$ac_objext \
6014 conftest$ac_exeext conftest.$ac_ext
6015 LIBS="$gt_save_LIBS"
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6018 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6019 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6021 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6025 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6026 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6027 $as_echo_n "(cached) " >&6
6029 gt_save_LIBS="$LIBS"
6030 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6033 #include <CoreFoundation/CFLocale.h>
6037 CFLocaleCopyCurrent();
6042 if ac_fn_c_try_link "$LINENO"; then :
6043 gt_cv_func_CFLocaleCopyCurrent=yes
6045 gt_cv_func_CFLocaleCopyCurrent=no
6047 rm -f core conftest.err conftest.$ac_objext \
6048 conftest$ac_exeext conftest.$ac_ext
6049 LIBS="$gt_save_LIBS"
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6052 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6053 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6055 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6059 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6060 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6072 case " $gt_needs " in
6073 *" need-formatstring-macros "*) gt_api_version=3 ;;
6074 *" need-ngettext "*) gt_api_version=2 ;;
6075 *) gt_api_version=1 ;;
6077 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6078 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6080 if test "$USE_NLS" = "yes"; then
6081 gt_use_preinstalled_gnugettext=no
6084 if test $gt_api_version -ge 3; then
6085 gt_revision_test_code='[
6086 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6087 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6089 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6092 gt_revision_test_code=
6094 if test $gt_api_version -ge 2; then
6095 gt_expression_test_code=' + * ngettext ("", "", 0)'
6097 gt_expression_test_code=
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6101 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6102 if eval \${$gt_func_gnugettext_libc+:} false; then :
6103 $as_echo_n "(cached) " >&6
6105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6107 #include <libintl.h>
6108 $gt_revision_test_code
6109 extern int _nl_msg_cat_cntr;
6110 extern int *_nl_domain_bindings;
6114 bindtextdomain ("", "");
6115 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6120 if ac_fn_c_try_link "$LINENO"; then :
6121 eval "$gt_func_gnugettext_libc=yes"
6123 eval "$gt_func_gnugettext_libc=no"
6125 rm -f core conftest.err conftest.$ac_objext \
6126 conftest$ac_exeext conftest.$ac_ext
6128 eval ac_res=\$$gt_func_gnugettext_libc
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6130 $as_echo "$ac_res" >&6; }
6132 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6138 am_save_CPPFLAGS="$CPPFLAGS"
6140 for element in $INCICONV; do
6142 for x in $CPPFLAGS; do
6144 acl_save_prefix="$prefix"
6145 prefix="$acl_final_prefix"
6146 acl_save_exec_prefix="$exec_prefix"
6147 exec_prefix="$acl_final_exec_prefix"
6149 exec_prefix="$acl_save_exec_prefix"
6150 prefix="$acl_save_prefix"
6152 if test "X$x" = "X$element"; then
6157 if test -z "$haveit"; then
6158 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6164 $as_echo_n "checking for iconv... " >&6; }
6165 if ${am_cv_func_iconv+:} false; then :
6166 $as_echo_n "(cached) " >&6
6169 am_cv_func_iconv="no, consider installing GNU libiconv"
6171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6178 iconv_t cd = iconv_open("","");
6179 iconv(cd,NULL,NULL,NULL,NULL);
6185 if ac_fn_c_try_link "$LINENO"; then :
6186 am_cv_func_iconv=yes
6188 rm -f core conftest.err conftest.$ac_objext \
6189 conftest$ac_exeext conftest.$ac_ext
6190 if test "$am_cv_func_iconv" != yes; then
6191 am_save_LIBS="$LIBS"
6192 LIBS="$LIBS $LIBICONV"
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6200 iconv_t cd = iconv_open("","");
6201 iconv(cd,NULL,NULL,NULL,NULL);
6207 if ac_fn_c_try_link "$LINENO"; then :
6209 am_cv_func_iconv=yes
6211 rm -f core conftest.err conftest.$ac_objext \
6212 conftest$ac_exeext conftest.$ac_ext
6213 LIBS="$am_save_LIBS"
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6218 $as_echo "$am_cv_func_iconv" >&6; }
6219 if test "$am_cv_func_iconv" = yes; then
6221 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6224 if test "$am_cv_lib_iconv" = yes; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6226 $as_echo_n "checking how to link with libiconv... " >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6228 $as_echo "$LIBICONV" >&6; }
6230 CPPFLAGS="$am_save_CPPFLAGS"
6243 acl_save_prefix="$prefix"
6244 prefix="$acl_final_prefix"
6245 acl_save_exec_prefix="$exec_prefix"
6246 exec_prefix="$acl_final_exec_prefix"
6248 eval additional_includedir=\"$includedir\"
6249 eval additional_libdir=\"$libdir\"
6251 exec_prefix="$acl_save_exec_prefix"
6252 prefix="$acl_save_prefix"
6255 # Check whether --with-libintl-prefix was given.
6256 if test "${with_libintl_prefix+set}" = set; then :
6257 withval=$with_libintl_prefix;
6258 if test "X$withval" = "Xno"; then
6261 if test "X$withval" = "X"; then
6263 acl_save_prefix="$prefix"
6264 prefix="$acl_final_prefix"
6265 acl_save_exec_prefix="$exec_prefix"
6266 exec_prefix="$acl_final_exec_prefix"
6268 eval additional_includedir=\"$includedir\"
6269 eval additional_libdir=\"$libdir\"
6271 exec_prefix="$acl_save_exec_prefix"
6272 prefix="$acl_save_prefix"
6275 additional_includedir="$withval/include"
6276 additional_libdir="$withval/$acl_libdirstem"
6287 names_already_handled=
6288 names_next_round='intl '
6289 while test -n "$names_next_round"; do
6290 names_this_round="$names_next_round"
6292 for name in $names_this_round; do
6294 for n in $names_already_handled; do
6295 if test "$n" = "$name"; then
6300 if test -z "$already_handled"; then
6301 names_already_handled="$names_already_handled $name"
6302 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6303 eval value=\"\$HAVE_LIB$uppername\"
6304 if test -n "$value"; then
6305 if test "$value" = yes; then
6306 eval value=\"\$LIB$uppername\"
6307 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6308 eval value=\"\$LTLIB$uppername\"
6309 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6318 if test $use_additional = yes; then
6319 if test -n "$shlibext" \
6320 && { test -f "$additional_libdir/lib$name.$shlibext" \
6321 || { test "$shlibext" = dll \
6322 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
6323 found_dir="$additional_libdir"
6324 if test -f "$additional_libdir/lib$name.$shlibext"; then
6325 found_so="$additional_libdir/lib$name.$shlibext"
6327 found_so="$additional_libdir/lib$name.dll.a"
6329 if test -f "$additional_libdir/lib$name.la"; then
6330 found_la="$additional_libdir/lib$name.la"
6333 if test -f "$additional_libdir/lib$name.$libext"; then
6334 found_dir="$additional_libdir"
6335 found_a="$additional_libdir/lib$name.$libext"
6336 if test -f "$additional_libdir/lib$name.la"; then
6337 found_la="$additional_libdir/lib$name.la"
6342 if test "X$found_dir" = "X"; then
6343 for x in $LDFLAGS $LTLIBINTL; do
6345 acl_save_prefix="$prefix"
6346 prefix="$acl_final_prefix"
6347 acl_save_exec_prefix="$exec_prefix"
6348 exec_prefix="$acl_final_exec_prefix"
6350 exec_prefix="$acl_save_exec_prefix"
6351 prefix="$acl_save_prefix"
6355 dir=`echo "X$x" | sed -e 's/^X-L//'`
6356 if test -n "$shlibext" \
6357 && { test -f "$dir/lib$name.$shlibext" \
6358 || { test "$shlibext" = dll \
6359 && test -f "$dir/lib$name.dll.a"; }; }; then
6361 if test -f "$dir/lib$name.$shlibext"; then
6362 found_so="$dir/lib$name.$shlibext"
6364 found_so="$dir/lib$name.dll.a"
6366 if test -f "$dir/lib$name.la"; then
6367 found_la="$dir/lib$name.la"
6370 if test -f "$dir/lib$name.$libext"; then
6372 found_a="$dir/lib$name.$libext"
6373 if test -f "$dir/lib$name.la"; then
6374 found_la="$dir/lib$name.la"
6380 if test "X$found_dir" != "X"; then
6385 if test "X$found_dir" != "X"; then
6386 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6387 if test "X$found_so" != "X"; then
6388 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6389 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6392 for x in $ltrpathdirs; do
6393 if test "X$x" = "X$found_dir"; then
6398 if test -z "$haveit"; then
6399 ltrpathdirs="$ltrpathdirs $found_dir"
6401 if test "$hardcode_direct" = yes; then
6402 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6404 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6405 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6407 for x in $rpathdirs; do
6408 if test "X$x" = "X$found_dir"; then
6413 if test -z "$haveit"; then
6414 rpathdirs="$rpathdirs $found_dir"
6418 for x in $LDFLAGS $LIBINTL; do
6420 acl_save_prefix="$prefix"
6421 prefix="$acl_final_prefix"
6422 acl_save_exec_prefix="$exec_prefix"
6423 exec_prefix="$acl_final_exec_prefix"
6425 exec_prefix="$acl_save_exec_prefix"
6426 prefix="$acl_save_prefix"
6428 if test "X$x" = "X-L$found_dir"; then
6433 if test -z "$haveit"; then
6434 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6436 if test "$hardcode_minus_L" != no; then
6437 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6439 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6445 if test "X$found_a" != "X"; then
6446 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6448 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6451 additional_includedir=
6452 case "$found_dir" in
6453 */$acl_libdirstem | */$acl_libdirstem/)
6454 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6455 additional_includedir="$basedir/include"
6458 if test "X$additional_includedir" != "X"; then
6459 if test "X$additional_includedir" != "X/usr/include"; then
6461 if test "X$additional_includedir" = "X/usr/local/include"; then
6462 if test -n "$GCC"; then
6464 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6468 if test -z "$haveit"; then
6469 for x in $CPPFLAGS $INCINTL; do
6471 acl_save_prefix="$prefix"
6472 prefix="$acl_final_prefix"
6473 acl_save_exec_prefix="$exec_prefix"
6474 exec_prefix="$acl_final_exec_prefix"
6476 exec_prefix="$acl_save_exec_prefix"
6477 prefix="$acl_save_prefix"
6479 if test "X$x" = "X-I$additional_includedir"; then
6484 if test -z "$haveit"; then
6485 if test -d "$additional_includedir"; then
6486 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6492 if test -n "$found_la"; then
6493 save_libdir="$libdir"
6495 */* | *\\*) . "$found_la" ;;
6496 *) . "./$found_la" ;;
6498 libdir="$save_libdir"
6499 for dep in $dependency_libs; do
6502 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6503 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6505 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6506 if test -n "$GCC"; then
6508 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6512 if test -z "$haveit"; then
6514 for x in $LDFLAGS $LIBINTL; do
6516 acl_save_prefix="$prefix"
6517 prefix="$acl_final_prefix"
6518 acl_save_exec_prefix="$exec_prefix"
6519 exec_prefix="$acl_final_exec_prefix"
6521 exec_prefix="$acl_save_exec_prefix"
6522 prefix="$acl_save_prefix"
6524 if test "X$x" = "X-L$additional_libdir"; then
6529 if test -z "$haveit"; then
6530 if test -d "$additional_libdir"; then
6531 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6535 for x in $LDFLAGS $LTLIBINTL; do
6537 acl_save_prefix="$prefix"
6538 prefix="$acl_final_prefix"
6539 acl_save_exec_prefix="$exec_prefix"
6540 exec_prefix="$acl_final_exec_prefix"
6542 exec_prefix="$acl_save_exec_prefix"
6543 prefix="$acl_save_prefix"
6545 if test "X$x" = "X-L$additional_libdir"; then
6550 if test -z "$haveit"; then
6551 if test -d "$additional_libdir"; then
6552 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6559 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6560 if test "$enable_rpath" != no; then
6562 for x in $rpathdirs; do
6563 if test "X$x" = "X$dir"; then
6568 if test -z "$haveit"; then
6569 rpathdirs="$rpathdirs $dir"
6572 for x in $ltrpathdirs; do
6573 if test "X$x" = "X$dir"; then
6578 if test -z "$haveit"; then
6579 ltrpathdirs="$ltrpathdirs $dir"
6584 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6587 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6590 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6591 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6597 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6598 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6604 if test "X$rpathdirs" != "X"; then
6605 if test -n "$hardcode_libdir_separator"; then
6607 for found_dir in $rpathdirs; do
6608 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6610 acl_save_libdir="$libdir"
6612 eval flag=\"$hardcode_libdir_flag_spec\"
6613 libdir="$acl_save_libdir"
6614 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6616 for found_dir in $rpathdirs; do
6617 acl_save_libdir="$libdir"
6619 eval flag=\"$hardcode_libdir_flag_spec\"
6620 libdir="$acl_save_libdir"
6621 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6625 if test "X$ltrpathdirs" != "X"; then
6626 for found_dir in $ltrpathdirs; do
6627 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6632 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6633 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6634 $as_echo_n "(cached) " >&6
6636 gt_save_CPPFLAGS="$CPPFLAGS"
6637 CPPFLAGS="$CPPFLAGS $INCINTL"
6638 gt_save_LIBS="$LIBS"
6639 LIBS="$LIBS $LIBINTL"
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #include <libintl.h>
6643 $gt_revision_test_code
6644 extern int _nl_msg_cat_cntr;
6649 const char *_nl_expand_alias (const char *);
6653 bindtextdomain ("", "");
6654 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6659 if ac_fn_c_try_link "$LINENO"; then :
6660 eval "$gt_func_gnugettext_libintl=yes"
6662 eval "$gt_func_gnugettext_libintl=no"
6664 rm -f core conftest.err conftest.$ac_objext \
6665 conftest$ac_exeext conftest.$ac_ext
6666 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6667 LIBS="$LIBS $LIBICONV"
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 #include <libintl.h>
6671 $gt_revision_test_code
6672 extern int _nl_msg_cat_cntr;
6677 const char *_nl_expand_alias (const char *);
6681 bindtextdomain ("", "");
6682 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6687 if ac_fn_c_try_link "$LINENO"; then :
6688 LIBINTL="$LIBINTL $LIBICONV"
6689 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6690 eval "$gt_func_gnugettext_libintl=yes"
6693 rm -f core conftest.err conftest.$ac_objext \
6694 conftest$ac_exeext conftest.$ac_ext
6696 CPPFLAGS="$gt_save_CPPFLAGS"
6697 LIBS="$gt_save_LIBS"
6699 eval ac_res=\$$gt_func_gnugettext_libintl
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6701 $as_echo "$ac_res" >&6; }
6704 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6705 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6706 && test "$PACKAGE" != gettext-runtime \
6707 && test "$PACKAGE" != gettext-tools; }; then
6708 gt_use_preinstalled_gnugettext=yes
6717 if test -n "$INTL_MACOSX_LIBS"; then
6718 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6719 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6720 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6721 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6725 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6726 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6728 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6736 $as_echo_n "checking whether to use NLS... " >&6; }
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6738 $as_echo "$USE_NLS" >&6; }
6739 if test "$USE_NLS" = "yes"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6741 $as_echo_n "checking where the gettext function comes from... " >&6; }
6742 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6743 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6744 gt_source="external libintl"
6749 gt_source="included intl directory"
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6752 $as_echo "$gt_source" >&6; }
6755 if test "$USE_NLS" = "yes"; then
6757 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6758 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6760 $as_echo_n "checking how to link with libintl... " >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6762 $as_echo "$LIBINTL" >&6; }
6764 for element in $INCINTL; do
6766 for x in $CPPFLAGS; do
6768 acl_save_prefix="$prefix"
6769 prefix="$acl_final_prefix"
6770 acl_save_exec_prefix="$exec_prefix"
6771 exec_prefix="$acl_final_exec_prefix"
6773 exec_prefix="$acl_save_exec_prefix"
6774 prefix="$acl_save_prefix"
6776 if test "X$x" = "X$element"; then
6781 if test -z "$haveit"; then
6782 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6789 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6792 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6812 # Check whether --enable-schemas-compile was given.
6813 if test "${enable_schemas_compile+set}" = set; then :
6814 enableval=$enable_schemas_compile; case ${enableval} in
6815 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6816 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6817 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6829 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6832 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6836 $as_echo_n "(cached) " >&6
6840 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 test -z "$as_dir" && as_dir=.
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6862 if test -n "$PKG_CONFIG"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6864 $as_echo "$PKG_CONFIG" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6872 if test -z "$ac_cv_path_PKG_CONFIG"; then
6873 ac_pt_PKG_CONFIG=$PKG_CONFIG
6874 # Extract the first word of "pkg-config", so it can be a program name with args.
6875 set dummy pkg-config; ac_word=$2
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6877 $as_echo_n "checking for $ac_word... " >&6; }
6878 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6879 $as_echo_n "(cached) " >&6
6881 case $ac_pt_PKG_CONFIG in
6883 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890 test -z "$as_dir" && as_dir=.
6891 for ac_exec_ext in '' $ac_executable_extensions; do
6892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6893 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6905 if test -n "$ac_pt_PKG_CONFIG"; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6907 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910 $as_echo "no" >&6; }
6913 if test "x$ac_pt_PKG_CONFIG" = x; then
6916 case $cross_compiling:$ac_tool_warned in
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6920 ac_tool_warned=yes ;;
6922 PKG_CONFIG=$ac_pt_PKG_CONFIG
6925 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6929 if test -n "$PKG_CONFIG"; then
6930 _pkg_min_version=0.16
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6932 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6933 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6935 $as_echo "yes" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6942 gsettingsschemadir=${datadir}/glib-2.0/schemas
6944 if test x$cross_compiling != xyes; then
6945 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6947 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6948 set dummy glib-compile-schemas; ac_word=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 $as_echo_n "checking for $ac_word... " >&6; }
6951 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6952 $as_echo_n "(cached) " >&6
6954 case $GLIB_COMPILE_SCHEMAS in
6956 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir=.
6964 for ac_exec_ext in '' $ac_executable_extensions; do
6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6978 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6980 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6989 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6990 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
6996 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
6998 mostlyclean-am: clean-gsettings-schemas
7000 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
7002 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7003 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7005 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7006 uninstall-am: uninstall-gsettings-schemas
7007 install-data-am: install-gsettings-schemas
7009 .SECONDARY: $(gsettings_SCHEMAS)
7011 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7013 if test -n "$^"; then \
7014 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7015 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7016 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7019 uninstall-gsettings-schemas:
7020 @$(NORMAL_UNINSTALL)
7021 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7022 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7023 test -n "$$files" || exit 0; \
7024 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7025 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7026 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7028 clean-gsettings-schemas:
7029 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7031 ifdef gsettings_ENUM_NAMESPACE
7032 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7033 $(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 $@
7043 ############### common
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7047 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7048 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7049 $as_echo_n "(cached) " >&6
7051 ac_check_lib_save_LIBS=$LIBS
7052 LIBS="-lpthread $LIBS"
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7056 /* Override any GCC internal prototype to avoid an error.
7057 Use char because int might match the return type of a GCC
7058 builtin and then its argument prototype would still apply. */
7062 char pthread_create ();
7066 return pthread_create ();
7071 if ac_fn_c_try_link "$LINENO"; then :
7072 ac_cv_lib_pthread_pthread_create=yes
7074 ac_cv_lib_pthread_pthread_create=no
7076 rm -f core conftest.err conftest.$ac_objext \
7077 conftest$ac_exeext conftest.$ac_ext
7078 LIBS=$ac_check_lib_save_LIBS
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7081 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7082 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7083 cat >>confdefs.h <<_ACEOF
7084 #define HAVE_LIBPTHREAD 1
7087 LIBS="-lpthread $LIBS"
7091 PTHREAD_LIBS=-pthread
7094 # Checks sensors, required by psensor and psensor-server
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7096 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7097 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7098 $as_echo_n "(cached) " >&6
7100 ac_check_lib_save_LIBS=$LIBS
7101 LIBS="-lsensors $LIBS"
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7105 /* Override any GCC internal prototype to avoid an error.
7106 Use char because int might match the return type of a GCC
7107 builtin and then its argument prototype would still apply. */
7111 char sensors_init ();
7115 return sensors_init ();
7120 if ac_fn_c_try_link "$LINENO"; then :
7121 ac_cv_lib_sensors_sensors_init=yes
7123 ac_cv_lib_sensors_sensors_init=no
7125 rm -f core conftest.err conftest.$ac_objext \
7126 conftest$ac_exeext conftest.$ac_ext
7127 LIBS=$ac_check_lib_save_LIBS
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7130 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7131 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7132 SENSORS_LIBS=-lsensors
7134 $as_echo "#define HAVE_LIBSENSORS 1" >>confdefs.h
7138 for ac_header in sensors/sensors.h sensors/error.h
7140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7141 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7151 if test -n "$SENSORS_LIBS"; then
7161 ############### psensor
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7168 $as_echo_n "checking for X11... " >&6; }
7170 if test -n "$X11_CFLAGS"; then
7171 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7172 elif test -n "$PKG_CONFIG"; then
7173 if test -n "$PKG_CONFIG" && \
7174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7175 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7178 test $ac_status = 0; }; then
7179 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7180 test "x$?" != "x0" && pkg_failed=yes
7187 if test -n "$X11_LIBS"; then
7188 pkg_cv_X11_LIBS="$X11_LIBS"
7189 elif test -n "$PKG_CONFIG"; then
7190 if test -n "$PKG_CONFIG" && \
7191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7192 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7195 test $ac_status = 0; }; then
7196 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7197 test "x$?" != "x0" && pkg_failed=yes
7207 if test $pkg_failed = yes; then
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7212 _pkg_short_errors_supported=yes
7214 _pkg_short_errors_supported=no
7216 if test $_pkg_short_errors_supported = yes; then
7217 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7219 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7221 # Put the nasty error message in config.log where it belongs
7222 echo "$X11_PKG_ERRORS" >&5
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7225 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7226 elif test $pkg_failed = untried; then
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7230 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7232 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7233 X11_LIBS=$pkg_cv_X11_LIBS
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7235 $as_echo "yes" >&6; }
7238 if test -n "$X11_LIBS"; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7252 $as_echo_n "checking for XEXT... " >&6; }
7254 if test -n "$XEXT_CFLAGS"; then
7255 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7256 elif test -n "$PKG_CONFIG"; then
7257 if test -n "$PKG_CONFIG" && \
7258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7259 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7262 test $ac_status = 0; }; then
7263 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7264 test "x$?" != "x0" && pkg_failed=yes
7271 if test -n "$XEXT_LIBS"; then
7272 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7273 elif test -n "$PKG_CONFIG"; then
7274 if test -n "$PKG_CONFIG" && \
7275 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7276 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7279 test $ac_status = 0; }; then
7280 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7281 test "x$?" != "x0" && pkg_failed=yes
7291 if test $pkg_failed = yes; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7296 _pkg_short_errors_supported=yes
7298 _pkg_short_errors_supported=no
7300 if test $_pkg_short_errors_supported = yes; then
7301 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7303 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7305 # Put the nasty error message in config.log where it belongs
7306 echo "$XEXT_PKG_ERRORS" >&5
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7309 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7310 elif test $pkg_failed = untried; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7314 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7316 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7317 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7319 $as_echo "yes" >&6; }
7322 if test -n "$XEXT_LIBS"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7337 $as_echo_n "checking for GTK... " >&6; }
7339 if test -n "$GTK_CFLAGS"; then
7340 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7341 elif test -n "$PKG_CONFIG"; then
7342 if test -n "$PKG_CONFIG" && \
7343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7344 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7347 test $ac_status = 0; }; then
7348 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.4" 2>/dev/null`
7349 test "x$?" != "x0" && pkg_failed=yes
7356 if test -n "$GTK_LIBS"; then
7357 pkg_cv_GTK_LIBS="$GTK_LIBS"
7358 elif test -n "$PKG_CONFIG"; then
7359 if test -n "$PKG_CONFIG" && \
7360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7361 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7364 test $ac_status = 0; }; then
7365 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.4" 2>/dev/null`
7366 test "x$?" != "x0" && pkg_failed=yes
7376 if test $pkg_failed = yes; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7381 _pkg_short_errors_supported=yes
7383 _pkg_short_errors_supported=no
7385 if test $_pkg_short_errors_supported = yes; then
7386 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7388 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7390 # Put the nasty error message in config.log where it belongs
7391 echo "$GTK_PKG_ERRORS" >&5
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7394 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7395 elif test $pkg_failed = untried; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7399 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7401 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7402 GTK_LIBS=$pkg_cv_GTK_LIBS
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7404 $as_echo "yes" >&6; }
7407 if test -n "$GTK_LIBS"; then
7415 # ensure that only allowed headers are included
7416 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
7417 # ensure that no gtk/dk deprecated symbols are used
7418 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
7419 # do not enable flag because GtkStatusIcon is deprecated
7420 #GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
7421 # ensure use of accessors
7422 GTK_CFLAGS+=" -DGSEAL_ENABLE "
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDISKS2" >&5
7430 $as_echo_n "checking for LIBUDISKS2... " >&6; }
7432 if test -n "$LIBUDISKS2_CFLAGS"; then
7433 pkg_cv_LIBUDISKS2_CFLAGS="$LIBUDISKS2_CFLAGS"
7434 elif test -n "$PKG_CONFIG"; then
7435 if test -n "$PKG_CONFIG" && \
7436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7437 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7440 test $ac_status = 0; }; then
7441 pkg_cv_LIBUDISKS2_CFLAGS=`$PKG_CONFIG --cflags "udisks2" 2>/dev/null`
7442 test "x$?" != "x0" && pkg_failed=yes
7449 if test -n "$LIBUDISKS2_LIBS"; then
7450 pkg_cv_LIBUDISKS2_LIBS="$LIBUDISKS2_LIBS"
7451 elif test -n "$PKG_CONFIG"; then
7452 if test -n "$PKG_CONFIG" && \
7453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7454 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7457 test $ac_status = 0; }; then
7458 pkg_cv_LIBUDISKS2_LIBS=`$PKG_CONFIG --libs "udisks2" 2>/dev/null`
7459 test "x$?" != "x0" && pkg_failed=yes
7469 if test $pkg_failed = yes; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7474 _pkg_short_errors_supported=yes
7476 _pkg_short_errors_supported=no
7478 if test $_pkg_short_errors_supported = yes; then
7479 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udisks2" 2>&1`
7481 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "udisks2" 2>&1`
7483 # Put the nasty error message in config.log where it belongs
7484 echo "$LIBUDISKS2_PKG_ERRORS" >&5
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7487 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7488 elif test $pkg_failed = untried; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7492 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7494 LIBUDISKS2_CFLAGS=$pkg_cv_LIBUDISKS2_CFLAGS
7495 LIBUDISKS2_LIBS=$pkg_cv_LIBUDISKS2_LIBS
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7497 $as_echo "yes" >&6; }
7499 $as_echo "#define HAVE_LIBUDISKS2 1" >>confdefs.h
7502 if test -n "$LIBUDISKS2_LIBS"; then
7504 LIBUDISKS2_FALSE='#'
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
7517 $as_echo_n "checking for ATASMART... " >&6; }
7519 if test -n "$ATASMART_CFLAGS"; then
7520 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
7521 elif test -n "$PKG_CONFIG"; then
7522 if test -n "$PKG_CONFIG" && \
7523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7524 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7527 test $ac_status = 0; }; then
7528 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
7529 test "x$?" != "x0" && pkg_failed=yes
7536 if test -n "$ATASMART_LIBS"; then
7537 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
7538 elif test -n "$PKG_CONFIG"; then
7539 if test -n "$PKG_CONFIG" && \
7540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7541 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544 test $ac_status = 0; }; then
7545 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
7546 test "x$?" != "x0" && pkg_failed=yes
7556 if test $pkg_failed = yes; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7561 _pkg_short_errors_supported=yes
7563 _pkg_short_errors_supported=no
7565 if test $_pkg_short_errors_supported = yes; then
7566 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
7568 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
7570 # Put the nasty error message in config.log where it belongs
7571 echo "$ATASMART_PKG_ERRORS" >&5
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7574 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7575 elif test $pkg_failed = untried; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7579 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7581 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
7582 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7584 $as_echo "yes" >&6; }
7586 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
7590 if test -n "$ATASMART_LIBS"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7606 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7608 if test -n "$LIBNOTIFY_CFLAGS"; then
7609 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7610 elif test -n "$PKG_CONFIG"; then
7611 if test -n "$PKG_CONFIG" && \
7612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7613 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7616 test $ac_status = 0; }; then
7617 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7618 test "x$?" != "x0" && pkg_failed=yes
7625 if test -n "$LIBNOTIFY_LIBS"; then
7626 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7627 elif test -n "$PKG_CONFIG"; then
7628 if test -n "$PKG_CONFIG" && \
7629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7630 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7633 test $ac_status = 0; }; then
7634 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7635 test "x$?" != "x0" && pkg_failed=yes
7645 if test $pkg_failed = yes; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7650 _pkg_short_errors_supported=yes
7652 _pkg_short_errors_supported=no
7654 if test $_pkg_short_errors_supported = yes; then
7655 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7657 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7659 # Put the nasty error message in config.log where it belongs
7660 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7663 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7664 elif test $pkg_failed = untried; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7668 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7670 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7671 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7673 $as_echo "yes" >&6; }
7675 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7678 if test -n "$LIBNOTIFY_LIBS"; then
7689 # Checks AppIndicator
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7694 $as_echo_n "checking for APPINDICATOR... " >&6; }
7696 if test -n "$APPINDICATOR_CFLAGS"; then
7697 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7698 elif test -n "$PKG_CONFIG"; then
7699 if test -n "$PKG_CONFIG" && \
7700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7701 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7704 test $ac_status = 0; }; then
7705 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7706 test "x$?" != "x0" && pkg_failed=yes
7713 if test -n "$APPINDICATOR_LIBS"; then
7714 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7715 elif test -n "$PKG_CONFIG"; then
7716 if test -n "$PKG_CONFIG" && \
7717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7718 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7721 test $ac_status = 0; }; then
7722 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7723 test "x$?" != "x0" && pkg_failed=yes
7733 if test $pkg_failed = yes; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7737 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7738 _pkg_short_errors_supported=yes
7740 _pkg_short_errors_supported=no
7742 if test $_pkg_short_errors_supported = yes; then
7743 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7745 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7747 # Put the nasty error message in config.log where it belongs
7748 echo "$APPINDICATOR_PKG_ERRORS" >&5
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7751 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7752 elif test $pkg_failed = untried; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7756 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7758 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7759 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7761 $as_echo "yes" >&6; }
7763 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7766 if test -n "$APPINDICATOR_LIBS"; then
7768 APPINDICATOR_FALSE='#'
7770 APPINDICATOR_TRUE='#'
7777 # Check CURL, needed for remote monitoring
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7782 $as_echo_n "checking for CURL... " >&6; }
7784 if test -n "$CURL_CFLAGS"; then
7785 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7786 elif test -n "$PKG_CONFIG"; then
7787 if test -n "$PKG_CONFIG" && \
7788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7789 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7792 test $ac_status = 0; }; then
7793 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7794 test "x$?" != "x0" && pkg_failed=yes
7801 if test -n "$CURL_LIBS"; then
7802 pkg_cv_CURL_LIBS="$CURL_LIBS"
7803 elif test -n "$PKG_CONFIG"; then
7804 if test -n "$PKG_CONFIG" && \
7805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7806 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7809 test $ac_status = 0; }; then
7810 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7811 test "x$?" != "x0" && pkg_failed=yes
7821 if test $pkg_failed = yes; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7823 $as_echo "no" >&6; }
7825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7826 _pkg_short_errors_supported=yes
7828 _pkg_short_errors_supported=no
7830 if test $_pkg_short_errors_supported = yes; then
7831 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
7833 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
7835 # Put the nasty error message in config.log where it belongs
7836 echo "$CURL_PKG_ERRORS" >&5
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7839 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7840 elif test $pkg_failed = untried; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7844 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7846 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
7847 CURL_LIBS=$pkg_cv_CURL_LIBS
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7849 $as_echo "yes" >&6; }
7851 $as_echo "#define HAVE_CURL 1" >>confdefs.h
7854 if test -n "$CURL_LIBS"; then
7865 # Check JSON, needed for remote monitoring
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7870 $as_echo_n "checking for JSON... " >&6; }
7872 if test -n "$JSON_CFLAGS"; then
7873 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7874 elif test -n "$PKG_CONFIG"; then
7875 if test -n "$PKG_CONFIG" && \
7876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
7877 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
7879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7880 test $ac_status = 0; }; then
7881 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11.99" 2>/dev/null`
7882 test "x$?" != "x0" && pkg_failed=yes
7889 if test -n "$JSON_LIBS"; then
7890 pkg_cv_JSON_LIBS="$JSON_LIBS"
7891 elif test -n "$PKG_CONFIG"; then
7892 if test -n "$PKG_CONFIG" && \
7893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
7894 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
7896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7897 test $ac_status = 0; }; then
7898 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11.99" 2>/dev/null`
7899 test "x$?" != "x0" && pkg_failed=yes
7909 if test $pkg_failed = yes; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7914 _pkg_short_errors_supported=yes
7916 _pkg_short_errors_supported=no
7918 if test $_pkg_short_errors_supported = yes; then
7919 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
7921 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
7923 # Put the nasty error message in config.log where it belongs
7924 echo "$JSON_PKG_ERRORS" >&5
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7927 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7928 elif test $pkg_failed = untried; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7930 $as_echo "no" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7932 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7934 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7935 JSON_LIBS=$pkg_cv_JSON_LIBS
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7937 $as_echo "yes" >&6; }
7939 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7943 if test "$JSON_LIBS" == ""; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7947 $as_echo_n "checking for JSON... " >&6; }
7949 if test -n "$JSON_CFLAGS"; then
7950 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7951 elif test -n "$PKG_CONFIG"; then
7952 if test -n "$PKG_CONFIG" && \
7953 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
7954 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
7956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7957 test $ac_status = 0; }; then
7958 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.11.99" 2>/dev/null`
7959 test "x$?" != "x0" && pkg_failed=yes
7966 if test -n "$JSON_LIBS"; then
7967 pkg_cv_JSON_LIBS="$JSON_LIBS"
7968 elif test -n "$PKG_CONFIG"; then
7969 if test -n "$PKG_CONFIG" && \
7970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
7971 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
7973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7974 test $ac_status = 0; }; then
7975 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.11.99" 2>/dev/null`
7976 test "x$?" != "x0" && pkg_failed=yes
7986 if test $pkg_failed = yes; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7991 _pkg_short_errors_supported=yes
7993 _pkg_short_errors_supported=no
7995 if test $_pkg_short_errors_supported = yes; then
7996 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
7998 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
8000 # Put the nasty error message in config.log where it belongs
8001 echo "$JSON_PKG_ERRORS" >&5
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8004 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8005 elif test $pkg_failed = untried; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8009 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8011 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8012 JSON_LIBS=$pkg_cv_JSON_LIBS
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8014 $as_echo "yes" >&6; }
8016 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8019 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8024 if test -n "$JSON_LIBS"; then
8035 # Enables remote monitoring if JSON and CURL is present
8036 if test -n "$JSON_LIBS"; then
8037 if test -n "$CURL_LIBS"; then
8039 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8045 # following code from sensors-applet
8046 # sensors-applet.sourceforge.net/
8047 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8051 #include <X11/Xlib.h>
8054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8055 cat >>confdefs.h <<_ACEOF
8056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8063 if test -n "${X11_LIBS}"; then
8064 LIBS="${LIBS} -lX11 -lXext"
8066 if test "${HAVE_NVIDIA}" = "true"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8068 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8069 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8070 $as_echo_n "(cached) " >&6
8072 ac_check_lib_save_LIBS=$LIBS
8073 LIBS="-lXNVCtrl $LIBS"
8074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8075 /* end confdefs.h. */
8077 /* Override any GCC internal prototype to avoid an error.
8078 Use char because int might match the return type of a GCC
8079 builtin and then its argument prototype would still apply. */
8083 char XNVCTRLQueryExtension ();
8087 return XNVCTRLQueryExtension ();
8092 if ac_fn_c_try_link "$LINENO"; then :
8093 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8095 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8097 rm -f core conftest.err conftest.$ac_objext \
8098 conftest$ac_exeext conftest.$ac_ext
8099 LIBS=$ac_check_lib_save_LIBS
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8102 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8103 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8104 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8106 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8113 if test -n "$NVIDIA_LIBS"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8128 $as_echo_n "checking for UNITY... " >&6; }
8130 if test -n "$UNITY_CFLAGS"; then
8131 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8132 elif test -n "$PKG_CONFIG"; then
8133 if test -n "$PKG_CONFIG" && \
8134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8135 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8138 test $ac_status = 0; }; then
8139 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8140 test "x$?" != "x0" && pkg_failed=yes
8147 if test -n "$UNITY_LIBS"; then
8148 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8149 elif test -n "$PKG_CONFIG"; then
8150 if test -n "$PKG_CONFIG" && \
8151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8152 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8155 test $ac_status = 0; }; then
8156 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8157 test "x$?" != "x0" && pkg_failed=yes
8167 if test $pkg_failed = yes; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8172 _pkg_short_errors_supported=yes
8174 _pkg_short_errors_supported=no
8176 if test $_pkg_short_errors_supported = yes; then
8177 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8179 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8181 # Put the nasty error message in config.log where it belongs
8182 echo "$UNITY_PKG_ERRORS" >&5
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8185 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8186 elif test $pkg_failed = untried; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8190 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8192 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8193 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8195 $as_echo "yes" >&6; }
8197 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8202 if test -n "$UNITY_LIBS"; then
8213 # Check whether --with-libatiadl was given.
8214 if test "${with_libatiadl+set}" = set; then :
8215 withval=$with_libatiadl;
8216 ATIADL_DIR=${withval}
8217 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8218 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8224 for ac_header in adl_defines.h
8226 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8228 cat >>confdefs.h <<_ACEOF
8229 #define HAVE_ADL_DEFINES_H 1
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8232 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8233 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8234 $as_echo_n "(cached) " >&6
8236 ac_check_lib_save_LIBS=$LIBS
8237 LIBS="-latiadlxx $LIBS"
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8241 /* Override any GCC internal prototype to avoid an error.
8242 Use char because int might match the return type of a GCC
8243 builtin and then its argument prototype would still apply. */
8247 char ADL_Main_Control_Refresh ();
8251 return ADL_Main_Control_Refresh ();
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8259 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 LIBS=$ac_check_lib_save_LIBS
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8266 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8267 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8270 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8272 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8273 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8282 if test -n "$LIBATIADL_LIBS"; then
8293 ############### psensor-server
8295 # Check libmicrohttpd, mandatory for psensor-server
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8300 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8302 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8303 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8304 elif test -n "$PKG_CONFIG"; then
8305 if test -n "$PKG_CONFIG" && \
8306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8307 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8310 test $ac_status = 0; }; then
8311 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8312 test "x$?" != "x0" && pkg_failed=yes
8319 if test -n "$LIBMICROHTTPD_LIBS"; then
8320 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8321 elif test -n "$PKG_CONFIG"; then
8322 if test -n "$PKG_CONFIG" && \
8323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8324 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8327 test $ac_status = 0; }; then
8328 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8329 test "x$?" != "x0" && pkg_failed=yes
8339 if test $pkg_failed = yes; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341 $as_echo "no" >&6; }
8343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8344 _pkg_short_errors_supported=yes
8346 _pkg_short_errors_supported=no
8348 if test $_pkg_short_errors_supported = yes; then
8349 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8351 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8353 # Put the nasty error message in config.log where it belongs
8354 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8357 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8358 elif test $pkg_failed = untried; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8360 $as_echo "no" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8362 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8364 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8365 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8367 $as_echo "yes" >&6; }
8369 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8372 if test -n "$LIBMICROHTTPD_LIBS"; then
8374 LIBMICROHTTPD_FALSE='#'
8376 LIBMICROHTTPD_TRUE='#'
8377 LIBMICROHTTPD_FALSE=
8383 # Check gtop2, optional
8385 # Check whether --with-gtop was given.
8386 if test "${with_gtop+set}" = set; then :
8397 if test "$with_gtop" = "yes"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8401 $as_echo_n "checking for GTOP... " >&6; }
8403 if test -n "$GTOP_CFLAGS"; then
8404 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8405 elif test -n "$PKG_CONFIG"; then
8406 if test -n "$PKG_CONFIG" && \
8407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8408 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8411 test $ac_status = 0; }; then
8412 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8413 test "x$?" != "x0" && pkg_failed=yes
8420 if test -n "$GTOP_LIBS"; then
8421 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8422 elif test -n "$PKG_CONFIG"; then
8423 if test -n "$PKG_CONFIG" && \
8424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8425 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8428 test $ac_status = 0; }; then
8429 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8430 test "x$?" != "x0" && pkg_failed=yes
8440 if test $pkg_failed = yes; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8445 _pkg_short_errors_supported=yes
8447 _pkg_short_errors_supported=no
8449 if test $_pkg_short_errors_supported = yes; then
8450 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8452 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8454 # Put the nasty error message in config.log where it belongs
8455 echo "$GTOP_PKG_ERRORS" >&5
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8458 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8459 elif test $pkg_failed = untried; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8463 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8465 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8466 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8468 $as_echo "yes" >&6; }
8470 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8474 if test -n "$GTOP_LIBS"; then
8485 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"
8488 for ac_prog in help2man
8490 # Extract the first word of "$ac_prog", so it can be a program name with args.
8491 set dummy $ac_prog; ac_word=$2
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8493 $as_echo_n "checking for $ac_word... " >&6; }
8494 if ${ac_cv_prog_HELP2MAN+:} false; then :
8495 $as_echo_n "(cached) " >&6
8497 if test -n "$HELP2MAN"; then
8498 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8507 ac_cv_prog_HELP2MAN="$ac_prog"
8508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8517 HELP2MAN=$ac_cv_prog_HELP2MAN
8518 if test -n "$HELP2MAN"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8520 $as_echo "$HELP2MAN" >&6; }
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8523 $as_echo "no" >&6; }
8527 test -n "$HELP2MAN" && break
8530 if test -n "$HELP2MAN"; then
8539 # Extract the first word of "asciidoc", so it can be a program name with args.
8540 set dummy asciidoc; ac_word=$2
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8542 $as_echo_n "checking for $ac_word... " >&6; }
8543 if ${ac_cv_prog_ASCIIDOC+:} false; then :
8544 $as_echo_n "(cached) " >&6
8546 if test -n "$ASCIIDOC"; then
8547 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
8549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8553 test -z "$as_dir" && as_dir=.
8554 for ac_exec_ext in '' $ac_executable_extensions; do
8555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8556 ac_cv_prog_ASCIIDOC="yes"
8557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8566 ASCIIDOC=$ac_cv_prog_ASCIIDOC
8567 if test -n "$ASCIIDOC"; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
8569 $as_echo "$ASCIIDOC" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 $as_echo "no" >&6; }
8576 if test -n "$ASCIIDOC"; then
8585 # Extract the first word of "cppcheck", so it can be a program name with args.
8586 set dummy cppcheck; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8588 $as_echo_n "checking for $ac_word... " >&6; }
8589 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
8590 $as_echo_n "(cached) " >&6
8592 if test -n "$HAVE_CPPCHECK"; then
8593 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8602 ac_cv_prog_HAVE_CPPCHECK="yes"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8612 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
8613 if test -n "$HAVE_CPPCHECK"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
8615 $as_echo "$HAVE_CPPCHECK" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8618 $as_echo "no" >&6; }
8622 if test -n "$HAVE_CPPCHECK"; then
8631 cat >confcache <<\_ACEOF
8632 # This file is a shell script that caches the results of configure
8633 # tests run on this system so they can be shared between configure
8634 # scripts and configure runs, see configure's option --config-cache.
8635 # It is not useful on other systems. If it contains results you don't
8636 # want to keep, you may remove or edit it.
8638 # config.status only pays attention to the cache file if you give it
8639 # the --recheck option to rerun configure.
8641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8647 # The following way of writing the cache mishandles newlines in values,
8648 # but we know of no workaround that is simple, portable, and efficient.
8649 # So, we kill variables containing newlines.
8650 # Ultrix sh set writes to stderr and can't be redirected directly,
8651 # and sets the high bit in the cache file unless we assign to the vars.
8653 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8654 eval ac_val=\$$ac_var
8658 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8659 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8662 _ | IFS | as_nl) ;; #(
8663 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8664 *) { eval $ac_var=; unset $ac_var;} ;;
8670 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8671 *${as_nl}ac_space=\ *)
8672 # `set' does not quote correctly, so add quotes: double-quote
8673 # substitution turns \\\\ into \\, and sed turns \\ into \.
8676 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8679 # `set' quotes correctly as required by POSIX, so do not add quotes.
8680 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8691 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8693 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8694 if test -w "$cache_file"; then
8695 if test "x$cache_file" != "x/dev/null"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8697 $as_echo "$as_me: updating cache $cache_file" >&6;}
8698 if test ! -f "$cache_file" || test -h "$cache_file"; then
8699 cat confcache >"$cache_file"
8701 case $cache_file in #(
8703 mv -f confcache "$cache_file"$$ &&
8704 mv -f "$cache_file"$$ "$cache_file" ;; #(
8706 mv -f confcache "$cache_file" ;;
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8712 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8717 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8718 # Let make expand exec_prefix.
8719 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8721 DEFS=-DHAVE_CONFIG_H
8726 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8727 # 1. Remove the extension, and $U if already installed.
8728 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8729 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8730 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8731 # will be set to the directory where LIBOBJS objects are built.
8732 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8733 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8737 LTLIBOBJS=$ac_ltlibobjs
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8741 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8742 if test -n "$am_sleep_pid"; then
8743 # Hide warnings about reused PIDs.
8744 wait $am_sleep_pid 2>/dev/null
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8747 $as_echo "done" >&6; }
8748 if test -n "$EXEEXT"; then
8750 am__EXEEXT_FALSE='#'
8756 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8757 as_fn_error $? "conditional \"AMDEP\" was never defined.
8758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8760 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8761 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8764 if test -z "${SENSORS_TRUE}" && test -z "${SENSORS_FALSE}"; then
8765 as_fn_error $? "conditional \"SENSORS\" was never defined.
8766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8768 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
8769 as_fn_error $? "conditional \"X11\" was never defined.
8770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8772 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
8773 as_fn_error $? "conditional \"XEXT\" was never defined.
8774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8776 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8777 as_fn_error $? "conditional \"GTK\" was never defined.
8778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8780 if test -z "${LIBUDISKS2_TRUE}" && test -z "${LIBUDISKS2_FALSE}"; then
8781 as_fn_error $? "conditional \"LIBUDISKS2\" was never defined.
8782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8784 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
8785 as_fn_error $? "conditional \"ATASMART\" was never defined.
8786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8788 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8789 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8792 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8793 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8796 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8797 as_fn_error $? "conditional \"CURL\" was never defined.
8798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8800 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8801 as_fn_error $? "conditional \"JSON\" was never defined.
8802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8804 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8805 as_fn_error $? "conditional \"NVIDIA\" was never defined.
8806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8808 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8809 as_fn_error $? "conditional \"UNITY\" was never defined.
8810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8812 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
8813 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8816 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8817 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8820 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8821 as_fn_error $? "conditional \"GTOP\" was never defined.
8822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8824 if test -z "${HELP2MAN_TRUE}" && test -z "${HELP2MAN_FALSE}"; then
8825 as_fn_error $? "conditional \"HELP2MAN\" was never defined.
8826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8828 if test -z "${ASCIIDOC_TRUE}" && test -z "${ASCIIDOC_FALSE}"; then
8829 as_fn_error $? "conditional \"ASCIIDOC\" was never defined.
8830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8832 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
8833 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
8834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8837 : "${CONFIG_STATUS=./config.status}"
8839 ac_clean_files_save=$ac_clean_files
8840 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8842 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8844 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8846 # Generated by $as_me.
8847 # Run this file to recreate the current configuration.
8848 # Compiler output produced by configure, useful for debugging
8849 # configure, is in config.log if it exists.
8855 SHELL=\${CONFIG_SHELL-$SHELL}
8858 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8859 ## -------------------- ##
8860 ## M4sh Initialization. ##
8861 ## -------------------- ##
8863 # Be more Bourne compatible
8864 DUALCASE=1; export DUALCASE # for MKS sh
8865 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8868 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8869 # is contrary to our usage. Disable this feature.
8870 alias -g '${1+"$@"}'='"$@"'
8871 setopt NO_GLOB_SUBST
8873 case `(set -o) 2>/dev/null` in #(
8885 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8886 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8888 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8889 # Prefer a ksh shell builtin over an external printf program on Solaris,
8890 # but without wasting forks for bash or zsh.
8891 if test -z "$BASH_VERSION$ZSH_VERSION" \
8892 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8893 as_echo='print -r --'
8894 as_echo_n='print -rn --'
8895 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8896 as_echo='printf %s\n'
8897 as_echo_n='printf %s'
8899 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8900 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8901 as_echo_n='/usr/ucb/echo -n'
8903 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8904 as_echo_n_body='eval
8908 expr "X$arg" : "X\\(.*\\)$as_nl";
8909 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8911 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8913 export as_echo_n_body
8914 as_echo_n='sh -c $as_echo_n_body as_echo'
8917 as_echo='sh -c $as_echo_body as_echo'
8920 # The user is always right.
8921 if test "${PATH_SEPARATOR+set}" != set; then
8923 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8924 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8931 # We need space, tab and new line, in precisely that order. Quoting is
8932 # there to prevent editors from complaining about space-tab.
8933 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8934 # splitting by setting IFS to empty value.)
8937 # Find who we are. Look in the path if we contain no directory separator.
8940 *[\\/]* ) as_myself=$0 ;;
8941 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 test -z "$as_dir" && as_dir=.
8946 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8952 # We did not find ourselves, most probably we were run as `sh COMMAND'
8953 # in which case we are not to be found in the path.
8954 if test "x$as_myself" = x; then
8957 if test ! -f "$as_myself"; then
8958 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8962 # Unset variables that we do not need and which cause bugs (e.g. in
8963 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8964 # suppresses any "Segmentation fault" message there. '((' could
8965 # trigger a bug in pdksh 5.2.14.
8966 for as_var in BASH_ENV ENV MAIL MAILPATH
8967 do eval test x\${$as_var+set} = xset \
8968 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8984 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8985 # ----------------------------------------
8986 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8987 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8988 # script with STATUS, using 1 if that was 0.
8991 as_status=$1; test $as_status -eq 0 && as_status=1
8993 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8994 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8996 $as_echo "$as_me: error: $2" >&2
8997 as_fn_exit $as_status
9001 # as_fn_set_status STATUS
9002 # -----------------------
9003 # Set $? to STATUS, without forking.
9007 } # as_fn_set_status
9011 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9021 # Portably unset VAR.
9024 { eval $1=; unset $1;}
9026 as_unset=as_fn_unset
9027 # as_fn_append VAR VALUE
9028 # ----------------------
9029 # Append the text in VALUE to the end of the definition contained in VAR. Take
9030 # advantage of any shell optimizations that allow amortized linear growth over
9031 # repeated appends, instead of the typical quadratic growth present in naive
9033 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9034 eval 'as_fn_append ()
9045 # as_fn_arith ARG...
9046 # ------------------
9047 # Perform arithmetic evaluation on the ARGs, and store the result in the
9048 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9049 # must be portable across $(()) and expr.
9050 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9051 eval 'as_fn_arith ()
9058 as_val=`expr "$@" || test $? -eq 1`
9063 if expr a : '\(a\)' >/dev/null 2>&1 &&
9064 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9070 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9071 as_basename=basename
9076 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9082 as_me=`$as_basename -- "$0" ||
9083 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9084 X"$0" : 'X\(//\)$' \| \
9085 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9087 sed '/^.*\/\([^/][^/]*\)\/*$/{
9101 # Avoid depending upon Character Ranges.
9102 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9103 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9104 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9105 as_cr_digits='0123456789'
9106 as_cr_alnum=$as_cr_Letters$as_cr_digits
9108 ECHO_C= ECHO_N= ECHO_T=
9109 case `echo -n x` in #(((((
9111 case `echo 'xy\c'` in
9112 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9114 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9121 rm -f conf$$ conf$$.exe conf$$.file
9122 if test -d conf$$.dir; then
9123 rm -f conf$$.dir/conf$$.file
9126 mkdir conf$$.dir 2>/dev/null
9128 if (echo >conf$$.file) 2>/dev/null; then
9129 if ln -s conf$$.file conf$$ 2>/dev/null; then
9131 # ... but there are two gotchas:
9132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9134 # In both cases, we have to default to `cp -pR'.
9135 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9137 elif ln conf$$.file conf$$ 2>/dev/null; then
9145 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9146 rmdir conf$$.dir 2>/dev/null
9151 # Create "$as_dir" as a directory, including parents if necessary.
9156 -*) as_dir=./$as_dir;;
9158 test -d "$as_dir" || eval $as_mkdir_p || {
9162 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9163 *) as_qdir=$as_dir;;
9165 as_dirs="'$as_qdir' $as_dirs"
9166 as_dir=`$as_dirname -- "$as_dir" ||
9167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9168 X"$as_dir" : 'X\(//\)[^/]' \| \
9169 X"$as_dir" : 'X\(//\)$' \| \
9170 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9171 $as_echo X"$as_dir" |
9172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9189 test -d "$as_dir" && break
9191 test -z "$as_dirs" || eval "mkdir $as_dirs"
9192 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9196 if mkdir -p . 2>/dev/null; then
9197 as_mkdir_p='mkdir -p "$as_dir"'
9199 test -d ./-p && rmdir ./-p
9204 # as_fn_executable_p FILE
9205 # -----------------------
9206 # Test if FILE is an executable regular file.
9207 as_fn_executable_p ()
9209 test -f "$1" && test -x "$1"
9210 } # as_fn_executable_p
9212 as_executable_p=as_fn_executable_p
9214 # Sed expression to map a string onto a valid CPP name.
9215 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9217 # Sed expression to map a string onto a valid variable name.
9218 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9222 ## ----------------------------------- ##
9223 ## Main body of $CONFIG_STATUS script. ##
9224 ## ----------------------------------- ##
9226 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9229 # Save the log message, to keep $0 and so on meaningful, and to
9230 # report actual input values of CONFIG_FILES etc. instead of their
9231 # values after options handling.
9233 This file was extended by psensor $as_me 1.2.0, which was
9234 generated by GNU Autoconf 2.69. Invocation command line was
9236 CONFIG_FILES = $CONFIG_FILES
9237 CONFIG_HEADERS = $CONFIG_HEADERS
9238 CONFIG_LINKS = $CONFIG_LINKS
9239 CONFIG_COMMANDS = $CONFIG_COMMANDS
9242 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9247 case $ac_config_files in *"
9248 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9251 case $ac_config_headers in *"
9252 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9257 # Files that config.status was made for.
9258 config_files="$ac_config_files"
9259 config_headers="$ac_config_headers"
9260 config_commands="$ac_config_commands"
9264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9266 \`$as_me' instantiates files and other configuration actions
9267 from templates according to the current configuration. Unless the files
9268 and actions are specified as TAGs, all are instantiated by default.
9270 Usage: $0 [OPTION]... [TAG]...
9272 -h, --help print this help, then exit
9273 -V, --version print version number and configuration settings, then exit
9274 --config print configuration, then exit
9275 -q, --quiet, --silent
9276 do not print progress messages
9277 -d, --debug don't remove temporary files
9278 --recheck update $as_me by reconfiguring in the same conditions
9279 --file=FILE[:TEMPLATE]
9280 instantiate the configuration file FILE
9281 --header=FILE[:TEMPLATE]
9282 instantiate the configuration header FILE
9284 Configuration files:
9287 Configuration headers:
9290 Configuration commands:
9293 Report bugs to <jeanfi@gmail.com>.
9294 psensor home page: <http://wpitchoune.net/psensor>."
9297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9298 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9300 psensor config.status 1.2.0
9301 configured by $0, generated by GNU Autoconf 2.69,
9302 with options \\"\$ac_cs_config\\"
9304 Copyright (C) 2012 Free Software Foundation, Inc.
9305 This config.status script is free software; the Free Software Foundation
9306 gives unlimited permission to copy, distribute and modify it."
9313 test -n "\$AWK" || AWK=awk
9316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9317 # The default lists apply if the user does not specify any file.
9323 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9324 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9328 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9340 # Handling of the options.
9341 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9343 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9344 $as_echo "$ac_cs_version"; exit ;;
9345 --config | --confi | --conf | --con | --co | --c )
9346 $as_echo "$ac_cs_config"; exit ;;
9347 --debug | --debu | --deb | --de | --d | -d )
9349 --file | --fil | --fi | --f )
9352 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9353 '') as_fn_error $? "missing file argument" ;;
9355 as_fn_append CONFIG_FILES " '$ac_optarg'"
9356 ac_need_defaults=false;;
9357 --header | --heade | --head | --hea )
9360 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9362 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9363 ac_need_defaults=false;;
9365 # Conflict between --help and --header
9366 as_fn_error $? "ambiguous option: \`$1'
9367 Try \`$0 --help' for more information.";;
9368 --help | --hel | -h )
9369 $as_echo "$ac_cs_usage"; exit ;;
9370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9371 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9375 -*) as_fn_error $? "unrecognized option: \`$1'
9376 Try \`$0 --help' for more information." ;;
9378 *) as_fn_append ac_config_targets " $1"
9379 ac_need_defaults=false ;;
9385 ac_configure_extra_args=
9387 if $ac_cs_silent; then
9389 ac_configure_extra_args="$ac_configure_extra_args --silent"
9393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9394 if \$ac_cs_recheck; then
9395 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9397 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9398 CONFIG_SHELL='$SHELL'
9404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9409 ## Running $as_me. ##
9415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9419 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9420 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9421 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9422 # from automake < 1.5.
9423 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9424 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9425 LINGUAS="${LINGUAS-%UNSET%}"
9430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9432 # Handling of arguments.
9433 for ac_config_target in $ac_config_targets
9435 case $ac_config_target in
9436 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9437 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9438 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9439 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9440 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9441 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9442 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9443 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9444 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9445 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9446 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9447 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9448 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9449 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9450 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9451 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9452 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9453 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9454 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9455 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9456 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9457 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9458 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9460 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9465 # If the user did not use the arguments to specify the items to instantiate,
9466 # then the envvar interface is used. Set only those that are not.
9467 # We use the long form for the default assignment because of an extremely
9468 # bizarre bug on SunOS 4.1.3.
9469 if $ac_need_defaults; then
9470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9475 # Have a temporary directory for convenience. Make it in the build tree
9476 # simply because there is no reason against having it here, and in addition,
9477 # creating and moving files from /tmp can sometimes cause problems.
9478 # Hook for its removal unless debugging.
9479 # Note that there is a small window in which the directory will not be cleaned:
9480 # after its creation but before its name has been assigned to `$tmp'.
9484 trap 'exit_status=$?
9486 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9488 trap 'as_fn_exit 1' 1 2 13 15
9490 # Create a (secure) tmp directory for tmp files.
9493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9497 tmp=./conf$$-$RANDOM
9498 (umask 077 && mkdir "$tmp")
9499 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9502 # Set up the scripts for CONFIG_FILES section.
9503 # No need to generate them if there are no CONFIG_FILES.
9504 # This happens for instance with `./config.status config.h'.
9505 if test -n "$CONFIG_FILES"; then
9508 ac_cr=`echo X | tr X '\015'`
9509 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9510 # But we know of no other shell where ac_cr would be empty at this
9511 # point, so we can use a bashism as a fallback.
9512 if test "x$ac_cr" = x; then
9513 eval ac_cr=\$\'\\r\'
9515 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9516 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9522 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9527 echo "cat >conf$$subs.awk <<_ACEOF" &&
9528 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9532 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9534 for ac_last_try in false false false false false :; do
9535 . ./conf$$subs.sh ||
9536 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9538 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9539 if test $ac_delim_n = $ac_delim_num; then
9541 elif $ac_last_try; then
9542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9550 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9554 s/^/S["/; s/!.*/"]=/
9564 s/\(.\{148\}\)..*/\1/
9566 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9571 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9578 s/\(.\{148\}\)..*/\1/
9580 s/["\\]/\\&/g; s/^/"/; s/$/"/
9584 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9589 ' <conf$$subs.awk | sed '
9594 ' >>$CONFIG_STATUS || ac_write_fail=1
9595 rm -f conf$$subs.awk
9596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9598 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9599 for (key in S) S_is_set[key] = 1
9605 nfields = split(line, field, "@")
9607 len = length(field[1])
9608 for (i = 2; i < nfields; i++) {
9610 keylen = length(key)
9611 if (S_is_set[key]) {
9613 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9614 len += length(value) + length(field[++i])
9625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9626 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9627 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9630 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9631 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9634 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9635 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9636 # trailing colons and then remove the whole line if VPATH becomes empty
9637 # (actually we leave an empty line to preserve line numbers).
9638 if test "x$srcdir" = x.; then
9639 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9658 fi # test -n "$CONFIG_FILES"
9660 # Set up the scripts for CONFIG_HEADERS section.
9661 # No need to generate them if there are no CONFIG_HEADERS.
9662 # This happens for instance with `./config.status Makefile'.
9663 if test -n "$CONFIG_HEADERS"; then
9664 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9668 # Transform confdefs.h into an awk script `defines.awk', embedded as
9669 # here-document in config.status, that substitutes the proper values into
9670 # config.h.in to produce config.h.
9672 # Create a delimiter string that does not exist in confdefs.h, to ease
9673 # handling of long lines.
9675 for ac_last_try in false false :; do
9676 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9677 if test -z "$ac_tt"; then
9679 elif $ac_last_try; then
9680 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9686 # For the awk script, D is an array of macro values keyed by name,
9687 # likewise P contains macro parameters if any. Preserve backslash
9688 # newline sequences.
9690 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9692 s/.\{148\}/&'"$ac_delim"'/g
9695 s/^[ ]*#[ ]*define[ ][ ]*/ /
9702 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9704 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9708 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9709 D["\1"]=" \3\\\\\\n"\\/p
9711 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9716 s/.\{148\}/&'"$ac_delim"'/g
9721 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9724 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9726 ' <confdefs.h | sed '
9727 s/'"$ac_delim"'/"\\\
9728 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9731 for (key in D) D_is_set[key] = 1
9734 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9736 split(line, arg, " ")
9737 if (arg[1] == "#") {
9741 defundef = substr(arg[1], 2)
9744 split(mac1, mac2, "(") #)
9746 prefix = substr(line, 1, index(line, defundef) - 1)
9747 if (D_is_set[macro]) {
9748 # Preserve the white space surrounding the "#".
9749 print prefix "define", macro P[macro] D[macro]
9752 # Replace #undef with comments. This is necessary, for example,
9753 # in the case of _POSIX_SOURCE, which is predefined and required
9754 # on some systems where configure will not decide to define it.
9755 if (defundef == "undef") {
9756 print "/*", prefix defundef, macro, "*/"
9764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9765 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9766 fi # test -n "$CONFIG_HEADERS"
9769 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9774 :[FHLC]) ac_mode=$ac_tag; continue;;
9776 case $ac_mode$ac_tag in
9778 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9779 :[FH]-) ac_tag=-:-;;
9780 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9797 -) ac_f="$ac_tmp/stdin";;
9798 *) # Look for the file first in the build tree, then in the source tree
9799 # (if the path is not absolute). The absolute path cannot be DOS-style,
9800 # because $ac_f cannot contain `:'.
9804 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9806 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9808 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9809 as_fn_append ac_file_inputs " '$ac_f'"
9812 # Let's still pretend it is `configure' which instantiates (i.e., don't
9813 # use $as_me), people would be surprised to read:
9814 # /* config.h. Generated by config.status. */
9815 configure_input='Generated from '`
9816 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9818 if test x"$ac_file" != x-; then
9819 configure_input="$ac_file. $configure_input"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9821 $as_echo "$as_me: creating $ac_file" >&6;}
9823 # Neutralize special characters interpreted by sed in replacement strings.
9824 case $configure_input in #(
9825 *\&* | *\|* | *\\* )
9826 ac_sed_conf_input=`$as_echo "$configure_input" |
9827 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9828 *) ac_sed_conf_input=$configure_input;;
9832 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9838 ac_dir=`$as_dirname -- "$ac_file" ||
9839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9840 X"$ac_file" : 'X\(//\)[^/]' \| \
9841 X"$ac_file" : 'X\(//\)$' \| \
9842 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9843 $as_echo X"$ac_file" |
9844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9861 as_dir="$ac_dir"; as_fn_mkdir_p
9865 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9867 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9868 # A ".." for each directory in $ac_dir_suffix.
9869 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9870 case $ac_top_builddir_sub in
9871 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9872 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9875 ac_abs_top_builddir=$ac_pwd
9876 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9877 # for backward compatibility:
9878 ac_top_builddir=$ac_top_build_prefix
9881 .) # We are building in place.
9883 ac_top_srcdir=$ac_top_builddir_sub
9884 ac_abs_top_srcdir=$ac_pwd ;;
9885 [\\/]* | ?:[\\/]* ) # Absolute name.
9886 ac_srcdir=$srcdir$ac_dir_suffix;
9887 ac_top_srcdir=$srcdir
9888 ac_abs_top_srcdir=$srcdir ;;
9890 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9891 ac_top_srcdir=$ac_top_build_prefix$srcdir
9892 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9894 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9904 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9905 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9909 [\\/$]* | ?:[\\/]* ) ;;
9910 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9915 # If the template does not know about datarootdir, expand it.
9916 # FIXME: This hack should be removed a few years after 2.60.
9917 ac_datarootdir_hack=; ac_datarootdir_seen=
9928 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9929 *datarootdir*) ac_datarootdir_seen=yes;;
9930 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9932 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9935 ac_datarootdir_hack='
9936 s&@datadir@&$datadir&g
9937 s&@docdir@&$docdir&g
9938 s&@infodir@&$infodir&g
9939 s&@localedir@&$localedir&g
9940 s&@mandir@&$mandir&g
9941 s&\\\${datarootdir}&$datarootdir&g' ;;
9945 # Neutralize VPATH when `$srcdir' = `.'.
9946 # Shell code in configure.ac might set extrasub.
9947 # FIXME: do we really want to maintain this feature?
9948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9949 ac_sed_extra="$ac_vpsub
9952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9955 s|@configure_input@|$ac_sed_conf_input|;t t
9956 s&@top_builddir@&$ac_top_builddir_sub&;t t
9957 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9958 s&@srcdir@&$ac_srcdir&;t t
9959 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9960 s&@top_srcdir@&$ac_top_srcdir&;t t
9961 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9962 s&@builddir@&$ac_builddir&;t t
9963 s&@abs_builddir@&$ac_abs_builddir&;t t
9964 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9965 s&@INSTALL@&$ac_INSTALL&;t t
9966 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9967 $ac_datarootdir_hack
9969 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9970 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9972 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9973 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9974 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9975 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9977 which seems to be undefined. Please make sure it is defined" >&5
9978 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9979 which seems to be undefined. Please make sure it is defined" >&2;}
9981 rm -f "$ac_tmp/stdin"
9983 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9984 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9986 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9992 if test x"$ac_file" != x-; then
9994 $as_echo "/* $configure_input */" \
9995 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9996 } >"$ac_tmp/config.h" \
9997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9998 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10000 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10003 mv "$ac_tmp/config.h" "$ac_file" \
10004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10007 $as_echo "/* $configure_input */" \
10008 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10009 || as_fn_error $? "could not create -" "$LINENO" 5
10011 # Compute "$ac_file"'s index in $config_headers.
10014 for _am_header in $config_headers :; do
10015 case $_am_header in
10016 $_am_arg | $_am_arg:* )
10019 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10022 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10023 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10024 X"$_am_arg" : 'X\(//\)[^/]' \| \
10025 X"$_am_arg" : 'X\(//\)$' \| \
10026 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10027 $as_echo X"$_am_arg" |
10028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10032 /^X\(\/\/\)[^/].*/{
10044 s/.*/./; q'`/stamp-h$_am_stamp_count
10047 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10048 $as_echo "$as_me: executing $ac_file commands" >&6;}
10053 case $ac_file$ac_mode in
10054 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10055 # Older Autoconf quotes --file arguments for eval, but not when files
10056 # are listed without --file. Let's play safe and only enable the eval
10057 # if we detect the quoting.
10058 case $CONFIG_FILES in
10059 *\'*) eval set x "$CONFIG_FILES" ;;
10060 *) set x $CONFIG_FILES ;;
10065 # Strip MF so we end up with the name of the file.
10066 mf=`echo "$mf" | sed -e 's/:.*$//'`
10067 # Check whether this is an Automake generated Makefile or not.
10068 # We used to match only the files named 'Makefile.in', but
10069 # some people rename them; so instead we look at the file content.
10070 # Grep'ing the first line is not enough: some people post-process
10071 # each Makefile.in and add a new line on top of each file to say so.
10072 # Grep'ing the whole file is not good either: AIX grep has a line
10073 # limit of 2048, but all sed's we know have understand at least 4000.
10074 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10075 dirpart=`$as_dirname -- "$mf" ||
10076 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10077 X"$mf" : 'X\(//\)[^/]' \| \
10078 X"$mf" : 'X\(//\)$' \| \
10079 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10085 /^X\(\/\/\)[^/].*/{
10101 # Extract the definition of DEPDIR, am__include, and am__quote
10102 # from the Makefile without running 'make'.
10103 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10104 test -z "$DEPDIR" && continue
10105 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10106 test -z "$am__include" && continue
10107 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10108 # Find all dependency output files, they are included files with
10109 # $(DEPDIR) in their names. We invoke sed twice because it is the
10110 # simplest approach to changing $(DEPDIR) to its actual value in the
10112 for file in `sed -n "
10113 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10114 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10115 # Make sure the directory exists.
10116 test -f "$dirpart/$file" && continue
10117 fdir=`$as_dirname -- "$file" ||
10118 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10119 X"$file" : 'X\(//\)[^/]' \| \
10120 X"$file" : 'X\(//\)$' \| \
10121 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10122 $as_echo X"$file" |
10123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10127 /^X\(\/\/\)[^/].*/{
10140 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10141 # echo "creating $dirpart/$file"
10142 echo '# dummy' > "$dirpart/$file"
10147 "po-directories":C)
10148 for ac_file in $CONFIG_FILES; do
10149 # Support "outfile[:infile[:infile...]]"
10151 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10153 # PO directories have a Makefile.in generated from Makefile.in.in.
10154 case "$ac_file" in */Makefile.in)
10155 # Adjust a relative srcdir.
10156 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10157 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10158 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10159 # In autoconf-2.13 it is called $ac_given_srcdir.
10160 # In autoconf-2.50 it is called $srcdir.
10161 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10162 case "$ac_given_srcdir" in
10163 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10164 /*) top_srcdir="$ac_given_srcdir" ;;
10165 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10167 # Treat a directory as a PO directory if and only if it has a
10168 # POTFILES.in file. This allows packages to have multiple PO
10169 # directories under different names or in different locations.
10170 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10171 rm -f "$ac_dir/POTFILES"
10172 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10173 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10174 POMAKEFILEDEPS="POTFILES.in"
10175 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10176 # on $ac_dir but don't depend on user-specified configuration
10178 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10179 # The LINGUAS file contains the set of available languages.
10180 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10181 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10183 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10184 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10185 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10186 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10188 # The set of available languages was given in configure.in.
10189 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10190 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10193 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10194 # Compute UPDATEPOFILES
10195 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10196 # Compute DUMMYPOFILES
10197 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10199 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10200 case "$ac_given_srcdir" in
10202 *) srcdirpre='$(srcdir)/' ;;
10208 for lang in $ALL_LINGUAS; do
10209 POFILES="$POFILES $srcdirpre$lang.po"
10210 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10211 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10212 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10214 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10215 # environment variable.
10217 if test -n "$ALL_LINGUAS"; then
10218 for presentlang in $ALL_LINGUAS; do
10220 if test "%UNSET%" != "$LINGUAS"; then
10221 desiredlanguages="$LINGUAS"
10223 desiredlanguages="$ALL_LINGUAS"
10225 for desiredlang in $desiredlanguages; do
10226 # Use the presentlang catalog if desiredlang is
10227 # a. equal to presentlang, or
10228 # b. a variant of presentlang (because in this case,
10229 # presentlang can be used as a fallback for messages
10230 # which are not translated in the desiredlang catalog).
10231 case "$desiredlang" in
10232 "$presentlang"*) useit=yes;;
10235 if test $useit = yes; then
10236 INST_LINGUAS="$INST_LINGUAS $presentlang"
10241 if test -n "$INST_LINGUAS"; then
10242 for lang in $INST_LINGUAS; do
10243 CATALOGS="$CATALOGS $lang.gmo"
10246 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10247 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"
10248 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10249 if test -f "$f"; then
10251 *.orig | *.bak | *~) ;;
10252 *) cat "$f" >> "$ac_dir/Makefile" ;;
10267 ac_clean_files=$ac_clean_files_save
10269 test $ac_write_fail = 0 ||
10270 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10273 # configure is writing to config.log, and then calls config.status.
10274 # config.status does its own redirection, appending to config.log.
10275 # Unfortunately, on DOS this fails, as config.log is still kept open
10276 # by configure, so config.status won't be able to write to it; its
10277 # output is simply discarded. So we exec the FD to /dev/null,
10278 # effectively closing config.log, so it can be properly (re)opened and
10279 # appended to by config.status. When coming back to configure, we
10280 # need to make the FD available again.
10281 if test "$no_create" != yes; then
10283 ac_config_status_args=
10284 test "$silent" = yes &&
10285 ac_config_status_args="$ac_config_status_args --quiet"
10287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10290 # would make configure fail if this is the last instruction.
10291 $ac_cs_success || as_fn_exit 1
10293 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10295 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}