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