2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.1.0.x.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='psensor'
582 PACKAGE_TARNAME='psensor'
583 PACKAGE_VERSION='1.1.0.x'
584 PACKAGE_STRING='psensor 1.1.0.x'
585 PACKAGE_BUGREPORT='jeanfi@gmail.com'
586 PACKAGE_URL='http://wpitchoune.net/psensor'
588 ac_unique_file="src/ui.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
626 ac_subst_vars='am__EXEEXT_FALSE
703 GSETTINGS_DISABLE_SCHEMAS_COMPILE
763 INSTALL_STRIP_PROGRAM
805 program_transform_name
818 enable_option_checking
820 enable_dependency_tracking
828 enable_schemas_compile
832 ac_precious_vars='build_alias
871 # Initialize some variables set by options.
873 ac_init_version=false
874 ac_unrecognized_opts=
876 # The variables have the same names as the options, with
877 # dashes changed to underlines.
885 program_transform_name=s,x,x,
893 # Installation directory options.
894 # These are left unexpanded so users can "make install exec_prefix=/foo"
895 # and all the variables that are supposed to be based on exec_prefix
896 # by default will actually change.
897 # Use braces instead of parens because sh, perl, etc. also accept them.
898 # (The list follows the same order as the GNU Coding Standards.)
899 bindir='${exec_prefix}/bin'
900 sbindir='${exec_prefix}/sbin'
901 libexecdir='${exec_prefix}/libexec'
902 datarootdir='${prefix}/share'
903 datadir='${datarootdir}'
904 sysconfdir='${prefix}/etc'
905 sharedstatedir='${prefix}/com'
906 localstatedir='${prefix}/var'
907 includedir='${prefix}/include'
908 oldincludedir='/usr/include'
909 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
910 infodir='${datarootdir}/info'
915 libdir='${exec_prefix}/lib'
916 localedir='${datarootdir}/locale'
917 mandir='${datarootdir}/man'
923 # If the previous option needs an argument, assign it.
924 if test -n "$ac_prev"; then
925 eval $ac_prev=\$ac_option
931 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
936 # Accept the important Cygnus configure options, so we can diagnose typos.
938 case $ac_dashdash$ac_option in
942 -bindir | --bindir | --bindi | --bind | --bin | --bi)
944 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
947 -build | --build | --buil | --bui | --bu)
948 ac_prev=build_alias ;;
949 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
950 build_alias=$ac_optarg ;;
952 -cache-file | --cache-file | --cache-fil | --cache-fi \
953 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
954 ac_prev=cache_file ;;
955 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
956 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
957 cache_file=$ac_optarg ;;
960 cache_file=config.cache ;;
962 -datadir | --datadir | --datadi | --datad)
964 -datadir=* | --datadir=* | --datadi=* | --datad=*)
965 datadir=$ac_optarg ;;
967 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
968 | --dataroo | --dataro | --datar)
969 ac_prev=datarootdir ;;
970 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
971 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
972 datarootdir=$ac_optarg ;;
974 -disable-* | --disable-*)
975 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978 as_fn_error $? "invalid feature name: $ac_useropt"
979 ac_useropt_orig=$ac_useropt
980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
986 ac_unrecognized_sep=', ';;
988 eval enable_$ac_useropt=no ;;
990 -docdir | --docdir | --docdi | --doc | --do)
992 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
995 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
997 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1000 -enable-* | --enable-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004 as_fn_error $? "invalid feature name: $ac_useropt"
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_$ac_useropt"
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1014 eval enable_$ac_useropt=\$ac_optarg ;;
1016 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1017 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1018 | --exec | --exe | --ex)
1019 ac_prev=exec_prefix ;;
1020 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1021 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1022 | --exec=* | --exe=* | --ex=*)
1023 exec_prefix=$ac_optarg ;;
1025 -gas | --gas | --ga | --g)
1026 # Obsolete; use --with-gas.
1029 -help | --help | --hel | --he | -h)
1030 ac_init_help=long ;;
1031 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1032 ac_init_help=recursive ;;
1033 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1034 ac_init_help=short ;;
1036 -host | --host | --hos | --ho)
1037 ac_prev=host_alias ;;
1038 -host=* | --host=* | --hos=* | --ho=*)
1039 host_alias=$ac_optarg ;;
1041 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1043 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1045 htmldir=$ac_optarg ;;
1047 -includedir | --includedir | --includedi | --included | --include \
1048 | --includ | --inclu | --incl | --inc)
1049 ac_prev=includedir ;;
1050 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1051 | --includ=* | --inclu=* | --incl=* | --inc=*)
1052 includedir=$ac_optarg ;;
1054 -infodir | --infodir | --infodi | --infod | --info | --inf)
1056 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1057 infodir=$ac_optarg ;;
1059 -libdir | --libdir | --libdi | --libd)
1061 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1062 libdir=$ac_optarg ;;
1064 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1065 | --libexe | --libex | --libe)
1066 ac_prev=libexecdir ;;
1067 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1068 | --libexe=* | --libex=* | --libe=*)
1069 libexecdir=$ac_optarg ;;
1071 -localedir | --localedir | --localedi | --localed | --locale)
1072 ac_prev=localedir ;;
1073 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1074 localedir=$ac_optarg ;;
1076 -localstatedir | --localstatedir | --localstatedi | --localstated \
1077 | --localstate | --localstat | --localsta | --localst | --locals)
1078 ac_prev=localstatedir ;;
1079 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1080 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1081 localstatedir=$ac_optarg ;;
1083 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1085 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1086 mandir=$ac_optarg ;;
1088 -nfp | --nfp | --nf)
1089 # Obsolete; use --without-fp.
1092 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1093 | --no-cr | --no-c | -n)
1096 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1097 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1100 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1101 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1102 | --oldin | --oldi | --old | --ol | --o)
1103 ac_prev=oldincludedir ;;
1104 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1105 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1106 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1107 oldincludedir=$ac_optarg ;;
1109 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1111 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1112 prefix=$ac_optarg ;;
1114 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1115 | --program-pre | --program-pr | --program-p)
1116 ac_prev=program_prefix ;;
1117 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1118 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1119 program_prefix=$ac_optarg ;;
1121 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1122 | --program-suf | --program-su | --program-s)
1123 ac_prev=program_suffix ;;
1124 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1125 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1126 program_suffix=$ac_optarg ;;
1128 -program-transform-name | --program-transform-name \
1129 | --program-transform-nam | --program-transform-na \
1130 | --program-transform-n | --program-transform- \
1131 | --program-transform | --program-transfor \
1132 | --program-transfo | --program-transf \
1133 | --program-trans | --program-tran \
1134 | --progr-tra | --program-tr | --program-t)
1135 ac_prev=program_transform_name ;;
1136 -program-transform-name=* | --program-transform-name=* \
1137 | --program-transform-nam=* | --program-transform-na=* \
1138 | --program-transform-n=* | --program-transform-=* \
1139 | --program-transform=* | --program-transfor=* \
1140 | --program-transfo=* | --program-transf=* \
1141 | --program-trans=* | --program-tran=* \
1142 | --progr-tra=* | --program-tr=* | --program-t=*)
1143 program_transform_name=$ac_optarg ;;
1145 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1147 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1148 pdfdir=$ac_optarg ;;
1150 -psdir | --psdir | --psdi | --psd | --ps)
1152 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1156 | -silent | --silent | --silen | --sile | --sil)
1159 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1161 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1163 sbindir=$ac_optarg ;;
1165 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1166 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1167 | --sharedst | --shareds | --shared | --share | --shar \
1169 ac_prev=sharedstatedir ;;
1170 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1171 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1172 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1174 sharedstatedir=$ac_optarg ;;
1176 -site | --site | --sit)
1178 -site=* | --site=* | --sit=*)
1181 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1183 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1184 srcdir=$ac_optarg ;;
1186 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1187 | --syscon | --sysco | --sysc | --sys | --sy)
1188 ac_prev=sysconfdir ;;
1189 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1190 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1191 sysconfdir=$ac_optarg ;;
1193 -target | --target | --targe | --targ | --tar | --ta | --t)
1194 ac_prev=target_alias ;;
1195 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1196 target_alias=$ac_optarg ;;
1198 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1201 -version | --version | --versio | --versi | --vers | -V)
1202 ac_init_version=: ;;
1205 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208 as_fn_error $? "invalid package name: $ac_useropt"
1209 ac_useropt_orig=$ac_useropt
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1216 ac_unrecognized_sep=', ';;
1218 eval with_$ac_useropt=\$ac_optarg ;;
1220 -without-* | --without-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error $? "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1234 eval with_$ac_useropt=no ;;
1237 # Obsolete; use --with-x.
1240 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1241 | --x-incl | --x-inc | --x-in | --x-i)
1242 ac_prev=x_includes ;;
1243 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1244 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1245 x_includes=$ac_optarg ;;
1247 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1248 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1249 ac_prev=x_libraries ;;
1250 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1251 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1252 x_libraries=$ac_optarg ;;
1254 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1255 Try \`$0 --help' for more information"
1259 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1260 # Reject names that are not valid shell variable names.
1261 case $ac_envvar in #(
1262 '' | [0-9]* | *[!_$as_cr_alnum]* )
1263 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1265 eval $ac_envvar=\$ac_optarg
1266 export $ac_envvar ;;
1269 # FIXME: should be removed in autoconf 3.0.
1270 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1272 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1279 if test -n "$ac_prev"; then
1280 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1281 as_fn_error $? "missing argument to $ac_option"
1284 if test -n "$ac_unrecognized_opts"; then
1285 case $enable_option_checking in
1287 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1288 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1292 # Check all directory arguments for consistency.
1293 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1294 datadir sysconfdir sharedstatedir localstatedir includedir \
1295 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1296 libdir localedir mandir
1298 eval ac_val=\$$ac_var
1299 # Remove trailing slashes.
1302 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1303 eval $ac_var=\$ac_val;;
1305 # Be sure to have absolute directory names.
1307 [\\/$]* | ?:[\\/]* ) continue;;
1308 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1310 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1313 # There might be people who depend on the old broken behavior: `$host'
1314 # used to hold the argument of --host etc.
1315 # FIXME: To remove some day.
1318 target=$target_alias
1320 # FIXME: To remove some day.
1321 if test "x$host_alias" != x; then
1322 if test "x$build_alias" = x; then
1323 cross_compiling=maybe
1324 elif test "x$build_alias" != "x$host_alias"; then
1330 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1332 test "$silent" = yes && exec 6>/dev/null
1335 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1336 ac_ls_di=`ls -di .` &&
1337 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1338 as_fn_error $? "working directory cannot be determined"
1339 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1340 as_fn_error $? "pwd does not report name of working directory"
1343 # Find the source files, if location was not specified.
1344 if test -z "$srcdir"; then
1345 ac_srcdir_defaulted=yes
1346 # Try the directory containing this script, then the parent directory.
1347 ac_confdir=`$as_dirname -- "$as_myself" ||
1348 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1349 X"$as_myself" : 'X\(//\)[^/]' \| \
1350 X"$as_myself" : 'X\(//\)$' \| \
1351 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1352 $as_echo X"$as_myself" |
1353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1375 ac_srcdir_defaulted=no
1377 if test ! -r "$srcdir/$ac_unique_file"; then
1378 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1379 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1381 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1383 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1385 # When building in place, set srcdir=.
1386 if test "$ac_abs_confdir" = "$ac_pwd"; then
1389 # Remove unnecessary trailing slashes from srcdir.
1390 # Double slashes in file names in object file debugging info
1391 # mess up M-x gdb in Emacs.
1393 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1395 for ac_var in $ac_precious_vars; do
1396 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1397 eval ac_env_${ac_var}_value=\$${ac_var}
1398 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1399 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1403 # Report the --help message.
1405 if test "$ac_init_help" = "long"; then
1406 # Omit some internal or obsolete options to make the list less imposing.
1407 # This message is too long to be a string in the A/UX 3.1 sh.
1409 \`configure' configures psensor 1.1.0.x to adapt to many kinds of systems.
1411 Usage: $0 [OPTION]... [VAR=VALUE]...
1413 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1414 VAR=VALUE. See below for descriptions of some of the useful variables.
1416 Defaults for the options are specified in brackets.
1419 -h, --help display this help and exit
1420 --help=short display options specific to this package
1421 --help=recursive display the short help of all the included packages
1422 -V, --version display version information and exit
1423 -q, --quiet, --silent do not print \`checking ...' messages
1424 --cache-file=FILE cache test results in FILE [disabled]
1425 -C, --config-cache alias for \`--cache-file=config.cache'
1426 -n, --no-create do not create output files
1427 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1429 Installation directories:
1430 --prefix=PREFIX install architecture-independent files in PREFIX
1431 [$ac_default_prefix]
1432 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1435 By default, \`make install' will install all the files in
1436 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1437 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1438 for instance \`--prefix=\$HOME'.
1440 For better control, use the options below.
1442 Fine tuning of the installation directories:
1443 --bindir=DIR user executables [EPREFIX/bin]
1444 --sbindir=DIR system admin executables [EPREFIX/sbin]
1445 --libexecdir=DIR program executables [EPREFIX/libexec]
1446 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1447 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1448 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1449 --libdir=DIR object code libraries [EPREFIX/lib]
1450 --includedir=DIR C header files [PREFIX/include]
1451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1454 --infodir=DIR info documentation [DATAROOTDIR/info]
1455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1456 --mandir=DIR man documentation [DATAROOTDIR/man]
1457 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1458 --htmldir=DIR html documentation [DOCDIR]
1459 --dvidir=DIR dvi documentation [DOCDIR]
1460 --pdfdir=DIR pdf documentation [DOCDIR]
1461 --psdir=DIR ps documentation [DOCDIR]
1467 --program-prefix=PREFIX prepend PREFIX to installed program names
1468 --program-suffix=SUFFIX append SUFFIX to installed program names
1469 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1472 --x-includes=DIR X include files are in DIR
1473 --x-libraries=DIR X library files are in DIR
1476 --build=BUILD configure for building on BUILD [guessed]
1477 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1481 if test -n "$ac_init_help"; then
1482 case $ac_init_help in
1483 short | recursive ) echo "Configuration of psensor 1.1.0.x:";;
1488 --disable-option-checking ignore unrecognized --enable/--with options
1489 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1490 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1491 --enable-silent-rules less verbose build output (undo: "make V=1")
1492 --disable-silent-rules verbose build output (undo: "make V=0")
1493 --enable-dependency-tracking
1494 do not reject slow dependency extractors
1495 --disable-dependency-tracking
1496 speeds up one-time build
1497 --disable-largefile omit support for large files
1498 --disable-nls do not use Native Language Support
1499 --disable-rpath do not hardcode runtime library paths
1500 --disable-schemas-compile
1501 Disable regeneration of gschemas.compiled on install
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --with-x use the X Window System
1507 --with-gnu-ld assume the C compiler uses GNU ld default=no
1508 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1509 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1510 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1511 --without-libintl-prefix don't search for libintl in includedir and libdir
1512 --with-libatiadl=DIR use libatiadlxx in DIR
1513 --with-gtop=yes|no use gtop
1515 Some influential environment variables:
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1519 nonstandard directory <lib dir>
1520 LIBS libraries to pass to the linker, e.g. -l<library>
1521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 you have headers in a nonstandard directory <include dir>
1523 XMKMF Path to xmkmf, Makefile generator for X Window System
1525 PKG_CONFIG path to pkg-config utility
1527 directories to add to pkg-config's search path
1529 path overriding pkg-config's built-in search path
1530 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1531 X11_LIBS linker flags for X11, overriding pkg-config
1532 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1533 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1534 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1535 GTK_LIBS linker flags for GTK, overriding pkg-config
1537 C compiler flags for LIBUDISKS2, overriding pkg-config
1539 linker flags for LIBUDISKS2, overriding pkg-config
1541 C compiler flags for ATASMART, overriding pkg-config
1543 linker flags for ATASMART, overriding pkg-config
1545 C compiler flags for LIBNOTIFY, overriding pkg-config
1547 linker flags for LIBNOTIFY, overriding pkg-config
1549 C compiler flags for APPINDICATOR, overriding pkg-config
1551 linker flags for APPINDICATOR, overriding pkg-config
1552 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1553 CURL_LIBS linker flags for CURL, overriding pkg-config
1554 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1555 JSON_LIBS linker flags for JSON, overriding pkg-config
1557 C compiler flags for UNITY, overriding pkg-config
1558 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1559 LIBMICROHTTPD_CFLAGS
1560 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1562 linker flags for LIBMICROHTTPD, overriding pkg-config
1563 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1564 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1566 Use these variables to override the choices made by `configure' or to help
1567 it to find libraries and programs with nonstandard names/locations.
1569 Report bugs to <jeanfi@gmail.com>.
1570 psensor home page: <http://wpitchoune.net/psensor>.
1575 if test "$ac_init_help" = "recursive"; then
1576 # If there are subdirs, report their specific --help.
1577 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1578 test -d "$ac_dir" ||
1579 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1587 # A ".." for each directory in $ac_dir_suffix.
1588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1589 case $ac_top_builddir_sub in
1590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1594 ac_abs_top_builddir=$ac_pwd
1595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1596 # for backward compatibility:
1597 ac_top_builddir=$ac_top_build_prefix
1600 .) # We are building in place.
1602 ac_top_srcdir=$ac_top_builddir_sub
1603 ac_abs_top_srcdir=$ac_pwd ;;
1604 [\\/]* | ?:[\\/]* ) # Absolute name.
1605 ac_srcdir=$srcdir$ac_dir_suffix;
1606 ac_top_srcdir=$srcdir
1607 ac_abs_top_srcdir=$srcdir ;;
1609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1610 ac_top_srcdir=$ac_top_build_prefix$srcdir
1611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1615 cd "$ac_dir" || { ac_status=$?; continue; }
1616 # Check for guested configure.
1617 if test -f "$ac_srcdir/configure.gnu"; then
1619 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1620 elif test -f "$ac_srcdir/configure"; then
1622 $SHELL "$ac_srcdir/configure" --help=recursive
1624 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1626 cd "$ac_pwd" || { ac_status=$?; break; }
1630 test -n "$ac_init_help" && exit $ac_status
1631 if $ac_init_version; then
1633 psensor configure 1.1.0.x
1634 generated by GNU Autoconf 2.69
1636 Copyright (C) 2012 Free Software Foundation, Inc.
1637 This configure script is free software; the Free Software Foundation
1638 gives unlimited permission to copy, distribute and modify it.
1643 ## ------------------------ ##
1644 ## Autoconf initialization. ##
1645 ## ------------------------ ##
1647 # ac_fn_c_try_compile LINENO
1648 # --------------------------
1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_c_try_compile ()
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 rm -f conftest.$ac_objext
1654 if { { ac_try="$ac_compile"
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_compile") 2>conftest.err
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_c_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest.$ac_objext; then :
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1683 } # ac_fn_c_try_compile
1685 # ac_fn_c_try_cpp LINENO
1686 # ----------------------
1687 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_cpp conftest.$ac_ext"
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } > conftest.i && {
1707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status $ac_retval
1722 # ac_fn_c_try_link LINENO
1723 # -----------------------
1724 # Try to link conftest.$ac_ext, and return whether this succeeded.
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext conftest$ac_exeext
1729 if { { ac_try="$ac_link"
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_link") 2>conftest.err
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest$ac_exeext && {
1748 test "$cross_compiling" = yes ||
1749 test -x conftest$ac_exeext
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1758 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1759 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1760 # interfere with the next link command; also delete a directory that is
1761 # left behind by Apple's compiler. We do this before executing the actions.
1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status $ac_retval
1766 } # ac_fn_c_try_link
1768 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1771 # the include files in INCLUDES and setting the cache variable VAR
1773 ac_fn_c_check_header_mongrel ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 if eval \${$3+:} false; then :
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1786 # Is the header compilable?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1788 $as_echo_n "checking $2 usability... " >&6; }
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile "$LINENO"; then :
1795 ac_header_compiler=yes
1797 ac_header_compiler=no
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1801 $as_echo "$ac_header_compiler" >&6; }
1803 # Is the header present?
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1805 $as_echo_n "checking $2 presence... " >&6; }
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1810 if ac_fn_c_try_cpp "$LINENO"; then :
1811 ac_header_preproc=yes
1813 ac_header_preproc=no
1815 rm -f conftest.err conftest.i conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1817 $as_echo "$ac_header_preproc" >&6; }
1819 # So? What about this header?
1820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1823 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1829 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1831 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1833 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1835 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 ( $as_echo "## ------------------------------- ##
1839 ## Report this to jeanfi@gmail.com ##
1840 ## ------------------------------- ##"
1841 ) | sed "s/^/$as_me: WARNING: /" >&2
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \${$3+:} false; then :
1847 $as_echo_n "(cached) " >&6
1849 eval "$3=\$ac_header_compiler"
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_c_check_header_mongrel
1859 # ac_fn_c_try_run LINENO
1860 # ----------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1862 # that executables *can* be run.
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 if { { ac_try="$ac_link"
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1877 { { case "(($ac_try" in
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_try") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; }; }; then :
1889 $as_echo "$as_me: program exited with status $ac_status" >&5
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1893 ac_retval=$ac_status
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status $ac_retval
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \${$3+:} false; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile "$LINENO"; then :
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_header_compile
1931 cat >config.log <<_ACEOF
1932 This file contains any messages produced by compilers while
1933 running configure, to aid debugging if configure makes a mistake.
1935 It was created by psensor $as_me 1.1.0.x, which was
1936 generated by GNU Autoconf 2.69. Invocation command line was
1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1960 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 $as_echo "PATH: $as_dir"
1988 # Keep a trace of the command line.
1989 # Strip out --no-create and --no-recursion so they do not pile up.
1990 # Strip out --silent because we don't want to record it for future runs.
1991 # Also quote any args containing shell meta-characters.
1992 # Make two passes to allow for proper duplicate-argument suppression.
1996 ac_must_keep_next=false
2002 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004 | -silent | --silent | --silen | --sile | --sil)
2007 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2012 as_fn_append ac_configure_args1 " '$ac_arg'"
2013 if test $ac_must_keep_next = true; then
2014 ac_must_keep_next=false # Got value, back to normal.
2017 *=* | --config-cache | -C | -disable-* | --disable-* \
2018 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2019 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2020 | -with-* | --with-* | -without-* | --without-* | --x)
2021 case "$ac_configure_args0 " in
2022 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2025 -* ) ac_must_keep_next=true ;;
2028 as_fn_append ac_configure_args " '$ac_arg'"
2033 { ac_configure_args0=; unset ac_configure_args0;}
2034 { ac_configure_args1=; unset ac_configure_args1;}
2036 # When interrupted or exit'd, cleanup temporary files, and complete
2037 # config.log. We remove comments because anyway the quotes in there
2038 # would cause problems or look ugly.
2039 # WARNING: Use '\'' to represent an apostrophe within the trap.
2040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2041 trap 'exit_status=$?
2042 # Save into config.log some information that might help in debugging.
2046 $as_echo "## ---------------- ##
2047 ## Cache variables. ##
2048 ## ---------------- ##"
2050 # The following way of writing the cache mishandles newlines in values,
2052 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2053 eval ac_val=\$$ac_var
2057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2061 _ | IFS | as_nl) ;; #(
2062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2063 *) { eval $ac_var=; unset $ac_var;} ;;
2068 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2069 *${as_nl}ac_space=\ *)
2071 "s/'\''/'\''\\\\'\'''\''/g;
2072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2082 $as_echo "## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##"
2086 for ac_var in $ac_subst_vars
2088 eval ac_val=\$$ac_var
2090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -n "$ac_subst_files"; then
2097 $as_echo "## ------------------- ##
2098 ## File substitutions. ##
2099 ## ------------------- ##"
2101 for ac_var in $ac_subst_files
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -s confdefs.h; then
2113 $as_echo "## ----------- ##
2120 test "$ac_signal" != 0 &&
2121 $as_echo "$as_me: caught signal $ac_signal"
2122 $as_echo "$as_me: exit $exit_status"
2124 rm -f core *.core core.conftest.* &&
2125 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2128 for ac_signal in 1 2 13 15; do
2129 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2134 rm -f -r conftest* confdefs.h
2136 $as_echo "/* confdefs.h */" > confdefs.h
2138 # Predefined preprocessor variables.
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_NAME "$PACKAGE_NAME"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_STRING "$PACKAGE_STRING"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_URL "$PACKAGE_URL"
2165 # Let the site file select an alternate cache file if it wants to.
2166 # Prefer an explicitly selected file to automatically selected ones.
2169 if test -n "$CONFIG_SITE"; then
2170 # We do not want a PATH search for config.site.
2171 case $CONFIG_SITE in #((
2172 -*) ac_site_file1=./$CONFIG_SITE;;
2173 */*) ac_site_file1=$CONFIG_SITE;;
2174 *) ac_site_file1=./$CONFIG_SITE;;
2176 elif test "x$prefix" != xNONE; then
2177 ac_site_file1=$prefix/share/config.site
2178 ac_site_file2=$prefix/etc/config.site
2180 ac_site_file1=$ac_default_prefix/share/config.site
2181 ac_site_file2=$ac_default_prefix/etc/config.site
2183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2185 test "x$ac_site_file" = xNONE && continue
2186 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189 sed 's/^/| /' "$ac_site_file" >&5
2191 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 as_fn_error $? "failed to load site script $ac_site_file
2194 See \`config.log' for more details" "$LINENO" 5; }
2198 if test -r "$cache_file"; then
2199 # Some versions of bash will fail to source /dev/null (special files
2200 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2203 $as_echo "$as_me: loading cache $cache_file" >&6;}
2205 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2206 *) . "./$cache_file";;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2211 $as_echo "$as_me: creating cache $cache_file" >&6;}
2215 gt_needs="$gt_needs "
2216 # Check that the precious variables saved in the cache have kept the same
2218 ac_cache_corrupted=false
2219 for ac_var in $ac_precious_vars; do
2220 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2221 eval ac_new_set=\$ac_env_${ac_var}_set
2222 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2223 eval ac_new_val=\$ac_env_${ac_var}_value
2224 case $ac_old_set,$ac_new_set in
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228 ac_cache_corrupted=: ;;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2232 ac_cache_corrupted=: ;;
2235 if test "x$ac_old_val" != "x$ac_new_val"; then
2236 # differences in whitespace do not lead to failure.
2237 ac_old_val_w=`echo x $ac_old_val`
2238 ac_new_val_w=`echo x $ac_new_val`
2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2242 ac_cache_corrupted=:
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246 eval $ac_var=\$ac_old_val
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2254 # Pass precious variables to config.status.
2255 if test "$ac_new_set" = set; then
2257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 *) ac_arg=$ac_var=$ac_new_val ;;
2260 case " $ac_configure_args " in
2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2262 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2266 if $ac_cache_corrupted; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285 am__api_version='1.14'
2288 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2289 if test -f "$ac_dir/install-sh"; then
2291 ac_install_sh="$ac_aux_dir/install-sh -c"
2293 elif test -f "$ac_dir/install.sh"; then
2295 ac_install_sh="$ac_aux_dir/install.sh -c"
2297 elif test -f "$ac_dir/shtool"; then
2299 ac_install_sh="$ac_aux_dir/shtool install -c"
2303 if test -z "$ac_aux_dir"; then
2304 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2307 # These three variables are undocumented and unsupported,
2308 # and are intended to be withdrawn in a future Autoconf release.
2309 # They can cause serious problems if a builder's source tree is in a directory
2310 # whose full name contains unusual characters.
2311 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2312 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2313 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2316 # Find a good install program. We prefer a C program (faster),
2317 # so one script is as good as another. But avoid the broken or
2318 # incompatible versions:
2319 # SysV /etc/install, /usr/sbin/install
2320 # SunOS /usr/etc/install
2321 # IRIX /sbin/install
2323 # AmigaOS /C/install, which installs bootblocks on floppy discs
2324 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2325 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2326 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2327 # OS/2's system install, which has a completely different semantic
2328 # ./install, which can be erroneously created by make from ./install.sh.
2329 # Reject install programs that cannot install multiple files.
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2331 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2332 if test -z "$INSTALL"; then
2333 if ${ac_cv_path_install+:} false; then :
2334 $as_echo_n "(cached) " >&6
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir=.
2341 # Account for people who put trailing slashes in PATH elements.
2342 case $as_dir/ in #((
2343 ./ | .// | /[cC]/* | \
2344 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2345 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2348 # OSF1 and SCO ODT 3.0 have their own names for install.
2349 # Don't use installbsd from OSF since it installs stuff as root
2351 for ac_prog in ginstall scoinst install; do
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2354 if test $ac_prog = install &&
2355 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2356 # AIX install. It has an incompatible calling convention.
2358 elif test $ac_prog = install &&
2359 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2360 # program-specific install script used by HP pwplus--don't use.
2363 rm -rf conftest.one conftest.two conftest.dir
2364 echo one > conftest.one
2365 echo two > conftest.two
2367 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2368 test -s conftest.one && test -s conftest.two &&
2369 test -s conftest.dir/conftest.one &&
2370 test -s conftest.dir/conftest.two
2372 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2385 rm -rf conftest.one conftest.two conftest.dir
2388 if test "${ac_cv_path_install+set}" = set; then
2389 INSTALL=$ac_cv_path_install
2391 # As a last resort, use the slow shell script. Don't cache a
2392 # value for INSTALL within a source directory, because that will
2393 # break other packages using the cache if that directory is
2394 # removed, or if the value is a relative name.
2395 INSTALL=$ac_install_sh
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2399 $as_echo "$INSTALL" >&6; }
2401 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2402 # It thinks the first close brace ends the variable substitution.
2403 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2405 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2407 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2410 $as_echo_n "checking whether build environment is sane... " >&6; }
2411 # Reject unsafe characters in $srcdir or the absolute working directory
2412 # name. Accept space and tab only in the latter.
2416 *[\\\"\#\$\&\'\`$am_lf]*)
2417 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2420 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2421 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2424 # Do 'set' in a subshell so we don't clobber the current shell's
2425 # arguments. Must try -L first in case configure is actually a
2426 # symlink; some systems play weird games with the mod time of symlinks
2427 # (eg FreeBSD returns the mod time of the symlink's containing
2431 for am_try in 1 2; do
2432 echo "timestamp, slept: $am_has_slept" > conftest.file
2433 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2434 if test "$*" = "X"; then
2436 set X `ls -t "$srcdir/configure" conftest.file`
2438 if test "$*" != "X $srcdir/configure conftest.file" \
2439 && test "$*" != "X conftest.file $srcdir/configure"; then
2441 # If neither matched, then we have a broken ls. This can happen
2442 # if, for instance, CONFIG_SHELL is bash and it inherits a
2443 # broken ls alias from the environment. This has actually
2444 # happened. Such a system could not be considered "sane".
2445 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2446 alias in your environment" "$LINENO" 5
2448 if test "$2" = conftest.file || test $am_try -eq 2; then
2455 test "$2" = conftest.file
2461 as_fn_error $? "newly created file is older than distributed files!
2462 Check your system clock" "$LINENO" 5
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2465 $as_echo "yes" >&6; }
2466 # If we didn't sleep, we still need to ensure time stamps of config.status and
2467 # generated files are strictly newer.
2469 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2476 test "$program_prefix" != NONE &&
2477 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2478 # Use a double $ so make ignores it.
2479 test "$program_suffix" != NONE &&
2480 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2481 # Double any \ or $.
2482 # By default was `s,x,x', remove it if useless.
2483 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2484 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2486 # expand $ac_aux_dir to an absolute path
2487 am_aux_dir=`cd $ac_aux_dir && pwd`
2489 if test x"${MISSING+set}" != xset; then
2492 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2494 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2497 # Use eval to expand $SHELL
2498 if eval "$MISSING --is-lightweight"; then
2499 am_missing_run="$MISSING "
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2503 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2506 if test x"${install_sh}" != xset; then
2509 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2511 install_sh="\${SHELL} $am_aux_dir/install-sh"
2515 # Installed binaries are usually stripped using 'strip' when the user
2516 # run "make install-strip". However 'strip' might not be the right
2517 # tool to use in cross-compilation environments, therefore Automake
2518 # will honor the 'STRIP' environment variable to overrule this program.
2519 if test "$cross_compiling" != no; then
2520 if test -n "$ac_tool_prefix"; then
2521 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2522 set dummy ${ac_tool_prefix}strip; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if ${ac_cv_prog_STRIP+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 if test -n "$STRIP"; then
2529 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 STRIP=$ac_cv_prog_STRIP
2549 if test -n "$STRIP"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2551 $as_echo "$STRIP" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2559 if test -z "$ac_cv_prog_STRIP"; then
2561 # Extract the first word of "strip", so it can be a program name with args.
2562 set dummy strip; ac_word=$2
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$ac_ct_STRIP"; then
2569 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir=.
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2578 ac_cv_prog_ac_ct_STRIP="strip"
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2589 if test -n "$ac_ct_STRIP"; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2591 $as_echo "$ac_ct_STRIP" >&6; }
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 $as_echo "no" >&6; }
2597 if test "x$ac_ct_STRIP" = x; then
2600 case $cross_compiling:$ac_tool_warned in
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604 ac_tool_warned=yes ;;
2609 STRIP="$ac_cv_prog_STRIP"
2613 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2616 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2617 if test -z "$MKDIR_P"; then
2618 if ${ac_cv_path_mkdir+:} false; then :
2619 $as_echo_n "(cached) " >&6
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2625 test -z "$as_dir" && as_dir=.
2626 for ac_prog in mkdir gmkdir; do
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2629 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2630 'mkdir (GNU coreutils) '* | \
2631 'mkdir (coreutils) '* | \
2632 'mkdir (fileutils) '4.1*)
2633 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2643 test -d ./--version && rmdir ./--version
2644 if test "${ac_cv_path_mkdir+set}" = set; then
2645 MKDIR_P="$ac_cv_path_mkdir -p"
2647 # As a last resort, use the slow shell script. Don't cache a
2648 # value for MKDIR_P within a source directory, because that will
2649 # break other packages using the cache if that directory is
2650 # removed, or if the value is a relative name.
2651 MKDIR_P="$ac_install_sh -d"
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2655 $as_echo "$MKDIR_P" >&6; }
2657 for ac_prog in gawk mawk nawk awk
2659 # Extract the first word of "$ac_prog", so it can be a program name with args.
2660 set dummy $ac_prog; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_AWK+:} false; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$AWK"; then
2667 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir=.
2674 for ac_exec_ext in '' $ac_executable_extensions; do
2675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_AWK="$ac_prog"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$AWK"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689 $as_echo "$AWK" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2696 test -n "$AWK" && break
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2702 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 cat >conftest.make <<\_ACEOF
2709 @echo '@@@%%%=$(MAKE)=@@@%%%'
2711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2714 eval ac_cv_prog_make_${ac_make}_set=yes;;
2716 eval ac_cv_prog_make_${ac_make}_set=no;;
2720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 $as_echo "yes" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727 SET_MAKE="MAKE=${MAKE-make}"
2730 rm -rf .tst 2>/dev/null
2731 mkdir .tst 2>/dev/null
2732 if test -d .tst; then
2737 rmdir .tst 2>/dev/null
2739 # Check whether --enable-silent-rules was given.
2740 if test "${enable_silent_rules+set}" = set; then :
2741 enableval=$enable_silent_rules;
2744 case $enable_silent_rules in # (((
2745 yes) AM_DEFAULT_VERBOSITY=0;;
2746 no) AM_DEFAULT_VERBOSITY=1;;
2747 *) AM_DEFAULT_VERBOSITY=1;;
2749 am_make=${MAKE-make}
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2751 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2752 if ${am_cv_make_support_nested_variables+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 if $as_echo 'TRUE=$(BAR$(V))
2761 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2762 am_cv_make_support_nested_variables=yes
2764 am_cv_make_support_nested_variables=no
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2768 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2769 if test $am_cv_make_support_nested_variables = yes; then
2771 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2773 AM_V=$AM_DEFAULT_VERBOSITY
2774 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2778 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2779 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2780 # is not polluted with repeated "-I."
2781 am__isrc=' -I$(srcdir)'
2782 # test to see if srcdir already configured
2783 if test -f $srcdir/config.status; then
2784 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2788 # test whether we have cygpath
2789 if test -z "$CYGPATH_W"; then
2790 if (cygpath --version) >/dev/null 2>/dev/null; then
2791 CYGPATH_W='cygpath -w'
2798 # Define the identity of the package.
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE "$PACKAGE"
2808 cat >>confdefs.h <<_ACEOF
2809 #define VERSION "$VERSION"
2812 # Some tools Automake needs.
2814 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2817 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2820 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2823 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2826 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2828 # For better backward compatibility. To be removed once Automake 1.9.x
2829 # dies out for good. For more background, see:
2830 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2831 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2832 mkdir_p='$(MKDIR_P)'
2834 # We need awk for the "check" target. The system "awk" is bad on
2836 # Always define AMTAR for backward compatibility. Yes, it's still used
2837 # in the wild :-( We should find a proper way to deprecate it ...
2841 # We'll loop over all known methods to create a tar archive until one works.
2842 _am_tools='gnutar pax cpio none'
2844 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2851 # POSIX will say in a future version that running "rm -f" with no argument
2852 # is OK; and we want to be able to make that assumption in our Makefile
2853 # recipes. So use an aggressive probe to check that the usage we want is
2854 # actually supported "in the wild" to an acceptable degree.
2855 # See automake bug#10828.
2856 # To make any issue more visible, cause the running configure to be aborted
2857 # by default if the 'rm' program in use doesn't match our expectations; the
2858 # user can still override this though.
2859 if rm -f && rm -fr && rm -rf; then : OK; else
2863 Your 'rm' program seems unable to run without file operands specified
2864 on the command line, even when the '-f' option is present. This is contrary
2865 to the behaviour of most rm programs out there, and not conforming with
2866 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2868 Please tell bug-automake@gnu.org about your system, including the value
2869 of your $PATH and any error possibly output before this message. This
2870 can help us improve future automake versions.
2873 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2874 echo 'Configuration will proceed anyway, since you have set the' >&2
2875 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2879 Aborting the configuration process, to ensure you take notice of the issue.
2881 You can download and install GNU coreutils to get an 'rm' implementation
2882 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2884 If you want to complete the configuration process using your problematic
2885 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2886 to "yes", and re-run configure.
2889 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2894 ac_config_headers="$ac_config_headers config.h"
2900 # Checks for programs.
2902 ac_cpp='$CPP $CPPFLAGS'
2903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2906 if test -n "$ac_tool_prefix"; then
2907 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2908 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_CC+:} false; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$CC"; then
2915 ac_cv_prog_CC="$CC" # Let the user override the test.
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir=.
2922 for ac_exec_ext in '' $ac_executable_extensions; do
2923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2924 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$CC"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2937 $as_echo "$CC" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2945 if test -z "$ac_cv_prog_CC"; then
2947 # Extract the first word of "gcc", so it can be a program name with args.
2948 set dummy gcc; ac_word=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$ac_ct_CC"; then
2955 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_ac_ct_CC="gcc"
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2975 if test -n "$ac_ct_CC"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2977 $as_echo "$ac_ct_CC" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2983 if test "x$ac_ct_CC" = x; then
2986 case $cross_compiling:$ac_tool_warned in
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2990 ac_tool_warned=yes ;;
2998 if test -z "$CC"; then
2999 if test -n "$ac_tool_prefix"; then
3000 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3001 set dummy ${ac_tool_prefix}cc; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$CC"; then
3008 ac_cv_prog_CC="$CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_CC="${ac_tool_prefix}cc"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3030 $as_echo "$CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3039 if test -z "$CC"; then
3040 # Extract the first word of "cc", so it can be a program name with args.
3041 set dummy cc; ac_word=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_CC+:} false; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$CC"; then
3048 ac_cv_prog_CC="$CC" # Let the user override the test.
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3058 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3059 ac_prog_rejected=yes
3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 if test $ac_prog_rejected = yes; then
3071 # We found a bogon in the path, so make sure we never use it.
3072 set dummy $ac_cv_prog_CC
3074 if test $# != 0; then
3075 # We chose a different compiler from the bogus one.
3076 # However, it has the same basename, so the bogon will be chosen
3077 # first if we set CC to just the basename; use the full file name.
3079 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3095 if test -z "$CC"; then
3096 if test -n "$ac_tool_prefix"; then
3097 for ac_prog in cl.exe
3099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_CC+:} false; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$CC"; then
3107 ac_cv_prog_CC="$CC" # Let the user override the test.
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir=.
3114 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 if test -n "$CC"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3129 $as_echo "$CC" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3136 test -n "$CC" && break
3139 if test -z "$CC"; then
3141 for ac_prog in cl.exe
3143 # Extract the first word of "$ac_prog", so it can be a program name with args.
3144 set dummy $ac_prog; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$ac_ct_CC"; then
3151 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_ac_ct_CC="$ac_prog"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3171 if test -n "$ac_ct_CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3173 $as_echo "$ac_ct_CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$ac_ct_CC" && break
3183 if test "x$ac_ct_CC" = x; then
3186 case $cross_compiling:$ac_tool_warned in
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3199 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3201 as_fn_error $? "no acceptable C compiler found in \$PATH
3202 See \`config.log' for more details" "$LINENO" 5; }
3204 # Provide some information about the compiler.
3205 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3208 for ac_option in --version -v -V -qversion; do
3209 { { ac_try="$ac_compiler $ac_option >&5"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3218 if test -s conftest.err; then
3220 ... rest of stderr output deleted ...
3221 10q' conftest.err >conftest.er1
3222 cat conftest.er1 >&5
3224 rm -f conftest.er1 conftest.err
3225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3226 test $ac_status = 0; }
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 /* end confdefs.h. */
3240 ac_clean_files_save=$ac_clean_files
3241 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3242 # Try to create an executable without -o first, disregard a.out.
3243 # It will help us diagnose broken compilers, and finding out an intuition
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3246 $as_echo_n "checking whether the C compiler works... " >&6; }
3247 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3249 # The possible output files:
3250 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3253 for ac_file in $ac_files
3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3257 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3262 if { { ac_try="$ac_link_default"
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_link_default") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }; then :
3273 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3274 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3275 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3276 # so that the user can short-circuit this test for compilers unknown to
3278 for ac_file in $ac_files ''
3280 test -f "$ac_file" || continue
3282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3285 # We found the default executable, but exeext='' is most
3289 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3291 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3293 # We set ac_cv_exeext here because the later test for it is not
3294 # safe: cross compilers may not add the suffix if given an `-o'
3295 # argument, so we may need to know it at that point already.
3296 # Even if this section looks crufty: it has the advantage of
3303 test "$ac_cv_exeext" = no && ac_cv_exeext=
3308 if test -z "$ac_file"; then :
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3311 $as_echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error 77 "C compiler cannot create executables
3317 See \`config.log' for more details" "$LINENO" 5; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3320 $as_echo "yes" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3323 $as_echo_n "checking for C compiler default output file name... " >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3325 $as_echo "$ac_file" >&6; }
3326 ac_exeext=$ac_cv_exeext
3328 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3329 ac_clean_files=$ac_clean_files_save
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3331 $as_echo_n "checking for suffix of executables... " >&6; }
3332 if { { ac_try="$ac_link"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338 $as_echo "$ac_try_echo"; } >&5
3339 (eval "$ac_link") 2>&5
3341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342 test $ac_status = 0; }; then :
3343 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3344 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3345 # work properly (i.e., refer to `conftest.exe'), while it won't with
3347 for ac_file in conftest.exe conftest conftest.*; do
3348 test -f "$ac_file" || continue
3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3351 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3360 See \`config.log' for more details" "$LINENO" 5; }
3362 rm -f conftest conftest$ac_cv_exeext
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3364 $as_echo "$ac_cv_exeext" >&6; }
3366 rm -f conftest.$ac_ext
3367 EXEEXT=$ac_cv_exeext
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3375 FILE *f = fopen ("conftest.out", "w");
3376 return ferror (f) || fclose (f) != 0;
3382 ac_clean_files="$ac_clean_files conftest.out"
3383 # Check that the compiler produces executables we can run. If not, either
3384 # the compiler is broken, or we cross compile.
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3386 $as_echo_n "checking whether we are cross compiling... " >&6; }
3387 if test "$cross_compiling" != yes; then
3388 { { ac_try="$ac_link"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_link") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }
3399 if { ac_try='./conftest$ac_cv_exeext'
3400 { { case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_try") 2>&5
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }; }; then
3412 if test "$cross_compiling" = maybe; then
3415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error $? "cannot run C compiled programs.
3418 If you meant to cross compile, use \`--host'.
3419 See \`config.log' for more details" "$LINENO" 5; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3424 $as_echo "$cross_compiling" >&6; }
3426 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3427 ac_clean_files=$ac_clean_files_save
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3429 $as_echo_n "checking for suffix of object files... " >&6; }
3430 if ${ac_cv_objext+:} false; then :
3431 $as_echo_n "(cached) " >&6
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3444 rm -f conftest.o conftest.obj
3445 if { { ac_try="$ac_compile"
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_compile") 2>&5
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 for ac_file in conftest.o conftest.obj conftest.*; do
3457 test -f "$ac_file" || continue;
3459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3460 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $? "cannot compute suffix of object files: cannot compile
3471 See \`config.log' for more details" "$LINENO" 5; }
3473 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3476 $as_echo "$ac_cv_objext" >&6; }
3477 OBJEXT=$ac_cv_objext
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3481 if ${ac_cv_c_compiler_gnu+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3498 if ac_fn_c_try_compile "$LINENO"; then :
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3508 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3509 if test $ac_compiler_gnu = yes; then
3514 ac_test_CFLAGS=${CFLAGS+set}
3515 ac_save_CFLAGS=$CFLAGS
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3517 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3518 if ${ac_cv_prog_cc_g+:} false; then :
3519 $as_echo_n "(cached) " >&6
3521 ac_save_c_werror_flag=$ac_c_werror_flag
3522 ac_c_werror_flag=yes
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3551 if ac_fn_c_try_compile "$LINENO"; then :
3554 ac_c_werror_flag=$ac_save_c_werror_flag
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3567 if ac_fn_c_try_compile "$LINENO"; then :
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ac_c_werror_flag=$ac_save_c_werror_flag
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3578 $as_echo "$ac_cv_prog_cc_g" >&6; }
3579 if test "$ac_test_CFLAGS" = set; then
3580 CFLAGS=$ac_save_CFLAGS
3581 elif test $ac_cv_prog_cc_g = yes; then
3582 if test "$GCC" = yes; then
3588 if test "$GCC" = yes; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3596 if ${ac_cv_prog_cc_c89+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 ac_cv_prog_cc_c89=no
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3607 struct buf { int x; };
3608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3609 static char *e (p, i)
3615 static char *f (char * (*g) (char **, int), char **p, ...)
3620 s = g (p, va_arg (v,int));
3625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3626 function prototypes and stuff, but not '\xHH' hex character constants.
3627 These don't provoke an error unfortunately, instead are silently treated
3628 as 'x'. The following induces an error, until -std is added to get
3629 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3630 array size at least. It's necessary to write '\x00'==0 to get something
3631 that's true only with -std. */
3632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3635 inside strings and character constants. */
3637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3639 int test (int i, double x);
3640 struct s1 {int (*f) (int a);};
3641 struct s2 {int (*f) (double a);};
3642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3648 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3654 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3656 CC="$ac_save_CC $ac_arg"
3657 if ac_fn_c_try_compile "$LINENO"; then :
3658 ac_cv_prog_cc_c89=$ac_arg
3660 rm -f core conftest.err conftest.$ac_objext
3661 test "x$ac_cv_prog_cc_c89" != "xno" && break
3663 rm -f conftest.$ac_ext
3668 case "x$ac_cv_prog_cc_c89" in
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3671 $as_echo "none needed" >&6; } ;;
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3674 $as_echo "unsupported" >&6; } ;;
3676 CC="$CC $ac_cv_prog_cc_c89"
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3680 if test "x$ac_cv_prog_cc_c89" != xno; then :
3685 ac_cpp='$CPP $CPPFLAGS'
3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3696 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3697 if ${am_cv_prog_cc_c_o+:} false; then :
3698 $as_echo_n "(cached) " >&6
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3711 # Make sure it works both with $CC and with simple cc.
3712 # Following AC_PROG_CC_C_O, we do the test twice because some
3713 # compilers refuse to overwrite an existing .o file with -o,
3714 # though they will create one.
3715 am_cv_prog_cc_c_o=yes
3717 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3718 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } \
3722 && test -f conftest2.$ac_objext; then
3725 am_cv_prog_cc_c_o=no
3729 rm -f core conftest*
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3733 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3734 if test "$am_cv_prog_cc_c_o" != yes; then
3735 # Losing compiler, so override with the script.
3736 # FIXME: It is wrong to rewrite CC.
3737 # But if we don't then we get into trouble of one sort or another.
3738 # A longer-term fix would be to have automake use am__CC in this case,
3739 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3740 CC="$am_aux_dir/compile $CC"
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3748 DEPDIR="${am__leading_dot}deps"
3750 ac_config_commands="$ac_config_commands depfiles"
3753 am_make=${MAKE-make}
3754 cat > confinc << 'END'
3756 @echo this is the am__doit target
3759 # If we don't find an include directive, just comment out the code.
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3761 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3765 # First try GNU make style include.
3766 echo "include confinc" > confmf
3767 # Ignore all kinds of additional output from 'make'.
3768 case `$am_make -s -f confmf 2> /dev/null` in #(
3769 *the\ am__doit\ target*)
3775 # Now try BSD make style include.
3776 if test "$am__include" = "#"; then
3777 echo '.include "confinc"' > confmf
3778 case `$am_make -s -f confmf 2> /dev/null` in #(
3779 *the\ am__doit\ target*)
3780 am__include=.include
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3789 $as_echo "$_am_result" >&6; }
3790 rm -f confinc confmf
3792 # Check whether --enable-dependency-tracking was given.
3793 if test "${enable_dependency_tracking+set}" = set; then :
3794 enableval=$enable_dependency_tracking;
3797 if test "x$enable_dependency_tracking" != xno; then
3798 am_depcomp="$ac_aux_dir/depcomp"
3802 if test "x$enable_dependency_tracking" != xno; then
3812 depcc="$CC" am_compiler_list=
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3815 $as_echo_n "checking dependency style of $depcc... " >&6; }
3816 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3820 # We make a subdir and do the tests there. Otherwise we can end up
3821 # making bogus files that we don't know about and never remove. For
3822 # instance it was reported that on HP-UX the gcc test will end up
3823 # making a dummy file named 'D' -- because '-MD' means "put the output
3827 # Copy depcomp to subdir because otherwise we won't find it if we're
3828 # using a relative directory.
3829 cp "$am_depcomp" conftest.dir
3831 # We will build objects and dependencies in a subdirectory because
3832 # it helps to detect inapplicable dependency modes. For instance
3833 # both Tru64's cc and ICC support -MD to output dependencies as a
3834 # side effect of compilation, but ICC will put the dependencies in
3835 # the current directory while Tru64 will put them in the object
3839 am_cv_CC_dependencies_compiler_type=none
3840 if test "$am_compiler_list" = ""; then
3841 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3844 case " $depcc " in #(
3845 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3848 for depmode in $am_compiler_list; do
3849 # Setup a source with many dependencies, because some compilers
3850 # like to wrap large dependency lists on column 80 (with \), and
3851 # we should not choose a depcomp mode which is confused by this.
3853 # We need to recreate these files for each test, as the compiler may
3854 # overwrite some of them when testing with obscure command lines.
3855 # This happens at least with the AIX C compiler.
3857 for i in 1 2 3 4 5 6; do
3858 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3859 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3860 # Solaris 10 /bin/sh.
3861 echo '/* dummy */' > sub/conftst$i.h
3863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3865 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3866 # mode. It turns out that the SunPro C++ compiler does not properly
3867 # handle '-M -o', and we need to detect this. Also, some Intel
3868 # versions had trouble with output in subdirs.
3869 am__obj=sub/conftest.${OBJEXT-o}
3870 am__minus_obj="-o $am__obj"
3873 # This depmode causes a compiler race in universal mode.
3874 test "$am__universal" = false || continue
3877 # After this tag, mechanisms are not by side-effect, so they'll
3878 # only be used when explicitly requested.
3879 if test "x$enable_dependency_tracking" = xyes; then
3885 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3886 # This compiler won't grok '-c -o', but also, the minuso test has
3887 # not run yet. These depmodes are late enough in the game, and
3888 # so weak that their functioning should not be impacted.
3889 am__obj=conftest.${OBJEXT-o}
3894 if depmode=$depmode \
3895 source=sub/conftest.c object=$am__obj \
3896 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3897 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3898 >/dev/null 2>conftest.err &&
3899 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3900 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3901 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3902 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3903 # icc doesn't choke on unknown options, it will just issue warnings
3904 # or remarks (even with -Werror). So we grep stderr for any message
3905 # that says an option was ignored or not supported.
3906 # When given -MP, icc 7.0 and 7.1 complain thusly:
3907 # icc: Command line warning: ignoring option '-M'; no argument required
3908 # The diagnosis changed in icc 8.0:
3909 # icc: Command line remark: option '-MP' not supported
3910 if (grep 'ignoring option' conftest.err ||
3911 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3912 am_cv_CC_dependencies_compiler_type=$depmode
3921 am_cv_CC_dependencies_compiler_type=none
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3927 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3930 test "x$enable_dependency_tracking" != xno \
3931 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3933 am__fastdepCC_FALSE='#'
3935 am__fastdepCC_TRUE='#'
3936 am__fastdepCC_FALSE=
3943 # Check whether --enable-largefile was given.
3944 if test "${enable_largefile+set}" = set; then :
3945 enableval=$enable_largefile;
3948 if test "$enable_largefile" != no; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3951 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3952 if ${ac_cv_sys_largefile_CC+:} false; then :
3953 $as_echo_n "(cached) " >&6
3955 ac_cv_sys_largefile_CC=no
3956 if test "$GCC" != yes; then
3959 # IRIX 6.2 and later do not support large files by default,
3960 # so use the C compiler's -n32 option if that helps.
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3963 #include <sys/types.h>
3964 /* Check that off_t can represent 2**63 - 1 correctly.
3965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3966 since some C++ compilers masquerading as C compilers
3967 incorrectly reject 9223372036854775807. */
3968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3970 && LARGE_OFF_T % 2147483647 == 1)
3980 if ac_fn_c_try_compile "$LINENO"; then :
3983 rm -f core conftest.err conftest.$ac_objext
3985 if ac_fn_c_try_compile "$LINENO"; then :
3986 ac_cv_sys_largefile_CC=' -n32'; break
3988 rm -f core conftest.err conftest.$ac_objext
3992 rm -f conftest.$ac_ext
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3996 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3997 if test "$ac_cv_sys_largefile_CC" != no; then
3998 CC=$CC$ac_cv_sys_largefile_CC
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4002 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4003 if ${ac_cv_sys_file_offset_bits+:} false; then :
4004 $as_echo_n "(cached) " >&6
4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4009 #include <sys/types.h>
4010 /* Check that off_t can represent 2**63 - 1 correctly.
4011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4012 since some C++ compilers masquerading as C compilers
4013 incorrectly reject 9223372036854775807. */
4014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4016 && LARGE_OFF_T % 2147483647 == 1)
4026 if ac_fn_c_try_compile "$LINENO"; then :
4027 ac_cv_sys_file_offset_bits=no; break
4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4032 #define _FILE_OFFSET_BITS 64
4033 #include <sys/types.h>
4034 /* Check that off_t can represent 2**63 - 1 correctly.
4035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4036 since some C++ compilers masquerading as C compilers
4037 incorrectly reject 9223372036854775807. */
4038 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4040 && LARGE_OFF_T % 2147483647 == 1)
4050 if ac_fn_c_try_compile "$LINENO"; then :
4051 ac_cv_sys_file_offset_bits=64; break
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 ac_cv_sys_file_offset_bits=unknown
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4059 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4060 case $ac_cv_sys_file_offset_bits in #(
4063 cat >>confdefs.h <<_ACEOF
4064 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4069 if test $ac_cv_sys_file_offset_bits = unknown; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4071 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4072 if ${ac_cv_sys_large_files+:} false; then :
4073 $as_echo_n "(cached) " >&6
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4078 #include <sys/types.h>
4079 /* Check that off_t can represent 2**63 - 1 correctly.
4080 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4081 since some C++ compilers masquerading as C compilers
4082 incorrectly reject 9223372036854775807. */
4083 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4084 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4085 && LARGE_OFF_T % 2147483647 == 1)
4095 if ac_fn_c_try_compile "$LINENO"; then :
4096 ac_cv_sys_large_files=no; break
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101 #define _LARGE_FILES 1
4102 #include <sys/types.h>
4103 /* Check that off_t can represent 2**63 - 1 correctly.
4104 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4105 since some C++ compilers masquerading as C compilers
4106 incorrectly reject 9223372036854775807. */
4107 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4108 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4109 && LARGE_OFF_T % 2147483647 == 1)
4119 if ac_fn_c_try_compile "$LINENO"; then :
4120 ac_cv_sys_large_files=1; break
4122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 ac_cv_sys_large_files=unknown
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4128 $as_echo "$ac_cv_sys_large_files" >&6; }
4129 case $ac_cv_sys_large_files in #(
4132 cat >>confdefs.h <<_ACEOF
4133 #define _LARGE_FILES $ac_cv_sys_large_files
4145 if test -n "$ac_tool_prefix"; then
4146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4147 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4149 $as_echo_n "checking for $ac_word... " >&6; }
4150 if ${ac_cv_prog_RANLIB+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 if test -n "$RANLIB"; then
4154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 test -z "$as_dir" && as_dir=.
4161 for ac_exec_ext in '' $ac_executable_extensions; do
4162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4163 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 RANLIB=$ac_cv_prog_RANLIB
4174 if test -n "$RANLIB"; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4176 $as_echo "$RANLIB" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4184 if test -z "$ac_cv_prog_RANLIB"; then
4185 ac_ct_RANLIB=$RANLIB
4186 # Extract the first word of "ranlib", so it can be a program name with args.
4187 set dummy ranlib; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189 $as_echo_n "checking for $ac_word... " >&6; }
4190 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 if test -n "$ac_ct_RANLIB"; then
4194 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203 ac_cv_prog_ac_ct_RANLIB="ranlib"
4204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4214 if test -n "$ac_ct_RANLIB"; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4216 $as_echo "$ac_ct_RANLIB" >&6; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4222 if test "x$ac_ct_RANLIB" = x; then
4225 case $cross_compiling:$ac_tool_warned in
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4229 ac_tool_warned=yes ;;
4231 RANLIB=$ac_ct_RANLIB
4234 RANLIB="$ac_cv_prog_RANLIB"
4237 if test -n "$ac_tool_prefix"; then
4238 for ac_prog in ar lib "link -lib"
4240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243 $as_echo_n "checking for $ac_word... " >&6; }
4244 if ${ac_cv_prog_AR+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 if test -n "$AR"; then
4248 ac_cv_prog_AR="$AR" # Let the user override the test.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 if test -n "$AR"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4270 $as_echo "$AR" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4277 test -n "$AR" && break
4280 if test -z "$AR"; then
4282 for ac_prog in ar lib "link -lib"
4284 # Extract the first word of "$ac_prog", so it can be a program name with args.
4285 set dummy $ac_prog; ac_word=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4289 $as_echo_n "(cached) " >&6
4291 if test -n "$ac_ct_AR"; then
4292 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir=.
4299 for ac_exec_ext in '' $ac_executable_extensions; do
4300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4301 ac_cv_prog_ac_ct_AR="$ac_prog"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4312 if test -n "$ac_ct_AR"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4314 $as_echo "$ac_ct_AR" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4321 test -n "$ac_ct_AR" && break
4324 if test "x$ac_ct_AR" = x; then
4327 case $cross_compiling:$ac_tool_warned in
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4331 ac_tool_warned=yes ;;
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4340 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4341 if ${am_cv_ar_interface+:} false; then :
4342 $as_echo_n "(cached) " >&6
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 am_cv_ar_interface=ar
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353 int some_variable = 0;
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4357 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4358 (eval $am_ar_try) 2>&5
4360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361 test $ac_status = 0; }
4362 if test "$ac_status" -eq 0; then
4363 am_cv_ar_interface=ar
4365 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4366 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4367 (eval $am_ar_try) 2>&5
4369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4370 test $ac_status = 0; }
4371 if test "$ac_status" -eq 0; then
4372 am_cv_ar_interface=lib
4374 am_cv_ar_interface=unknown
4377 rm -f conftest.lib libconftest.a
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4389 $as_echo "$am_cv_ar_interface" >&6; }
4391 case $am_cv_ar_interface in
4395 # Microsoft lib, so override with the ar-lib wrapper script.
4396 # FIXME: It is wrong to rewrite AR.
4397 # But if we don't then we get into trouble of one sort or another.
4398 # A longer-term fix would be to have automake use am__AR in this case,
4399 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4401 AR="$am_aux_dir/ar-lib $AR"
4404 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4409 # Checks for header files.
4411 ac_cpp='$CPP $CPPFLAGS'
4412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4416 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4417 # On Suns, sometimes $CPP names a directory.
4418 if test -n "$CPP" && test -d "$CPP"; then
4421 if test -z "$CPP"; then
4422 if ${ac_cv_prog_CPP+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 # Double quotes because CPP needs to be expanded
4426 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4429 for ac_c_preproc_warn_flag in '' yes
4431 # Use a header file that comes with gcc, so configuring glibc
4432 # with a fresh cross-compiler works.
4433 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4434 # <limits.h> exists even on freestanding compilers.
4435 # On the NeXT, cc -E runs the code through the compiler's parser,
4436 # not just through cpp. "Syntax error" is here to catch this case.
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4440 # include <limits.h>
4442 # include <assert.h>
4446 if ac_fn_c_try_cpp "$LINENO"; then :
4449 # Broken: fails on valid input.
4452 rm -f conftest.err conftest.i conftest.$ac_ext
4454 # OK, works on sane cases. Now check whether nonexistent headers
4455 # can be detected and how.
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4458 #include <ac_nonexistent.h>
4460 if ac_fn_c_try_cpp "$LINENO"; then :
4461 # Broken: success on invalid input.
4464 # Passes both tests.
4468 rm -f conftest.err conftest.i conftest.$ac_ext
4471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4472 rm -f conftest.i conftest.err conftest.$ac_ext
4473 if $ac_preproc_ok; then :
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4486 $as_echo "$CPP" >&6; }
4488 for ac_c_preproc_warn_flag in '' yes
4490 # Use a header file that comes with gcc, so configuring glibc
4491 # with a fresh cross-compiler works.
4492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4493 # <limits.h> exists even on freestanding compilers.
4494 # On the NeXT, cc -E runs the code through the compiler's parser,
4495 # not just through cpp. "Syntax error" is here to catch this case.
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4499 # include <limits.h>
4501 # include <assert.h>
4505 if ac_fn_c_try_cpp "$LINENO"; then :
4508 # Broken: fails on valid input.
4511 rm -f conftest.err conftest.i conftest.$ac_ext
4513 # OK, works on sane cases. Now check whether nonexistent headers
4514 # can be detected and how.
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #include <ac_nonexistent.h>
4519 if ac_fn_c_try_cpp "$LINENO"; then :
4520 # Broken: success on invalid input.
4523 # Passes both tests.
4527 rm -f conftest.err conftest.i conftest.$ac_ext
4530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4531 rm -f conftest.i conftest.err conftest.$ac_ext
4532 if $ac_preproc_ok; then :
4535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4537 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4538 See \`config.log' for more details" "$LINENO" 5; }
4542 ac_cpp='$CPP $CPPFLAGS'
4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4549 $as_echo_n "checking for X... " >&6; }
4552 # Check whether --with-x was given.
4553 if test "${with_x+set}" = set; then :
4557 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4558 if test "x$with_x" = xno; then
4559 # The user explicitly disabled X.
4562 case $x_includes,$x_libraries in #(
4563 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4564 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4565 $as_echo_n "(cached) " >&6
4567 # One or both of the vars are not set, and there is no cached value.
4568 ac_x_includes=no ac_x_libraries=no
4569 rm -f -r conftest.dir
4570 if mkdir conftest.dir; then
4572 cat >Imakefile <<'_ACEOF'
4574 @echo incroot='${INCROOT}'
4576 @echo usrlibdir='${USRLIBDIR}'
4578 @echo libdir='${LIBDIR}'
4580 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4581 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4582 for ac_var in incroot usrlibdir libdir; do
4583 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4586 for ac_extension in a so sl dylib la dll; do
4587 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4588 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4589 ac_im_usrlibdir=$ac_im_libdir; break
4592 # Screen out bogus values from the imake configuration. They are
4593 # bogus both because they are the default anyway, and because
4594 # using them would break gcc on systems where it needs fixed includes.
4595 case $ac_im_incroot in
4596 /usr/include) ac_x_includes= ;;
4597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4599 case $ac_im_usrlibdir in
4600 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4605 rm -f -r conftest.dir
4608 # Standard set of common directories for X headers.
4609 # Check X11 before X11Rn because it is often a symlink to the current release.
4623 /usr/local/X11/include
4624 /usr/local/X11R7/include
4625 /usr/local/X11R6/include
4626 /usr/local/X11R5/include
4627 /usr/local/X11R4/include
4629 /usr/local/include/X11
4630 /usr/local/include/X11R7
4631 /usr/local/include/X11R6
4632 /usr/local/include/X11R5
4633 /usr/local/include/X11R4
4637 /usr/XFree86/include/X11
4641 /usr/unsupported/include
4643 /usr/local/x11r5/include
4644 /usr/lpp/Xamples/include
4646 /usr/openwin/include
4647 /usr/openwin/share/include'
4649 if test "$ac_x_includes" = no; then
4650 # Guess where to find include files, by looking for Xlib.h.
4651 # First, try using that file with no special directory specified.
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #include <X11/Xlib.h>
4656 if ac_fn_c_try_cpp "$LINENO"; then :
4657 # We can compile using X headers with no special include directory.
4660 for ac_dir in $ac_x_header_dirs; do
4661 if test -r "$ac_dir/X11/Xlib.h"; then
4662 ac_x_includes=$ac_dir
4667 rm -f conftest.err conftest.i conftest.$ac_ext
4668 fi # $ac_x_includes = no
4670 if test "$ac_x_libraries" = no; then
4671 # Check for the libraries.
4672 # See if we find them without any special options.
4673 # Don't add to $LIBS permanently.
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #include <X11/Xlib.h>
4687 if ac_fn_c_try_link "$LINENO"; then :
4689 # We can link X programs with no special library path.
4693 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4695 # Don't even attempt the hair of trying to link an X program!
4696 for ac_extension in a so sl dylib la dll; do
4697 if test -r "$ac_dir/libX11.$ac_extension"; then
4698 ac_x_libraries=$ac_dir
4704 rm -f core conftest.err conftest.$ac_objext \
4705 conftest$ac_exeext conftest.$ac_ext
4706 fi # $ac_x_libraries = no
4708 case $ac_x_includes,$ac_x_libraries in #(
4710 # Didn't find X, or a directory has "'" in its name.
4711 ac_cv_have_x="have_x=no";; #(
4713 # Record where we found X for the cache.
4714 ac_cv_have_x="have_x=yes\
4715 ac_x_includes='$ac_x_includes'\
4716 ac_x_libraries='$ac_x_libraries'"
4722 eval "$ac_cv_have_x"
4725 if test "$have_x" != yes; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4727 $as_echo "$have_x" >&6; }
4730 # If each of the values was on the command line, it overrides each guess.
4731 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4732 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4733 # Update the cache value to reflect the command line values.
4734 ac_cv_have_x="have_x=yes\
4735 ac_x_includes='$x_includes'\
4736 ac_x_libraries='$x_libraries'"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4738 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4742 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4743 if ${ac_cv_path_GREP+:} false; then :
4744 $as_echo_n "(cached) " >&6
4746 if test -z "$GREP"; then
4747 ac_path_GREP_found=false
4748 # Loop through the user's path and test for each of PROGNAME-LIST
4749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4753 test -z "$as_dir" && as_dir=.
4754 for ac_prog in grep ggrep; do
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4757 as_fn_executable_p "$ac_path_GREP" || continue
4758 # Check for GNU ac_path_GREP and select it if it is found.
4759 # Check for GNU $ac_path_GREP
4760 case `"$ac_path_GREP" --version 2>&1` in
4762 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4765 $as_echo_n 0123456789 >"conftest.in"
4768 cat "conftest.in" "conftest.in" >"conftest.tmp"
4769 mv "conftest.tmp" "conftest.in"
4770 cp "conftest.in" "conftest.nl"
4771 $as_echo 'GREP' >> "conftest.nl"
4772 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4774 as_fn_arith $ac_count + 1 && ac_count=$as_val
4775 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4776 # Best one so far, save it but keep looking for a better one
4777 ac_cv_path_GREP="$ac_path_GREP"
4778 ac_path_GREP_max=$ac_count
4780 # 10*(2^10) chars as input seems more than enough
4781 test $ac_count -gt 10 && break
4783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4786 $ac_path_GREP_found && break 3
4791 if test -z "$ac_cv_path_GREP"; then
4792 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4795 ac_cv_path_GREP=$GREP
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4800 $as_echo "$ac_cv_path_GREP" >&6; }
4801 GREP="$ac_cv_path_GREP"
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4805 $as_echo_n "checking for egrep... " >&6; }
4806 if ${ac_cv_path_EGREP+:} false; then :
4807 $as_echo_n "(cached) " >&6
4809 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4810 then ac_cv_path_EGREP="$GREP -E"
4812 if test -z "$EGREP"; then
4813 ac_path_EGREP_found=false
4814 # Loop through the user's path and test for each of PROGNAME-LIST
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4819 test -z "$as_dir" && as_dir=.
4820 for ac_prog in egrep; do
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4823 as_fn_executable_p "$ac_path_EGREP" || continue
4824 # Check for GNU ac_path_EGREP and select it if it is found.
4825 # Check for GNU $ac_path_EGREP
4826 case `"$ac_path_EGREP" --version 2>&1` in
4828 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4831 $as_echo_n 0123456789 >"conftest.in"
4834 cat "conftest.in" "conftest.in" >"conftest.tmp"
4835 mv "conftest.tmp" "conftest.in"
4836 cp "conftest.in" "conftest.nl"
4837 $as_echo 'EGREP' >> "conftest.nl"
4838 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4839 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4840 as_fn_arith $ac_count + 1 && ac_count=$as_val
4841 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4842 # Best one so far, save it but keep looking for a better one
4843 ac_cv_path_EGREP="$ac_path_EGREP"
4844 ac_path_EGREP_max=$ac_count
4846 # 10*(2^10) chars as input seems more than enough
4847 test $ac_count -gt 10 && break
4849 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4852 $ac_path_EGREP_found && break 3
4857 if test -z "$ac_cv_path_EGREP"; then
4858 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4861 ac_cv_path_EGREP=$EGREP
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4867 $as_echo "$ac_cv_path_EGREP" >&6; }
4868 EGREP="$ac_cv_path_EGREP"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4872 $as_echo_n "checking for ANSI C header files... " >&6; }
4873 if ${ac_cv_header_stdc+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4891 if ac_fn_c_try_compile "$LINENO"; then :
4892 ac_cv_header_stdc=yes
4894 ac_cv_header_stdc=no
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898 if test $ac_cv_header_stdc = yes; then
4899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4906 $EGREP "memchr" >/dev/null 2>&1; then :
4909 ac_cv_header_stdc=no
4915 if test $ac_cv_header_stdc = yes; then
4916 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4918 /* end confdefs.h. */
4922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4923 $EGREP "free" >/dev/null 2>&1; then :
4926 ac_cv_header_stdc=no
4932 if test $ac_cv_header_stdc = yes; then
4933 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4934 if test "$cross_compiling" = yes; then :
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4941 #if ((' ' & 0x0FF) == 0x020)
4942 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4943 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4945 # define ISLOWER(c) \
4946 (('a' <= (c) && (c) <= 'i') \
4947 || ('j' <= (c) && (c) <= 'r') \
4948 || ('s' <= (c) && (c) <= 'z'))
4949 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4952 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4957 for (i = 0; i < 256; i++)
4958 if (XOR (islower (i), ISLOWER (i))
4959 || toupper (i) != TOUPPER (i))
4964 if ac_fn_c_try_run "$LINENO"; then :
4967 ac_cv_header_stdc=no
4969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4970 conftest.$ac_objext conftest.beam conftest.$ac_ext
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4976 $as_echo "$ac_cv_header_stdc" >&6; }
4977 if test $ac_cv_header_stdc = yes; then
4979 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4983 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4984 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4985 inttypes.h stdint.h unistd.h
4987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4988 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4990 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4991 cat >>confdefs.h <<_ACEOF
4992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5000 for ac_header in stdbool.h
5002 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
5003 if test "x$ac_cv_header_stdbool_h" = xyes; then :
5004 cat >>confdefs.h <<_ACEOF
5005 #define HAVE_STDBOOL_H 1
5017 [\\/$]* | ?:[\\/]*) ;;
5018 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5023 $as_echo_n "checking whether NLS is requested... " >&6; }
5024 # Check whether --enable-nls was given.
5025 if test "${enable_nls+set}" = set; then :
5026 enableval=$enable_nls; USE_NLS=$enableval
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5032 $as_echo "$USE_NLS" >&6; }
5039 # Prepare PATH_SEPARATOR.
5040 # The user is always right.
5041 if test "${PATH_SEPARATOR+set}" != set; then
5042 echo "#! /bin/sh" >conf$$.sh
5043 echo "exit 0" >>conf$$.sh
5045 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5053 # Find out how to test for executable files. Don't use a zero-byte file,
5054 # as systems may use methods other than mode bits to determine executability.
5055 cat >conf$$.file <<_ASEOF
5059 chmod +x conf$$.file
5060 if test -x conf$$.file >/dev/null 2>&1; then
5061 ac_executable_p="test -x"
5063 ac_executable_p="test -f"
5067 # Extract the first word of "msgfmt", so it can be a program name with args.
5068 set dummy msgfmt; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_path_MSGFMT+:} false; then :
5072 $as_echo_n "(cached) " >&6
5076 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5079 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5080 for ac_dir in $PATH; do
5082 test -z "$ac_dir" && ac_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5085 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5086 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5087 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5088 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5095 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5099 MSGFMT="$ac_cv_path_MSGFMT"
5100 if test "$MSGFMT" != ":"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5102 $as_echo "$MSGFMT" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5108 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5109 set dummy gmsgfmt; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_path_GMSGFMT+:} false; then :
5113 $as_echo_n "(cached) " >&6
5117 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5139 GMSGFMT=$ac_cv_path_GMSGFMT
5140 if test -n "$GMSGFMT"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5142 $as_echo "$GMSGFMT" >&6; }
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5150 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5151 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5152 *) MSGFMT_015=$MSGFMT ;;
5155 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5156 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5157 *) GMSGFMT_015=$GMSGFMT ;;
5162 # Prepare PATH_SEPARATOR.
5163 # The user is always right.
5164 if test "${PATH_SEPARATOR+set}" != set; then
5165 echo "#! /bin/sh" >conf$$.sh
5166 echo "exit 0" >>conf$$.sh
5168 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5176 # Find out how to test for executable files. Don't use a zero-byte file,
5177 # as systems may use methods other than mode bits to determine executability.
5178 cat >conf$$.file <<_ASEOF
5182 chmod +x conf$$.file
5183 if test -x conf$$.file >/dev/null 2>&1; then
5184 ac_executable_p="test -x"
5186 ac_executable_p="test -f"
5190 # Extract the first word of "xgettext", so it can be a program name with args.
5191 set dummy xgettext; ac_word=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_path_XGETTEXT+:} false; then :
5195 $as_echo_n "(cached) " >&6
5199 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5202 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5203 for ac_dir in $PATH; do
5205 test -z "$ac_dir" && ac_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5208 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5209 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5210 (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
5211 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5218 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5222 XGETTEXT="$ac_cv_path_XGETTEXT"
5223 if test "$XGETTEXT" != ":"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5225 $as_echo "$XGETTEXT" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5233 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5234 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5235 *) XGETTEXT_015=$XGETTEXT ;;
5240 # Prepare PATH_SEPARATOR.
5241 # The user is always right.
5242 if test "${PATH_SEPARATOR+set}" != set; then
5243 echo "#! /bin/sh" >conf$$.sh
5244 echo "exit 0" >>conf$$.sh
5246 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5254 # Find out how to test for executable files. Don't use a zero-byte file,
5255 # as systems may use methods other than mode bits to determine executability.
5256 cat >conf$$.file <<_ASEOF
5260 chmod +x conf$$.file
5261 if test -x conf$$.file >/dev/null 2>&1; then
5262 ac_executable_p="test -x"
5264 ac_executable_p="test -f"
5268 # Extract the first word of "msgmerge", so it can be a program name with args.
5269 set dummy msgmerge; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_path_MSGMERGE+:} false; then :
5273 $as_echo_n "(cached) " >&6
5277 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5280 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5281 for ac_dir in $PATH; do
5283 test -z "$ac_dir" && ac_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5286 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5287 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5288 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5295 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5299 MSGMERGE="$ac_cv_path_MSGMERGE"
5300 if test "$MSGMERGE" != ":"; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5302 $as_echo "$MSGMERGE" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5309 test -n "$localedir" || localedir='${datadir}/locale'
5312 ac_config_commands="$ac_config_commands po-directories"
5316 if test "X$prefix" = "XNONE"; then
5317 acl_final_prefix="$ac_default_prefix"
5319 acl_final_prefix="$prefix"
5321 if test "X$exec_prefix" = "XNONE"; then
5322 acl_final_exec_prefix='${prefix}'
5324 acl_final_exec_prefix="$exec_prefix"
5326 acl_save_prefix="$prefix"
5327 prefix="$acl_final_prefix"
5328 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5329 prefix="$acl_save_prefix"
5331 # Make sure we can run config.sub.
5332 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5333 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5336 $as_echo_n "checking build system type... " >&6; }
5337 if ${ac_cv_build+:} false; then :
5338 $as_echo_n "(cached) " >&6
5340 ac_build_alias=$build_alias
5341 test "x$ac_build_alias" = x &&
5342 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5343 test "x$ac_build_alias" = x &&
5344 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5345 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5346 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5350 $as_echo "$ac_cv_build" >&6; }
5351 case $ac_cv_build in
5353 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5356 ac_save_IFS=$IFS; IFS='-'
5362 # Remember, the first character of IFS is used to create $*,
5363 # except with old shells:
5366 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5370 $as_echo_n "checking host system type... " >&6; }
5371 if ${ac_cv_host+:} false; then :
5372 $as_echo_n "(cached) " >&6
5374 if test "x$host_alias" = x; then
5375 ac_cv_host=$ac_cv_build
5377 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5378 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5383 $as_echo "$ac_cv_host" >&6; }
5386 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5389 ac_save_IFS=$IFS; IFS='-'
5395 # Remember, the first character of IFS is used to create $*,
5396 # except with old shells:
5399 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5403 # Check whether --with-gnu-ld was given.
5404 if test "${with_gnu_ld+set}" = set; then :
5405 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5410 # Prepare PATH_SEPARATOR.
5411 # The user is always right.
5412 if test "${PATH_SEPARATOR+set}" != set; then
5413 echo "#! /bin/sh" >conf$$.sh
5414 echo "exit 0" >>conf$$.sh
5416 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5424 if test "$GCC" = yes; then
5425 # Check if gcc -print-prog-name=ld gives a path.
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5427 $as_echo_n "checking for ld used by GCC... " >&6; }
5430 # gcc leaves a trailing carriage return which upsets mingw
5431 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5433 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5436 # Accept absolute paths.
5437 [\\/]* | [A-Za-z]:[\\/]*)
5438 re_direlt='/[^/][^/]*/\.\./'
5439 # Canonicalize the path of ld
5440 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5441 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5442 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5444 test -z "$LD" && LD="$ac_prog"
5447 # If it fails, then pretend we aren't using GCC.
5451 # If it is relative, then search for the first ld in PATH.
5455 elif test "$with_gnu_ld" = yes; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5457 $as_echo_n "checking for GNU ld... " >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5460 $as_echo_n "checking for non-GNU ld... " >&6; }
5462 if ${acl_cv_path_LD+:} false; then :
5463 $as_echo_n "(cached) " >&6
5465 if test -z "$LD"; then
5466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5467 for ac_dir in $PATH; do
5468 test -z "$ac_dir" && ac_dir=.
5469 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5470 acl_cv_path_LD="$ac_dir/$ac_prog"
5471 # Check to see if the program is GNU ld. I'd rather use --version,
5472 # but apparently some GNU ld's only accept -v.
5473 # Break only if it was the GNU/non-GNU ld that we prefer.
5474 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5475 *GNU* | *'with BFD'*)
5476 test "$with_gnu_ld" != no && break ;;
5478 test "$with_gnu_ld" != yes && break ;;
5484 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5488 LD="$acl_cv_path_LD"
5489 if test -n "$LD"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5491 $as_echo "$LD" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5496 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5498 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5499 if ${acl_cv_prog_gnu_ld+:} false; then :
5500 $as_echo_n "(cached) " >&6
5502 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5503 case `$LD -v 2>&1 </dev/null` in
5504 *GNU* | *'with BFD'*)
5505 acl_cv_prog_gnu_ld=yes ;;
5507 acl_cv_prog_gnu_ld=no ;;
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5511 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5512 with_gnu_ld=$acl_cv_prog_gnu_ld
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5518 $as_echo_n "checking for shared library run path origin... " >&6; }
5519 if ${acl_cv_rpath+:} false; then :
5520 $as_echo_n "(cached) " >&6
5523 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5524 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5531 $as_echo "$acl_cv_rpath" >&6; }
5533 libext="$acl_cv_libext"
5534 shlibext="$acl_cv_shlibext"
5535 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5536 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5537 hardcode_direct="$acl_cv_hardcode_direct"
5538 hardcode_minus_L="$acl_cv_hardcode_minus_L"
5539 # Check whether --enable-rpath was given.
5540 if test "${enable_rpath+set}" = set; then :
5541 enableval=$enable_rpath; :
5549 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5550 if test -n "$searchpath"; then
5551 acl_save_IFS="${IFS= }"; IFS=":"
5552 for searchdir in $searchpath; do
5553 if test -d "$searchdir"; then
5554 case "$searchdir" in
5555 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5556 *) searchdir=`cd "$searchdir" && pwd`
5557 case "$searchdir" in
5558 */lib64 ) acl_libdirstem=lib64 ;;
5575 acl_save_prefix="$prefix"
5576 prefix="$acl_final_prefix"
5577 acl_save_exec_prefix="$exec_prefix"
5578 exec_prefix="$acl_final_exec_prefix"
5580 eval additional_includedir=\"$includedir\"
5581 eval additional_libdir=\"$libdir\"
5583 exec_prefix="$acl_save_exec_prefix"
5584 prefix="$acl_save_prefix"
5587 # Check whether --with-libiconv-prefix was given.
5588 if test "${with_libiconv_prefix+set}" = set; then :
5589 withval=$with_libiconv_prefix;
5590 if test "X$withval" = "Xno"; then
5593 if test "X$withval" = "X"; then
5595 acl_save_prefix="$prefix"
5596 prefix="$acl_final_prefix"
5597 acl_save_exec_prefix="$exec_prefix"
5598 exec_prefix="$acl_final_exec_prefix"
5600 eval additional_includedir=\"$includedir\"
5601 eval additional_libdir=\"$libdir\"
5603 exec_prefix="$acl_save_exec_prefix"
5604 prefix="$acl_save_prefix"
5607 additional_includedir="$withval/include"
5608 additional_libdir="$withval/$acl_libdirstem"
5619 names_already_handled=
5620 names_next_round='iconv '
5621 while test -n "$names_next_round"; do
5622 names_this_round="$names_next_round"
5624 for name in $names_this_round; do
5626 for n in $names_already_handled; do
5627 if test "$n" = "$name"; then
5632 if test -z "$already_handled"; then
5633 names_already_handled="$names_already_handled $name"
5634 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5635 eval value=\"\$HAVE_LIB$uppername\"
5636 if test -n "$value"; then
5637 if test "$value" = yes; then
5638 eval value=\"\$LIB$uppername\"
5639 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5640 eval value=\"\$LTLIB$uppername\"
5641 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5650 if test $use_additional = yes; then
5651 if test -n "$shlibext" \
5652 && { test -f "$additional_libdir/lib$name.$shlibext" \
5653 || { test "$shlibext" = dll \
5654 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
5655 found_dir="$additional_libdir"
5656 if test -f "$additional_libdir/lib$name.$shlibext"; then
5657 found_so="$additional_libdir/lib$name.$shlibext"
5659 found_so="$additional_libdir/lib$name.dll.a"
5661 if test -f "$additional_libdir/lib$name.la"; then
5662 found_la="$additional_libdir/lib$name.la"
5665 if test -f "$additional_libdir/lib$name.$libext"; then
5666 found_dir="$additional_libdir"
5667 found_a="$additional_libdir/lib$name.$libext"
5668 if test -f "$additional_libdir/lib$name.la"; then
5669 found_la="$additional_libdir/lib$name.la"
5674 if test "X$found_dir" = "X"; then
5675 for x in $LDFLAGS $LTLIBICONV; do
5677 acl_save_prefix="$prefix"
5678 prefix="$acl_final_prefix"
5679 acl_save_exec_prefix="$exec_prefix"
5680 exec_prefix="$acl_final_exec_prefix"
5682 exec_prefix="$acl_save_exec_prefix"
5683 prefix="$acl_save_prefix"
5687 dir=`echo "X$x" | sed -e 's/^X-L//'`
5688 if test -n "$shlibext" \
5689 && { test -f "$dir/lib$name.$shlibext" \
5690 || { test "$shlibext" = dll \
5691 && test -f "$dir/lib$name.dll.a"; }; }; then
5693 if test -f "$dir/lib$name.$shlibext"; then
5694 found_so="$dir/lib$name.$shlibext"
5696 found_so="$dir/lib$name.dll.a"
5698 if test -f "$dir/lib$name.la"; then
5699 found_la="$dir/lib$name.la"
5702 if test -f "$dir/lib$name.$libext"; then
5704 found_a="$dir/lib$name.$libext"
5705 if test -f "$dir/lib$name.la"; then
5706 found_la="$dir/lib$name.la"
5712 if test "X$found_dir" != "X"; then
5717 if test "X$found_dir" != "X"; then
5718 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5719 if test "X$found_so" != "X"; then
5720 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5721 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5724 for x in $ltrpathdirs; do
5725 if test "X$x" = "X$found_dir"; then
5730 if test -z "$haveit"; then
5731 ltrpathdirs="$ltrpathdirs $found_dir"
5733 if test "$hardcode_direct" = yes; then
5734 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5736 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5737 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5739 for x in $rpathdirs; do
5740 if test "X$x" = "X$found_dir"; then
5745 if test -z "$haveit"; then
5746 rpathdirs="$rpathdirs $found_dir"
5750 for x in $LDFLAGS $LIBICONV; do
5752 acl_save_prefix="$prefix"
5753 prefix="$acl_final_prefix"
5754 acl_save_exec_prefix="$exec_prefix"
5755 exec_prefix="$acl_final_exec_prefix"
5757 exec_prefix="$acl_save_exec_prefix"
5758 prefix="$acl_save_prefix"
5760 if test "X$x" = "X-L$found_dir"; then
5765 if test -z "$haveit"; then
5766 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5768 if test "$hardcode_minus_L" != no; then
5769 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5771 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5777 if test "X$found_a" != "X"; then
5778 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5780 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5783 additional_includedir=
5784 case "$found_dir" in
5785 */$acl_libdirstem | */$acl_libdirstem/)
5786 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5787 additional_includedir="$basedir/include"
5790 if test "X$additional_includedir" != "X"; then
5791 if test "X$additional_includedir" != "X/usr/include"; then
5793 if test "X$additional_includedir" = "X/usr/local/include"; then
5794 if test -n "$GCC"; then
5796 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5800 if test -z "$haveit"; then
5801 for x in $CPPFLAGS $INCICONV; do
5803 acl_save_prefix="$prefix"
5804 prefix="$acl_final_prefix"
5805 acl_save_exec_prefix="$exec_prefix"
5806 exec_prefix="$acl_final_exec_prefix"
5808 exec_prefix="$acl_save_exec_prefix"
5809 prefix="$acl_save_prefix"
5811 if test "X$x" = "X-I$additional_includedir"; then
5816 if test -z "$haveit"; then
5817 if test -d "$additional_includedir"; then
5818 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5824 if test -n "$found_la"; then
5825 save_libdir="$libdir"
5827 */* | *\\*) . "$found_la" ;;
5828 *) . "./$found_la" ;;
5830 libdir="$save_libdir"
5831 for dep in $dependency_libs; do
5834 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5835 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5837 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5838 if test -n "$GCC"; then
5840 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5844 if test -z "$haveit"; then
5846 for x in $LDFLAGS $LIBICONV; do
5848 acl_save_prefix="$prefix"
5849 prefix="$acl_final_prefix"
5850 acl_save_exec_prefix="$exec_prefix"
5851 exec_prefix="$acl_final_exec_prefix"
5853 exec_prefix="$acl_save_exec_prefix"
5854 prefix="$acl_save_prefix"
5856 if test "X$x" = "X-L$additional_libdir"; then
5861 if test -z "$haveit"; then
5862 if test -d "$additional_libdir"; then
5863 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5867 for x in $LDFLAGS $LTLIBICONV; do
5869 acl_save_prefix="$prefix"
5870 prefix="$acl_final_prefix"
5871 acl_save_exec_prefix="$exec_prefix"
5872 exec_prefix="$acl_final_exec_prefix"
5874 exec_prefix="$acl_save_exec_prefix"
5875 prefix="$acl_save_prefix"
5877 if test "X$x" = "X-L$additional_libdir"; then
5882 if test -z "$haveit"; then
5883 if test -d "$additional_libdir"; then
5884 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5891 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5892 if test "$enable_rpath" != no; then
5894 for x in $rpathdirs; do
5895 if test "X$x" = "X$dir"; then
5900 if test -z "$haveit"; then
5901 rpathdirs="$rpathdirs $dir"
5904 for x in $ltrpathdirs; do
5905 if test "X$x" = "X$dir"; then
5910 if test -z "$haveit"; then
5911 ltrpathdirs="$ltrpathdirs $dir"
5916 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5919 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5922 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5923 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5929 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5930 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5936 if test "X$rpathdirs" != "X"; then
5937 if test -n "$hardcode_libdir_separator"; then
5939 for found_dir in $rpathdirs; do
5940 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5942 acl_save_libdir="$libdir"
5944 eval flag=\"$hardcode_libdir_flag_spec\"
5945 libdir="$acl_save_libdir"
5946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5948 for found_dir in $rpathdirs; do
5949 acl_save_libdir="$libdir"
5951 eval flag=\"$hardcode_libdir_flag_spec\"
5952 libdir="$acl_save_libdir"
5953 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5957 if test "X$ltrpathdirs" != "X"; then
5958 for found_dir in $ltrpathdirs; do
5959 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5988 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5989 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5990 $as_echo_n "(cached) " >&6
5992 gt_save_LIBS="$LIBS"
5993 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <CoreFoundation/CFPreferences.h>
6000 CFPreferencesCopyAppValue(NULL, NULL)
6005 if ac_fn_c_try_link "$LINENO"; then :
6006 gt_cv_func_CFPreferencesCopyAppValue=yes
6008 gt_cv_func_CFPreferencesCopyAppValue=no
6010 rm -f core conftest.err conftest.$ac_objext \
6011 conftest$ac_exeext conftest.$ac_ext
6012 LIBS="$gt_save_LIBS"
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6015 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6016 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6018 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6022 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6023 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6024 $as_echo_n "(cached) " >&6
6026 gt_save_LIBS="$LIBS"
6027 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6029 /* end confdefs.h. */
6030 #include <CoreFoundation/CFLocale.h>
6034 CFLocaleCopyCurrent();
6039 if ac_fn_c_try_link "$LINENO"; then :
6040 gt_cv_func_CFLocaleCopyCurrent=yes
6042 gt_cv_func_CFLocaleCopyCurrent=no
6044 rm -f core conftest.err conftest.$ac_objext \
6045 conftest$ac_exeext conftest.$ac_ext
6046 LIBS="$gt_save_LIBS"
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6049 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6050 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6052 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6056 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6057 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6069 case " $gt_needs " in
6070 *" need-formatstring-macros "*) gt_api_version=3 ;;
6071 *" need-ngettext "*) gt_api_version=2 ;;
6072 *) gt_api_version=1 ;;
6074 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6075 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6077 if test "$USE_NLS" = "yes"; then
6078 gt_use_preinstalled_gnugettext=no
6081 if test $gt_api_version -ge 3; then
6082 gt_revision_test_code='[
6083 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6084 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6086 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6089 gt_revision_test_code=
6091 if test $gt_api_version -ge 2; then
6092 gt_expression_test_code=' + * ngettext ("", "", 0)'
6094 gt_expression_test_code=
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6098 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6099 if eval \${$gt_func_gnugettext_libc+:} false; then :
6100 $as_echo_n "(cached) " >&6
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <libintl.h>
6105 $gt_revision_test_code
6106 extern int _nl_msg_cat_cntr;
6107 extern int *_nl_domain_bindings;
6111 bindtextdomain ("", "");
6112 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6117 if ac_fn_c_try_link "$LINENO"; then :
6118 eval "$gt_func_gnugettext_libc=yes"
6120 eval "$gt_func_gnugettext_libc=no"
6122 rm -f core conftest.err conftest.$ac_objext \
6123 conftest$ac_exeext conftest.$ac_ext
6125 eval ac_res=\$$gt_func_gnugettext_libc
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6127 $as_echo "$ac_res" >&6; }
6129 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6135 am_save_CPPFLAGS="$CPPFLAGS"
6137 for element in $INCICONV; do
6139 for x in $CPPFLAGS; do
6141 acl_save_prefix="$prefix"
6142 prefix="$acl_final_prefix"
6143 acl_save_exec_prefix="$exec_prefix"
6144 exec_prefix="$acl_final_exec_prefix"
6146 exec_prefix="$acl_save_exec_prefix"
6147 prefix="$acl_save_prefix"
6149 if test "X$x" = "X$element"; then
6154 if test -z "$haveit"; then
6155 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6161 $as_echo_n "checking for iconv... " >&6; }
6162 if ${am_cv_func_iconv+:} false; then :
6163 $as_echo_n "(cached) " >&6
6166 am_cv_func_iconv="no, consider installing GNU libiconv"
6168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6169 /* end confdefs.h. */
6175 iconv_t cd = iconv_open("","");
6176 iconv(cd,NULL,NULL,NULL,NULL);
6182 if ac_fn_c_try_link "$LINENO"; then :
6183 am_cv_func_iconv=yes
6185 rm -f core conftest.err conftest.$ac_objext \
6186 conftest$ac_exeext conftest.$ac_ext
6187 if test "$am_cv_func_iconv" != yes; then
6188 am_save_LIBS="$LIBS"
6189 LIBS="$LIBS $LIBICONV"
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6197 iconv_t cd = iconv_open("","");
6198 iconv(cd,NULL,NULL,NULL,NULL);
6204 if ac_fn_c_try_link "$LINENO"; then :
6206 am_cv_func_iconv=yes
6208 rm -f core conftest.err conftest.$ac_objext \
6209 conftest$ac_exeext conftest.$ac_ext
6210 LIBS="$am_save_LIBS"
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6215 $as_echo "$am_cv_func_iconv" >&6; }
6216 if test "$am_cv_func_iconv" = yes; then
6218 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6221 if test "$am_cv_lib_iconv" = yes; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6223 $as_echo_n "checking how to link with libiconv... " >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6225 $as_echo "$LIBICONV" >&6; }
6227 CPPFLAGS="$am_save_CPPFLAGS"
6240 acl_save_prefix="$prefix"
6241 prefix="$acl_final_prefix"
6242 acl_save_exec_prefix="$exec_prefix"
6243 exec_prefix="$acl_final_exec_prefix"
6245 eval additional_includedir=\"$includedir\"
6246 eval additional_libdir=\"$libdir\"
6248 exec_prefix="$acl_save_exec_prefix"
6249 prefix="$acl_save_prefix"
6252 # Check whether --with-libintl-prefix was given.
6253 if test "${with_libintl_prefix+set}" = set; then :
6254 withval=$with_libintl_prefix;
6255 if test "X$withval" = "Xno"; then
6258 if test "X$withval" = "X"; then
6260 acl_save_prefix="$prefix"
6261 prefix="$acl_final_prefix"
6262 acl_save_exec_prefix="$exec_prefix"
6263 exec_prefix="$acl_final_exec_prefix"
6265 eval additional_includedir=\"$includedir\"
6266 eval additional_libdir=\"$libdir\"
6268 exec_prefix="$acl_save_exec_prefix"
6269 prefix="$acl_save_prefix"
6272 additional_includedir="$withval/include"
6273 additional_libdir="$withval/$acl_libdirstem"
6284 names_already_handled=
6285 names_next_round='intl '
6286 while test -n "$names_next_round"; do
6287 names_this_round="$names_next_round"
6289 for name in $names_this_round; do
6291 for n in $names_already_handled; do
6292 if test "$n" = "$name"; then
6297 if test -z "$already_handled"; then
6298 names_already_handled="$names_already_handled $name"
6299 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6300 eval value=\"\$HAVE_LIB$uppername\"
6301 if test -n "$value"; then
6302 if test "$value" = yes; then
6303 eval value=\"\$LIB$uppername\"
6304 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6305 eval value=\"\$LTLIB$uppername\"
6306 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6315 if test $use_additional = yes; then
6316 if test -n "$shlibext" \
6317 && { test -f "$additional_libdir/lib$name.$shlibext" \
6318 || { test "$shlibext" = dll \
6319 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
6320 found_dir="$additional_libdir"
6321 if test -f "$additional_libdir/lib$name.$shlibext"; then
6322 found_so="$additional_libdir/lib$name.$shlibext"
6324 found_so="$additional_libdir/lib$name.dll.a"
6326 if test -f "$additional_libdir/lib$name.la"; then
6327 found_la="$additional_libdir/lib$name.la"
6330 if test -f "$additional_libdir/lib$name.$libext"; then
6331 found_dir="$additional_libdir"
6332 found_a="$additional_libdir/lib$name.$libext"
6333 if test -f "$additional_libdir/lib$name.la"; then
6334 found_la="$additional_libdir/lib$name.la"
6339 if test "X$found_dir" = "X"; then
6340 for x in $LDFLAGS $LTLIBINTL; do
6342 acl_save_prefix="$prefix"
6343 prefix="$acl_final_prefix"
6344 acl_save_exec_prefix="$exec_prefix"
6345 exec_prefix="$acl_final_exec_prefix"
6347 exec_prefix="$acl_save_exec_prefix"
6348 prefix="$acl_save_prefix"
6352 dir=`echo "X$x" | sed -e 's/^X-L//'`
6353 if test -n "$shlibext" \
6354 && { test -f "$dir/lib$name.$shlibext" \
6355 || { test "$shlibext" = dll \
6356 && test -f "$dir/lib$name.dll.a"; }; }; then
6358 if test -f "$dir/lib$name.$shlibext"; then
6359 found_so="$dir/lib$name.$shlibext"
6361 found_so="$dir/lib$name.dll.a"
6363 if test -f "$dir/lib$name.la"; then
6364 found_la="$dir/lib$name.la"
6367 if test -f "$dir/lib$name.$libext"; then
6369 found_a="$dir/lib$name.$libext"
6370 if test -f "$dir/lib$name.la"; then
6371 found_la="$dir/lib$name.la"
6377 if test "X$found_dir" != "X"; then
6382 if test "X$found_dir" != "X"; then
6383 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6384 if test "X$found_so" != "X"; then
6385 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6386 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6389 for x in $ltrpathdirs; do
6390 if test "X$x" = "X$found_dir"; then
6395 if test -z "$haveit"; then
6396 ltrpathdirs="$ltrpathdirs $found_dir"
6398 if test "$hardcode_direct" = yes; then
6399 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6401 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
6402 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6404 for x in $rpathdirs; do
6405 if test "X$x" = "X$found_dir"; then
6410 if test -z "$haveit"; then
6411 rpathdirs="$rpathdirs $found_dir"
6415 for x in $LDFLAGS $LIBINTL; do
6417 acl_save_prefix="$prefix"
6418 prefix="$acl_final_prefix"
6419 acl_save_exec_prefix="$exec_prefix"
6420 exec_prefix="$acl_final_exec_prefix"
6422 exec_prefix="$acl_save_exec_prefix"
6423 prefix="$acl_save_prefix"
6425 if test "X$x" = "X-L$found_dir"; then
6430 if test -z "$haveit"; then
6431 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6433 if test "$hardcode_minus_L" != no; then
6434 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6436 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6442 if test "X$found_a" != "X"; then
6443 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6445 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6448 additional_includedir=
6449 case "$found_dir" in
6450 */$acl_libdirstem | */$acl_libdirstem/)
6451 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6452 additional_includedir="$basedir/include"
6455 if test "X$additional_includedir" != "X"; then
6456 if test "X$additional_includedir" != "X/usr/include"; then
6458 if test "X$additional_includedir" = "X/usr/local/include"; then
6459 if test -n "$GCC"; then
6461 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6465 if test -z "$haveit"; then
6466 for x in $CPPFLAGS $INCINTL; do
6468 acl_save_prefix="$prefix"
6469 prefix="$acl_final_prefix"
6470 acl_save_exec_prefix="$exec_prefix"
6471 exec_prefix="$acl_final_exec_prefix"
6473 exec_prefix="$acl_save_exec_prefix"
6474 prefix="$acl_save_prefix"
6476 if test "X$x" = "X-I$additional_includedir"; then
6481 if test -z "$haveit"; then
6482 if test -d "$additional_includedir"; then
6483 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6489 if test -n "$found_la"; then
6490 save_libdir="$libdir"
6492 */* | *\\*) . "$found_la" ;;
6493 *) . "./$found_la" ;;
6495 libdir="$save_libdir"
6496 for dep in $dependency_libs; do
6499 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6500 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6502 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6503 if test -n "$GCC"; then
6505 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6509 if test -z "$haveit"; then
6511 for x in $LDFLAGS $LIBINTL; do
6513 acl_save_prefix="$prefix"
6514 prefix="$acl_final_prefix"
6515 acl_save_exec_prefix="$exec_prefix"
6516 exec_prefix="$acl_final_exec_prefix"
6518 exec_prefix="$acl_save_exec_prefix"
6519 prefix="$acl_save_prefix"
6521 if test "X$x" = "X-L$additional_libdir"; then
6526 if test -z "$haveit"; then
6527 if test -d "$additional_libdir"; then
6528 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6532 for x in $LDFLAGS $LTLIBINTL; do
6534 acl_save_prefix="$prefix"
6535 prefix="$acl_final_prefix"
6536 acl_save_exec_prefix="$exec_prefix"
6537 exec_prefix="$acl_final_exec_prefix"
6539 exec_prefix="$acl_save_exec_prefix"
6540 prefix="$acl_save_prefix"
6542 if test "X$x" = "X-L$additional_libdir"; then
6547 if test -z "$haveit"; then
6548 if test -d "$additional_libdir"; then
6549 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6556 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6557 if test "$enable_rpath" != no; then
6559 for x in $rpathdirs; do
6560 if test "X$x" = "X$dir"; then
6565 if test -z "$haveit"; then
6566 rpathdirs="$rpathdirs $dir"
6569 for x in $ltrpathdirs; do
6570 if test "X$x" = "X$dir"; then
6575 if test -z "$haveit"; then
6576 ltrpathdirs="$ltrpathdirs $dir"
6581 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6584 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6587 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6588 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6594 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6595 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6601 if test "X$rpathdirs" != "X"; then
6602 if test -n "$hardcode_libdir_separator"; then
6604 for found_dir in $rpathdirs; do
6605 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6607 acl_save_libdir="$libdir"
6609 eval flag=\"$hardcode_libdir_flag_spec\"
6610 libdir="$acl_save_libdir"
6611 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6613 for found_dir in $rpathdirs; do
6614 acl_save_libdir="$libdir"
6616 eval flag=\"$hardcode_libdir_flag_spec\"
6617 libdir="$acl_save_libdir"
6618 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6622 if test "X$ltrpathdirs" != "X"; then
6623 for found_dir in $ltrpathdirs; do
6624 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6629 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6630 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6631 $as_echo_n "(cached) " >&6
6633 gt_save_CPPFLAGS="$CPPFLAGS"
6634 CPPFLAGS="$CPPFLAGS $INCINTL"
6635 gt_save_LIBS="$LIBS"
6636 LIBS="$LIBS $LIBINTL"
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 #include <libintl.h>
6640 $gt_revision_test_code
6641 extern int _nl_msg_cat_cntr;
6646 const char *_nl_expand_alias (const char *);
6650 bindtextdomain ("", "");
6651 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6656 if ac_fn_c_try_link "$LINENO"; then :
6657 eval "$gt_func_gnugettext_libintl=yes"
6659 eval "$gt_func_gnugettext_libintl=no"
6661 rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
6663 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6664 LIBS="$LIBS $LIBICONV"
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <libintl.h>
6668 $gt_revision_test_code
6669 extern int _nl_msg_cat_cntr;
6674 const char *_nl_expand_alias (const char *);
6678 bindtextdomain ("", "");
6679 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6684 if ac_fn_c_try_link "$LINENO"; then :
6685 LIBINTL="$LIBINTL $LIBICONV"
6686 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6687 eval "$gt_func_gnugettext_libintl=yes"
6690 rm -f core conftest.err conftest.$ac_objext \
6691 conftest$ac_exeext conftest.$ac_ext
6693 CPPFLAGS="$gt_save_CPPFLAGS"
6694 LIBS="$gt_save_LIBS"
6696 eval ac_res=\$$gt_func_gnugettext_libintl
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6698 $as_echo "$ac_res" >&6; }
6701 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6702 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6703 && test "$PACKAGE" != gettext-runtime \
6704 && test "$PACKAGE" != gettext-tools; }; then
6705 gt_use_preinstalled_gnugettext=yes
6714 if test -n "$INTL_MACOSX_LIBS"; then
6715 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6716 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6717 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6718 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6722 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6723 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6725 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6733 $as_echo_n "checking whether to use NLS... " >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6735 $as_echo "$USE_NLS" >&6; }
6736 if test "$USE_NLS" = "yes"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6738 $as_echo_n "checking where the gettext function comes from... " >&6; }
6739 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6740 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6741 gt_source="external libintl"
6746 gt_source="included intl directory"
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6749 $as_echo "$gt_source" >&6; }
6752 if test "$USE_NLS" = "yes"; then
6754 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6755 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6757 $as_echo_n "checking how to link with libintl... " >&6; }
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6759 $as_echo "$LIBINTL" >&6; }
6761 for element in $INCINTL; do
6763 for x in $CPPFLAGS; do
6765 acl_save_prefix="$prefix"
6766 prefix="$acl_final_prefix"
6767 acl_save_exec_prefix="$exec_prefix"
6768 exec_prefix="$acl_final_exec_prefix"
6770 exec_prefix="$acl_save_exec_prefix"
6771 prefix="$acl_save_prefix"
6773 if test "X$x" = "X$element"; then
6778 if test -z "$haveit"; then
6779 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6786 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6789 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6809 # Check whether --enable-schemas-compile was given.
6810 if test "${enable_schemas_compile+set}" = set; then :
6811 enableval=$enable_schemas_compile; case ${enableval} in
6812 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
6813 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
6814 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
6826 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6833 $as_echo_n "(cached) " >&6
6837 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6859 if test -n "$PKG_CONFIG"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6861 $as_echo "$PKG_CONFIG" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6869 if test -z "$ac_cv_path_PKG_CONFIG"; then
6870 ac_pt_PKG_CONFIG=$PKG_CONFIG
6871 # Extract the first word of "pkg-config", so it can be a program name with args.
6872 set dummy pkg-config; ac_word=$2
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 $as_echo_n "checking for $ac_word... " >&6; }
6875 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6876 $as_echo_n "(cached) " >&6
6878 case $ac_pt_PKG_CONFIG in
6880 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6887 test -z "$as_dir" && as_dir=.
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6890 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6901 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6902 if test -n "$ac_pt_PKG_CONFIG"; then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6904 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 $as_echo "no" >&6; }
6910 if test "x$ac_pt_PKG_CONFIG" = x; then
6913 case $cross_compiling:$ac_tool_warned in
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6917 ac_tool_warned=yes ;;
6919 PKG_CONFIG=$ac_pt_PKG_CONFIG
6922 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6926 if test -n "$PKG_CONFIG"; then
6927 _pkg_min_version=0.16
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6929 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6930 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6932 $as_echo "yes" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935 $as_echo "no" >&6; }
6939 gsettingsschemadir=${datadir}/glib-2.0/schemas
6941 if test x$cross_compiling != xyes; then
6942 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
6944 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
6945 set dummy glib-compile-schemas; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
6949 $as_echo_n "(cached) " >&6
6951 case $GLIB_COMPILE_SCHEMAS in
6953 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir=.
6961 for ac_exec_ext in '' $ac_executable_extensions; do
6962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6963 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
6975 if test -n "$GLIB_COMPILE_SCHEMAS"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
6977 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6986 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
6987 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
6993 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
6995 mostlyclean-am: clean-gsettings-schemas
6997 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
6999 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
7000 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
7002 all-am: $(gsettings_SCHEMAS:.xml=.valid)
7003 uninstall-am: uninstall-gsettings-schemas
7004 install-data-am: install-gsettings-schemas
7006 .SECONDARY: $(gsettings_SCHEMAS)
7008 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
7010 if test -n "$^"; then \
7011 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
7012 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
7013 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
7016 uninstall-gsettings-schemas:
7017 @$(NORMAL_UNINSTALL)
7018 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
7019 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
7020 test -n "$$files" || exit 0; \
7021 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
7022 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
7023 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
7025 clean-gsettings-schemas:
7026 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
7028 ifdef gsettings_ENUM_NAMESPACE
7029 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
7030 $(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 $@
7040 ############### common
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7044 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7045 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7046 $as_echo_n "(cached) " >&6
7048 ac_check_lib_save_LIBS=$LIBS
7049 LIBS="-lpthread $LIBS"
7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 /* end confdefs.h. */
7053 /* Override any GCC internal prototype to avoid an error.
7054 Use char because int might match the return type of a GCC
7055 builtin and then its argument prototype would still apply. */
7059 char pthread_create ();
7063 return pthread_create ();
7068 if ac_fn_c_try_link "$LINENO"; then :
7069 ac_cv_lib_pthread_pthread_create=yes
7071 ac_cv_lib_pthread_pthread_create=no
7073 rm -f core conftest.err conftest.$ac_objext \
7074 conftest$ac_exeext conftest.$ac_ext
7075 LIBS=$ac_check_lib_save_LIBS
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7078 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7079 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7080 cat >>confdefs.h <<_ACEOF
7081 #define HAVE_LIBPTHREAD 1
7084 LIBS="-lpthread $LIBS"
7088 PTHREAD_LIBS=-pthread
7091 # Checks sensors, required by psensor and psensor-server
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7093 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7094 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7095 $as_echo_n "(cached) " >&6
7097 ac_check_lib_save_LIBS=$LIBS
7098 LIBS="-lsensors $LIBS"
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7102 /* Override any GCC internal prototype to avoid an error.
7103 Use char because int might match the return type of a GCC
7104 builtin and then its argument prototype would still apply. */
7108 char sensors_init ();
7112 return sensors_init ();
7117 if ac_fn_c_try_link "$LINENO"; then :
7118 ac_cv_lib_sensors_sensors_init=yes
7120 ac_cv_lib_sensors_sensors_init=no
7122 rm -f core conftest.err conftest.$ac_objext \
7123 conftest$ac_exeext conftest.$ac_ext
7124 LIBS=$ac_check_lib_save_LIBS
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7127 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7128 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7129 SENSORS_LIBS=-lsensors
7131 $as_echo "#define HAVE_LIBSENSORS 1" >>confdefs.h
7135 for ac_header in sensors/sensors.h sensors/error.h
7137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7138 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7139 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7148 if test -n "$SENSORS_LIBS"; then
7158 ############### psensor
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7165 $as_echo_n "checking for X11... " >&6; }
7167 if test -n "$X11_CFLAGS"; then
7168 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7169 elif test -n "$PKG_CONFIG"; then
7170 if test -n "$PKG_CONFIG" && \
7171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7172 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7175 test $ac_status = 0; }; then
7176 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7177 test "x$?" != "x0" && pkg_failed=yes
7184 if test -n "$X11_LIBS"; then
7185 pkg_cv_X11_LIBS="$X11_LIBS"
7186 elif test -n "$PKG_CONFIG"; then
7187 if test -n "$PKG_CONFIG" && \
7188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7189 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7192 test $ac_status = 0; }; then
7193 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7194 test "x$?" != "x0" && pkg_failed=yes
7204 if test $pkg_failed = yes; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7209 _pkg_short_errors_supported=yes
7211 _pkg_short_errors_supported=no
7213 if test $_pkg_short_errors_supported = yes; then
7214 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7216 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7218 # Put the nasty error message in config.log where it belongs
7219 echo "$X11_PKG_ERRORS" >&5
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7222 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7223 elif test $pkg_failed = untried; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7227 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7229 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7230 X11_LIBS=$pkg_cv_X11_LIBS
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7232 $as_echo "yes" >&6; }
7235 if test -n "$X11_LIBS"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7249 $as_echo_n "checking for XEXT... " >&6; }
7251 if test -n "$XEXT_CFLAGS"; then
7252 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7253 elif test -n "$PKG_CONFIG"; then
7254 if test -n "$PKG_CONFIG" && \
7255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7256 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7259 test $ac_status = 0; }; then
7260 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7261 test "x$?" != "x0" && pkg_failed=yes
7268 if test -n "$XEXT_LIBS"; then
7269 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7270 elif test -n "$PKG_CONFIG"; then
7271 if test -n "$PKG_CONFIG" && \
7272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7273 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7276 test $ac_status = 0; }; then
7277 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7278 test "x$?" != "x0" && pkg_failed=yes
7288 if test $pkg_failed = yes; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7293 _pkg_short_errors_supported=yes
7295 _pkg_short_errors_supported=no
7297 if test $_pkg_short_errors_supported = yes; then
7298 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7300 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7302 # Put the nasty error message in config.log where it belongs
7303 echo "$XEXT_PKG_ERRORS" >&5
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7306 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7307 elif test $pkg_failed = untried; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7309 $as_echo "no" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7311 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7313 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7314 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7316 $as_echo "yes" >&6; }
7319 if test -n "$XEXT_LIBS"; then
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7334 $as_echo_n "checking for GTK... " >&6; }
7336 if test -n "$GTK_CFLAGS"; then
7337 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7338 elif test -n "$PKG_CONFIG"; then
7339 if test -n "$PKG_CONFIG" && \
7340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7341 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7344 test $ac_status = 0; }; then
7345 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.4" 2>/dev/null`
7346 test "x$?" != "x0" && pkg_failed=yes
7353 if test -n "$GTK_LIBS"; then
7354 pkg_cv_GTK_LIBS="$GTK_LIBS"
7355 elif test -n "$PKG_CONFIG"; then
7356 if test -n "$PKG_CONFIG" && \
7357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5
7358 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5
7360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7361 test $ac_status = 0; }; then
7362 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.4" 2>/dev/null`
7363 test "x$?" != "x0" && pkg_failed=yes
7373 if test $pkg_failed = yes; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 $as_echo "no" >&6; }
7377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7378 _pkg_short_errors_supported=yes
7380 _pkg_short_errors_supported=no
7382 if test $_pkg_short_errors_supported = yes; then
7383 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7385 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1`
7387 # Put the nasty error message in config.log where it belongs
7388 echo "$GTK_PKG_ERRORS" >&5
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7391 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7392 elif test $pkg_failed = untried; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
7396 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
7398 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7399 GTK_LIBS=$pkg_cv_GTK_LIBS
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7401 $as_echo "yes" >&6; }
7404 if test -n "$GTK_LIBS"; then
7412 # ensure that only allowed headers are included
7413 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
7414 # ensure that no gtk/dk deprecated symbols are used
7415 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
7416 # do not enable flag because GtkStatusIcon is deprecated
7417 #GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
7418 # ensure use of accessors
7419 GTK_CFLAGS+=" -DGSEAL_ENABLE "
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDISKS2" >&5
7427 $as_echo_n "checking for LIBUDISKS2... " >&6; }
7429 if test -n "$LIBUDISKS2_CFLAGS"; then
7430 pkg_cv_LIBUDISKS2_CFLAGS="$LIBUDISKS2_CFLAGS"
7431 elif test -n "$PKG_CONFIG"; then
7432 if test -n "$PKG_CONFIG" && \
7433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7434 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7437 test $ac_status = 0; }; then
7438 pkg_cv_LIBUDISKS2_CFLAGS=`$PKG_CONFIG --cflags "udisks2" 2>/dev/null`
7439 test "x$?" != "x0" && pkg_failed=yes
7446 if test -n "$LIBUDISKS2_LIBS"; then
7447 pkg_cv_LIBUDISKS2_LIBS="$LIBUDISKS2_LIBS"
7448 elif test -n "$PKG_CONFIG"; then
7449 if test -n "$PKG_CONFIG" && \
7450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udisks2\""; } >&5
7451 ($PKG_CONFIG --exists --print-errors "udisks2") 2>&5
7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7454 test $ac_status = 0; }; then
7455 pkg_cv_LIBUDISKS2_LIBS=`$PKG_CONFIG --libs "udisks2" 2>/dev/null`
7456 test "x$?" != "x0" && pkg_failed=yes
7466 if test $pkg_failed = yes; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7471 _pkg_short_errors_supported=yes
7473 _pkg_short_errors_supported=no
7475 if test $_pkg_short_errors_supported = yes; then
7476 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udisks2" 2>&1`
7478 LIBUDISKS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "udisks2" 2>&1`
7480 # Put the nasty error message in config.log where it belongs
7481 echo "$LIBUDISKS2_PKG_ERRORS" >&5
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7484 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7485 elif test $pkg_failed = untried; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library udisks2 not present\"" >&5
7489 $as_echo "$as_me: WARNING: \"Library udisks2 not present\"" >&2;}
7491 LIBUDISKS2_CFLAGS=$pkg_cv_LIBUDISKS2_CFLAGS
7492 LIBUDISKS2_LIBS=$pkg_cv_LIBUDISKS2_LIBS
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7494 $as_echo "yes" >&6; }
7496 $as_echo "#define HAVE_LIBUDISKS2 1" >>confdefs.h
7499 if test -n "$LIBUDISKS2_LIBS"; then
7501 LIBUDISKS2_FALSE='#'
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
7514 $as_echo_n "checking for ATASMART... " >&6; }
7516 if test -n "$ATASMART_CFLAGS"; then
7517 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
7518 elif test -n "$PKG_CONFIG"; then
7519 if test -n "$PKG_CONFIG" && \
7520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7521 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7524 test $ac_status = 0; }; then
7525 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
7526 test "x$?" != "x0" && pkg_failed=yes
7533 if test -n "$ATASMART_LIBS"; then
7534 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
7535 elif test -n "$PKG_CONFIG"; then
7536 if test -n "$PKG_CONFIG" && \
7537 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
7538 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
7540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7541 test $ac_status = 0; }; then
7542 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
7543 test "x$?" != "x0" && pkg_failed=yes
7553 if test $pkg_failed = yes; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7558 _pkg_short_errors_supported=yes
7560 _pkg_short_errors_supported=no
7562 if test $_pkg_short_errors_supported = yes; then
7563 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
7565 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
7567 # Put the nasty error message in config.log where it belongs
7568 echo "$ATASMART_PKG_ERRORS" >&5
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7571 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7572 elif test $pkg_failed = untried; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
7576 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
7578 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
7579 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7581 $as_echo "yes" >&6; }
7583 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
7587 if test -n "$ATASMART_LIBS"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7603 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7605 if test -n "$LIBNOTIFY_CFLAGS"; then
7606 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7607 elif test -n "$PKG_CONFIG"; then
7608 if test -n "$PKG_CONFIG" && \
7609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7610 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7613 test $ac_status = 0; }; then
7614 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7615 test "x$?" != "x0" && pkg_failed=yes
7622 if test -n "$LIBNOTIFY_LIBS"; then
7623 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7624 elif test -n "$PKG_CONFIG"; then
7625 if test -n "$PKG_CONFIG" && \
7626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7627 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7630 test $ac_status = 0; }; then
7631 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7632 test "x$?" != "x0" && pkg_failed=yes
7642 if test $pkg_failed = yes; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7647 _pkg_short_errors_supported=yes
7649 _pkg_short_errors_supported=no
7651 if test $_pkg_short_errors_supported = yes; then
7652 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7654 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7656 # Put the nasty error message in config.log where it belongs
7657 echo "$LIBNOTIFY_PKG_ERRORS" >&5
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7660 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7661 elif test $pkg_failed = untried; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7665 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7667 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7668 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7670 $as_echo "yes" >&6; }
7672 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7675 if test -n "$LIBNOTIFY_LIBS"; then
7686 # Checks AppIndicator
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7691 $as_echo_n "checking for APPINDICATOR... " >&6; }
7693 if test -n "$APPINDICATOR_CFLAGS"; then
7694 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7695 elif test -n "$PKG_CONFIG"; then
7696 if test -n "$PKG_CONFIG" && \
7697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7698 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7701 test $ac_status = 0; }; then
7702 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7703 test "x$?" != "x0" && pkg_failed=yes
7710 if test -n "$APPINDICATOR_LIBS"; then
7711 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7712 elif test -n "$PKG_CONFIG"; then
7713 if test -n "$PKG_CONFIG" && \
7714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7715 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7718 test $ac_status = 0; }; then
7719 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7720 test "x$?" != "x0" && pkg_failed=yes
7730 if test $pkg_failed = yes; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732 $as_echo "no" >&6; }
7734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7735 _pkg_short_errors_supported=yes
7737 _pkg_short_errors_supported=no
7739 if test $_pkg_short_errors_supported = yes; then
7740 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7742 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7744 # Put the nasty error message in config.log where it belongs
7745 echo "$APPINDICATOR_PKG_ERRORS" >&5
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7748 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7749 elif test $pkg_failed = untried; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7753 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7755 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7756 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7758 $as_echo "yes" >&6; }
7760 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7763 if test -n "$APPINDICATOR_LIBS"; then
7765 APPINDICATOR_FALSE='#'
7767 APPINDICATOR_TRUE='#'
7774 # Check CURL, needed for remote monitoring
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7779 $as_echo_n "checking for CURL... " >&6; }
7781 if test -n "$CURL_CFLAGS"; then
7782 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7783 elif test -n "$PKG_CONFIG"; then
7784 if test -n "$PKG_CONFIG" && \
7785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7786 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7789 test $ac_status = 0; }; then
7790 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7791 test "x$?" != "x0" && pkg_failed=yes
7798 if test -n "$CURL_LIBS"; then
7799 pkg_cv_CURL_LIBS="$CURL_LIBS"
7800 elif test -n "$PKG_CONFIG"; then
7801 if test -n "$PKG_CONFIG" && \
7802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7803 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7806 test $ac_status = 0; }; then
7807 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7808 test "x$?" != "x0" && pkg_failed=yes
7818 if test $pkg_failed = yes; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7820 $as_echo "no" >&6; }
7822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7823 _pkg_short_errors_supported=yes
7825 _pkg_short_errors_supported=no
7827 if test $_pkg_short_errors_supported = yes; then
7828 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
7830 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
7832 # Put the nasty error message in config.log where it belongs
7833 echo "$CURL_PKG_ERRORS" >&5
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7836 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7837 elif test $pkg_failed = untried; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
7841 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
7843 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
7844 CURL_LIBS=$pkg_cv_CURL_LIBS
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7846 $as_echo "yes" >&6; }
7848 $as_echo "#define HAVE_CURL 1" >>confdefs.h
7851 if test -n "$CURL_LIBS"; then
7862 # Check JSON, needed for remote monitoring
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7867 $as_echo_n "checking for JSON... " >&6; }
7869 if test -n "$JSON_CFLAGS"; then
7870 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7871 elif test -n "$PKG_CONFIG"; then
7872 if test -n "$PKG_CONFIG" && \
7873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
7874 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
7876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7877 test $ac_status = 0; }; then
7878 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c >= 0.11.99" 2>/dev/null`
7879 test "x$?" != "x0" && pkg_failed=yes
7886 if test -n "$JSON_LIBS"; then
7887 pkg_cv_JSON_LIBS="$JSON_LIBS"
7888 elif test -n "$PKG_CONFIG"; then
7889 if test -n "$PKG_CONFIG" && \
7890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11.99\""; } >&5
7891 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11.99") 2>&5
7893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7894 test $ac_status = 0; }; then
7895 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c >= 0.11.99" 2>/dev/null`
7896 test "x$?" != "x0" && pkg_failed=yes
7906 if test $pkg_failed = yes; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7910 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7911 _pkg_short_errors_supported=yes
7913 _pkg_short_errors_supported=no
7915 if test $_pkg_short_errors_supported = yes; then
7916 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
7918 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11.99" 2>&1`
7920 # Put the nasty error message in config.log where it belongs
7921 echo "$JSON_PKG_ERRORS" >&5
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7924 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7925 elif test $pkg_failed = untried; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
7929 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
7931 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7932 JSON_LIBS=$pkg_cv_JSON_LIBS
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7934 $as_echo "yes" >&6; }
7936 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7940 if test "$JSON_LIBS" == ""; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
7944 $as_echo_n "checking for JSON... " >&6; }
7946 if test -n "$JSON_CFLAGS"; then
7947 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
7948 elif test -n "$PKG_CONFIG"; then
7949 if test -n "$PKG_CONFIG" && \
7950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
7951 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
7953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7954 test $ac_status = 0; }; then
7955 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json >= 0.11.99" 2>/dev/null`
7956 test "x$?" != "x0" && pkg_failed=yes
7963 if test -n "$JSON_LIBS"; then
7964 pkg_cv_JSON_LIBS="$JSON_LIBS"
7965 elif test -n "$PKG_CONFIG"; then
7966 if test -n "$PKG_CONFIG" && \
7967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json >= 0.11.99\""; } >&5
7968 ($PKG_CONFIG --exists --print-errors "json >= 0.11.99") 2>&5
7970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7971 test $ac_status = 0; }; then
7972 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json >= 0.11.99" 2>/dev/null`
7973 test "x$?" != "x0" && pkg_failed=yes
7983 if test $pkg_failed = yes; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985 $as_echo "no" >&6; }
7987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7988 _pkg_short_errors_supported=yes
7990 _pkg_short_errors_supported=no
7992 if test $_pkg_short_errors_supported = yes; then
7993 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
7995 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json >= 0.11.99" 2>&1`
7997 # Put the nasty error message in config.log where it belongs
7998 echo "$JSON_PKG_ERRORS" >&5
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8001 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8002 elif test $pkg_failed = untried; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8006 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8008 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8009 JSON_LIBS=$pkg_cv_JSON_LIBS
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8011 $as_echo "yes" >&6; }
8013 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8016 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8021 if test -n "$JSON_LIBS"; then
8032 # Enables remote monitoring if JSON and CURL is present
8033 if test -n "$JSON_LIBS"; then
8034 if test -n "$CURL_LIBS"; then
8036 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8042 # following code from sensors-applet
8043 # sensors-applet.sourceforge.net/
8044 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8047 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8048 #include <X11/Xlib.h>
8051 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8052 cat >>confdefs.h <<_ACEOF
8053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8060 if test -n "${X11_LIBS}"; then
8061 LIBS="${LIBS} -lX11 -lXext"
8063 if test "${HAVE_NVIDIA}" = "true"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8065 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8066 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8067 $as_echo_n "(cached) " >&6
8069 ac_check_lib_save_LIBS=$LIBS
8070 LIBS="-lXNVCtrl $LIBS"
8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8074 /* Override any GCC internal prototype to avoid an error.
8075 Use char because int might match the return type of a GCC
8076 builtin and then its argument prototype would still apply. */
8080 char XNVCTRLQueryExtension ();
8084 return XNVCTRLQueryExtension ();
8089 if ac_fn_c_try_link "$LINENO"; then :
8090 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8092 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8094 rm -f core conftest.err conftest.$ac_objext \
8095 conftest$ac_exeext conftest.$ac_ext
8096 LIBS=$ac_check_lib_save_LIBS
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8099 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8100 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8101 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8103 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8110 if test -n "$NVIDIA_LIBS"; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8125 $as_echo_n "checking for UNITY... " >&6; }
8127 if test -n "$UNITY_CFLAGS"; then
8128 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8129 elif test -n "$PKG_CONFIG"; then
8130 if test -n "$PKG_CONFIG" && \
8131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8132 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8135 test $ac_status = 0; }; then
8136 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8137 test "x$?" != "x0" && pkg_failed=yes
8144 if test -n "$UNITY_LIBS"; then
8145 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8146 elif test -n "$PKG_CONFIG"; then
8147 if test -n "$PKG_CONFIG" && \
8148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8149 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8152 test $ac_status = 0; }; then
8153 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8154 test "x$?" != "x0" && pkg_failed=yes
8164 if test $pkg_failed = yes; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8169 _pkg_short_errors_supported=yes
8171 _pkg_short_errors_supported=no
8173 if test $_pkg_short_errors_supported = yes; then
8174 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8176 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8178 # Put the nasty error message in config.log where it belongs
8179 echo "$UNITY_PKG_ERRORS" >&5
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8182 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8183 elif test $pkg_failed = untried; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8187 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8189 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8190 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8192 $as_echo "yes" >&6; }
8194 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8199 if test -n "$UNITY_LIBS"; then
8210 # Check whether --with-libatiadl was given.
8211 if test "${with_libatiadl+set}" = set; then :
8212 withval=$with_libatiadl;
8213 ATIADL_DIR=${withval}
8214 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8215 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8221 for ac_header in adl_defines.h
8223 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8225 cat >>confdefs.h <<_ACEOF
8226 #define HAVE_ADL_DEFINES_H 1
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8229 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8230 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8231 $as_echo_n "(cached) " >&6
8233 ac_check_lib_save_LIBS=$LIBS
8234 LIBS="-latiadlxx $LIBS"
8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8238 /* Override any GCC internal prototype to avoid an error.
8239 Use char because int might match the return type of a GCC
8240 builtin and then its argument prototype would still apply. */
8244 char ADL_Main_Control_Refresh ();
8248 return ADL_Main_Control_Refresh ();
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8256 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 LIBS=$ac_check_lib_save_LIBS
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8263 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8264 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8267 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8269 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8270 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8279 if test -n "$LIBATIADL_LIBS"; then
8290 ############### psensor-server
8292 # Check libmicrohttpd, mandatory for psensor-server
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8297 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8299 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8300 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8301 elif test -n "$PKG_CONFIG"; then
8302 if test -n "$PKG_CONFIG" && \
8303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8304 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8307 test $ac_status = 0; }; then
8308 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8309 test "x$?" != "x0" && pkg_failed=yes
8316 if test -n "$LIBMICROHTTPD_LIBS"; then
8317 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8318 elif test -n "$PKG_CONFIG"; then
8319 if test -n "$PKG_CONFIG" && \
8320 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8321 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8324 test $ac_status = 0; }; then
8325 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8326 test "x$?" != "x0" && pkg_failed=yes
8336 if test $pkg_failed = yes; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8341 _pkg_short_errors_supported=yes
8343 _pkg_short_errors_supported=no
8345 if test $_pkg_short_errors_supported = yes; then
8346 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8348 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8350 # Put the nasty error message in config.log where it belongs
8351 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8354 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8355 elif test $pkg_failed = untried; then
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8357 $as_echo "no" >&6; }
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8359 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8361 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8362 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8364 $as_echo "yes" >&6; }
8366 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8369 if test -n "$LIBMICROHTTPD_LIBS"; then
8371 LIBMICROHTTPD_FALSE='#'
8373 LIBMICROHTTPD_TRUE='#'
8374 LIBMICROHTTPD_FALSE=
8380 # Check gtop2, optional
8382 # Check whether --with-gtop was given.
8383 if test "${with_gtop+set}" = set; then :
8394 if test "$with_gtop" = "yes"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8398 $as_echo_n "checking for GTOP... " >&6; }
8400 if test -n "$GTOP_CFLAGS"; then
8401 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8402 elif test -n "$PKG_CONFIG"; then
8403 if test -n "$PKG_CONFIG" && \
8404 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8405 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8408 test $ac_status = 0; }; then
8409 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8410 test "x$?" != "x0" && pkg_failed=yes
8417 if test -n "$GTOP_LIBS"; then
8418 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8419 elif test -n "$PKG_CONFIG"; then
8420 if test -n "$PKG_CONFIG" && \
8421 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8422 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8425 test $ac_status = 0; }; then
8426 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8427 test "x$?" != "x0" && pkg_failed=yes
8437 if test $pkg_failed = yes; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8442 _pkg_short_errors_supported=yes
8444 _pkg_short_errors_supported=no
8446 if test $_pkg_short_errors_supported = yes; then
8447 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8449 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8451 # Put the nasty error message in config.log where it belongs
8452 echo "$GTOP_PKG_ERRORS" >&5
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8455 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8456 elif test $pkg_failed = untried; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8460 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8462 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8463 GTOP_LIBS=$pkg_cv_GTOP_LIBS
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8465 $as_echo "yes" >&6; }
8467 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8471 if test -n "$GTOP_LIBS"; then
8482 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"
8485 for ac_prog in help2man
8487 # Extract the first word of "$ac_prog", so it can be a program name with args.
8488 set dummy $ac_prog; ac_word=$2
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8490 $as_echo_n "checking for $ac_word... " >&6; }
8491 if ${ac_cv_prog_HELP2MAN+:} false; then :
8492 $as_echo_n "(cached) " >&6
8494 if test -n "$HELP2MAN"; then
8495 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir=.
8502 for ac_exec_ext in '' $ac_executable_extensions; do
8503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8504 ac_cv_prog_HELP2MAN="$ac_prog"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 HELP2MAN=$ac_cv_prog_HELP2MAN
8515 if test -n "$HELP2MAN"; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8517 $as_echo "$HELP2MAN" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8520 $as_echo "no" >&6; }
8524 test -n "$HELP2MAN" && break
8528 # Extract the first word of "asciidoc", so it can be a program name with args.
8529 set dummy asciidoc; ac_word=$2
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8531 $as_echo_n "checking for $ac_word... " >&6; }
8532 if ${ac_cv_prog_ASCIIDOC+:} false; then :
8533 $as_echo_n "(cached) " >&6
8535 if test -n "$ASCIIDOC"; then
8536 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
8538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8542 test -z "$as_dir" && as_dir=.
8543 for ac_exec_ext in '' $ac_executable_extensions; do
8544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8545 ac_cv_prog_ASCIIDOC="yes"
8546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8555 ASCIIDOC=$ac_cv_prog_ASCIIDOC
8556 if test -n "$ASCIIDOC"; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
8558 $as_echo "$ASCIIDOC" >&6; }
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8565 if test -n "$ASCIIDOC"; then
8574 # Extract the first word of "cppcheck", so it can be a program name with args.
8575 set dummy cppcheck; ac_word=$2
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8577 $as_echo_n "checking for $ac_word... " >&6; }
8578 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
8579 $as_echo_n "(cached) " >&6
8581 if test -n "$HAVE_CPPCHECK"; then
8582 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
8584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8588 test -z "$as_dir" && as_dir=.
8589 for ac_exec_ext in '' $ac_executable_extensions; do
8590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8591 ac_cv_prog_HAVE_CPPCHECK="yes"
8592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8601 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
8602 if test -n "$HAVE_CPPCHECK"; then
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
8604 $as_echo "$HAVE_CPPCHECK" >&6; }
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8607 $as_echo "no" >&6; }
8611 if test -n "$HAVE_CPPCHECK"; then
8620 cat >confcache <<\_ACEOF
8621 # This file is a shell script that caches the results of configure
8622 # tests run on this system so they can be shared between configure
8623 # scripts and configure runs, see configure's option --config-cache.
8624 # It is not useful on other systems. If it contains results you don't
8625 # want to keep, you may remove or edit it.
8627 # config.status only pays attention to the cache file if you give it
8628 # the --recheck option to rerun configure.
8630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8636 # The following way of writing the cache mishandles newlines in values,
8637 # but we know of no workaround that is simple, portable, and efficient.
8638 # So, we kill variables containing newlines.
8639 # Ultrix sh set writes to stderr and can't be redirected directly,
8640 # and sets the high bit in the cache file unless we assign to the vars.
8642 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8643 eval ac_val=\$$ac_var
8647 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8651 _ | IFS | as_nl) ;; #(
8652 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8653 *) { eval $ac_var=; unset $ac_var;} ;;
8659 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8660 *${as_nl}ac_space=\ *)
8661 # `set' does not quote correctly, so add quotes: double-quote
8662 # substitution turns \\\\ into \\, and sed turns \\ into \.
8665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8668 # `set' quotes correctly as required by POSIX, so do not add quotes.
8669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8680 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8682 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8683 if test -w "$cache_file"; then
8684 if test "x$cache_file" != "x/dev/null"; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8686 $as_echo "$as_me: updating cache $cache_file" >&6;}
8687 if test ! -f "$cache_file" || test -h "$cache_file"; then
8688 cat confcache >"$cache_file"
8690 case $cache_file in #(
8692 mv -f confcache "$cache_file"$$ &&
8693 mv -f "$cache_file"$$ "$cache_file" ;; #(
8695 mv -f confcache "$cache_file" ;;
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8701 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8706 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8707 # Let make expand exec_prefix.
8708 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8710 DEFS=-DHAVE_CONFIG_H
8715 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8716 # 1. Remove the extension, and $U if already installed.
8717 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8718 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8719 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8720 # will be set to the directory where LIBOBJS objects are built.
8721 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8722 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8726 LTLIBOBJS=$ac_ltlibobjs
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8730 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8731 if test -n "$am_sleep_pid"; then
8732 # Hide warnings about reused PIDs.
8733 wait $am_sleep_pid 2>/dev/null
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8736 $as_echo "done" >&6; }
8737 if test -n "$EXEEXT"; then
8739 am__EXEEXT_FALSE='#'
8745 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8746 as_fn_error $? "conditional \"AMDEP\" was never defined.
8747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8749 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8750 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8753 if test -z "${SENSORS_TRUE}" && test -z "${SENSORS_FALSE}"; then
8754 as_fn_error $? "conditional \"SENSORS\" was never defined.
8755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8757 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
8758 as_fn_error $? "conditional \"X11\" was never defined.
8759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8761 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
8762 as_fn_error $? "conditional \"XEXT\" was never defined.
8763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8765 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8766 as_fn_error $? "conditional \"GTK\" was never defined.
8767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8769 if test -z "${LIBUDISKS2_TRUE}" && test -z "${LIBUDISKS2_FALSE}"; then
8770 as_fn_error $? "conditional \"LIBUDISKS2\" was never defined.
8771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8773 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
8774 as_fn_error $? "conditional \"ATASMART\" was never defined.
8775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8777 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8778 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8781 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8782 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8785 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8786 as_fn_error $? "conditional \"CURL\" was never defined.
8787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8789 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8790 as_fn_error $? "conditional \"JSON\" was never defined.
8791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8793 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8794 as_fn_error $? "conditional \"NVIDIA\" was never defined.
8795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8797 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8798 as_fn_error $? "conditional \"UNITY\" was never defined.
8799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8801 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
8802 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8805 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8806 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8809 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8810 as_fn_error $? "conditional \"GTOP\" was never defined.
8811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8813 if test -z "${ASCIIDOC_TRUE}" && test -z "${ASCIIDOC_FALSE}"; then
8814 as_fn_error $? "conditional \"ASCIIDOC\" was never defined.
8815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8817 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
8818 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
8819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8822 : "${CONFIG_STATUS=./config.status}"
8824 ac_clean_files_save=$ac_clean_files
8825 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8827 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8829 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8831 # Generated by $as_me.
8832 # Run this file to recreate the current configuration.
8833 # Compiler output produced by configure, useful for debugging
8834 # configure, is in config.log if it exists.
8840 SHELL=\${CONFIG_SHELL-$SHELL}
8843 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8844 ## -------------------- ##
8845 ## M4sh Initialization. ##
8846 ## -------------------- ##
8848 # Be more Bourne compatible
8849 DUALCASE=1; export DUALCASE # for MKS sh
8850 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8853 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8854 # is contrary to our usage. Disable this feature.
8855 alias -g '${1+"$@"}'='"$@"'
8856 setopt NO_GLOB_SUBST
8858 case `(set -o) 2>/dev/null` in #(
8870 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8871 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8872 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8874 # Prefer a ksh shell builtin over an external printf program on Solaris,
8875 # but without wasting forks for bash or zsh.
8876 if test -z "$BASH_VERSION$ZSH_VERSION" \
8877 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8878 as_echo='print -r --'
8879 as_echo_n='print -rn --'
8880 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8881 as_echo='printf %s\n'
8882 as_echo_n='printf %s'
8884 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8885 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8886 as_echo_n='/usr/ucb/echo -n'
8888 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8889 as_echo_n_body='eval
8893 expr "X$arg" : "X\\(.*\\)$as_nl";
8894 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8896 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8898 export as_echo_n_body
8899 as_echo_n='sh -c $as_echo_n_body as_echo'
8902 as_echo='sh -c $as_echo_body as_echo'
8905 # The user is always right.
8906 if test "${PATH_SEPARATOR+set}" != set; then
8908 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8909 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8916 # We need space, tab and new line, in precisely that order. Quoting is
8917 # there to prevent editors from complaining about space-tab.
8918 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8919 # splitting by setting IFS to empty value.)
8922 # Find who we are. Look in the path if we contain no directory separator.
8925 *[\\/]* ) as_myself=$0 ;;
8926 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 test -z "$as_dir" && as_dir=.
8931 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8937 # We did not find ourselves, most probably we were run as `sh COMMAND'
8938 # in which case we are not to be found in the path.
8939 if test "x$as_myself" = x; then
8942 if test ! -f "$as_myself"; then
8943 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8947 # Unset variables that we do not need and which cause bugs (e.g. in
8948 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8949 # suppresses any "Segmentation fault" message there. '((' could
8950 # trigger a bug in pdksh 5.2.14.
8951 for as_var in BASH_ENV ENV MAIL MAILPATH
8952 do eval test x\${$as_var+set} = xset \
8953 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8966 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8969 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8970 # ----------------------------------------
8971 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8972 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8973 # script with STATUS, using 1 if that was 0.
8976 as_status=$1; test $as_status -eq 0 && as_status=1
8978 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8979 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8981 $as_echo "$as_me: error: $2" >&2
8982 as_fn_exit $as_status
8986 # as_fn_set_status STATUS
8987 # -----------------------
8988 # Set $? to STATUS, without forking.
8992 } # as_fn_set_status
8996 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9006 # Portably unset VAR.
9009 { eval $1=; unset $1;}
9011 as_unset=as_fn_unset
9012 # as_fn_append VAR VALUE
9013 # ----------------------
9014 # Append the text in VALUE to the end of the definition contained in VAR. Take
9015 # advantage of any shell optimizations that allow amortized linear growth over
9016 # repeated appends, instead of the typical quadratic growth present in naive
9018 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9019 eval 'as_fn_append ()
9030 # as_fn_arith ARG...
9031 # ------------------
9032 # Perform arithmetic evaluation on the ARGs, and store the result in the
9033 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9034 # must be portable across $(()) and expr.
9035 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9036 eval 'as_fn_arith ()
9043 as_val=`expr "$@" || test $? -eq 1`
9048 if expr a : '\(a\)' >/dev/null 2>&1 &&
9049 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9055 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9056 as_basename=basename
9061 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9067 as_me=`$as_basename -- "$0" ||
9068 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9069 X"$0" : 'X\(//\)$' \| \
9070 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9072 sed '/^.*\/\([^/][^/]*\)\/*$/{
9086 # Avoid depending upon Character Ranges.
9087 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9088 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9089 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9090 as_cr_digits='0123456789'
9091 as_cr_alnum=$as_cr_Letters$as_cr_digits
9093 ECHO_C= ECHO_N= ECHO_T=
9094 case `echo -n x` in #(((((
9096 case `echo 'xy\c'` in
9097 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9099 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9106 rm -f conf$$ conf$$.exe conf$$.file
9107 if test -d conf$$.dir; then
9108 rm -f conf$$.dir/conf$$.file
9111 mkdir conf$$.dir 2>/dev/null
9113 if (echo >conf$$.file) 2>/dev/null; then
9114 if ln -s conf$$.file conf$$ 2>/dev/null; then
9116 # ... but there are two gotchas:
9117 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9118 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9119 # In both cases, we have to default to `cp -pR'.
9120 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9122 elif ln conf$$.file conf$$ 2>/dev/null; then
9130 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9131 rmdir conf$$.dir 2>/dev/null
9136 # Create "$as_dir" as a directory, including parents if necessary.
9141 -*) as_dir=./$as_dir;;
9143 test -d "$as_dir" || eval $as_mkdir_p || {
9147 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9148 *) as_qdir=$as_dir;;
9150 as_dirs="'$as_qdir' $as_dirs"
9151 as_dir=`$as_dirname -- "$as_dir" ||
9152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9153 X"$as_dir" : 'X\(//\)[^/]' \| \
9154 X"$as_dir" : 'X\(//\)$' \| \
9155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9156 $as_echo X"$as_dir" |
9157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9174 test -d "$as_dir" && break
9176 test -z "$as_dirs" || eval "mkdir $as_dirs"
9177 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9181 if mkdir -p . 2>/dev/null; then
9182 as_mkdir_p='mkdir -p "$as_dir"'
9184 test -d ./-p && rmdir ./-p
9189 # as_fn_executable_p FILE
9190 # -----------------------
9191 # Test if FILE is an executable regular file.
9192 as_fn_executable_p ()
9194 test -f "$1" && test -x "$1"
9195 } # as_fn_executable_p
9197 as_executable_p=as_fn_executable_p
9199 # Sed expression to map a string onto a valid CPP name.
9200 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9202 # Sed expression to map a string onto a valid variable name.
9203 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9207 ## ----------------------------------- ##
9208 ## Main body of $CONFIG_STATUS script. ##
9209 ## ----------------------------------- ##
9211 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9214 # Save the log message, to keep $0 and so on meaningful, and to
9215 # report actual input values of CONFIG_FILES etc. instead of their
9216 # values after options handling.
9218 This file was extended by psensor $as_me 1.1.0.x, which was
9219 generated by GNU Autoconf 2.69. Invocation command line was
9221 CONFIG_FILES = $CONFIG_FILES
9222 CONFIG_HEADERS = $CONFIG_HEADERS
9223 CONFIG_LINKS = $CONFIG_LINKS
9224 CONFIG_COMMANDS = $CONFIG_COMMANDS
9227 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9232 case $ac_config_files in *"
9233 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9236 case $ac_config_headers in *"
9237 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9242 # Files that config.status was made for.
9243 config_files="$ac_config_files"
9244 config_headers="$ac_config_headers"
9245 config_commands="$ac_config_commands"
9249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9251 \`$as_me' instantiates files and other configuration actions
9252 from templates according to the current configuration. Unless the files
9253 and actions are specified as TAGs, all are instantiated by default.
9255 Usage: $0 [OPTION]... [TAG]...
9257 -h, --help print this help, then exit
9258 -V, --version print version number and configuration settings, then exit
9259 --config print configuration, then exit
9260 -q, --quiet, --silent
9261 do not print progress messages
9262 -d, --debug don't remove temporary files
9263 --recheck update $as_me by reconfiguring in the same conditions
9264 --file=FILE[:TEMPLATE]
9265 instantiate the configuration file FILE
9266 --header=FILE[:TEMPLATE]
9267 instantiate the configuration header FILE
9269 Configuration files:
9272 Configuration headers:
9275 Configuration commands:
9278 Report bugs to <jeanfi@gmail.com>.
9279 psensor home page: <http://wpitchoune.net/psensor>."
9282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9283 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9285 psensor config.status 1.1.0.x
9286 configured by $0, generated by GNU Autoconf 2.69,
9287 with options \\"\$ac_cs_config\\"
9289 Copyright (C) 2012 Free Software Foundation, Inc.
9290 This config.status script is free software; the Free Software Foundation
9291 gives unlimited permission to copy, distribute and modify it."
9298 test -n "\$AWK" || AWK=awk
9301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9302 # The default lists apply if the user does not specify any file.
9308 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9309 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9313 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9325 # Handling of the options.
9326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9328 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9329 $as_echo "$ac_cs_version"; exit ;;
9330 --config | --confi | --conf | --con | --co | --c )
9331 $as_echo "$ac_cs_config"; exit ;;
9332 --debug | --debu | --deb | --de | --d | -d )
9334 --file | --fil | --fi | --f )
9337 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9338 '') as_fn_error $? "missing file argument" ;;
9340 as_fn_append CONFIG_FILES " '$ac_optarg'"
9341 ac_need_defaults=false;;
9342 --header | --heade | --head | --hea )
9345 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9347 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9348 ac_need_defaults=false;;
9350 # Conflict between --help and --header
9351 as_fn_error $? "ambiguous option: \`$1'
9352 Try \`$0 --help' for more information.";;
9353 --help | --hel | -h )
9354 $as_echo "$ac_cs_usage"; exit ;;
9355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9356 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9360 -*) as_fn_error $? "unrecognized option: \`$1'
9361 Try \`$0 --help' for more information." ;;
9363 *) as_fn_append ac_config_targets " $1"
9364 ac_need_defaults=false ;;
9370 ac_configure_extra_args=
9372 if $ac_cs_silent; then
9374 ac_configure_extra_args="$ac_configure_extra_args --silent"
9378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9379 if \$ac_cs_recheck; then
9380 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9382 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9383 CONFIG_SHELL='$SHELL'
9389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9394 ## Running $as_me. ##
9400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9404 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9405 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9406 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9407 # from automake < 1.5.
9408 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9409 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9410 LINGUAS="${LINGUAS-%UNSET%}"
9415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9417 # Handling of arguments.
9418 for ac_config_target in $ac_config_targets
9420 case $ac_config_target in
9421 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9422 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9423 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9424 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9425 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9426 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9427 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9428 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9429 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9430 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9431 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9432 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9433 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9434 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9435 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9436 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9437 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9438 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9439 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9440 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9441 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9442 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9443 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9445 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9450 # If the user did not use the arguments to specify the items to instantiate,
9451 # then the envvar interface is used. Set only those that are not.
9452 # We use the long form for the default assignment because of an extremely
9453 # bizarre bug on SunOS 4.1.3.
9454 if $ac_need_defaults; then
9455 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9456 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9457 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9460 # Have a temporary directory for convenience. Make it in the build tree
9461 # simply because there is no reason against having it here, and in addition,
9462 # creating and moving files from /tmp can sometimes cause problems.
9463 # Hook for its removal unless debugging.
9464 # Note that there is a small window in which the directory will not be cleaned:
9465 # after its creation but before its name has been assigned to `$tmp'.
9469 trap 'exit_status=$?
9471 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9473 trap 'as_fn_exit 1' 1 2 13 15
9475 # Create a (secure) tmp directory for tmp files.
9478 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9482 tmp=./conf$$-$RANDOM
9483 (umask 077 && mkdir "$tmp")
9484 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9487 # Set up the scripts for CONFIG_FILES section.
9488 # No need to generate them if there are no CONFIG_FILES.
9489 # This happens for instance with `./config.status config.h'.
9490 if test -n "$CONFIG_FILES"; then
9493 ac_cr=`echo X | tr X '\015'`
9494 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9495 # But we know of no other shell where ac_cr would be empty at this
9496 # point, so we can use a bashism as a fallback.
9497 if test "x$ac_cr" = x; then
9498 eval ac_cr=\$\'\\r\'
9500 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9501 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9507 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9512 echo "cat >conf$$subs.awk <<_ACEOF" &&
9513 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9517 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9519 for ac_last_try in false false false false false :; do
9520 . ./conf$$subs.sh ||
9521 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9523 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9524 if test $ac_delim_n = $ac_delim_num; then
9526 elif $ac_last_try; then
9527 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9535 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9539 s/^/S["/; s/!.*/"]=/
9549 s/\(.\{148\}\)..*/\1/
9551 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9563 s/\(.\{148\}\)..*/\1/
9565 s/["\\]/\\&/g; s/^/"/; s/$/"/
9569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9574 ' <conf$$subs.awk | sed '
9579 ' >>$CONFIG_STATUS || ac_write_fail=1
9580 rm -f conf$$subs.awk
9581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9583 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9584 for (key in S) S_is_set[key] = 1
9590 nfields = split(line, field, "@")
9592 len = length(field[1])
9593 for (i = 2; i < nfields; i++) {
9595 keylen = length(key)
9596 if (S_is_set[key]) {
9598 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9599 len += length(value) + length(field[++i])
9610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9611 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9612 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9615 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9616 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9619 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9620 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9621 # trailing colons and then remove the whole line if VPATH becomes empty
9622 # (actually we leave an empty line to preserve line numbers).
9623 if test "x$srcdir" = x.; then
9624 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9643 fi # test -n "$CONFIG_FILES"
9645 # Set up the scripts for CONFIG_HEADERS section.
9646 # No need to generate them if there are no CONFIG_HEADERS.
9647 # This happens for instance with `./config.status Makefile'.
9648 if test -n "$CONFIG_HEADERS"; then
9649 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9653 # Transform confdefs.h into an awk script `defines.awk', embedded as
9654 # here-document in config.status, that substitutes the proper values into
9655 # config.h.in to produce config.h.
9657 # Create a delimiter string that does not exist in confdefs.h, to ease
9658 # handling of long lines.
9660 for ac_last_try in false false :; do
9661 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9662 if test -z "$ac_tt"; then
9664 elif $ac_last_try; then
9665 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9667 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9671 # For the awk script, D is an array of macro values keyed by name,
9672 # likewise P contains macro parameters if any. Preserve backslash
9673 # newline sequences.
9675 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9677 s/.\{148\}/&'"$ac_delim"'/g
9680 s/^[ ]*#[ ]*define[ ][ ]*/ /
9687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9689 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9694 D["\1"]=" \3\\\\\\n"\\/p
9696 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9701 s/.\{148\}/&'"$ac_delim"'/g
9706 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9709 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9711 ' <confdefs.h | sed '
9712 s/'"$ac_delim"'/"\\\
9713 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9716 for (key in D) D_is_set[key] = 1
9719 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9721 split(line, arg, " ")
9722 if (arg[1] == "#") {
9726 defundef = substr(arg[1], 2)
9729 split(mac1, mac2, "(") #)
9731 prefix = substr(line, 1, index(line, defundef) - 1)
9732 if (D_is_set[macro]) {
9733 # Preserve the white space surrounding the "#".
9734 print prefix "define", macro P[macro] D[macro]
9737 # Replace #undef with comments. This is necessary, for example,
9738 # in the case of _POSIX_SOURCE, which is predefined and required
9739 # on some systems where configure will not decide to define it.
9740 if (defundef == "undef") {
9741 print "/*", prefix defundef, macro, "*/"
9749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9750 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9751 fi # test -n "$CONFIG_HEADERS"
9754 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9759 :[FHLC]) ac_mode=$ac_tag; continue;;
9761 case $ac_mode$ac_tag in
9763 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9764 :[FH]-) ac_tag=-:-;;
9765 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9782 -) ac_f="$ac_tmp/stdin";;
9783 *) # Look for the file first in the build tree, then in the source tree
9784 # (if the path is not absolute). The absolute path cannot be DOS-style,
9785 # because $ac_f cannot contain `:'.
9789 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9791 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9793 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9794 as_fn_append ac_file_inputs " '$ac_f'"
9797 # Let's still pretend it is `configure' which instantiates (i.e., don't
9798 # use $as_me), people would be surprised to read:
9799 # /* config.h. Generated by config.status. */
9800 configure_input='Generated from '`
9801 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9803 if test x"$ac_file" != x-; then
9804 configure_input="$ac_file. $configure_input"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9806 $as_echo "$as_me: creating $ac_file" >&6;}
9808 # Neutralize special characters interpreted by sed in replacement strings.
9809 case $configure_input in #(
9810 *\&* | *\|* | *\\* )
9811 ac_sed_conf_input=`$as_echo "$configure_input" |
9812 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9813 *) ac_sed_conf_input=$configure_input;;
9817 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9818 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9823 ac_dir=`$as_dirname -- "$ac_file" ||
9824 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9825 X"$ac_file" : 'X\(//\)[^/]' \| \
9826 X"$ac_file" : 'X\(//\)$' \| \
9827 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9828 $as_echo X"$ac_file" |
9829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9846 as_dir="$ac_dir"; as_fn_mkdir_p
9850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9853 # A ".." for each directory in $ac_dir_suffix.
9854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9855 case $ac_top_builddir_sub in
9856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9860 ac_abs_top_builddir=$ac_pwd
9861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9862 # for backward compatibility:
9863 ac_top_builddir=$ac_top_build_prefix
9866 .) # We are building in place.
9868 ac_top_srcdir=$ac_top_builddir_sub
9869 ac_abs_top_srcdir=$ac_pwd ;;
9870 [\\/]* | ?:[\\/]* ) # Absolute name.
9871 ac_srcdir=$srcdir$ac_dir_suffix;
9872 ac_top_srcdir=$srcdir
9873 ac_abs_top_srcdir=$srcdir ;;
9875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9876 ac_top_srcdir=$ac_top_build_prefix$srcdir
9877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9889 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9890 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9894 [\\/$]* | ?:[\\/]* ) ;;
9895 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9900 # If the template does not know about datarootdir, expand it.
9901 # FIXME: This hack should be removed a few years after 2.60.
9902 ac_datarootdir_hack=; ac_datarootdir_seen=
9913 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9914 *datarootdir*) ac_datarootdir_seen=yes;;
9915 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9917 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9920 ac_datarootdir_hack='
9921 s&@datadir@&$datadir&g
9922 s&@docdir@&$docdir&g
9923 s&@infodir@&$infodir&g
9924 s&@localedir@&$localedir&g
9925 s&@mandir@&$mandir&g
9926 s&\\\${datarootdir}&$datarootdir&g' ;;
9930 # Neutralize VPATH when `$srcdir' = `.'.
9931 # Shell code in configure.ac might set extrasub.
9932 # FIXME: do we really want to maintain this feature?
9933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9934 ac_sed_extra="$ac_vpsub
9937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9940 s|@configure_input@|$ac_sed_conf_input|;t t
9941 s&@top_builddir@&$ac_top_builddir_sub&;t t
9942 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9943 s&@srcdir@&$ac_srcdir&;t t
9944 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9945 s&@top_srcdir@&$ac_top_srcdir&;t t
9946 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9947 s&@builddir@&$ac_builddir&;t t
9948 s&@abs_builddir@&$ac_abs_builddir&;t t
9949 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9950 s&@INSTALL@&$ac_INSTALL&;t t
9951 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9952 $ac_datarootdir_hack
9954 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9955 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9957 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9958 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9959 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9960 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9962 which seems to be undefined. Please make sure it is defined" >&5
9963 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9964 which seems to be undefined. Please make sure it is defined" >&2;}
9966 rm -f "$ac_tmp/stdin"
9968 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9969 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9977 if test x"$ac_file" != x-; then
9979 $as_echo "/* $configure_input */" \
9980 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9981 } >"$ac_tmp/config.h" \
9982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9983 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9985 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9988 mv "$ac_tmp/config.h" "$ac_file" \
9989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9992 $as_echo "/* $configure_input */" \
9993 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9994 || as_fn_error $? "could not create -" "$LINENO" 5
9996 # Compute "$ac_file"'s index in $config_headers.
9999 for _am_header in $config_headers :; do
10000 case $_am_header in
10001 $_am_arg | $_am_arg:* )
10004 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10007 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10008 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10009 X"$_am_arg" : 'X\(//\)[^/]' \| \
10010 X"$_am_arg" : 'X\(//\)$' \| \
10011 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10012 $as_echo X"$_am_arg" |
10013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10017 /^X\(\/\/\)[^/].*/{
10029 s/.*/./; q'`/stamp-h$_am_stamp_count
10032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10033 $as_echo "$as_me: executing $ac_file commands" >&6;}
10038 case $ac_file$ac_mode in
10039 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10040 # Older Autoconf quotes --file arguments for eval, but not when files
10041 # are listed without --file. Let's play safe and only enable the eval
10042 # if we detect the quoting.
10043 case $CONFIG_FILES in
10044 *\'*) eval set x "$CONFIG_FILES" ;;
10045 *) set x $CONFIG_FILES ;;
10050 # Strip MF so we end up with the name of the file.
10051 mf=`echo "$mf" | sed -e 's/:.*$//'`
10052 # Check whether this is an Automake generated Makefile or not.
10053 # We used to match only the files named 'Makefile.in', but
10054 # some people rename them; so instead we look at the file content.
10055 # Grep'ing the first line is not enough: some people post-process
10056 # each Makefile.in and add a new line on top of each file to say so.
10057 # Grep'ing the whole file is not good either: AIX grep has a line
10058 # limit of 2048, but all sed's we know have understand at least 4000.
10059 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10060 dirpart=`$as_dirname -- "$mf" ||
10061 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10062 X"$mf" : 'X\(//\)[^/]' \| \
10063 X"$mf" : 'X\(//\)$' \| \
10064 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10070 /^X\(\/\/\)[^/].*/{
10086 # Extract the definition of DEPDIR, am__include, and am__quote
10087 # from the Makefile without running 'make'.
10088 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10089 test -z "$DEPDIR" && continue
10090 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10091 test -z "$am__include" && continue
10092 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10093 # Find all dependency output files, they are included files with
10094 # $(DEPDIR) in their names. We invoke sed twice because it is the
10095 # simplest approach to changing $(DEPDIR) to its actual value in the
10097 for file in `sed -n "
10098 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10099 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10100 # Make sure the directory exists.
10101 test -f "$dirpart/$file" && continue
10102 fdir=`$as_dirname -- "$file" ||
10103 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10104 X"$file" : 'X\(//\)[^/]' \| \
10105 X"$file" : 'X\(//\)$' \| \
10106 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10107 $as_echo X"$file" |
10108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10112 /^X\(\/\/\)[^/].*/{
10125 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10126 # echo "creating $dirpart/$file"
10127 echo '# dummy' > "$dirpart/$file"
10132 "po-directories":C)
10133 for ac_file in $CONFIG_FILES; do
10134 # Support "outfile[:infile[:infile...]]"
10136 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10138 # PO directories have a Makefile.in generated from Makefile.in.in.
10139 case "$ac_file" in */Makefile.in)
10140 # Adjust a relative srcdir.
10141 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10142 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10143 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10144 # In autoconf-2.13 it is called $ac_given_srcdir.
10145 # In autoconf-2.50 it is called $srcdir.
10146 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10147 case "$ac_given_srcdir" in
10148 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10149 /*) top_srcdir="$ac_given_srcdir" ;;
10150 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10152 # Treat a directory as a PO directory if and only if it has a
10153 # POTFILES.in file. This allows packages to have multiple PO
10154 # directories under different names or in different locations.
10155 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10156 rm -f "$ac_dir/POTFILES"
10157 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10158 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10159 POMAKEFILEDEPS="POTFILES.in"
10160 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10161 # on $ac_dir but don't depend on user-specified configuration
10163 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10164 # The LINGUAS file contains the set of available languages.
10165 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10166 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10168 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10169 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10170 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10171 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10173 # The set of available languages was given in configure.in.
10174 # Hide the ALL_LINGUAS assigment from automake < 1.5.
10175 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10178 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10179 # Compute UPDATEPOFILES
10180 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10181 # Compute DUMMYPOFILES
10182 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10184 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10185 case "$ac_given_srcdir" in
10187 *) srcdirpre='$(srcdir)/' ;;
10193 for lang in $ALL_LINGUAS; do
10194 POFILES="$POFILES $srcdirpre$lang.po"
10195 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10196 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10197 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10199 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10200 # environment variable.
10202 if test -n "$ALL_LINGUAS"; then
10203 for presentlang in $ALL_LINGUAS; do
10205 if test "%UNSET%" != "$LINGUAS"; then
10206 desiredlanguages="$LINGUAS"
10208 desiredlanguages="$ALL_LINGUAS"
10210 for desiredlang in $desiredlanguages; do
10211 # Use the presentlang catalog if desiredlang is
10212 # a. equal to presentlang, or
10213 # b. a variant of presentlang (because in this case,
10214 # presentlang can be used as a fallback for messages
10215 # which are not translated in the desiredlang catalog).
10216 case "$desiredlang" in
10217 "$presentlang"*) useit=yes;;
10220 if test $useit = yes; then
10221 INST_LINGUAS="$INST_LINGUAS $presentlang"
10226 if test -n "$INST_LINGUAS"; then
10227 for lang in $INST_LINGUAS; do
10228 CATALOGS="$CATALOGS $lang.gmo"
10231 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10232 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"
10233 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10234 if test -f "$f"; then
10236 *.orig | *.bak | *~) ;;
10237 *) cat "$f" >> "$ac_dir/Makefile" ;;
10252 ac_clean_files=$ac_clean_files_save
10254 test $ac_write_fail = 0 ||
10255 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10258 # configure is writing to config.log, and then calls config.status.
10259 # config.status does its own redirection, appending to config.log.
10260 # Unfortunately, on DOS this fails, as config.log is still kept open
10261 # by configure, so config.status won't be able to write to it; its
10262 # output is simply discarded. So we exec the FD to /dev/null,
10263 # effectively closing config.log, so it can be properly (re)opened and
10264 # appended to by config.status. When coming back to configure, we
10265 # need to make the FD available again.
10266 if test "$no_create" != yes; then
10268 ac_config_status_args=
10269 test "$silent" = yes &&
10270 ac_config_status_args="$ac_config_status_args --quiet"
10272 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10274 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10275 # would make configure fail if this is the last instruction.
10276 $ac_cs_success || as_fn_exit 1
10278 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10280 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}