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