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