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