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