prepare release
[psensor.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for psensor 0.6.2.15.
4 #
5 # Report bugs to <jeanfi@gmail.com>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         # Preserve -v and -x to the replacement shell.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
245 $0: have one."
246   fi
247   exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265   { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274   return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282   set +e
283   as_fn_set_status $1
284   exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293   case $as_dir in #(
294   -*) as_dir=./$as_dir;;
295   esac
296   test -d "$as_dir" || eval $as_mkdir_p || {
297     as_dirs=
298     while :; do
299       case $as_dir in #(
300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301       *) as_qdir=$as_dir;;
302       esac
303       as_dirs="'$as_qdir' $as_dirs"
304       as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306          X"$as_dir" : 'X\(//\)[^/]' \| \
307          X"$as_dir" : 'X\(//\)$' \| \
308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)[^/].*/{
315             s//\1/
316             q
317           }
318           /^X\(\/\/\)$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\).*/{
323             s//\1/
324             q
325           }
326           s/.*/./; q'`
327       test -d "$as_dir" && break
328     done
329     test -z "$as_dirs" || eval "mkdir $as_dirs"
330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341   eval 'as_fn_append ()
342   {
343     eval $1+=\$2
344   }'
345 else
346   as_fn_append ()
347   {
348     eval $1=\$$1\$2
349   }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358   eval 'as_fn_arith ()
359   {
360     as_val=$(( $* ))
361   }'
362 else
363   as_fn_arith ()
364   {
365     as_val=`expr "$@" || test $? -eq 1`
366   }
367 fi # as_fn_arith
368
369
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377   as_status=$1; test $as_status -eq 0 && as_status=1
378   if test "$4"; then
379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381   fi
382   $as_echo "$as_me: error: $2" >&2
383   as_fn_exit $as_status
384 } # as_fn_error
385
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
388   as_expr=expr
389 else
390   as_expr=false
391 fi
392
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394   as_basename=basename
395 else
396   as_basename=false
397 fi
398
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400   as_dirname=dirname
401 else
402   as_dirname=false
403 fi
404
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407          X"$0" : 'X\(//\)$' \| \
408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410     sed '/^.*\/\([^/][^/]*\)\/*$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\/\)$/{
415             s//\1/
416             q
417           }
418           /^X\/\(\/\).*/{
419             s//\1/
420             q
421           }
422           s/.*/./; q'`
423
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437   sed -n '
438     p
439     /[$]LINENO/=
440   ' <$as_myself |
441     sed '
442       s/[$]LINENO.*/&-/
443       t lineno
444       b
445       :lineno
446       N
447       :loop
448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449       t loop
450       s/-\n.*//
451     ' >$as_me.lineno &&
452   chmod +x "$as_me.lineno" ||
453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455   # Don't try to exec as it changes $[0], causing all sort of problems
456   # (the dirname of $[0] is not the place where we might find the
457   # original and so on.  Autoconf is especially sensitive to this).
458   . "./$as_me.lineno"
459   # Exit status is that of the last command.
460   exit
461 }
462
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466   case `echo 'xy\c'` in
467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
468   xy)  ECHO_C='\c';;
469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470        ECHO_T=' ';;
471   esac;;
472 *)
473   ECHO_N='-n';;
474 esac
475
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478   rm -f conf$$.dir/conf$$.file
479 else
480   rm -f conf$$.dir
481   mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484   if ln -s conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s='ln -s'
486     # ... but there are two gotchas:
487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489     # In both cases, we have to default to `cp -p'.
490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491       as_ln_s='cp -p'
492   elif ln conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s=ln
494   else
495     as_ln_s='cp -p'
496   fi
497 else
498   as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
502
503 if mkdir -p . 2>/dev/null; then
504   as_mkdir_p='mkdir -p "$as_dir"'
505 else
506   test -d ./-p && rmdir ./-p
507   as_mkdir_p=false
508 fi
509
510 if test -x / >/dev/null 2>&1; then
511   as_test_x='test -x'
512 else
513   if ls -dL / >/dev/null 2>&1; then
514     as_ls_L_option=L
515   else
516     as_ls_L_option=
517   fi
518   as_test_x='
519     eval sh -c '\''
520       if test -d "$1"; then
521         test -d "$1/.";
522       else
523         case $1 in #(
524         -*)set "./$1";;
525         esac;
526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527         ???[sx]*):;;*)false;;esac;fi
528     '\'' sh
529   '
530 fi
531 as_executable_p=$as_test_x
532
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
542
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
548 #
549 # Initializations.
550 #
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
559
560 # Identity of this package.
561 PACKAGE_NAME='psensor'
562 PACKAGE_TARNAME='psensor'
563 PACKAGE_VERSION='0.6.2.15'
564 PACKAGE_STRING='psensor 0.6.2.15'
565 PACKAGE_BUGREPORT='jeanfi@gmail.com'
566 PACKAGE_URL='http://wpitchoune.net/psensor'
567
568 ac_unique_file="src/compat.h"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #ifdef STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # ifdef HAVE_STDLIB_H
583 #  include <stdlib.h>
584 # endif
585 #endif
586 #ifdef HAVE_STRING_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #  include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #ifdef HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #ifdef HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
604
605 gt_needs=
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
609 HELP2MAN
610 GTOP_FALSE
611 GTOP_TRUE
612 GTOP_LIBS
613 GTOP_CFLAGS
614 LIBMICROHTTPD_FALSE
615 LIBMICROHTTPD_TRUE
616 LIBMICROHTTPD_LIBS
617 LIBMICROHTTPD_CFLAGS
618 LIBATIADL_LIBS
619 LIBATIADL_CFLAGS
620 LIBATIADL_FALSE
621 LIBATIADL_TRUE
622 UNITY_FALSE
623 UNITY_TRUE
624 UNITY_LIBS
625 UNITY_CFLAGS
626 NVIDIA_LIBS
627 NVIDIA_CFLAGS
628 NVIDIA_FALSE
629 NVIDIA_TRUE
630 JSON_FALSE
631 JSON_TRUE
632 JSON_LIBS
633 JSON_CFLAGS
634 CURL_FALSE
635 CURL_TRUE
636 CURL_LIBS
637 CURL_CFLAGS
638 APPINDICATOR_FALSE
639 APPINDICATOR_TRUE
640 APPINDICATOR_LIBS
641 APPINDICATOR_CFLAGS
642 LIBNOTIFY_FALSE
643 LIBNOTIFY_TRUE
644 LIBNOTIFY_LIBS
645 LIBNOTIFY_CFLAGS
646 GCONF_LIBS
647 GCONF_CFLAGS
648 GTK_FALSE
649 GTK_TRUE
650 GTK_LIBS
651 GTK_CFLAGS
652 XEXT_LIBS
653 XEXT_CFLAGS
654 X11_LIBS
655 X11_CFLAGS
656 PKG_CONFIG_LIBDIR
657 PKG_CONFIG_PATH
658 PKG_CONFIG
659 SENSORS_LIBS
660 POSUB
661 LTLIBINTL
662 LIBINTL
663 INTLLIBS
664 LTLIBICONV
665 LIBICONV
666 INTL_MACOSX_LIBS
667 host_os
668 host_vendor
669 host_cpu
670 host
671 build_os
672 build_vendor
673 build_cpu
674 build
675 XGETTEXT_EXTRA_OPTIONS
676 MSGMERGE
677 XGETTEXT_015
678 XGETTEXT
679 GMSGFMT_015
680 MSGFMT_015
681 GMSGFMT
682 MSGFMT
683 GETTEXT_MACRO_VERSION
684 USE_NLS
685 SYSINFO_FCT_FALSE
686 SYSINFO_FCT_TRUE
687 LIBOBJS
688 EGREP
689 GREP
690 CPP
691 XMKMF
692 RANLIB
693 am__fastdepCC_FALSE
694 am__fastdepCC_TRUE
695 CCDEPMODE
696 AMDEPBACKSLASH
697 AMDEP_FALSE
698 AMDEP_TRUE
699 am__quote
700 am__include
701 DEPDIR
702 OBJEXT
703 EXEEXT
704 ac_ct_CC
705 CPPFLAGS
706 LDFLAGS
707 CFLAGS
708 CC
709 am__untar
710 am__tar
711 AMTAR
712 am__leading_dot
713 SET_MAKE
714 AWK
715 mkdir_p
716 MKDIR_P
717 INSTALL_STRIP_PROGRAM
718 STRIP
719 install_sh
720 MAKEINFO
721 AUTOHEADER
722 AUTOMAKE
723 AUTOCONF
724 ACLOCAL
725 VERSION
726 PACKAGE
727 CYGPATH_W
728 am__isrc
729 INSTALL_DATA
730 INSTALL_SCRIPT
731 INSTALL_PROGRAM
732 target_alias
733 host_alias
734 build_alias
735 LIBS
736 ECHO_T
737 ECHO_N
738 ECHO_C
739 DEFS
740 mandir
741 localedir
742 libdir
743 psdir
744 pdfdir
745 dvidir
746 htmldir
747 infodir
748 docdir
749 oldincludedir
750 includedir
751 localstatedir
752 sharedstatedir
753 sysconfdir
754 datadir
755 datarootdir
756 libexecdir
757 sbindir
758 bindir
759 program_transform_name
760 prefix
761 exec_prefix
762 PACKAGE_URL
763 PACKAGE_BUGREPORT
764 PACKAGE_STRING
765 PACKAGE_VERSION
766 PACKAGE_TARNAME
767 PACKAGE_NAME
768 PATH_SEPARATOR
769 SHELL'
770 ac_subst_files=''
771 ac_user_opts='
772 enable_option_checking
773 enable_dependency_tracking
774 with_x
775 enable_nls
776 with_gnu_ld
777 enable_rpath
778 with_libiconv_prefix
779 with_libintl_prefix
780 with_libatiadl
781 with_gtop
782 '
783       ac_precious_vars='build_alias
784 host_alias
785 target_alias
786 CC
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
791 XMKMF
792 CPP
793 PKG_CONFIG
794 PKG_CONFIG_PATH
795 PKG_CONFIG_LIBDIR
796 X11_CFLAGS
797 X11_LIBS
798 XEXT_CFLAGS
799 XEXT_LIBS
800 GTK_CFLAGS
801 GTK_LIBS
802 GCONF_CFLAGS
803 GCONF_LIBS
804 LIBNOTIFY_CFLAGS
805 LIBNOTIFY_LIBS
806 APPINDICATOR_CFLAGS
807 APPINDICATOR_LIBS
808 CURL_CFLAGS
809 CURL_LIBS
810 JSON_CFLAGS
811 JSON_LIBS
812 UNITY_CFLAGS
813 UNITY_LIBS
814 LIBMICROHTTPD_CFLAGS
815 LIBMICROHTTPD_LIBS
816 GTOP_CFLAGS
817 GTOP_LIBS'
818
819
820 # Initialize some variables set by options.
821 ac_init_help=
822 ac_init_version=false
823 ac_unrecognized_opts=
824 ac_unrecognized_sep=
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
827 cache_file=/dev/null
828 exec_prefix=NONE
829 no_create=
830 no_recursion=
831 prefix=NONE
832 program_prefix=NONE
833 program_suffix=NONE
834 program_transform_name=s,x,x,
835 silent=
836 site=
837 srcdir=
838 verbose=
839 x_includes=NONE
840 x_libraries=NONE
841
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir='${exec_prefix}/bin'
849 sbindir='${exec_prefix}/sbin'
850 libexecdir='${exec_prefix}/libexec'
851 datarootdir='${prefix}/share'
852 datadir='${datarootdir}'
853 sysconfdir='${prefix}/etc'
854 sharedstatedir='${prefix}/com'
855 localstatedir='${prefix}/var'
856 includedir='${prefix}/include'
857 oldincludedir='/usr/include'
858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir='${datarootdir}/info'
860 htmldir='${docdir}'
861 dvidir='${docdir}'
862 pdfdir='${docdir}'
863 psdir='${docdir}'
864 libdir='${exec_prefix}/lib'
865 localedir='${datarootdir}/locale'
866 mandir='${datarootdir}/man'
867
868 ac_prev=
869 ac_dashdash=
870 for ac_option
871 do
872   # If the previous option needs an argument, assign it.
873   if test -n "$ac_prev"; then
874     eval $ac_prev=\$ac_option
875     ac_prev=
876     continue
877   fi
878
879   case $ac_option in
880   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881   *=)   ac_optarg= ;;
882   *)    ac_optarg=yes ;;
883   esac
884
885   # Accept the important Cygnus configure options, so we can diagnose typos.
886
887   case $ac_dashdash$ac_option in
888   --)
889     ac_dashdash=yes ;;
890
891   -bindir | --bindir | --bindi | --bind | --bin | --bi)
892     ac_prev=bindir ;;
893   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
894     bindir=$ac_optarg ;;
895
896   -build | --build | --buil | --bui | --bu)
897     ac_prev=build_alias ;;
898   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
899     build_alias=$ac_optarg ;;
900
901   -cache-file | --cache-file | --cache-fil | --cache-fi \
902   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
903     ac_prev=cache_file ;;
904   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
905   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
906     cache_file=$ac_optarg ;;
907
908   --config-cache | -C)
909     cache_file=config.cache ;;
910
911   -datadir | --datadir | --datadi | --datad)
912     ac_prev=datadir ;;
913   -datadir=* | --datadir=* | --datadi=* | --datad=*)
914     datadir=$ac_optarg ;;
915
916   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
917   | --dataroo | --dataro | --datar)
918     ac_prev=datarootdir ;;
919   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
920   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
921     datarootdir=$ac_optarg ;;
922
923   -disable-* | --disable-*)
924     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925     # Reject names that are not valid shell variable names.
926     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927       as_fn_error $? "invalid feature name: $ac_useropt"
928     ac_useropt_orig=$ac_useropt
929     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930     case $ac_user_opts in
931       *"
932 "enable_$ac_useropt"
933 "*) ;;
934       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935          ac_unrecognized_sep=', ';;
936     esac
937     eval enable_$ac_useropt=no ;;
938
939   -docdir | --docdir | --docdi | --doc | --do)
940     ac_prev=docdir ;;
941   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
942     docdir=$ac_optarg ;;
943
944   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
945     ac_prev=dvidir ;;
946   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
947     dvidir=$ac_optarg ;;
948
949   -enable-* | --enable-*)
950     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951     # Reject names that are not valid shell variable names.
952     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953       as_fn_error $? "invalid feature name: $ac_useropt"
954     ac_useropt_orig=$ac_useropt
955     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956     case $ac_user_opts in
957       *"
958 "enable_$ac_useropt"
959 "*) ;;
960       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961          ac_unrecognized_sep=', ';;
962     esac
963     eval enable_$ac_useropt=\$ac_optarg ;;
964
965   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
966   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
967   | --exec | --exe | --ex)
968     ac_prev=exec_prefix ;;
969   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
970   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
971   | --exec=* | --exe=* | --ex=*)
972     exec_prefix=$ac_optarg ;;
973
974   -gas | --gas | --ga | --g)
975     # Obsolete; use --with-gas.
976     with_gas=yes ;;
977
978   -help | --help | --hel | --he | -h)
979     ac_init_help=long ;;
980   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
981     ac_init_help=recursive ;;
982   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
983     ac_init_help=short ;;
984
985   -host | --host | --hos | --ho)
986     ac_prev=host_alias ;;
987   -host=* | --host=* | --hos=* | --ho=*)
988     host_alias=$ac_optarg ;;
989
990   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
991     ac_prev=htmldir ;;
992   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
993   | --ht=*)
994     htmldir=$ac_optarg ;;
995
996   -includedir | --includedir | --includedi | --included | --include \
997   | --includ | --inclu | --incl | --inc)
998     ac_prev=includedir ;;
999   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1000   | --includ=* | --inclu=* | --incl=* | --inc=*)
1001     includedir=$ac_optarg ;;
1002
1003   -infodir | --infodir | --infodi | --infod | --info | --inf)
1004     ac_prev=infodir ;;
1005   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1006     infodir=$ac_optarg ;;
1007
1008   -libdir | --libdir | --libdi | --libd)
1009     ac_prev=libdir ;;
1010   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1011     libdir=$ac_optarg ;;
1012
1013   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1014   | --libexe | --libex | --libe)
1015     ac_prev=libexecdir ;;
1016   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1017   | --libexe=* | --libex=* | --libe=*)
1018     libexecdir=$ac_optarg ;;
1019
1020   -localedir | --localedir | --localedi | --localed | --locale)
1021     ac_prev=localedir ;;
1022   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1023     localedir=$ac_optarg ;;
1024
1025   -localstatedir | --localstatedir | --localstatedi | --localstated \
1026   | --localstate | --localstat | --localsta | --localst | --locals)
1027     ac_prev=localstatedir ;;
1028   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1029   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1030     localstatedir=$ac_optarg ;;
1031
1032   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1033     ac_prev=mandir ;;
1034   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1035     mandir=$ac_optarg ;;
1036
1037   -nfp | --nfp | --nf)
1038     # Obsolete; use --without-fp.
1039     with_fp=no ;;
1040
1041   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042   | --no-cr | --no-c | -n)
1043     no_create=yes ;;
1044
1045   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1046   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1047     no_recursion=yes ;;
1048
1049   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1050   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1051   | --oldin | --oldi | --old | --ol | --o)
1052     ac_prev=oldincludedir ;;
1053   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1054   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1055   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1056     oldincludedir=$ac_optarg ;;
1057
1058   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1059     ac_prev=prefix ;;
1060   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1061     prefix=$ac_optarg ;;
1062
1063   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1064   | --program-pre | --program-pr | --program-p)
1065     ac_prev=program_prefix ;;
1066   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1067   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1068     program_prefix=$ac_optarg ;;
1069
1070   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1071   | --program-suf | --program-su | --program-s)
1072     ac_prev=program_suffix ;;
1073   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1074   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1075     program_suffix=$ac_optarg ;;
1076
1077   -program-transform-name | --program-transform-name \
1078   | --program-transform-nam | --program-transform-na \
1079   | --program-transform-n | --program-transform- \
1080   | --program-transform | --program-transfor \
1081   | --program-transfo | --program-transf \
1082   | --program-trans | --program-tran \
1083   | --progr-tra | --program-tr | --program-t)
1084     ac_prev=program_transform_name ;;
1085   -program-transform-name=* | --program-transform-name=* \
1086   | --program-transform-nam=* | --program-transform-na=* \
1087   | --program-transform-n=* | --program-transform-=* \
1088   | --program-transform=* | --program-transfor=* \
1089   | --program-transfo=* | --program-transf=* \
1090   | --program-trans=* | --program-tran=* \
1091   | --progr-tra=* | --program-tr=* | --program-t=*)
1092     program_transform_name=$ac_optarg ;;
1093
1094   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1095     ac_prev=pdfdir ;;
1096   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1097     pdfdir=$ac_optarg ;;
1098
1099   -psdir | --psdir | --psdi | --psd | --ps)
1100     ac_prev=psdir ;;
1101   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1102     psdir=$ac_optarg ;;
1103
1104   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105   | -silent | --silent | --silen | --sile | --sil)
1106     silent=yes ;;
1107
1108   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1109     ac_prev=sbindir ;;
1110   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1111   | --sbi=* | --sb=*)
1112     sbindir=$ac_optarg ;;
1113
1114   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1115   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1116   | --sharedst | --shareds | --shared | --share | --shar \
1117   | --sha | --sh)
1118     ac_prev=sharedstatedir ;;
1119   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1120   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1121   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1122   | --sha=* | --sh=*)
1123     sharedstatedir=$ac_optarg ;;
1124
1125   -site | --site | --sit)
1126     ac_prev=site ;;
1127   -site=* | --site=* | --sit=*)
1128     site=$ac_optarg ;;
1129
1130   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1131     ac_prev=srcdir ;;
1132   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1133     srcdir=$ac_optarg ;;
1134
1135   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1136   | --syscon | --sysco | --sysc | --sys | --sy)
1137     ac_prev=sysconfdir ;;
1138   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1139   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1140     sysconfdir=$ac_optarg ;;
1141
1142   -target | --target | --targe | --targ | --tar | --ta | --t)
1143     ac_prev=target_alias ;;
1144   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1145     target_alias=$ac_optarg ;;
1146
1147   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1148     verbose=yes ;;
1149
1150   -version | --version | --versio | --versi | --vers | -V)
1151     ac_init_version=: ;;
1152
1153   -with-* | --with-*)
1154     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155     # Reject names that are not valid shell variable names.
1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157       as_fn_error $? "invalid package name: $ac_useropt"
1158     ac_useropt_orig=$ac_useropt
1159     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160     case $ac_user_opts in
1161       *"
1162 "with_$ac_useropt"
1163 "*) ;;
1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165          ac_unrecognized_sep=', ';;
1166     esac
1167     eval with_$ac_useropt=\$ac_optarg ;;
1168
1169   -without-* | --without-*)
1170     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171     # Reject names that are not valid shell variable names.
1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173       as_fn_error $? "invalid package name: $ac_useropt"
1174     ac_useropt_orig=$ac_useropt
1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176     case $ac_user_opts in
1177       *"
1178 "with_$ac_useropt"
1179 "*) ;;
1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1181          ac_unrecognized_sep=', ';;
1182     esac
1183     eval with_$ac_useropt=no ;;
1184
1185   --x)
1186     # Obsolete; use --with-x.
1187     with_x=yes ;;
1188
1189   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1190   | --x-incl | --x-inc | --x-in | --x-i)
1191     ac_prev=x_includes ;;
1192   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1193   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1194     x_includes=$ac_optarg ;;
1195
1196   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1197   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1198     ac_prev=x_libraries ;;
1199   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1200   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1201     x_libraries=$ac_optarg ;;
1202
1203   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1204 Try \`$0 --help' for more information"
1205     ;;
1206
1207   *=*)
1208     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1209     # Reject names that are not valid shell variable names.
1210     case $ac_envvar in #(
1211       '' | [0-9]* | *[!_$as_cr_alnum]* )
1212       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1213     esac
1214     eval $ac_envvar=\$ac_optarg
1215     export $ac_envvar ;;
1216
1217   *)
1218     # FIXME: should be removed in autoconf 3.0.
1219     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1223     ;;
1224
1225   esac
1226 done
1227
1228 if test -n "$ac_prev"; then
1229   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230   as_fn_error $? "missing argument to $ac_option"
1231 fi
1232
1233 if test -n "$ac_unrecognized_opts"; then
1234   case $enable_option_checking in
1235     no) ;;
1236     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1237     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238   esac
1239 fi
1240
1241 # Check all directory arguments for consistency.
1242 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1243                 datadir sysconfdir sharedstatedir localstatedir includedir \
1244                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1245                 libdir localedir mandir
1246 do
1247   eval ac_val=\$$ac_var
1248   # Remove trailing slashes.
1249   case $ac_val in
1250     */ )
1251       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1252       eval $ac_var=\$ac_val;;
1253   esac
1254   # Be sure to have absolute directory names.
1255   case $ac_val in
1256     [\\/$]* | ?:[\\/]* )  continue;;
1257     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1258   esac
1259   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1260 done
1261
1262 # There might be people who depend on the old broken behavior: `$host'
1263 # used to hold the argument of --host etc.
1264 # FIXME: To remove some day.
1265 build=$build_alias
1266 host=$host_alias
1267 target=$target_alias
1268
1269 # FIXME: To remove some day.
1270 if test "x$host_alias" != x; then
1271   if test "x$build_alias" = x; then
1272     cross_compiling=maybe
1273     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274     If a cross compiler is detected then cross compile mode will be used" >&2
1275   elif test "x$build_alias" != "x$host_alias"; then
1276     cross_compiling=yes
1277   fi
1278 fi
1279
1280 ac_tool_prefix=
1281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1282
1283 test "$silent" = yes && exec 6>/dev/null
1284
1285
1286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di=`ls -di .` &&
1288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1289   as_fn_error $? "working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291   as_fn_error $? "pwd does not report name of working directory"
1292
1293
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296   ac_srcdir_defaulted=yes
1297   # Try the directory containing this script, then the parent directory.
1298   ac_confdir=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300          X"$as_myself" : 'X\(//\)[^/]' \| \
1301          X"$as_myself" : 'X\(//\)$' \| \
1302          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 $as_echo X"$as_myself" |
1304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305             s//\1/
1306             q
1307           }
1308           /^X\(\/\/\)[^/].*/{
1309             s//\1/
1310             q
1311           }
1312           /^X\(\/\/\)$/{
1313             s//\1/
1314             q
1315           }
1316           /^X\(\/\).*/{
1317             s//\1/
1318             q
1319           }
1320           s/.*/./; q'`
1321   srcdir=$ac_confdir
1322   if test ! -r "$srcdir/$ac_unique_file"; then
1323     srcdir=..
1324   fi
1325 else
1326   ac_srcdir_defaulted=no
1327 fi
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1331 fi
1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 ac_abs_confdir=`(
1334         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335         pwd)`
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1338   srcdir=.
1339 fi
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1343 case $srcdir in
1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345 esac
1346 for ac_var in $ac_precious_vars; do
1347   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348   eval ac_env_${ac_var}_value=\$${ac_var}
1349   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1351 done
1352
1353 #
1354 # Report the --help message.
1355 #
1356 if test "$ac_init_help" = "long"; then
1357   # Omit some internal or obsolete options to make the list less imposing.
1358   # This message is too long to be a string in the A/UX 3.1 sh.
1359   cat <<_ACEOF
1360 \`configure' configures psensor 0.6.2.15 to adapt to many kinds of systems.
1361
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1363
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE.  See below for descriptions of some of the useful variables.
1366
1367 Defaults for the options are specified in brackets.
1368
1369 Configuration:
1370   -h, --help              display this help and exit
1371       --help=short        display options specific to this package
1372       --help=recursive    display the short help of all the included packages
1373   -V, --version           display version information and exit
1374   -q, --quiet, --silent   do not print \`checking ...' messages
1375       --cache-file=FILE   cache test results in FILE [disabled]
1376   -C, --config-cache      alias for \`--cache-file=config.cache'
1377   -n, --no-create         do not create output files
1378       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1379
1380 Installation directories:
1381   --prefix=PREFIX         install architecture-independent files in PREFIX
1382                           [$ac_default_prefix]
1383   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1384                           [PREFIX]
1385
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1390
1391 For better control, use the options below.
1392
1393 Fine tuning of the installation directories:
1394   --bindir=DIR            user executables [EPREFIX/bin]
1395   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1396   --libexecdir=DIR        program executables [EPREFIX/libexec]
1397   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1398   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1399   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1400   --libdir=DIR            object code libraries [EPREFIX/lib]
1401   --includedir=DIR        C header files [PREFIX/include]
1402   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1403   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1404   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1405   --infodir=DIR           info documentation [DATAROOTDIR/info]
1406   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1407   --mandir=DIR            man documentation [DATAROOTDIR/man]
1408   --docdir=DIR            documentation root [DATAROOTDIR/doc/psensor]
1409   --htmldir=DIR           html documentation [DOCDIR]
1410   --dvidir=DIR            dvi documentation [DOCDIR]
1411   --pdfdir=DIR            pdf documentation [DOCDIR]
1412   --psdir=DIR             ps documentation [DOCDIR]
1413 _ACEOF
1414
1415   cat <<\_ACEOF
1416
1417 Program names:
1418   --program-prefix=PREFIX            prepend PREFIX to installed program names
1419   --program-suffix=SUFFIX            append SUFFIX to installed program names
1420   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1421
1422 X features:
1423   --x-includes=DIR    X include files are in DIR
1424   --x-libraries=DIR   X library files are in DIR
1425
1426 System types:
1427   --build=BUILD     configure for building on BUILD [guessed]
1428   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1429 _ACEOF
1430 fi
1431
1432 if test -n "$ac_init_help"; then
1433   case $ac_init_help in
1434      short | recursive ) echo "Configuration of psensor 0.6.2.15:";;
1435    esac
1436   cat <<\_ACEOF
1437
1438 Optional Features:
1439   --disable-option-checking  ignore unrecognized --enable/--with options
1440   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1441   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1442   --disable-dependency-tracking  speeds up one-time build
1443   --enable-dependency-tracking   do not reject slow dependency extractors
1444   --disable-nls           do not use Native Language Support
1445   --disable-rpath         do not hardcode runtime library paths
1446
1447 Optional Packages:
1448   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1449   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1450   --with-x                use the X Window System
1451   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1452   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1453   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1454   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1455   --without-libintl-prefix     don't search for libintl in includedir and libdir
1456   --with-libatiadl=DIR   use libatiadlxx in DIR
1457   --with-gtop=yes|no   use gtop
1458
1459 Some influential environment variables:
1460   CC          C compiler command
1461   CFLAGS      C compiler flags
1462   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1463               nonstandard directory <lib dir>
1464   LIBS        libraries to pass to the linker, e.g. -l<library>
1465   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1466               you have headers in a nonstandard directory <include dir>
1467   XMKMF       Path to xmkmf, Makefile generator for X Window System
1468   CPP         C preprocessor
1469   PKG_CONFIG  path to pkg-config utility
1470   PKG_CONFIG_PATH
1471               directories to add to pkg-config's search path
1472   PKG_CONFIG_LIBDIR
1473               path overriding pkg-config's built-in search path
1474   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
1475   X11_LIBS    linker flags for X11, overriding pkg-config
1476   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
1477   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
1478   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1479   GTK_LIBS    linker flags for GTK, overriding pkg-config
1480   GCONF_CFLAGS
1481               C compiler flags for GCONF, overriding pkg-config
1482   GCONF_LIBS  linker flags for GCONF, overriding pkg-config
1483   LIBNOTIFY_CFLAGS
1484               C compiler flags for LIBNOTIFY, overriding pkg-config
1485   LIBNOTIFY_LIBS
1486               linker flags for LIBNOTIFY, overriding pkg-config
1487   APPINDICATOR_CFLAGS
1488               C compiler flags for APPINDICATOR, overriding pkg-config
1489   APPINDICATOR_LIBS
1490               linker flags for APPINDICATOR, overriding pkg-config
1491   CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1492   CURL_LIBS   linker flags for CURL, overriding pkg-config
1493   JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1494   JSON_LIBS   linker flags for JSON, overriding pkg-config
1495   UNITY_CFLAGS
1496               C compiler flags for UNITY, overriding pkg-config
1497   UNITY_LIBS  linker flags for UNITY, overriding pkg-config
1498   LIBMICROHTTPD_CFLAGS
1499               C compiler flags for LIBMICROHTTPD, overriding pkg-config
1500   LIBMICROHTTPD_LIBS
1501               linker flags for LIBMICROHTTPD, overriding pkg-config
1502   GTOP_CFLAGS C compiler flags for GTOP, overriding pkg-config
1503   GTOP_LIBS   linker flags for GTOP, overriding pkg-config
1504
1505 Use these variables to override the choices made by `configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1507
1508 Report bugs to <jeanfi@gmail.com>.
1509 psensor home page: <http://wpitchoune.net/psensor>.
1510 _ACEOF
1511 ac_status=$?
1512 fi
1513
1514 if test "$ac_init_help" = "recursive"; then
1515   # If there are subdirs, report their specific --help.
1516   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1517     test -d "$ac_dir" ||
1518       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1519       continue
1520     ac_builddir=.
1521
1522 case "$ac_dir" in
1523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *)
1525   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1526   # A ".." for each directory in $ac_dir_suffix.
1527   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1528   case $ac_top_builddir_sub in
1529   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531   esac ;;
1532 esac
1533 ac_abs_top_builddir=$ac_pwd
1534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1535 # for backward compatibility:
1536 ac_top_builddir=$ac_top_build_prefix
1537
1538 case $srcdir in
1539   .)  # We are building in place.
1540     ac_srcdir=.
1541     ac_top_srcdir=$ac_top_builddir_sub
1542     ac_abs_top_srcdir=$ac_pwd ;;
1543   [\\/]* | ?:[\\/]* )  # Absolute name.
1544     ac_srcdir=$srcdir$ac_dir_suffix;
1545     ac_top_srcdir=$srcdir
1546     ac_abs_top_srcdir=$srcdir ;;
1547   *) # Relative name.
1548     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1549     ac_top_srcdir=$ac_top_build_prefix$srcdir
1550     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1551 esac
1552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1553
1554     cd "$ac_dir" || { ac_status=$?; continue; }
1555     # Check for guested configure.
1556     if test -f "$ac_srcdir/configure.gnu"; then
1557       echo &&
1558       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1559     elif test -f "$ac_srcdir/configure"; then
1560       echo &&
1561       $SHELL "$ac_srcdir/configure" --help=recursive
1562     else
1563       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1564     fi || ac_status=$?
1565     cd "$ac_pwd" || { ac_status=$?; break; }
1566   done
1567 fi
1568
1569 test -n "$ac_init_help" && exit $ac_status
1570 if $ac_init_version; then
1571   cat <<\_ACEOF
1572 psensor configure 0.6.2.15
1573 generated by GNU Autoconf 2.68
1574
1575 Copyright (C) 2010 Free Software Foundation, Inc.
1576 This configure script is free software; the Free Software Foundation
1577 gives unlimited permission to copy, distribute and modify it.
1578 _ACEOF
1579   exit
1580 fi
1581
1582 ## ------------------------ ##
1583 ## Autoconf initialization. ##
1584 ## ------------------------ ##
1585
1586 # ac_fn_c_try_compile LINENO
1587 # --------------------------
1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1589 ac_fn_c_try_compile ()
1590 {
1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592   rm -f conftest.$ac_objext
1593   if { { ac_try="$ac_compile"
1594 case "(($ac_try" in
1595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596   *) ac_try_echo=$ac_try;;
1597 esac
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600   (eval "$ac_compile") 2>conftest.err
1601   ac_status=$?
1602   if test -s conftest.err; then
1603     grep -v '^ *+' conftest.err >conftest.er1
1604     cat conftest.er1 >&5
1605     mv -f conftest.er1 conftest.err
1606   fi
1607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608   test $ac_status = 0; } && {
1609          test -z "$ac_c_werror_flag" ||
1610          test ! -s conftest.err
1611        } && test -s conftest.$ac_objext; then :
1612   ac_retval=0
1613 else
1614   $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1616
1617         ac_retval=1
1618 fi
1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620   as_fn_set_status $ac_retval
1621
1622 } # ac_fn_c_try_compile
1623
1624 # ac_fn_c_try_cpp LINENO
1625 # ----------------------
1626 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1627 ac_fn_c_try_cpp ()
1628 {
1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630   if { { ac_try="$ac_cpp conftest.$ac_ext"
1631 case "(($ac_try" in
1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633   *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1638   ac_status=$?
1639   if test -s conftest.err; then
1640     grep -v '^ *+' conftest.err >conftest.er1
1641     cat conftest.er1 >&5
1642     mv -f conftest.er1 conftest.err
1643   fi
1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645   test $ac_status = 0; } > conftest.i && {
1646          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1647          test ! -s conftest.err
1648        }; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654     ac_retval=1
1655 fi
1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657   as_fn_set_status $ac_retval
1658
1659 } # ac_fn_c_try_cpp
1660
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_link ()
1665 {
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   rm -f conftest.$ac_objext conftest$ac_exeext
1668   if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_link") 2>conftest.err
1676   ac_status=$?
1677   if test -s conftest.err; then
1678     grep -v '^ *+' conftest.err >conftest.er1
1679     cat conftest.er1 >&5
1680     mv -f conftest.er1 conftest.err
1681   fi
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && {
1684          test -z "$ac_c_werror_flag" ||
1685          test ! -s conftest.err
1686        } && test -s conftest$ac_exeext && {
1687          test "$cross_compiling" = yes ||
1688          $as_test_x conftest$ac_exeext
1689        }; then :
1690   ac_retval=0
1691 else
1692   $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695         ac_retval=1
1696 fi
1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699   # interfere with the next link command; also delete a directory that is
1700   # left behind by Apple's compiler.  We do this before executing the actions.
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703   as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_link
1706
1707 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1710 # the include files in INCLUDES and setting the cache variable VAR
1711 # accordingly.
1712 ac_fn_c_check_header_mongrel ()
1713 {
1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715   if eval \${$3+:} false; then :
1716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 $as_echo_n "checking for $2... " >&6; }
1718 if eval \${$3+:} false; then :
1719   $as_echo_n "(cached) " >&6
1720 fi
1721 eval ac_res=\$$3
1722                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 else
1725   # Is the header compilable?
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1727 $as_echo_n "checking $2 usability... " >&6; }
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729 /* end confdefs.h.  */
1730 $4
1731 #include <$2>
1732 _ACEOF
1733 if ac_fn_c_try_compile "$LINENO"; then :
1734   ac_header_compiler=yes
1735 else
1736   ac_header_compiler=no
1737 fi
1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1740 $as_echo "$ac_header_compiler" >&6; }
1741
1742 # Is the header present?
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1744 $as_echo_n "checking $2 presence... " >&6; }
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h.  */
1747 #include <$2>
1748 _ACEOF
1749 if ac_fn_c_try_cpp "$LINENO"; then :
1750   ac_header_preproc=yes
1751 else
1752   ac_header_preproc=no
1753 fi
1754 rm -f conftest.err conftest.i conftest.$ac_ext
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1756 $as_echo "$ac_header_preproc" >&6; }
1757
1758 # So?  What about this header?
1759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1760   yes:no: )
1761     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1762 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1763     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1764 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1765     ;;
1766   no:yes:* )
1767     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1768 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1769     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1770 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1771     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1772 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1774 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1776 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1777 ( $as_echo "## ------------------------------- ##
1778 ## Report this to jeanfi@gmail.com ##
1779 ## ------------------------------- ##"
1780      ) | sed "s/^/$as_me: WARNING:     /" >&2
1781     ;;
1782 esac
1783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786   $as_echo_n "(cached) " >&6
1787 else
1788   eval "$3=\$ac_header_compiler"
1789 fi
1790 eval ac_res=\$$3
1791                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 fi
1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795
1796 } # ac_fn_c_check_header_mongrel
1797
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1802 ac_fn_c_try_run ()
1803 {
1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805   if { { ac_try="$ac_link"
1806 case "(($ac_try" in
1807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808   *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812   (eval "$ac_link") 2>&5
1813   ac_status=$?
1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1816   { { case "(($ac_try" in
1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818   *) ac_try_echo=$ac_try;;
1819 esac
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822   (eval "$ac_try") 2>&5
1823   ac_status=$?
1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825   test $ac_status = 0; }; }; then :
1826   ac_retval=0
1827 else
1828   $as_echo "$as_me: program exited with status $ac_status" >&5
1829        $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1831
1832        ac_retval=$ac_status
1833 fi
1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836   as_fn_set_status $ac_retval
1837
1838 } # ac_fn_c_try_run
1839
1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841 # -------------------------------------------------------
1842 # Tests whether HEADER exists and can be compiled using the include files in
1843 # INCLUDES, setting the cache variable VAR accordingly.
1844 ac_fn_c_check_header_compile ()
1845 {
1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then :
1850   $as_echo_n "(cached) " >&6
1851 else
1852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h.  */
1854 $4
1855 #include <$2>
1856 _ACEOF
1857 if ac_fn_c_try_compile "$LINENO"; then :
1858   eval "$3=yes"
1859 else
1860   eval "$3=no"
1861 fi
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863 fi
1864 eval ac_res=\$$3
1865                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
1869 } # ac_fn_c_check_header_compile
1870
1871 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1872 # -------------------------------------------
1873 # Tests whether TYPE exists after having included INCLUDES, setting cache
1874 # variable VAR accordingly.
1875 ac_fn_c_check_type ()
1876 {
1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \${$3+:} false; then :
1881   $as_echo_n "(cached) " >&6
1882 else
1883   eval "$3=no"
1884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h.  */
1886 $4
1887 int
1888 main ()
1889 {
1890 if (sizeof ($2))
1891          return 0;
1892   ;
1893   return 0;
1894 }
1895 _ACEOF
1896 if ac_fn_c_try_compile "$LINENO"; then :
1897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h.  */
1899 $4
1900 int
1901 main ()
1902 {
1903 if (sizeof (($2)))
1904             return 0;
1905   ;
1906   return 0;
1907 }
1908 _ACEOF
1909 if ac_fn_c_try_compile "$LINENO"; then :
1910
1911 else
1912   eval "$3=yes"
1913 fi
1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 fi
1916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917 fi
1918 eval ac_res=\$$3
1919                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1921   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922
1923 } # ac_fn_c_check_type
1924
1925 # ac_fn_c_check_func LINENO FUNC VAR
1926 # ----------------------------------
1927 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1928 ac_fn_c_check_func ()
1929 {
1930   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932 $as_echo_n "checking for $2... " >&6; }
1933 if eval \${$3+:} false; then :
1934   $as_echo_n "(cached) " >&6
1935 else
1936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h.  */
1938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1940 #define $2 innocuous_$2
1941
1942 /* System header to define __stub macros and hopefully few prototypes,
1943     which can conflict with char $2 (); below.
1944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1945     <limits.h> exists even on freestanding compilers.  */
1946
1947 #ifdef __STDC__
1948 # include <limits.h>
1949 #else
1950 # include <assert.h>
1951 #endif
1952
1953 #undef $2
1954
1955 /* Override any GCC internal prototype to avoid an error.
1956    Use char because int might match the return type of a GCC
1957    builtin and then its argument prototype would still apply.  */
1958 #ifdef __cplusplus
1959 extern "C"
1960 #endif
1961 char $2 ();
1962 /* The GNU C library defines this for functions which it implements
1963     to always fail with ENOSYS.  Some functions are actually named
1964     something starting with __ and the normal name is an alias.  */
1965 #if defined __stub_$2 || defined __stub___$2
1966 choke me
1967 #endif
1968
1969 int
1970 main ()
1971 {
1972 return $2 ();
1973   ;
1974   return 0;
1975 }
1976 _ACEOF
1977 if ac_fn_c_try_link "$LINENO"; then :
1978   eval "$3=yes"
1979 else
1980   eval "$3=no"
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext \
1983     conftest$ac_exeext conftest.$ac_ext
1984 fi
1985 eval ac_res=\$$3
1986                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989
1990 } # ac_fn_c_check_func
1991 cat >config.log <<_ACEOF
1992 This file contains any messages produced by compilers while
1993 running configure, to aid debugging if configure makes a mistake.
1994
1995 It was created by psensor $as_me 0.6.2.15, which was
1996 generated by GNU Autoconf 2.68.  Invocation command line was
1997
1998   $ $0 $@
1999
2000 _ACEOF
2001 exec 5>>config.log
2002 {
2003 cat <<_ASUNAME
2004 ## --------- ##
2005 ## Platform. ##
2006 ## --------- ##
2007
2008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2013
2014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2015 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2016
2017 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2018 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2020 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2021 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2022 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2023 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2024
2025 _ASUNAME
2026
2027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2028 for as_dir in $PATH
2029 do
2030   IFS=$as_save_IFS
2031   test -z "$as_dir" && as_dir=.
2032     $as_echo "PATH: $as_dir"
2033   done
2034 IFS=$as_save_IFS
2035
2036 } >&5
2037
2038 cat >&5 <<_ACEOF
2039
2040
2041 ## ----------- ##
2042 ## Core tests. ##
2043 ## ----------- ##
2044
2045 _ACEOF
2046
2047
2048 # Keep a trace of the command line.
2049 # Strip out --no-create and --no-recursion so they do not pile up.
2050 # Strip out --silent because we don't want to record it for future runs.
2051 # Also quote any args containing shell meta-characters.
2052 # Make two passes to allow for proper duplicate-argument suppression.
2053 ac_configure_args=
2054 ac_configure_args0=
2055 ac_configure_args1=
2056 ac_must_keep_next=false
2057 for ac_pass in 1 2
2058 do
2059   for ac_arg
2060   do
2061     case $ac_arg in
2062     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2063     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2064     | -silent | --silent | --silen | --sile | --sil)
2065       continue ;;
2066     *\'*)
2067       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2068     esac
2069     case $ac_pass in
2070     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2071     2)
2072       as_fn_append ac_configure_args1 " '$ac_arg'"
2073       if test $ac_must_keep_next = true; then
2074         ac_must_keep_next=false # Got value, back to normal.
2075       else
2076         case $ac_arg in
2077           *=* | --config-cache | -C | -disable-* | --disable-* \
2078           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2079           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2080           | -with-* | --with-* | -without-* | --without-* | --x)
2081             case "$ac_configure_args0 " in
2082               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2083             esac
2084             ;;
2085           -* ) ac_must_keep_next=true ;;
2086         esac
2087       fi
2088       as_fn_append ac_configure_args " '$ac_arg'"
2089       ;;
2090     esac
2091   done
2092 done
2093 { ac_configure_args0=; unset ac_configure_args0;}
2094 { ac_configure_args1=; unset ac_configure_args1;}
2095
2096 # When interrupted or exit'd, cleanup temporary files, and complete
2097 # config.log.  We remove comments because anyway the quotes in there
2098 # would cause problems or look ugly.
2099 # WARNING: Use '\'' to represent an apostrophe within the trap.
2100 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2101 trap 'exit_status=$?
2102   # Save into config.log some information that might help in debugging.
2103   {
2104     echo
2105
2106     $as_echo "## ---------------- ##
2107 ## Cache variables. ##
2108 ## ---------------- ##"
2109     echo
2110     # The following way of writing the cache mishandles newlines in values,
2111 (
2112   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2113     eval ac_val=\$$ac_var
2114     case $ac_val in #(
2115     *${as_nl}*)
2116       case $ac_var in #(
2117       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2118 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2119       esac
2120       case $ac_var in #(
2121       _ | IFS | as_nl) ;; #(
2122       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2123       *) { eval $ac_var=; unset $ac_var;} ;;
2124       esac ;;
2125     esac
2126   done
2127   (set) 2>&1 |
2128     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2129     *${as_nl}ac_space=\ *)
2130       sed -n \
2131         "s/'\''/'\''\\\\'\'''\''/g;
2132           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2133       ;; #(
2134     *)
2135       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136       ;;
2137     esac |
2138     sort
2139 )
2140     echo
2141
2142     $as_echo "## ----------------- ##
2143 ## Output variables. ##
2144 ## ----------------- ##"
2145     echo
2146     for ac_var in $ac_subst_vars
2147     do
2148       eval ac_val=\$$ac_var
2149       case $ac_val in
2150       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2151       esac
2152       $as_echo "$ac_var='\''$ac_val'\''"
2153     done | sort
2154     echo
2155
2156     if test -n "$ac_subst_files"; then
2157       $as_echo "## ------------------- ##
2158 ## File substitutions. ##
2159 ## ------------------- ##"
2160       echo
2161       for ac_var in $ac_subst_files
2162       do
2163         eval ac_val=\$$ac_var
2164         case $ac_val in
2165         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2166         esac
2167         $as_echo "$ac_var='\''$ac_val'\''"
2168       done | sort
2169       echo
2170     fi
2171
2172     if test -s confdefs.h; then
2173       $as_echo "## ----------- ##
2174 ## confdefs.h. ##
2175 ## ----------- ##"
2176       echo
2177       cat confdefs.h
2178       echo
2179     fi
2180     test "$ac_signal" != 0 &&
2181       $as_echo "$as_me: caught signal $ac_signal"
2182     $as_echo "$as_me: exit $exit_status"
2183   } >&5
2184   rm -f core *.core core.conftest.* &&
2185     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2186     exit $exit_status
2187 ' 0
2188 for ac_signal in 1 2 13 15; do
2189   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2190 done
2191 ac_signal=0
2192
2193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2194 rm -f -r conftest* confdefs.h
2195
2196 $as_echo "/* confdefs.h */" > confdefs.h
2197
2198 # Predefined preprocessor variables.
2199
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_NAME "$PACKAGE_NAME"
2202 _ACEOF
2203
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2206 _ACEOF
2207
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2210 _ACEOF
2211
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_STRING "$PACKAGE_STRING"
2214 _ACEOF
2215
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2218 _ACEOF
2219
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_URL "$PACKAGE_URL"
2222 _ACEOF
2223
2224
2225 # Let the site file select an alternate cache file if it wants to.
2226 # Prefer an explicitly selected file to automatically selected ones.
2227 ac_site_file1=NONE
2228 ac_site_file2=NONE
2229 if test -n "$CONFIG_SITE"; then
2230   # We do not want a PATH search for config.site.
2231   case $CONFIG_SITE in #((
2232     -*)  ac_site_file1=./$CONFIG_SITE;;
2233     */*) ac_site_file1=$CONFIG_SITE;;
2234     *)   ac_site_file1=./$CONFIG_SITE;;
2235   esac
2236 elif test "x$prefix" != xNONE; then
2237   ac_site_file1=$prefix/share/config.site
2238   ac_site_file2=$prefix/etc/config.site
2239 else
2240   ac_site_file1=$ac_default_prefix/share/config.site
2241   ac_site_file2=$ac_default_prefix/etc/config.site
2242 fi
2243 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2244 do
2245   test "x$ac_site_file" = xNONE && continue
2246   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2247     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2248 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2249     sed 's/^/| /' "$ac_site_file" >&5
2250     . "$ac_site_file" \
2251       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 as_fn_error $? "failed to load site script $ac_site_file
2254 See \`config.log' for more details" "$LINENO" 5; }
2255   fi
2256 done
2257
2258 if test -r "$cache_file"; then
2259   # Some versions of bash will fail to source /dev/null (special files
2260   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2261   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2262     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2263 $as_echo "$as_me: loading cache $cache_file" >&6;}
2264     case $cache_file in
2265       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2266       *)                      . "./$cache_file";;
2267     esac
2268   fi
2269 else
2270   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2271 $as_echo "$as_me: creating cache $cache_file" >&6;}
2272   >$cache_file
2273 fi
2274
2275 gt_needs="$gt_needs "
2276 # Check that the precious variables saved in the cache have kept the same
2277 # value.
2278 ac_cache_corrupted=false
2279 for ac_var in $ac_precious_vars; do
2280   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281   eval ac_new_set=\$ac_env_${ac_var}_set
2282   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283   eval ac_new_val=\$ac_env_${ac_var}_value
2284   case $ac_old_set,$ac_new_set in
2285     set,)
2286       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2287 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288       ac_cache_corrupted=: ;;
2289     ,set)
2290       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2291 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2292       ac_cache_corrupted=: ;;
2293     ,);;
2294     *)
2295       if test "x$ac_old_val" != "x$ac_new_val"; then
2296         # differences in whitespace do not lead to failure.
2297         ac_old_val_w=`echo x $ac_old_val`
2298         ac_new_val_w=`echo x $ac_new_val`
2299         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2300           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2301 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2302           ac_cache_corrupted=:
2303         else
2304           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2305 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2306           eval $ac_var=\$ac_old_val
2307         fi
2308         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2309 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2310         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2311 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2312       fi;;
2313   esac
2314   # Pass precious variables to config.status.
2315   if test "$ac_new_set" = set; then
2316     case $ac_new_val in
2317     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318     *) ac_arg=$ac_var=$ac_new_val ;;
2319     esac
2320     case " $ac_configure_args " in
2321       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2322       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2323     esac
2324   fi
2325 done
2326 if $ac_cache_corrupted; then
2327   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2330 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2331   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2332 fi
2333 ## -------------------- ##
2334 ## Main body of script. ##
2335 ## -------------------- ##
2336
2337 ac_ext=c
2338 ac_cpp='$CPP $CPPFLAGS'
2339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2342
2343
2344
2345 am__api_version='1.11'
2346
2347 ac_aux_dir=
2348 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2349   if test -f "$ac_dir/install-sh"; then
2350     ac_aux_dir=$ac_dir
2351     ac_install_sh="$ac_aux_dir/install-sh -c"
2352     break
2353   elif test -f "$ac_dir/install.sh"; then
2354     ac_aux_dir=$ac_dir
2355     ac_install_sh="$ac_aux_dir/install.sh -c"
2356     break
2357   elif test -f "$ac_dir/shtool"; then
2358     ac_aux_dir=$ac_dir
2359     ac_install_sh="$ac_aux_dir/shtool install -c"
2360     break
2361   fi
2362 done
2363 if test -z "$ac_aux_dir"; then
2364   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2365 fi
2366
2367 # These three variables are undocumented and unsupported,
2368 # and are intended to be withdrawn in a future Autoconf release.
2369 # They can cause serious problems if a builder's source tree is in a directory
2370 # whose full name contains unusual characters.
2371 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2372 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2373 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2374
2375
2376 # Find a good install program.  We prefer a C program (faster),
2377 # so one script is as good as another.  But avoid the broken or
2378 # incompatible versions:
2379 # SysV /etc/install, /usr/sbin/install
2380 # SunOS /usr/etc/install
2381 # IRIX /sbin/install
2382 # AIX /bin/install
2383 # AmigaOS /C/install, which installs bootblocks on floppy discs
2384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2387 # OS/2's system install, which has a completely different semantic
2388 # ./install, which can be erroneously created by make from ./install.sh.
2389 # Reject install programs that cannot install multiple files.
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2391 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2392 if test -z "$INSTALL"; then
2393 if ${ac_cv_path_install+:} false; then :
2394   $as_echo_n "(cached) " >&6
2395 else
2396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 for as_dir in $PATH
2398 do
2399   IFS=$as_save_IFS
2400   test -z "$as_dir" && as_dir=.
2401     # Account for people who put trailing slashes in PATH elements.
2402 case $as_dir/ in #((
2403   ./ | .// | /[cC]/* | \
2404   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2405   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2406   /usr/ucb/* ) ;;
2407   *)
2408     # OSF1 and SCO ODT 3.0 have their own names for install.
2409     # Don't use installbsd from OSF since it installs stuff as root
2410     # by default.
2411     for ac_prog in ginstall scoinst install; do
2412       for ac_exec_ext in '' $ac_executable_extensions; do
2413         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2414           if test $ac_prog = install &&
2415             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2416             # AIX install.  It has an incompatible calling convention.
2417             :
2418           elif test $ac_prog = install &&
2419             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2420             # program-specific install script used by HP pwplus--don't use.
2421             :
2422           else
2423             rm -rf conftest.one conftest.two conftest.dir
2424             echo one > conftest.one
2425             echo two > conftest.two
2426             mkdir conftest.dir
2427             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2428               test -s conftest.one && test -s conftest.two &&
2429               test -s conftest.dir/conftest.one &&
2430               test -s conftest.dir/conftest.two
2431             then
2432               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2433               break 3
2434             fi
2435           fi
2436         fi
2437       done
2438     done
2439     ;;
2440 esac
2441
2442   done
2443 IFS=$as_save_IFS
2444
2445 rm -rf conftest.one conftest.two conftest.dir
2446
2447 fi
2448   if test "${ac_cv_path_install+set}" = set; then
2449     INSTALL=$ac_cv_path_install
2450   else
2451     # As a last resort, use the slow shell script.  Don't cache a
2452     # value for INSTALL within a source directory, because that will
2453     # break other packages using the cache if that directory is
2454     # removed, or if the value is a relative name.
2455     INSTALL=$ac_install_sh
2456   fi
2457 fi
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2459 $as_echo "$INSTALL" >&6; }
2460
2461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2462 # It thinks the first close brace ends the variable substitution.
2463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2464
2465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2466
2467 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2468
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2470 $as_echo_n "checking whether build environment is sane... " >&6; }
2471 # Just in case
2472 sleep 1
2473 echo timestamp > conftest.file
2474 # Reject unsafe characters in $srcdir or the absolute working directory
2475 # name.  Accept space and tab only in the latter.
2476 am_lf='
2477 '
2478 case `pwd` in
2479   *[\\\"\#\$\&\'\`$am_lf]*)
2480     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2481 esac
2482 case $srcdir in
2483   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2484     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2485 esac
2486
2487 # Do `set' in a subshell so we don't clobber the current shell's
2488 # arguments.  Must try -L first in case configure is actually a
2489 # symlink; some systems play weird games with the mod time of symlinks
2490 # (eg FreeBSD returns the mod time of the symlink's containing
2491 # directory).
2492 if (
2493    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2494    if test "$*" = "X"; then
2495       # -L didn't work.
2496       set X `ls -t "$srcdir/configure" conftest.file`
2497    fi
2498    rm -f conftest.file
2499    if test "$*" != "X $srcdir/configure conftest.file" \
2500       && test "$*" != "X conftest.file $srcdir/configure"; then
2501
2502       # If neither matched, then we have a broken ls.  This can happen
2503       # if, for instance, CONFIG_SHELL is bash and it inherits a
2504       # broken ls alias from the environment.  This has actually
2505       # happened.  Such a system could not be considered "sane".
2506       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2507 alias in your environment" "$LINENO" 5
2508    fi
2509
2510    test "$2" = conftest.file
2511    )
2512 then
2513    # Ok.
2514    :
2515 else
2516    as_fn_error $? "newly created file is older than distributed files!
2517 Check your system clock" "$LINENO" 5
2518 fi
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520 $as_echo "yes" >&6; }
2521 test "$program_prefix" != NONE &&
2522   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2523 # Use a double $ so make ignores it.
2524 test "$program_suffix" != NONE &&
2525   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2526 # Double any \ or $.
2527 # By default was `s,x,x', remove it if useless.
2528 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2529 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2530
2531 # expand $ac_aux_dir to an absolute path
2532 am_aux_dir=`cd $ac_aux_dir && pwd`
2533
2534 if test x"${MISSING+set}" != xset; then
2535   case $am_aux_dir in
2536   *\ * | *\     *)
2537     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2538   *)
2539     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2540   esac
2541 fi
2542 # Use eval to expand $SHELL
2543 if eval "$MISSING --run true"; then
2544   am_missing_run="$MISSING --run "
2545 else
2546   am_missing_run=
2547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2548 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2549 fi
2550
2551 if test x"${install_sh}" != xset; then
2552   case $am_aux_dir in
2553   *\ * | *\     *)
2554     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2555   *)
2556     install_sh="\${SHELL} $am_aux_dir/install-sh"
2557   esac
2558 fi
2559
2560 # Installed binaries are usually stripped using `strip' when the user
2561 # run `make install-strip'.  However `strip' might not be the right
2562 # tool to use in cross-compilation environments, therefore Automake
2563 # will honor the `STRIP' environment variable to overrule this program.
2564 if test "$cross_compiling" != no; then
2565   if test -n "$ac_tool_prefix"; then
2566   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2567 set dummy ${ac_tool_prefix}strip; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_STRIP+:} false; then :
2571   $as_echo_n "(cached) " >&6
2572 else
2573   if test -n "$STRIP"; then
2574   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2578 do
2579   IFS=$as_save_IFS
2580   test -z "$as_dir" && as_dir=.
2581     for ac_exec_ext in '' $ac_executable_extensions; do
2582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585     break 2
2586   fi
2587 done
2588   done
2589 IFS=$as_save_IFS
2590
2591 fi
2592 fi
2593 STRIP=$ac_cv_prog_STRIP
2594 if test -n "$STRIP"; then
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2596 $as_echo "$STRIP" >&6; }
2597 else
2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 fi
2601
2602
2603 fi
2604 if test -z "$ac_cv_prog_STRIP"; then
2605   ac_ct_STRIP=$STRIP
2606   # Extract the first word of "strip", so it can be a program name with args.
2607 set dummy strip; ac_word=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2611   $as_echo_n "(cached) " >&6
2612 else
2613   if test -n "$ac_ct_STRIP"; then
2614   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2618 do
2619   IFS=$as_save_IFS
2620   test -z "$as_dir" && as_dir=.
2621     for ac_exec_ext in '' $ac_executable_extensions; do
2622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623     ac_cv_prog_ac_ct_STRIP="strip"
2624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625     break 2
2626   fi
2627 done
2628   done
2629 IFS=$as_save_IFS
2630
2631 fi
2632 fi
2633 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2634 if test -n "$ac_ct_STRIP"; then
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2636 $as_echo "$ac_ct_STRIP" >&6; }
2637 else
2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2640 fi
2641
2642   if test "x$ac_ct_STRIP" = x; then
2643     STRIP=":"
2644   else
2645     case $cross_compiling:$ac_tool_warned in
2646 yes:)
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2649 ac_tool_warned=yes ;;
2650 esac
2651     STRIP=$ac_ct_STRIP
2652   fi
2653 else
2654   STRIP="$ac_cv_prog_STRIP"
2655 fi
2656
2657 fi
2658 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2659
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2662 if test -z "$MKDIR_P"; then
2663   if ${ac_cv_path_mkdir+:} false; then :
2664   $as_echo_n "(cached) " >&6
2665 else
2666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2668 do
2669   IFS=$as_save_IFS
2670   test -z "$as_dir" && as_dir=.
2671     for ac_prog in mkdir gmkdir; do
2672          for ac_exec_ext in '' $ac_executable_extensions; do
2673            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2674            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2675              'mkdir (GNU coreutils) '* | \
2676              'mkdir (coreutils) '* | \
2677              'mkdir (fileutils) '4.1*)
2678                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2679                break 3;;
2680            esac
2681          done
2682        done
2683   done
2684 IFS=$as_save_IFS
2685
2686 fi
2687
2688   test -d ./--version && rmdir ./--version
2689   if test "${ac_cv_path_mkdir+set}" = set; then
2690     MKDIR_P="$ac_cv_path_mkdir -p"
2691   else
2692     # As a last resort, use the slow shell script.  Don't cache a
2693     # value for MKDIR_P within a source directory, because that will
2694     # break other packages using the cache if that directory is
2695     # removed, or if the value is a relative name.
2696     MKDIR_P="$ac_install_sh -d"
2697   fi
2698 fi
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2700 $as_echo "$MKDIR_P" >&6; }
2701
2702 mkdir_p="$MKDIR_P"
2703 case $mkdir_p in
2704   [\\/$]* | ?:[\\/]*) ;;
2705   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2706 esac
2707
2708 for ac_prog in gawk mawk nawk awk
2709 do
2710   # Extract the first word of "$ac_prog", so it can be a program name with args.
2711 set dummy $ac_prog; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if ${ac_cv_prog_AWK+:} false; then :
2715   $as_echo_n "(cached) " >&6
2716 else
2717   if test -n "$AWK"; then
2718   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2719 else
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 for as_dir in $PATH
2722 do
2723   IFS=$as_save_IFS
2724   test -z "$as_dir" && as_dir=.
2725     for ac_exec_ext in '' $ac_executable_extensions; do
2726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727     ac_cv_prog_AWK="$ac_prog"
2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729     break 2
2730   fi
2731 done
2732   done
2733 IFS=$as_save_IFS
2734
2735 fi
2736 fi
2737 AWK=$ac_cv_prog_AWK
2738 if test -n "$AWK"; then
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2740 $as_echo "$AWK" >&6; }
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2744 fi
2745
2746
2747   test -n "$AWK" && break
2748 done
2749
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2752 set x ${MAKE-make}
2753 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2754 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2755   $as_echo_n "(cached) " >&6
2756 else
2757   cat >conftest.make <<\_ACEOF
2758 SHELL = /bin/sh
2759 all:
2760         @echo '@@@%%%=$(MAKE)=@@@%%%'
2761 _ACEOF
2762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2764   *@@@%%%=?*=@@@%%%*)
2765     eval ac_cv_prog_make_${ac_make}_set=yes;;
2766   *)
2767     eval ac_cv_prog_make_${ac_make}_set=no;;
2768 esac
2769 rm -f conftest.make
2770 fi
2771 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2774   SET_MAKE=
2775 else
2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2778   SET_MAKE="MAKE=${MAKE-make}"
2779 fi
2780
2781 rm -rf .tst 2>/dev/null
2782 mkdir .tst 2>/dev/null
2783 if test -d .tst; then
2784   am__leading_dot=.
2785 else
2786   am__leading_dot=_
2787 fi
2788 rmdir .tst 2>/dev/null
2789
2790 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2791   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2792   # is not polluted with repeated "-I."
2793   am__isrc=' -I$(srcdir)'
2794   # test to see if srcdir already configured
2795   if test -f $srcdir/config.status; then
2796     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2797   fi
2798 fi
2799
2800 # test whether we have cygpath
2801 if test -z "$CYGPATH_W"; then
2802   if (cygpath --version) >/dev/null 2>/dev/null; then
2803     CYGPATH_W='cygpath -w'
2804   else
2805     CYGPATH_W=echo
2806   fi
2807 fi
2808
2809
2810 # Define the identity of the package.
2811  PACKAGE='psensor'
2812  VERSION='0.6.2.15'
2813
2814
2815 cat >>confdefs.h <<_ACEOF
2816 #define PACKAGE "$PACKAGE"
2817 _ACEOF
2818
2819
2820 cat >>confdefs.h <<_ACEOF
2821 #define VERSION "$VERSION"
2822 _ACEOF
2823
2824 # Some tools Automake needs.
2825
2826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2827
2828
2829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2830
2831
2832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2833
2834
2835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2836
2837
2838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2839
2840 # We need awk for the "check" target.  The system "awk" is bad on
2841 # some platforms.
2842 # Always define AMTAR for backward compatibility.
2843
2844 AMTAR=${AMTAR-"${am_missing_run}tar"}
2845
2846 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2847
2848
2849
2850
2851
2852
2853
2854 ac_config_headers="$ac_config_headers config.h"
2855
2856
2857 # Checks for programs.
2858 ac_ext=c
2859 ac_cpp='$CPP $CPPFLAGS'
2860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2863 if test -n "$ac_tool_prefix"; then
2864   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2865 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if ${ac_cv_prog_CC+:} false; then :
2869   $as_echo_n "(cached) " >&6
2870 else
2871   if test -n "$CC"; then
2872   ac_cv_prog_CC="$CC" # Let the user override the test.
2873 else
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 for as_dir in $PATH
2876 do
2877   IFS=$as_save_IFS
2878   test -z "$as_dir" && as_dir=.
2879     for ac_exec_ext in '' $ac_executable_extensions; do
2880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883     break 2
2884   fi
2885 done
2886   done
2887 IFS=$as_save_IFS
2888
2889 fi
2890 fi
2891 CC=$ac_cv_prog_CC
2892 if test -n "$CC"; then
2893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2894 $as_echo "$CC" >&6; }
2895 else
2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2898 fi
2899
2900
2901 fi
2902 if test -z "$ac_cv_prog_CC"; then
2903   ac_ct_CC=$CC
2904   # Extract the first word of "gcc", so it can be a program name with args.
2905 set dummy gcc; ac_word=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2909   $as_echo_n "(cached) " >&6
2910 else
2911   if test -n "$ac_ct_CC"; then
2912   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2913 else
2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915 for as_dir in $PATH
2916 do
2917   IFS=$as_save_IFS
2918   test -z "$as_dir" && as_dir=.
2919     for ac_exec_ext in '' $ac_executable_extensions; do
2920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2921     ac_cv_prog_ac_ct_CC="gcc"
2922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923     break 2
2924   fi
2925 done
2926   done
2927 IFS=$as_save_IFS
2928
2929 fi
2930 fi
2931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2932 if test -n "$ac_ct_CC"; then
2933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2934 $as_echo "$ac_ct_CC" >&6; }
2935 else
2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937 $as_echo "no" >&6; }
2938 fi
2939
2940   if test "x$ac_ct_CC" = x; then
2941     CC=""
2942   else
2943     case $cross_compiling:$ac_tool_warned in
2944 yes:)
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2947 ac_tool_warned=yes ;;
2948 esac
2949     CC=$ac_ct_CC
2950   fi
2951 else
2952   CC="$ac_cv_prog_CC"
2953 fi
2954
2955 if test -z "$CC"; then
2956           if test -n "$ac_tool_prefix"; then
2957     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2958 set dummy ${ac_tool_prefix}cc; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_CC+:} false; then :
2962   $as_echo_n "(cached) " >&6
2963 else
2964   if test -n "$CC"; then
2965   ac_cv_prog_CC="$CC" # Let the user override the test.
2966 else
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 for as_dir in $PATH
2969 do
2970   IFS=$as_save_IFS
2971   test -z "$as_dir" && as_dir=.
2972     for ac_exec_ext in '' $ac_executable_extensions; do
2973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974     ac_cv_prog_CC="${ac_tool_prefix}cc"
2975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976     break 2
2977   fi
2978 done
2979   done
2980 IFS=$as_save_IFS
2981
2982 fi
2983 fi
2984 CC=$ac_cv_prog_CC
2985 if test -n "$CC"; then
2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2987 $as_echo "$CC" >&6; }
2988 else
2989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2991 fi
2992
2993
2994   fi
2995 fi
2996 if test -z "$CC"; then
2997   # Extract the first word of "cc", so it can be a program name with args.
2998 set dummy cc; ac_word=$2
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3000 $as_echo_n "checking for $ac_word... " >&6; }
3001 if ${ac_cv_prog_CC+:} false; then :
3002   $as_echo_n "(cached) " >&6
3003 else
3004   if test -n "$CC"; then
3005   ac_cv_prog_CC="$CC" # Let the user override the test.
3006 else
3007   ac_prog_rejected=no
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 for as_dir in $PATH
3010 do
3011   IFS=$as_save_IFS
3012   test -z "$as_dir" && as_dir=.
3013     for ac_exec_ext in '' $ac_executable_extensions; do
3014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3016        ac_prog_rejected=yes
3017        continue
3018      fi
3019     ac_cv_prog_CC="cc"
3020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021     break 2
3022   fi
3023 done
3024   done
3025 IFS=$as_save_IFS
3026
3027 if test $ac_prog_rejected = yes; then
3028   # We found a bogon in the path, so make sure we never use it.
3029   set dummy $ac_cv_prog_CC
3030   shift
3031   if test $# != 0; then
3032     # We chose a different compiler from the bogus one.
3033     # However, it has the same basename, so the bogon will be chosen
3034     # first if we set CC to just the basename; use the full file name.
3035     shift
3036     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3037   fi
3038 fi
3039 fi
3040 fi
3041 CC=$ac_cv_prog_CC
3042 if test -n "$CC"; then
3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3044 $as_echo "$CC" >&6; }
3045 else
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3048 fi
3049
3050
3051 fi
3052 if test -z "$CC"; then
3053   if test -n "$ac_tool_prefix"; then
3054   for ac_prog in cl.exe
3055   do
3056     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3057 set dummy $ac_tool_prefix$ac_prog; 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
3062 else
3063   if test -n "$CC"; then
3064   ac_cv_prog_CC="$CC" # Let the user override the test.
3065 else
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 for as_dir in $PATH
3068 do
3069   IFS=$as_save_IFS
3070   test -z "$as_dir" && as_dir=.
3071     for ac_exec_ext in '' $ac_executable_extensions; do
3072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3073     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075     break 2
3076   fi
3077 done
3078   done
3079 IFS=$as_save_IFS
3080
3081 fi
3082 fi
3083 CC=$ac_cv_prog_CC
3084 if test -n "$CC"; then
3085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3086 $as_echo "$CC" >&6; }
3087 else
3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3090 fi
3091
3092
3093     test -n "$CC" && break
3094   done
3095 fi
3096 if test -z "$CC"; then
3097   ac_ct_CC=$CC
3098   for ac_prog in cl.exe
3099 do
3100   # Extract the first word of "$ac_prog", so it can be a program name with args.
3101 set dummy $ac_prog; ac_word=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3105   $as_echo_n "(cached) " >&6
3106 else
3107   if test -n "$ac_ct_CC"; then
3108   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3109 else
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 for as_dir in $PATH
3112 do
3113   IFS=$as_save_IFS
3114   test -z "$as_dir" && as_dir=.
3115     for ac_exec_ext in '' $ac_executable_extensions; do
3116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117     ac_cv_prog_ac_ct_CC="$ac_prog"
3118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119     break 2
3120   fi
3121 done
3122   done
3123 IFS=$as_save_IFS
3124
3125 fi
3126 fi
3127 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3128 if test -n "$ac_ct_CC"; then
3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3130 $as_echo "$ac_ct_CC" >&6; }
3131 else
3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3134 fi
3135
3136
3137   test -n "$ac_ct_CC" && break
3138 done
3139
3140   if test "x$ac_ct_CC" = x; then
3141     CC=""
3142   else
3143     case $cross_compiling:$ac_tool_warned in
3144 yes:)
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3147 ac_tool_warned=yes ;;
3148 esac
3149     CC=$ac_ct_CC
3150   fi
3151 fi
3152
3153 fi
3154
3155
3156 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 as_fn_error $? "no acceptable C compiler found in \$PATH
3159 See \`config.log' for more details" "$LINENO" 5; }
3160
3161 # Provide some information about the compiler.
3162 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3163 set X $ac_compile
3164 ac_compiler=$2
3165 for ac_option in --version -v -V -qversion; do
3166   { { ac_try="$ac_compiler $ac_option >&5"
3167 case "(($ac_try" in
3168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169   *) ac_try_echo=$ac_try;;
3170 esac
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3174   ac_status=$?
3175   if test -s conftest.err; then
3176     sed '10a\
3177 ... rest of stderr output deleted ...
3178          10q' conftest.err >conftest.er1
3179     cat conftest.er1 >&5
3180   fi
3181   rm -f conftest.er1 conftest.err
3182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183   test $ac_status = 0; }
3184 done
3185
3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h.  */
3188
3189 int
3190 main ()
3191 {
3192
3193   ;
3194   return 0;
3195 }
3196 _ACEOF
3197 ac_clean_files_save=$ac_clean_files
3198 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3199 # Try to create an executable without -o first, disregard a.out.
3200 # It will help us diagnose broken compilers, and finding out an intuition
3201 # of exeext.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3203 $as_echo_n "checking whether the C compiler works... " >&6; }
3204 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3205
3206 # The possible output files:
3207 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3208
3209 ac_rmfiles=
3210 for ac_file in $ac_files
3211 do
3212   case $ac_file in
3213     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3214     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3215   esac
3216 done
3217 rm -f $ac_rmfiles
3218
3219 if { { ac_try="$ac_link_default"
3220 case "(($ac_try" in
3221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222   *) ac_try_echo=$ac_try;;
3223 esac
3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225 $as_echo "$ac_try_echo"; } >&5
3226   (eval "$ac_link_default") 2>&5
3227   ac_status=$?
3228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229   test $ac_status = 0; }; then :
3230   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3231 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3232 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3233 # so that the user can short-circuit this test for compilers unknown to
3234 # Autoconf.
3235 for ac_file in $ac_files ''
3236 do
3237   test -f "$ac_file" || continue
3238   case $ac_file in
3239     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3240         ;;
3241     [ab].out )
3242         # We found the default executable, but exeext='' is most
3243         # certainly right.
3244         break;;
3245     *.* )
3246         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3247         then :; else
3248            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3249         fi
3250         # We set ac_cv_exeext here because the later test for it is not
3251         # safe: cross compilers may not add the suffix if given an `-o'
3252         # argument, so we may need to know it at that point already.
3253         # Even if this section looks crufty: it has the advantage of
3254         # actually working.
3255         break;;
3256     * )
3257         break;;
3258   esac
3259 done
3260 test "$ac_cv_exeext" = no && ac_cv_exeext=
3261
3262 else
3263   ac_file=''
3264 fi
3265 if test -z "$ac_file"; then :
3266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3268 $as_echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.$ac_ext >&5
3270
3271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3273 as_fn_error 77 "C compiler cannot create executables
3274 See \`config.log' for more details" "$LINENO" 5; }
3275 else
3276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3277 $as_echo "yes" >&6; }
3278 fi
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3280 $as_echo_n "checking for C compiler default output file name... " >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3282 $as_echo "$ac_file" >&6; }
3283 ac_exeext=$ac_cv_exeext
3284
3285 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3286 ac_clean_files=$ac_clean_files_save
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3288 $as_echo_n "checking for suffix of executables... " >&6; }
3289 if { { ac_try="$ac_link"
3290 case "(($ac_try" in
3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292   *) ac_try_echo=$ac_try;;
3293 esac
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 $as_echo "$ac_try_echo"; } >&5
3296   (eval "$ac_link") 2>&5
3297   ac_status=$?
3298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299   test $ac_status = 0; }; then :
3300   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3301 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3302 # work properly (i.e., refer to `conftest.exe'), while it won't with
3303 # `rm'.
3304 for ac_file in conftest.exe conftest conftest.*; do
3305   test -f "$ac_file" || continue
3306   case $ac_file in
3307     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3308     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3309           break;;
3310     * ) break;;
3311   esac
3312 done
3313 else
3314   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3317 See \`config.log' for more details" "$LINENO" 5; }
3318 fi
3319 rm -f conftest conftest$ac_cv_exeext
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3321 $as_echo "$ac_cv_exeext" >&6; }
3322
3323 rm -f conftest.$ac_ext
3324 EXEEXT=$ac_cv_exeext
3325 ac_exeext=$EXEEXT
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h.  */
3328 #include <stdio.h>
3329 int
3330 main ()
3331 {
3332 FILE *f = fopen ("conftest.out", "w");
3333  return ferror (f) || fclose (f) != 0;
3334
3335   ;
3336   return 0;
3337 }
3338 _ACEOF
3339 ac_clean_files="$ac_clean_files conftest.out"
3340 # Check that the compiler produces executables we can run.  If not, either
3341 # the compiler is broken, or we cross compile.
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3343 $as_echo_n "checking whether we are cross compiling... " >&6; }
3344 if test "$cross_compiling" != yes; then
3345   { { ac_try="$ac_link"
3346 case "(($ac_try" in
3347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348   *) ac_try_echo=$ac_try;;
3349 esac
3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352   (eval "$ac_link") 2>&5
3353   ac_status=$?
3354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355   test $ac_status = 0; }
3356   if { ac_try='./conftest$ac_cv_exeext'
3357   { { case "(($ac_try" in
3358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359   *) ac_try_echo=$ac_try;;
3360 esac
3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362 $as_echo "$ac_try_echo"; } >&5
3363   (eval "$ac_try") 2>&5
3364   ac_status=$?
3365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3366   test $ac_status = 0; }; }; then
3367     cross_compiling=no
3368   else
3369     if test "$cross_compiling" = maybe; then
3370         cross_compiling=yes
3371     else
3372         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 as_fn_error $? "cannot run C compiled programs.
3375 If you meant to cross compile, use \`--host'.
3376 See \`config.log' for more details" "$LINENO" 5; }
3377     fi
3378   fi
3379 fi
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3381 $as_echo "$cross_compiling" >&6; }
3382
3383 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3384 ac_clean_files=$ac_clean_files_save
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3386 $as_echo_n "checking for suffix of object files... " >&6; }
3387 if ${ac_cv_objext+:} false; then :
3388   $as_echo_n "(cached) " >&6
3389 else
3390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h.  */
3392
3393 int
3394 main ()
3395 {
3396
3397   ;
3398   return 0;
3399 }
3400 _ACEOF
3401 rm -f conftest.o conftest.obj
3402 if { { ac_try="$ac_compile"
3403 case "(($ac_try" in
3404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405   *) ac_try_echo=$ac_try;;
3406 esac
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409   (eval "$ac_compile") 2>&5
3410   ac_status=$?
3411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412   test $ac_status = 0; }; then :
3413   for ac_file in conftest.o conftest.obj conftest.*; do
3414   test -f "$ac_file" || continue;
3415   case $ac_file in
3416     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3417     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3418        break;;
3419   esac
3420 done
3421 else
3422   $as_echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3424
3425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 as_fn_error $? "cannot compute suffix of object files: cannot compile
3428 See \`config.log' for more details" "$LINENO" 5; }
3429 fi
3430 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3431 fi
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3433 $as_echo "$ac_cv_objext" >&6; }
3434 OBJEXT=$ac_cv_objext
3435 ac_objext=$OBJEXT
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3437 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3438 if ${ac_cv_c_compiler_gnu+:} false; then :
3439   $as_echo_n "(cached) " >&6
3440 else
3441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h.  */
3443
3444 int
3445 main ()
3446 {
3447 #ifndef __GNUC__
3448        choke me
3449 #endif
3450
3451   ;
3452   return 0;
3453 }
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456   ac_compiler_gnu=yes
3457 else
3458   ac_compiler_gnu=no
3459 fi
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3462
3463 fi
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3465 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3466 if test $ac_compiler_gnu = yes; then
3467   GCC=yes
3468 else
3469   GCC=
3470 fi
3471 ac_test_CFLAGS=${CFLAGS+set}
3472 ac_save_CFLAGS=$CFLAGS
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3474 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3475 if ${ac_cv_prog_cc_g+:} false; then :
3476   $as_echo_n "(cached) " >&6
3477 else
3478   ac_save_c_werror_flag=$ac_c_werror_flag
3479    ac_c_werror_flag=yes
3480    ac_cv_prog_cc_g=no
3481    CFLAGS="-g"
3482    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h.  */
3484
3485 int
3486 main ()
3487 {
3488
3489   ;
3490   return 0;
3491 }
3492 _ACEOF
3493 if ac_fn_c_try_compile "$LINENO"; then :
3494   ac_cv_prog_cc_g=yes
3495 else
3496   CFLAGS=""
3497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h.  */
3499
3500 int
3501 main ()
3502 {
3503
3504   ;
3505   return 0;
3506 }
3507 _ACEOF
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509
3510 else
3511   ac_c_werror_flag=$ac_save_c_werror_flag
3512          CFLAGS="-g"
3513          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h.  */
3515
3516 int
3517 main ()
3518 {
3519
3520   ;
3521   return 0;
3522 }
3523 _ACEOF
3524 if ac_fn_c_try_compile "$LINENO"; then :
3525   ac_cv_prog_cc_g=yes
3526 fi
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 fi
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 fi
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532    ac_c_werror_flag=$ac_save_c_werror_flag
3533 fi
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3535 $as_echo "$ac_cv_prog_cc_g" >&6; }
3536 if test "$ac_test_CFLAGS" = set; then
3537   CFLAGS=$ac_save_CFLAGS
3538 elif test $ac_cv_prog_cc_g = yes; then
3539   if test "$GCC" = yes; then
3540     CFLAGS="-g -O2"
3541   else
3542     CFLAGS="-g"
3543   fi
3544 else
3545   if test "$GCC" = yes; then
3546     CFLAGS="-O2"
3547   else
3548     CFLAGS=
3549   fi
3550 fi
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3552 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3553 if ${ac_cv_prog_cc_c89+:} false; then :
3554   $as_echo_n "(cached) " >&6
3555 else
3556   ac_cv_prog_cc_c89=no
3557 ac_save_CC=$CC
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h.  */
3560 #include <stdarg.h>
3561 #include <stdio.h>
3562 #include <sys/types.h>
3563 #include <sys/stat.h>
3564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3565 struct buf { int x; };
3566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3567 static char *e (p, i)
3568      char **p;
3569      int i;
3570 {
3571   return p[i];
3572 }
3573 static char *f (char * (*g) (char **, int), char **p, ...)
3574 {
3575   char *s;
3576   va_list v;
3577   va_start (v,p);
3578   s = g (p, va_arg (v,int));
3579   va_end (v);
3580   return s;
3581 }
3582
3583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3584    function prototypes and stuff, but not '\xHH' hex character constants.
3585    These don't provoke an error unfortunately, instead are silently treated
3586    as 'x'.  The following induces an error, until -std is added to get
3587    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3588    array size at least.  It's necessary to write '\x00'==0 to get something
3589    that's true only with -std.  */
3590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3591
3592 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3593    inside strings and character constants.  */
3594 #define FOO(x) 'x'
3595 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3596
3597 int test (int i, double x);
3598 struct s1 {int (*f) (int a);};
3599 struct s2 {int (*f) (double a);};
3600 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3601 int argc;
3602 char **argv;
3603 int
3604 main ()
3605 {
3606 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3607   ;
3608   return 0;
3609 }
3610 _ACEOF
3611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3612         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3613 do
3614   CC="$ac_save_CC $ac_arg"
3615   if ac_fn_c_try_compile "$LINENO"; then :
3616   ac_cv_prog_cc_c89=$ac_arg
3617 fi
3618 rm -f core conftest.err conftest.$ac_objext
3619   test "x$ac_cv_prog_cc_c89" != "xno" && break
3620 done
3621 rm -f conftest.$ac_ext
3622 CC=$ac_save_CC
3623
3624 fi
3625 # AC_CACHE_VAL
3626 case "x$ac_cv_prog_cc_c89" in
3627   x)
3628     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3629 $as_echo "none needed" >&6; } ;;
3630   xno)
3631     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3632 $as_echo "unsupported" >&6; } ;;
3633   *)
3634     CC="$CC $ac_cv_prog_cc_c89"
3635     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3636 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3637 esac
3638 if test "x$ac_cv_prog_cc_c89" != xno; then :
3639
3640 fi
3641
3642 ac_ext=c
3643 ac_cpp='$CPP $CPPFLAGS'
3644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3647 DEPDIR="${am__leading_dot}deps"
3648
3649 ac_config_commands="$ac_config_commands depfiles"
3650
3651
3652 am_make=${MAKE-make}
3653 cat > confinc << 'END'
3654 am__doit:
3655         @echo this is the am__doit target
3656 .PHONY: am__doit
3657 END
3658 # If we don't find an include directive, just comment out the code.
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3660 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3661 am__include="#"
3662 am__quote=
3663 _am_result=none
3664 # First try GNU make style include.
3665 echo "include confinc" > confmf
3666 # Ignore all kinds of additional output from `make'.
3667 case `$am_make -s -f confmf 2> /dev/null` in #(
3668 *the\ am__doit\ target*)
3669   am__include=include
3670   am__quote=
3671   _am_result=GNU
3672   ;;
3673 esac
3674 # Now try BSD make style include.
3675 if test "$am__include" = "#"; then
3676    echo '.include "confinc"' > confmf
3677    case `$am_make -s -f confmf 2> /dev/null` in #(
3678    *the\ am__doit\ target*)
3679      am__include=.include
3680      am__quote="\""
3681      _am_result=BSD
3682      ;;
3683    esac
3684 fi
3685
3686
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3688 $as_echo "$_am_result" >&6; }
3689 rm -f confinc confmf
3690
3691 # Check whether --enable-dependency-tracking was given.
3692 if test "${enable_dependency_tracking+set}" = set; then :
3693   enableval=$enable_dependency_tracking;
3694 fi
3695
3696 if test "x$enable_dependency_tracking" != xno; then
3697   am_depcomp="$ac_aux_dir/depcomp"
3698   AMDEPBACKSLASH='\'
3699 fi
3700  if test "x$enable_dependency_tracking" != xno; then
3701   AMDEP_TRUE=
3702   AMDEP_FALSE='#'
3703 else
3704   AMDEP_TRUE='#'
3705   AMDEP_FALSE=
3706 fi
3707
3708
3709
3710 depcc="$CC"   am_compiler_list=
3711
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3713 $as_echo_n "checking dependency style of $depcc... " >&6; }
3714 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3715   $as_echo_n "(cached) " >&6
3716 else
3717   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3718   # We make a subdir and do the tests there.  Otherwise we can end up
3719   # making bogus files that we don't know about and never remove.  For
3720   # instance it was reported that on HP-UX the gcc test will end up
3721   # making a dummy file named `D' -- because `-MD' means `put the output
3722   # in D'.
3723   mkdir conftest.dir
3724   # Copy depcomp to subdir because otherwise we won't find it if we're
3725   # using a relative directory.
3726   cp "$am_depcomp" conftest.dir
3727   cd conftest.dir
3728   # We will build objects and dependencies in a subdirectory because
3729   # it helps to detect inapplicable dependency modes.  For instance
3730   # both Tru64's cc and ICC support -MD to output dependencies as a
3731   # side effect of compilation, but ICC will put the dependencies in
3732   # the current directory while Tru64 will put them in the object
3733   # directory.
3734   mkdir sub
3735
3736   am_cv_CC_dependencies_compiler_type=none
3737   if test "$am_compiler_list" = ""; then
3738      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3739   fi
3740   am__universal=false
3741   case " $depcc " in #(
3742      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3743      esac
3744
3745   for depmode in $am_compiler_list; do
3746     # Setup a source with many dependencies, because some compilers
3747     # like to wrap large dependency lists on column 80 (with \), and
3748     # we should not choose a depcomp mode which is confused by this.
3749     #
3750     # We need to recreate these files for each test, as the compiler may
3751     # overwrite some of them when testing with obscure command lines.
3752     # This happens at least with the AIX C compiler.
3753     : > sub/conftest.c
3754     for i in 1 2 3 4 5 6; do
3755       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3756       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3757       # Solaris 8's {/usr,}/bin/sh.
3758       touch sub/conftst$i.h
3759     done
3760     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3761
3762     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3763     # mode.  It turns out that the SunPro C++ compiler does not properly
3764     # handle `-M -o', and we need to detect this.  Also, some Intel
3765     # versions had trouble with output in subdirs
3766     am__obj=sub/conftest.${OBJEXT-o}
3767     am__minus_obj="-o $am__obj"
3768     case $depmode in
3769     gcc)
3770       # This depmode causes a compiler race in universal mode.
3771       test "$am__universal" = false || continue
3772       ;;
3773     nosideeffect)
3774       # after this tag, mechanisms are not by side-effect, so they'll
3775       # only be used when explicitly requested
3776       if test "x$enable_dependency_tracking" = xyes; then
3777         continue
3778       else
3779         break
3780       fi
3781       ;;
3782     msvisualcpp | msvcmsys)
3783       # This compiler won't grok `-c -o', but also, the minuso test has
3784       # not run yet.  These depmodes are late enough in the game, and
3785       # so weak that their functioning should not be impacted.
3786       am__obj=conftest.${OBJEXT-o}
3787       am__minus_obj=
3788       ;;
3789     none) break ;;
3790     esac
3791     if depmode=$depmode \
3792        source=sub/conftest.c object=$am__obj \
3793        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3794        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3795          >/dev/null 2>conftest.err &&
3796        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3797        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3798        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3799        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3800       # icc doesn't choke on unknown options, it will just issue warnings
3801       # or remarks (even with -Werror).  So we grep stderr for any message
3802       # that says an option was ignored or not supported.
3803       # When given -MP, icc 7.0 and 7.1 complain thusly:
3804       #   icc: Command line warning: ignoring option '-M'; no argument required
3805       # The diagnosis changed in icc 8.0:
3806       #   icc: Command line remark: option '-MP' not supported
3807       if (grep 'ignoring option' conftest.err ||
3808           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3809         am_cv_CC_dependencies_compiler_type=$depmode
3810         break
3811       fi
3812     fi
3813   done
3814
3815   cd ..
3816   rm -rf conftest.dir
3817 else
3818   am_cv_CC_dependencies_compiler_type=none
3819 fi
3820
3821 fi
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3823 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3824 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3825
3826  if
3827   test "x$enable_dependency_tracking" != xno \
3828   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3829   am__fastdepCC_TRUE=
3830   am__fastdepCC_FALSE='#'
3831 else
3832   am__fastdepCC_TRUE='#'
3833   am__fastdepCC_FALSE=
3834 fi
3835
3836
3837 if test "x$CC" != xcc; then
3838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3839 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3840 else
3841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3842 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3843 fi
3844 set dummy $CC; ac_cc=`$as_echo "$2" |
3845                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3846 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3847   $as_echo_n "(cached) " >&6
3848 else
3849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h.  */
3851
3852 int
3853 main ()
3854 {
3855
3856   ;
3857   return 0;
3858 }
3859 _ACEOF
3860 # Make sure it works both with $CC and with simple cc.
3861 # We do the test twice because some compilers refuse to overwrite an
3862 # existing .o file with -o, though they will create one.
3863 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3864 rm -f conftest2.*
3865 if { { case "(($ac_try" in
3866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867   *) ac_try_echo=$ac_try;;
3868 esac
3869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3870 $as_echo "$ac_try_echo"; } >&5
3871   (eval "$ac_try") 2>&5
3872   ac_status=$?
3873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874   test $ac_status = 0; } &&
3875    test -f conftest2.$ac_objext && { { case "(($ac_try" in
3876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877   *) ac_try_echo=$ac_try;;
3878 esac
3879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881   (eval "$ac_try") 2>&5
3882   ac_status=$?
3883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884   test $ac_status = 0; };
3885 then
3886   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3887   if test "x$CC" != xcc; then
3888     # Test first that cc exists at all.
3889     if { ac_try='cc -c conftest.$ac_ext >&5'
3890   { { case "(($ac_try" in
3891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892   *) ac_try_echo=$ac_try;;
3893 esac
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896   (eval "$ac_try") 2>&5
3897   ac_status=$?
3898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899   test $ac_status = 0; }; }; then
3900       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3901       rm -f conftest2.*
3902       if { { case "(($ac_try" in
3903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904   *) ac_try_echo=$ac_try;;
3905 esac
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908   (eval "$ac_try") 2>&5
3909   ac_status=$?
3910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3911   test $ac_status = 0; } &&
3912          test -f conftest2.$ac_objext && { { case "(($ac_try" in
3913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914   *) ac_try_echo=$ac_try;;
3915 esac
3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3917 $as_echo "$ac_try_echo"; } >&5
3918   (eval "$ac_try") 2>&5
3919   ac_status=$?
3920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921   test $ac_status = 0; };
3922       then
3923         # cc works too.
3924         :
3925       else
3926         # cc exists but doesn't like -o.
3927         eval ac_cv_prog_cc_${ac_cc}_c_o=no
3928       fi
3929     fi
3930   fi
3931 else
3932   eval ac_cv_prog_cc_${ac_cc}_c_o=no
3933 fi
3934 rm -f core conftest*
3935
3936 fi
3937 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3939 $as_echo "yes" >&6; }
3940 else
3941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3943
3944 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3945
3946 fi
3947
3948 # FIXME: we rely on the cache variable name because
3949 # there is no other way.
3950 set dummy $CC
3951 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3952 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3953 if test "$am_t" != yes; then
3954    # Losing compiler, so override with the script.
3955    # FIXME: It is wrong to rewrite CC.
3956    # But if we don't then we get into trouble of one sort or another.
3957    # A longer-term fix would be to have automake use am__CC in this case,
3958    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3959    CC="$am_aux_dir/compile $CC"
3960 fi
3961
3962
3963
3964 # Checks lib build
3965 if test -n "$ac_tool_prefix"; then
3966   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3967 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if ${ac_cv_prog_RANLIB+:} false; then :
3971   $as_echo_n "(cached) " >&6
3972 else
3973   if test -n "$RANLIB"; then
3974   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3975 else
3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 for as_dir in $PATH
3978 do
3979   IFS=$as_save_IFS
3980   test -z "$as_dir" && as_dir=.
3981     for ac_exec_ext in '' $ac_executable_extensions; do
3982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985     break 2
3986   fi
3987 done
3988   done
3989 IFS=$as_save_IFS
3990
3991 fi
3992 fi
3993 RANLIB=$ac_cv_prog_RANLIB
3994 if test -n "$RANLIB"; then
3995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3996 $as_echo "$RANLIB" >&6; }
3997 else
3998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4000 fi
4001
4002
4003 fi
4004 if test -z "$ac_cv_prog_RANLIB"; then
4005   ac_ct_RANLIB=$RANLIB
4006   # Extract the first word of "ranlib", so it can be a program name with args.
4007 set dummy ranlib; ac_word=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4011   $as_echo_n "(cached) " >&6
4012 else
4013   if test -n "$ac_ct_RANLIB"; then
4014   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4015 else
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 for as_dir in $PATH
4018 do
4019   IFS=$as_save_IFS
4020   test -z "$as_dir" && as_dir=.
4021     for ac_exec_ext in '' $ac_executable_extensions; do
4022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023     ac_cv_prog_ac_ct_RANLIB="ranlib"
4024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025     break 2
4026   fi
4027 done
4028   done
4029 IFS=$as_save_IFS
4030
4031 fi
4032 fi
4033 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4034 if test -n "$ac_ct_RANLIB"; then
4035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4036 $as_echo "$ac_ct_RANLIB" >&6; }
4037 else
4038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4040 fi
4041
4042   if test "x$ac_ct_RANLIB" = x; then
4043     RANLIB=":"
4044   else
4045     case $cross_compiling:$ac_tool_warned in
4046 yes:)
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4049 ac_tool_warned=yes ;;
4050 esac
4051     RANLIB=$ac_ct_RANLIB
4052   fi
4053 else
4054   RANLIB="$ac_cv_prog_RANLIB"
4055 fi
4056
4057
4058 # Checks for header files.
4059
4060 ac_ext=c
4061 ac_cpp='$CPP $CPPFLAGS'
4062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4067 # On Suns, sometimes $CPP names a directory.
4068 if test -n "$CPP" && test -d "$CPP"; then
4069   CPP=
4070 fi
4071 if test -z "$CPP"; then
4072   if ${ac_cv_prog_CPP+:} false; then :
4073   $as_echo_n "(cached) " >&6
4074 else
4075       # Double quotes because CPP needs to be expanded
4076     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4077     do
4078       ac_preproc_ok=false
4079 for ac_c_preproc_warn_flag in '' yes
4080 do
4081   # Use a header file that comes with gcc, so configuring glibc
4082   # with a fresh cross-compiler works.
4083   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4084   # <limits.h> exists even on freestanding compilers.
4085   # On the NeXT, cc -E runs the code through the compiler's parser,
4086   # not just through cpp. "Syntax error" is here to catch this case.
4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h.  */
4089 #ifdef __STDC__
4090 # include <limits.h>
4091 #else
4092 # include <assert.h>
4093 #endif
4094                      Syntax error
4095 _ACEOF
4096 if ac_fn_c_try_cpp "$LINENO"; then :
4097
4098 else
4099   # Broken: fails on valid input.
4100 continue
4101 fi
4102 rm -f conftest.err conftest.i conftest.$ac_ext
4103
4104   # OK, works on sane cases.  Now check whether nonexistent headers
4105   # can be detected and how.
4106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h.  */
4108 #include <ac_nonexistent.h>
4109 _ACEOF
4110 if ac_fn_c_try_cpp "$LINENO"; then :
4111   # Broken: success on invalid input.
4112 continue
4113 else
4114   # Passes both tests.
4115 ac_preproc_ok=:
4116 break
4117 fi
4118 rm -f conftest.err conftest.i conftest.$ac_ext
4119
4120 done
4121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4122 rm -f conftest.i conftest.err conftest.$ac_ext
4123 if $ac_preproc_ok; then :
4124   break
4125 fi
4126
4127     done
4128     ac_cv_prog_CPP=$CPP
4129
4130 fi
4131   CPP=$ac_cv_prog_CPP
4132 else
4133   ac_cv_prog_CPP=$CPP
4134 fi
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4136 $as_echo "$CPP" >&6; }
4137 ac_preproc_ok=false
4138 for ac_c_preproc_warn_flag in '' yes
4139 do
4140   # Use a header file that comes with gcc, so configuring glibc
4141   # with a fresh cross-compiler works.
4142   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4143   # <limits.h> exists even on freestanding compilers.
4144   # On the NeXT, cc -E runs the code through the compiler's parser,
4145   # not just through cpp. "Syntax error" is here to catch this case.
4146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h.  */
4148 #ifdef __STDC__
4149 # include <limits.h>
4150 #else
4151 # include <assert.h>
4152 #endif
4153                      Syntax error
4154 _ACEOF
4155 if ac_fn_c_try_cpp "$LINENO"; then :
4156
4157 else
4158   # Broken: fails on valid input.
4159 continue
4160 fi
4161 rm -f conftest.err conftest.i conftest.$ac_ext
4162
4163   # OK, works on sane cases.  Now check whether nonexistent headers
4164   # can be detected and how.
4165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h.  */
4167 #include <ac_nonexistent.h>
4168 _ACEOF
4169 if ac_fn_c_try_cpp "$LINENO"; then :
4170   # Broken: success on invalid input.
4171 continue
4172 else
4173   # Passes both tests.
4174 ac_preproc_ok=:
4175 break
4176 fi
4177 rm -f conftest.err conftest.i conftest.$ac_ext
4178
4179 done
4180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4181 rm -f conftest.i conftest.err conftest.$ac_ext
4182 if $ac_preproc_ok; then :
4183
4184 else
4185   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4187 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4188 See \`config.log' for more details" "$LINENO" 5; }
4189 fi
4190
4191 ac_ext=c
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196
4197
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4199 $as_echo_n "checking for X... " >&6; }
4200
4201
4202 # Check whether --with-x was given.
4203 if test "${with_x+set}" = set; then :
4204   withval=$with_x;
4205 fi
4206
4207 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4208 if test "x$with_x" = xno; then
4209   # The user explicitly disabled X.
4210   have_x=disabled
4211 else
4212   case $x_includes,$x_libraries in #(
4213     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
4214     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4215   $as_echo_n "(cached) " >&6
4216 else
4217   # One or both of the vars are not set, and there is no cached value.
4218 ac_x_includes=no ac_x_libraries=no
4219 rm -f -r conftest.dir
4220 if mkdir conftest.dir; then
4221   cd conftest.dir
4222   cat >Imakefile <<'_ACEOF'
4223 incroot:
4224         @echo incroot='${INCROOT}'
4225 usrlibdir:
4226         @echo usrlibdir='${USRLIBDIR}'
4227 libdir:
4228         @echo libdir='${LIBDIR}'
4229 _ACEOF
4230   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4231     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4232     for ac_var in incroot usrlibdir libdir; do
4233       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4234     done
4235     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4236     for ac_extension in a so sl dylib la dll; do
4237       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4238          test -f "$ac_im_libdir/libX11.$ac_extension"; then
4239         ac_im_usrlibdir=$ac_im_libdir; break
4240       fi
4241     done
4242     # Screen out bogus values from the imake configuration.  They are
4243     # bogus both because they are the default anyway, and because
4244     # using them would break gcc on systems where it needs fixed includes.
4245     case $ac_im_incroot in
4246         /usr/include) ac_x_includes= ;;
4247         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4248     esac
4249     case $ac_im_usrlibdir in
4250         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4251         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4252     esac
4253   fi
4254   cd ..
4255   rm -f -r conftest.dir
4256 fi
4257
4258 # Standard set of common directories for X headers.
4259 # Check X11 before X11Rn because it is often a symlink to the current release.
4260 ac_x_header_dirs='
4261 /usr/X11/include
4262 /usr/X11R7/include
4263 /usr/X11R6/include
4264 /usr/X11R5/include
4265 /usr/X11R4/include
4266
4267 /usr/include/X11
4268 /usr/include/X11R7
4269 /usr/include/X11R6
4270 /usr/include/X11R5
4271 /usr/include/X11R4
4272
4273 /usr/local/X11/include
4274 /usr/local/X11R7/include
4275 /usr/local/X11R6/include
4276 /usr/local/X11R5/include
4277 /usr/local/X11R4/include
4278
4279 /usr/local/include/X11
4280 /usr/local/include/X11R7
4281 /usr/local/include/X11R6
4282 /usr/local/include/X11R5
4283 /usr/local/include/X11R4
4284
4285 /usr/X386/include
4286 /usr/x386/include
4287 /usr/XFree86/include/X11
4288
4289 /usr/include
4290 /usr/local/include
4291 /usr/unsupported/include
4292 /usr/athena/include
4293 /usr/local/x11r5/include
4294 /usr/lpp/Xamples/include
4295
4296 /usr/openwin/include
4297 /usr/openwin/share/include'
4298
4299 if test "$ac_x_includes" = no; then
4300   # Guess where to find include files, by looking for Xlib.h.
4301   # First, try using that file with no special directory specified.
4302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h.  */
4304 #include <X11/Xlib.h>
4305 _ACEOF
4306 if ac_fn_c_try_cpp "$LINENO"; then :
4307   # We can compile using X headers with no special include directory.
4308 ac_x_includes=
4309 else
4310   for ac_dir in $ac_x_header_dirs; do
4311   if test -r "$ac_dir/X11/Xlib.h"; then
4312     ac_x_includes=$ac_dir
4313     break
4314   fi
4315 done
4316 fi
4317 rm -f conftest.err conftest.i conftest.$ac_ext
4318 fi # $ac_x_includes = no
4319
4320 if test "$ac_x_libraries" = no; then
4321   # Check for the libraries.
4322   # See if we find them without any special options.
4323   # Don't add to $LIBS permanently.
4324   ac_save_LIBS=$LIBS
4325   LIBS="-lX11 $LIBS"
4326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h.  */
4328 #include <X11/Xlib.h>
4329 int
4330 main ()
4331 {
4332 XrmInitialize ()
4333   ;
4334   return 0;
4335 }
4336 _ACEOF
4337 if ac_fn_c_try_link "$LINENO"; then :
4338   LIBS=$ac_save_LIBS
4339 # We can link X programs with no special library path.
4340 ac_x_libraries=
4341 else
4342   LIBS=$ac_save_LIBS
4343 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4344 do
4345   # Don't even attempt the hair of trying to link an X program!
4346   for ac_extension in a so sl dylib la dll; do
4347     if test -r "$ac_dir/libX11.$ac_extension"; then
4348       ac_x_libraries=$ac_dir
4349       break 2
4350     fi
4351   done
4352 done
4353 fi
4354 rm -f core conftest.err conftest.$ac_objext \
4355     conftest$ac_exeext conftest.$ac_ext
4356 fi # $ac_x_libraries = no
4357
4358 case $ac_x_includes,$ac_x_libraries in #(
4359   no,* | *,no | *\'*)
4360     # Didn't find X, or a directory has "'" in its name.
4361     ac_cv_have_x="have_x=no";; #(
4362   *)
4363     # Record where we found X for the cache.
4364     ac_cv_have_x="have_x=yes\
4365         ac_x_includes='$ac_x_includes'\
4366         ac_x_libraries='$ac_x_libraries'"
4367 esac
4368 fi
4369 ;; #(
4370     *) have_x=yes;;
4371   esac
4372   eval "$ac_cv_have_x"
4373 fi # $with_x != no
4374
4375 if test "$have_x" != yes; then
4376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4377 $as_echo "$have_x" >&6; }
4378   no_x=yes
4379 else
4380   # If each of the values was on the command line, it overrides each guess.
4381   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4382   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4383   # Update the cache value to reflect the command line values.
4384   ac_cv_have_x="have_x=yes\
4385         ac_x_includes='$x_includes'\
4386         ac_x_libraries='$x_libraries'"
4387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4388 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4389 fi
4390
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4393 if ${ac_cv_path_GREP+:} false; then :
4394   $as_echo_n "(cached) " >&6
4395 else
4396   if test -z "$GREP"; then
4397   ac_path_GREP_found=false
4398   # Loop through the user's path and test for each of PROGNAME-LIST
4399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4401 do
4402   IFS=$as_save_IFS
4403   test -z "$as_dir" && as_dir=.
4404     for ac_prog in grep ggrep; do
4405     for ac_exec_ext in '' $ac_executable_extensions; do
4406       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4407       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4408 # Check for GNU ac_path_GREP and select it if it is found.
4409   # Check for GNU $ac_path_GREP
4410 case `"$ac_path_GREP" --version 2>&1` in
4411 *GNU*)
4412   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4413 *)
4414   ac_count=0
4415   $as_echo_n 0123456789 >"conftest.in"
4416   while :
4417   do
4418     cat "conftest.in" "conftest.in" >"conftest.tmp"
4419     mv "conftest.tmp" "conftest.in"
4420     cp "conftest.in" "conftest.nl"
4421     $as_echo 'GREP' >> "conftest.nl"
4422     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4423     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4424     as_fn_arith $ac_count + 1 && ac_count=$as_val
4425     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4426       # Best one so far, save it but keep looking for a better one
4427       ac_cv_path_GREP="$ac_path_GREP"
4428       ac_path_GREP_max=$ac_count
4429     fi
4430     # 10*(2^10) chars as input seems more than enough
4431     test $ac_count -gt 10 && break
4432   done
4433   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4434 esac
4435
4436       $ac_path_GREP_found && break 3
4437     done
4438   done
4439   done
4440 IFS=$as_save_IFS
4441   if test -z "$ac_cv_path_GREP"; then
4442     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4443   fi
4444 else
4445   ac_cv_path_GREP=$GREP
4446 fi
4447
4448 fi
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4450 $as_echo "$ac_cv_path_GREP" >&6; }
4451  GREP="$ac_cv_path_GREP"
4452
4453
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4455 $as_echo_n "checking for egrep... " >&6; }
4456 if ${ac_cv_path_EGREP+:} false; then :
4457   $as_echo_n "(cached) " >&6
4458 else
4459   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4460    then ac_cv_path_EGREP="$GREP -E"
4461    else
4462      if test -z "$EGREP"; then
4463   ac_path_EGREP_found=false
4464   # Loop through the user's path and test for each of PROGNAME-LIST
4465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4467 do
4468   IFS=$as_save_IFS
4469   test -z "$as_dir" && as_dir=.
4470     for ac_prog in egrep; do
4471     for ac_exec_ext in '' $ac_executable_extensions; do
4472       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4473       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4474 # Check for GNU ac_path_EGREP and select it if it is found.
4475   # Check for GNU $ac_path_EGREP
4476 case `"$ac_path_EGREP" --version 2>&1` in
4477 *GNU*)
4478   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4479 *)
4480   ac_count=0
4481   $as_echo_n 0123456789 >"conftest.in"
4482   while :
4483   do
4484     cat "conftest.in" "conftest.in" >"conftest.tmp"
4485     mv "conftest.tmp" "conftest.in"
4486     cp "conftest.in" "conftest.nl"
4487     $as_echo 'EGREP' >> "conftest.nl"
4488     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4489     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4490     as_fn_arith $ac_count + 1 && ac_count=$as_val
4491     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4492       # Best one so far, save it but keep looking for a better one
4493       ac_cv_path_EGREP="$ac_path_EGREP"
4494       ac_path_EGREP_max=$ac_count
4495     fi
4496     # 10*(2^10) chars as input seems more than enough
4497     test $ac_count -gt 10 && break
4498   done
4499   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4500 esac
4501
4502       $ac_path_EGREP_found && break 3
4503     done
4504   done
4505   done
4506 IFS=$as_save_IFS
4507   if test -z "$ac_cv_path_EGREP"; then
4508     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4509   fi
4510 else
4511   ac_cv_path_EGREP=$EGREP
4512 fi
4513
4514    fi
4515 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4517 $as_echo "$ac_cv_path_EGREP" >&6; }
4518  EGREP="$ac_cv_path_EGREP"
4519
4520
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4522 $as_echo_n "checking for ANSI C header files... " >&6; }
4523 if ${ac_cv_header_stdc+:} false; then :
4524   $as_echo_n "(cached) " >&6
4525 else
4526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h.  */
4528 #include <stdlib.h>
4529 #include <stdarg.h>
4530 #include <string.h>
4531 #include <float.h>
4532
4533 int
4534 main ()
4535 {
4536
4537   ;
4538   return 0;
4539 }
4540 _ACEOF
4541 if ac_fn_c_try_compile "$LINENO"; then :
4542   ac_cv_header_stdc=yes
4543 else
4544   ac_cv_header_stdc=no
4545 fi
4546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547
4548 if test $ac_cv_header_stdc = yes; then
4549   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h.  */
4552 #include <string.h>
4553
4554 _ACEOF
4555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4556   $EGREP "memchr" >/dev/null 2>&1; then :
4557
4558 else
4559   ac_cv_header_stdc=no
4560 fi
4561 rm -f conftest*
4562
4563 fi
4564
4565 if test $ac_cv_header_stdc = yes; then
4566   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h.  */
4569 #include <stdlib.h>
4570
4571 _ACEOF
4572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4573   $EGREP "free" >/dev/null 2>&1; then :
4574
4575 else
4576   ac_cv_header_stdc=no
4577 fi
4578 rm -f conftest*
4579
4580 fi
4581
4582 if test $ac_cv_header_stdc = yes; then
4583   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4584   if test "$cross_compiling" = yes; then :
4585   :
4586 else
4587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h.  */
4589 #include <ctype.h>
4590 #include <stdlib.h>
4591 #if ((' ' & 0x0FF) == 0x020)
4592 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4593 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4594 #else
4595 # define ISLOWER(c) \
4596                    (('a' <= (c) && (c) <= 'i') \
4597                      || ('j' <= (c) && (c) <= 'r') \
4598                      || ('s' <= (c) && (c) <= 'z'))
4599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4600 #endif
4601
4602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4603 int
4604 main ()
4605 {
4606   int i;
4607   for (i = 0; i < 256; i++)
4608     if (XOR (islower (i), ISLOWER (i))
4609         || toupper (i) != TOUPPER (i))
4610       return 2;
4611   return 0;
4612 }
4613 _ACEOF
4614 if ac_fn_c_try_run "$LINENO"; then :
4615
4616 else
4617   ac_cv_header_stdc=no
4618 fi
4619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4620   conftest.$ac_objext conftest.beam conftest.$ac_ext
4621 fi
4622
4623 fi
4624 fi
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4626 $as_echo "$ac_cv_header_stdc" >&6; }
4627 if test $ac_cv_header_stdc = yes; then
4628
4629 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4630
4631 fi
4632
4633 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4635                   inttypes.h stdint.h unistd.h
4636 do :
4637   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4638 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4639 "
4640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4641   cat >>confdefs.h <<_ACEOF
4642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4643 _ACEOF
4644
4645 fi
4646
4647 done
4648
4649
4650 for ac_header in arpa/inet.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h getopt.h sys/sysinfo.h
4651 do :
4652   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4653 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4654 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4655   cat >>confdefs.h <<_ACEOF
4656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4657 _ACEOF
4658
4659 fi
4660
4661 done
4662
4663
4664 # Checks for typedefs, structures, and compiler characteristics.
4665 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4666 if test "x$ac_cv_type_size_t" = xyes; then :
4667
4668 else
4669
4670 cat >>confdefs.h <<_ACEOF
4671 #define size_t unsigned int
4672 _ACEOF
4673
4674 fi
4675
4676 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4677 if test "x$ac_cv_type_ssize_t" = xyes; then :
4678
4679 else
4680
4681 cat >>confdefs.h <<_ACEOF
4682 #define ssize_t int
4683 _ACEOF
4684
4685 fi
4686
4687
4688 # Checks for library functions.
4689 for ac_header in stdlib.h
4690 do :
4691   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4692 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4693   cat >>confdefs.h <<_ACEOF
4694 #define HAVE_STDLIB_H 1
4695 _ACEOF
4696
4697 fi
4698
4699 done
4700
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4702 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4703 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4704   $as_echo_n "(cached) " >&6
4705 else
4706   if test "$cross_compiling" = yes; then :
4707   ac_cv_func_malloc_0_nonnull=no
4708 else
4709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h.  */
4711 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4712 # include <stdlib.h>
4713 #else
4714 char *malloc ();
4715 #endif
4716
4717 int
4718 main ()
4719 {
4720 return ! malloc (0);
4721   ;
4722   return 0;
4723 }
4724 _ACEOF
4725 if ac_fn_c_try_run "$LINENO"; then :
4726   ac_cv_func_malloc_0_nonnull=yes
4727 else
4728   ac_cv_func_malloc_0_nonnull=no
4729 fi
4730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4731   conftest.$ac_objext conftest.beam conftest.$ac_ext
4732 fi
4733
4734 fi
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4736 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4737 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4738
4739 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4740
4741 else
4742   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4743
4744    case " $LIBOBJS " in
4745   *" malloc.$ac_objext "* ) ;;
4746   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4747  ;;
4748 esac
4749
4750
4751 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4752
4753 fi
4754
4755
4756 for ac_header in stdlib.h
4757 do :
4758   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4759 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4760   cat >>confdefs.h <<_ACEOF
4761 #define HAVE_STDLIB_H 1
4762 _ACEOF
4763
4764 fi
4765
4766 done
4767
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4769 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4770 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   if test "$cross_compiling" = yes; then :
4774   ac_cv_func_realloc_0_nonnull=no
4775 else
4776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h.  */
4778 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4779 # include <stdlib.h>
4780 #else
4781 char *realloc ();
4782 #endif
4783
4784 int
4785 main ()
4786 {
4787 return ! realloc (0, 0);
4788   ;
4789   return 0;
4790 }
4791 _ACEOF
4792 if ac_fn_c_try_run "$LINENO"; then :
4793   ac_cv_func_realloc_0_nonnull=yes
4794 else
4795   ac_cv_func_realloc_0_nonnull=no
4796 fi
4797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4798   conftest.$ac_objext conftest.beam conftest.$ac_ext
4799 fi
4800
4801 fi
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4803 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4804 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4805
4806 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4807
4808 else
4809   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4810
4811    case " $LIBOBJS " in
4812   *" realloc.$ac_objext "* ) ;;
4813   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4814  ;;
4815 esac
4816
4817
4818 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4819
4820 fi
4821
4822
4823 for ac_func in gettimeofday memmove socket strdup strtol
4824 do :
4825   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4827 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4828   cat >>confdefs.h <<_ACEOF
4829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4830 _ACEOF
4831
4832 fi
4833 done
4834
4835
4836 # Detects whether the function sysinfo is available
4837 # At least kfreebsd 6.0.3 does not provide it.
4838 SYSINFO_FCT=
4839 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
4840 if test "x$ac_cv_func_sysinfo" = xyes; then :
4841   SYSINFO_FCT='1'
4842 $as_echo "#define HAVE_SYSINFO_FCT 1" >>confdefs.h
4843
4844 else
4845   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"sysinfo function not present\"" >&5
4846 $as_echo "$as_me: WARNING: \"sysinfo function not present\"" >&2;}
4847 fi
4848
4849  if test -n "$SYSINFO_FCT"; then
4850   SYSINFO_FCT_TRUE=
4851   SYSINFO_FCT_FALSE='#'
4852 else
4853   SYSINFO_FCT_TRUE='#'
4854   SYSINFO_FCT_FALSE=
4855 fi
4856
4857
4858
4859
4860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4861 $as_echo_n "checking whether NLS is requested... " >&6; }
4862     # Check whether --enable-nls was given.
4863 if test "${enable_nls+set}" = set; then :
4864   enableval=$enable_nls; USE_NLS=$enableval
4865 else
4866   USE_NLS=yes
4867 fi
4868
4869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4870 $as_echo "$USE_NLS" >&6; }
4871
4872
4873
4874
4875       GETTEXT_MACRO_VERSION=0.18
4876
4877
4878
4879
4880 # Prepare PATH_SEPARATOR.
4881 # The user is always right.
4882 if test "${PATH_SEPARATOR+set}" != set; then
4883   echo "#! /bin/sh" >conf$$.sh
4884   echo  "exit 0"   >>conf$$.sh
4885   chmod +x conf$$.sh
4886   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4887     PATH_SEPARATOR=';'
4888   else
4889     PATH_SEPARATOR=:
4890   fi
4891   rm -f conf$$.sh
4892 fi
4893
4894 # Find out how to test for executable files. Don't use a zero-byte file,
4895 # as systems may use methods other than mode bits to determine executability.
4896 cat >conf$$.file <<_ASEOF
4897 #! /bin/sh
4898 exit 0
4899 _ASEOF
4900 chmod +x conf$$.file
4901 if test -x conf$$.file >/dev/null 2>&1; then
4902   ac_executable_p="test -x"
4903 else
4904   ac_executable_p="test -f"
4905 fi
4906 rm -f conf$$.file
4907
4908 # Extract the first word of "msgfmt", so it can be a program name with args.
4909 set dummy msgfmt; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if ${ac_cv_path_MSGFMT+:} false; then :
4913   $as_echo_n "(cached) " >&6
4914 else
4915   case "$MSGFMT" in
4916   [\\/]* | ?:[\\/]*)
4917     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4918     ;;
4919   *)
4920     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4921     for ac_dir in $PATH; do
4922       IFS="$ac_save_IFS"
4923       test -z "$ac_dir" && ac_dir=.
4924       for ac_exec_ext in '' $ac_executable_extensions; do
4925         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4926           echo "$as_me: trying $ac_dir/$ac_word..." >&5
4927           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4928      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4929             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4930             break 2
4931           fi
4932         fi
4933       done
4934     done
4935     IFS="$ac_save_IFS"
4936   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4937     ;;
4938 esac
4939 fi
4940 MSGFMT="$ac_cv_path_MSGFMT"
4941 if test "$MSGFMT" != ":"; then
4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4943 $as_echo "$MSGFMT" >&6; }
4944 else
4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 fi
4948
4949   # Extract the first word of "gmsgfmt", so it can be a program name with args.
4950 set dummy gmsgfmt; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_path_GMSGFMT+:} false; then :
4954   $as_echo_n "(cached) " >&6
4955 else
4956   case $GMSGFMT in
4957   [\\/]* | ?:[\\/]*)
4958   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4959   ;;
4960   *)
4961   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 for as_dir in $PATH
4963 do
4964   IFS=$as_save_IFS
4965   test -z "$as_dir" && as_dir=.
4966     for ac_exec_ext in '' $ac_executable_extensions; do
4967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970     break 2
4971   fi
4972 done
4973   done
4974 IFS=$as_save_IFS
4975
4976   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4977   ;;
4978 esac
4979 fi
4980 GMSGFMT=$ac_cv_path_GMSGFMT
4981 if test -n "$GMSGFMT"; then
4982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4983 $as_echo "$GMSGFMT" >&6; }
4984 else
4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4987 fi
4988
4989
4990
4991     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4992     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4993     *) MSGFMT_015=$MSGFMT ;;
4994   esac
4995
4996   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4997     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4998     *) GMSGFMT_015=$GMSGFMT ;;
4999   esac
5000
5001
5002
5003 # Prepare PATH_SEPARATOR.
5004 # The user is always right.
5005 if test "${PATH_SEPARATOR+set}" != set; then
5006   echo "#! /bin/sh" >conf$$.sh
5007   echo  "exit 0"   >>conf$$.sh
5008   chmod +x conf$$.sh
5009   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5010     PATH_SEPARATOR=';'
5011   else
5012     PATH_SEPARATOR=:
5013   fi
5014   rm -f conf$$.sh
5015 fi
5016
5017 # Find out how to test for executable files. Don't use a zero-byte file,
5018 # as systems may use methods other than mode bits to determine executability.
5019 cat >conf$$.file <<_ASEOF
5020 #! /bin/sh
5021 exit 0
5022 _ASEOF
5023 chmod +x conf$$.file
5024 if test -x conf$$.file >/dev/null 2>&1; then
5025   ac_executable_p="test -x"
5026 else
5027   ac_executable_p="test -f"
5028 fi
5029 rm -f conf$$.file
5030
5031 # Extract the first word of "xgettext", so it can be a program name with args.
5032 set dummy xgettext; ac_word=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_path_XGETTEXT+:} false; then :
5036   $as_echo_n "(cached) " >&6
5037 else
5038   case "$XGETTEXT" in
5039   [\\/]* | ?:[\\/]*)
5040     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5041     ;;
5042   *)
5043     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5044     for ac_dir in $PATH; do
5045       IFS="$ac_save_IFS"
5046       test -z "$ac_dir" && ac_dir=.
5047       for ac_exec_ext in '' $ac_executable_extensions; do
5048         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5049           echo "$as_me: trying $ac_dir/$ac_word..." >&5
5050           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5051      (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
5052             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5053             break 2
5054           fi
5055         fi
5056       done
5057     done
5058     IFS="$ac_save_IFS"
5059   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5060     ;;
5061 esac
5062 fi
5063 XGETTEXT="$ac_cv_path_XGETTEXT"
5064 if test "$XGETTEXT" != ":"; then
5065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5066 $as_echo "$XGETTEXT" >&6; }
5067 else
5068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5070 fi
5071
5072     rm -f messages.po
5073
5074     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5075     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5076     *) XGETTEXT_015=$XGETTEXT ;;
5077   esac
5078
5079
5080
5081 # Prepare PATH_SEPARATOR.
5082 # The user is always right.
5083 if test "${PATH_SEPARATOR+set}" != set; then
5084   echo "#! /bin/sh" >conf$$.sh
5085   echo  "exit 0"   >>conf$$.sh
5086   chmod +x conf$$.sh
5087   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5088     PATH_SEPARATOR=';'
5089   else
5090     PATH_SEPARATOR=:
5091   fi
5092   rm -f conf$$.sh
5093 fi
5094
5095 # Find out how to test for executable files. Don't use a zero-byte file,
5096 # as systems may use methods other than mode bits to determine executability.
5097 cat >conf$$.file <<_ASEOF
5098 #! /bin/sh
5099 exit 0
5100 _ASEOF
5101 chmod +x conf$$.file
5102 if test -x conf$$.file >/dev/null 2>&1; then
5103   ac_executable_p="test -x"
5104 else
5105   ac_executable_p="test -f"
5106 fi
5107 rm -f conf$$.file
5108
5109 # Extract the first word of "msgmerge", so it can be a program name with args.
5110 set dummy msgmerge; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_path_MSGMERGE+:} false; then :
5114   $as_echo_n "(cached) " >&6
5115 else
5116   case "$MSGMERGE" in
5117   [\\/]* | ?:[\\/]*)
5118     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5119     ;;
5120   *)
5121     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5122     for ac_dir in $PATH; do
5123       IFS="$ac_save_IFS"
5124       test -z "$ac_dir" && ac_dir=.
5125       for ac_exec_ext in '' $ac_executable_extensions; do
5126         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5127           echo "$as_me: trying $ac_dir/$ac_word..." >&5
5128           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5129             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5130             break 2
5131           fi
5132         fi
5133       done
5134     done
5135     IFS="$ac_save_IFS"
5136   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5137     ;;
5138 esac
5139 fi
5140 MSGMERGE="$ac_cv_path_MSGMERGE"
5141 if test "$MSGMERGE" != ":"; then
5142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5143 $as_echo "$MSGMERGE" >&6; }
5144 else
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 fi
5148
5149
5150         test -n "$localedir" || localedir='${datadir}/locale'
5151
5152
5153     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5154
5155
5156   ac_config_commands="$ac_config_commands po-directories"
5157
5158
5159
5160       if test "X$prefix" = "XNONE"; then
5161     acl_final_prefix="$ac_default_prefix"
5162   else
5163     acl_final_prefix="$prefix"
5164   fi
5165   if test "X$exec_prefix" = "XNONE"; then
5166     acl_final_exec_prefix='${prefix}'
5167   else
5168     acl_final_exec_prefix="$exec_prefix"
5169   fi
5170   acl_save_prefix="$prefix"
5171   prefix="$acl_final_prefix"
5172   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5173   prefix="$acl_save_prefix"
5174
5175 # Make sure we can run config.sub.
5176 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5177   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5178
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5180 $as_echo_n "checking build system type... " >&6; }
5181 if ${ac_cv_build+:} false; then :
5182   $as_echo_n "(cached) " >&6
5183 else
5184   ac_build_alias=$build_alias
5185 test "x$ac_build_alias" = x &&
5186   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5187 test "x$ac_build_alias" = x &&
5188   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5189 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5190   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5191
5192 fi
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5194 $as_echo "$ac_cv_build" >&6; }
5195 case $ac_cv_build in
5196 *-*-*) ;;
5197 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5198 esac
5199 build=$ac_cv_build
5200 ac_save_IFS=$IFS; IFS='-'
5201 set x $ac_cv_build
5202 shift
5203 build_cpu=$1
5204 build_vendor=$2
5205 shift; shift
5206 # Remember, the first character of IFS is used to create $*,
5207 # except with old shells:
5208 build_os=$*
5209 IFS=$ac_save_IFS
5210 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5214 $as_echo_n "checking host system type... " >&6; }
5215 if ${ac_cv_host+:} false; then :
5216   $as_echo_n "(cached) " >&6
5217 else
5218   if test "x$host_alias" = x; then
5219   ac_cv_host=$ac_cv_build
5220 else
5221   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5222     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5223 fi
5224
5225 fi
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5227 $as_echo "$ac_cv_host" >&6; }
5228 case $ac_cv_host in
5229 *-*-*) ;;
5230 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5231 esac
5232 host=$ac_cv_host
5233 ac_save_IFS=$IFS; IFS='-'
5234 set x $ac_cv_host
5235 shift
5236 host_cpu=$1
5237 host_vendor=$2
5238 shift; shift
5239 # Remember, the first character of IFS is used to create $*,
5240 # except with old shells:
5241 host_os=$*
5242 IFS=$ac_save_IFS
5243 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5244
5245
5246
5247 # Check whether --with-gnu-ld was given.
5248 if test "${with_gnu_ld+set}" = set; then :
5249   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5250 else
5251   with_gnu_ld=no
5252 fi
5253
5254 # Prepare PATH_SEPARATOR.
5255 # The user is always right.
5256 if test "${PATH_SEPARATOR+set}" != set; then
5257   echo "#! /bin/sh" >conf$$.sh
5258   echo  "exit 0"   >>conf$$.sh
5259   chmod +x conf$$.sh
5260   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5261     PATH_SEPARATOR=';'
5262   else
5263     PATH_SEPARATOR=:
5264   fi
5265   rm -f conf$$.sh
5266 fi
5267 ac_prog=ld
5268 if test "$GCC" = yes; then
5269   # Check if gcc -print-prog-name=ld gives a path.
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5271 $as_echo_n "checking for ld used by GCC... " >&6; }
5272   case $host in
5273   *-*-mingw*)
5274     # gcc leaves a trailing carriage return which upsets mingw
5275     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5276   *)
5277     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5278   esac
5279   case $ac_prog in
5280     # Accept absolute paths.
5281     [\\/]* | [A-Za-z]:[\\/]*)
5282       re_direlt='/[^/][^/]*/\.\./'
5283       # Canonicalize the path of ld
5284       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5285       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5286         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5287       done
5288       test -z "$LD" && LD="$ac_prog"
5289       ;;
5290   "")
5291     # If it fails, then pretend we aren't using GCC.
5292     ac_prog=ld
5293     ;;
5294   *)
5295     # If it is relative, then search for the first ld in PATH.
5296     with_gnu_ld=unknown
5297     ;;
5298   esac
5299 elif test "$with_gnu_ld" = yes; then
5300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5301 $as_echo_n "checking for GNU ld... " >&6; }
5302 else
5303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5304 $as_echo_n "checking for non-GNU ld... " >&6; }
5305 fi
5306 if ${acl_cv_path_LD+:} false; then :
5307   $as_echo_n "(cached) " >&6
5308 else
5309   if test -z "$LD"; then
5310   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5311   for ac_dir in $PATH; do
5312     test -z "$ac_dir" && ac_dir=.
5313     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5314       acl_cv_path_LD="$ac_dir/$ac_prog"
5315       # Check to see if the program is GNU ld.  I'd rather use --version,
5316       # but apparently some GNU ld's only accept -v.
5317       # Break only if it was the GNU/non-GNU ld that we prefer.
5318       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5319       *GNU* | *'with BFD'*)
5320         test "$with_gnu_ld" != no && break ;;
5321       *)
5322         test "$with_gnu_ld" != yes && break ;;
5323       esac
5324     fi
5325   done
5326   IFS="$ac_save_ifs"
5327 else
5328   acl_cv_path_LD="$LD" # Let the user override the test with a path.
5329 fi
5330 fi
5331
5332 LD="$acl_cv_path_LD"
5333 if test -n "$LD"; then
5334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5335 $as_echo "$LD" >&6; }
5336 else
5337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5339 fi
5340 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5342 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5343 if ${acl_cv_prog_gnu_ld+:} false; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5347 case `$LD -v 2>&1 </dev/null` in
5348 *GNU* | *'with BFD'*)
5349   acl_cv_prog_gnu_ld=yes ;;
5350 *)
5351   acl_cv_prog_gnu_ld=no ;;
5352 esac
5353 fi
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5355 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5356 with_gnu_ld=$acl_cv_prog_gnu_ld
5357
5358
5359
5360
5361                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5362 $as_echo_n "checking for shared library run path origin... " >&6; }
5363 if ${acl_cv_rpath+:} false; then :
5364   $as_echo_n "(cached) " >&6
5365 else
5366
5367     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5368     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5369     . ./conftest.sh
5370     rm -f ./conftest.sh
5371     acl_cv_rpath=done
5372
5373 fi
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5375 $as_echo "$acl_cv_rpath" >&6; }
5376   wl="$acl_cv_wl"
5377   acl_libext="$acl_cv_libext"
5378   acl_shlibext="$acl_cv_shlibext"
5379   acl_libname_spec="$acl_cv_libname_spec"
5380   acl_library_names_spec="$acl_cv_library_names_spec"
5381   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5382   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5383   acl_hardcode_direct="$acl_cv_hardcode_direct"
5384   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5385     # Check whether --enable-rpath was given.
5386 if test "${enable_rpath+set}" = set; then :
5387   enableval=$enable_rpath; :
5388 else
5389   enable_rpath=yes
5390 fi
5391
5392
5393
5394
5395   acl_libdirstem=lib
5396   acl_libdirstem2=
5397   case "$host_os" in
5398     solaris*)
5399                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5400 $as_echo_n "checking for 64-bit host... " >&6; }
5401 if ${gl_cv_solaris_64bit+:} false; then :
5402   $as_echo_n "(cached) " >&6
5403 else
5404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h.  */
5406
5407 #ifdef _LP64
5408 sixtyfour bits
5409 #endif
5410
5411 _ACEOF
5412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5413   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5414   gl_cv_solaris_64bit=yes
5415 else
5416   gl_cv_solaris_64bit=no
5417 fi
5418 rm -f conftest*
5419
5420
5421 fi
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5423 $as_echo "$gl_cv_solaris_64bit" >&6; }
5424       if test $gl_cv_solaris_64bit = yes; then
5425         acl_libdirstem=lib/64
5426         case "$host_cpu" in
5427           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
5428           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5429         esac
5430       fi
5431       ;;
5432     *)
5433       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5434       if test -n "$searchpath"; then
5435         acl_save_IFS="${IFS=    }"; IFS=":"
5436         for searchdir in $searchpath; do
5437           if test -d "$searchdir"; then
5438             case "$searchdir" in
5439               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5440               */../ | */.. )
5441                 # Better ignore directories of this form. They are misleading.
5442                 ;;
5443               *) searchdir=`cd "$searchdir" && pwd`
5444                  case "$searchdir" in
5445                    */lib64 ) acl_libdirstem=lib64 ;;
5446                  esac ;;
5447             esac
5448           fi
5449         done
5450         IFS="$acl_save_IFS"
5451       fi
5452       ;;
5453   esac
5454   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467     use_additional=yes
5468
5469   acl_save_prefix="$prefix"
5470   prefix="$acl_final_prefix"
5471   acl_save_exec_prefix="$exec_prefix"
5472   exec_prefix="$acl_final_exec_prefix"
5473
5474     eval additional_includedir=\"$includedir\"
5475     eval additional_libdir=\"$libdir\"
5476
5477   exec_prefix="$acl_save_exec_prefix"
5478   prefix="$acl_save_prefix"
5479
5480
5481 # Check whether --with-libiconv-prefix was given.
5482 if test "${with_libiconv_prefix+set}" = set; then :
5483   withval=$with_libiconv_prefix;
5484     if test "X$withval" = "Xno"; then
5485       use_additional=no
5486     else
5487       if test "X$withval" = "X"; then
5488
5489   acl_save_prefix="$prefix"
5490   prefix="$acl_final_prefix"
5491   acl_save_exec_prefix="$exec_prefix"
5492   exec_prefix="$acl_final_exec_prefix"
5493
5494           eval additional_includedir=\"$includedir\"
5495           eval additional_libdir=\"$libdir\"
5496
5497   exec_prefix="$acl_save_exec_prefix"
5498   prefix="$acl_save_prefix"
5499
5500       else
5501         additional_includedir="$withval/include"
5502         additional_libdir="$withval/$acl_libdirstem"
5503         if test "$acl_libdirstem2" != "$acl_libdirstem" \
5504            && ! test -d "$withval/$acl_libdirstem"; then
5505           additional_libdir="$withval/$acl_libdirstem2"
5506         fi
5507       fi
5508     fi
5509
5510 fi
5511
5512       LIBICONV=
5513   LTLIBICONV=
5514   INCICONV=
5515   LIBICONV_PREFIX=
5516       HAVE_LIBICONV=
5517   rpathdirs=
5518   ltrpathdirs=
5519   names_already_handled=
5520   names_next_round='iconv '
5521   while test -n "$names_next_round"; do
5522     names_this_round="$names_next_round"
5523     names_next_round=
5524     for name in $names_this_round; do
5525       already_handled=
5526       for n in $names_already_handled; do
5527         if test "$n" = "$name"; then
5528           already_handled=yes
5529           break
5530         fi
5531       done
5532       if test -z "$already_handled"; then
5533         names_already_handled="$names_already_handled $name"
5534                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5535         eval value=\"\$HAVE_LIB$uppername\"
5536         if test -n "$value"; then
5537           if test "$value" = yes; then
5538             eval value=\"\$LIB$uppername\"
5539             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5540             eval value=\"\$LTLIB$uppername\"
5541             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5542           else
5543                                     :
5544           fi
5545         else
5546                               found_dir=
5547           found_la=
5548           found_so=
5549           found_a=
5550           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
5551           if test -n "$acl_shlibext"; then
5552             shrext=".$acl_shlibext"             # typically: shrext=.so
5553           else
5554             shrext=
5555           fi
5556           if test $use_additional = yes; then
5557             dir="$additional_libdir"
5558                                     if test -n "$acl_shlibext"; then
5559               if test -f "$dir/$libname$shrext"; then
5560                 found_dir="$dir"
5561                 found_so="$dir/$libname$shrext"
5562               else
5563                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5564                   ver=`(cd "$dir" && \
5565                         for f in "$libname$shrext".*; do echo "$f"; done \
5566                         | sed -e "s,^$libname$shrext\\\\.,," \
5567                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5568                         | sed 1q ) 2>/dev/null`
5569                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5570                     found_dir="$dir"
5571                     found_so="$dir/$libname$shrext.$ver"
5572                   fi
5573                 else
5574                   eval library_names=\"$acl_library_names_spec\"
5575                   for f in $library_names; do
5576                     if test -f "$dir/$f"; then
5577                       found_dir="$dir"
5578                       found_so="$dir/$f"
5579                       break
5580                     fi
5581                   done
5582                 fi
5583               fi
5584             fi
5585                         if test "X$found_dir" = "X"; then
5586               if test -f "$dir/$libname.$acl_libext"; then
5587                 found_dir="$dir"
5588                 found_a="$dir/$libname.$acl_libext"
5589               fi
5590             fi
5591             if test "X$found_dir" != "X"; then
5592               if test -f "$dir/$libname.la"; then
5593                 found_la="$dir/$libname.la"
5594               fi
5595             fi
5596           fi
5597           if test "X$found_dir" = "X"; then
5598             for x in $LDFLAGS $LTLIBICONV; do
5599
5600   acl_save_prefix="$prefix"
5601   prefix="$acl_final_prefix"
5602   acl_save_exec_prefix="$exec_prefix"
5603   exec_prefix="$acl_final_exec_prefix"
5604   eval x=\"$x\"
5605   exec_prefix="$acl_save_exec_prefix"
5606   prefix="$acl_save_prefix"
5607
5608               case "$x" in
5609                 -L*)
5610                   dir=`echo "X$x" | sed -e 's/^X-L//'`
5611                                     if test -n "$acl_shlibext"; then
5612                     if test -f "$dir/$libname$shrext"; then
5613                       found_dir="$dir"
5614                       found_so="$dir/$libname$shrext"
5615                     else
5616                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5617                         ver=`(cd "$dir" && \
5618                               for f in "$libname$shrext".*; do echo "$f"; done \
5619                               | sed -e "s,^$libname$shrext\\\\.,," \
5620                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5621                               | sed 1q ) 2>/dev/null`
5622                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5623                           found_dir="$dir"
5624                           found_so="$dir/$libname$shrext.$ver"
5625                         fi
5626                       else
5627                         eval library_names=\"$acl_library_names_spec\"
5628                         for f in $library_names; do
5629                           if test -f "$dir/$f"; then
5630                             found_dir="$dir"
5631                             found_so="$dir/$f"
5632                             break
5633                           fi
5634                         done
5635                       fi
5636                     fi
5637                   fi
5638                                     if test "X$found_dir" = "X"; then
5639                     if test -f "$dir/$libname.$acl_libext"; then
5640                       found_dir="$dir"
5641                       found_a="$dir/$libname.$acl_libext"
5642                     fi
5643                   fi
5644                   if test "X$found_dir" != "X"; then
5645                     if test -f "$dir/$libname.la"; then
5646                       found_la="$dir/$libname.la"
5647                     fi
5648                   fi
5649                   ;;
5650               esac
5651               if test "X$found_dir" != "X"; then
5652                 break
5653               fi
5654             done
5655           fi
5656           if test "X$found_dir" != "X"; then
5657                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5658             if test "X$found_so" != "X"; then
5659                                                         if test "$enable_rpath" = no \
5660                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5661                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5662                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5663               else
5664                                                                                 haveit=
5665                 for x in $ltrpathdirs; do
5666                   if test "X$x" = "X$found_dir"; then
5667                     haveit=yes
5668                     break
5669                   fi
5670                 done
5671                 if test -z "$haveit"; then
5672                   ltrpathdirs="$ltrpathdirs $found_dir"
5673                 fi
5674                                 if test "$acl_hardcode_direct" = yes; then
5675                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5676                 else
5677                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5678                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5679                                                             haveit=
5680                     for x in $rpathdirs; do
5681                       if test "X$x" = "X$found_dir"; then
5682                         haveit=yes
5683                         break
5684                       fi
5685                     done
5686                     if test -z "$haveit"; then
5687                       rpathdirs="$rpathdirs $found_dir"
5688                     fi
5689                   else
5690                                                                                 haveit=
5691                     for x in $LDFLAGS $LIBICONV; do
5692
5693   acl_save_prefix="$prefix"
5694   prefix="$acl_final_prefix"
5695   acl_save_exec_prefix="$exec_prefix"
5696   exec_prefix="$acl_final_exec_prefix"
5697   eval x=\"$x\"
5698   exec_prefix="$acl_save_exec_prefix"
5699   prefix="$acl_save_prefix"
5700
5701                       if test "X$x" = "X-L$found_dir"; then
5702                         haveit=yes
5703                         break
5704                       fi
5705                     done
5706                     if test -z "$haveit"; then
5707                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5708                     fi
5709                     if test "$acl_hardcode_minus_L" != no; then
5710                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5711                     else
5712                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5713                     fi
5714                   fi
5715                 fi
5716               fi
5717             else
5718               if test "X$found_a" != "X"; then
5719                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5720               else
5721                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5722               fi
5723             fi
5724                         additional_includedir=
5725             case "$found_dir" in
5726               */$acl_libdirstem | */$acl_libdirstem/)
5727                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5728                 if test "$name" = 'iconv'; then
5729                   LIBICONV_PREFIX="$basedir"
5730                 fi
5731                 additional_includedir="$basedir/include"
5732                 ;;
5733               */$acl_libdirstem2 | */$acl_libdirstem2/)
5734                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5735                 if test "$name" = 'iconv'; then
5736                   LIBICONV_PREFIX="$basedir"
5737                 fi
5738                 additional_includedir="$basedir/include"
5739                 ;;
5740             esac
5741             if test "X$additional_includedir" != "X"; then
5742                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
5743                 haveit=
5744                 if test "X$additional_includedir" = "X/usr/local/include"; then
5745                   if test -n "$GCC"; then
5746                     case $host_os in
5747                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5748                     esac
5749                   fi
5750                 fi
5751                 if test -z "$haveit"; then
5752                   for x in $CPPFLAGS $INCICONV; do
5753
5754   acl_save_prefix="$prefix"
5755   prefix="$acl_final_prefix"
5756   acl_save_exec_prefix="$exec_prefix"
5757   exec_prefix="$acl_final_exec_prefix"
5758   eval x=\"$x\"
5759   exec_prefix="$acl_save_exec_prefix"
5760   prefix="$acl_save_prefix"
5761
5762                     if test "X$x" = "X-I$additional_includedir"; then
5763                       haveit=yes
5764                       break
5765                     fi
5766                   done
5767                   if test -z "$haveit"; then
5768                     if test -d "$additional_includedir"; then
5769                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5770                     fi
5771                   fi
5772                 fi
5773               fi
5774             fi
5775                         if test -n "$found_la"; then
5776                                                         save_libdir="$libdir"
5777               case "$found_la" in
5778                 */* | *\\*) . "$found_la" ;;
5779                 *) . "./$found_la" ;;
5780               esac
5781               libdir="$save_libdir"
5782                             for dep in $dependency_libs; do
5783                 case "$dep" in
5784                   -L*)
5785                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5786                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5787                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5788                       haveit=
5789                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5790                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5791                         if test -n "$GCC"; then
5792                           case $host_os in
5793                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5794                           esac
5795                         fi
5796                       fi
5797                       if test -z "$haveit"; then
5798                         haveit=
5799                         for x in $LDFLAGS $LIBICONV; do
5800
5801   acl_save_prefix="$prefix"
5802   prefix="$acl_final_prefix"
5803   acl_save_exec_prefix="$exec_prefix"
5804   exec_prefix="$acl_final_exec_prefix"
5805   eval x=\"$x\"
5806   exec_prefix="$acl_save_exec_prefix"
5807   prefix="$acl_save_prefix"
5808
5809                           if test "X$x" = "X-L$additional_libdir"; then
5810                             haveit=yes
5811                             break
5812                           fi
5813                         done
5814                         if test -z "$haveit"; then
5815                           if test -d "$additional_libdir"; then
5816                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5817                           fi
5818                         fi
5819                         haveit=
5820                         for x in $LDFLAGS $LTLIBICONV; do
5821
5822   acl_save_prefix="$prefix"
5823   prefix="$acl_final_prefix"
5824   acl_save_exec_prefix="$exec_prefix"
5825   exec_prefix="$acl_final_exec_prefix"
5826   eval x=\"$x\"
5827   exec_prefix="$acl_save_exec_prefix"
5828   prefix="$acl_save_prefix"
5829
5830                           if test "X$x" = "X-L$additional_libdir"; then
5831                             haveit=yes
5832                             break
5833                           fi
5834                         done
5835                         if test -z "$haveit"; then
5836                           if test -d "$additional_libdir"; then
5837                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5838                           fi
5839                         fi
5840                       fi
5841                     fi
5842                     ;;
5843                   -R*)
5844                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
5845                     if test "$enable_rpath" != no; then
5846                                                                   haveit=
5847                       for x in $rpathdirs; do
5848                         if test "X$x" = "X$dir"; then
5849                           haveit=yes
5850                           break
5851                         fi
5852                       done
5853                       if test -z "$haveit"; then
5854                         rpathdirs="$rpathdirs $dir"
5855                       fi
5856                                                                   haveit=
5857                       for x in $ltrpathdirs; do
5858                         if test "X$x" = "X$dir"; then
5859                           haveit=yes
5860                           break
5861                         fi
5862                       done
5863                       if test -z "$haveit"; then
5864                         ltrpathdirs="$ltrpathdirs $dir"
5865                       fi
5866                     fi
5867                     ;;
5868                   -l*)
5869                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5870                     ;;
5871                   *.la)
5872                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5873                     ;;
5874                   *)
5875                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5876                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5877                     ;;
5878                 esac
5879               done
5880             fi
5881           else
5882                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5883             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5884           fi
5885         fi
5886       fi
5887     done
5888   done
5889   if test "X$rpathdirs" != "X"; then
5890     if test -n "$acl_hardcode_libdir_separator"; then
5891                         alldirs=
5892       for found_dir in $rpathdirs; do
5893         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5894       done
5895             acl_save_libdir="$libdir"
5896       libdir="$alldirs"
5897       eval flag=\"$acl_hardcode_libdir_flag_spec\"
5898       libdir="$acl_save_libdir"
5899       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5900     else
5901             for found_dir in $rpathdirs; do
5902         acl_save_libdir="$libdir"
5903         libdir="$found_dir"
5904         eval flag=\"$acl_hardcode_libdir_flag_spec\"
5905         libdir="$acl_save_libdir"
5906         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5907       done
5908     fi
5909   fi
5910   if test "X$ltrpathdirs" != "X"; then
5911             for found_dir in $ltrpathdirs; do
5912       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5913     done
5914   fi
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5947 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5948 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5949   $as_echo_n "(cached) " >&6
5950 else
5951   gt_save_LIBS="$LIBS"
5952      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h.  */
5955 #include <CoreFoundation/CFPreferences.h>
5956 int
5957 main ()
5958 {
5959 CFPreferencesCopyAppValue(NULL, NULL)
5960   ;
5961   return 0;
5962 }
5963 _ACEOF
5964 if ac_fn_c_try_link "$LINENO"; then :
5965   gt_cv_func_CFPreferencesCopyAppValue=yes
5966 else
5967   gt_cv_func_CFPreferencesCopyAppValue=no
5968 fi
5969 rm -f core conftest.err conftest.$ac_objext \
5970     conftest$ac_exeext conftest.$ac_ext
5971      LIBS="$gt_save_LIBS"
5972 fi
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5974 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5975   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5976
5977 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5978
5979   fi
5980     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5981 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5982 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5983   $as_echo_n "(cached) " >&6
5984 else
5985   gt_save_LIBS="$LIBS"
5986      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5987      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h.  */
5989 #include <CoreFoundation/CFLocale.h>
5990 int
5991 main ()
5992 {
5993 CFLocaleCopyCurrent();
5994   ;
5995   return 0;
5996 }
5997 _ACEOF
5998 if ac_fn_c_try_link "$LINENO"; then :
5999   gt_cv_func_CFLocaleCopyCurrent=yes
6000 else
6001   gt_cv_func_CFLocaleCopyCurrent=no
6002 fi
6003 rm -f core conftest.err conftest.$ac_objext \
6004     conftest$ac_exeext conftest.$ac_ext
6005      LIBS="$gt_save_LIBS"
6006 fi
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6008 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6009   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6010
6011 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6012
6013   fi
6014   INTL_MACOSX_LIBS=
6015   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6016     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6017   fi
6018
6019
6020
6021
6022
6023
6024   LIBINTL=
6025   LTLIBINTL=
6026   POSUB=
6027
6028     case " $gt_needs " in
6029     *" need-formatstring-macros "*) gt_api_version=3 ;;
6030     *" need-ngettext "*) gt_api_version=2 ;;
6031     *) gt_api_version=1 ;;
6032   esac
6033   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6034   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6035
6036     if test "$USE_NLS" = "yes"; then
6037     gt_use_preinstalled_gnugettext=no
6038
6039
6040         if test $gt_api_version -ge 3; then
6041           gt_revision_test_code='
6042 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6043 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6044 #endif
6045 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6046 '
6047         else
6048           gt_revision_test_code=
6049         fi
6050         if test $gt_api_version -ge 2; then
6051           gt_expression_test_code=' + * ngettext ("", "", 0)'
6052         else
6053           gt_expression_test_code=
6054         fi
6055
6056         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6057 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6058 if eval \${$gt_func_gnugettext_libc+:} false; then :
6059   $as_echo_n "(cached) " >&6
6060 else
6061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6062 /* end confdefs.h.  */
6063 #include <libintl.h>
6064 $gt_revision_test_code
6065 extern int _nl_msg_cat_cntr;
6066 extern int *_nl_domain_bindings;
6067 int
6068 main ()
6069 {
6070 bindtextdomain ("", "");
6071 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6072   ;
6073   return 0;
6074 }
6075 _ACEOF
6076 if ac_fn_c_try_link "$LINENO"; then :
6077   eval "$gt_func_gnugettext_libc=yes"
6078 else
6079   eval "$gt_func_gnugettext_libc=no"
6080 fi
6081 rm -f core conftest.err conftest.$ac_objext \
6082     conftest$ac_exeext conftest.$ac_ext
6083 fi
6084 eval ac_res=\$$gt_func_gnugettext_libc
6085                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6086 $as_echo "$ac_res" >&6; }
6087
6088         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6089
6090
6091
6092
6093
6094           am_save_CPPFLAGS="$CPPFLAGS"
6095
6096   for element in $INCICONV; do
6097     haveit=
6098     for x in $CPPFLAGS; do
6099
6100   acl_save_prefix="$prefix"
6101   prefix="$acl_final_prefix"
6102   acl_save_exec_prefix="$exec_prefix"
6103   exec_prefix="$acl_final_exec_prefix"
6104   eval x=\"$x\"
6105   exec_prefix="$acl_save_exec_prefix"
6106   prefix="$acl_save_prefix"
6107
6108       if test "X$x" = "X$element"; then
6109         haveit=yes
6110         break
6111       fi
6112     done
6113     if test -z "$haveit"; then
6114       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6115     fi
6116   done
6117
6118
6119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6120 $as_echo_n "checking for iconv... " >&6; }
6121 if ${am_cv_func_iconv+:} false; then :
6122   $as_echo_n "(cached) " >&6
6123 else
6124
6125     am_cv_func_iconv="no, consider installing GNU libiconv"
6126     am_cv_lib_iconv=no
6127     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h.  */
6129 #include <stdlib.h>
6130 #include <iconv.h>
6131 int
6132 main ()
6133 {
6134 iconv_t cd = iconv_open("","");
6135        iconv(cd,NULL,NULL,NULL,NULL);
6136        iconv_close(cd);
6137   ;
6138   return 0;
6139 }
6140 _ACEOF
6141 if ac_fn_c_try_link "$LINENO"; then :
6142   am_cv_func_iconv=yes
6143 fi
6144 rm -f core conftest.err conftest.$ac_objext \
6145     conftest$ac_exeext conftest.$ac_ext
6146     if test "$am_cv_func_iconv" != yes; then
6147       am_save_LIBS="$LIBS"
6148       LIBS="$LIBS $LIBICONV"
6149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h.  */
6151 #include <stdlib.h>
6152 #include <iconv.h>
6153 int
6154 main ()
6155 {
6156 iconv_t cd = iconv_open("","");
6157          iconv(cd,NULL,NULL,NULL,NULL);
6158          iconv_close(cd);
6159   ;
6160   return 0;
6161 }
6162 _ACEOF
6163 if ac_fn_c_try_link "$LINENO"; then :
6164   am_cv_lib_iconv=yes
6165         am_cv_func_iconv=yes
6166 fi
6167 rm -f core conftest.err conftest.$ac_objext \
6168     conftest$ac_exeext conftest.$ac_ext
6169       LIBS="$am_save_LIBS"
6170     fi
6171
6172 fi
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6174 $as_echo "$am_cv_func_iconv" >&6; }
6175   if test "$am_cv_func_iconv" = yes; then
6176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6177 $as_echo_n "checking for working iconv... " >&6; }
6178 if ${am_cv_func_iconv_works+:} false; then :
6179   $as_echo_n "(cached) " >&6
6180 else
6181
6182             am_save_LIBS="$LIBS"
6183       if test $am_cv_lib_iconv = yes; then
6184         LIBS="$LIBS $LIBICONV"
6185       fi
6186       if test "$cross_compiling" = yes; then :
6187   case "$host_os" in
6188            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6189            *)            am_cv_func_iconv_works="guessing yes" ;;
6190          esac
6191 else
6192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h.  */
6194
6195 #include <iconv.h>
6196 #include <string.h>
6197 int main ()
6198 {
6199   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6200      returns.  */
6201   {
6202     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6203     if (cd_utf8_to_88591 != (iconv_t)(-1))
6204       {
6205         static const char input[] = "\342\202\254"; /* EURO SIGN */
6206         char buf[10];
6207         const char *inptr = input;
6208         size_t inbytesleft = strlen (input);
6209         char *outptr = buf;
6210         size_t outbytesleft = sizeof (buf);
6211         size_t res = iconv (cd_utf8_to_88591,
6212                             (char **) &inptr, &inbytesleft,
6213                             &outptr, &outbytesleft);
6214         if (res == 0)
6215           return 1;
6216       }
6217   }
6218   /* Test against Solaris 10 bug: Failures are not distinguishable from
6219      successful returns.  */
6220   {
6221     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6222     if (cd_ascii_to_88591 != (iconv_t)(-1))
6223       {
6224         static const char input[] = "\263";
6225         char buf[10];
6226         const char *inptr = input;
6227         size_t inbytesleft = strlen (input);
6228         char *outptr = buf;
6229         size_t outbytesleft = sizeof (buf);
6230         size_t res = iconv (cd_ascii_to_88591,
6231                             (char **) &inptr, &inbytesleft,
6232                             &outptr, &outbytesleft);
6233         if (res == 0)
6234           return 1;
6235       }
6236   }
6237 #if 0 /* This bug could be worked around by the caller.  */
6238   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
6239   {
6240     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6241     if (cd_88591_to_utf8 != (iconv_t)(-1))
6242       {
6243         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6244         char buf[50];
6245         const char *inptr = input;
6246         size_t inbytesleft = strlen (input);
6247         char *outptr = buf;
6248         size_t outbytesleft = sizeof (buf);
6249         size_t res = iconv (cd_88591_to_utf8,
6250                             (char **) &inptr, &inbytesleft,
6251                             &outptr, &outbytesleft);
6252         if ((int)res > 0)
6253           return 1;
6254       }
6255   }
6256 #endif
6257   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6258      provided.  */
6259   if (/* Try standardized names.  */
6260       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6261       /* Try IRIX, OSF/1 names.  */
6262       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6263       /* Try AIX names.  */
6264       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6265       /* Try HP-UX names.  */
6266       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6267     return 1;
6268   return 0;
6269 }
6270 _ACEOF
6271 if ac_fn_c_try_run "$LINENO"; then :
6272   am_cv_func_iconv_works=yes
6273 else
6274   am_cv_func_iconv_works=no
6275 fi
6276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6277   conftest.$ac_objext conftest.beam conftest.$ac_ext
6278 fi
6279
6280       LIBS="$am_save_LIBS"
6281
6282 fi
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6284 $as_echo "$am_cv_func_iconv_works" >&6; }
6285     case "$am_cv_func_iconv_works" in
6286       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6287       *)   am_func_iconv=yes ;;
6288     esac
6289   else
6290     am_func_iconv=no am_cv_lib_iconv=no
6291   fi
6292   if test "$am_func_iconv" = yes; then
6293
6294 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6295
6296   fi
6297   if test "$am_cv_lib_iconv" = yes; then
6298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6299 $as_echo_n "checking how to link with libiconv... " >&6; }
6300     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6301 $as_echo "$LIBICONV" >&6; }
6302   else
6303             CPPFLAGS="$am_save_CPPFLAGS"
6304     LIBICONV=
6305     LTLIBICONV=
6306   fi
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318     use_additional=yes
6319
6320   acl_save_prefix="$prefix"
6321   prefix="$acl_final_prefix"
6322   acl_save_exec_prefix="$exec_prefix"
6323   exec_prefix="$acl_final_exec_prefix"
6324
6325     eval additional_includedir=\"$includedir\"
6326     eval additional_libdir=\"$libdir\"
6327
6328   exec_prefix="$acl_save_exec_prefix"
6329   prefix="$acl_save_prefix"
6330
6331
6332 # Check whether --with-libintl-prefix was given.
6333 if test "${with_libintl_prefix+set}" = set; then :
6334   withval=$with_libintl_prefix;
6335     if test "X$withval" = "Xno"; then
6336       use_additional=no
6337     else
6338       if test "X$withval" = "X"; then
6339
6340   acl_save_prefix="$prefix"
6341   prefix="$acl_final_prefix"
6342   acl_save_exec_prefix="$exec_prefix"
6343   exec_prefix="$acl_final_exec_prefix"
6344
6345           eval additional_includedir=\"$includedir\"
6346           eval additional_libdir=\"$libdir\"
6347
6348   exec_prefix="$acl_save_exec_prefix"
6349   prefix="$acl_save_prefix"
6350
6351       else
6352         additional_includedir="$withval/include"
6353         additional_libdir="$withval/$acl_libdirstem"
6354         if test "$acl_libdirstem2" != "$acl_libdirstem" \
6355            && ! test -d "$withval/$acl_libdirstem"; then
6356           additional_libdir="$withval/$acl_libdirstem2"
6357         fi
6358       fi
6359     fi
6360
6361 fi
6362
6363       LIBINTL=
6364   LTLIBINTL=
6365   INCINTL=
6366   LIBINTL_PREFIX=
6367       HAVE_LIBINTL=
6368   rpathdirs=
6369   ltrpathdirs=
6370   names_already_handled=
6371   names_next_round='intl '
6372   while test -n "$names_next_round"; do
6373     names_this_round="$names_next_round"
6374     names_next_round=
6375     for name in $names_this_round; do
6376       already_handled=
6377       for n in $names_already_handled; do
6378         if test "$n" = "$name"; then
6379           already_handled=yes
6380           break
6381         fi
6382       done
6383       if test -z "$already_handled"; then
6384         names_already_handled="$names_already_handled $name"
6385                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6386         eval value=\"\$HAVE_LIB$uppername\"
6387         if test -n "$value"; then
6388           if test "$value" = yes; then
6389             eval value=\"\$LIB$uppername\"
6390             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6391             eval value=\"\$LTLIB$uppername\"
6392             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6393           else
6394                                     :
6395           fi
6396         else
6397                               found_dir=
6398           found_la=
6399           found_so=
6400           found_a=
6401           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
6402           if test -n "$acl_shlibext"; then
6403             shrext=".$acl_shlibext"             # typically: shrext=.so
6404           else
6405             shrext=
6406           fi
6407           if test $use_additional = yes; then
6408             dir="$additional_libdir"
6409                                     if test -n "$acl_shlibext"; then
6410               if test -f "$dir/$libname$shrext"; then
6411                 found_dir="$dir"
6412                 found_so="$dir/$libname$shrext"
6413               else
6414                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6415                   ver=`(cd "$dir" && \
6416                         for f in "$libname$shrext".*; do echo "$f"; done \
6417                         | sed -e "s,^$libname$shrext\\\\.,," \
6418                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6419                         | sed 1q ) 2>/dev/null`
6420                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6421                     found_dir="$dir"
6422                     found_so="$dir/$libname$shrext.$ver"
6423                   fi
6424                 else
6425                   eval library_names=\"$acl_library_names_spec\"
6426                   for f in $library_names; do
6427                     if test -f "$dir/$f"; then
6428                       found_dir="$dir"
6429                       found_so="$dir/$f"
6430                       break
6431                     fi
6432                   done
6433                 fi
6434               fi
6435             fi
6436                         if test "X$found_dir" = "X"; then
6437               if test -f "$dir/$libname.$acl_libext"; then
6438                 found_dir="$dir"
6439                 found_a="$dir/$libname.$acl_libext"
6440               fi
6441             fi
6442             if test "X$found_dir" != "X"; then
6443               if test -f "$dir/$libname.la"; then
6444                 found_la="$dir/$libname.la"
6445               fi
6446             fi
6447           fi
6448           if test "X$found_dir" = "X"; then
6449             for x in $LDFLAGS $LTLIBINTL; do
6450
6451   acl_save_prefix="$prefix"
6452   prefix="$acl_final_prefix"
6453   acl_save_exec_prefix="$exec_prefix"
6454   exec_prefix="$acl_final_exec_prefix"
6455   eval x=\"$x\"
6456   exec_prefix="$acl_save_exec_prefix"
6457   prefix="$acl_save_prefix"
6458
6459               case "$x" in
6460                 -L*)
6461                   dir=`echo "X$x" | sed -e 's/^X-L//'`
6462                                     if test -n "$acl_shlibext"; then
6463                     if test -f "$dir/$libname$shrext"; then
6464                       found_dir="$dir"
6465                       found_so="$dir/$libname$shrext"
6466                     else
6467                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6468                         ver=`(cd "$dir" && \
6469                               for f in "$libname$shrext".*; do echo "$f"; done \
6470                               | sed -e "s,^$libname$shrext\\\\.,," \
6471                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6472                               | sed 1q ) 2>/dev/null`
6473                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6474                           found_dir="$dir"
6475                           found_so="$dir/$libname$shrext.$ver"
6476                         fi
6477                       else
6478                         eval library_names=\"$acl_library_names_spec\"
6479                         for f in $library_names; do
6480                           if test -f "$dir/$f"; then
6481                             found_dir="$dir"
6482                             found_so="$dir/$f"
6483                             break
6484                           fi
6485                         done
6486                       fi
6487                     fi
6488                   fi
6489                                     if test "X$found_dir" = "X"; then
6490                     if test -f "$dir/$libname.$acl_libext"; then
6491                       found_dir="$dir"
6492                       found_a="$dir/$libname.$acl_libext"
6493                     fi
6494                   fi
6495                   if test "X$found_dir" != "X"; then
6496                     if test -f "$dir/$libname.la"; then
6497                       found_la="$dir/$libname.la"
6498                     fi
6499                   fi
6500                   ;;
6501               esac
6502               if test "X$found_dir" != "X"; then
6503                 break
6504               fi
6505             done
6506           fi
6507           if test "X$found_dir" != "X"; then
6508                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6509             if test "X$found_so" != "X"; then
6510                                                         if test "$enable_rpath" = no \
6511                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6512                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6513                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6514               else
6515                                                                                 haveit=
6516                 for x in $ltrpathdirs; do
6517                   if test "X$x" = "X$found_dir"; then
6518                     haveit=yes
6519                     break
6520                   fi
6521                 done
6522                 if test -z "$haveit"; then
6523                   ltrpathdirs="$ltrpathdirs $found_dir"
6524                 fi
6525                                 if test "$acl_hardcode_direct" = yes; then
6526                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6527                 else
6528                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6529                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6530                                                             haveit=
6531                     for x in $rpathdirs; do
6532                       if test "X$x" = "X$found_dir"; then
6533                         haveit=yes
6534                         break
6535                       fi
6536                     done
6537                     if test -z "$haveit"; then
6538                       rpathdirs="$rpathdirs $found_dir"
6539                     fi
6540                   else
6541                                                                                 haveit=
6542                     for x in $LDFLAGS $LIBINTL; do
6543
6544   acl_save_prefix="$prefix"
6545   prefix="$acl_final_prefix"
6546   acl_save_exec_prefix="$exec_prefix"
6547   exec_prefix="$acl_final_exec_prefix"
6548   eval x=\"$x\"
6549   exec_prefix="$acl_save_exec_prefix"
6550   prefix="$acl_save_prefix"
6551
6552                       if test "X$x" = "X-L$found_dir"; then
6553                         haveit=yes
6554                         break
6555                       fi
6556                     done
6557                     if test -z "$haveit"; then
6558                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6559                     fi
6560                     if test "$acl_hardcode_minus_L" != no; then
6561                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6562                     else
6563                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6564                     fi
6565                   fi
6566                 fi
6567               fi
6568             else
6569               if test "X$found_a" != "X"; then
6570                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6571               else
6572                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6573               fi
6574             fi
6575                         additional_includedir=
6576             case "$found_dir" in
6577               */$acl_libdirstem | */$acl_libdirstem/)
6578                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6579                 if test "$name" = 'intl'; then
6580                   LIBINTL_PREFIX="$basedir"
6581                 fi
6582                 additional_includedir="$basedir/include"
6583                 ;;
6584               */$acl_libdirstem2 | */$acl_libdirstem2/)
6585                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6586                 if test "$name" = 'intl'; then
6587                   LIBINTL_PREFIX="$basedir"
6588                 fi
6589                 additional_includedir="$basedir/include"
6590                 ;;
6591             esac
6592             if test "X$additional_includedir" != "X"; then
6593                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
6594                 haveit=
6595                 if test "X$additional_includedir" = "X/usr/local/include"; then
6596                   if test -n "$GCC"; then
6597                     case $host_os in
6598                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6599                     esac
6600                   fi
6601                 fi
6602                 if test -z "$haveit"; then
6603                   for x in $CPPFLAGS $INCINTL; do
6604
6605   acl_save_prefix="$prefix"
6606   prefix="$acl_final_prefix"
6607   acl_save_exec_prefix="$exec_prefix"
6608   exec_prefix="$acl_final_exec_prefix"
6609   eval x=\"$x\"
6610   exec_prefix="$acl_save_exec_prefix"
6611   prefix="$acl_save_prefix"
6612
6613                     if test "X$x" = "X-I$additional_includedir"; then
6614                       haveit=yes
6615                       break
6616                     fi
6617                   done
6618                   if test -z "$haveit"; then
6619                     if test -d "$additional_includedir"; then
6620                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6621                     fi
6622                   fi
6623                 fi
6624               fi
6625             fi
6626                         if test -n "$found_la"; then
6627                                                         save_libdir="$libdir"
6628               case "$found_la" in
6629                 */* | *\\*) . "$found_la" ;;
6630                 *) . "./$found_la" ;;
6631               esac
6632               libdir="$save_libdir"
6633                             for dep in $dependency_libs; do
6634                 case "$dep" in
6635                   -L*)
6636                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6637                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6638                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6639                       haveit=
6640                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6641                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6642                         if test -n "$GCC"; then
6643                           case $host_os in
6644                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6645                           esac
6646                         fi
6647                       fi
6648                       if test -z "$haveit"; then
6649                         haveit=
6650                         for x in $LDFLAGS $LIBINTL; do
6651
6652   acl_save_prefix="$prefix"
6653   prefix="$acl_final_prefix"
6654   acl_save_exec_prefix="$exec_prefix"
6655   exec_prefix="$acl_final_exec_prefix"
6656   eval x=\"$x\"
6657   exec_prefix="$acl_save_exec_prefix"
6658   prefix="$acl_save_prefix"
6659
6660                           if test "X$x" = "X-L$additional_libdir"; then
6661                             haveit=yes
6662                             break
6663                           fi
6664                         done
6665                         if test -z "$haveit"; then
6666                           if test -d "$additional_libdir"; then
6667                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6668                           fi
6669                         fi
6670                         haveit=
6671                         for x in $LDFLAGS $LTLIBINTL; do
6672
6673   acl_save_prefix="$prefix"
6674   prefix="$acl_final_prefix"
6675   acl_save_exec_prefix="$exec_prefix"
6676   exec_prefix="$acl_final_exec_prefix"
6677   eval x=\"$x\"
6678   exec_prefix="$acl_save_exec_prefix"
6679   prefix="$acl_save_prefix"
6680
6681                           if test "X$x" = "X-L$additional_libdir"; then
6682                             haveit=yes
6683                             break
6684                           fi
6685                         done
6686                         if test -z "$haveit"; then
6687                           if test -d "$additional_libdir"; then
6688                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6689                           fi
6690                         fi
6691                       fi
6692                     fi
6693                     ;;
6694                   -R*)
6695                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
6696                     if test "$enable_rpath" != no; then
6697                                                                   haveit=
6698                       for x in $rpathdirs; do
6699                         if test "X$x" = "X$dir"; then
6700                           haveit=yes
6701                           break
6702                         fi
6703                       done
6704                       if test -z "$haveit"; then
6705                         rpathdirs="$rpathdirs $dir"
6706                       fi
6707                                                                   haveit=
6708                       for x in $ltrpathdirs; do
6709                         if test "X$x" = "X$dir"; then
6710                           haveit=yes
6711                           break
6712                         fi
6713                       done
6714                       if test -z "$haveit"; then
6715                         ltrpathdirs="$ltrpathdirs $dir"
6716                       fi
6717                     fi
6718                     ;;
6719                   -l*)
6720                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6721                     ;;
6722                   *.la)
6723                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6724                     ;;
6725                   *)
6726                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6727                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6728                     ;;
6729                 esac
6730               done
6731             fi
6732           else
6733                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6734             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6735           fi
6736         fi
6737       fi
6738     done
6739   done
6740   if test "X$rpathdirs" != "X"; then
6741     if test -n "$acl_hardcode_libdir_separator"; then
6742                         alldirs=
6743       for found_dir in $rpathdirs; do
6744         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6745       done
6746             acl_save_libdir="$libdir"
6747       libdir="$alldirs"
6748       eval flag=\"$acl_hardcode_libdir_flag_spec\"
6749       libdir="$acl_save_libdir"
6750       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6751     else
6752             for found_dir in $rpathdirs; do
6753         acl_save_libdir="$libdir"
6754         libdir="$found_dir"
6755         eval flag=\"$acl_hardcode_libdir_flag_spec\"
6756         libdir="$acl_save_libdir"
6757         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6758       done
6759     fi
6760   fi
6761   if test "X$ltrpathdirs" != "X"; then
6762             for found_dir in $ltrpathdirs; do
6763       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6764     done
6765   fi
6766
6767
6768
6769
6770
6771
6772           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6773 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6774 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6775   $as_echo_n "(cached) " >&6
6776 else
6777   gt_save_CPPFLAGS="$CPPFLAGS"
6778             CPPFLAGS="$CPPFLAGS $INCINTL"
6779             gt_save_LIBS="$LIBS"
6780             LIBS="$LIBS $LIBINTL"
6781                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h.  */
6783 #include <libintl.h>
6784 $gt_revision_test_code
6785 extern int _nl_msg_cat_cntr;
6786 extern
6787 #ifdef __cplusplus
6788 "C"
6789 #endif
6790 const char *_nl_expand_alias (const char *);
6791 int
6792 main ()
6793 {
6794 bindtextdomain ("", "");
6795 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6796   ;
6797   return 0;
6798 }
6799 _ACEOF
6800 if ac_fn_c_try_link "$LINENO"; then :
6801   eval "$gt_func_gnugettext_libintl=yes"
6802 else
6803   eval "$gt_func_gnugettext_libintl=no"
6804 fi
6805 rm -f core conftest.err conftest.$ac_objext \
6806     conftest$ac_exeext conftest.$ac_ext
6807                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6808               LIBS="$LIBS $LIBICONV"
6809               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h.  */
6811 #include <libintl.h>
6812 $gt_revision_test_code
6813 extern int _nl_msg_cat_cntr;
6814 extern
6815 #ifdef __cplusplus
6816 "C"
6817 #endif
6818 const char *_nl_expand_alias (const char *);
6819 int
6820 main ()
6821 {
6822 bindtextdomain ("", "");
6823 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6824   ;
6825   return 0;
6826 }
6827 _ACEOF
6828 if ac_fn_c_try_link "$LINENO"; then :
6829   LIBINTL="$LIBINTL $LIBICONV"
6830                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6831                 eval "$gt_func_gnugettext_libintl=yes"
6832
6833 fi
6834 rm -f core conftest.err conftest.$ac_objext \
6835     conftest$ac_exeext conftest.$ac_ext
6836             fi
6837             CPPFLAGS="$gt_save_CPPFLAGS"
6838             LIBS="$gt_save_LIBS"
6839 fi
6840 eval ac_res=\$$gt_func_gnugettext_libintl
6841                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6842 $as_echo "$ac_res" >&6; }
6843         fi
6844
6845                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6846            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6847                 && test "$PACKAGE" != gettext-runtime \
6848                 && test "$PACKAGE" != gettext-tools; }; then
6849           gt_use_preinstalled_gnugettext=yes
6850         else
6851                     LIBINTL=
6852           LTLIBINTL=
6853           INCINTL=
6854         fi
6855
6856
6857
6858     if test -n "$INTL_MACOSX_LIBS"; then
6859       if test "$gt_use_preinstalled_gnugettext" = "yes" \
6860          || test "$nls_cv_use_gnu_gettext" = "yes"; then
6861                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6862         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6863       fi
6864     fi
6865
6866     if test "$gt_use_preinstalled_gnugettext" = "yes" \
6867        || test "$nls_cv_use_gnu_gettext" = "yes"; then
6868
6869 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6870
6871     else
6872       USE_NLS=no
6873     fi
6874   fi
6875
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6877 $as_echo_n "checking whether to use NLS... " >&6; }
6878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6879 $as_echo "$USE_NLS" >&6; }
6880   if test "$USE_NLS" = "yes"; then
6881     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6882 $as_echo_n "checking where the gettext function comes from... " >&6; }
6883     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6884       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6885         gt_source="external libintl"
6886       else
6887         gt_source="libc"
6888       fi
6889     else
6890       gt_source="included intl directory"
6891     fi
6892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6893 $as_echo "$gt_source" >&6; }
6894   fi
6895
6896   if test "$USE_NLS" = "yes"; then
6897
6898     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6899       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6900         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6901 $as_echo_n "checking how to link with libintl... " >&6; }
6902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6903 $as_echo "$LIBINTL" >&6; }
6904
6905   for element in $INCINTL; do
6906     haveit=
6907     for x in $CPPFLAGS; do
6908
6909   acl_save_prefix="$prefix"
6910   prefix="$acl_final_prefix"
6911   acl_save_exec_prefix="$exec_prefix"
6912   exec_prefix="$acl_final_exec_prefix"
6913   eval x=\"$x\"
6914   exec_prefix="$acl_save_exec_prefix"
6915   prefix="$acl_save_prefix"
6916
6917       if test "X$x" = "X$element"; then
6918         haveit=yes
6919         break
6920       fi
6921     done
6922     if test -z "$haveit"; then
6923       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6924     fi
6925   done
6926
6927       fi
6928
6929
6930 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6931
6932
6933 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6934
6935     fi
6936
6937         POSUB=po
6938   fi
6939
6940
6941
6942     INTLLIBS="$LIBINTL"
6943
6944
6945
6946
6947
6948
6949
6950 ############### common
6951
6952 # Checks sensors, required by psensor and psensor-server
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
6954 $as_echo_n "checking for sensors_init in -lsensors... " >&6; }
6955 if ${ac_cv_lib_sensors_sensors_init+:} false; then :
6956   $as_echo_n "(cached) " >&6
6957 else
6958   ac_check_lib_save_LIBS=$LIBS
6959 LIBS="-lsensors  $LIBS"
6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h.  */
6962
6963 /* Override any GCC internal prototype to avoid an error.
6964    Use char because int might match the return type of a GCC
6965    builtin and then its argument prototype would still apply.  */
6966 #ifdef __cplusplus
6967 extern "C"
6968 #endif
6969 char sensors_init ();
6970 int
6971 main ()
6972 {
6973 return sensors_init ();
6974   ;
6975   return 0;
6976 }
6977 _ACEOF
6978 if ac_fn_c_try_link "$LINENO"; then :
6979   ac_cv_lib_sensors_sensors_init=yes
6980 else
6981   ac_cv_lib_sensors_sensors_init=no
6982 fi
6983 rm -f core conftest.err conftest.$ac_objext \
6984     conftest$ac_exeext conftest.$ac_ext
6985 LIBS=$ac_check_lib_save_LIBS
6986 fi
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
6988 $as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
6989 if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
6990   cat >>confdefs.h <<_ACEOF
6991 #define HAVE_LIBSENSORS 1
6992 _ACEOF
6993
6994   LIBS="-lsensors $LIBS"
6995
6996 fi
6997
6998 for ac_header in sensors/sensors.h sensors/errors.h
6999 do :
7000   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7001 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7003   cat >>confdefs.h <<_ACEOF
7004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7005 _ACEOF
7006
7007 fi
7008
7009 done
7010
7011 SENSORS_LIBS=-lsensors
7012
7013
7014 ############### psensor
7015
7016 ### Required
7017
7018
7019
7020
7021
7022
7023
7024
7025 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7026         if test -n "$ac_tool_prefix"; then
7027   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7028 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7032   $as_echo_n "(cached) " >&6
7033 else
7034   case $PKG_CONFIG in
7035   [\\/]* | ?:[\\/]*)
7036   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7037   ;;
7038   *)
7039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 for as_dir in $PATH
7041 do
7042   IFS=$as_save_IFS
7043   test -z "$as_dir" && as_dir=.
7044     for ac_exec_ext in '' $ac_executable_extensions; do
7045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048     break 2
7049   fi
7050 done
7051   done
7052 IFS=$as_save_IFS
7053
7054   ;;
7055 esac
7056 fi
7057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7058 if test -n "$PKG_CONFIG"; then
7059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7060 $as_echo "$PKG_CONFIG" >&6; }
7061 else
7062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063 $as_echo "no" >&6; }
7064 fi
7065
7066
7067 fi
7068 if test -z "$ac_cv_path_PKG_CONFIG"; then
7069   ac_pt_PKG_CONFIG=$PKG_CONFIG
7070   # Extract the first word of "pkg-config", so it can be a program name with args.
7071 set dummy pkg-config; ac_word=$2
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073 $as_echo_n "checking for $ac_word... " >&6; }
7074 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7075   $as_echo_n "(cached) " >&6
7076 else
7077   case $ac_pt_PKG_CONFIG in
7078   [\\/]* | ?:[\\/]*)
7079   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7080   ;;
7081   *)
7082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 for as_dir in $PATH
7084 do
7085   IFS=$as_save_IFS
7086   test -z "$as_dir" && as_dir=.
7087     for ac_exec_ext in '' $ac_executable_extensions; do
7088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7089     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091     break 2
7092   fi
7093 done
7094   done
7095 IFS=$as_save_IFS
7096
7097   ;;
7098 esac
7099 fi
7100 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7101 if test -n "$ac_pt_PKG_CONFIG"; then
7102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7103 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7104 else
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7107 fi
7108
7109   if test "x$ac_pt_PKG_CONFIG" = x; then
7110     PKG_CONFIG=""
7111   else
7112     case $cross_compiling:$ac_tool_warned in
7113 yes:)
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned=yes ;;
7117 esac
7118     PKG_CONFIG=$ac_pt_PKG_CONFIG
7119   fi
7120 else
7121   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7122 fi
7123
7124 fi
7125 if test -n "$PKG_CONFIG"; then
7126         _pkg_min_version=0.9.0
7127         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7128 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7129         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7130                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7131 $as_echo "yes" >&6; }
7132         else
7133                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7135                 PKG_CONFIG=""
7136         fi
7137 fi
7138
7139 pkg_failed=no
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7141 $as_echo_n "checking for X11... " >&6; }
7142
7143 if test -n "$X11_CFLAGS"; then
7144     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7145  elif test -n "$PKG_CONFIG"; then
7146     if test -n "$PKG_CONFIG" && \
7147     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7148   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7149   ac_status=$?
7150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151   test $ac_status = 0; }; then
7152   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
7153                       test "x$?" != "x0" && pkg_failed=yes
7154 else
7155   pkg_failed=yes
7156 fi
7157  else
7158     pkg_failed=untried
7159 fi
7160 if test -n "$X11_LIBS"; then
7161     pkg_cv_X11_LIBS="$X11_LIBS"
7162  elif test -n "$PKG_CONFIG"; then
7163     if test -n "$PKG_CONFIG" && \
7164     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
7165   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
7166   ac_status=$?
7167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7168   test $ac_status = 0; }; then
7169   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
7170                       test "x$?" != "x0" && pkg_failed=yes
7171 else
7172   pkg_failed=yes
7173 fi
7174  else
7175     pkg_failed=untried
7176 fi
7177
7178
7179
7180 if test $pkg_failed = yes; then
7181         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182 $as_echo "no" >&6; }
7183
7184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7185         _pkg_short_errors_supported=yes
7186 else
7187         _pkg_short_errors_supported=no
7188 fi
7189         if test $_pkg_short_errors_supported = yes; then
7190                 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7191         else
7192                 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7193         fi
7194         # Put the nasty error message in config.log where it belongs
7195         echo "$X11_PKG_ERRORS" >&5
7196
7197         as_fn_error $? "Package requirements (x11) were not met:
7198
7199 $X11_PKG_ERRORS
7200
7201 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7202 installed software in a non-standard prefix.
7203
7204 Alternatively, you may set the environment variables X11_CFLAGS
7205 and X11_LIBS to avoid the need to call pkg-config.
7206 See the pkg-config man page for more details." "$LINENO" 5
7207 elif test $pkg_failed = untried; then
7208         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7210         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7212 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7213 is in your PATH or set the PKG_CONFIG environment variable to the full
7214 path to pkg-config.
7215
7216 Alternatively, you may set the environment variables X11_CFLAGS
7217 and X11_LIBS to avoid the need to call pkg-config.
7218 See the pkg-config man page for more details.
7219
7220 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7221 See \`config.log' for more details" "$LINENO" 5; }
7222 else
7223         X11_CFLAGS=$pkg_cv_X11_CFLAGS
7224         X11_LIBS=$pkg_cv_X11_LIBS
7225         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7226 $as_echo "yes" >&6; }
7227
7228 fi
7229
7230
7231
7232
7233 pkg_failed=no
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
7235 $as_echo_n "checking for XEXT... " >&6; }
7236
7237 if test -n "$XEXT_CFLAGS"; then
7238     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
7239  elif test -n "$PKG_CONFIG"; then
7240     if test -n "$PKG_CONFIG" && \
7241     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7242   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7243   ac_status=$?
7244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7245   test $ac_status = 0; }; then
7246   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
7247                       test "x$?" != "x0" && pkg_failed=yes
7248 else
7249   pkg_failed=yes
7250 fi
7251  else
7252     pkg_failed=untried
7253 fi
7254 if test -n "$XEXT_LIBS"; then
7255     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
7256  elif test -n "$PKG_CONFIG"; then
7257     if test -n "$PKG_CONFIG" && \
7258     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
7259   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
7260   ac_status=$?
7261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7262   test $ac_status = 0; }; then
7263   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
7264                       test "x$?" != "x0" && pkg_failed=yes
7265 else
7266   pkg_failed=yes
7267 fi
7268  else
7269     pkg_failed=untried
7270 fi
7271
7272
7273
7274 if test $pkg_failed = yes; then
7275         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7277
7278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7279         _pkg_short_errors_supported=yes
7280 else
7281         _pkg_short_errors_supported=no
7282 fi
7283         if test $_pkg_short_errors_supported = yes; then
7284                 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7285         else
7286                 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7287         fi
7288         # Put the nasty error message in config.log where it belongs
7289         echo "$XEXT_PKG_ERRORS" >&5
7290
7291         as_fn_error $? "Package requirements (xext) were not met:
7292
7293 $XEXT_PKG_ERRORS
7294
7295 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7296 installed software in a non-standard prefix.
7297
7298 Alternatively, you may set the environment variables XEXT_CFLAGS
7299 and XEXT_LIBS to avoid the need to call pkg-config.
7300 See the pkg-config man page for more details." "$LINENO" 5
7301 elif test $pkg_failed = untried; then
7302         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7304         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7306 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7307 is in your PATH or set the PKG_CONFIG environment variable to the full
7308 path to pkg-config.
7309
7310 Alternatively, you may set the environment variables XEXT_CFLAGS
7311 and XEXT_LIBS to avoid the need to call pkg-config.
7312 See the pkg-config man page for more details.
7313
7314 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7315 See \`config.log' for more details" "$LINENO" 5; }
7316 else
7317         XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7318         XEXT_LIBS=$pkg_cv_XEXT_LIBS
7319         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7320 $as_echo "yes" >&6; }
7321
7322 fi
7323
7324
7325
7326 # Checks GTK
7327 GTK_LIBS=
7328
7329 pkg_failed=no
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7331 $as_echo_n "checking for GTK... " >&6; }
7332
7333 if test -n "$GTK_CFLAGS"; then
7334     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7335  elif test -n "$PKG_CONFIG"; then
7336     if test -n "$PKG_CONFIG" && \
7337     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7338   ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7339   ac_status=$?
7340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7341   test $ac_status = 0; }; then
7342   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
7343                       test "x$?" != "x0" && pkg_failed=yes
7344 else
7345   pkg_failed=yes
7346 fi
7347  else
7348     pkg_failed=untried
7349 fi
7350 if test -n "$GTK_LIBS"; then
7351     pkg_cv_GTK_LIBS="$GTK_LIBS"
7352  elif test -n "$PKG_CONFIG"; then
7353     if test -n "$PKG_CONFIG" && \
7354     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7355   ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7356   ac_status=$?
7357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7358   test $ac_status = 0; }; then
7359   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
7360                       test "x$?" != "x0" && pkg_failed=yes
7361 else
7362   pkg_failed=yes
7363 fi
7364  else
7365     pkg_failed=untried
7366 fi
7367
7368
7369
7370 if test $pkg_failed = yes; then
7371         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7373
7374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7375         _pkg_short_errors_supported=yes
7376 else
7377         _pkg_short_errors_supported=no
7378 fi
7379         if test $_pkg_short_errors_supported = yes; then
7380                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
7381         else
7382                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
7383         fi
7384         # Put the nasty error message in config.log where it belongs
7385         echo "$GTK_PKG_ERRORS" >&5
7386
7387         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"GTK+ 3 not present\"" >&5
7388 $as_echo "$as_me: WARNING: \"GTK+ 3 not present\"" >&2;}
7389 elif test $pkg_failed = untried; then
7390         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391 $as_echo "no" >&6; }
7392         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"GTK+ 3 not present\"" >&5
7393 $as_echo "$as_me: WARNING: \"GTK+ 3 not present\"" >&2;}
7394 else
7395         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7396         GTK_LIBS=$pkg_cv_GTK_LIBS
7397         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7398 $as_echo "yes" >&6; }
7399
7400 $as_echo "#define HAVE_GTK3 1" >>confdefs.h
7401
7402 fi
7403  if test -n "$GTK_LIBS"; then
7404   GTK_TRUE=
7405   GTK_FALSE='#'
7406 else
7407   GTK_TRUE='#'
7408   GTK_FALSE=
7409 fi
7410
7411
7412
7413
7414 if test "$GTK_LIBS" == ""; then
7415
7416 pkg_failed=no
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7418 $as_echo_n "checking for GTK... " >&6; }
7419
7420 if test -n "$GTK_CFLAGS"; then
7421     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7422  elif test -n "$PKG_CONFIG"; then
7423     if test -n "$PKG_CONFIG" && \
7424     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
7425   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
7426   ac_status=$?
7427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7428   test $ac_status = 0; }; then
7429   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
7430                       test "x$?" != "x0" && pkg_failed=yes
7431 else
7432   pkg_failed=yes
7433 fi
7434  else
7435     pkg_failed=untried
7436 fi
7437 if test -n "$GTK_LIBS"; then
7438     pkg_cv_GTK_LIBS="$GTK_LIBS"
7439  elif test -n "$PKG_CONFIG"; then
7440     if test -n "$PKG_CONFIG" && \
7441     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
7442   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
7443   ac_status=$?
7444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7445   test $ac_status = 0; }; then
7446   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
7447                       test "x$?" != "x0" && pkg_failed=yes
7448 else
7449   pkg_failed=yes
7450 fi
7451  else
7452     pkg_failed=untried
7453 fi
7454
7455
7456
7457 if test $pkg_failed = yes; then
7458         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }
7460
7461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7462         _pkg_short_errors_supported=yes
7463 else
7464         _pkg_short_errors_supported=no
7465 fi
7466         if test $_pkg_short_errors_supported = yes; then
7467                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
7468         else
7469                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
7470         fi
7471         # Put the nasty error message in config.log where it belongs
7472         echo "$GTK_PKG_ERRORS" >&5
7473
7474         as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
7475
7476 $GTK_PKG_ERRORS
7477
7478 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7479 installed software in a non-standard prefix.
7480
7481 Alternatively, you may set the environment variables GTK_CFLAGS
7482 and GTK_LIBS to avoid the need to call pkg-config.
7483 See the pkg-config man page for more details." "$LINENO" 5
7484 elif test $pkg_failed = untried; then
7485         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7487         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7489 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7490 is in your PATH or set the PKG_CONFIG environment variable to the full
7491 path to pkg-config.
7492
7493 Alternatively, you may set the environment variables GTK_CFLAGS
7494 and GTK_LIBS to avoid the need to call pkg-config.
7495 See the pkg-config man page for more details.
7496
7497 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7498 See \`config.log' for more details" "$LINENO" 5; }
7499 else
7500         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7501         GTK_LIBS=$pkg_cv_GTK_LIBS
7502         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7503 $as_echo "yes" >&6; }
7504
7505 fi
7506     if test -n "$GTK_LIBS"; then
7507   GTK_TRUE=
7508   GTK_FALSE='#'
7509 else
7510   GTK_TRUE='#'
7511   GTK_FALSE=
7512 fi
7513
7514
7515
7516 fi
7517
7518 # Check GCONF
7519
7520 pkg_failed=no
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
7522 $as_echo_n "checking for GCONF... " >&6; }
7523
7524 if test -n "$GCONF_CFLAGS"; then
7525     pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
7526  elif test -n "$PKG_CONFIG"; then
7527     if test -n "$PKG_CONFIG" && \
7528     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
7529   ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
7530   ac_status=$?
7531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7532   test $ac_status = 0; }; then
7533   pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
7534                       test "x$?" != "x0" && pkg_failed=yes
7535 else
7536   pkg_failed=yes
7537 fi
7538  else
7539     pkg_failed=untried
7540 fi
7541 if test -n "$GCONF_LIBS"; then
7542     pkg_cv_GCONF_LIBS="$GCONF_LIBS"
7543  elif test -n "$PKG_CONFIG"; then
7544     if test -n "$PKG_CONFIG" && \
7545     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
7546   ($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
7547   ac_status=$?
7548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7549   test $ac_status = 0; }; then
7550   pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
7551                       test "x$?" != "x0" && pkg_failed=yes
7552 else
7553   pkg_failed=yes
7554 fi
7555  else
7556     pkg_failed=untried
7557 fi
7558
7559
7560
7561 if test $pkg_failed = yes; then
7562         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7564
7565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7566         _pkg_short_errors_supported=yes
7567 else
7568         _pkg_short_errors_supported=no
7569 fi
7570         if test $_pkg_short_errors_supported = yes; then
7571                 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
7572         else
7573                 GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
7574         fi
7575         # Put the nasty error message in config.log where it belongs
7576         echo "$GCONF_PKG_ERRORS" >&5
7577
7578         as_fn_error $? "Package requirements (gconf-2.0) were not met:
7579
7580 $GCONF_PKG_ERRORS
7581
7582 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7583 installed software in a non-standard prefix.
7584
7585 Alternatively, you may set the environment variables GCONF_CFLAGS
7586 and GCONF_LIBS to avoid the need to call pkg-config.
7587 See the pkg-config man page for more details." "$LINENO" 5
7588 elif test $pkg_failed = untried; then
7589         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7591         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7593 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7594 is in your PATH or set the PKG_CONFIG environment variable to the full
7595 path to pkg-config.
7596
7597 Alternatively, you may set the environment variables GCONF_CFLAGS
7598 and GCONF_LIBS to avoid the need to call pkg-config.
7599 See the pkg-config man page for more details.
7600
7601 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7602 See \`config.log' for more details" "$LINENO" 5; }
7603 else
7604         GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
7605         GCONF_LIBS=$pkg_cv_GCONF_LIBS
7606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7607 $as_echo "yes" >&6; }
7608
7609 fi
7610
7611
7612
7613 ### Optional
7614
7615 # Check libnotify
7616 LIBNOTIFY_LIBS=
7617
7618 pkg_failed=no
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
7620 $as_echo_n "checking for LIBNOTIFY... " >&6; }
7621
7622 if test -n "$LIBNOTIFY_CFLAGS"; then
7623     pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
7624  elif test -n "$PKG_CONFIG"; then
7625     if test -n "$PKG_CONFIG" && \
7626     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7627   ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7628   ac_status=$?
7629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7630   test $ac_status = 0; }; then
7631   pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
7632                       test "x$?" != "x0" && pkg_failed=yes
7633 else
7634   pkg_failed=yes
7635 fi
7636  else
7637     pkg_failed=untried
7638 fi
7639 if test -n "$LIBNOTIFY_LIBS"; then
7640     pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
7641  elif test -n "$PKG_CONFIG"; then
7642     if test -n "$PKG_CONFIG" && \
7643     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
7644   ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
7645   ac_status=$?
7646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7647   test $ac_status = 0; }; then
7648   pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
7649                       test "x$?" != "x0" && pkg_failed=yes
7650 else
7651   pkg_failed=yes
7652 fi
7653  else
7654     pkg_failed=untried
7655 fi
7656
7657
7658
7659 if test $pkg_failed = yes; then
7660         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7662
7663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7664         _pkg_short_errors_supported=yes
7665 else
7666         _pkg_short_errors_supported=no
7667 fi
7668         if test $_pkg_short_errors_supported = yes; then
7669                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7670         else
7671                 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7672         fi
7673         # Put the nasty error message in config.log where it belongs
7674         echo "$LIBNOTIFY_PKG_ERRORS" >&5
7675
7676         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7677 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7678 elif test $pkg_failed = untried; then
7679         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 $as_echo "no" >&6; }
7681         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Desktop notification disabled\"" >&5
7682 $as_echo "$as_me: WARNING: \"Desktop notification disabled\"" >&2;}
7683 else
7684         LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
7685         LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
7686         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7687 $as_echo "yes" >&6; }
7688
7689 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
7690
7691 fi
7692  if test -n "$LIBNOTIFY_LIBS"; then
7693   LIBNOTIFY_TRUE=
7694   LIBNOTIFY_FALSE='#'
7695 else
7696   LIBNOTIFY_TRUE='#'
7697   LIBNOTIFY_FALSE=
7698 fi
7699
7700
7701
7702
7703 # Checks AppIndicator
7704 APPINDICATOR_LIBS=
7705
7706
7707 pkg_failed=no
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7709 $as_echo_n "checking for APPINDICATOR... " >&6; }
7710
7711 if test -n "$APPINDICATOR_CFLAGS"; then
7712     pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7713  elif test -n "$PKG_CONFIG"; then
7714     if test -n "$PKG_CONFIG" && \
7715     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7716   ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7717   ac_status=$?
7718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7719   test $ac_status = 0; }; then
7720   pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7721                       test "x$?" != "x0" && pkg_failed=yes
7722 else
7723   pkg_failed=yes
7724 fi
7725  else
7726     pkg_failed=untried
7727 fi
7728 if test -n "$APPINDICATOR_LIBS"; then
7729     pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7730  elif test -n "$PKG_CONFIG"; then
7731     if test -n "$PKG_CONFIG" && \
7732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7733   ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7734   ac_status=$?
7735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7736   test $ac_status = 0; }; then
7737   pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7738                       test "x$?" != "x0" && pkg_failed=yes
7739 else
7740   pkg_failed=yes
7741 fi
7742  else
7743     pkg_failed=untried
7744 fi
7745
7746
7747
7748 if test $pkg_failed = yes; then
7749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7751
7752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7753         _pkg_short_errors_supported=yes
7754 else
7755         _pkg_short_errors_supported=no
7756 fi
7757         if test $_pkg_short_errors_supported = yes; then
7758                 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7759         else
7760                 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7761         fi
7762         # Put the nasty error message in config.log where it belongs
7763         echo "$APPINDICATOR_PKG_ERRORS" >&5
7764
7765         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7766 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7767 elif test $pkg_failed = untried; then
7768         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7770         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7771 $as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7772 else
7773         APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7774         APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7775         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7776 $as_echo "yes" >&6; }
7777
7778 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7779
7780 fi
7781
7782 if test "$APPINDICATOR_LIBS" == ""; then
7783
7784 pkg_failed=no
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7786 $as_echo_n "checking for APPINDICATOR... " >&6; }
7787
7788 if test -n "$APPINDICATOR_CFLAGS"; then
7789     pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7790  elif test -n "$PKG_CONFIG"; then
7791     if test -n "$PKG_CONFIG" && \
7792     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7793   ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7794   ac_status=$?
7795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7796   test $ac_status = 0; }; then
7797   pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7798                       test "x$?" != "x0" && pkg_failed=yes
7799 else
7800   pkg_failed=yes
7801 fi
7802  else
7803     pkg_failed=untried
7804 fi
7805 if test -n "$APPINDICATOR_LIBS"; then
7806     pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7807  elif test -n "$PKG_CONFIG"; then
7808     if test -n "$PKG_CONFIG" && \
7809     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7810   ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7811   ac_status=$?
7812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7813   test $ac_status = 0; }; then
7814   pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7815                       test "x$?" != "x0" && pkg_failed=yes
7816 else
7817   pkg_failed=yes
7818 fi
7819  else
7820     pkg_failed=untried
7821 fi
7822
7823
7824
7825 if test $pkg_failed = yes; then
7826         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7828
7829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7830         _pkg_short_errors_supported=yes
7831 else
7832         _pkg_short_errors_supported=no
7833 fi
7834         if test $_pkg_short_errors_supported = yes; then
7835                 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7836         else
7837                 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7838         fi
7839         # Put the nasty error message in config.log where it belongs
7840         echo "$APPINDICATOR_PKG_ERRORS" >&5
7841
7842         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7843 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7844 elif test $pkg_failed = untried; then
7845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846 $as_echo "no" >&6; }
7847         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 0.2.9 not present\"" >&5
7848 $as_echo "$as_me: WARNING: AppIndicator 0.2.9 not present\"" >&2;}
7849 else
7850         APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7851         APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7853 $as_echo "yes" >&6; }
7854
7855 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7856
7857
7858 $as_echo "#define HAVE_APPINDICATOR_029 1" >>confdefs.h
7859
7860
7861 fi
7862 fi
7863
7864 if test "$APPINDICATOR_LIBS" == ""; then
7865
7866 pkg_failed=no
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7868 $as_echo_n "checking for APPINDICATOR... " >&6; }
7869
7870 if test -n "$APPINDICATOR_CFLAGS"; then
7871     pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7872  elif test -n "$PKG_CONFIG"; then
7873     if test -n "$PKG_CONFIG" && \
7874     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7875   ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7876   ac_status=$?
7877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7878   test $ac_status = 0; }; then
7879   pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
7880                       test "x$?" != "x0" && pkg_failed=yes
7881 else
7882   pkg_failed=yes
7883 fi
7884  else
7885     pkg_failed=untried
7886 fi
7887 if test -n "$APPINDICATOR_LIBS"; then
7888     pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7889  elif test -n "$PKG_CONFIG"; then
7890     if test -n "$PKG_CONFIG" && \
7891     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 > 0.2.9\""; } >&5
7892   ($PKG_CONFIG --exists --print-errors "appindicator-0.1 > 0.2.9") 2>&5
7893   ac_status=$?
7894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7895   test $ac_status = 0; }; then
7896   pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
7897                       test "x$?" != "x0" && pkg_failed=yes
7898 else
7899   pkg_failed=yes
7900 fi
7901  else
7902     pkg_failed=untried
7903 fi
7904
7905
7906
7907 if test $pkg_failed = yes; then
7908         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7910
7911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7912         _pkg_short_errors_supported=yes
7913 else
7914         _pkg_short_errors_supported=no
7915 fi
7916         if test $_pkg_short_errors_supported = yes; then
7917                 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7918         else
7919                 APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7920         fi
7921         # Put the nasty error message in config.log where it belongs
7922         echo "$APPINDICATOR_PKG_ERRORS" >&5
7923
7924         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7925 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7926 elif test $pkg_failed = untried; then
7927         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7929         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"AppIndicator > 0.2.9 not present\"" >&5
7930 $as_echo "$as_me: WARNING: \"AppIndicator > 0.2.9 not present\"" >&2;}
7931 else
7932         APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7933         APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7935 $as_echo "yes" >&6; }
7936
7937 $as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7938
7939 fi
7940 fi
7941  if test -n "$APPINDICATOR_LIBS"; then
7942   APPINDICATOR_TRUE=
7943   APPINDICATOR_FALSE='#'
7944 else
7945   APPINDICATOR_TRUE='#'
7946   APPINDICATOR_FALSE=
7947 fi
7948
7949
7950
7951
7952 # Check CURL, needed for remote monitoring
7953 CURL_LIBS=
7954
7955 pkg_failed=no
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
7957 $as_echo_n "checking for CURL... " >&6; }
7958
7959 if test -n "$CURL_CFLAGS"; then
7960     pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
7961  elif test -n "$PKG_CONFIG"; then
7962     if test -n "$PKG_CONFIG" && \
7963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7964   ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7965   ac_status=$?
7966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7967   test $ac_status = 0; }; then
7968   pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
7969                       test "x$?" != "x0" && pkg_failed=yes
7970 else
7971   pkg_failed=yes
7972 fi
7973  else
7974     pkg_failed=untried
7975 fi
7976 if test -n "$CURL_LIBS"; then
7977     pkg_cv_CURL_LIBS="$CURL_LIBS"
7978  elif test -n "$PKG_CONFIG"; then
7979     if test -n "$PKG_CONFIG" && \
7980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
7981   ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
7982   ac_status=$?
7983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7984   test $ac_status = 0; }; then
7985   pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
7986                       test "x$?" != "x0" && pkg_failed=yes
7987 else
7988   pkg_failed=yes
7989 fi
7990  else
7991     pkg_failed=untried
7992 fi
7993
7994
7995
7996 if test $pkg_failed = yes; then
7997         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
7999
8000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8001         _pkg_short_errors_supported=yes
8002 else
8003         _pkg_short_errors_supported=no
8004 fi
8005         if test $_pkg_short_errors_supported = yes; then
8006                 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
8007         else
8008                 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
8009         fi
8010         # Put the nasty error message in config.log where it belongs
8011         echo "$CURL_PKG_ERRORS" >&5
8012
8013         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8014 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8015 elif test $pkg_failed = untried; then
8016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8017 $as_echo "no" >&6; }
8018         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8019 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8020 else
8021         CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
8022         CURL_LIBS=$pkg_cv_CURL_LIBS
8023         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8024 $as_echo "yes" >&6; }
8025
8026 $as_echo "#define HAVE_CURL 1" >>confdefs.h
8027
8028 fi
8029  if test -n "$CURL_LIBS"; then
8030   CURL_TRUE=
8031   CURL_FALSE='#'
8032 else
8033   CURL_TRUE='#'
8034   CURL_FALSE=
8035 fi
8036
8037
8038
8039
8040 # Check JSON, needed for remote monitoring
8041 JSON_LIBS=
8042
8043 pkg_failed=no
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
8045 $as_echo_n "checking for JSON... " >&6; }
8046
8047 if test -n "$JSON_CFLAGS"; then
8048     pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
8049  elif test -n "$PKG_CONFIG"; then
8050     if test -n "$PKG_CONFIG" && \
8051     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8052   ($PKG_CONFIG --exists --print-errors "json") 2>&5
8053   ac_status=$?
8054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8055   test $ac_status = 0; }; then
8056   pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
8057                       test "x$?" != "x0" && pkg_failed=yes
8058 else
8059   pkg_failed=yes
8060 fi
8061  else
8062     pkg_failed=untried
8063 fi
8064 if test -n "$JSON_LIBS"; then
8065     pkg_cv_JSON_LIBS="$JSON_LIBS"
8066  elif test -n "$PKG_CONFIG"; then
8067     if test -n "$PKG_CONFIG" && \
8068     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
8069   ($PKG_CONFIG --exists --print-errors "json") 2>&5
8070   ac_status=$?
8071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8072   test $ac_status = 0; }; then
8073   pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
8074                       test "x$?" != "x0" && pkg_failed=yes
8075 else
8076   pkg_failed=yes
8077 fi
8078  else
8079     pkg_failed=untried
8080 fi
8081
8082
8083
8084 if test $pkg_failed = yes; then
8085         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8087
8088 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8089         _pkg_short_errors_supported=yes
8090 else
8091         _pkg_short_errors_supported=no
8092 fi
8093         if test $_pkg_short_errors_supported = yes; then
8094                 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
8095         else
8096                 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
8097         fi
8098         # Put the nasty error message in config.log where it belongs
8099         echo "$JSON_PKG_ERRORS" >&5
8100
8101         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8102 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8103 elif test $pkg_failed = untried; then
8104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8106         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Remote monitoring disabled" >&5
8107 $as_echo "$as_me: WARNING: \"Remote monitoring disabled" >&2;}
8108 else
8109         JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
8110         JSON_LIBS=$pkg_cv_JSON_LIBS
8111         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8112 $as_echo "yes" >&6; }
8113
8114 $as_echo "#define HAVE_JSON 1" >>confdefs.h
8115
8116 fi
8117  if test -n "$JSON_LIBS"; then
8118   JSON_TRUE=
8119   JSON_FALSE='#'
8120 else
8121   JSON_TRUE='#'
8122   JSON_FALSE=
8123 fi
8124
8125
8126
8127
8128 # Enables remote monitoring if JSON and CURL is present
8129 if test -n "$JSON_LIBS"; then
8130    if test -n "$CURL_LIBS"; then
8131
8132 $as_echo "#define HAVE_REMOTE_SUPPORT 1" >>confdefs.h
8133
8134    fi
8135 fi
8136
8137 # Checks NVIDIA
8138 # following code from sensors-applet
8139 # sensors-applet.sourceforge.net/
8140 for ac_header in NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h
8141 do :
8142   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8143 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
8144                   #include <X11/Xlib.h>
8145
8146 "
8147 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8148   cat >>confdefs.h <<_ACEOF
8149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8150 _ACEOF
8151   HAVE_NVIDIA=true
8152 fi
8153
8154 done
8155
8156 if test -n "${X11_LIBS}"; then
8157 LIBS="${LIBS} -lX11 -lXext"
8158
8159 if test "${HAVE_NVIDIA}" = "true"; then
8160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
8161 $as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
8162 if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
8163   $as_echo_n "(cached) " >&6
8164 else
8165   ac_check_lib_save_LIBS=$LIBS
8166 LIBS="-lXNVCtrl  $LIBS"
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h.  */
8169
8170 /* Override any GCC internal prototype to avoid an error.
8171    Use char because int might match the return type of a GCC
8172    builtin and then its argument prototype would still apply.  */
8173 #ifdef __cplusplus
8174 extern "C"
8175 #endif
8176 char XNVCTRLQueryExtension ();
8177 int
8178 main ()
8179 {
8180 return XNVCTRLQueryExtension ();
8181   ;
8182   return 0;
8183 }
8184 _ACEOF
8185 if ac_fn_c_try_link "$LINENO"; then :
8186   ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=yes
8187 else
8188   ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension=no
8189 fi
8190 rm -f core conftest.err conftest.$ac_objext \
8191     conftest$ac_exeext conftest.$ac_ext
8192 LIBS=$ac_check_lib_save_LIBS
8193 fi
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
8195 $as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
8196 if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
8197   NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
8198
8199 $as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
8200
8201
8202 fi
8203
8204 fi
8205 fi
8206  if test -n "$NVIDIA_LIBS"; then
8207   NVIDIA_TRUE=
8208   NVIDIA_FALSE='#'
8209 else
8210   NVIDIA_TRUE='#'
8211   NVIDIA_FALSE=
8212 fi
8213
8214
8215
8216
8217 # Checks Unity
8218
8219 pkg_failed=no
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8221 $as_echo_n "checking for UNITY... " >&6; }
8222
8223 if test -n "$UNITY_CFLAGS"; then
8224     pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8225  elif test -n "$PKG_CONFIG"; then
8226     if test -n "$PKG_CONFIG" && \
8227     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8228   ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8229   ac_status=$?
8230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8231   test $ac_status = 0; }; then
8232   pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8233                       test "x$?" != "x0" && pkg_failed=yes
8234 else
8235   pkg_failed=yes
8236 fi
8237  else
8238     pkg_failed=untried
8239 fi
8240 if test -n "$UNITY_LIBS"; then
8241     pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8242  elif test -n "$PKG_CONFIG"; then
8243     if test -n "$PKG_CONFIG" && \
8244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8245   ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8246   ac_status=$?
8247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8248   test $ac_status = 0; }; then
8249   pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8250                       test "x$?" != "x0" && pkg_failed=yes
8251 else
8252   pkg_failed=yes
8253 fi
8254  else
8255     pkg_failed=untried
8256 fi
8257
8258
8259
8260 if test $pkg_failed = yes; then
8261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8263
8264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8265         _pkg_short_errors_supported=yes
8266 else
8267         _pkg_short_errors_supported=no
8268 fi
8269         if test $_pkg_short_errors_supported = yes; then
8270                 UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8271         else
8272                 UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8273         fi
8274         # Put the nasty error message in config.log where it belongs
8275         echo "$UNITY_PKG_ERRORS" >&5
8276
8277         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8278 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8279 elif test $pkg_failed = untried; then
8280         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8282         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8283 $as_echo "$as_me: WARNING: Unity not present" >&2;}
8284 else
8285         UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8286         UNITY_LIBS=$pkg_cv_UNITY_LIBS
8287         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8288 $as_echo "yes" >&6; }
8289
8290 $as_echo "#define HAVE_UNITY 1" >>confdefs.h
8291
8292 fi
8293
8294
8295  if test -n "$UNITY_LIBS"; then
8296   UNITY_TRUE=
8297   UNITY_FALSE='#'
8298 else
8299   UNITY_TRUE='#'
8300   UNITY_FALSE=
8301 fi
8302
8303
8304 # libatiadl
8305
8306 # Check whether --with-libatiadl was given.
8307 if test "${with_libatiadl+set}" = set; then :
8308   withval=$with_libatiadl;
8309                    ATIADL_DIR=${withval}
8310                    CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8311                    LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8312
8313
8314 fi
8315
8316
8317 for ac_header in adl_defines.h
8318 do :
8319   ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8321   cat >>confdefs.h <<_ACEOF
8322 #define HAVE_ADL_DEFINES_H 1
8323 _ACEOF
8324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8325 $as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8326 if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8327   $as_echo_n "(cached) " >&6
8328 else
8329   ac_check_lib_save_LIBS=$LIBS
8330 LIBS="-latiadlxx  $LIBS"
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h.  */
8333
8334 /* Override any GCC internal prototype to avoid an error.
8335    Use char because int might match the return type of a GCC
8336    builtin and then its argument prototype would still apply.  */
8337 #ifdef __cplusplus
8338 extern "C"
8339 #endif
8340 char ADL_Main_Control_Refresh ();
8341 int
8342 main ()
8343 {
8344 return ADL_Main_Control_Refresh ();
8345   ;
8346   return 0;
8347 }
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350   ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8351 else
8352   ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8353 fi
8354 rm -f core conftest.err conftest.$ac_objext \
8355     conftest$ac_exeext conftest.$ac_ext
8356 LIBS=$ac_check_lib_save_LIBS
8357 fi
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8359 $as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8360 if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8361
8362
8363 $as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8364
8365                         LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8366                         LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8367
8368 fi
8369
8370 fi
8371
8372 done
8373
8374
8375  if test -n "$LIBATIADL_LIBS"; then
8376   LIBATIADL_TRUE=
8377   LIBATIADL_FALSE='#'
8378 else
8379   LIBATIADL_TRUE='#'
8380   LIBATIADL_FALSE=
8381 fi
8382
8383
8384
8385
8386 ############### psensor-server
8387
8388 # libmicrohttpd, mandatory for psensor-server
8389 LIBMICROHTTPD_LIBS=
8390
8391 pkg_failed=no
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMICROHTTPD" >&5
8393 $as_echo_n "checking for LIBMICROHTTPD... " >&6; }
8394
8395 if test -n "$LIBMICROHTTPD_CFLAGS"; then
8396     pkg_cv_LIBMICROHTTPD_CFLAGS="$LIBMICROHTTPD_CFLAGS"
8397  elif test -n "$PKG_CONFIG"; then
8398     if test -n "$PKG_CONFIG" && \
8399     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8400   ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8401   ac_status=$?
8402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8403   test $ac_status = 0; }; then
8404   pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
8405                       test "x$?" != "x0" && pkg_failed=yes
8406 else
8407   pkg_failed=yes
8408 fi
8409  else
8410     pkg_failed=untried
8411 fi
8412 if test -n "$LIBMICROHTTPD_LIBS"; then
8413     pkg_cv_LIBMICROHTTPD_LIBS="$LIBMICROHTTPD_LIBS"
8414  elif test -n "$PKG_CONFIG"; then
8415     if test -n "$PKG_CONFIG" && \
8416     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd\""; } >&5
8417   ($PKG_CONFIG --exists --print-errors "libmicrohttpd") 2>&5
8418   ac_status=$?
8419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8420   test $ac_status = 0; }; then
8421   pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
8422                       test "x$?" != "x0" && pkg_failed=yes
8423 else
8424   pkg_failed=yes
8425 fi
8426  else
8427     pkg_failed=untried
8428 fi
8429
8430
8431
8432 if test $pkg_failed = yes; then
8433         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8435
8436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8437         _pkg_short_errors_supported=yes
8438 else
8439         _pkg_short_errors_supported=no
8440 fi
8441         if test $_pkg_short_errors_supported = yes; then
8442                 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8443         else
8444                 LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8445         fi
8446         # Put the nasty error message in config.log where it belongs
8447         echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8448
8449         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8450 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8451 elif test $pkg_failed = untried; then
8452         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8453 $as_echo "no" >&6; }
8454         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmicrohttpd not present" >&5
8455 $as_echo "$as_me: WARNING: \"libmicrohttpd not present" >&2;}
8456 else
8457         LIBMICROHTTPD_CFLAGS=$pkg_cv_LIBMICROHTTPD_CFLAGS
8458         LIBMICROHTTPD_LIBS=$pkg_cv_LIBMICROHTTPD_LIBS
8459         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8460 $as_echo "yes" >&6; }
8461
8462 $as_echo "#define HAVE_LIBMICROHTTPD 1" >>confdefs.h
8463
8464 fi
8465  if test -n "$LIBMICROHTTPD_LIBS"; then
8466   LIBMICROHTTPD_TRUE=
8467   LIBMICROHTTPD_FALSE='#'
8468 else
8469   LIBMICROHTTPD_TRUE='#'
8470   LIBMICROHTTPD_FALSE=
8471 fi
8472
8473
8474
8475
8476 # GTop, optional
8477
8478
8479 # Check whether --with-gtop was given.
8480 if test "${with_gtop+set}" = set; then :
8481   withval=$with_gtop;
8482         with_gtop=$withval
8483 else
8484
8485         with_gtop="yes"
8486
8487 fi
8488
8489
8490 GTOP_LIBS=
8491 if test "$with_gtop" = "yes"; then
8492
8493 pkg_failed=no
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTOP" >&5
8495 $as_echo_n "checking for GTOP... " >&6; }
8496
8497 if test -n "$GTOP_CFLAGS"; then
8498     pkg_cv_GTOP_CFLAGS="$GTOP_CFLAGS"
8499  elif test -n "$PKG_CONFIG"; then
8500     if test -n "$PKG_CONFIG" && \
8501     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8502   ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8503   ac_status=$?
8504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8505   test $ac_status = 0; }; then
8506   pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
8507                       test "x$?" != "x0" && pkg_failed=yes
8508 else
8509   pkg_failed=yes
8510 fi
8511  else
8512     pkg_failed=untried
8513 fi
8514 if test -n "$GTOP_LIBS"; then
8515     pkg_cv_GTOP_LIBS="$GTOP_LIBS"
8516  elif test -n "$PKG_CONFIG"; then
8517     if test -n "$PKG_CONFIG" && \
8518     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgtop-2.0\""; } >&5
8519   ($PKG_CONFIG --exists --print-errors "libgtop-2.0") 2>&5
8520   ac_status=$?
8521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8522   test $ac_status = 0; }; then
8523   pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
8524                       test "x$?" != "x0" && pkg_failed=yes
8525 else
8526   pkg_failed=yes
8527 fi
8528  else
8529     pkg_failed=untried
8530 fi
8531
8532
8533
8534 if test $pkg_failed = yes; then
8535         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8537
8538 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8539         _pkg_short_errors_supported=yes
8540 else
8541         _pkg_short_errors_supported=no
8542 fi
8543         if test $_pkg_short_errors_supported = yes; then
8544                 GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8545         else
8546                 GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8547         fi
8548         # Put the nasty error message in config.log where it belongs
8549         echo "$GTOP_PKG_ERRORS" >&5
8550
8551         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8552 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8553 elif test $pkg_failed = untried; then
8554         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555 $as_echo "no" >&6; }
8556         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gtop not present" >&5
8557 $as_echo "$as_me: WARNING: \"gtop not present" >&2;}
8558 else
8559         GTOP_CFLAGS=$pkg_cv_GTOP_CFLAGS
8560         GTOP_LIBS=$pkg_cv_GTOP_LIBS
8561         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8562 $as_echo "yes" >&6; }
8563
8564 $as_echo "#define HAVE_GTOP 1" >>confdefs.h
8565
8566 fi
8567 fi
8568  if test -n "$GTOP_LIBS"; then
8569   GTOP_TRUE=
8570   GTOP_FALSE='#'
8571 else
8572   GTOP_TRUE='#'
8573   GTOP_FALSE=
8574 fi
8575
8576
8577
8578
8579 ac_config_files="$ac_config_files 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"
8580
8581
8582 for ac_prog in help2man
8583 do
8584   # Extract the first word of "$ac_prog", so it can be a program name with args.
8585 set dummy $ac_prog; ac_word=$2
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8587 $as_echo_n "checking for $ac_word... " >&6; }
8588 if ${ac_cv_prog_HELP2MAN+:} false; then :
8589   $as_echo_n "(cached) " >&6
8590 else
8591   if test -n "$HELP2MAN"; then
8592   ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
8593 else
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 for as_dir in $PATH
8596 do
8597   IFS=$as_save_IFS
8598   test -z "$as_dir" && as_dir=.
8599     for ac_exec_ext in '' $ac_executable_extensions; do
8600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8601     ac_cv_prog_HELP2MAN="$ac_prog"
8602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8603     break 2
8604   fi
8605 done
8606   done
8607 IFS=$as_save_IFS
8608
8609 fi
8610 fi
8611 HELP2MAN=$ac_cv_prog_HELP2MAN
8612 if test -n "$HELP2MAN"; then
8613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
8614 $as_echo "$HELP2MAN" >&6; }
8615 else
8616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8617 $as_echo "no" >&6; }
8618 fi
8619
8620
8621   test -n "$HELP2MAN" && break
8622 done
8623
8624
8625 cat >confcache <<\_ACEOF
8626 # This file is a shell script that caches the results of configure
8627 # tests run on this system so they can be shared between configure
8628 # scripts and configure runs, see configure's option --config-cache.
8629 # It is not useful on other systems.  If it contains results you don't
8630 # want to keep, you may remove or edit it.
8631 #
8632 # config.status only pays attention to the cache file if you give it
8633 # the --recheck option to rerun configure.
8634 #
8635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8637 # following values.
8638
8639 _ACEOF
8640
8641 # The following way of writing the cache mishandles newlines in values,
8642 # but we know of no workaround that is simple, portable, and efficient.
8643 # So, we kill variables containing newlines.
8644 # Ultrix sh set writes to stderr and can't be redirected directly,
8645 # and sets the high bit in the cache file unless we assign to the vars.
8646 (
8647   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8648     eval ac_val=\$$ac_var
8649     case $ac_val in #(
8650     *${as_nl}*)
8651       case $ac_var in #(
8652       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8653 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8654       esac
8655       case $ac_var in #(
8656       _ | IFS | as_nl) ;; #(
8657       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8658       *) { eval $ac_var=; unset $ac_var;} ;;
8659       esac ;;
8660     esac
8661   done
8662
8663   (set) 2>&1 |
8664     case $as_nl`(ac_space=' '; set) 2>&1` in #(
8665     *${as_nl}ac_space=\ *)
8666       # `set' does not quote correctly, so add quotes: double-quote
8667       # substitution turns \\\\ into \\, and sed turns \\ into \.
8668       sed -n \
8669         "s/'/'\\\\''/g;
8670           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8671       ;; #(
8672     *)
8673       # `set' quotes correctly as required by POSIX, so do not add quotes.
8674       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8675       ;;
8676     esac |
8677     sort
8678 ) |
8679   sed '
8680      /^ac_cv_env_/b end
8681      t clear
8682      :clear
8683      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8684      t end
8685      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8686      :end' >>confcache
8687 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8688   if test -w "$cache_file"; then
8689     if test "x$cache_file" != "x/dev/null"; then
8690       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8691 $as_echo "$as_me: updating cache $cache_file" >&6;}
8692       if test ! -f "$cache_file" || test -h "$cache_file"; then
8693         cat confcache >"$cache_file"
8694       else
8695         case $cache_file in #(
8696         */* | ?:*)
8697           mv -f confcache "$cache_file"$$ &&
8698           mv -f "$cache_file"$$ "$cache_file" ;; #(
8699         *)
8700           mv -f confcache "$cache_file" ;;
8701         esac
8702       fi
8703     fi
8704   else
8705     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8706 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8707   fi
8708 fi
8709 rm -f confcache
8710
8711 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8712 # Let make expand exec_prefix.
8713 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8714
8715 DEFS=-DHAVE_CONFIG_H
8716
8717 ac_libobjs=
8718 ac_ltlibobjs=
8719 U=
8720 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8721   # 1. Remove the extension, and $U if already installed.
8722   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8723   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8724   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8725   #    will be set to the directory where LIBOBJS objects are built.
8726   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8727   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8728 done
8729 LIBOBJS=$ac_libobjs
8730
8731 LTLIBOBJS=$ac_ltlibobjs
8732
8733
8734  if test -n "$EXEEXT"; then
8735   am__EXEEXT_TRUE=
8736   am__EXEEXT_FALSE='#'
8737 else
8738   am__EXEEXT_TRUE='#'
8739   am__EXEEXT_FALSE=
8740 fi
8741
8742 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8743   as_fn_error $? "conditional \"AMDEP\" was never defined.
8744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8745 fi
8746 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8747   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8749 fi
8750 if test -z "${SYSINFO_FCT_TRUE}" && test -z "${SYSINFO_FCT_FALSE}"; then
8751   as_fn_error $? "conditional \"SYSINFO_FCT\" was never defined.
8752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8753 fi
8754 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8755   as_fn_error $? "conditional \"GTK\" was never defined.
8756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8757 fi
8758 if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
8759   as_fn_error $? "conditional \"GTK\" was never defined.
8760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8761 fi
8762 if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8763   as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8765 fi
8766 if test -z "${APPINDICATOR_TRUE}" && test -z "${APPINDICATOR_FALSE}"; then
8767   as_fn_error $? "conditional \"APPINDICATOR\" was never defined.
8768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8769 fi
8770 if test -z "${CURL_TRUE}" && test -z "${CURL_FALSE}"; then
8771   as_fn_error $? "conditional \"CURL\" was never defined.
8772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8773 fi
8774 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
8775   as_fn_error $? "conditional \"JSON\" was never defined.
8776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8777 fi
8778 if test -z "${NVIDIA_TRUE}" && test -z "${NVIDIA_FALSE}"; then
8779   as_fn_error $? "conditional \"NVIDIA\" was never defined.
8780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8781 fi
8782 if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
8783   as_fn_error $? "conditional \"UNITY\" was never defined.
8784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8785 fi
8786 if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
8787   as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8789 fi
8790 if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8791   as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
8792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8793 fi
8794 if test -z "${GTOP_TRUE}" && test -z "${GTOP_FALSE}"; then
8795   as_fn_error $? "conditional \"GTOP\" was never defined.
8796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8797 fi
8798
8799 : "${CONFIG_STATUS=./config.status}"
8800 ac_write_fail=0
8801 ac_clean_files_save=$ac_clean_files
8802 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8804 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8805 as_write_fail=0
8806 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8807 #! $SHELL
8808 # Generated by $as_me.
8809 # Run this file to recreate the current configuration.
8810 # Compiler output produced by configure, useful for debugging
8811 # configure, is in config.log if it exists.
8812
8813 debug=false
8814 ac_cs_recheck=false
8815 ac_cs_silent=false
8816
8817 SHELL=\${CONFIG_SHELL-$SHELL}
8818 export SHELL
8819 _ASEOF
8820 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8821 ## -------------------- ##
8822 ## M4sh Initialization. ##
8823 ## -------------------- ##
8824
8825 # Be more Bourne compatible
8826 DUALCASE=1; export DUALCASE # for MKS sh
8827 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8828   emulate sh
8829   NULLCMD=:
8830   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8831   # is contrary to our usage.  Disable this feature.
8832   alias -g '${1+"$@"}'='"$@"'
8833   setopt NO_GLOB_SUBST
8834 else
8835   case `(set -o) 2>/dev/null` in #(
8836   *posix*) :
8837     set -o posix ;; #(
8838   *) :
8839      ;;
8840 esac
8841 fi
8842
8843
8844 as_nl='
8845 '
8846 export as_nl
8847 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8848 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8849 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8850 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8851 # Prefer a ksh shell builtin over an external printf program on Solaris,
8852 # but without wasting forks for bash or zsh.
8853 if test -z "$BASH_VERSION$ZSH_VERSION" \
8854     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8855   as_echo='print -r --'
8856   as_echo_n='print -rn --'
8857 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8858   as_echo='printf %s\n'
8859   as_echo_n='printf %s'
8860 else
8861   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8862     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8863     as_echo_n='/usr/ucb/echo -n'
8864   else
8865     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8866     as_echo_n_body='eval
8867       arg=$1;
8868       case $arg in #(
8869       *"$as_nl"*)
8870         expr "X$arg" : "X\\(.*\\)$as_nl";
8871         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8872       esac;
8873       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8874     '
8875     export as_echo_n_body
8876     as_echo_n='sh -c $as_echo_n_body as_echo'
8877   fi
8878   export as_echo_body
8879   as_echo='sh -c $as_echo_body as_echo'
8880 fi
8881
8882 # The user is always right.
8883 if test "${PATH_SEPARATOR+set}" != set; then
8884   PATH_SEPARATOR=:
8885   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8886     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8887       PATH_SEPARATOR=';'
8888   }
8889 fi
8890
8891
8892 # IFS
8893 # We need space, tab and new line, in precisely that order.  Quoting is
8894 # there to prevent editors from complaining about space-tab.
8895 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8896 # splitting by setting IFS to empty value.)
8897 IFS=" ""        $as_nl"
8898
8899 # Find who we are.  Look in the path if we contain no directory separator.
8900 as_myself=
8901 case $0 in #((
8902   *[\\/]* ) as_myself=$0 ;;
8903   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8904 for as_dir in $PATH
8905 do
8906   IFS=$as_save_IFS
8907   test -z "$as_dir" && as_dir=.
8908     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8909   done
8910 IFS=$as_save_IFS
8911
8912      ;;
8913 esac
8914 # We did not find ourselves, most probably we were run as `sh COMMAND'
8915 # in which case we are not to be found in the path.
8916 if test "x$as_myself" = x; then
8917   as_myself=$0
8918 fi
8919 if test ! -f "$as_myself"; then
8920   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8921   exit 1
8922 fi
8923
8924 # Unset variables that we do not need and which cause bugs (e.g. in
8925 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
8926 # suppresses any "Segmentation fault" message there.  '((' could
8927 # trigger a bug in pdksh 5.2.14.
8928 for as_var in BASH_ENV ENV MAIL MAILPATH
8929 do eval test x\${$as_var+set} = xset \
8930   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8931 done
8932 PS1='$ '
8933 PS2='> '
8934 PS4='+ '
8935
8936 # NLS nuisances.
8937 LC_ALL=C
8938 export LC_ALL
8939 LANGUAGE=C
8940 export LANGUAGE
8941
8942 # CDPATH.
8943 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8944
8945
8946 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8947 # ----------------------------------------
8948 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8949 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8950 # script with STATUS, using 1 if that was 0.
8951 as_fn_error ()
8952 {
8953   as_status=$1; test $as_status -eq 0 && as_status=1
8954   if test "$4"; then
8955     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8956     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8957   fi
8958   $as_echo "$as_me: error: $2" >&2
8959   as_fn_exit $as_status
8960 } # as_fn_error
8961
8962
8963 # as_fn_set_status STATUS
8964 # -----------------------
8965 # Set $? to STATUS, without forking.
8966 as_fn_set_status ()
8967 {
8968   return $1
8969 } # as_fn_set_status
8970
8971 # as_fn_exit STATUS
8972 # -----------------
8973 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8974 as_fn_exit ()
8975 {
8976   set +e
8977   as_fn_set_status $1
8978   exit $1
8979 } # as_fn_exit
8980
8981 # as_fn_unset VAR
8982 # ---------------
8983 # Portably unset VAR.
8984 as_fn_unset ()
8985 {
8986   { eval $1=; unset $1;}
8987 }
8988 as_unset=as_fn_unset
8989 # as_fn_append VAR VALUE
8990 # ----------------------
8991 # Append the text in VALUE to the end of the definition contained in VAR. Take
8992 # advantage of any shell optimizations that allow amortized linear growth over
8993 # repeated appends, instead of the typical quadratic growth present in naive
8994 # implementations.
8995 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8996   eval 'as_fn_append ()
8997   {
8998     eval $1+=\$2
8999   }'
9000 else
9001   as_fn_append ()
9002   {
9003     eval $1=\$$1\$2
9004   }
9005 fi # as_fn_append
9006
9007 # as_fn_arith ARG...
9008 # ------------------
9009 # Perform arithmetic evaluation on the ARGs, and store the result in the
9010 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9011 # must be portable across $(()) and expr.
9012 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9013   eval 'as_fn_arith ()
9014   {
9015     as_val=$(( $* ))
9016   }'
9017 else
9018   as_fn_arith ()
9019   {
9020     as_val=`expr "$@" || test $? -eq 1`
9021   }
9022 fi # as_fn_arith
9023
9024
9025 if expr a : '\(a\)' >/dev/null 2>&1 &&
9026    test "X`expr 00001 : '.*\(...\)'`" = X001; then
9027   as_expr=expr
9028 else
9029   as_expr=false
9030 fi
9031
9032 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9033   as_basename=basename
9034 else
9035   as_basename=false
9036 fi
9037
9038 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9039   as_dirname=dirname
9040 else
9041   as_dirname=false
9042 fi
9043
9044 as_me=`$as_basename -- "$0" ||
9045 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9046          X"$0" : 'X\(//\)$' \| \
9047          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9048 $as_echo X/"$0" |
9049     sed '/^.*\/\([^/][^/]*\)\/*$/{
9050             s//\1/
9051             q
9052           }
9053           /^X\/\(\/\/\)$/{
9054             s//\1/
9055             q
9056           }
9057           /^X\/\(\/\).*/{
9058             s//\1/
9059             q
9060           }
9061           s/.*/./; q'`
9062
9063 # Avoid depending upon Character Ranges.
9064 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9065 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9066 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9067 as_cr_digits='0123456789'
9068 as_cr_alnum=$as_cr_Letters$as_cr_digits
9069
9070 ECHO_C= ECHO_N= ECHO_T=
9071 case `echo -n x` in #(((((
9072 -n*)
9073   case `echo 'xy\c'` in
9074   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
9075   xy)  ECHO_C='\c';;
9076   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
9077        ECHO_T=' ';;
9078   esac;;
9079 *)
9080   ECHO_N='-n';;
9081 esac
9082
9083 rm -f conf$$ conf$$.exe conf$$.file
9084 if test -d conf$$.dir; then
9085   rm -f conf$$.dir/conf$$.file
9086 else
9087   rm -f conf$$.dir
9088   mkdir conf$$.dir 2>/dev/null
9089 fi
9090 if (echo >conf$$.file) 2>/dev/null; then
9091   if ln -s conf$$.file conf$$ 2>/dev/null; then
9092     as_ln_s='ln -s'
9093     # ... but there are two gotchas:
9094     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9095     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9096     # In both cases, we have to default to `cp -p'.
9097     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9098       as_ln_s='cp -p'
9099   elif ln conf$$.file conf$$ 2>/dev/null; then
9100     as_ln_s=ln
9101   else
9102     as_ln_s='cp -p'
9103   fi
9104 else
9105   as_ln_s='cp -p'
9106 fi
9107 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9108 rmdir conf$$.dir 2>/dev/null
9109
9110
9111 # as_fn_mkdir_p
9112 # -------------
9113 # Create "$as_dir" as a directory, including parents if necessary.
9114 as_fn_mkdir_p ()
9115 {
9116
9117   case $as_dir in #(
9118   -*) as_dir=./$as_dir;;
9119   esac
9120   test -d "$as_dir" || eval $as_mkdir_p || {
9121     as_dirs=
9122     while :; do
9123       case $as_dir in #(
9124       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9125       *) as_qdir=$as_dir;;
9126       esac
9127       as_dirs="'$as_qdir' $as_dirs"
9128       as_dir=`$as_dirname -- "$as_dir" ||
9129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9130          X"$as_dir" : 'X\(//\)[^/]' \| \
9131          X"$as_dir" : 'X\(//\)$' \| \
9132          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9133 $as_echo X"$as_dir" |
9134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9135             s//\1/
9136             q
9137           }
9138           /^X\(\/\/\)[^/].*/{
9139             s//\1/
9140             q
9141           }
9142           /^X\(\/\/\)$/{
9143             s//\1/
9144             q
9145           }
9146           /^X\(\/\).*/{
9147             s//\1/
9148             q
9149           }
9150           s/.*/./; q'`
9151       test -d "$as_dir" && break
9152     done
9153     test -z "$as_dirs" || eval "mkdir $as_dirs"
9154   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9155
9156
9157 } # as_fn_mkdir_p
9158 if mkdir -p . 2>/dev/null; then
9159   as_mkdir_p='mkdir -p "$as_dir"'
9160 else
9161   test -d ./-p && rmdir ./-p
9162   as_mkdir_p=false
9163 fi
9164
9165 if test -x / >/dev/null 2>&1; then
9166   as_test_x='test -x'
9167 else
9168   if ls -dL / >/dev/null 2>&1; then
9169     as_ls_L_option=L
9170   else
9171     as_ls_L_option=
9172   fi
9173   as_test_x='
9174     eval sh -c '\''
9175       if test -d "$1"; then
9176         test -d "$1/.";
9177       else
9178         case $1 in #(
9179         -*)set "./$1";;
9180         esac;
9181         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9182         ???[sx]*):;;*)false;;esac;fi
9183     '\'' sh
9184   '
9185 fi
9186 as_executable_p=$as_test_x
9187
9188 # Sed expression to map a string onto a valid CPP name.
9189 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9190
9191 # Sed expression to map a string onto a valid variable name.
9192 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9193
9194
9195 exec 6>&1
9196 ## ----------------------------------- ##
9197 ## Main body of $CONFIG_STATUS script. ##
9198 ## ----------------------------------- ##
9199 _ASEOF
9200 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9201
9202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9203 # Save the log message, to keep $0 and so on meaningful, and to
9204 # report actual input values of CONFIG_FILES etc. instead of their
9205 # values after options handling.
9206 ac_log="
9207 This file was extended by psensor $as_me 0.6.2.15, which was
9208 generated by GNU Autoconf 2.68.  Invocation command line was
9209
9210   CONFIG_FILES    = $CONFIG_FILES
9211   CONFIG_HEADERS  = $CONFIG_HEADERS
9212   CONFIG_LINKS    = $CONFIG_LINKS
9213   CONFIG_COMMANDS = $CONFIG_COMMANDS
9214   $ $0 $@
9215
9216 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9217 "
9218
9219 _ACEOF
9220
9221 case $ac_config_files in *"
9222 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9223 esac
9224
9225 case $ac_config_headers in *"
9226 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9227 esac
9228
9229
9230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9231 # Files that config.status was made for.
9232 config_files="$ac_config_files"
9233 config_headers="$ac_config_headers"
9234 config_commands="$ac_config_commands"
9235
9236 _ACEOF
9237
9238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9239 ac_cs_usage="\
9240 \`$as_me' instantiates files and other configuration actions
9241 from templates according to the current configuration.  Unless the files
9242 and actions are specified as TAGs, all are instantiated by default.
9243
9244 Usage: $0 [OPTION]... [TAG]...
9245
9246   -h, --help       print this help, then exit
9247   -V, --version    print version number and configuration settings, then exit
9248       --config     print configuration, then exit
9249   -q, --quiet, --silent
9250                    do not print progress messages
9251   -d, --debug      don't remove temporary files
9252       --recheck    update $as_me by reconfiguring in the same conditions
9253       --file=FILE[:TEMPLATE]
9254                    instantiate the configuration file FILE
9255       --header=FILE[:TEMPLATE]
9256                    instantiate the configuration header FILE
9257
9258 Configuration files:
9259 $config_files
9260
9261 Configuration headers:
9262 $config_headers
9263
9264 Configuration commands:
9265 $config_commands
9266
9267 Report bugs to <jeanfi@gmail.com>.
9268 psensor home page: <http://wpitchoune.net/psensor>."
9269
9270 _ACEOF
9271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9272 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9273 ac_cs_version="\\
9274 psensor config.status 0.6.2.15
9275 configured by $0, generated by GNU Autoconf 2.68,
9276   with options \\"\$ac_cs_config\\"
9277
9278 Copyright (C) 2010 Free Software Foundation, Inc.
9279 This config.status script is free software; the Free Software Foundation
9280 gives unlimited permission to copy, distribute and modify it."
9281
9282 ac_pwd='$ac_pwd'
9283 srcdir='$srcdir'
9284 INSTALL='$INSTALL'
9285 MKDIR_P='$MKDIR_P'
9286 AWK='$AWK'
9287 test -n "\$AWK" || AWK=awk
9288 _ACEOF
9289
9290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9291 # The default lists apply if the user does not specify any file.
9292 ac_need_defaults=:
9293 while test $# != 0
9294 do
9295   case $1 in
9296   --*=?*)
9297     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9298     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9299     ac_shift=:
9300     ;;
9301   --*=)
9302     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9303     ac_optarg=
9304     ac_shift=:
9305     ;;
9306   *)
9307     ac_option=$1
9308     ac_optarg=$2
9309     ac_shift=shift
9310     ;;
9311   esac
9312
9313   case $ac_option in
9314   # Handling of the options.
9315   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9316     ac_cs_recheck=: ;;
9317   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9318     $as_echo "$ac_cs_version"; exit ;;
9319   --config | --confi | --conf | --con | --co | --c )
9320     $as_echo "$ac_cs_config"; exit ;;
9321   --debug | --debu | --deb | --de | --d | -d )
9322     debug=: ;;
9323   --file | --fil | --fi | --f )
9324     $ac_shift
9325     case $ac_optarg in
9326     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9327     '') as_fn_error $? "missing file argument" ;;
9328     esac
9329     as_fn_append CONFIG_FILES " '$ac_optarg'"
9330     ac_need_defaults=false;;
9331   --header | --heade | --head | --hea )
9332     $ac_shift
9333     case $ac_optarg in
9334     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9335     esac
9336     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9337     ac_need_defaults=false;;
9338   --he | --h)
9339     # Conflict between --help and --header
9340     as_fn_error $? "ambiguous option: \`$1'
9341 Try \`$0 --help' for more information.";;
9342   --help | --hel | -h )
9343     $as_echo "$ac_cs_usage"; exit ;;
9344   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9345   | -silent | --silent | --silen | --sile | --sil | --si | --s)
9346     ac_cs_silent=: ;;
9347
9348   # This is an error.
9349   -*) as_fn_error $? "unrecognized option: \`$1'
9350 Try \`$0 --help' for more information." ;;
9351
9352   *) as_fn_append ac_config_targets " $1"
9353      ac_need_defaults=false ;;
9354
9355   esac
9356   shift
9357 done
9358
9359 ac_configure_extra_args=
9360
9361 if $ac_cs_silent; then
9362   exec 6>/dev/null
9363   ac_configure_extra_args="$ac_configure_extra_args --silent"
9364 fi
9365
9366 _ACEOF
9367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9368 if \$ac_cs_recheck; then
9369   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9370   shift
9371   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9372   CONFIG_SHELL='$SHELL'
9373   export CONFIG_SHELL
9374   exec "\$@"
9375 fi
9376
9377 _ACEOF
9378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9379 exec 5>>config.log
9380 {
9381   echo
9382   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9383 ## Running $as_me. ##
9384 _ASBOX
9385   $as_echo "$ac_log"
9386 } >&5
9387
9388 _ACEOF
9389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9390 #
9391 # INIT-COMMANDS
9392 #
9393 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9394 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9395     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9396     # from automake < 1.5.
9397     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9398     # Capture the value of LINGUAS because we need it to compute CATALOGS.
9399     LINGUAS="${LINGUAS-%UNSET%}"
9400
9401
9402 _ACEOF
9403
9404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9405
9406 # Handling of arguments.
9407 for ac_config_target in $ac_config_targets
9408 do
9409   case $ac_config_target in
9410     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9411     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9412     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9413     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9414     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9415     "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9416     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9417     "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9418     "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9419     "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9420     "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9421     "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9422     "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9423     "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9424     "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9425     "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9426     "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9427     "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9428     "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9429     "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9430     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9431     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9432
9433   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9434   esac
9435 done
9436
9437
9438 # If the user did not use the arguments to specify the items to instantiate,
9439 # then the envvar interface is used.  Set only those that are not.
9440 # We use the long form for the default assignment because of an extremely
9441 # bizarre bug on SunOS 4.1.3.
9442 if $ac_need_defaults; then
9443   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9444   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9445   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9446 fi
9447
9448 # Have a temporary directory for convenience.  Make it in the build tree
9449 # simply because there is no reason against having it here, and in addition,
9450 # creating and moving files from /tmp can sometimes cause problems.
9451 # Hook for its removal unless debugging.
9452 # Note that there is a small window in which the directory will not be cleaned:
9453 # after its creation but before its name has been assigned to `$tmp'.
9454 $debug ||
9455 {
9456   tmp= ac_tmp=
9457   trap 'exit_status=$?
9458   : "${ac_tmp:=$tmp}"
9459   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9460 ' 0
9461   trap 'as_fn_exit 1' 1 2 13 15
9462 }
9463 # Create a (secure) tmp directory for tmp files.
9464
9465 {
9466   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9467   test -d "$tmp"
9468 }  ||
9469 {
9470   tmp=./conf$$-$RANDOM
9471   (umask 077 && mkdir "$tmp")
9472 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9473 ac_tmp=$tmp
9474
9475 # Set up the scripts for CONFIG_FILES section.
9476 # No need to generate them if there are no CONFIG_FILES.
9477 # This happens for instance with `./config.status config.h'.
9478 if test -n "$CONFIG_FILES"; then
9479
9480
9481 ac_cr=`echo X | tr X '\015'`
9482 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9483 # But we know of no other shell where ac_cr would be empty at this
9484 # point, so we can use a bashism as a fallback.
9485 if test "x$ac_cr" = x; then
9486   eval ac_cr=\$\'\\r\'
9487 fi
9488 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9489 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9490   ac_cs_awk_cr='\\r'
9491 else
9492   ac_cs_awk_cr=$ac_cr
9493 fi
9494
9495 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9496 _ACEOF
9497
9498
9499 {
9500   echo "cat >conf$$subs.awk <<_ACEOF" &&
9501   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9502   echo "_ACEOF"
9503 } >conf$$subs.sh ||
9504   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9505 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9506 ac_delim='%!_!# '
9507 for ac_last_try in false false false false false :; do
9508   . ./conf$$subs.sh ||
9509     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9510
9511   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9512   if test $ac_delim_n = $ac_delim_num; then
9513     break
9514   elif $ac_last_try; then
9515     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9516   else
9517     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9518   fi
9519 done
9520 rm -f conf$$subs.sh
9521
9522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9523 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9524 _ACEOF
9525 sed -n '
9526 h
9527 s/^/S["/; s/!.*/"]=/
9528 p
9529 g
9530 s/^[^!]*!//
9531 :repl
9532 t repl
9533 s/'"$ac_delim"'$//
9534 t delim
9535 :nl
9536 h
9537 s/\(.\{148\}\)..*/\1/
9538 t more1
9539 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9540 p
9541 n
9542 b repl
9543 :more1
9544 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9545 p
9546 g
9547 s/.\{148\}//
9548 t nl
9549 :delim
9550 h
9551 s/\(.\{148\}\)..*/\1/
9552 t more2
9553 s/["\\]/\\&/g; s/^/"/; s/$/"/
9554 p
9555 b
9556 :more2
9557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9558 p
9559 g
9560 s/.\{148\}//
9561 t delim
9562 ' <conf$$subs.awk | sed '
9563 /^[^""]/{
9564   N
9565   s/\n//
9566 }
9567 ' >>$CONFIG_STATUS || ac_write_fail=1
9568 rm -f conf$$subs.awk
9569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9570 _ACAWK
9571 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9572   for (key in S) S_is_set[key] = 1
9573   FS = "\a"
9574
9575 }
9576 {
9577   line = $ 0
9578   nfields = split(line, field, "@")
9579   substed = 0
9580   len = length(field[1])
9581   for (i = 2; i < nfields; i++) {
9582     key = field[i]
9583     keylen = length(key)
9584     if (S_is_set[key]) {
9585       value = S[key]
9586       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9587       len += length(value) + length(field[++i])
9588       substed = 1
9589     } else
9590       len += 1 + keylen
9591   }
9592
9593   print line
9594 }
9595
9596 _ACAWK
9597 _ACEOF
9598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9599 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9600   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9601 else
9602   cat
9603 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9604   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9605 _ACEOF
9606
9607 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9608 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9609 # trailing colons and then remove the whole line if VPATH becomes empty
9610 # (actually we leave an empty line to preserve line numbers).
9611 if test "x$srcdir" = x.; then
9612   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
9613 h
9614 s///
9615 s/^/:/
9616 s/[      ]*$/:/
9617 s/:\$(srcdir):/:/g
9618 s/:\${srcdir}:/:/g
9619 s/:@srcdir@:/:/g
9620 s/^:*//
9621 s/:*$//
9622 x
9623 s/\(=[   ]*\).*/\1/
9624 G
9625 s/\n//
9626 s/^[^=]*=[       ]*$//
9627 }'
9628 fi
9629
9630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9631 fi # test -n "$CONFIG_FILES"
9632
9633 # Set up the scripts for CONFIG_HEADERS section.
9634 # No need to generate them if there are no CONFIG_HEADERS.
9635 # This happens for instance with `./config.status Makefile'.
9636 if test -n "$CONFIG_HEADERS"; then
9637 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9638 BEGIN {
9639 _ACEOF
9640
9641 # Transform confdefs.h into an awk script `defines.awk', embedded as
9642 # here-document in config.status, that substitutes the proper values into
9643 # config.h.in to produce config.h.
9644
9645 # Create a delimiter string that does not exist in confdefs.h, to ease
9646 # handling of long lines.
9647 ac_delim='%!_!# '
9648 for ac_last_try in false false :; do
9649   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9650   if test -z "$ac_tt"; then
9651     break
9652   elif $ac_last_try; then
9653     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9654   else
9655     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9656   fi
9657 done
9658
9659 # For the awk script, D is an array of macro values keyed by name,
9660 # likewise P contains macro parameters if any.  Preserve backslash
9661 # newline sequences.
9662
9663 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9664 sed -n '
9665 s/.\{148\}/&'"$ac_delim"'/g
9666 t rset
9667 :rset
9668 s/^[     ]*#[    ]*define[       ][      ]*/ /
9669 t def
9670 d
9671 :def
9672 s/\\$//
9673 t bsnl
9674 s/["\\]/\\&/g
9675 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
9676 D["\1"]=" \3"/p
9677 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
9678 d
9679 :bsnl
9680 s/["\\]/\\&/g
9681 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
9682 D["\1"]=" \3\\\\\\n"\\/p
9683 t cont
9684 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9685 t cont
9686 d
9687 :cont
9688 n
9689 s/.\{148\}/&'"$ac_delim"'/g
9690 t clear
9691 :clear
9692 s/\\$//
9693 t bsnlc
9694 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9695 d
9696 :bsnlc
9697 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9698 b cont
9699 ' <confdefs.h | sed '
9700 s/'"$ac_delim"'/"\\\
9701 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9702
9703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9704   for (key in D) D_is_set[key] = 1
9705   FS = "\a"
9706 }
9707 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9708   line = \$ 0
9709   split(line, arg, " ")
9710   if (arg[1] == "#") {
9711     defundef = arg[2]
9712     mac1 = arg[3]
9713   } else {
9714     defundef = substr(arg[1], 2)
9715     mac1 = arg[2]
9716   }
9717   split(mac1, mac2, "(") #)
9718   macro = mac2[1]
9719   prefix = substr(line, 1, index(line, defundef) - 1)
9720   if (D_is_set[macro]) {
9721     # Preserve the white space surrounding the "#".
9722     print prefix "define", macro P[macro] D[macro]
9723     next
9724   } else {
9725     # Replace #undef with comments.  This is necessary, for example,
9726     # in the case of _POSIX_SOURCE, which is predefined and required
9727     # on some systems where configure will not decide to define it.
9728     if (defundef == "undef") {
9729       print "/*", prefix defundef, macro, "*/"
9730       next
9731     }
9732   }
9733 }
9734 { print }
9735 _ACAWK
9736 _ACEOF
9737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9738   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9739 fi # test -n "$CONFIG_HEADERS"
9740
9741
9742 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
9743 shift
9744 for ac_tag
9745 do
9746   case $ac_tag in
9747   :[FHLC]) ac_mode=$ac_tag; continue;;
9748   esac
9749   case $ac_mode$ac_tag in
9750   :[FHL]*:*);;
9751   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9752   :[FH]-) ac_tag=-:-;;
9753   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9754   esac
9755   ac_save_IFS=$IFS
9756   IFS=:
9757   set x $ac_tag
9758   IFS=$ac_save_IFS
9759   shift
9760   ac_file=$1
9761   shift
9762
9763   case $ac_mode in
9764   :L) ac_source=$1;;
9765   :[FH])
9766     ac_file_inputs=
9767     for ac_f
9768     do
9769       case $ac_f in
9770       -) ac_f="$ac_tmp/stdin";;
9771       *) # Look for the file first in the build tree, then in the source tree
9772          # (if the path is not absolute).  The absolute path cannot be DOS-style,
9773          # because $ac_f cannot contain `:'.
9774          test -f "$ac_f" ||
9775            case $ac_f in
9776            [\\/$]*) false;;
9777            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9778            esac ||
9779            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9780       esac
9781       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9782       as_fn_append ac_file_inputs " '$ac_f'"
9783     done
9784
9785     # Let's still pretend it is `configure' which instantiates (i.e., don't
9786     # use $as_me), people would be surprised to read:
9787     #    /* config.h.  Generated by config.status.  */
9788     configure_input='Generated from '`
9789           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9790         `' by configure.'
9791     if test x"$ac_file" != x-; then
9792       configure_input="$ac_file.  $configure_input"
9793       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9794 $as_echo "$as_me: creating $ac_file" >&6;}
9795     fi
9796     # Neutralize special characters interpreted by sed in replacement strings.
9797     case $configure_input in #(
9798     *\&* | *\|* | *\\* )
9799        ac_sed_conf_input=`$as_echo "$configure_input" |
9800        sed 's/[\\\\&|]/\\\\&/g'`;; #(
9801     *) ac_sed_conf_input=$configure_input;;
9802     esac
9803
9804     case $ac_tag in
9805     *:-:* | *:-) cat >"$ac_tmp/stdin" \
9806       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9807     esac
9808     ;;
9809   esac
9810
9811   ac_dir=`$as_dirname -- "$ac_file" ||
9812 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9813          X"$ac_file" : 'X\(//\)[^/]' \| \
9814          X"$ac_file" : 'X\(//\)$' \| \
9815          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9816 $as_echo X"$ac_file" |
9817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9818             s//\1/
9819             q
9820           }
9821           /^X\(\/\/\)[^/].*/{
9822             s//\1/
9823             q
9824           }
9825           /^X\(\/\/\)$/{
9826             s//\1/
9827             q
9828           }
9829           /^X\(\/\).*/{
9830             s//\1/
9831             q
9832           }
9833           s/.*/./; q'`
9834   as_dir="$ac_dir"; as_fn_mkdir_p
9835   ac_builddir=.
9836
9837 case "$ac_dir" in
9838 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9839 *)
9840   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9841   # A ".." for each directory in $ac_dir_suffix.
9842   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9843   case $ac_top_builddir_sub in
9844   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9845   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9846   esac ;;
9847 esac
9848 ac_abs_top_builddir=$ac_pwd
9849 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9850 # for backward compatibility:
9851 ac_top_builddir=$ac_top_build_prefix
9852
9853 case $srcdir in
9854   .)  # We are building in place.
9855     ac_srcdir=.
9856     ac_top_srcdir=$ac_top_builddir_sub
9857     ac_abs_top_srcdir=$ac_pwd ;;
9858   [\\/]* | ?:[\\/]* )  # Absolute name.
9859     ac_srcdir=$srcdir$ac_dir_suffix;
9860     ac_top_srcdir=$srcdir
9861     ac_abs_top_srcdir=$srcdir ;;
9862   *) # Relative name.
9863     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9864     ac_top_srcdir=$ac_top_build_prefix$srcdir
9865     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9866 esac
9867 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9868
9869
9870   case $ac_mode in
9871   :F)
9872   #
9873   # CONFIG_FILE
9874   #
9875
9876   case $INSTALL in
9877   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9878   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9879   esac
9880   ac_MKDIR_P=$MKDIR_P
9881   case $MKDIR_P in
9882   [\\/$]* | ?:[\\/]* ) ;;
9883   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9884   esac
9885 _ACEOF
9886
9887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9888 # If the template does not know about datarootdir, expand it.
9889 # FIXME: This hack should be removed a few years after 2.60.
9890 ac_datarootdir_hack=; ac_datarootdir_seen=
9891 ac_sed_dataroot='
9892 /datarootdir/ {
9893   p
9894   q
9895 }
9896 /@datadir@/p
9897 /@docdir@/p
9898 /@infodir@/p
9899 /@localedir@/p
9900 /@mandir@/p'
9901 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9902 *datarootdir*) ac_datarootdir_seen=yes;;
9903 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9904   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9905 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9906 _ACEOF
9907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9908   ac_datarootdir_hack='
9909   s&@datadir@&$datadir&g
9910   s&@docdir@&$docdir&g
9911   s&@infodir@&$infodir&g
9912   s&@localedir@&$localedir&g
9913   s&@mandir@&$mandir&g
9914   s&\\\${datarootdir}&$datarootdir&g' ;;
9915 esac
9916 _ACEOF
9917
9918 # Neutralize VPATH when `$srcdir' = `.'.
9919 # Shell code in configure.ac might set extrasub.
9920 # FIXME: do we really want to maintain this feature?
9921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9922 ac_sed_extra="$ac_vpsub
9923 $extrasub
9924 _ACEOF
9925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9926 :t
9927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9928 s|@configure_input@|$ac_sed_conf_input|;t t
9929 s&@top_builddir@&$ac_top_builddir_sub&;t t
9930 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9931 s&@srcdir@&$ac_srcdir&;t t
9932 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9933 s&@top_srcdir@&$ac_top_srcdir&;t t
9934 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9935 s&@builddir@&$ac_builddir&;t t
9936 s&@abs_builddir@&$ac_abs_builddir&;t t
9937 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9938 s&@INSTALL@&$ac_INSTALL&;t t
9939 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9940 $ac_datarootdir_hack
9941 "
9942 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9943   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9944
9945 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9946   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9947   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
9948       "$ac_tmp/out"`; test -z "$ac_out"; } &&
9949   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9950 which seems to be undefined.  Please make sure it is defined" >&5
9951 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9952 which seems to be undefined.  Please make sure it is defined" >&2;}
9953
9954   rm -f "$ac_tmp/stdin"
9955   case $ac_file in
9956   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9957   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9958   esac \
9959   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9960  ;;
9961   :H)
9962   #
9963   # CONFIG_HEADER
9964   #
9965   if test x"$ac_file" != x-; then
9966     {
9967       $as_echo "/* $configure_input  */" \
9968       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9969     } >"$ac_tmp/config.h" \
9970       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9971     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9972       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9973 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9974     else
9975       rm -f "$ac_file"
9976       mv "$ac_tmp/config.h" "$ac_file" \
9977         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9978     fi
9979   else
9980     $as_echo "/* $configure_input  */" \
9981       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9982       || as_fn_error $? "could not create -" "$LINENO" 5
9983   fi
9984 # Compute "$ac_file"'s index in $config_headers.
9985 _am_arg="$ac_file"
9986 _am_stamp_count=1
9987 for _am_header in $config_headers :; do
9988   case $_am_header in
9989     $_am_arg | $_am_arg:* )
9990       break ;;
9991     * )
9992       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9993   esac
9994 done
9995 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9996 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9997          X"$_am_arg" : 'X\(//\)[^/]' \| \
9998          X"$_am_arg" : 'X\(//\)$' \| \
9999          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10000 $as_echo X"$_am_arg" |
10001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10002             s//\1/
10003             q
10004           }
10005           /^X\(\/\/\)[^/].*/{
10006             s//\1/
10007             q
10008           }
10009           /^X\(\/\/\)$/{
10010             s//\1/
10011             q
10012           }
10013           /^X\(\/\).*/{
10014             s//\1/
10015             q
10016           }
10017           s/.*/./; q'`/stamp-h$_am_stamp_count
10018  ;;
10019
10020   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10021 $as_echo "$as_me: executing $ac_file commands" >&6;}
10022  ;;
10023   esac
10024
10025
10026   case $ac_file$ac_mode in
10027     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10028   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10029   # are listed without --file.  Let's play safe and only enable the eval
10030   # if we detect the quoting.
10031   case $CONFIG_FILES in
10032   *\'*) eval set x "$CONFIG_FILES" ;;
10033   *)   set x $CONFIG_FILES ;;
10034   esac
10035   shift
10036   for mf
10037   do
10038     # Strip MF so we end up with the name of the file.
10039     mf=`echo "$mf" | sed -e 's/:.*$//'`
10040     # Check whether this is an Automake generated Makefile or not.
10041     # We used to match only the files named `Makefile.in', but
10042     # some people rename them; so instead we look at the file content.
10043     # Grep'ing the first line is not enough: some people post-process
10044     # each Makefile.in and add a new line on top of each file to say so.
10045     # Grep'ing the whole file is not good either: AIX grep has a line
10046     # limit of 2048, but all sed's we know have understand at least 4000.
10047     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10048       dirpart=`$as_dirname -- "$mf" ||
10049 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10050          X"$mf" : 'X\(//\)[^/]' \| \
10051          X"$mf" : 'X\(//\)$' \| \
10052          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10053 $as_echo X"$mf" |
10054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10055             s//\1/
10056             q
10057           }
10058           /^X\(\/\/\)[^/].*/{
10059             s//\1/
10060             q
10061           }
10062           /^X\(\/\/\)$/{
10063             s//\1/
10064             q
10065           }
10066           /^X\(\/\).*/{
10067             s//\1/
10068             q
10069           }
10070           s/.*/./; q'`
10071     else
10072       continue
10073     fi
10074     # Extract the definition of DEPDIR, am__include, and am__quote
10075     # from the Makefile without running `make'.
10076     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10077     test -z "$DEPDIR" && continue
10078     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10079     test -z "am__include" && continue
10080     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10081     # When using ansi2knr, U may be empty or an underscore; expand it
10082     U=`sed -n 's/^U = //p' < "$mf"`
10083     # Find all dependency output files, they are included files with
10084     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10085     # simplest approach to changing $(DEPDIR) to its actual value in the
10086     # expansion.
10087     for file in `sed -n "
10088       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10089          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10090       # Make sure the directory exists.
10091       test -f "$dirpart/$file" && continue
10092       fdir=`$as_dirname -- "$file" ||
10093 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10094          X"$file" : 'X\(//\)[^/]' \| \
10095          X"$file" : 'X\(//\)$' \| \
10096          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10097 $as_echo X"$file" |
10098     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10099             s//\1/
10100             q
10101           }
10102           /^X\(\/\/\)[^/].*/{
10103             s//\1/
10104             q
10105           }
10106           /^X\(\/\/\)$/{
10107             s//\1/
10108             q
10109           }
10110           /^X\(\/\).*/{
10111             s//\1/
10112             q
10113           }
10114           s/.*/./; q'`
10115       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10116       # echo "creating $dirpart/$file"
10117       echo '# dummy' > "$dirpart/$file"
10118     done
10119   done
10120 }
10121  ;;
10122     "po-directories":C)
10123     for ac_file in $CONFIG_FILES; do
10124       # Support "outfile[:infile[:infile...]]"
10125       case "$ac_file" in
10126         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10127       esac
10128       # PO directories have a Makefile.in generated from Makefile.in.in.
10129       case "$ac_file" in */Makefile.in)
10130         # Adjust a relative srcdir.
10131         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10132         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10133         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10134         # In autoconf-2.13 it is called $ac_given_srcdir.
10135         # In autoconf-2.50 it is called $srcdir.
10136         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10137         case "$ac_given_srcdir" in
10138           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10139           /*) top_srcdir="$ac_given_srcdir" ;;
10140           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
10141         esac
10142         # Treat a directory as a PO directory if and only if it has a
10143         # POTFILES.in file. This allows packages to have multiple PO
10144         # directories under different names or in different locations.
10145         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10146           rm -f "$ac_dir/POTFILES"
10147           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10148           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10149           POMAKEFILEDEPS="POTFILES.in"
10150           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10151           # on $ac_dir but don't depend on user-specified configuration
10152           # parameters.
10153           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10154             # The LINGUAS file contains the set of available languages.
10155             if test -n "$OBSOLETE_ALL_LINGUAS"; then
10156               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10157             fi
10158             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10159             # Hide the ALL_LINGUAS assigment from automake < 1.5.
10160             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10161             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10162           else
10163             # The set of available languages was given in configure.in.
10164             # Hide the ALL_LINGUAS assigment from automake < 1.5.
10165             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10166           fi
10167           # Compute POFILES
10168           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10169           # Compute UPDATEPOFILES
10170           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10171           # Compute DUMMYPOFILES
10172           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10173           # Compute GMOFILES
10174           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10175           case "$ac_given_srcdir" in
10176             .) srcdirpre= ;;
10177             *) srcdirpre='$(srcdir)/' ;;
10178           esac
10179           POFILES=
10180           UPDATEPOFILES=
10181           DUMMYPOFILES=
10182           GMOFILES=
10183           for lang in $ALL_LINGUAS; do
10184             POFILES="$POFILES $srcdirpre$lang.po"
10185             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10186             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10187             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10188           done
10189           # CATALOGS depends on both $ac_dir and the user's LINGUAS
10190           # environment variable.
10191           INST_LINGUAS=
10192           if test -n "$ALL_LINGUAS"; then
10193             for presentlang in $ALL_LINGUAS; do
10194               useit=no
10195               if test "%UNSET%" != "$LINGUAS"; then
10196                 desiredlanguages="$LINGUAS"
10197               else
10198                 desiredlanguages="$ALL_LINGUAS"
10199               fi
10200               for desiredlang in $desiredlanguages; do
10201                 # Use the presentlang catalog if desiredlang is
10202                 #   a. equal to presentlang, or
10203                 #   b. a variant of presentlang (because in this case,
10204                 #      presentlang can be used as a fallback for messages
10205                 #      which are not translated in the desiredlang catalog).
10206                 case "$desiredlang" in
10207                   "$presentlang"*) useit=yes;;
10208                 esac
10209               done
10210               if test $useit = yes; then
10211                 INST_LINGUAS="$INST_LINGUAS $presentlang"
10212               fi
10213             done
10214           fi
10215           CATALOGS=
10216           if test -n "$INST_LINGUAS"; then
10217             for lang in $INST_LINGUAS; do
10218               CATALOGS="$CATALOGS $lang.gmo"
10219             done
10220           fi
10221           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10222           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"
10223           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10224             if test -f "$f"; then
10225               case "$f" in
10226                 *.orig | *.bak | *~) ;;
10227                 *) cat "$f" >> "$ac_dir/Makefile" ;;
10228               esac
10229             fi
10230           done
10231         fi
10232         ;;
10233       esac
10234     done ;;
10235
10236   esac
10237 done # for ac_tag
10238
10239
10240 as_fn_exit 0
10241 _ACEOF
10242 ac_clean_files=$ac_clean_files_save
10243
10244 test $ac_write_fail = 0 ||
10245   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10246
10247
10248 # configure is writing to config.log, and then calls config.status.
10249 # config.status does its own redirection, appending to config.log.
10250 # Unfortunately, on DOS this fails, as config.log is still kept open
10251 # by configure, so config.status won't be able to write to it; its
10252 # output is simply discarded.  So we exec the FD to /dev/null,
10253 # effectively closing config.log, so it can be properly (re)opened and
10254 # appended to by config.status.  When coming back to configure, we
10255 # need to make the FD available again.
10256 if test "$no_create" != yes; then
10257   ac_cs_success=:
10258   ac_config_status_args=
10259   test "$silent" = yes &&
10260     ac_config_status_args="$ac_config_status_args --quiet"
10261   exec 5>/dev/null
10262   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10263   exec 5>>config.log
10264   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10265   # would make configure fail if this is the last instruction.
10266   $ac_cs_success || as_fn_exit 1
10267 fi
10268 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10269   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10270 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10271 fi
10272