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