2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for psensor 1.0.1.
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.0.1'
584 PACKAGE_STRING='psensor 1.0.1'
585 PACKAGE_BUGREPORT='jeanfi@gmail.com'
586 PACKAGE_URL='http://wpitchoune.net/psensor'
588 ac_unique_file="src/ui.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
626 ac_subst_vars='am__EXEEXT_FALSE
694 GCONF_SCHEMAS_INSTALL_FALSE
695 GCONF_SCHEMAS_INSTALL_TRUE
696 GCONF_SCHEMA_FILE_DIR
697 GCONF_SCHEMA_CONFIG_SOURCE
714 XGETTEXT_EXTRA_OPTIONS
722 GETTEXT_MACRO_VERSION
758 INSTALL_STRIP_PROGRAM
800 program_transform_name
813 enable_option_checking
814 enable_dependency_tracking
823 with_gconf_schema_file_dir
824 enable_schemas_install
828 ac_precious_vars='build_alias
867 # Initialize some variables set by options.
869 ac_init_version=false
870 ac_unrecognized_opts=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
881 program_transform_name=s,x,x,
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir='${exec_prefix}/bin'
896 sbindir='${exec_prefix}/sbin'
897 libexecdir='${exec_prefix}/libexec'
898 datarootdir='${prefix}/share'
899 datadir='${datarootdir}'
900 sysconfdir='${prefix}/etc'
901 sharedstatedir='${prefix}/com'
902 localstatedir='${prefix}/var'
903 includedir='${prefix}/include'
904 oldincludedir='/usr/include'
905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir='${datarootdir}/info'
911 libdir='${exec_prefix}/lib'
912 localedir='${datarootdir}/locale'
913 mandir='${datarootdir}/man'
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\$ac_option
927 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
943 -build | --build | --buil | --bui | --bu)
944 ac_prev=build_alias ;;
945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
946 build_alias=$ac_optarg ;;
948 -cache-file | --cache-file | --cache-fil | --cache-fi \
949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950 ac_prev=cache_file ;;
951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
953 cache_file=$ac_optarg ;;
956 cache_file=config.cache ;;
958 -datadir | --datadir | --datadi | --datad)
960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
961 datadir=$ac_optarg ;;
963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
964 | --dataroo | --dataro | --datar)
965 ac_prev=datarootdir ;;
966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
968 datarootdir=$ac_optarg ;;
970 -disable-* | --disable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=no ;;
986 -docdir | --docdir | --docdi | --doc | --do)
988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
996 -enable-* | --enable-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error $? "invalid feature name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_$ac_useropt"
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1010 eval enable_$ac_useropt=\$ac_optarg ;;
1012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1014 | --exec | --exe | --ex)
1015 ac_prev=exec_prefix ;;
1016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1018 | --exec=* | --exe=* | --ex=*)
1019 exec_prefix=$ac_optarg ;;
1021 -gas | --gas | --ga | --g)
1022 # Obsolete; use --with-gas.
1025 -help | --help | --hel | --he | -h)
1026 ac_init_help=long ;;
1027 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1028 ac_init_help=recursive ;;
1029 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1030 ac_init_help=short ;;
1032 -host | --host | --hos | --ho)
1033 ac_prev=host_alias ;;
1034 -host=* | --host=* | --hos=* | --ho=*)
1035 host_alias=$ac_optarg ;;
1037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1041 htmldir=$ac_optarg ;;
1043 -includedir | --includedir | --includedi | --included | --include \
1044 | --includ | --inclu | --incl | --inc)
1045 ac_prev=includedir ;;
1046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1047 | --includ=* | --inclu=* | --incl=* | --inc=*)
1048 includedir=$ac_optarg ;;
1050 -infodir | --infodir | --infodi | --infod | --info | --inf)
1052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1053 infodir=$ac_optarg ;;
1055 -libdir | --libdir | --libdi | --libd)
1057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1058 libdir=$ac_optarg ;;
1060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1061 | --libexe | --libex | --libe)
1062 ac_prev=libexecdir ;;
1063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1064 | --libexe=* | --libex=* | --libe=*)
1065 libexecdir=$ac_optarg ;;
1067 -localedir | --localedir | --localedi | --localed | --locale)
1068 ac_prev=localedir ;;
1069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1070 localedir=$ac_optarg ;;
1072 -localstatedir | --localstatedir | --localstatedi | --localstated \
1073 | --localstate | --localstat | --localsta | --localst | --locals)
1074 ac_prev=localstatedir ;;
1075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1077 localstatedir=$ac_optarg ;;
1079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1082 mandir=$ac_optarg ;;
1084 -nfp | --nfp | --nf)
1085 # Obsolete; use --without-fp.
1088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1089 | --no-cr | --no-c | -n)
1092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1098 | --oldin | --oldi | --old | --ol | --o)
1099 ac_prev=oldincludedir ;;
1100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1103 oldincludedir=$ac_optarg ;;
1105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1108 prefix=$ac_optarg ;;
1110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1111 | --program-pre | --program-pr | --program-p)
1112 ac_prev=program_prefix ;;
1113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1115 program_prefix=$ac_optarg ;;
1117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1118 | --program-suf | --program-su | --program-s)
1119 ac_prev=program_suffix ;;
1120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1122 program_suffix=$ac_optarg ;;
1124 -program-transform-name | --program-transform-name \
1125 | --program-transform-nam | --program-transform-na \
1126 | --program-transform-n | --program-transform- \
1127 | --program-transform | --program-transfor \
1128 | --program-transfo | --program-transf \
1129 | --program-trans | --program-tran \
1130 | --progr-tra | --program-tr | --program-t)
1131 ac_prev=program_transform_name ;;
1132 -program-transform-name=* | --program-transform-name=* \
1133 | --program-transform-nam=* | --program-transform-na=* \
1134 | --program-transform-n=* | --program-transform-=* \
1135 | --program-transform=* | --program-transfor=* \
1136 | --program-transfo=* | --program-transf=* \
1137 | --program-trans=* | --program-tran=* \
1138 | --progr-tra=* | --program-tr=* | --program-t=*)
1139 program_transform_name=$ac_optarg ;;
1141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1144 pdfdir=$ac_optarg ;;
1146 -psdir | --psdir | --psdi | --psd | --ps)
1148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1159 sbindir=$ac_optarg ;;
1161 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1163 | --sharedst | --shareds | --shared | --share | --shar \
1165 ac_prev=sharedstatedir ;;
1166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1170 sharedstatedir=$ac_optarg ;;
1172 -site | --site | --sit)
1174 -site=* | --site=* | --sit=*)
1177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1180 srcdir=$ac_optarg ;;
1182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1183 | --syscon | --sysco | --sysc | --sys | --sy)
1184 ac_prev=sysconfdir ;;
1185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1187 sysconfdir=$ac_optarg ;;
1189 -target | --target | --targe | --targ | --tar | --ta | --t)
1190 ac_prev=target_alias ;;
1191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1192 target_alias=$ac_optarg ;;
1194 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1197 -version | --version | --versio | --versi | --vers | -V)
1198 ac_init_version=: ;;
1201 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1214 eval with_$ac_useropt=\$ac_optarg ;;
1216 -without-* | --without-*)
1217 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220 as_fn_error $? "invalid package name: $ac_useropt"
1221 ac_useropt_orig=$ac_useropt
1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep=', ';;
1230 eval with_$ac_useropt=no ;;
1233 # Obsolete; use --with-x.
1236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1237 | --x-incl | --x-inc | --x-in | --x-i)
1238 ac_prev=x_includes ;;
1239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1241 x_includes=$ac_optarg ;;
1243 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1245 ac_prev=x_libraries ;;
1246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1248 x_libraries=$ac_optarg ;;
1250 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1255 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' | [0-9]* | *[!_$as_cr_alnum]* )
1259 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1261 eval $ac_envvar=\$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1275 if test -n "$ac_prev"; then
1276 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $? "missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1283 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 # Check all directory arguments for consistency.
1289 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val=\$$ac_var
1295 # Remove trailing slashes.
1298 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\$ac_val;;
1301 # Be sure to have absolute directory names.
1303 [\\/$]* | ?:[\\/]* ) continue;;
1304 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1306 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x; then
1318 if test "x$build_alias" = x; then
1319 cross_compiling=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1328 test "$silent" = yes && exec 6>/dev/null
1331 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di=`ls -di .` &&
1333 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $? "working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $? "pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1371 ac_srcdir_defaulted=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var in $ac_precious_vars; do
1392 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_${ac_var}_value=\$${ac_var}
1394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures psensor 1.0.1 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/psensor]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --program-prefix=PREFIX prepend PREFIX to installed program names
1464 --program-suffix=SUFFIX append SUFFIX to installed program names
1465 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1468 --x-includes=DIR X include files are in DIR
1469 --x-libraries=DIR X library files are in DIR
1472 --build=BUILD configure for building on BUILD [guessed]
1473 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1477 if test -n "$ac_init_help"; then
1478 case $ac_init_help in
1479 short | recursive ) echo "Configuration of psensor 1.0.1:";;
1484 --disable-option-checking ignore unrecognized --enable/--with options
1485 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1486 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1487 --disable-dependency-tracking speeds up one-time build
1488 --enable-dependency-tracking do not reject slow dependency extractors
1489 --disable-largefile omit support for large files
1490 --disable-nls do not use Native Language Support
1491 --disable-rpath do not hardcode runtime library paths
1492 --disable-schemas-install
1493 Disable the schemas installation
1496 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1497 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1498 --with-x use the X Window System
1499 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1500 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1501 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1502 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1503 --without-libintl-prefix don't search for libintl in includedir and libdir
1504 --with-gconf-source=sourceaddress
1505 Config database for installing schema files.
1506 --with-gconf-schema-file-dir=dir
1507 Directory for installing schema files.
1508 --with-libatiadl=DIR use libatiadlxx in DIR
1509 --with-gtop=yes|no use gtop
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1519 XMKMF Path to xmkmf, Makefile generator for X Window System
1521 PKG_CONFIG path to pkg-config utility
1523 directories to add to pkg-config's search path
1525 path overriding pkg-config's built-in search path
1526 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1527 X11_LIBS linker flags for X11, overriding pkg-config
1528 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1529 XEXT_LIBS linker flags for XEXT, overriding pkg-config
1530 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1531 GTK_LIBS linker flags for GTK, overriding pkg-config
1533 C compiler flags for GCONF, overriding pkg-config
1534 GCONF_LIBS linker flags for GCONF, overriding pkg-config
1536 C compiler flags for ATASMART, overriding pkg-config
1538 linker flags for ATASMART, overriding pkg-config
1540 C compiler flags for LIBNOTIFY, overriding pkg-config
1542 linker flags for LIBNOTIFY, overriding pkg-config
1544 C compiler flags for APPINDICATOR, overriding pkg-config
1546 linker flags for APPINDICATOR, overriding pkg-config
1547 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1548 CURL_LIBS linker flags for CURL, overriding pkg-config
1549 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1550 JSON_LIBS linker flags for JSON, overriding pkg-config
1552 C compiler flags for UNITY, overriding pkg-config
1553 UNITY_LIBS linker flags for UNITY, overriding pkg-config
1554 LIBMICROHTTPD_CFLAGS
1555 C compiler flags for LIBMICROHTTPD, overriding pkg-config
1557 linker flags for LIBMICROHTTPD, overriding pkg-config
1558 GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1559 GTOP_LIBS linker flags for GTOP, overriding pkg-config
1561 Use these variables to override the choices made by `configure' or to help
1562 it to find libraries and programs with nonstandard names/locations.
1564 Report bugs to <jeanfi@gmail.com>.
1565 psensor home page: <http://wpitchoune.net/psensor>.
1570 if test "$ac_init_help" = "recursive"; then
1571 # If there are subdirs, report their specific --help.
1572 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1573 test -d "$ac_dir" ||
1574 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1582 # A ".." for each directory in $ac_dir_suffix.
1583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1584 case $ac_top_builddir_sub in
1585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1589 ac_abs_top_builddir=$ac_pwd
1590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1591 # for backward compatibility:
1592 ac_top_builddir=$ac_top_build_prefix
1595 .) # We are building in place.
1597 ac_top_srcdir=$ac_top_builddir_sub
1598 ac_abs_top_srcdir=$ac_pwd ;;
1599 [\\/]* | ?:[\\/]* ) # Absolute name.
1600 ac_srcdir=$srcdir$ac_dir_suffix;
1601 ac_top_srcdir=$srcdir
1602 ac_abs_top_srcdir=$srcdir ;;
1604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1605 ac_top_srcdir=$ac_top_build_prefix$srcdir
1606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1610 cd "$ac_dir" || { ac_status=$?; continue; }
1611 # Check for guested configure.
1612 if test -f "$ac_srcdir/configure.gnu"; then
1614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1615 elif test -f "$ac_srcdir/configure"; then
1617 $SHELL "$ac_srcdir/configure" --help=recursive
1619 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1621 cd "$ac_pwd" || { ac_status=$?; break; }
1625 test -n "$ac_init_help" && exit $ac_status
1626 if $ac_init_version; then
1628 psensor configure 1.0.1
1629 generated by GNU Autoconf 2.69
1631 Copyright (C) 2012 Free Software Foundation, Inc.
1632 This configure script is free software; the Free Software Foundation
1633 gives unlimited permission to copy, distribute and modify it.
1638 ## ------------------------ ##
1639 ## Autoconf initialization. ##
1640 ## ------------------------ ##
1642 # ac_fn_c_try_compile LINENO
1643 # --------------------------
1644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_compile ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext
1649 if { { ac_try="$ac_compile"
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_compile") 2>conftest.err
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest.$ac_objext; then :
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1678 } # ac_fn_c_try_compile
1680 # ac_fn_c_try_cpp LINENO
1681 # ----------------------
1682 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if { { ac_try="$ac_cpp conftest.$ac_ext"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } > conftest.i && {
1702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1717 # ac_fn_c_try_link LINENO
1718 # -----------------------
1719 # Try to link conftest.$ac_ext, and return whether this succeeded.
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext conftest$ac_exeext
1724 if { { ac_try="$ac_link"
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_link") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest$ac_exeext && {
1743 test "$cross_compiling" = yes ||
1744 test -x conftest$ac_exeext
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1754 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1755 # interfere with the next link command; also delete a directory that is
1756 # left behind by Apple's compiler. We do this before executing the actions.
1757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1761 } # ac_fn_c_try_link
1763 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1764 # -------------------------------------------------------
1765 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1766 # the include files in INCLUDES and setting the cache variable VAR
1768 ac_fn_c_check_header_mongrel ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if eval \${$3+:} false; then :
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1781 # Is the header compilable?
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1783 $as_echo_n "checking $2 usability... " >&6; }
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile "$LINENO"; then :
1790 ac_header_compiler=yes
1792 ac_header_compiler=no
1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1796 $as_echo "$ac_header_compiler" >&6; }
1798 # Is the header present?
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1800 $as_echo_n "checking $2 presence... " >&6; }
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1805 if ac_fn_c_try_cpp "$LINENO"; then :
1806 ac_header_preproc=yes
1808 ac_header_preproc=no
1810 rm -f conftest.err conftest.i conftest.$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1812 $as_echo "$ac_header_preproc" >&6; }
1814 # So? What about this header?
1815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1818 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1824 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1826 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1828 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1830 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1833 ( $as_echo "## ------------------------------- ##
1834 ## Report this to jeanfi@gmail.com ##
1835 ## ------------------------------- ##"
1836 ) | sed "s/^/$as_me: WARNING: /" >&2
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \${$3+:} false; then :
1842 $as_echo_n "(cached) " >&6
1844 eval "$3=\$ac_header_compiler"
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852 } # ac_fn_c_check_header_mongrel
1854 # ac_fn_c_try_run LINENO
1855 # ----------------------
1856 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1857 # that executables *can* be run.
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 if { { ac_try="$ac_link"
1863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_link") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1872 { { case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_try") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; }; }; then :
1884 $as_echo "$as_me: program exited with status $ac_status" >&5
1885 $as_echo "$as_me: failed program was:" >&5
1886 sed 's/^/| /' conftest.$ac_ext >&5
1888 ac_retval=$ac_status
1890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1896 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1897 # -------------------------------------------------------
1898 # Tests whether HEADER exists and can be compiled using the include files in
1899 # INCLUDES, setting the cache variable VAR accordingly.
1900 ac_fn_c_check_header_compile ()
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906 $as_echo_n "(cached) " >&6
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1913 if ac_fn_c_try_compile "$LINENO"; then :
1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 $as_echo "$ac_res" >&6; }
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 } # ac_fn_c_check_header_compile
1927 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1928 # -------------------------------------------
1929 # Tests whether TYPE exists after having included INCLUDES, setting cache
1930 # variable VAR accordingly.
1931 ac_fn_c_check_type ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1952 if ac_fn_c_try_compile "$LINENO"; then :
1953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h. */
1965 if ac_fn_c_try_compile "$LINENO"; then :
1970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_type
1981 # ac_fn_c_check_func LINENO FUNC VAR
1982 # ----------------------------------
1983 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1984 ac_fn_c_check_func ()
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988 $as_echo_n "checking for $2... " >&6; }
1989 if eval \${$3+:} false; then :
1990 $as_echo_n "(cached) " >&6
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1994 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1996 #define $2 innocuous_$2
1998 /* System header to define __stub macros and hopefully few prototypes,
1999 which can conflict with char $2 (); below.
2000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2001 <limits.h> exists even on freestanding compilers. */
2004 # include <limits.h>
2006 # include <assert.h>
2011 /* Override any GCC internal prototype to avoid an error.
2012 Use char because int might match the return type of a GCC
2013 builtin and then its argument prototype would still apply. */
2018 /* The GNU C library defines this for functions which it implements
2019 to always fail with ENOSYS. Some functions are actually named
2020 something starting with __ and the normal name is an alias. */
2021 #if defined __stub_$2 || defined __stub___$2
2033 if ac_fn_c_try_link "$LINENO"; then :
2038 rm -f core conftest.err conftest.$ac_objext \
2039 conftest$ac_exeext conftest.$ac_ext
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043 $as_echo "$ac_res" >&6; }
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 } # ac_fn_c_check_func
2047 cat >config.log <<_ACEOF
2048 This file contains any messages produced by compilers while
2049 running configure, to aid debugging if configure makes a mistake.
2051 It was created by psensor $as_me 1.0.1, which was
2052 generated by GNU Autoconf 2.69. Invocation command line was
2064 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2065 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2066 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2067 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2068 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2070 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2071 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2073 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2074 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2075 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2076 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2077 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2078 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2079 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir=.
2088 $as_echo "PATH: $as_dir"
2104 # Keep a trace of the command line.
2105 # Strip out --no-create and --no-recursion so they do not pile up.
2106 # Strip out --silent because we don't want to record it for future runs.
2107 # Also quote any args containing shell meta-characters.
2108 # Make two passes to allow for proper duplicate-argument suppression.
2112 ac_must_keep_next=false
2118 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2120 | -silent | --silent | --silen | --sile | --sil)
2123 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2126 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2128 as_fn_append ac_configure_args1 " '$ac_arg'"
2129 if test $ac_must_keep_next = true; then
2130 ac_must_keep_next=false # Got value, back to normal.
2133 *=* | --config-cache | -C | -disable-* | --disable-* \
2134 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2135 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2136 | -with-* | --with-* | -without-* | --without-* | --x)
2137 case "$ac_configure_args0 " in
2138 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2141 -* ) ac_must_keep_next=true ;;
2144 as_fn_append ac_configure_args " '$ac_arg'"
2149 { ac_configure_args0=; unset ac_configure_args0;}
2150 { ac_configure_args1=; unset ac_configure_args1;}
2152 # When interrupted or exit'd, cleanup temporary files, and complete
2153 # config.log. We remove comments because anyway the quotes in there
2154 # would cause problems or look ugly.
2155 # WARNING: Use '\'' to represent an apostrophe within the trap.
2156 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2157 trap 'exit_status=$?
2158 # Save into config.log some information that might help in debugging.
2162 $as_echo "## ---------------- ##
2163 ## Cache variables. ##
2164 ## ---------------- ##"
2166 # The following way of writing the cache mishandles newlines in values,
2168 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2169 eval ac_val=\$$ac_var
2173 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2174 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2177 _ | IFS | as_nl) ;; #(
2178 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2179 *) { eval $ac_var=; unset $ac_var;} ;;
2184 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2185 *${as_nl}ac_space=\ *)
2187 "s/'\''/'\''\\\\'\'''\''/g;
2188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2198 $as_echo "## ----------------- ##
2199 ## Output variables. ##
2200 ## ----------------- ##"
2202 for ac_var in $ac_subst_vars
2204 eval ac_val=\$$ac_var
2206 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 $as_echo "$ac_var='\''$ac_val'\''"
2212 if test -n "$ac_subst_files"; then
2213 $as_echo "## ------------------- ##
2214 ## File substitutions. ##
2215 ## ------------------- ##"
2217 for ac_var in $ac_subst_files
2219 eval ac_val=\$$ac_var
2221 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2223 $as_echo "$ac_var='\''$ac_val'\''"
2228 if test -s confdefs.h; then
2229 $as_echo "## ----------- ##
2236 test "$ac_signal" != 0 &&
2237 $as_echo "$as_me: caught signal $ac_signal"
2238 $as_echo "$as_me: exit $exit_status"
2240 rm -f core *.core core.conftest.* &&
2241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2244 for ac_signal in 1 2 13 15; do
2245 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2250 rm -f -r conftest* confdefs.h
2252 $as_echo "/* confdefs.h */" > confdefs.h
2254 # Predefined preprocessor variables.
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_NAME "$PACKAGE_NAME"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_STRING "$PACKAGE_STRING"
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_URL "$PACKAGE_URL"
2281 # Let the site file select an alternate cache file if it wants to.
2282 # Prefer an explicitly selected file to automatically selected ones.
2285 if test -n "$CONFIG_SITE"; then
2286 # We do not want a PATH search for config.site.
2287 case $CONFIG_SITE in #((
2288 -*) ac_site_file1=./$CONFIG_SITE;;
2289 */*) ac_site_file1=$CONFIG_SITE;;
2290 *) ac_site_file1=./$CONFIG_SITE;;
2292 elif test "x$prefix" != xNONE; then
2293 ac_site_file1=$prefix/share/config.site
2294 ac_site_file2=$prefix/etc/config.site
2296 ac_site_file1=$ac_default_prefix/share/config.site
2297 ac_site_file2=$ac_default_prefix/etc/config.site
2299 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2301 test "x$ac_site_file" = xNONE && continue
2302 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2304 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2305 sed 's/^/| /' "$ac_site_file" >&5
2307 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309 as_fn_error $? "failed to load site script $ac_site_file
2310 See \`config.log' for more details" "$LINENO" 5; }
2314 if test -r "$cache_file"; then
2315 # Some versions of bash will fail to source /dev/null (special files
2316 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2317 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2319 $as_echo "$as_me: loading cache $cache_file" >&6;}
2321 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2322 *) . "./$cache_file";;
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2327 $as_echo "$as_me: creating cache $cache_file" >&6;}
2331 gt_needs="$gt_needs "
2332 # Check that the precious variables saved in the cache have kept the same
2334 ac_cache_corrupted=false
2335 for ac_var in $ac_precious_vars; do
2336 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2337 eval ac_new_set=\$ac_env_${ac_var}_set
2338 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2339 eval ac_new_val=\$ac_env_${ac_var}_value
2340 case $ac_old_set,$ac_new_set in
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2343 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2344 ac_cache_corrupted=: ;;
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2347 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2348 ac_cache_corrupted=: ;;
2351 if test "x$ac_old_val" != "x$ac_new_val"; then
2352 # differences in whitespace do not lead to failure.
2353 ac_old_val_w=`echo x $ac_old_val`
2354 ac_new_val_w=`echo x $ac_new_val`
2355 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2357 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2358 ac_cache_corrupted=:
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2361 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2362 eval $ac_var=\$ac_old_val
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2365 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2367 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2370 # Pass precious variables to config.status.
2371 if test "$ac_new_set" = set; then
2373 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2374 *) ac_arg=$ac_var=$ac_new_val ;;
2376 case " $ac_configure_args " in
2377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2378 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2382 if $ac_cache_corrupted; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2386 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2389 ## -------------------- ##
2390 ## Main body of script. ##
2391 ## -------------------- ##
2394 ac_cpp='$CPP $CPPFLAGS'
2395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2401 am__api_version='1.11'
2404 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2405 if test -f "$ac_dir/install-sh"; then
2407 ac_install_sh="$ac_aux_dir/install-sh -c"
2409 elif test -f "$ac_dir/install.sh"; then
2411 ac_install_sh="$ac_aux_dir/install.sh -c"
2413 elif test -f "$ac_dir/shtool"; then
2415 ac_install_sh="$ac_aux_dir/shtool install -c"
2419 if test -z "$ac_aux_dir"; then
2420 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2423 # These three variables are undocumented and unsupported,
2424 # and are intended to be withdrawn in a future Autoconf release.
2425 # They can cause serious problems if a builder's source tree is in a directory
2426 # whose full name contains unusual characters.
2427 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2432 # Find a good install program. We prefer a C program (faster),
2433 # so one script is as good as another. But avoid the broken or
2434 # incompatible versions:
2435 # SysV /etc/install, /usr/sbin/install
2436 # SunOS /usr/etc/install
2437 # IRIX /sbin/install
2439 # AmigaOS /C/install, which installs bootblocks on floppy discs
2440 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2441 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2442 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2443 # OS/2's system install, which has a completely different semantic
2444 # ./install, which can be erroneously created by make from ./install.sh.
2445 # Reject install programs that cannot install multiple files.
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2447 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2448 if test -z "$INSTALL"; then
2449 if ${ac_cv_path_install+:} false; then :
2450 $as_echo_n "(cached) " >&6
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 # Account for people who put trailing slashes in PATH elements.
2458 case $as_dir/ in #((
2459 ./ | .// | /[cC]/* | \
2460 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2461 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2464 # OSF1 and SCO ODT 3.0 have their own names for install.
2465 # Don't use installbsd from OSF since it installs stuff as root
2467 for ac_prog in ginstall scoinst install; do
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2470 if test $ac_prog = install &&
2471 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2472 # AIX install. It has an incompatible calling convention.
2474 elif test $ac_prog = install &&
2475 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476 # program-specific install script used by HP pwplus--don't use.
2479 rm -rf conftest.one conftest.two conftest.dir
2480 echo one > conftest.one
2481 echo two > conftest.two
2483 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2484 test -s conftest.one && test -s conftest.two &&
2485 test -s conftest.dir/conftest.one &&
2486 test -s conftest.dir/conftest.two
2488 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2501 rm -rf conftest.one conftest.two conftest.dir
2504 if test "${ac_cv_path_install+set}" = set; then
2505 INSTALL=$ac_cv_path_install
2507 # As a last resort, use the slow shell script. Don't cache a
2508 # value for INSTALL within a source directory, because that will
2509 # break other packages using the cache if that directory is
2510 # removed, or if the value is a relative name.
2511 INSTALL=$ac_install_sh
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2515 $as_echo "$INSTALL" >&6; }
2517 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2518 # It thinks the first close brace ends the variable substitution.
2519 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2521 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2523 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2526 $as_echo_n "checking whether build environment is sane... " >&6; }
2529 echo timestamp > conftest.file
2530 # Reject unsafe characters in $srcdir or the absolute working directory
2531 # name. Accept space and tab only in the latter.
2535 *[\\\"\#\$\&\'\`$am_lf]*)
2536 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2539 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2540 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2543 # Do `set' in a subshell so we don't clobber the current shell's
2544 # arguments. Must try -L first in case configure is actually a
2545 # symlink; some systems play weird games with the mod time of symlinks
2546 # (eg FreeBSD returns the mod time of the symlink's containing
2549 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2550 if test "$*" = "X"; then
2552 set X `ls -t "$srcdir/configure" conftest.file`
2555 if test "$*" != "X $srcdir/configure conftest.file" \
2556 && test "$*" != "X conftest.file $srcdir/configure"; then
2558 # If neither matched, then we have a broken ls. This can happen
2559 # if, for instance, CONFIG_SHELL is bash and it inherits a
2560 # broken ls alias from the environment. This has actually
2561 # happened. Such a system could not be considered "sane".
2562 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2563 alias in your environment" "$LINENO" 5
2566 test "$2" = conftest.file
2572 as_fn_error $? "newly created file is older than distributed files!
2573 Check your system clock" "$LINENO" 5
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576 $as_echo "yes" >&6; }
2577 test "$program_prefix" != NONE &&
2578 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2579 # Use a double $ so make ignores it.
2580 test "$program_suffix" != NONE &&
2581 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2582 # Double any \ or $.
2583 # By default was `s,x,x', remove it if useless.
2584 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2585 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2587 # expand $ac_aux_dir to an absolute path
2588 am_aux_dir=`cd $ac_aux_dir && pwd`
2590 if test x"${MISSING+set}" != xset; then
2593 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2595 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2598 # Use eval to expand $SHELL
2599 if eval "$MISSING --run true"; then
2600 am_missing_run="$MISSING --run "
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2604 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2607 if test x"${install_sh}" != xset; then
2610 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2612 install_sh="\${SHELL} $am_aux_dir/install-sh"
2616 # Installed binaries are usually stripped using `strip' when the user
2617 # run `make install-strip'. However `strip' might not be the right
2618 # tool to use in cross-compilation environments, therefore Automake
2619 # will honor the `STRIP' environment variable to overrule this program.
2620 if test "$cross_compiling" != no; then
2621 if test -n "$ac_tool_prefix"; then
2622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2623 set dummy ${ac_tool_prefix}strip; ac_word=$2
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if ${ac_cv_prog_STRIP+:} false; then :
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$STRIP"; then
2630 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 STRIP=$ac_cv_prog_STRIP
2650 if test -n "$STRIP"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2652 $as_echo "$STRIP" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2660 if test -z "$ac_cv_prog_STRIP"; then
2662 # Extract the first word of "strip", so it can be a program name with args.
2663 set dummy strip; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$ac_ct_STRIP"; then
2670 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2679 ac_cv_prog_ac_ct_STRIP="strip"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2690 if test -n "$ac_ct_STRIP"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2692 $as_echo "$ac_ct_STRIP" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2698 if test "x$ac_ct_STRIP" = x; then
2701 case $cross_compiling:$ac_tool_warned in
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705 ac_tool_warned=yes ;;
2710 STRIP="$ac_cv_prog_STRIP"
2714 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2717 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2718 if test -z "$MKDIR_P"; then
2719 if ${ac_cv_path_mkdir+:} false; then :
2720 $as_echo_n "(cached) " >&6
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2726 test -z "$as_dir" && as_dir=.
2727 for ac_prog in mkdir gmkdir; do
2728 for ac_exec_ext in '' $ac_executable_extensions; do
2729 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2730 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2731 'mkdir (GNU coreutils) '* | \
2732 'mkdir (coreutils) '* | \
2733 'mkdir (fileutils) '4.1*)
2734 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2744 test -d ./--version && rmdir ./--version
2745 if test "${ac_cv_path_mkdir+set}" = set; then
2746 MKDIR_P="$ac_cv_path_mkdir -p"
2748 # As a last resort, use the slow shell script. Don't cache a
2749 # value for MKDIR_P within a source directory, because that will
2750 # break other packages using the cache if that directory is
2751 # removed, or if the value is a relative name.
2752 MKDIR_P="$ac_install_sh -d"
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2756 $as_echo "$MKDIR_P" >&6; }
2760 [\\/$]* | ?:[\\/]*) ;;
2761 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2764 for ac_prog in gawk mawk nawk awk
2766 # Extract the first word of "$ac_prog", so it can be a program name with args.
2767 set dummy $ac_prog; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if ${ac_cv_prog_AWK+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$AWK"; then
2774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_AWK="$ac_prog"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test -n "$AWK"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2796 $as_echo "$AWK" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2803 test -n "$AWK" && break
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2807 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2809 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2810 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 cat >conftest.make <<\_ACEOF
2816 @echo '@@@%%%=$(MAKE)=@@@%%%'
2818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2821 eval ac_cv_prog_make_${ac_make}_set=yes;;
2823 eval ac_cv_prog_make_${ac_make}_set=no;;
2827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2829 $as_echo "yes" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2834 SET_MAKE="MAKE=${MAKE-make}"
2837 rm -rf .tst 2>/dev/null
2838 mkdir .tst 2>/dev/null
2839 if test -d .tst; then
2844 rmdir .tst 2>/dev/null
2846 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2847 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2848 # is not polluted with repeated "-I."
2849 am__isrc=' -I$(srcdir)'
2850 # test to see if srcdir already configured
2851 if test -f $srcdir/config.status; then
2852 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2856 # test whether we have cygpath
2857 if test -z "$CYGPATH_W"; then
2858 if (cygpath --version) >/dev/null 2>/dev/null; then
2859 CYGPATH_W='cygpath -w'
2866 # Define the identity of the package.
2871 cat >>confdefs.h <<_ACEOF
2872 #define PACKAGE "$PACKAGE"
2876 cat >>confdefs.h <<_ACEOF
2877 #define VERSION "$VERSION"
2880 # Some tools Automake needs.
2882 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2885 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2888 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2891 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2894 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2896 # We need awk for the "check" target. The system "awk" is bad on
2898 # Always define AMTAR for backward compatibility. Yes, it's still used
2899 # in the wild :-( We should find a proper way to deprecate it ...
2902 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2910 ac_config_headers="$ac_config_headers config.h"
2916 # Checks for programs.
2918 ac_cpp='$CPP $CPPFLAGS'
2919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922 if test -n "$ac_tool_prefix"; then
2923 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2924 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if ${ac_cv_prog_CC+:} false; then :
2928 $as_echo_n "(cached) " >&6
2930 if test -n "$CC"; then
2931 ac_cv_prog_CC="$CC" # Let the user override the test.
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir=.
2938 for ac_exec_ext in '' $ac_executable_extensions; do
2939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2940 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 if test -n "$CC"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2953 $as_echo "$CC" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2961 if test -z "$ac_cv_prog_CC"; then
2963 # Extract the first word of "gcc", so it can be a program name with args.
2964 set dummy gcc; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 if test -n "$ac_ct_CC"; then
2971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_prog_ac_ct_CC="gcc"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2991 if test -n "$ac_ct_CC"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2993 $as_echo "$ac_ct_CC" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
2999 if test "x$ac_ct_CC" = x; then
3002 case $cross_compiling:$ac_tool_warned in
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3006 ac_tool_warned=yes ;;
3014 if test -z "$CC"; then
3015 if test -n "$ac_tool_prefix"; then
3016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3017 set dummy ${ac_tool_prefix}cc; ac_word=$2
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019 $as_echo_n "checking for $ac_word... " >&6; }
3020 if ${ac_cv_prog_CC+:} false; then :
3021 $as_echo_n "(cached) " >&6
3023 if test -n "$CC"; then
3024 ac_cv_prog_CC="$CC" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_CC="${ac_tool_prefix}cc"
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 if test -n "$CC"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3046 $as_echo "$CC" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3055 if test -z "$CC"; then
3056 # Extract the first word of "cc", so it can be a program name with args.
3057 set dummy cc; ac_word=$2
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059 $as_echo_n "checking for $ac_word... " >&6; }
3060 if ${ac_cv_prog_CC+:} false; then :
3061 $as_echo_n "(cached) " >&6
3063 if test -n "$CC"; then
3064 ac_cv_prog_CC="$CC" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3075 ac_prog_rejected=yes
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test $ac_prog_rejected = yes; then
3087 # We found a bogon in the path, so make sure we never use it.
3088 set dummy $ac_cv_prog_CC
3090 if test $# != 0; then
3091 # We chose a different compiler from the bogus one.
3092 # However, it has the same basename, so the bogon will be chosen
3093 # first if we set CC to just the basename; use the full file name.
3095 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3101 if test -n "$CC"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3103 $as_echo "$CC" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3111 if test -z "$CC"; then
3112 if test -n "$ac_tool_prefix"; then
3113 for ac_prog in cl.exe
3115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_CC+:} false; then :
3120 $as_echo_n "(cached) " >&6
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test -n "$CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3152 test -n "$CC" && break
3155 if test -z "$CC"; then
3157 for ac_prog in cl.exe
3159 # Extract the first word of "$ac_prog", so it can be a program name with args.
3160 set dummy $ac_prog; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$ac_ct_CC"; then
3167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_ac_ct_CC="$ac_prog"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3187 if test -n "$ac_ct_CC"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3189 $as_echo "$ac_ct_CC" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3196 test -n "$ac_ct_CC" && break
3199 if test "x$ac_ct_CC" = x; then
3202 case $cross_compiling:$ac_tool_warned in
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3206 ac_tool_warned=yes ;;
3215 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error $? "no acceptable C compiler found in \$PATH
3218 See \`config.log' for more details" "$LINENO" 5; }
3220 # Provide some information about the compiler.
3221 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3224 for ac_option in --version -v -V -qversion; do
3225 { { ac_try="$ac_compiler $ac_option >&5"
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3234 if test -s conftest.err; then
3236 ... rest of stderr output deleted ...
3237 10q' conftest.err >conftest.er1
3238 cat conftest.er1 >&5
3240 rm -f conftest.er1 conftest.err
3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242 test $ac_status = 0; }
3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3256 ac_clean_files_save=$ac_clean_files
3257 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3258 # Try to create an executable without -o first, disregard a.out.
3259 # It will help us diagnose broken compilers, and finding out an intuition
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3262 $as_echo_n "checking whether the C compiler works... " >&6; }
3263 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3265 # The possible output files:
3266 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3269 for ac_file in $ac_files
3272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3273 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3278 if { { ac_try="$ac_link_default"
3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285 (eval "$ac_link_default") 2>&5
3287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3288 test $ac_status = 0; }; then :
3289 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3290 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3291 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3292 # so that the user can short-circuit this test for compilers unknown to
3294 for ac_file in $ac_files ''
3296 test -f "$ac_file" || continue
3298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3301 # We found the default executable, but exeext='' is most
3305 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3307 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3309 # We set ac_cv_exeext here because the later test for it is not
3310 # safe: cross compilers may not add the suffix if given an `-o'
3311 # argument, so we may need to know it at that point already.
3312 # Even if this section looks crufty: it has the advantage of
3319 test "$ac_cv_exeext" = no && ac_cv_exeext=
3324 if test -z "$ac_file"; then :
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 $as_echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3332 as_fn_error 77 "C compiler cannot create executables
3333 See \`config.log' for more details" "$LINENO" 5; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3336 $as_echo "yes" >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3339 $as_echo_n "checking for C compiler default output file name... " >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3341 $as_echo "$ac_file" >&6; }
3342 ac_exeext=$ac_cv_exeext
3344 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3345 ac_clean_files=$ac_clean_files_save
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3347 $as_echo_n "checking for suffix of executables... " >&6; }
3348 if { { ac_try="$ac_link"
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354 $as_echo "$ac_try_echo"; } >&5
3355 (eval "$ac_link") 2>&5
3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358 test $ac_status = 0; }; then :
3359 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3360 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3361 # work properly (i.e., refer to `conftest.exe'), while it won't with
3363 for ac_file in conftest.exe conftest conftest.*; do
3364 test -f "$ac_file" || continue
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3367 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3376 See \`config.log' for more details" "$LINENO" 5; }
3378 rm -f conftest conftest$ac_cv_exeext
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3380 $as_echo "$ac_cv_exeext" >&6; }
3382 rm -f conftest.$ac_ext
3383 EXEEXT=$ac_cv_exeext
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3391 FILE *f = fopen ("conftest.out", "w");
3392 return ferror (f) || fclose (f) != 0;
3398 ac_clean_files="$ac_clean_files conftest.out"
3399 # Check that the compiler produces executables we can run. If not, either
3400 # the compiler is broken, or we cross compile.
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3402 $as_echo_n "checking whether we are cross compiling... " >&6; }
3403 if test "$cross_compiling" != yes; then
3404 { { ac_try="$ac_link"
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3410 $as_echo "$ac_try_echo"; } >&5
3411 (eval "$ac_link") 2>&5
3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3414 test $ac_status = 0; }
3415 if { ac_try='./conftest$ac_cv_exeext'
3416 { { case "(($ac_try" in
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3421 $as_echo "$ac_try_echo"; } >&5
3422 (eval "$ac_try") 2>&5
3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425 test $ac_status = 0; }; }; then
3428 if test "$cross_compiling" = maybe; then
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error $? "cannot run C compiled programs.
3434 If you meant to cross compile, use \`--host'.
3435 See \`config.log' for more details" "$LINENO" 5; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3440 $as_echo "$cross_compiling" >&6; }
3442 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3443 ac_clean_files=$ac_clean_files_save
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3445 $as_echo_n "checking for suffix of object files... " >&6; }
3446 if ${ac_cv_objext+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 rm -f conftest.o conftest.obj
3461 if { { ac_try="$ac_compile"
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_compile") 2>&5
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; }; then :
3472 for ac_file in conftest.o conftest.obj conftest.*; do
3473 test -f "$ac_file" || continue;
3475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3476 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3481 $as_echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error $? "cannot compute suffix of object files: cannot compile
3487 See \`config.log' for more details" "$LINENO" 5; }
3489 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3492 $as_echo "$ac_cv_objext" >&6; }
3493 OBJEXT=$ac_cv_objext
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3496 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3497 if ${ac_cv_c_compiler_gnu+:} false; then :
3498 $as_echo_n "(cached) " >&6
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3524 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3525 if test $ac_compiler_gnu = yes; then
3530 ac_test_CFLAGS=${CFLAGS+set}
3531 ac_save_CFLAGS=$CFLAGS
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3533 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3534 if ${ac_cv_prog_cc_g+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 ac_save_c_werror_flag=$ac_c_werror_flag
3538 ac_c_werror_flag=yes
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 if ac_fn_c_try_compile "$LINENO"; then :
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3567 if ac_fn_c_try_compile "$LINENO"; then :
3570 ac_c_werror_flag=$ac_save_c_werror_flag
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 ac_c_werror_flag=$ac_save_c_werror_flag
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3594 $as_echo "$ac_cv_prog_cc_g" >&6; }
3595 if test "$ac_test_CFLAGS" = set; then
3596 CFLAGS=$ac_save_CFLAGS
3597 elif test $ac_cv_prog_cc_g = yes; then
3598 if test "$GCC" = yes; then
3604 if test "$GCC" = yes; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3611 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3612 if ${ac_cv_prog_cc_c89+:} false; then :
3613 $as_echo_n "(cached) " >&6
3615 ac_cv_prog_cc_c89=no
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3622 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3623 struct buf { int x; };
3624 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3625 static char *e (p, i)
3631 static char *f (char * (*g) (char **, int), char **p, ...)
3636 s = g (p, va_arg (v,int));
3641 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3642 function prototypes and stuff, but not '\xHH' hex character constants.
3643 These don't provoke an error unfortunately, instead are silently treated
3644 as 'x'. The following induces an error, until -std is added to get
3645 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3646 array size at least. It's necessary to write '\x00'==0 to get something
3647 that's true only with -std. */
3648 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3650 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3651 inside strings and character constants. */
3653 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3655 int test (int i, double x);
3656 struct s1 {int (*f) (int a);};
3657 struct s2 {int (*f) (double a);};
3658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3664 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3670 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3672 CC="$ac_save_CC $ac_arg"
3673 if ac_fn_c_try_compile "$LINENO"; then :
3674 ac_cv_prog_cc_c89=$ac_arg
3676 rm -f core conftest.err conftest.$ac_objext
3677 test "x$ac_cv_prog_cc_c89" != "xno" && break
3679 rm -f conftest.$ac_ext
3684 case "x$ac_cv_prog_cc_c89" in
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3687 $as_echo "none needed" >&6; } ;;
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3690 $as_echo "unsupported" >&6; } ;;
3692 CC="$CC $ac_cv_prog_cc_c89"
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3694 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3696 if test "x$ac_cv_prog_cc_c89" != xno; then :
3701 ac_cpp='$CPP $CPPFLAGS'
3702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705 DEPDIR="${am__leading_dot}deps"
3707 ac_config_commands="$ac_config_commands depfiles"
3710 am_make=${MAKE-make}
3711 cat > confinc << 'END'
3713 @echo this is the am__doit target
3716 # If we don't find an include directive, just comment out the code.
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3718 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3722 # First try GNU make style include.
3723 echo "include confinc" > confmf
3724 # Ignore all kinds of additional output from `make'.
3725 case `$am_make -s -f confmf 2> /dev/null` in #(
3726 *the\ am__doit\ target*)
3732 # Now try BSD make style include.
3733 if test "$am__include" = "#"; then
3734 echo '.include "confinc"' > confmf
3735 case `$am_make -s -f confmf 2> /dev/null` in #(
3736 *the\ am__doit\ target*)
3737 am__include=.include
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3746 $as_echo "$_am_result" >&6; }
3747 rm -f confinc confmf
3749 # Check whether --enable-dependency-tracking was given.
3750 if test "${enable_dependency_tracking+set}" = set; then :
3751 enableval=$enable_dependency_tracking;
3754 if test "x$enable_dependency_tracking" != xno; then
3755 am_depcomp="$ac_aux_dir/depcomp"
3759 if test "x$enable_dependency_tracking" != xno; then
3769 depcc="$CC" am_compiler_list=
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3772 $as_echo_n "checking dependency style of $depcc... " >&6; }
3773 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3777 # We make a subdir and do the tests there. Otherwise we can end up
3778 # making bogus files that we don't know about and never remove. For
3779 # instance it was reported that on HP-UX the gcc test will end up
3780 # making a dummy file named `D' -- because `-MD' means `put the output
3784 # Copy depcomp to subdir because otherwise we won't find it if we're
3785 # using a relative directory.
3786 cp "$am_depcomp" conftest.dir
3788 # We will build objects and dependencies in a subdirectory because
3789 # it helps to detect inapplicable dependency modes. For instance
3790 # both Tru64's cc and ICC support -MD to output dependencies as a
3791 # side effect of compilation, but ICC will put the dependencies in
3792 # the current directory while Tru64 will put them in the object
3796 am_cv_CC_dependencies_compiler_type=none
3797 if test "$am_compiler_list" = ""; then
3798 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3801 case " $depcc " in #(
3802 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3805 for depmode in $am_compiler_list; do
3806 # Setup a source with many dependencies, because some compilers
3807 # like to wrap large dependency lists on column 80 (with \), and
3808 # we should not choose a depcomp mode which is confused by this.
3810 # We need to recreate these files for each test, as the compiler may
3811 # overwrite some of them when testing with obscure command lines.
3812 # This happens at least with the AIX C compiler.
3814 for i in 1 2 3 4 5 6; do
3815 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3816 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3817 # Solaris 8's {/usr,}/bin/sh.
3818 touch sub/conftst$i.h
3820 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3822 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3823 # mode. It turns out that the SunPro C++ compiler does not properly
3824 # handle `-M -o', and we need to detect this. Also, some Intel
3825 # versions had trouble with output in subdirs
3826 am__obj=sub/conftest.${OBJEXT-o}
3827 am__minus_obj="-o $am__obj"
3830 # This depmode causes a compiler race in universal mode.
3831 test "$am__universal" = false || continue
3834 # after this tag, mechanisms are not by side-effect, so they'll
3835 # only be used when explicitly requested
3836 if test "x$enable_dependency_tracking" = xyes; then
3842 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3843 # This compiler won't grok `-c -o', but also, the minuso test has
3844 # not run yet. These depmodes are late enough in the game, and
3845 # so weak that their functioning should not be impacted.
3846 am__obj=conftest.${OBJEXT-o}
3851 if depmode=$depmode \
3852 source=sub/conftest.c object=$am__obj \
3853 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3854 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3855 >/dev/null 2>conftest.err &&
3856 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3857 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3858 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3859 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3860 # icc doesn't choke on unknown options, it will just issue warnings
3861 # or remarks (even with -Werror). So we grep stderr for any message
3862 # that says an option was ignored or not supported.
3863 # When given -MP, icc 7.0 and 7.1 complain thusly:
3864 # icc: Command line warning: ignoring option '-M'; no argument required
3865 # The diagnosis changed in icc 8.0:
3866 # icc: Command line remark: option '-MP' not supported
3867 if (grep 'ignoring option' conftest.err ||
3868 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3869 am_cv_CC_dependencies_compiler_type=$depmode
3878 am_cv_CC_dependencies_compiler_type=none
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3883 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3884 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3887 test "x$enable_dependency_tracking" != xno \
3888 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3890 am__fastdepCC_FALSE='#'
3892 am__fastdepCC_TRUE='#'
3893 am__fastdepCC_FALSE=
3897 if test "x$CC" != xcc; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3899 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3902 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3904 set dummy $CC; ac_cc=`$as_echo "$2" |
3905 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3906 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3907 $as_echo_n "(cached) " >&6
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3920 # Make sure it works both with $CC and with simple cc.
3921 # We do the test twice because some compilers refuse to overwrite an
3922 # existing .o file with -o, though they will create one.
3923 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3925 if { { case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_try") 2>&5
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; } &&
3935 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_try") 2>&5
3943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3944 test $ac_status = 0; };
3946 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3947 if test "x$CC" != xcc; then
3948 # Test first that cc exists at all.
3949 if { ac_try='cc -c conftest.$ac_ext >&5'
3950 { { case "(($ac_try" in
3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3955 $as_echo "$ac_try_echo"; } >&5
3956 (eval "$ac_try") 2>&5
3958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3959 test $ac_status = 0; }; }; then
3960 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3962 if { { case "(($ac_try" in
3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;;
3966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3967 $as_echo "$ac_try_echo"; } >&5
3968 (eval "$ac_try") 2>&5
3970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971 test $ac_status = 0; } &&
3972 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;;
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_try") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; };
3986 # cc exists but doesn't like -o.
3987 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3992 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3994 rm -f core conftest*
3997 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3999 $as_echo "yes" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4004 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4008 # FIXME: we rely on the cache variable name because
4009 # there is no other way.
4011 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4012 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4013 if test "$am_t" != yes; then
4014 # Losing compiler, so override with the script.
4015 # FIXME: It is wrong to rewrite CC.
4016 # But if we don't then we get into trouble of one sort or another.
4017 # A longer-term fix would be to have automake use am__CC in this case,
4018 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4019 CC="$am_aux_dir/compile $CC"
4025 # Check whether --enable-largefile was given.
4026 if test "${enable_largefile+set}" = set; then :
4027 enableval=$enable_largefile;
4030 if test "$enable_largefile" != no; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4033 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4034 if ${ac_cv_sys_largefile_CC+:} false; then :
4035 $as_echo_n "(cached) " >&6
4037 ac_cv_sys_largefile_CC=no
4038 if test "$GCC" != yes; then
4041 # IRIX 6.2 and later do not support large files by default,
4042 # so use the C compiler's -n32 option if that helps.
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4045 #include <sys/types.h>
4046 /* Check that off_t can represent 2**63 - 1 correctly.
4047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4048 since some C++ compilers masquerading as C compilers
4049 incorrectly reject 9223372036854775807. */
4050 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4052 && LARGE_OFF_T % 2147483647 == 1)
4062 if ac_fn_c_try_compile "$LINENO"; then :
4065 rm -f core conftest.err conftest.$ac_objext
4067 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_cv_sys_largefile_CC=' -n32'; break
4070 rm -f core conftest.err conftest.$ac_objext
4074 rm -f conftest.$ac_ext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4078 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4079 if test "$ac_cv_sys_largefile_CC" != no; then
4080 CC=$CC$ac_cv_sys_largefile_CC
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4084 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4085 if ${ac_cv_sys_file_offset_bits+:} false; then :
4086 $as_echo_n "(cached) " >&6
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4091 #include <sys/types.h>
4092 /* Check that off_t can represent 2**63 - 1 correctly.
4093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4094 since some C++ compilers masquerading as C compilers
4095 incorrectly reject 9223372036854775807. */
4096 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4098 && LARGE_OFF_T % 2147483647 == 1)
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109 ac_cv_sys_file_offset_bits=no; break
4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4114 #define _FILE_OFFSET_BITS 64
4115 #include <sys/types.h>
4116 /* Check that off_t can represent 2**63 - 1 correctly.
4117 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4118 since some C++ compilers masquerading as C compilers
4119 incorrectly reject 9223372036854775807. */
4120 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4121 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4122 && LARGE_OFF_T % 2147483647 == 1)
4132 if ac_fn_c_try_compile "$LINENO"; then :
4133 ac_cv_sys_file_offset_bits=64; break
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136 ac_cv_sys_file_offset_bits=unknown
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4141 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4142 case $ac_cv_sys_file_offset_bits in #(
4145 cat >>confdefs.h <<_ACEOF
4146 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4151 if test $ac_cv_sys_file_offset_bits = unknown; then
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4153 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4154 if ${ac_cv_sys_large_files+:} false; then :
4155 $as_echo_n "(cached) " >&6
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160 #include <sys/types.h>
4161 /* Check that off_t can represent 2**63 - 1 correctly.
4162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4163 since some C++ compilers masquerading as C compilers
4164 incorrectly reject 9223372036854775807. */
4165 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4167 && LARGE_OFF_T % 2147483647 == 1)
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_sys_large_files=no; break
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4183 #define _LARGE_FILES 1
4184 #include <sys/types.h>
4185 /* Check that off_t can represent 2**63 - 1 correctly.
4186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4187 since some C++ compilers masquerading as C compilers
4188 incorrectly reject 9223372036854775807. */
4189 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4191 && LARGE_OFF_T % 2147483647 == 1)
4201 if ac_fn_c_try_compile "$LINENO"; then :
4202 ac_cv_sys_large_files=1; break
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 ac_cv_sys_large_files=unknown
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4210 $as_echo "$ac_cv_sys_large_files" >&6; }
4211 case $ac_cv_sys_large_files in #(
4214 cat >>confdefs.h <<_ACEOF
4215 #define _LARGE_FILES $ac_cv_sys_large_files
4227 if test -n "$ac_tool_prefix"; then
4228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_RANLIB+:} false; then :
4233 $as_echo_n "(cached) " >&6
4235 if test -n "$RANLIB"; then
4236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir=.
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 RANLIB=$ac_cv_prog_RANLIB
4256 if test -n "$RANLIB"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4258 $as_echo "$RANLIB" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4266 if test -z "$ac_cv_prog_RANLIB"; then
4267 ac_ct_RANLIB=$RANLIB
4268 # Extract the first word of "ranlib", so it can be a program name with args.
4269 set dummy ranlib; ac_word=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$ac_ct_RANLIB"; then
4276 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_ac_ct_RANLIB="ranlib"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4296 if test -n "$ac_ct_RANLIB"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4298 $as_echo "$ac_ct_RANLIB" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4304 if test "x$ac_ct_RANLIB" = x; then
4307 case $cross_compiling:$ac_tool_warned in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned=yes ;;
4313 RANLIB=$ac_ct_RANLIB
4316 RANLIB="$ac_cv_prog_RANLIB"
4319 if test -n "$ac_tool_prefix"; then
4320 for ac_prog in ar lib "link -lib"
4322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 $as_echo_n "checking for $ac_word... " >&6; }
4326 if ${ac_cv_prog_AR+:} false; then :
4327 $as_echo_n "(cached) " >&6
4329 if test -n "$AR"; then
4330 ac_cv_prog_AR="$AR" # Let the user override the test.
4332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir=.
4337 for ac_exec_ext in '' $ac_executable_extensions; do
4338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 if test -n "$AR"; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4352 $as_echo "$AR" >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4359 test -n "$AR" && break
4362 if test -z "$AR"; then
4364 for ac_prog in ar lib "link -lib"
4366 # Extract the first word of "$ac_prog", so it can be a program name with args.
4367 set dummy $ac_prog; ac_word=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4371 $as_echo_n "(cached) " >&6
4373 if test -n "$ac_ct_AR"; then
4374 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir=.
4381 for ac_exec_ext in '' $ac_executable_extensions; do
4382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4383 ac_cv_prog_ac_ct_AR="$ac_prog"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4394 if test -n "$ac_ct_AR"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4396 $as_echo "$ac_ct_AR" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4403 test -n "$ac_ct_AR" && break
4406 if test "x$ac_ct_AR" = x; then
4409 case $cross_compiling:$ac_tool_warned in
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned=yes ;;
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4422 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4423 if ${am_cv_ar_interface+:} false; then :
4424 $as_echo_n "(cached) " >&6
4426 am_cv_ar_interface=ar
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 int some_variable = 0;
4431 if ac_fn_c_try_compile "$LINENO"; then :
4432 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4433 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4434 (eval $am_ar_try) 2>&5
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4438 if test "$ac_status" -eq 0; then
4439 am_cv_ar_interface=ar
4441 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4442 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4443 (eval $am_ar_try) 2>&5
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }
4447 if test "$ac_status" -eq 0; then
4448 am_cv_ar_interface=lib
4450 am_cv_ar_interface=unknown
4453 rm -f conftest.lib libconftest.a
4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4460 $as_echo "$am_cv_ar_interface" >&6; }
4462 case $am_cv_ar_interface in
4466 # Microsoft lib, so override with the ar-lib wrapper script.
4467 # FIXME: It is wrong to rewrite AR.
4468 # But if we don't then we get into trouble of one sort or another.
4469 # A longer-term fix would be to have automake use am__AR in this case,
4470 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4472 AR="$am_aux_dir/ar-lib $AR"
4475 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4480 # Checks for header files.
4482 ac_cpp='$CPP $CPPFLAGS'
4483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4487 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4488 # On Suns, sometimes $CPP names a directory.
4489 if test -n "$CPP" && test -d "$CPP"; then
4492 if test -z "$CPP"; then
4493 if ${ac_cv_prog_CPP+:} false; then :
4494 $as_echo_n "(cached) " >&6
4496 # Double quotes because CPP needs to be expanded
4497 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4500 for ac_c_preproc_warn_flag in '' yes
4502 # Use a header file that comes with gcc, so configuring glibc
4503 # with a fresh cross-compiler works.
4504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4505 # <limits.h> exists even on freestanding compilers.
4506 # On the NeXT, cc -E runs the code through the compiler's parser,
4507 # not just through cpp. "Syntax error" is here to catch this case.
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4511 # include <limits.h>
4513 # include <assert.h>
4517 if ac_fn_c_try_cpp "$LINENO"; then :
4520 # Broken: fails on valid input.
4523 rm -f conftest.err conftest.i conftest.$ac_ext
4525 # OK, works on sane cases. Now check whether nonexistent headers
4526 # can be detected and how.
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529 #include <ac_nonexistent.h>
4531 if ac_fn_c_try_cpp "$LINENO"; then :
4532 # Broken: success on invalid input.
4535 # Passes both tests.
4539 rm -f conftest.err conftest.i conftest.$ac_ext
4542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4543 rm -f conftest.i conftest.err conftest.$ac_ext
4544 if $ac_preproc_ok; then :
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4557 $as_echo "$CPP" >&6; }
4559 for ac_c_preproc_warn_flag in '' yes
4561 # Use a header file that comes with gcc, so configuring glibc
4562 # with a fresh cross-compiler works.
4563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4564 # <limits.h> exists even on freestanding compilers.
4565 # On the NeXT, cc -E runs the code through the compiler's parser,
4566 # not just through cpp. "Syntax error" is here to catch this case.
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4570 # include <limits.h>
4572 # include <assert.h>
4576 if ac_fn_c_try_cpp "$LINENO"; then :
4579 # Broken: fails on valid input.
4582 rm -f conftest.err conftest.i conftest.$ac_ext
4584 # OK, works on sane cases. Now check whether nonexistent headers
4585 # can be detected and how.
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4588 #include <ac_nonexistent.h>
4590 if ac_fn_c_try_cpp "$LINENO"; then :
4591 # Broken: success on invalid input.
4594 # Passes both tests.
4598 rm -f conftest.err conftest.i conftest.$ac_ext
4601 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4602 rm -f conftest.i conftest.err conftest.$ac_ext
4603 if $ac_preproc_ok; then :
4606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4608 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4609 See \`config.log' for more details" "$LINENO" 5; }
4613 ac_cpp='$CPP $CPPFLAGS'
4614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4620 $as_echo_n "checking for X... " >&6; }
4623 # Check whether --with-x was given.
4624 if test "${with_x+set}" = set; then :
4628 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4629 if test "x$with_x" = xno; then
4630 # The user explicitly disabled X.
4633 case $x_includes,$x_libraries in #(
4634 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4635 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4636 $as_echo_n "(cached) " >&6
4638 # One or both of the vars are not set, and there is no cached value.
4639 ac_x_includes=no ac_x_libraries=no
4640 rm -f -r conftest.dir
4641 if mkdir conftest.dir; then
4643 cat >Imakefile <<'_ACEOF'
4645 @echo incroot='${INCROOT}'
4647 @echo usrlibdir='${USRLIBDIR}'
4649 @echo libdir='${LIBDIR}'
4651 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4652 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4653 for ac_var in incroot usrlibdir libdir; do
4654 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4656 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4657 for ac_extension in a so sl dylib la dll; do
4658 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4659 test -f "$ac_im_libdir/libX11.$ac_extension"; then
4660 ac_im_usrlibdir=$ac_im_libdir; break
4663 # Screen out bogus values from the imake configuration. They are
4664 # bogus both because they are the default anyway, and because
4665 # using them would break gcc on systems where it needs fixed includes.
4666 case $ac_im_incroot in
4667 /usr/include) ac_x_includes= ;;
4668 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4670 case $ac_im_usrlibdir in
4671 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4672 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4676 rm -f -r conftest.dir
4679 # Standard set of common directories for X headers.
4680 # Check X11 before X11Rn because it is often a symlink to the current release.
4694 /usr/local/X11/include
4695 /usr/local/X11R7/include
4696 /usr/local/X11R6/include
4697 /usr/local/X11R5/include
4698 /usr/local/X11R4/include
4700 /usr/local/include/X11
4701 /usr/local/include/X11R7
4702 /usr/local/include/X11R6
4703 /usr/local/include/X11R5
4704 /usr/local/include/X11R4
4708 /usr/XFree86/include/X11
4712 /usr/unsupported/include
4714 /usr/local/x11r5/include
4715 /usr/lpp/Xamples/include
4717 /usr/openwin/include
4718 /usr/openwin/share/include'
4720 if test "$ac_x_includes" = no; then
4721 # Guess where to find include files, by looking for Xlib.h.
4722 # First, try using that file with no special directory specified.
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4725 #include <X11/Xlib.h>
4727 if ac_fn_c_try_cpp "$LINENO"; then :
4728 # We can compile using X headers with no special include directory.
4731 for ac_dir in $ac_x_header_dirs; do
4732 if test -r "$ac_dir/X11/Xlib.h"; then
4733 ac_x_includes=$ac_dir
4738 rm -f conftest.err conftest.i conftest.$ac_ext
4739 fi # $ac_x_includes = no
4741 if test "$ac_x_libraries" = no; then
4742 # Check for the libraries.
4743 # See if we find them without any special options.
4744 # Don't add to $LIBS permanently.
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4749 #include <X11/Xlib.h>
4758 if ac_fn_c_try_link "$LINENO"; then :
4760 # We can link X programs with no special library path.
4764 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4766 # Don't even attempt the hair of trying to link an X program!
4767 for ac_extension in a so sl dylib la dll; do
4768 if test -r "$ac_dir/libX11.$ac_extension"; then
4769 ac_x_libraries=$ac_dir
4775 rm -f core conftest.err conftest.$ac_objext \
4776 conftest$ac_exeext conftest.$ac_ext
4777 fi # $ac_x_libraries = no
4779 case $ac_x_includes,$ac_x_libraries in #(
4781 # Didn't find X, or a directory has "'" in its name.
4782 ac_cv_have_x="have_x=no";; #(
4784 # Record where we found X for the cache.
4785 ac_cv_have_x="have_x=yes\
4786 ac_x_includes='$ac_x_includes'\
4787 ac_x_libraries='$ac_x_libraries'"
4793 eval "$ac_cv_have_x"
4796 if test "$have_x" != yes; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4798 $as_echo "$have_x" >&6; }
4801 # If each of the values was on the command line, it overrides each guess.
4802 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4803 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4804 # Update the cache value to reflect the command line values.
4805 ac_cv_have_x="have_x=yes\
4806 ac_x_includes='$x_includes'\
4807 ac_x_libraries='$x_libraries'"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4809 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4813 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4814 if ${ac_cv_path_GREP+:} false; then :
4815 $as_echo_n "(cached) " >&6
4817 if test -z "$GREP"; then
4818 ac_path_GREP_found=false
4819 # Loop through the user's path and test for each of PROGNAME-LIST
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4824 test -z "$as_dir" && as_dir=.
4825 for ac_prog in grep ggrep; do
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4828 as_fn_executable_p "$ac_path_GREP" || continue
4829 # Check for GNU ac_path_GREP and select it if it is found.
4830 # Check for GNU $ac_path_GREP
4831 case `"$ac_path_GREP" --version 2>&1` in
4833 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4836 $as_echo_n 0123456789 >"conftest.in"
4839 cat "conftest.in" "conftest.in" >"conftest.tmp"
4840 mv "conftest.tmp" "conftest.in"
4841 cp "conftest.in" "conftest.nl"
4842 $as_echo 'GREP' >> "conftest.nl"
4843 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4844 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4845 as_fn_arith $ac_count + 1 && ac_count=$as_val
4846 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4847 # Best one so far, save it but keep looking for a better one
4848 ac_cv_path_GREP="$ac_path_GREP"
4849 ac_path_GREP_max=$ac_count
4851 # 10*(2^10) chars as input seems more than enough
4852 test $ac_count -gt 10 && break
4854 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4857 $ac_path_GREP_found && break 3
4862 if test -z "$ac_cv_path_GREP"; then
4863 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4866 ac_cv_path_GREP=$GREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4871 $as_echo "$ac_cv_path_GREP" >&6; }
4872 GREP="$ac_cv_path_GREP"
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4876 $as_echo_n "checking for egrep... " >&6; }
4877 if ${ac_cv_path_EGREP+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4881 then ac_cv_path_EGREP="$GREP -E"
4883 if test -z "$EGREP"; then
4884 ac_path_EGREP_found=false
4885 # Loop through the user's path and test for each of PROGNAME-LIST
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4890 test -z "$as_dir" && as_dir=.
4891 for ac_prog in egrep; do
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4894 as_fn_executable_p "$ac_path_EGREP" || continue
4895 # Check for GNU ac_path_EGREP and select it if it is found.
4896 # Check for GNU $ac_path_EGREP
4897 case `"$ac_path_EGREP" --version 2>&1` in
4899 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4902 $as_echo_n 0123456789 >"conftest.in"
4905 cat "conftest.in" "conftest.in" >"conftest.tmp"
4906 mv "conftest.tmp" "conftest.in"
4907 cp "conftest.in" "conftest.nl"
4908 $as_echo 'EGREP' >> "conftest.nl"
4909 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4910 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4911 as_fn_arith $ac_count + 1 && ac_count=$as_val
4912 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4913 # Best one so far, save it but keep looking for a better one
4914 ac_cv_path_EGREP="$ac_path_EGREP"
4915 ac_path_EGREP_max=$ac_count
4917 # 10*(2^10) chars as input seems more than enough
4918 test $ac_count -gt 10 && break
4920 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4923 $ac_path_EGREP_found && break 3
4928 if test -z "$ac_cv_path_EGREP"; then
4929 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4932 ac_cv_path_EGREP=$EGREP
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4938 $as_echo "$ac_cv_path_EGREP" >&6; }
4939 EGREP="$ac_cv_path_EGREP"
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4943 $as_echo_n "checking for ANSI C header files... " >&6; }
4944 if ${ac_cv_header_stdc+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4962 if ac_fn_c_try_compile "$LINENO"; then :
4963 ac_cv_header_stdc=yes
4965 ac_cv_header_stdc=no
4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969 if test $ac_cv_header_stdc = yes; then
4970 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4977 $EGREP "memchr" >/dev/null 2>&1; then :
4980 ac_cv_header_stdc=no
4986 if test $ac_cv_header_stdc = yes; then
4987 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4994 $EGREP "free" >/dev/null 2>&1; then :
4997 ac_cv_header_stdc=no
5003 if test $ac_cv_header_stdc = yes; then
5004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5005 if test "$cross_compiling" = yes; then :
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5012 #if ((' ' & 0x0FF) == 0x020)
5013 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5014 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5016 # define ISLOWER(c) \
5017 (('a' <= (c) && (c) <= 'i') \
5018 || ('j' <= (c) && (c) <= 'r') \
5019 || ('s' <= (c) && (c) <= 'z'))
5020 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5023 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5028 for (i = 0; i < 256; i++)
5029 if (XOR (islower (i), ISLOWER (i))
5030 || toupper (i) != TOUPPER (i))
5035 if ac_fn_c_try_run "$LINENO"; then :
5038 ac_cv_header_stdc=no
5040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5041 conftest.$ac_objext conftest.beam conftest.$ac_ext
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5047 $as_echo "$ac_cv_header_stdc" >&6; }
5048 if test $ac_cv_header_stdc = yes; then
5050 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5054 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5055 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5056 inttypes.h stdint.h unistd.h
5058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5062 cat >>confdefs.h <<_ACEOF
5063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5071 for ac_header in stdbool.h
5073 ac_fn_c_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
5074 if test "x$ac_cv_header_stdbool_h" = xyes; then :
5075 cat >>confdefs.h <<_ACEOF
5076 #define HAVE_STDBOOL_H 1
5084 # Checks for typedefs, structures, and compiler characteristics.
5085 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5086 if test "x$ac_cv_type_size_t" = xyes; then :
5090 cat >>confdefs.h <<_ACEOF
5091 #define size_t unsigned int
5096 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5097 if test "x$ac_cv_type_ssize_t" = xyes; then :
5101 cat >>confdefs.h <<_ACEOF
5108 # Checks for library functions.
5109 for ac_header in stdlib.h
5111 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5112 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5113 cat >>confdefs.h <<_ACEOF
5114 #define HAVE_STDLIB_H 1
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5122 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5123 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5124 $as_echo_n "(cached) " >&6
5126 if test "$cross_compiling" = yes; then :
5127 ac_cv_func_malloc_0_nonnull=no
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5130 /* end confdefs.h. */
5131 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5132 # include <stdlib.h>
5140 return ! malloc (0);
5145 if ac_fn_c_try_run "$LINENO"; then :
5146 ac_cv_func_malloc_0_nonnull=yes
5148 ac_cv_func_malloc_0_nonnull=no
5150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5151 conftest.$ac_objext conftest.beam conftest.$ac_ext
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5156 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5157 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5159 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5162 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5164 case " $LIBOBJS " in
5165 *" malloc.$ac_objext "* ) ;;
5166 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5171 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5176 for ac_header in stdlib.h
5178 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5179 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5180 cat >>confdefs.h <<_ACEOF
5181 #define HAVE_STDLIB_H 1
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5189 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5190 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5191 $as_echo_n "(cached) " >&6
5193 if test "$cross_compiling" = yes; then :
5194 ac_cv_func_realloc_0_nonnull=no
5196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197 /* end confdefs.h. */
5198 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5199 # include <stdlib.h>
5207 return ! realloc (0, 0);
5212 if ac_fn_c_try_run "$LINENO"; then :
5213 ac_cv_func_realloc_0_nonnull=yes
5215 ac_cv_func_realloc_0_nonnull=no
5217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5218 conftest.$ac_objext conftest.beam conftest.$ac_ext
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5223 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5224 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5226 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5229 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5231 case " $LIBOBJS " in
5232 *" realloc.$ac_objext "* ) ;;
5233 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5238 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5243 for ac_func in gettimeofday memmove socket strdup strtol
5245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5248 cat >>confdefs.h <<_ACEOF
5249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5258 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5259 if ${ac_cv_path_SED+:} false; then :
5260 $as_echo_n "(cached) " >&6
5262 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5263 for ac_i in 1 2 3 4 5 6 7; do
5264 ac_script="$ac_script$as_nl$ac_script"
5266 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5267 { ac_script=; unset ac_script;}
5268 if test -z "$SED"; then
5269 ac_path_SED_found=false
5270 # Loop through the user's path and test for each of PROGNAME-LIST
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_prog in sed gsed; do
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5279 as_fn_executable_p "$ac_path_SED" || continue
5280 # Check for GNU ac_path_SED and select it if it is found.
5281 # Check for GNU $ac_path_SED
5282 case `"$ac_path_SED" --version 2>&1` in
5284 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5287 $as_echo_n 0123456789 >"conftest.in"
5290 cat "conftest.in" "conftest.in" >"conftest.tmp"
5291 mv "conftest.tmp" "conftest.in"
5292 cp "conftest.in" "conftest.nl"
5293 $as_echo '' >> "conftest.nl"
5294 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5295 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5296 as_fn_arith $ac_count + 1 && ac_count=$as_val
5297 if test $ac_count -gt ${ac_path_SED_max-0}; then
5298 # Best one so far, save it but keep looking for a better one
5299 ac_cv_path_SED="$ac_path_SED"
5300 ac_path_SED_max=$ac_count
5302 # 10*(2^10) chars as input seems more than enough
5303 test $ac_count -gt 10 && break
5305 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5308 $ac_path_SED_found && break 3
5313 if test -z "$ac_cv_path_SED"; then
5314 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5322 $as_echo "$ac_cv_path_SED" >&6; }
5323 SED="$ac_cv_path_SED"
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5328 $as_echo_n "checking whether NLS is requested... " >&6; }
5329 # Check whether --enable-nls was given.
5330 if test "${enable_nls+set}" = set; then :
5331 enableval=$enable_nls; USE_NLS=$enableval
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5337 $as_echo "$USE_NLS" >&6; }
5342 GETTEXT_MACRO_VERSION=0.18
5347 # Prepare PATH_SEPARATOR.
5348 # The user is always right.
5349 if test "${PATH_SEPARATOR+set}" != set; then
5350 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5351 # contains only /bin. Note that ksh looks also at the FPATH variable,
5352 # so we have to set that as well for the test.
5354 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5355 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5356 || PATH_SEPARATOR=';'
5360 # Find out how to test for executable files. Don't use a zero-byte file,
5361 # as systems may use methods other than mode bits to determine executability.
5362 cat >conf$$.file <<_ASEOF
5366 chmod +x conf$$.file
5367 if test -x conf$$.file >/dev/null 2>&1; then
5368 ac_executable_p="test -x"
5370 ac_executable_p="test -f"
5374 # Extract the first word of "msgfmt", so it can be a program name with args.
5375 set dummy msgfmt; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_path_MSGFMT+:} false; then :
5379 $as_echo_n "(cached) " >&6
5383 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5386 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5387 for ac_dir in $PATH; do
5389 test -z "$ac_dir" && ac_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5392 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5393 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5394 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5395 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5402 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5406 MSGFMT="$ac_cv_path_MSGFMT"
5407 if test "$MSGFMT" != ":"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5409 $as_echo "$MSGFMT" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5415 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5416 set dummy gmsgfmt; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_path_GMSGFMT+:} false; then :
5420 $as_echo_n "(cached) " >&6
5424 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5446 GMSGFMT=$ac_cv_path_GMSGFMT
5447 if test -n "$GMSGFMT"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5449 $as_echo "$GMSGFMT" >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5458 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5459 *) MSGFMT_015=$MSGFMT ;;
5462 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5463 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5464 *) GMSGFMT_015=$GMSGFMT ;;
5469 # Prepare PATH_SEPARATOR.
5470 # The user is always right.
5471 if test "${PATH_SEPARATOR+set}" != set; then
5472 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5473 # contains only /bin. Note that ksh looks also at the FPATH variable,
5474 # so we have to set that as well for the test.
5476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5477 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5478 || PATH_SEPARATOR=';'
5482 # Find out how to test for executable files. Don't use a zero-byte file,
5483 # as systems may use methods other than mode bits to determine executability.
5484 cat >conf$$.file <<_ASEOF
5488 chmod +x conf$$.file
5489 if test -x conf$$.file >/dev/null 2>&1; then
5490 ac_executable_p="test -x"
5492 ac_executable_p="test -f"
5496 # Extract the first word of "xgettext", so it can be a program name with args.
5497 set dummy xgettext; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_path_XGETTEXT+:} false; then :
5501 $as_echo_n "(cached) " >&6
5505 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5508 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5509 for ac_dir in $PATH; do
5511 test -z "$ac_dir" && ac_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5514 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5515 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5516 (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
5517 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5524 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5528 XGETTEXT="$ac_cv_path_XGETTEXT"
5529 if test "$XGETTEXT" != ":"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5531 $as_echo "$XGETTEXT" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5539 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5540 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5541 *) XGETTEXT_015=$XGETTEXT ;;
5546 # Prepare PATH_SEPARATOR.
5547 # The user is always right.
5548 if test "${PATH_SEPARATOR+set}" != set; then
5549 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5550 # contains only /bin. Note that ksh looks also at the FPATH variable,
5551 # so we have to set that as well for the test.
5553 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5554 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5555 || PATH_SEPARATOR=';'
5559 # Find out how to test for executable files. Don't use a zero-byte file,
5560 # as systems may use methods other than mode bits to determine executability.
5561 cat >conf$$.file <<_ASEOF
5565 chmod +x conf$$.file
5566 if test -x conf$$.file >/dev/null 2>&1; then
5567 ac_executable_p="test -x"
5569 ac_executable_p="test -f"
5573 # Extract the first word of "msgmerge", so it can be a program name with args.
5574 set dummy msgmerge; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_path_MSGMERGE+:} false; then :
5578 $as_echo_n "(cached) " >&6
5582 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5585 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5586 for ac_dir in $PATH; do
5588 test -z "$ac_dir" && ac_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5591 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5592 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5593 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5600 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5604 MSGMERGE="$ac_cv_path_MSGMERGE"
5605 if test "$MSGMERGE" != ":"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5607 $as_echo "$MSGMERGE" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5614 test -n "$localedir" || localedir='${datadir}/locale'
5617 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5620 ac_config_commands="$ac_config_commands po-directories"
5624 if test "X$prefix" = "XNONE"; then
5625 acl_final_prefix="$ac_default_prefix"
5627 acl_final_prefix="$prefix"
5629 if test "X$exec_prefix" = "XNONE"; then
5630 acl_final_exec_prefix='${prefix}'
5632 acl_final_exec_prefix="$exec_prefix"
5634 acl_save_prefix="$prefix"
5635 prefix="$acl_final_prefix"
5636 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5637 prefix="$acl_save_prefix"
5639 # Make sure we can run config.sub.
5640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5641 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5644 $as_echo_n "checking build system type... " >&6; }
5645 if ${ac_cv_build+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 ac_build_alias=$build_alias
5649 test "x$ac_build_alias" = x &&
5650 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5651 test "x$ac_build_alias" = x &&
5652 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5653 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5654 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5658 $as_echo "$ac_cv_build" >&6; }
5659 case $ac_cv_build in
5661 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5664 ac_save_IFS=$IFS; IFS='-'
5670 # Remember, the first character of IFS is used to create $*,
5671 # except with old shells:
5674 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5678 $as_echo_n "checking host system type... " >&6; }
5679 if ${ac_cv_host+:} false; then :
5680 $as_echo_n "(cached) " >&6
5682 if test "x$host_alias" = x; then
5683 ac_cv_host=$ac_cv_build
5685 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5686 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5691 $as_echo "$ac_cv_host" >&6; }
5694 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5697 ac_save_IFS=$IFS; IFS='-'
5703 # Remember, the first character of IFS is used to create $*,
5704 # except with old shells:
5707 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5712 # Check whether --with-gnu-ld was given.
5713 if test "${with_gnu_ld+set}" = set; then :
5714 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5719 # Prepare PATH_SEPARATOR.
5720 # The user is always right.
5721 if test "${PATH_SEPARATOR+set}" != set; then
5722 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5723 # contains only /bin. Note that ksh looks also at the FPATH variable,
5724 # so we have to set that as well for the test.
5726 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5727 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5728 || PATH_SEPARATOR=';'
5733 if test "$GCC" = yes; then
5734 # Check if gcc -print-prog-name=ld gives a path.
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5736 $as_echo_n "checking for ld used by $CC... " >&6; }
5739 # gcc leaves a trailing carriage return which upsets mingw
5740 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5742 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5745 # Accept absolute paths.
5747 re_direlt='/[^/][^/]*/\.\./'
5748 # Canonicalize the pathname of ld
5749 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5750 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
5751 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5753 test -z "$LD" && LD="$ac_prog"
5756 # If it fails, then pretend we aren't using GCC.
5760 # If it is relative, then search for the first ld in PATH.
5764 elif test "$with_gnu_ld" = yes; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5766 $as_echo_n "checking for GNU ld... " >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5769 $as_echo_n "checking for non-GNU ld... " >&6; }
5771 if ${acl_cv_path_LD+:} false; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -z "$LD"; then
5775 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5776 for ac_dir in $PATH; do
5778 test -z "$ac_dir" && ac_dir=.
5779 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5780 acl_cv_path_LD="$ac_dir/$ac_prog"
5781 # Check to see if the program is GNU ld. I'd rather use --version,
5782 # but apparently some variants of GNU ld only accept -v.
5783 # Break only if it was the GNU/non-GNU ld that we prefer.
5784 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5785 *GNU* | *'with BFD'*)
5786 test "$with_gnu_ld" != no && break
5789 test "$with_gnu_ld" != yes && break
5796 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5800 LD="$acl_cv_path_LD"
5801 if test -n "$LD"; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5803 $as_echo "$LD" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5808 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5810 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5811 if ${acl_cv_prog_gnu_ld+:} false; then :
5812 $as_echo_n "(cached) " >&6
5814 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5815 case `$LD -v 2>&1 </dev/null` in
5816 *GNU* | *'with BFD'*)
5817 acl_cv_prog_gnu_ld=yes
5820 acl_cv_prog_gnu_ld=no
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5825 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5826 with_gnu_ld=$acl_cv_prog_gnu_ld
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5832 $as_echo_n "checking for shared library run path origin... " >&6; }
5833 if ${acl_cv_rpath+:} false; then :
5834 $as_echo_n "(cached) " >&6
5837 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5838 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5845 $as_echo "$acl_cv_rpath" >&6; }
5847 acl_libext="$acl_cv_libext"
5848 acl_shlibext="$acl_cv_shlibext"
5849 acl_libname_spec="$acl_cv_libname_spec"
5850 acl_library_names_spec="$acl_cv_library_names_spec"
5851 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5852 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5853 acl_hardcode_direct="$acl_cv_hardcode_direct"
5854 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5855 # Check whether --enable-rpath was given.
5856 if test "${enable_rpath+set}" = set; then :
5857 enableval=$enable_rpath; :
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5870 $as_echo_n "checking for 64-bit host... " >&6; }
5871 if ${gl_cv_solaris_64bit+:} false; then :
5872 $as_echo_n "(cached) " >&6
5874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5883 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5884 gl_cv_solaris_64bit=yes
5886 gl_cv_solaris_64bit=no
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5893 $as_echo "$gl_cv_solaris_64bit" >&6; }
5894 if test $gl_cv_solaris_64bit = yes; then
5895 acl_libdirstem=lib/64
5897 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5898 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5903 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5904 if test -n "$searchpath"; then
5905 acl_save_IFS="${IFS= }"; IFS=":"
5906 for searchdir in $searchpath; do
5907 if test -d "$searchdir"; then
5908 case "$searchdir" in
5909 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5911 # Better ignore directories of this form. They are misleading.
5913 *) searchdir=`cd "$searchdir" && pwd`
5914 case "$searchdir" in
5915 */lib64 ) acl_libdirstem=lib64 ;;
5924 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5939 acl_save_prefix="$prefix"
5940 prefix="$acl_final_prefix"
5941 acl_save_exec_prefix="$exec_prefix"
5942 exec_prefix="$acl_final_exec_prefix"
5944 eval additional_includedir=\"$includedir\"
5945 eval additional_libdir=\"$libdir\"
5947 exec_prefix="$acl_save_exec_prefix"
5948 prefix="$acl_save_prefix"
5951 # Check whether --with-libiconv-prefix was given.
5952 if test "${with_libiconv_prefix+set}" = set; then :
5953 withval=$with_libiconv_prefix;
5954 if test "X$withval" = "Xno"; then
5957 if test "X$withval" = "X"; then
5959 acl_save_prefix="$prefix"
5960 prefix="$acl_final_prefix"
5961 acl_save_exec_prefix="$exec_prefix"
5962 exec_prefix="$acl_final_exec_prefix"
5964 eval additional_includedir=\"$includedir\"
5965 eval additional_libdir=\"$libdir\"
5967 exec_prefix="$acl_save_exec_prefix"
5968 prefix="$acl_save_prefix"
5971 additional_includedir="$withval/include"
5972 additional_libdir="$withval/$acl_libdirstem"
5973 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5974 && ! test -d "$withval/$acl_libdirstem"; then
5975 additional_libdir="$withval/$acl_libdirstem2"
5989 names_already_handled=
5990 names_next_round='iconv '
5991 while test -n "$names_next_round"; do
5992 names_this_round="$names_next_round"
5994 for name in $names_this_round; do
5996 for n in $names_already_handled; do
5997 if test "$n" = "$name"; then
6002 if test -z "$already_handled"; then
6003 names_already_handled="$names_already_handled $name"
6004 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6005 eval value=\"\$HAVE_LIB$uppername\"
6006 if test -n "$value"; then
6007 if test "$value" = yes; then
6008 eval value=\"\$LIB$uppername\"
6009 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
6010 eval value=\"\$LTLIB$uppername\"
6011 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
6020 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6021 if test -n "$acl_shlibext"; then
6022 shrext=".$acl_shlibext" # typically: shrext=.so
6026 if test $use_additional = yes; then
6027 dir="$additional_libdir"
6028 if test -n "$acl_shlibext"; then
6029 if test -f "$dir/$libname$shrext"; then
6031 found_so="$dir/$libname$shrext"
6033 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6034 ver=`(cd "$dir" && \
6035 for f in "$libname$shrext".*; do echo "$f"; done \
6036 | sed -e "s,^$libname$shrext\\\\.,," \
6037 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6038 | sed 1q ) 2>/dev/null`
6039 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6041 found_so="$dir/$libname$shrext.$ver"
6044 eval library_names=\"$acl_library_names_spec\"
6045 for f in $library_names; do
6046 if test -f "$dir/$f"; then
6055 if test "X$found_dir" = "X"; then
6056 if test -f "$dir/$libname.$acl_libext"; then
6058 found_a="$dir/$libname.$acl_libext"
6061 if test "X$found_dir" != "X"; then
6062 if test -f "$dir/$libname.la"; then
6063 found_la="$dir/$libname.la"
6067 if test "X$found_dir" = "X"; then
6068 for x in $LDFLAGS $LTLIBICONV; do
6070 acl_save_prefix="$prefix"
6071 prefix="$acl_final_prefix"
6072 acl_save_exec_prefix="$exec_prefix"
6073 exec_prefix="$acl_final_exec_prefix"
6075 exec_prefix="$acl_save_exec_prefix"
6076 prefix="$acl_save_prefix"
6080 dir=`echo "X$x" | sed -e 's/^X-L//'`
6081 if test -n "$acl_shlibext"; then
6082 if test -f "$dir/$libname$shrext"; then
6084 found_so="$dir/$libname$shrext"
6086 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6087 ver=`(cd "$dir" && \
6088 for f in "$libname$shrext".*; do echo "$f"; done \
6089 | sed -e "s,^$libname$shrext\\\\.,," \
6090 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6091 | sed 1q ) 2>/dev/null`
6092 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6094 found_so="$dir/$libname$shrext.$ver"
6097 eval library_names=\"$acl_library_names_spec\"
6098 for f in $library_names; do
6099 if test -f "$dir/$f"; then
6108 if test "X$found_dir" = "X"; then
6109 if test -f "$dir/$libname.$acl_libext"; then
6111 found_a="$dir/$libname.$acl_libext"
6114 if test "X$found_dir" != "X"; then
6115 if test -f "$dir/$libname.la"; then
6116 found_la="$dir/$libname.la"
6121 if test "X$found_dir" != "X"; then
6126 if test "X$found_dir" != "X"; then
6127 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6128 if test "X$found_so" != "X"; then
6129 if test "$enable_rpath" = no \
6130 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6131 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6132 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6135 for x in $ltrpathdirs; do
6136 if test "X$x" = "X$found_dir"; then
6141 if test -z "$haveit"; then
6142 ltrpathdirs="$ltrpathdirs $found_dir"
6144 if test "$acl_hardcode_direct" = yes; then
6145 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6147 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6148 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6150 for x in $rpathdirs; do
6151 if test "X$x" = "X$found_dir"; then
6156 if test -z "$haveit"; then
6157 rpathdirs="$rpathdirs $found_dir"
6161 for x in $LDFLAGS $LIBICONV; do
6163 acl_save_prefix="$prefix"
6164 prefix="$acl_final_prefix"
6165 acl_save_exec_prefix="$exec_prefix"
6166 exec_prefix="$acl_final_exec_prefix"
6168 exec_prefix="$acl_save_exec_prefix"
6169 prefix="$acl_save_prefix"
6171 if test "X$x" = "X-L$found_dir"; then
6176 if test -z "$haveit"; then
6177 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6179 if test "$acl_hardcode_minus_L" != no; then
6180 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6182 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6188 if test "X$found_a" != "X"; then
6189 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
6191 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6194 additional_includedir=
6195 case "$found_dir" in
6196 */$acl_libdirstem | */$acl_libdirstem/)
6197 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6198 if test "$name" = 'iconv'; then
6199 LIBICONV_PREFIX="$basedir"
6201 additional_includedir="$basedir/include"
6203 */$acl_libdirstem2 | */$acl_libdirstem2/)
6204 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6205 if test "$name" = 'iconv'; then
6206 LIBICONV_PREFIX="$basedir"
6208 additional_includedir="$basedir/include"
6211 if test "X$additional_includedir" != "X"; then
6212 if test "X$additional_includedir" != "X/usr/include"; then
6214 if test "X$additional_includedir" = "X/usr/local/include"; then
6215 if test -n "$GCC"; then
6217 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6221 if test -z "$haveit"; then
6222 for x in $CPPFLAGS $INCICONV; do
6224 acl_save_prefix="$prefix"
6225 prefix="$acl_final_prefix"
6226 acl_save_exec_prefix="$exec_prefix"
6227 exec_prefix="$acl_final_exec_prefix"
6229 exec_prefix="$acl_save_exec_prefix"
6230 prefix="$acl_save_prefix"
6232 if test "X$x" = "X-I$additional_includedir"; then
6237 if test -z "$haveit"; then
6238 if test -d "$additional_includedir"; then
6239 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6245 if test -n "$found_la"; then
6246 save_libdir="$libdir"
6248 */* | *\\*) . "$found_la" ;;
6249 *) . "./$found_la" ;;
6251 libdir="$save_libdir"
6252 for dep in $dependency_libs; do
6255 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6256 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6257 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6259 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6260 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6261 if test -n "$GCC"; then
6263 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6267 if test -z "$haveit"; then
6269 for x in $LDFLAGS $LIBICONV; do
6271 acl_save_prefix="$prefix"
6272 prefix="$acl_final_prefix"
6273 acl_save_exec_prefix="$exec_prefix"
6274 exec_prefix="$acl_final_exec_prefix"
6276 exec_prefix="$acl_save_exec_prefix"
6277 prefix="$acl_save_prefix"
6279 if test "X$x" = "X-L$additional_libdir"; then
6284 if test -z "$haveit"; then
6285 if test -d "$additional_libdir"; then
6286 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6290 for x in $LDFLAGS $LTLIBICONV; do
6292 acl_save_prefix="$prefix"
6293 prefix="$acl_final_prefix"
6294 acl_save_exec_prefix="$exec_prefix"
6295 exec_prefix="$acl_final_exec_prefix"
6297 exec_prefix="$acl_save_exec_prefix"
6298 prefix="$acl_save_prefix"
6300 if test "X$x" = "X-L$additional_libdir"; then
6305 if test -z "$haveit"; then
6306 if test -d "$additional_libdir"; then
6307 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6314 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6315 if test "$enable_rpath" != no; then
6317 for x in $rpathdirs; do
6318 if test "X$x" = "X$dir"; then
6323 if test -z "$haveit"; then
6324 rpathdirs="$rpathdirs $dir"
6327 for x in $ltrpathdirs; do
6328 if test "X$x" = "X$dir"; then
6333 if test -z "$haveit"; then
6334 ltrpathdirs="$ltrpathdirs $dir"
6339 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6342 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6345 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
6346 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6352 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6353 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6359 if test "X$rpathdirs" != "X"; then
6360 if test -n "$acl_hardcode_libdir_separator"; then
6362 for found_dir in $rpathdirs; do
6363 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6365 acl_save_libdir="$libdir"
6367 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6368 libdir="$acl_save_libdir"
6369 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6371 for found_dir in $rpathdirs; do
6372 acl_save_libdir="$libdir"
6374 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6375 libdir="$acl_save_libdir"
6376 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
6380 if test "X$ltrpathdirs" != "X"; then
6381 for found_dir in $ltrpathdirs; do
6382 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6417 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6418 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
6419 $as_echo_n "(cached) " >&6
6421 gt_save_LIBS="$LIBS"
6422 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #include <CoreFoundation/CFPreferences.h>
6429 CFPreferencesCopyAppValue(NULL, NULL)
6434 if ac_fn_c_try_link "$LINENO"; then :
6435 gt_cv_func_CFPreferencesCopyAppValue=yes
6437 gt_cv_func_CFPreferencesCopyAppValue=no
6439 rm -f core conftest.err conftest.$ac_objext \
6440 conftest$ac_exeext conftest.$ac_ext
6441 LIBS="$gt_save_LIBS"
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6444 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6445 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6447 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6451 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6452 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6453 $as_echo_n "(cached) " >&6
6455 gt_save_LIBS="$LIBS"
6456 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6459 #include <CoreFoundation/CFLocale.h>
6463 CFLocaleCopyCurrent();
6468 if ac_fn_c_try_link "$LINENO"; then :
6469 gt_cv_func_CFLocaleCopyCurrent=yes
6471 gt_cv_func_CFLocaleCopyCurrent=no
6473 rm -f core conftest.err conftest.$ac_objext \
6474 conftest$ac_exeext conftest.$ac_ext
6475 LIBS="$gt_save_LIBS"
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6478 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6479 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6481 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6485 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6486 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6498 case " $gt_needs " in
6499 *" need-formatstring-macros "*) gt_api_version=3 ;;
6500 *" need-ngettext "*) gt_api_version=2 ;;
6501 *) gt_api_version=1 ;;
6503 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6504 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6506 if test "$USE_NLS" = "yes"; then
6507 gt_use_preinstalled_gnugettext=no
6510 if test $gt_api_version -ge 3; then
6511 gt_revision_test_code='
6512 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6513 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6515 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6518 gt_revision_test_code=
6520 if test $gt_api_version -ge 2; then
6521 gt_expression_test_code=' + * ngettext ("", "", 0)'
6523 gt_expression_test_code=
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6527 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6528 if eval \${$gt_func_gnugettext_libc+:} false; then :
6529 $as_echo_n "(cached) " >&6
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6534 #include <libintl.h>
6535 $gt_revision_test_code
6536 extern int _nl_msg_cat_cntr;
6537 extern int *_nl_domain_bindings;
6543 bindtextdomain ("", "");
6544 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6550 if ac_fn_c_try_link "$LINENO"; then :
6551 eval "$gt_func_gnugettext_libc=yes"
6553 eval "$gt_func_gnugettext_libc=no"
6555 rm -f core conftest.err conftest.$ac_objext \
6556 conftest$ac_exeext conftest.$ac_ext
6558 eval ac_res=\$$gt_func_gnugettext_libc
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6560 $as_echo "$ac_res" >&6; }
6562 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6568 am_save_CPPFLAGS="$CPPFLAGS"
6570 for element in $INCICONV; do
6572 for x in $CPPFLAGS; do
6574 acl_save_prefix="$prefix"
6575 prefix="$acl_final_prefix"
6576 acl_save_exec_prefix="$exec_prefix"
6577 exec_prefix="$acl_final_exec_prefix"
6579 exec_prefix="$acl_save_exec_prefix"
6580 prefix="$acl_save_prefix"
6582 if test "X$x" = "X$element"; then
6587 if test -z "$haveit"; then
6588 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6594 $as_echo_n "checking for iconv... " >&6; }
6595 if ${am_cv_func_iconv+:} false; then :
6596 $as_echo_n "(cached) " >&6
6599 am_cv_func_iconv="no, consider installing GNU libiconv"
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6610 iconv_t cd = iconv_open("","");
6611 iconv(cd,NULL,NULL,NULL,NULL);
6617 if ac_fn_c_try_link "$LINENO"; then :
6618 am_cv_func_iconv=yes
6620 rm -f core conftest.err conftest.$ac_objext \
6621 conftest$ac_exeext conftest.$ac_ext
6622 if test "$am_cv_func_iconv" != yes; then
6623 am_save_LIBS="$LIBS"
6624 LIBS="$LIBS $LIBICONV"
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6634 iconv_t cd = iconv_open("","");
6635 iconv(cd,NULL,NULL,NULL,NULL);
6641 if ac_fn_c_try_link "$LINENO"; then :
6643 am_cv_func_iconv=yes
6645 rm -f core conftest.err conftest.$ac_objext \
6646 conftest$ac_exeext conftest.$ac_ext
6647 LIBS="$am_save_LIBS"
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6652 $as_echo "$am_cv_func_iconv" >&6; }
6653 if test "$am_cv_func_iconv" = yes; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6655 $as_echo_n "checking for working iconv... " >&6; }
6656 if ${am_cv_func_iconv_works+:} false; then :
6657 $as_echo_n "(cached) " >&6
6660 am_save_LIBS="$LIBS"
6661 if test $am_cv_lib_iconv = yes; then
6662 LIBS="$LIBS $LIBICONV"
6664 if test "$cross_compiling" = yes; then :
6667 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6668 *) am_cv_func_iconv_works="guessing yes" ;;
6672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6673 /* end confdefs.h. */
6680 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6683 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6684 if (cd_utf8_to_88591 != (iconv_t)(-1))
6686 static const char input[] = "\342\202\254"; /* EURO SIGN */
6688 const char *inptr = input;
6689 size_t inbytesleft = strlen (input);
6691 size_t outbytesleft = sizeof (buf);
6692 size_t res = iconv (cd_utf8_to_88591,
6693 (char **) &inptr, &inbytesleft,
6694 &outptr, &outbytesleft);
6697 iconv_close (cd_utf8_to_88591);
6700 /* Test against Solaris 10 bug: Failures are not distinguishable from
6701 successful returns. */
6703 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6704 if (cd_ascii_to_88591 != (iconv_t)(-1))
6706 static const char input[] = "\263";
6708 const char *inptr = input;
6709 size_t inbytesleft = strlen (input);
6711 size_t outbytesleft = sizeof (buf);
6712 size_t res = iconv (cd_ascii_to_88591,
6713 (char **) &inptr, &inbytesleft,
6714 &outptr, &outbytesleft);
6717 iconv_close (cd_ascii_to_88591);
6720 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
6722 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6723 if (cd_88591_to_utf8 != (iconv_t)(-1))
6725 static const char input[] = "\304";
6726 static char buf[2] = { (char)0xDE, (char)0xAD };
6727 const char *inptr = input;
6728 size_t inbytesleft = 1;
6730 size_t outbytesleft = 1;
6731 size_t res = iconv (cd_88591_to_utf8,
6732 (char **) &inptr, &inbytesleft,
6733 &outptr, &outbytesleft);
6734 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6736 iconv_close (cd_88591_to_utf8);
6739 #if 0 /* This bug could be worked around by the caller. */
6740 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6742 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6743 if (cd_88591_to_utf8 != (iconv_t)(-1))
6745 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6747 const char *inptr = input;
6748 size_t inbytesleft = strlen (input);
6750 size_t outbytesleft = sizeof (buf);
6751 size_t res = iconv (cd_88591_to_utf8,
6752 (char **) &inptr, &inbytesleft,
6753 &outptr, &outbytesleft);
6756 iconv_close (cd_88591_to_utf8);
6760 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6762 if (/* Try standardized names. */
6763 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6764 /* Try IRIX, OSF/1 names. */
6765 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6766 /* Try AIX names. */
6767 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6768 /* Try HP-UX names. */
6769 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6774 if ac_fn_c_try_run "$LINENO"; then :
6775 am_cv_func_iconv_works=yes
6777 am_cv_func_iconv_works=no
6779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6780 conftest.$ac_objext conftest.beam conftest.$ac_ext
6783 LIBS="$am_save_LIBS"
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6787 $as_echo "$am_cv_func_iconv_works" >&6; }
6788 case "$am_cv_func_iconv_works" in
6789 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6790 *) am_func_iconv=yes ;;
6793 am_func_iconv=no am_cv_lib_iconv=no
6795 if test "$am_func_iconv" = yes; then
6797 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6800 if test "$am_cv_lib_iconv" = yes; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6802 $as_echo_n "checking how to link with libiconv... " >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6804 $as_echo "$LIBICONV" >&6; }
6806 CPPFLAGS="$am_save_CPPFLAGS"
6823 acl_save_prefix="$prefix"
6824 prefix="$acl_final_prefix"
6825 acl_save_exec_prefix="$exec_prefix"
6826 exec_prefix="$acl_final_exec_prefix"
6828 eval additional_includedir=\"$includedir\"
6829 eval additional_libdir=\"$libdir\"
6831 exec_prefix="$acl_save_exec_prefix"
6832 prefix="$acl_save_prefix"
6835 # Check whether --with-libintl-prefix was given.
6836 if test "${with_libintl_prefix+set}" = set; then :
6837 withval=$with_libintl_prefix;
6838 if test "X$withval" = "Xno"; then
6841 if test "X$withval" = "X"; then
6843 acl_save_prefix="$prefix"
6844 prefix="$acl_final_prefix"
6845 acl_save_exec_prefix="$exec_prefix"
6846 exec_prefix="$acl_final_exec_prefix"
6848 eval additional_includedir=\"$includedir\"
6849 eval additional_libdir=\"$libdir\"
6851 exec_prefix="$acl_save_exec_prefix"
6852 prefix="$acl_save_prefix"
6855 additional_includedir="$withval/include"
6856 additional_libdir="$withval/$acl_libdirstem"
6857 if test "$acl_libdirstem2" != "$acl_libdirstem" \
6858 && ! test -d "$withval/$acl_libdirstem"; then
6859 additional_libdir="$withval/$acl_libdirstem2"
6873 names_already_handled=
6874 names_next_round='intl '
6875 while test -n "$names_next_round"; do
6876 names_this_round="$names_next_round"
6878 for name in $names_this_round; do
6880 for n in $names_already_handled; do
6881 if test "$n" = "$name"; then
6886 if test -z "$already_handled"; then
6887 names_already_handled="$names_already_handled $name"
6888 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6889 eval value=\"\$HAVE_LIB$uppername\"
6890 if test -n "$value"; then
6891 if test "$value" = yes; then
6892 eval value=\"\$LIB$uppername\"
6893 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6894 eval value=\"\$LTLIB$uppername\"
6895 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6904 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
6905 if test -n "$acl_shlibext"; then
6906 shrext=".$acl_shlibext" # typically: shrext=.so
6910 if test $use_additional = yes; then
6911 dir="$additional_libdir"
6912 if test -n "$acl_shlibext"; then
6913 if test -f "$dir/$libname$shrext"; then
6915 found_so="$dir/$libname$shrext"
6917 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6918 ver=`(cd "$dir" && \
6919 for f in "$libname$shrext".*; do echo "$f"; done \
6920 | sed -e "s,^$libname$shrext\\\\.,," \
6921 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6922 | sed 1q ) 2>/dev/null`
6923 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6925 found_so="$dir/$libname$shrext.$ver"
6928 eval library_names=\"$acl_library_names_spec\"
6929 for f in $library_names; do
6930 if test -f "$dir/$f"; then
6939 if test "X$found_dir" = "X"; then
6940 if test -f "$dir/$libname.$acl_libext"; then
6942 found_a="$dir/$libname.$acl_libext"
6945 if test "X$found_dir" != "X"; then
6946 if test -f "$dir/$libname.la"; then
6947 found_la="$dir/$libname.la"
6951 if test "X$found_dir" = "X"; then
6952 for x in $LDFLAGS $LTLIBINTL; do
6954 acl_save_prefix="$prefix"
6955 prefix="$acl_final_prefix"
6956 acl_save_exec_prefix="$exec_prefix"
6957 exec_prefix="$acl_final_exec_prefix"
6959 exec_prefix="$acl_save_exec_prefix"
6960 prefix="$acl_save_prefix"
6964 dir=`echo "X$x" | sed -e 's/^X-L//'`
6965 if test -n "$acl_shlibext"; then
6966 if test -f "$dir/$libname$shrext"; then
6968 found_so="$dir/$libname$shrext"
6970 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6971 ver=`(cd "$dir" && \
6972 for f in "$libname$shrext".*; do echo "$f"; done \
6973 | sed -e "s,^$libname$shrext\\\\.,," \
6974 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6975 | sed 1q ) 2>/dev/null`
6976 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6978 found_so="$dir/$libname$shrext.$ver"
6981 eval library_names=\"$acl_library_names_spec\"
6982 for f in $library_names; do
6983 if test -f "$dir/$f"; then
6992 if test "X$found_dir" = "X"; then
6993 if test -f "$dir/$libname.$acl_libext"; then
6995 found_a="$dir/$libname.$acl_libext"
6998 if test "X$found_dir" != "X"; then
6999 if test -f "$dir/$libname.la"; then
7000 found_la="$dir/$libname.la"
7005 if test "X$found_dir" != "X"; then
7010 if test "X$found_dir" != "X"; then
7011 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
7012 if test "X$found_so" != "X"; then
7013 if test "$enable_rpath" = no \
7014 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7015 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7016 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7019 for x in $ltrpathdirs; do
7020 if test "X$x" = "X$found_dir"; then
7025 if test -z "$haveit"; then
7026 ltrpathdirs="$ltrpathdirs $found_dir"
7028 if test "$acl_hardcode_direct" = yes; then
7029 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7031 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7032 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7034 for x in $rpathdirs; do
7035 if test "X$x" = "X$found_dir"; then
7040 if test -z "$haveit"; then
7041 rpathdirs="$rpathdirs $found_dir"
7045 for x in $LDFLAGS $LIBINTL; do
7047 acl_save_prefix="$prefix"
7048 prefix="$acl_final_prefix"
7049 acl_save_exec_prefix="$exec_prefix"
7050 exec_prefix="$acl_final_exec_prefix"
7052 exec_prefix="$acl_save_exec_prefix"
7053 prefix="$acl_save_prefix"
7055 if test "X$x" = "X-L$found_dir"; then
7060 if test -z "$haveit"; then
7061 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
7063 if test "$acl_hardcode_minus_L" != no; then
7064 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
7066 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7072 if test "X$found_a" != "X"; then
7073 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
7075 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
7078 additional_includedir=
7079 case "$found_dir" in
7080 */$acl_libdirstem | */$acl_libdirstem/)
7081 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7082 if test "$name" = 'intl'; then
7083 LIBINTL_PREFIX="$basedir"
7085 additional_includedir="$basedir/include"
7087 */$acl_libdirstem2 | */$acl_libdirstem2/)
7088 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7089 if test "$name" = 'intl'; then
7090 LIBINTL_PREFIX="$basedir"
7092 additional_includedir="$basedir/include"
7095 if test "X$additional_includedir" != "X"; then
7096 if test "X$additional_includedir" != "X/usr/include"; then
7098 if test "X$additional_includedir" = "X/usr/local/include"; then
7099 if test -n "$GCC"; then
7101 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7105 if test -z "$haveit"; then
7106 for x in $CPPFLAGS $INCINTL; do
7108 acl_save_prefix="$prefix"
7109 prefix="$acl_final_prefix"
7110 acl_save_exec_prefix="$exec_prefix"
7111 exec_prefix="$acl_final_exec_prefix"
7113 exec_prefix="$acl_save_exec_prefix"
7114 prefix="$acl_save_prefix"
7116 if test "X$x" = "X-I$additional_includedir"; then
7121 if test -z "$haveit"; then
7122 if test -d "$additional_includedir"; then
7123 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7129 if test -n "$found_la"; then
7130 save_libdir="$libdir"
7132 */* | *\\*) . "$found_la" ;;
7133 *) . "./$found_la" ;;
7135 libdir="$save_libdir"
7136 for dep in $dependency_libs; do
7139 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7140 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7141 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7143 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7144 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7145 if test -n "$GCC"; then
7147 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7151 if test -z "$haveit"; then
7153 for x in $LDFLAGS $LIBINTL; do
7155 acl_save_prefix="$prefix"
7156 prefix="$acl_final_prefix"
7157 acl_save_exec_prefix="$exec_prefix"
7158 exec_prefix="$acl_final_exec_prefix"
7160 exec_prefix="$acl_save_exec_prefix"
7161 prefix="$acl_save_prefix"
7163 if test "X$x" = "X-L$additional_libdir"; then
7168 if test -z "$haveit"; then
7169 if test -d "$additional_libdir"; then
7170 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
7174 for x in $LDFLAGS $LTLIBINTL; do
7176 acl_save_prefix="$prefix"
7177 prefix="$acl_final_prefix"
7178 acl_save_exec_prefix="$exec_prefix"
7179 exec_prefix="$acl_final_exec_prefix"
7181 exec_prefix="$acl_save_exec_prefix"
7182 prefix="$acl_save_prefix"
7184 if test "X$x" = "X-L$additional_libdir"; then
7189 if test -z "$haveit"; then
7190 if test -d "$additional_libdir"; then
7191 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
7198 dir=`echo "X$dep" | sed -e 's/^X-R//'`
7199 if test "$enable_rpath" != no; then
7201 for x in $rpathdirs; do
7202 if test "X$x" = "X$dir"; then
7207 if test -z "$haveit"; then
7208 rpathdirs="$rpathdirs $dir"
7211 for x in $ltrpathdirs; do
7212 if test "X$x" = "X$dir"; then
7217 if test -z "$haveit"; then
7218 ltrpathdirs="$ltrpathdirs $dir"
7223 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7226 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7229 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
7230 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7236 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
7237 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7243 if test "X$rpathdirs" != "X"; then
7244 if test -n "$acl_hardcode_libdir_separator"; then
7246 for found_dir in $rpathdirs; do
7247 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7249 acl_save_libdir="$libdir"
7251 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7252 libdir="$acl_save_libdir"
7253 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7255 for found_dir in $rpathdirs; do
7256 acl_save_libdir="$libdir"
7258 eval flag=\"$acl_hardcode_libdir_flag_spec\"
7259 libdir="$acl_save_libdir"
7260 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
7264 if test "X$ltrpathdirs" != "X"; then
7265 for found_dir in $ltrpathdirs; do
7266 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7276 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7277 if eval \${$gt_func_gnugettext_libintl+:} false; then :
7278 $as_echo_n "(cached) " >&6
7280 gt_save_CPPFLAGS="$CPPFLAGS"
7281 CPPFLAGS="$CPPFLAGS $INCINTL"
7282 gt_save_LIBS="$LIBS"
7283 LIBS="$LIBS $LIBINTL"
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7287 #include <libintl.h>
7288 $gt_revision_test_code
7289 extern int _nl_msg_cat_cntr;
7294 const char *_nl_expand_alias (const char *);
7300 bindtextdomain ("", "");
7301 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7307 if ac_fn_c_try_link "$LINENO"; then :
7308 eval "$gt_func_gnugettext_libintl=yes"
7310 eval "$gt_func_gnugettext_libintl=no"
7312 rm -f core conftest.err conftest.$ac_objext \
7313 conftest$ac_exeext conftest.$ac_ext
7314 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7315 LIBS="$LIBS $LIBICONV"
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h. */
7319 #include <libintl.h>
7320 $gt_revision_test_code
7321 extern int _nl_msg_cat_cntr;
7326 const char *_nl_expand_alias (const char *);
7332 bindtextdomain ("", "");
7333 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7339 if ac_fn_c_try_link "$LINENO"; then :
7340 LIBINTL="$LIBINTL $LIBICONV"
7341 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
7342 eval "$gt_func_gnugettext_libintl=yes"
7345 rm -f core conftest.err conftest.$ac_objext \
7346 conftest$ac_exeext conftest.$ac_ext
7348 CPPFLAGS="$gt_save_CPPFLAGS"
7349 LIBS="$gt_save_LIBS"
7351 eval ac_res=\$$gt_func_gnugettext_libintl
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7353 $as_echo "$ac_res" >&6; }
7356 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7357 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7358 && test "$PACKAGE" != gettext-runtime \
7359 && test "$PACKAGE" != gettext-tools; }; then
7360 gt_use_preinstalled_gnugettext=yes
7369 if test -n "$INTL_MACOSX_LIBS"; then
7370 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7371 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7372 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
7373 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
7377 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7378 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7380 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7388 $as_echo_n "checking whether to use NLS... " >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7390 $as_echo "$USE_NLS" >&6; }
7391 if test "$USE_NLS" = "yes"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7393 $as_echo_n "checking where the gettext function comes from... " >&6; }
7394 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7395 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7396 gt_source="external libintl"
7401 gt_source="included intl directory"
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7404 $as_echo "$gt_source" >&6; }
7407 if test "$USE_NLS" = "yes"; then
7409 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7410 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7412 $as_echo_n "checking how to link with libintl... " >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7414 $as_echo "$LIBINTL" >&6; }
7416 for element in $INCINTL; do
7418 for x in $CPPFLAGS; do
7420 acl_save_prefix="$prefix"
7421 prefix="$acl_final_prefix"
7422 acl_save_exec_prefix="$exec_prefix"
7423 exec_prefix="$acl_final_exec_prefix"
7425 exec_prefix="$acl_save_exec_prefix"
7426 prefix="$acl_save_prefix"
7428 if test "X$x" = "X$element"; then
7433 if test -z "$haveit"; then
7434 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7441 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7444 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7462 # Extract the first word of "gconftool-2", so it can be a program name with args.
7463 set dummy gconftool-2; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if ${ac_cv_path_GCONFTOOL+:} false; then :
7467 $as_echo_n "(cached) " >&6
7471 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7481 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
7493 GCONFTOOL=$ac_cv_path_GCONFTOOL
7494 if test -n "$GCONFTOOL"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
7496 $as_echo "$GCONFTOOL" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7504 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
7505 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
7507 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
7511 # Check whether --with-gconf-source was given.
7512 if test "${with_gconf_source+set}" = set; then :
7513 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
7519 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
7521 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
7522 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
7526 # Check whether --with-gconf-schema-file-dir was given.
7527 if test "${with_gconf_schema_file_dir+set}" = set; then :
7528 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
7534 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
7536 # Check whether --enable-schemas-install was given.
7537 if test "${enable_schemas_install+set}" = set; then :
7538 enableval=$enable_schemas_install; case ${enableval} in
7540 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
7544 if test "$enable_schemas_install" != no; then
7545 GCONF_SCHEMAS_INSTALL_TRUE=
7546 GCONF_SCHEMAS_INSTALL_FALSE='#'
7548 GCONF_SCHEMAS_INSTALL_TRUE='#'
7549 GCONF_SCHEMAS_INSTALL_FALSE=
7554 ############### common
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7558 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7559 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7560 $as_echo_n "(cached) " >&6
7562 ac_check_lib_save_LIBS=$LIBS
7563 LIBS="-lpthread $LIBS"
7564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h. */
7567 /* Override any GCC internal prototype to avoid an error.
7568 Use char because int might match the return type of a GCC
7569 builtin and then its argument prototype would still apply. */
7573 char pthread_create ();
7577 return pthread_create ();
7582 if ac_fn_c_try_link "$LINENO"; then :
7583 ac_cv_lib_pthread_pthread_create=yes
7585 ac_cv_lib_pthread_pthread_create=no
7587 rm -f core conftest.err conftest.$ac_objext \
7588 conftest$ac_exeext conftest.$ac_ext
7589 LIBS=$ac_check_lib_save_LIBS
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7592 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7593 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7594 cat >>confdefs.h <<_ACEOF
7595 #define HAVE_LIBPTHREAD 1
7598 LIBS="-lpthread $LIBS"
7602 PTHREAD_LIBS=-pthread
7605 # Checks sensors, required by psensor and psensor-server
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
7607 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
7608 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
7609 $as_echo_n "(cached) " >&6
7611 ac_check_lib_save_LIBS=$LIBS
7612 LIBS="-lsensors $LIBS"
7613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h. */
7616 /* Override any GCC internal prototype to avoid an error.
7617 Use char because int might match the return type of a GCC
7618 builtin and then its argument prototype would still apply. */
7622 char sensors_init ();
7626 return sensors_init ();
7631 if ac_fn_c_try_link "$LINENO"; then :
7632 ac_cv_lib_sensors_sensors_init=yes
7634 ac_cv_lib_sensors_sensors_init=no
7636 rm -f core conftest.err conftest.$ac_objext \
7637 conftest$ac_exeext conftest.$ac_ext
7638 LIBS=$ac_check_lib_save_LIBS
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
7641 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
7642 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
7643 cat >>confdefs.h <<_ACEOF
7644 #define HAVE_LIBSENSORS 1
7647 LIBS="-lsensors $LIBS"
7651 for ac_header in sensors/sensors.h sensors/errors.h
7653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7654 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7664 SENSORS_LIBS=-lsensors
7667 ############### psensor
7678 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7679 if test -n "$ac_tool_prefix"; then
7680 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7681 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7685 $as_echo_n "(cached) " >&6
7689 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696 test -z "$as_dir" && as_dir=.
7697 for ac_exec_ext in '' $ac_executable_extensions; do
7698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7699 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7710 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7711 if test -n "$PKG_CONFIG"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7713 $as_echo "$PKG_CONFIG" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7721 if test -z "$ac_cv_path_PKG_CONFIG"; then
7722 ac_pt_PKG_CONFIG=$PKG_CONFIG
7723 # Extract the first word of "pkg-config", so it can be a program name with args.
7724 set dummy pkg-config; ac_word=$2
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7726 $as_echo_n "checking for $ac_word... " >&6; }
7727 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7728 $as_echo_n "(cached) " >&6
7730 case $ac_pt_PKG_CONFIG in
7732 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7753 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7754 if test -n "$ac_pt_PKG_CONFIG"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7756 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7762 if test "x$ac_pt_PKG_CONFIG" = x; then
7765 case $cross_compiling:$ac_tool_warned in
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7769 ac_tool_warned=yes ;;
7771 PKG_CONFIG=$ac_pt_PKG_CONFIG
7774 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7778 if test -n "$PKG_CONFIG"; then
7779 _pkg_min_version=0.9.0
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7781 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7782 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7784 $as_echo "yes" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7794 $as_echo_n "checking for X11... " >&6; }
7796 if test -n "$X11_CFLAGS"; then
7797 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7798 elif test -n "$PKG_CONFIG"; then
7799 if test -n "$PKG_CONFIG" && \
7800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7801 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7804 test $ac_status = 0; }; then
7805 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7806 test "x$?" != "x0" && pkg_failed=yes
7813 if test -n "$X11_LIBS"; then
7814 pkg_cv_X11_LIBS="$X11_LIBS"
7815 elif test -n "$PKG_CONFIG"; then
7816 if test -n "$PKG_CONFIG" && \
7817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7818 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7821 test $ac_status = 0; }; then
7822 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7823 test "x$?" != "x0" && pkg_failed=yes
7833 if test $pkg_failed = yes; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7837 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7838 _pkg_short_errors_supported=yes
7840 _pkg_short_errors_supported=no
7842 if test $_pkg_short_errors_supported = yes; then
7843 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7845 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7847 # Put the nasty error message in config.log where it belongs
7848 echo "$X11_PKG_ERRORS" >&5
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7851 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7852 elif test $pkg_failed = untried; then
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"x11 missing psensor will not be built\"" >&5
7856 $as_echo "$as_me: WARNING: \"x11 missing psensor will not be built\"" >&2;}
7858 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7859 X11_LIBS=$pkg_cv_X11_LIBS
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7861 $as_echo "yes" >&6; }
7864 if test -n "$X11_LIBS"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7878 $as_echo_n "checking for XEXT... " >&6; }
7880 if test -n "$XEXT_CFLAGS"; then
7881 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7882 elif test -n "$PKG_CONFIG"; then
7883 if test -n "$PKG_CONFIG" && \
7884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7885 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7888 test $ac_status = 0; }; then
7889 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7890 test "x$?" != "x0" && pkg_failed=yes
7897 if test -n "$XEXT_LIBS"; then
7898 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7899 elif test -n "$PKG_CONFIG"; then
7900 if test -n "$PKG_CONFIG" && \
7901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7902 ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7905 test $ac_status = 0; }; then
7906 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7907 test "x$?" != "x0" && pkg_failed=yes
7917 if test $pkg_failed = yes; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7922 _pkg_short_errors_supported=yes
7924 _pkg_short_errors_supported=no
7926 if test $_pkg_short_errors_supported = yes; then
7927 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7929 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7931 # Put the nasty error message in config.log where it belongs
7932 echo "$XEXT_PKG_ERRORS" >&5
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7935 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7936 elif test $pkg_failed = untried; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938 $as_echo "no" >&6; }
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"xext missing psensor will not be built\"" >&5
7940 $as_echo "$as_me: WARNING: \"xext missing psensor will not be built\"" >&2;}
7942 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7943 XEXT_LIBS=$pkg_cv_XEXT_LIBS
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7945 $as_echo "yes" >&6; }
7948 if test -n "$XEXT_LIBS"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7963 $as_echo_n "checking for GTK... " >&6; }
7965 if test -n "$GTK_CFLAGS"; then
7966 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7967 elif test -n "$PKG_CONFIG"; then
7968 if test -n "$PKG_CONFIG" && \
7969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7970 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7973 test $ac_status = 0; }; then
7974 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
7975 test "x$?" != "x0" && pkg_failed=yes
7982 if test -n "$GTK_LIBS"; then
7983 pkg_cv_GTK_LIBS="$GTK_LIBS"
7984 elif test -n "$PKG_CONFIG"; then
7985 if test -n "$PKG_CONFIG" && \
7986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7987 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7990 test $ac_status = 0; }; then
7991 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
7992 test "x$?" != "x0" && pkg_failed=yes
8002 if test $pkg_failed = yes; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8007 _pkg_short_errors_supported=yes
8009 _pkg_short_errors_supported=no
8011 if test $_pkg_short_errors_supported = yes; then
8012 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
8014 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
8016 # Put the nasty error message in config.log where it belongs
8017 echo "$GTK_PKG_ERRORS" >&5
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
8020 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
8021 elif test $pkg_failed = untried; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8023 $as_echo "no" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtk missing psensor will not be built\"" >&5
8025 $as_echo "$as_me: WARNING: \"gtk missing psensor will not be built\"" >&2;}
8027 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
8028 GTK_LIBS=$pkg_cv_GTK_LIBS
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8030 $as_echo "yes" >&6; }
8033 if test -n "$GTK_LIBS"; then
8041 # ensure that only allowed headers are included
8042 GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
8043 # ensure that no gtk deprecated symbols are used
8044 GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
8045 GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
8046 # ensure use of accessors
8047 GTK_CFLAGS+=" -DGSEAL_ENABLE "
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
8055 $as_echo_n "checking for GCONF... " >&6; }
8057 if test -n "$GCONF_CFLAGS"; then
8058 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
8059 elif test -n "$PKG_CONFIG"; then
8060 if test -n "$PKG_CONFIG" && \
8061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8062 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8065 test $ac_status = 0; }; then
8066 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
8067 test "x$?" != "x0" && pkg_failed=yes
8074 if test -n "$GCONF_LIBS"; then
8075 pkg_cv_GCONF_LIBS="$GCONF_LIBS"
8076 elif test -n "$PKG_CONFIG"; then
8077 if test -n "$PKG_CONFIG" && \
8078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
8079 ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
8081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8082 test $ac_status = 0; }; then
8083 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
8084 test "x$?" != "x0" && pkg_failed=yes
8094 if test $pkg_failed = yes; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8099 _pkg_short_errors_supported=yes
8101 _pkg_short_errors_supported=no
8103 if test $_pkg_short_errors_supported = yes; then
8104 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
8106 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
8108 # Put the nasty error message in config.log where it belongs
8109 echo "$GCONF_PKG_ERRORS" >&5
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gconf2 missing psensor will not be built\"" >&5
8112 $as_echo "$as_me: WARNING: \"gconf2 missing psensor will not be built\"" >&2;}
8113 elif test $pkg_failed = untried; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gconf2 missing psensor will not be built\"" >&5
8117 $as_echo "$as_me: WARNING: \"gconf2 missing psensor will not be built\"" >&2;}
8119 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
8120 GCONF_LIBS=$pkg_cv_GCONF_LIBS
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8122 $as_echo "yes" >&6; }
8124 $as_echo "#define HAVE_GCONF2 1" >>confdefs.h
8127 if test -n "$GCONF_LIBS"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATASMART" >&5
8144 $as_echo_n "checking for ATASMART... " >&6; }
8146 if test -n "$ATASMART_CFLAGS"; then
8147 pkg_cv_ATASMART_CFLAGS="$ATASMART_CFLAGS"
8148 elif test -n "$PKG_CONFIG"; then
8149 if test -n "$PKG_CONFIG" && \
8150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
8151 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
8153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8154 test $ac_status = 0; }; then
8155 pkg_cv_ATASMART_CFLAGS=`$PKG_CONFIG --cflags "libatasmart" 2>/dev/null`
8156 test "x$?" != "x0" && pkg_failed=yes
8163 if test -n "$ATASMART_LIBS"; then
8164 pkg_cv_ATASMART_LIBS="$ATASMART_LIBS"
8165 elif test -n "$PKG_CONFIG"; then
8166 if test -n "$PKG_CONFIG" && \
8167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libatasmart\""; } >&5
8168 ($PKG_CONFIG --exists --print-errors "libatasmart") 2>&5
8170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8171 test $ac_status = 0; }; then
8172 pkg_cv_ATASMART_LIBS=`$PKG_CONFIG --libs "libatasmart" 2>/dev/null`
8173 test "x$?" != "x0" && pkg_failed=yes
8183 if test $pkg_failed = yes; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8188 _pkg_short_errors_supported=yes
8190 _pkg_short_errors_supported=no
8192 if test $_pkg_short_errors_supported = yes; then
8193 ATASMART_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libatasmart" 2>&1`
8195 ATASMART_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libatasmart" 2>&1`
8197 # Put the nasty error message in config.log where it belongs
8198 echo "$ATASMART_PKG_ERRORS" >&5
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
8201 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
8202 elif test $pkg_failed = untried; then
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Library atasmart not present\"" >&5
8206 $as_echo "$as_me: WARNING: \"Library atasmart not present\"" >&2;}
8208 ATASMART_CFLAGS=$pkg_cv_ATASMART_CFLAGS
8209 ATASMART_LIBS=$pkg_cv_ATASMART_LIBS
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8211 $as_echo "yes" >&6; }
8213 $as_echo "#define HAVE_ATASMART 1" >>confdefs.h
8217 if test -n "$ATASMART_LIBS"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
8233 $as_echo_n "checking for LIBNOTIFY... " >&6; }
8235 if test -n "$LIBNOTIFY_CFLAGS"; then
8236 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
8237 elif test -n "$PKG_CONFIG"; then
8238 if test -n "$PKG_CONFIG" && \
8239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
8240 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
8242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243 test $ac_status = 0; }; then
8244 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
8245 test "x$?" != "x0" && pkg_failed=yes
8252 if test -n "$LIBNOTIFY_LIBS"; then
8253 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
8254 elif test -n "$PKG_CONFIG"; then
8255 if test -n "$PKG_CONFIG" && \
8256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
8257 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
8259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8260 test $ac_status = 0; }; then
8261 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
8262 test "x$?" != "x0" && pkg_failed=yes
8272 if test $pkg_failed = yes; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8277 _pkg_short_errors_supported=yes
8279 _pkg_short_errors_supported=no
8281 if test $_pkg_short_errors_supported = yes; then
8282 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
8284 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
8286 # Put the nasty error message in config.log where it belongs
8287 echo "$LIBNOTIFY_PKG_ERRORS" >&5
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
8290 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
8291 elif test $pkg_failed = untried; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
8295 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
8297 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
8298 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8300 $as_echo "yes" >&6; }
8302 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
8305 if test -n "$LIBNOTIFY_LIBS"; then
8316 # Checks AppIndicator
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
8322 $as_echo_n "checking for APPINDICATOR... " >&6; }
8324 if test -n "$APPINDICATOR_CFLAGS"; then
8325 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8326 elif test -n "$PKG_CONFIG"; then
8327 if test -n "$PKG_CONFIG" && \
8328 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
8329 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
8331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8332 test $ac_status = 0; }; then
8333 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
8334 test "x$?" != "x0" && pkg_failed=yes
8341 if test -n "$APPINDICATOR_LIBS"; then
8342 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8343 elif test -n "$PKG_CONFIG"; then
8344 if test -n "$PKG_CONFIG" && \
8345 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
8346 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
8348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8349 test $ac_status = 0; }; then
8350 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
8351 test "x$?" != "x0" && pkg_failed=yes
8361 if test $pkg_failed = yes; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8363 $as_echo "no" >&6; }
8365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8366 _pkg_short_errors_supported=yes
8368 _pkg_short_errors_supported=no
8370 if test $_pkg_short_errors_supported = yes; then
8371 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
8373 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
8375 # Put the nasty error message in config.log where it belongs
8376 echo "$APPINDICATOR_PKG_ERRORS" >&5
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
8379 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
8380 elif test $pkg_failed = untried; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382 $as_echo "no" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
8384 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
8386 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8387 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8389 $as_echo "yes" >&6; }
8391 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8395 if test "$APPINDICATOR_LIBS" == ""; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
8399 $as_echo_n "checking for APPINDICATOR... " >&6; }
8401 if test -n "$APPINDICATOR_CFLAGS"; then
8402 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8403 elif test -n "$PKG_CONFIG"; then
8404 if test -n "$PKG_CONFIG" && \
8405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
8406 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
8408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8409 test $ac_status = 0; }; then
8410 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
8411 test "x$?" != "x0" && pkg_failed=yes
8418 if test -n "$APPINDICATOR_LIBS"; then
8419 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8420 elif test -n "$PKG_CONFIG"; then
8421 if test -n "$PKG_CONFIG" && \
8422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
8423 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
8425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8426 test $ac_status = 0; }; then
8427 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
8428 test "x$?" != "x0" && pkg_failed=yes
8438 if test $pkg_failed = yes; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 $as_echo "no" >&6; }
8442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8443 _pkg_short_errors_supported=yes
8445 _pkg_short_errors_supported=no
8447 if test $_pkg_short_errors_supported = yes; then
8448 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
8450 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
8452 # Put the nasty error message in config.log where it belongs
8453 echo "$APPINDICATOR_PKG_ERRORS" >&5
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
8456 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
8457 elif test $pkg_failed = untried; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
8461 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
8463 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8464 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8466 $as_echo "yes" >&6; }
8468 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8471 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
8477 if test "$APPINDICATOR_LIBS" == ""; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
8481 $as_echo_n "checking for APPINDICATOR... " >&6; }
8483 if test -n "$APPINDICATOR_CFLAGS"; then
8484 pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
8485 elif test -n "$PKG_CONFIG"; then
8486 if test -n "$PKG_CONFIG" && \
8487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
8488 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
8490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8491 test $ac_status = 0; }; then
8492 pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
8493 test "x$?" != "x0" && pkg_failed=yes
8500 if test -n "$APPINDICATOR_LIBS"; then
8501 pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
8502 elif test -n "$PKG_CONFIG"; then
8503 if test -n "$PKG_CONFIG" && \
8504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
8505 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
8507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8508 test $ac_status = 0; }; then
8509 pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
8510 test "x$?" != "x0" && pkg_failed=yes
8520 if test $pkg_failed = yes; then
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8525 _pkg_short_errors_supported=yes
8527 _pkg_short_errors_supported=no
8529 if test $_pkg_short_errors_supported = yes; then
8530 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
8532 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
8534 # Put the nasty error message in config.log where it belongs
8535 echo "$APPINDICATOR_PKG_ERRORS" >&5
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
8538 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
8539 elif test $pkg_failed = untried; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541 $as_echo "no" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
8543 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
8545 APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
8546 APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8548 $as_echo "yes" >&6; }
8550 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
8554 if test -n "$APPINDICATOR_LIBS"; then
8556 APPINDICATOR_FALSE='#'
8558 APPINDICATOR_TRUE='#'
8565 # Check CURL, needed for remote monitoring
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
8570 $as_echo_n "checking for CURL... " >&6; }
8572 if test -n "$CURL_CFLAGS"; then
8573 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
8574 elif test -n "$PKG_CONFIG"; then
8575 if test -n "$PKG_CONFIG" && \
8576 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8577 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8580 test $ac_status = 0; }; then
8581 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
8582 test "x$?" != "x0" && pkg_failed=yes
8589 if test -n "$CURL_LIBS"; then
8590 pkg_cv_CURL_LIBS="$CURL_LIBS"
8591 elif test -n "$PKG_CONFIG"; then
8592 if test -n "$PKG_CONFIG" && \
8593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
8594 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
8596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8597 test $ac_status = 0; }; then
8598 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
8599 test "x$?" != "x0" && pkg_failed=yes
8609 if test $pkg_failed = yes; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8611 $as_echo "no" >&6; }
8613 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8614 _pkg_short_errors_supported=yes
8616 _pkg_short_errors_supported=no
8618 if test $_pkg_short_errors_supported = yes; then
8619 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
8621 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
8623 # Put the nasty error message in config.log where it belongs
8624 echo "$CURL_PKG_ERRORS" >&5
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8627 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8628 elif test $pkg_failed = untried; then
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8632 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8634 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
8635 CURL_LIBS=$pkg_cv_CURL_LIBS
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8637 $as_echo "yes" >&6; }
8639 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8642 if test -n "$CURL_LIBS"; then
8653 # Check JSON, needed for remote monitoring
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8658 $as_echo_n "checking for JSON... " >&6; }
8660 if test -n "$JSON_CFLAGS"; then
8661 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8662 elif test -n "$PKG_CONFIG"; then
8663 if test -n "$PKG_CONFIG" && \
8664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
8665 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
8667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8668 test $ac_status = 0; }; then
8669 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
8670 test "x$?" != "x0" && pkg_failed=yes
8677 if test -n "$JSON_LIBS"; then
8678 pkg_cv_JSON_LIBS="$JSON_LIBS"
8679 elif test -n "$PKG_CONFIG"; then
8680 if test -n "$PKG_CONFIG" && \
8681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
8682 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
8684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8685 test $ac_status = 0; }; then
8686 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
8687 test "x$?" != "x0" && pkg_failed=yes
8697 if test $pkg_failed = yes; then
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699 $as_echo "no" >&6; }
8701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8702 _pkg_short_errors_supported=yes
8704 _pkg_short_errors_supported=no
8706 if test $_pkg_short_errors_supported = yes; then
8707 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
8709 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
8711 # Put the nasty error message in config.log where it belongs
8712 echo "$JSON_PKG_ERRORS" >&5
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8715 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8716 elif test $pkg_failed = untried; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8718 $as_echo "no" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
8720 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
8722 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8723 JSON_LIBS=$pkg_cv_JSON_LIBS
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8725 $as_echo "yes" >&6; }
8727 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8731 if test "$JSON_LIBS" == ""; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8735 $as_echo_n "checking for JSON... " >&6; }
8737 if test -n "$JSON_CFLAGS"; then
8738 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8739 elif test -n "$PKG_CONFIG"; then
8740 if test -n "$PKG_CONFIG" && \
8741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8742 ($PKG_CONFIG --exists --print-errors "json") 2>&5
8744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8745 test $ac_status = 0; }; then
8746 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
8747 test "x$?" != "x0" && pkg_failed=yes
8754 if test -n "$JSON_LIBS"; then
8755 pkg_cv_JSON_LIBS="$JSON_LIBS"
8756 elif test -n "$PKG_CONFIG"; then
8757 if test -n "$PKG_CONFIG" && \
8758 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8759 ($PKG_CONFIG --exists --print-errors "json") 2>&5
8761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8762 test $ac_status = 0; }; then
8763 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
8764 test "x$?" != "x0" && pkg_failed=yes
8774 if test $pkg_failed = yes; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8776 $as_echo "no" >&6; }
8778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8779 _pkg_short_errors_supported=yes
8781 _pkg_short_errors_supported=no
8783 if test $_pkg_short_errors_supported = yes; then
8784 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
8786 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
8788 # Put the nasty error message in config.log where it belongs
8789 echo "$JSON_PKG_ERRORS" >&5
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8792 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8793 elif test $pkg_failed = untried; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
8797 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
8799 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8800 JSON_LIBS=$pkg_cv_JSON_LIBS
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8802 $as_echo "yes" >&6; }
8804 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8807 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
8812 if test -n "$JSON_LIBS"; then
8823 # Enables remote monitoring if JSON and CURL is present
8824 if test -n "$JSON_LIBS"; then
8825 if test -n "$CURL_LIBS"; then
8827 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8833 # following code from sensors-applet
8834 # sensors-applet.sourceforge.net/
8835 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8837 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8838 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8839 #include <X11/Xlib.h>
8842 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8843 cat >>confdefs.h <<_ACEOF
8844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8851 if test -n "${X11_LIBS}"; then
8852 LIBS="${LIBS} -lX11 -lXext"
8854 if test "${HAVE_NVIDIA}" = "true"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8856 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8857 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8858 $as_echo_n "(cached) " >&6
8860 ac_check_lib_save_LIBS=$LIBS
8861 LIBS="-lXNVCtrl $LIBS"
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8865 /* Override any GCC internal prototype to avoid an error.
8866 Use char because int might match the return type of a GCC
8867 builtin and then its argument prototype would still apply. */
8871 char XNVCTRLQueryExtension ();
8875 return XNVCTRLQueryExtension ();
8880 if ac_fn_c_try_link "$LINENO"; then :
8881 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8883 ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8887 LIBS=$ac_check_lib_save_LIBS
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8890 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8891 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8892 NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8894 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8901 if test -n "$NVIDIA_LIBS"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8916 $as_echo_n "checking for UNITY... " >&6; }
8918 if test -n "$UNITY_CFLAGS"; then
8919 pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8920 elif test -n "$PKG_CONFIG"; then
8921 if test -n "$PKG_CONFIG" && \
8922 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8923 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8926 test $ac_status = 0; }; then
8927 pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8928 test "x$?" != "x0" && pkg_failed=yes
8935 if test -n "$UNITY_LIBS"; then
8936 pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8937 elif test -n "$PKG_CONFIG"; then
8938 if test -n "$PKG_CONFIG" && \
8939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8940 ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8943 test $ac_status = 0; }; then
8944 pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8945 test "x$?" != "x0" && pkg_failed=yes
8955 if test $pkg_failed = yes; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8960 _pkg_short_errors_supported=yes
8962 _pkg_short_errors_supported=no
8964 if test $_pkg_short_errors_supported = yes; then
8965 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8967 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8969 # Put the nasty error message in config.log where it belongs
8970 echo "$UNITY_PKG_ERRORS" >&5
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8973 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8974 elif test $pkg_failed = untried; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8976 $as_echo "no" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8978 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8980 UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8981 UNITY_LIBS=$pkg_cv_UNITY_LIBS
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8983 $as_echo "yes" >&6; }
8985 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8990 if test -n "$UNITY_LIBS"; then
9001 # Check whether --with-libatiadl was given.
9002 if test "${with_libatiadl+set}" = set; then :
9003 withval=$with_libatiadl;
9004 ATIADL_DIR=${withval}
9005 CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
9006 LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
9012 for ac_header in adl_defines.h
9014 ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
9015 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
9016 cat >>confdefs.h <<_ACEOF
9017 #define HAVE_ADL_DEFINES_H 1
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
9020 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
9021 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
9022 $as_echo_n "(cached) " >&6
9024 ac_check_lib_save_LIBS=$LIBS
9025 LIBS="-latiadlxx $LIBS"
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9029 /* Override any GCC internal prototype to avoid an error.
9030 Use char because int might match the return type of a GCC
9031 builtin and then its argument prototype would still apply. */
9035 char ADL_Main_Control_Refresh ();
9039 return ADL_Main_Control_Refresh ();
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
9047 ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS=$ac_check_lib_save_LIBS
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
9054 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
9055 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
9058 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
9060 LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
9061 LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
9070 if test -n "$LIBATIADL_LIBS"; then
9081 ############### psensor-server
9083 # libmicrohttpd, mandatory for psensor-server
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
9088 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
9090 if test -n "$LIBMICROHTTPD_CFLAGS"; then
9091 pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
9092 elif test -n "$PKG_CONFIG"; then
9093 if test -n "$PKG_CONFIG" && \
9094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
9095 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
9097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9098 test $ac_status = 0; }; then
9099 pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
9100 test "x$?" != "x0" && pkg_failed=yes
9107 if test -n "$LIBMICROHTTPD_LIBS"; then
9108 pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
9109 elif test -n "$PKG_CONFIG"; then
9110 if test -n "$PKG_CONFIG" && \
9111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
9112 ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
9114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9115 test $ac_status = 0; }; then
9116 pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
9117 test "x$?" != "x0" && pkg_failed=yes
9127 if test $pkg_failed = yes; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9129 $as_echo "no" >&6; }
9131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9132 _pkg_short_errors_supported=yes
9134 _pkg_short_errors_supported=no
9136 if test $_pkg_short_errors_supported = yes; then
9137 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
9139 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
9141 # Put the nasty error message in config.log where it belongs
9142 echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
9145 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
9146 elif test $pkg_failed = untried; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9148 $as_echo "no" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
9150 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
9152 LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
9153 LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9155 $as_echo "yes" >&6; }
9157 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
9160 if test -n "$LIBMICROHTTPD_LIBS"; then
9162 LIBMICROHTTPD_FALSE='#'
9164 LIBMICROHTTPD_TRUE='#'
9165 LIBMICROHTTPD_FALSE=
9174 # Check whether --with-gtop was given.
9175 if test "${with_gtop+set}" = set; then :
9186 if test "$with_gtop" = "yes"; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
9190 $as_echo_n "checking for GTOP... " >&6; }
9192 if test -n "$GTOP_CFLAGS"; then
9193 pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
9194 elif test -n "$PKG_CONFIG"; then
9195 if test -n "$PKG_CONFIG" && \
9196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
9197 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
9199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9200 test $ac_status = 0; }; then
9201 pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
9202 test "x$?" != "x0" && pkg_failed=yes
9209 if test -n "$GTOP_LIBS"; then
9210 pkg_cv_GTOP_LIBS="$GTOP_LIBS"
9211 elif test -n "$PKG_CONFIG"; then
9212 if test -n "$PKG_CONFIG" && \
9213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
9214 ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
9216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9217 test $ac_status = 0; }; then
9218 pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
9219 test "x$?" != "x0" && pkg_failed=yes
9229 if test $pkg_failed = yes; then
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 $as_echo "no" >&6; }
9233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9234 _pkg_short_errors_supported=yes
9236 _pkg_short_errors_supported=no
9238 if test $_pkg_short_errors_supported = yes; then
9239 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
9241 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
9243 # Put the nasty error message in config.log where it belongs
9244 echo "$GTOP_PKG_ERRORS" >&5
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
9247 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
9248 elif test $pkg_failed = untried; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9250 $as_echo "no" >&6; }
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
9252 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
9254 GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
9255 GTOP_LIBS=$pkg_cv_GTOP_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9257 $as_echo "yes" >&6; }
9259 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
9263 if test -n "$GTOP_LIBS"; then
9274 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"
9277 for ac_prog in help2man
9279 # Extract the first word of "$ac_prog", so it can be a program name with args.
9280 set dummy $ac_prog; ac_word=$2
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9282 $as_echo_n "checking for $ac_word... " >&6; }
9283 if ${ac_cv_prog_HELP2MAN+:} false; then :
9284 $as_echo_n "(cached) " >&6
9286 if test -n "$HELP2MAN"; then
9287 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9293 test -z "$as_dir" && as_dir=.
9294 for ac_exec_ext in '' $ac_executable_extensions; do
9295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9296 ac_cv_prog_HELP2MAN="$ac_prog"
9297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9306 HELP2MAN=$ac_cv_prog_HELP2MAN
9307 if test -n "$HELP2MAN"; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
9309 $as_echo "$HELP2MAN" >&6; }
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9312 $as_echo "no" >&6; }
9316 test -n "$HELP2MAN" && break
9320 # Extract the first word of "cppcheck", so it can be a program name with args.
9321 set dummy cppcheck; ac_word=$2
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9323 $as_echo_n "checking for $ac_word... " >&6; }
9324 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
9325 $as_echo_n "(cached) " >&6
9327 if test -n "$HAVE_CPPCHECK"; then
9328 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 test -z "$as_dir" && as_dir=.
9335 for ac_exec_ext in '' $ac_executable_extensions; do
9336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9337 ac_cv_prog_HAVE_CPPCHECK="yes"
9338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9347 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
9348 if test -n "$HAVE_CPPCHECK"; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
9350 $as_echo "$HAVE_CPPCHECK" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9353 $as_echo "no" >&6; }
9357 if test -n "$HAVE_CPPCHECK"; then
9366 cat >confcache <<\_ACEOF
9367 # This file is a shell script that caches the results of configure
9368 # tests run on this system so they can be shared between configure
9369 # scripts and configure runs, see configure's option --config-cache.
9370 # It is not useful on other systems. If it contains results you don't
9371 # want to keep, you may remove or edit it.
9373 # config.status only pays attention to the cache file if you give it
9374 # the --recheck option to rerun configure.
9376 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9382 # The following way of writing the cache mishandles newlines in values,
9383 # but we know of no workaround that is simple, portable, and efficient.
9384 # So, we kill variables containing newlines.
9385 # Ultrix sh set writes to stderr and can't be redirected directly,
9386 # and sets the high bit in the cache file unless we assign to the vars.
9388 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9389 eval ac_val=\$$ac_var
9393 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9397 _ | IFS | as_nl) ;; #(
9398 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9399 *) { eval $ac_var=; unset $ac_var;} ;;
9405 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9406 *${as_nl}ac_space=\ *)
9407 # `set' does not quote correctly, so add quotes: double-quote
9408 # substitution turns \\\\ into \\, and sed turns \\ into \.
9411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9414 # `set' quotes correctly as required by POSIX, so do not add quotes.
9415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9426 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9428 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9429 if test -w "$cache_file"; then
9430 if test "x$cache_file" != "x/dev/null"; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9432 $as_echo "$as_me: updating cache $cache_file" >&6;}
9433 if test ! -f "$cache_file" || test -h "$cache_file"; then
9434 cat confcache >"$cache_file"
9436 case $cache_file in #(
9438 mv -f confcache "$cache_file"$$ &&
9439 mv -f "$cache_file"$$ "$cache_file" ;; #(
9441 mv -f confcache "$cache_file" ;;
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9447 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9452 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9453 # Let make expand exec_prefix.
9454 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9456 DEFS=-DHAVE_CONFIG_H
9461 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9462 # 1. Remove the extension, and $U if already installed.
9463 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9464 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9465 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9466 # will be set to the directory where LIBOBJS objects are built.
9467 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9468 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9472 LTLIBOBJS=$ac_ltlibobjs
9475 if test -n "$EXEEXT"; then
9477 am__EXEEXT_FALSE='#'
9483 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9484 as_fn_error $? "conditional \"AMDEP\" was never defined.
9485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9487 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9488 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9491 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
9492 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
9493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9495 if test -z "${X11_TRUE}" && test -z "${X11_FALSE}"; then
9496 as_fn_error $? "conditional \"X11\" was never defined.
9497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9499 if test -z "${XEXT_TRUE}" && test -z "${XEXT_FALSE}"; then
9500 as_fn_error $? "conditional \"XEXT\" was never defined.
9501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9503 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
9504 as_fn_error $? "conditional \"GTK\" was never defined.
9505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9507 if test -z "${GCONF_TRUE}" && test -z "${GCONF_FALSE}"; then
9508 as_fn_error $? "conditional \"GCONF\" was never defined.
9509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9511 if test -z "${ATASMART_TRUE}" && test -z "${ATASMART_FALSE}"; then
9512 as_fn_error $? "conditional \"ATASMART\" was never defined.
9513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9515 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
9516 as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
9517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9519 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
9520 as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
9521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9523 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
9524 as_fn_error $? "conditional \"CURL\" was never defined.
9525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9527 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
9528 as_fn_error $? "conditional \"JSON\" was never defined.
9529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9531 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
9532 as_fn_error $? "conditional \"NVIDIA\" was never defined.
9533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9535 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
9536 as_fn_error $? "conditional \"UNITY\" was never defined.
9537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9539 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
9540 as_fn_error $? "conditional \"LIBATIADL\" was never defined.
9541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9543 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
9544 as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
9545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9547 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
9548 as_fn_error $? "conditional \"GTOP\" was never defined.
9549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9551 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
9552 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
9553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9556 : "${CONFIG_STATUS=./config.status}"
9558 ac_clean_files_save=$ac_clean_files
9559 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9565 # Generated by $as_me.
9566 # Run this file to recreate the current configuration.
9567 # Compiler output produced by configure, useful for debugging
9568 # configure, is in config.log if it exists.
9574 SHELL=\${CONFIG_SHELL-$SHELL}
9577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9578 ## -------------------- ##
9579 ## M4sh Initialization. ##
9580 ## -------------------- ##
9582 # Be more Bourne compatible
9583 DUALCASE=1; export DUALCASE # for MKS sh
9584 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9587 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9588 # is contrary to our usage. Disable this feature.
9589 alias -g '${1+"$@"}'='"$@"'
9590 setopt NO_GLOB_SUBST
9592 case `(set -o) 2>/dev/null` in #(
9604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9605 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9608 # Prefer a ksh shell builtin over an external printf program on Solaris,
9609 # but without wasting forks for bash or zsh.
9610 if test -z "$BASH_VERSION$ZSH_VERSION" \
9611 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9612 as_echo='print -r --'
9613 as_echo_n='print -rn --'
9614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9615 as_echo='printf %s\n'
9616 as_echo_n='printf %s'
9618 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9619 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9620 as_echo_n='/usr/ucb/echo -n'
9622 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9623 as_echo_n_body='eval
9627 expr "X$arg" : "X\\(.*\\)$as_nl";
9628 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9630 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9632 export as_echo_n_body
9633 as_echo_n='sh -c $as_echo_n_body as_echo'
9636 as_echo='sh -c $as_echo_body as_echo'
9639 # The user is always right.
9640 if test "${PATH_SEPARATOR+set}" != set; then
9642 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9643 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9650 # We need space, tab and new line, in precisely that order. Quoting is
9651 # there to prevent editors from complaining about space-tab.
9652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9653 # splitting by setting IFS to empty value.)
9656 # Find who we are. Look in the path if we contain no directory separator.
9659 *[\\/]* ) as_myself=$0 ;;
9660 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 test -z "$as_dir" && as_dir=.
9665 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9671 # We did not find ourselves, most probably we were run as `sh COMMAND'
9672 # in which case we are not to be found in the path.
9673 if test "x$as_myself" = x; then
9676 if test ! -f "$as_myself"; then
9677 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9681 # Unset variables that we do not need and which cause bugs (e.g. in
9682 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9683 # suppresses any "Segmentation fault" message there. '((' could
9684 # trigger a bug in pdksh 5.2.14.
9685 for as_var in BASH_ENV ENV MAIL MAILPATH
9686 do eval test x\${$as_var+set} = xset \
9687 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9700 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9703 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9704 # ----------------------------------------
9705 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9706 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9707 # script with STATUS, using 1 if that was 0.
9710 as_status=$1; test $as_status -eq 0 && as_status=1
9712 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9713 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9715 $as_echo "$as_me: error: $2" >&2
9716 as_fn_exit $as_status
9720 # as_fn_set_status STATUS
9721 # -----------------------
9722 # Set $? to STATUS, without forking.
9726 } # as_fn_set_status
9730 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9740 # Portably unset VAR.
9743 { eval $1=; unset $1;}
9745 as_unset=as_fn_unset
9746 # as_fn_append VAR VALUE
9747 # ----------------------
9748 # Append the text in VALUE to the end of the definition contained in VAR. Take
9749 # advantage of any shell optimizations that allow amortized linear growth over
9750 # repeated appends, instead of the typical quadratic growth present in naive
9752 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9753 eval 'as_fn_append ()
9764 # as_fn_arith ARG...
9765 # ------------------
9766 # Perform arithmetic evaluation on the ARGs, and store the result in the
9767 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9768 # must be portable across $(()) and expr.
9769 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9770 eval 'as_fn_arith ()
9777 as_val=`expr "$@" || test $? -eq 1`
9782 if expr a : '\(a\)' >/dev/null 2>&1 &&
9783 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9789 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9790 as_basename=basename
9795 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9801 as_me=`$as_basename -- "$0" ||
9802 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9803 X"$0" : 'X\(//\)$' \| \
9804 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9806 sed '/^.*\/\([^/][^/]*\)\/*$/{
9820 # Avoid depending upon Character Ranges.
9821 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9822 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9823 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9824 as_cr_digits='0123456789'
9825 as_cr_alnum=$as_cr_Letters$as_cr_digits
9827 ECHO_C= ECHO_N= ECHO_T=
9828 case `echo -n x` in #(((((
9830 case `echo 'xy\c'` in
9831 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9833 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
9840 rm -f conf$$ conf$$.exe conf$$.file
9841 if test -d conf$$.dir; then
9842 rm -f conf$$.dir/conf$$.file
9845 mkdir conf$$.dir 2>/dev/null
9847 if (echo >conf$$.file) 2>/dev/null; then
9848 if ln -s conf$$.file conf$$ 2>/dev/null; then
9850 # ... but there are two gotchas:
9851 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9852 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9853 # In both cases, we have to default to `cp -pR'.
9854 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9856 elif ln conf$$.file conf$$ 2>/dev/null; then
9864 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9865 rmdir conf$$.dir 2>/dev/null
9870 # Create "$as_dir" as a directory, including parents if necessary.
9875 -*) as_dir=./$as_dir;;
9877 test -d "$as_dir" || eval $as_mkdir_p || {
9881 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9882 *) as_qdir=$as_dir;;
9884 as_dirs="'$as_qdir' $as_dirs"
9885 as_dir=`$as_dirname -- "$as_dir" ||
9886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9887 X"$as_dir" : 'X\(//\)[^/]' \| \
9888 X"$as_dir" : 'X\(//\)$' \| \
9889 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9890 $as_echo X"$as_dir" |
9891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9908 test -d "$as_dir" && break
9910 test -z "$as_dirs" || eval "mkdir $as_dirs"
9911 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9915 if mkdir -p . 2>/dev/null; then
9916 as_mkdir_p='mkdir -p "$as_dir"'
9918 test -d ./-p && rmdir ./-p
9923 # as_fn_executable_p FILE
9924 # -----------------------
9925 # Test if FILE is an executable regular file.
9926 as_fn_executable_p ()
9928 test -f "$1" && test -x "$1"
9929 } # as_fn_executable_p
9931 as_executable_p=as_fn_executable_p
9933 # Sed expression to map a string onto a valid CPP name.
9934 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9936 # Sed expression to map a string onto a valid variable name.
9937 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9941 ## ----------------------------------- ##
9942 ## Main body of $CONFIG_STATUS script. ##
9943 ## ----------------------------------- ##
9945 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9948 # Save the log message, to keep $0 and so on meaningful, and to
9949 # report actual input values of CONFIG_FILES etc. instead of their
9950 # values after options handling.
9952 This file was extended by psensor $as_me 1.0.1, which was
9953 generated by GNU Autoconf 2.69. Invocation command line was
9955 CONFIG_FILES = $CONFIG_FILES
9956 CONFIG_HEADERS = $CONFIG_HEADERS
9957 CONFIG_LINKS = $CONFIG_LINKS
9958 CONFIG_COMMANDS = $CONFIG_COMMANDS
9961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9966 case $ac_config_files in *"
9967 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9970 case $ac_config_headers in *"
9971 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9976 # Files that config.status was made for.
9977 config_files="$ac_config_files"
9978 config_headers="$ac_config_headers"
9979 config_commands="$ac_config_commands"
9983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9985 \`$as_me' instantiates files and other configuration actions
9986 from templates according to the current configuration. Unless the files
9987 and actions are specified as TAGs, all are instantiated by default.
9989 Usage: $0 [OPTION]... [TAG]...
9991 -h, --help print this help, then exit
9992 -V, --version print version number and configuration settings, then exit
9993 --config print configuration, then exit
9994 -q, --quiet, --silent
9995 do not print progress messages
9996 -d, --debug don't remove temporary files
9997 --recheck update $as_me by reconfiguring in the same conditions
9998 --file=FILE[:TEMPLATE]
9999 instantiate the configuration file FILE
10000 --header=FILE[:TEMPLATE]
10001 instantiate the configuration header FILE
10003 Configuration files:
10006 Configuration headers:
10009 Configuration commands:
10012 Report bugs to <jeanfi@gmail.com>.
10013 psensor home page: <http://wpitchoune.net/psensor>."
10016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10017 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10019 psensor config.status 1.0.1
10020 configured by $0, generated by GNU Autoconf 2.69,
10021 with options \\"\$ac_cs_config\\"
10023 Copyright (C) 2012 Free Software Foundation, Inc.
10024 This config.status script is free software; the Free Software Foundation
10025 gives unlimited permission to copy, distribute and modify it."
10032 test -n "\$AWK" || AWK=awk
10035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10036 # The default lists apply if the user does not specify any file.
10042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10059 # Handling of the options.
10060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10062 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10063 $as_echo "$ac_cs_version"; exit ;;
10064 --config | --confi | --conf | --con | --co | --c )
10065 $as_echo "$ac_cs_config"; exit ;;
10066 --debug | --debu | --deb | --de | --d | -d )
10068 --file | --fil | --fi | --f )
10071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10072 '') as_fn_error $? "missing file argument" ;;
10074 as_fn_append CONFIG_FILES " '$ac_optarg'"
10075 ac_need_defaults=false;;
10076 --header | --heade | --head | --hea )
10079 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10081 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
10082 ac_need_defaults=false;;
10084 # Conflict between --help and --header
10085 as_fn_error $? "ambiguous option: \`$1'
10086 Try \`$0 --help' for more information.";;
10087 --help | --hel | -h )
10088 $as_echo "$ac_cs_usage"; exit ;;
10089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10090 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10093 # This is an error.
10094 -*) as_fn_error $? "unrecognized option: \`$1'
10095 Try \`$0 --help' for more information." ;;
10097 *) as_fn_append ac_config_targets " $1"
10098 ac_need_defaults=false ;;
10104 ac_configure_extra_args=
10106 if $ac_cs_silent; then
10108 ac_configure_extra_args="$ac_configure_extra_args --silent"
10112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10113 if \$ac_cs_recheck; then
10114 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10116 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10117 CONFIG_SHELL='$SHELL'
10118 export CONFIG_SHELL
10123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10128 ## Running $as_me. ##
10134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10138 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10139 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10140 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
10141 # from automake < 1.5.
10142 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10143 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10144 LINGUAS="${LINGUAS-%UNSET%}"
10149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10151 # Handling of arguments.
10152 for ac_config_target in $ac_config_targets
10154 case $ac_config_target in
10155 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10156 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10157 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
10158 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10159 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10160 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
10161 "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
10162 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
10163 "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
10164 "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
10165 "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
10166 "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
10167 "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
10168 "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
10169 "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
10170 "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
10171 "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
10172 "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
10173 "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
10174 "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
10175 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
10176 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
10177 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
10179 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10184 # If the user did not use the arguments to specify the items to instantiate,
10185 # then the envvar interface is used. Set only those that are not.
10186 # We use the long form for the default assignment because of an extremely
10187 # bizarre bug on SunOS 4.1.3.
10188 if $ac_need_defaults; then
10189 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10190 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10191 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10194 # Have a temporary directory for convenience. Make it in the build tree
10195 # simply because there is no reason against having it here, and in addition,
10196 # creating and moving files from /tmp can sometimes cause problems.
10197 # Hook for its removal unless debugging.
10198 # Note that there is a small window in which the directory will not be cleaned:
10199 # after its creation but before its name has been assigned to `$tmp'.
10203 trap 'exit_status=$?
10204 : "${ac_tmp:=$tmp}"
10205 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10207 trap 'as_fn_exit 1' 1 2 13 15
10209 # Create a (secure) tmp directory for tmp files.
10212 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10216 tmp=./conf$$-$RANDOM
10217 (umask 077 && mkdir "$tmp")
10218 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10221 # Set up the scripts for CONFIG_FILES section.
10222 # No need to generate them if there are no CONFIG_FILES.
10223 # This happens for instance with `./config.status config.h'.
10224 if test -n "$CONFIG_FILES"; then
10227 ac_cr=`echo X | tr X '\015'`
10228 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10229 # But we know of no other shell where ac_cr would be empty at this
10230 # point, so we can use a bashism as a fallback.
10231 if test "x$ac_cr" = x; then
10232 eval ac_cr=\$\'\\r\'
10234 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10235 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10238 ac_cs_awk_cr=$ac_cr
10241 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10246 echo "cat >conf$$subs.awk <<_ACEOF" &&
10247 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10249 } >conf$$subs.sh ||
10250 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10251 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10253 for ac_last_try in false false false false false :; do
10254 . ./conf$$subs.sh ||
10255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10257 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10258 if test $ac_delim_n = $ac_delim_num; then
10260 elif $ac_last_try; then
10261 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10266 rm -f conf$$subs.sh
10268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10269 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10273 s/^/S["/; s/!.*/"]=/
10283 s/\(.\{148\}\)..*/\1/
10285 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10290 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10297 s/\(.\{148\}\)..*/\1/
10299 s/["\\]/\\&/g; s/^/"/; s/$/"/
10303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10308 ' <conf$$subs.awk | sed '
10313 ' >>$CONFIG_STATUS || ac_write_fail=1
10314 rm -f conf$$subs.awk
10315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10317 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10318 for (key in S) S_is_set[key] = 1
10324 nfields = split(line, field, "@")
10326 len = length(field[1])
10327 for (i = 2; i < nfields; i++) {
10329 keylen = length(key)
10330 if (S_is_set[key]) {
10332 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10333 len += length(value) + length(field[++i])
10344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10345 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10346 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10349 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10350 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10353 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10354 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10355 # trailing colons and then remove the whole line if VPATH becomes empty
10356 # (actually we leave an empty line to preserve line numbers).
10357 if test "x$srcdir" = x.; then
10358 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10377 fi # test -n "$CONFIG_FILES"
10379 # Set up the scripts for CONFIG_HEADERS section.
10380 # No need to generate them if there are no CONFIG_HEADERS.
10381 # This happens for instance with `./config.status Makefile'.
10382 if test -n "$CONFIG_HEADERS"; then
10383 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10387 # Transform confdefs.h into an awk script `defines.awk', embedded as
10388 # here-document in config.status, that substitutes the proper values into
10389 # config.h.in to produce config.h.
10391 # Create a delimiter string that does not exist in confdefs.h, to ease
10392 # handling of long lines.
10394 for ac_last_try in false false :; do
10395 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10396 if test -z "$ac_tt"; then
10398 elif $ac_last_try; then
10399 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10405 # For the awk script, D is an array of macro values keyed by name,
10406 # likewise P contains macro parameters if any. Preserve backslash
10407 # newline sequences.
10409 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10411 s/.\{148\}/&'"$ac_delim"'/g
10414 s/^[ ]*#[ ]*define[ ][ ]*/ /
10421 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10423 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
10427 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
10428 D["\1"]=" \3\\\\\\n"\\/p
10430 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10435 s/.\{148\}/&'"$ac_delim"'/g
10440 s/["\\]/\\&/g; s/^/"/; s/$/"/p
10443 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10445 ' <confdefs.h | sed '
10446 s/'"$ac_delim"'/"\\\
10447 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10450 for (key in D) D_is_set[key] = 1
10453 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10455 split(line, arg, " ")
10456 if (arg[1] == "#") {
10460 defundef = substr(arg[1], 2)
10463 split(mac1, mac2, "(") #)
10465 prefix = substr(line, 1, index(line, defundef) - 1)
10466 if (D_is_set[macro]) {
10467 # Preserve the white space surrounding the "#".
10468 print prefix "define", macro P[macro] D[macro]
10471 # Replace #undef with comments. This is necessary, for example,
10472 # in the case of _POSIX_SOURCE, which is predefined and required
10473 # on some systems where configure will not decide to define it.
10474 if (defundef == "undef") {
10475 print "/*", prefix defundef, macro, "*/"
10483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10484 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10485 fi # test -n "$CONFIG_HEADERS"
10488 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10493 :[FHLC]) ac_mode=$ac_tag; continue;;
10495 case $ac_mode$ac_tag in
10497 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10498 :[FH]-) ac_tag=-:-;;
10499 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10516 -) ac_f="$ac_tmp/stdin";;
10517 *) # Look for the file first in the build tree, then in the source tree
10518 # (if the path is not absolute). The absolute path cannot be DOS-style,
10519 # because $ac_f cannot contain `:'.
10523 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10525 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10527 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10528 as_fn_append ac_file_inputs " '$ac_f'"
10531 # Let's still pretend it is `configure' which instantiates (i.e., don't
10532 # use $as_me), people would be surprised to read:
10533 # /* config.h. Generated by config.status. */
10534 configure_input='Generated from '`
10535 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10537 if test x"$ac_file" != x-; then
10538 configure_input="$ac_file. $configure_input"
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10540 $as_echo "$as_me: creating $ac_file" >&6;}
10542 # Neutralize special characters interpreted by sed in replacement strings.
10543 case $configure_input in #(
10544 *\&* | *\|* | *\\* )
10545 ac_sed_conf_input=`$as_echo "$configure_input" |
10546 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10547 *) ac_sed_conf_input=$configure_input;;
10551 *:-:* | *:-) cat >"$ac_tmp/stdin" \
10552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10557 ac_dir=`$as_dirname -- "$ac_file" ||
10558 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10559 X"$ac_file" : 'X\(//\)[^/]' \| \
10560 X"$ac_file" : 'X\(//\)$' \| \
10561 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10562 $as_echo X"$ac_file" |
10563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10567 /^X\(\/\/\)[^/].*/{
10580 as_dir="$ac_dir"; as_fn_mkdir_p
10584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10586 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10587 # A ".." for each directory in $ac_dir_suffix.
10588 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10589 case $ac_top_builddir_sub in
10590 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10591 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10594 ac_abs_top_builddir=$ac_pwd
10595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10596 # for backward compatibility:
10597 ac_top_builddir=$ac_top_build_prefix
10600 .) # We are building in place.
10602 ac_top_srcdir=$ac_top_builddir_sub
10603 ac_abs_top_srcdir=$ac_pwd ;;
10604 [\\/]* | ?:[\\/]* ) # Absolute name.
10605 ac_srcdir=$srcdir$ac_dir_suffix;
10606 ac_top_srcdir=$srcdir
10607 ac_abs_top_srcdir=$srcdir ;;
10608 *) # Relative name.
10609 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10610 ac_top_srcdir=$ac_top_build_prefix$srcdir
10611 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10623 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10624 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10626 ac_MKDIR_P=$MKDIR_P
10628 [\\/$]* | ?:[\\/]* ) ;;
10629 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10634 # If the template does not know about datarootdir, expand it.
10635 # FIXME: This hack should be removed a few years after 2.60.
10636 ac_datarootdir_hack=; ac_datarootdir_seen=
10647 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10648 *datarootdir*) ac_datarootdir_seen=yes;;
10649 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10651 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10654 ac_datarootdir_hack='
10655 s&@datadir@&$datadir&g
10656 s&@docdir@&$docdir&g
10657 s&@infodir@&$infodir&g
10658 s&@localedir@&$localedir&g
10659 s&@mandir@&$mandir&g
10660 s&\\\${datarootdir}&$datarootdir&g' ;;
10664 # Neutralize VPATH when `$srcdir' = `.'.
10665 # Shell code in configure.ac might set extrasub.
10666 # FIXME: do we really want to maintain this feature?
10667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10668 ac_sed_extra="$ac_vpsub
10671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10674 s|@configure_input@|$ac_sed_conf_input|;t t
10675 s&@top_builddir@&$ac_top_builddir_sub&;t t
10676 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10677 s&@srcdir@&$ac_srcdir&;t t
10678 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10679 s&@top_srcdir@&$ac_top_srcdir&;t t
10680 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10681 s&@builddir@&$ac_builddir&;t t
10682 s&@abs_builddir@&$ac_abs_builddir&;t t
10683 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10684 s&@INSTALL@&$ac_INSTALL&;t t
10685 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10686 $ac_datarootdir_hack
10688 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10689 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10691 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10692 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10693 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10694 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10696 which seems to be undefined. Please make sure it is defined" >&5
10697 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10698 which seems to be undefined. Please make sure it is defined" >&2;}
10700 rm -f "$ac_tmp/stdin"
10702 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10703 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10711 if test x"$ac_file" != x-; then
10713 $as_echo "/* $configure_input */" \
10714 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10715 } >"$ac_tmp/config.h" \
10716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10717 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10719 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10722 mv "$ac_tmp/config.h" "$ac_file" \
10723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10726 $as_echo "/* $configure_input */" \
10727 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10728 || as_fn_error $? "could not create -" "$LINENO" 5
10730 # Compute "$ac_file"'s index in $config_headers.
10733 for _am_header in $config_headers :; do
10734 case $_am_header in
10735 $_am_arg | $_am_arg:* )
10738 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10741 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10742 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10743 X"$_am_arg" : 'X\(//\)[^/]' \| \
10744 X"$_am_arg" : 'X\(//\)$' \| \
10745 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10746 $as_echo X"$_am_arg" |
10747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10751 /^X\(\/\/\)[^/].*/{
10763 s/.*/./; q'`/stamp-h$_am_stamp_count
10766 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10767 $as_echo "$as_me: executing $ac_file commands" >&6;}
10772 case $ac_file$ac_mode in
10773 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10774 # Autoconf 2.62 quotes --file arguments for eval, but not when files
10775 # are listed without --file. Let's play safe and only enable the eval
10776 # if we detect the quoting.
10777 case $CONFIG_FILES in
10778 *\'*) eval set x "$CONFIG_FILES" ;;
10779 *) set x $CONFIG_FILES ;;
10784 # Strip MF so we end up with the name of the file.
10785 mf=`echo "$mf" | sed -e 's/:.*$//'`
10786 # Check whether this is an Automake generated Makefile or not.
10787 # We used to match only the files named `Makefile.in', but
10788 # some people rename them; so instead we look at the file content.
10789 # Grep'ing the first line is not enough: some people post-process
10790 # each Makefile.in and add a new line on top of each file to say so.
10791 # Grep'ing the whole file is not good either: AIX grep has a line
10792 # limit of 2048, but all sed's we know have understand at least 4000.
10793 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10794 dirpart=`$as_dirname -- "$mf" ||
10795 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10796 X"$mf" : 'X\(//\)[^/]' \| \
10797 X"$mf" : 'X\(//\)$' \| \
10798 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10804 /^X\(\/\/\)[^/].*/{
10820 # Extract the definition of DEPDIR, am__include, and am__quote
10821 # from the Makefile without running `make'.
10822 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10823 test -z "$DEPDIR" && continue
10824 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10825 test -z "am__include" && continue
10826 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10827 # When using ansi2knr, U may be empty or an underscore; expand it
10828 U=`sed -n 's/^U = //p' < "$mf"`
10829 # Find all dependency output files, they are included files with
10830 # $(DEPDIR) in their names. We invoke sed twice because it is the
10831 # simplest approach to changing $(DEPDIR) to its actual value in the
10833 for file in `sed -n "
10834 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10835 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10836 # Make sure the directory exists.
10837 test -f "$dirpart/$file" && continue
10838 fdir=`$as_dirname -- "$file" ||
10839 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10840 X"$file" : 'X\(//\)[^/]' \| \
10841 X"$file" : 'X\(//\)$' \| \
10842 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10843 $as_echo X"$file" |
10844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10848 /^X\(\/\/\)[^/].*/{
10861 as_dir=$dirpart/$fdir; as_fn_mkdir_p
10862 # echo "creating $dirpart/$file"
10863 echo '# dummy' > "$dirpart/$file"
10868 "po-directories":C)
10869 for ac_file in $CONFIG_FILES; do
10870 # Support "outfile[:infile[:infile...]]"
10872 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10874 # PO directories have a Makefile.in generated from Makefile.in.in.
10875 case "$ac_file" in */Makefile.in)
10876 # Adjust a relative srcdir.
10877 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10878 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
10879 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10880 # In autoconf-2.13 it is called $ac_given_srcdir.
10881 # In autoconf-2.50 it is called $srcdir.
10882 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10883 case "$ac_given_srcdir" in
10884 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10885 /*) top_srcdir="$ac_given_srcdir" ;;
10886 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10888 # Treat a directory as a PO directory if and only if it has a
10889 # POTFILES.in file. This allows packages to have multiple PO
10890 # directories under different names or in different locations.
10891 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10892 rm -f "$ac_dir/POTFILES"
10893 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10894 gt_tab=`printf '\t'`
10895 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10896 POMAKEFILEDEPS="POTFILES.in"
10897 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10898 # on $ac_dir but don't depend on user-specified configuration
10900 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10901 # The LINGUAS file contains the set of available languages.
10902 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10903 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10905 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10906 # Hide the ALL_LINGUAS assignment from automake < 1.5.
10907 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10908 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10910 # The set of available languages was given in configure.in.
10911 # Hide the ALL_LINGUAS assignment from automake < 1.5.
10912 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10915 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10916 # Compute UPDATEPOFILES
10917 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10918 # Compute DUMMYPOFILES
10919 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10921 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10922 case "$ac_given_srcdir" in
10924 *) srcdirpre='$(srcdir)/' ;;
10930 for lang in $ALL_LINGUAS; do
10931 POFILES="$POFILES $srcdirpre$lang.po"
10932 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10933 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10934 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10936 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10937 # environment variable.
10939 if test -n "$ALL_LINGUAS"; then
10940 for presentlang in $ALL_LINGUAS; do
10942 if test "%UNSET%" != "$LINGUAS"; then
10943 desiredlanguages="$LINGUAS"
10945 desiredlanguages="$ALL_LINGUAS"
10947 for desiredlang in $desiredlanguages; do
10948 # Use the presentlang catalog if desiredlang is
10949 # a. equal to presentlang, or
10950 # b. a variant of presentlang (because in this case,
10951 # presentlang can be used as a fallback for messages
10952 # which are not translated in the desiredlang catalog).
10953 case "$desiredlang" in
10954 "$presentlang"*) useit=yes;;
10957 if test $useit = yes; then
10958 INST_LINGUAS="$INST_LINGUAS $presentlang"
10963 if test -n "$INST_LINGUAS"; then
10964 for lang in $INST_LINGUAS; do
10965 CATALOGS="$CATALOGS $lang.gmo"
10968 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10969 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"
10970 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10971 if test -f "$f"; then
10973 *.orig | *.bak | *~) ;;
10974 *) cat "$f" >> "$ac_dir/Makefile" ;;
10989 ac_clean_files=$ac_clean_files_save
10991 test $ac_write_fail = 0 ||
10992 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10995 # configure is writing to config.log, and then calls config.status.
10996 # config.status does its own redirection, appending to config.log.
10997 # Unfortunately, on DOS this fails, as config.log is still kept open
10998 # by configure, so config.status won't be able to write to it; its
10999 # output is simply discarded. So we exec the FD to /dev/null,
11000 # effectively closing config.log, so it can be properly (re)opened and
11001 # appended to by config.status. When coming back to configure, we
11002 # need to make the FD available again.
11003 if test "$no_create" != yes; then
11005 ac_config_status_args=
11006 test "$silent" = yes &&
11007 ac_config_status_args="$ac_config_status_args --quiet"
11009 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11011 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11012 # would make configure fail if this is the last instruction.
11013 $ac_cs_success || as_fn_exit 1
11015 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11017 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}