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