Document changes
[moonshot-firefox.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for firefox-moonshot 0.0.1.
4 #
5 # Report bugs to <bugs@project-moonshot.org>.
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
234 $0: bugs@project-moonshot.org about your system, including
235 $0: any error possibly output before this message. Then
236 $0: install a modern shell, or manually run the script
237 $0: under such a shell if you do 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
532 test -n "$DJDIR" || exec 7<&0 </dev/null
533 exec 6>&1
534
535 # Name of the host.
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
540 #
541 # Initializations.
542 #
543 ac_default_prefix=/usr/local
544 ac_clean_files=
545 ac_config_libobj_dir=.
546 LIBOBJS=
547 cross_compiling=no
548 subdirs=
549 MFLAGS=
550 MAKEFLAGS=
551
552 # Identity of this package.
553 PACKAGE_NAME='firefox-moonshot'
554 PACKAGE_TARNAME='Moonshot Firefox extension'
555 PACKAGE_VERSION='0.0.1'
556 PACKAGE_STRING='firefox-moonshot 0.0.1'
557 PACKAGE_BUGREPORT='bugs@project-moonshot.org'
558 PACKAGE_URL=''
559
560 # Factoring default headers for most tests.
561 ac_includes_default="\
562 #include <stdio.h>
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
565 #endif
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
568 #endif
569 #ifdef STDC_HEADERS
570 # include <stdlib.h>
571 # include <stddef.h>
572 #else
573 # ifdef HAVE_STDLIB_H
574 #  include <stdlib.h>
575 # endif
576 #endif
577 #ifdef HAVE_STRING_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 #  include <memory.h>
580 # endif
581 # include <string.h>
582 #endif
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
585 #endif
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
588 #endif
589 #ifdef HAVE_STDINT_H
590 # include <stdint.h>
591 #endif
592 #ifdef HAVE_UNISTD_H
593 # include <unistd.h>
594 #endif"
595
596 ac_subst_vars='am__EXEEXT_FALSE
597 am__EXEEXT_TRUE
598 LTLIBOBJS
599 LIBOBJS
600 EGREP
601 GREP
602 CPP
603 am__fastdepCC_FALSE
604 am__fastdepCC_TRUE
605 CCDEPMODE
606 ac_ct_CC
607 CFLAGS
608 CC
609 XPIDL
610 MOZ_SDKDIR
611 MOZ_IDLDIR
612 XUL_LIBS
613 XUL_CFLAGS
614 PKG_CONFIG_LIBDIR
615 PKG_CONFIG_PATH
616 PKG_CONFIG
617 RANLIB
618 am__fastdepCXX_FALSE
619 am__fastdepCXX_TRUE
620 CXXDEPMODE
621 AMDEPBACKSLASH
622 AMDEP_FALSE
623 AMDEP_TRUE
624 am__quote
625 am__include
626 DEPDIR
627 OBJEXT
628 EXEEXT
629 ac_ct_CXX
630 CPPFLAGS
631 LDFLAGS
632 CXXFLAGS
633 CXX
634 am__untar
635 am__tar
636 AMTAR
637 am__leading_dot
638 SET_MAKE
639 AWK
640 mkdir_p
641 MKDIR_P
642 INSTALL_STRIP_PROGRAM
643 STRIP
644 install_sh
645 MAKEINFO
646 AUTOHEADER
647 AUTOMAKE
648 AUTOCONF
649 ACLOCAL
650 VERSION
651 PACKAGE
652 CYGPATH_W
653 am__isrc
654 INSTALL_DATA
655 INSTALL_SCRIPT
656 INSTALL_PROGRAM
657 target_alias
658 host_alias
659 build_alias
660 LIBS
661 ECHO_T
662 ECHO_N
663 ECHO_C
664 DEFS
665 mandir
666 localedir
667 libdir
668 psdir
669 pdfdir
670 dvidir
671 htmldir
672 infodir
673 docdir
674 oldincludedir
675 includedir
676 localstatedir
677 sharedstatedir
678 sysconfdir
679 datadir
680 datarootdir
681 libexecdir
682 sbindir
683 bindir
684 program_transform_name
685 prefix
686 exec_prefix
687 PACKAGE_URL
688 PACKAGE_BUGREPORT
689 PACKAGE_STRING
690 PACKAGE_VERSION
691 PACKAGE_TARNAME
692 PACKAGE_NAME
693 PATH_SEPARATOR
694 SHELL'
695 ac_subst_files=''
696 ac_user_opts='
697 enable_option_checking
698 enable_dependency_tracking
699 '
700       ac_precious_vars='build_alias
701 host_alias
702 target_alias
703 CXX
704 CXXFLAGS
705 LDFLAGS
706 LIBS
707 CPPFLAGS
708 CCC
709 PKG_CONFIG
710 PKG_CONFIG_PATH
711 PKG_CONFIG_LIBDIR
712 XUL_CFLAGS
713 XUL_LIBS
714 CC
715 CFLAGS
716 CPP'
717
718
719 # Initialize some variables set by options.
720 ac_init_help=
721 ac_init_version=false
722 ac_unrecognized_opts=
723 ac_unrecognized_sep=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
726 cache_file=/dev/null
727 exec_prefix=NONE
728 no_create=
729 no_recursion=
730 prefix=NONE
731 program_prefix=NONE
732 program_suffix=NONE
733 program_transform_name=s,x,x,
734 silent=
735 site=
736 srcdir=
737 verbose=
738 x_includes=NONE
739 x_libraries=NONE
740
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir='${exec_prefix}/bin'
748 sbindir='${exec_prefix}/sbin'
749 libexecdir='${exec_prefix}/libexec'
750 datarootdir='${prefix}/share'
751 datadir='${datarootdir}'
752 sysconfdir='${prefix}/etc'
753 sharedstatedir='${prefix}/com'
754 localstatedir='${prefix}/var'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir='${datarootdir}/info'
759 htmldir='${docdir}'
760 dvidir='${docdir}'
761 pdfdir='${docdir}'
762 psdir='${docdir}'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
766
767 ac_prev=
768 ac_dashdash=
769 for ac_option
770 do
771   # If the previous option needs an argument, assign it.
772   if test -n "$ac_prev"; then
773     eval $ac_prev=\$ac_option
774     ac_prev=
775     continue
776   fi
777
778   case $ac_option in
779   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780   *=)   ac_optarg= ;;
781   *)    ac_optarg=yes ;;
782   esac
783
784   # Accept the important Cygnus configure options, so we can diagnose typos.
785
786   case $ac_dashdash$ac_option in
787   --)
788     ac_dashdash=yes ;;
789
790   -bindir | --bindir | --bindi | --bind | --bin | --bi)
791     ac_prev=bindir ;;
792   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793     bindir=$ac_optarg ;;
794
795   -build | --build | --buil | --bui | --bu)
796     ac_prev=build_alias ;;
797   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798     build_alias=$ac_optarg ;;
799
800   -cache-file | --cache-file | --cache-fil | --cache-fi \
801   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802     ac_prev=cache_file ;;
803   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805     cache_file=$ac_optarg ;;
806
807   --config-cache | -C)
808     cache_file=config.cache ;;
809
810   -datadir | --datadir | --datadi | --datad)
811     ac_prev=datadir ;;
812   -datadir=* | --datadir=* | --datadi=* | --datad=*)
813     datadir=$ac_optarg ;;
814
815   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816   | --dataroo | --dataro | --datar)
817     ac_prev=datarootdir ;;
818   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820     datarootdir=$ac_optarg ;;
821
822   -disable-* | --disable-*)
823     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824     # Reject names that are not valid shell variable names.
825     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826       as_fn_error $? "invalid feature name: $ac_useropt"
827     ac_useropt_orig=$ac_useropt
828     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829     case $ac_user_opts in
830       *"
831 "enable_$ac_useropt"
832 "*) ;;
833       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834          ac_unrecognized_sep=', ';;
835     esac
836     eval enable_$ac_useropt=no ;;
837
838   -docdir | --docdir | --docdi | --doc | --do)
839     ac_prev=docdir ;;
840   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841     docdir=$ac_optarg ;;
842
843   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844     ac_prev=dvidir ;;
845   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846     dvidir=$ac_optarg ;;
847
848   -enable-* | --enable-*)
849     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850     # Reject names that are not valid shell variable names.
851     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852       as_fn_error $? "invalid feature name: $ac_useropt"
853     ac_useropt_orig=$ac_useropt
854     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855     case $ac_user_opts in
856       *"
857 "enable_$ac_useropt"
858 "*) ;;
859       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860          ac_unrecognized_sep=', ';;
861     esac
862     eval enable_$ac_useropt=\$ac_optarg ;;
863
864   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866   | --exec | --exe | --ex)
867     ac_prev=exec_prefix ;;
868   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870   | --exec=* | --exe=* | --ex=*)
871     exec_prefix=$ac_optarg ;;
872
873   -gas | --gas | --ga | --g)
874     # Obsolete; use --with-gas.
875     with_gas=yes ;;
876
877   -help | --help | --hel | --he | -h)
878     ac_init_help=long ;;
879   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880     ac_init_help=recursive ;;
881   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882     ac_init_help=short ;;
883
884   -host | --host | --hos | --ho)
885     ac_prev=host_alias ;;
886   -host=* | --host=* | --hos=* | --ho=*)
887     host_alias=$ac_optarg ;;
888
889   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890     ac_prev=htmldir ;;
891   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892   | --ht=*)
893     htmldir=$ac_optarg ;;
894
895   -includedir | --includedir | --includedi | --included | --include \
896   | --includ | --inclu | --incl | --inc)
897     ac_prev=includedir ;;
898   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899   | --includ=* | --inclu=* | --incl=* | --inc=*)
900     includedir=$ac_optarg ;;
901
902   -infodir | --infodir | --infodi | --infod | --info | --inf)
903     ac_prev=infodir ;;
904   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905     infodir=$ac_optarg ;;
906
907   -libdir | --libdir | --libdi | --libd)
908     ac_prev=libdir ;;
909   -libdir=* | --libdir=* | --libdi=* | --libd=*)
910     libdir=$ac_optarg ;;
911
912   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913   | --libexe | --libex | --libe)
914     ac_prev=libexecdir ;;
915   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916   | --libexe=* | --libex=* | --libe=*)
917     libexecdir=$ac_optarg ;;
918
919   -localedir | --localedir | --localedi | --localed | --locale)
920     ac_prev=localedir ;;
921   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922     localedir=$ac_optarg ;;
923
924   -localstatedir | --localstatedir | --localstatedi | --localstated \
925   | --localstate | --localstat | --localsta | --localst | --locals)
926     ac_prev=localstatedir ;;
927   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929     localstatedir=$ac_optarg ;;
930
931   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932     ac_prev=mandir ;;
933   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934     mandir=$ac_optarg ;;
935
936   -nfp | --nfp | --nf)
937     # Obsolete; use --without-fp.
938     with_fp=no ;;
939
940   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941   | --no-cr | --no-c | -n)
942     no_create=yes ;;
943
944   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946     no_recursion=yes ;;
947
948   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950   | --oldin | --oldi | --old | --ol | --o)
951     ac_prev=oldincludedir ;;
952   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955     oldincludedir=$ac_optarg ;;
956
957   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958     ac_prev=prefix ;;
959   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960     prefix=$ac_optarg ;;
961
962   -program-prefix | --program-prefix | --program-prefi | --program-pref \
963   | --program-pre | --program-pr | --program-p)
964     ac_prev=program_prefix ;;
965   -program-prefix=* | --program-prefix=* | --program-prefi=* \
966   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967     program_prefix=$ac_optarg ;;
968
969   -program-suffix | --program-suffix | --program-suffi | --program-suff \
970   | --program-suf | --program-su | --program-s)
971     ac_prev=program_suffix ;;
972   -program-suffix=* | --program-suffix=* | --program-suffi=* \
973   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974     program_suffix=$ac_optarg ;;
975
976   -program-transform-name | --program-transform-name \
977   | --program-transform-nam | --program-transform-na \
978   | --program-transform-n | --program-transform- \
979   | --program-transform | --program-transfor \
980   | --program-transfo | --program-transf \
981   | --program-trans | --program-tran \
982   | --progr-tra | --program-tr | --program-t)
983     ac_prev=program_transform_name ;;
984   -program-transform-name=* | --program-transform-name=* \
985   | --program-transform-nam=* | --program-transform-na=* \
986   | --program-transform-n=* | --program-transform-=* \
987   | --program-transform=* | --program-transfor=* \
988   | --program-transfo=* | --program-transf=* \
989   | --program-trans=* | --program-tran=* \
990   | --progr-tra=* | --program-tr=* | --program-t=*)
991     program_transform_name=$ac_optarg ;;
992
993   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994     ac_prev=pdfdir ;;
995   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996     pdfdir=$ac_optarg ;;
997
998   -psdir | --psdir | --psdi | --psd | --ps)
999     ac_prev=psdir ;;
1000   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001     psdir=$ac_optarg ;;
1002
1003   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004   | -silent | --silent | --silen | --sile | --sil)
1005     silent=yes ;;
1006
1007   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008     ac_prev=sbindir ;;
1009   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010   | --sbi=* | --sb=*)
1011     sbindir=$ac_optarg ;;
1012
1013   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015   | --sharedst | --shareds | --shared | --share | --shar \
1016   | --sha | --sh)
1017     ac_prev=sharedstatedir ;;
1018   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021   | --sha=* | --sh=*)
1022     sharedstatedir=$ac_optarg ;;
1023
1024   -site | --site | --sit)
1025     ac_prev=site ;;
1026   -site=* | --site=* | --sit=*)
1027     site=$ac_optarg ;;
1028
1029   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030     ac_prev=srcdir ;;
1031   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032     srcdir=$ac_optarg ;;
1033
1034   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035   | --syscon | --sysco | --sysc | --sys | --sy)
1036     ac_prev=sysconfdir ;;
1037   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039     sysconfdir=$ac_optarg ;;
1040
1041   -target | --target | --targe | --targ | --tar | --ta | --t)
1042     ac_prev=target_alias ;;
1043   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044     target_alias=$ac_optarg ;;
1045
1046   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047     verbose=yes ;;
1048
1049   -version | --version | --versio | --versi | --vers | -V)
1050     ac_init_version=: ;;
1051
1052   -with-* | --with-*)
1053     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054     # Reject names that are not valid shell variable names.
1055     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056       as_fn_error $? "invalid package name: $ac_useropt"
1057     ac_useropt_orig=$ac_useropt
1058     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059     case $ac_user_opts in
1060       *"
1061 "with_$ac_useropt"
1062 "*) ;;
1063       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064          ac_unrecognized_sep=', ';;
1065     esac
1066     eval with_$ac_useropt=\$ac_optarg ;;
1067
1068   -without-* | --without-*)
1069     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070     # Reject names that are not valid shell variable names.
1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072       as_fn_error $? "invalid package name: $ac_useropt"
1073     ac_useropt_orig=$ac_useropt
1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075     case $ac_user_opts in
1076       *"
1077 "with_$ac_useropt"
1078 "*) ;;
1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080          ac_unrecognized_sep=', ';;
1081     esac
1082     eval with_$ac_useropt=no ;;
1083
1084   --x)
1085     # Obsolete; use --with-x.
1086     with_x=yes ;;
1087
1088   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1089   | --x-incl | --x-inc | --x-in | --x-i)
1090     ac_prev=x_includes ;;
1091   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1092   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1093     x_includes=$ac_optarg ;;
1094
1095   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1096   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1097     ac_prev=x_libraries ;;
1098   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1099   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100     x_libraries=$ac_optarg ;;
1101
1102   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
1104     ;;
1105
1106   *=*)
1107     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108     # Reject names that are not valid shell variable names.
1109     case $ac_envvar in #(
1110       '' | [0-9]* | *[!_$as_cr_alnum]* )
1111       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1112     esac
1113     eval $ac_envvar=\$ac_optarg
1114     export $ac_envvar ;;
1115
1116   *)
1117     # FIXME: should be removed in autoconf 3.0.
1118     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1122     ;;
1123
1124   esac
1125 done
1126
1127 if test -n "$ac_prev"; then
1128   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129   as_fn_error $? "missing argument to $ac_option"
1130 fi
1131
1132 if test -n "$ac_unrecognized_opts"; then
1133   case $enable_option_checking in
1134     no) ;;
1135     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137   esac
1138 fi
1139
1140 # Check all directory arguments for consistency.
1141 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142                 datadir sysconfdir sharedstatedir localstatedir includedir \
1143                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144                 libdir localedir mandir
1145 do
1146   eval ac_val=\$$ac_var
1147   # Remove trailing slashes.
1148   case $ac_val in
1149     */ )
1150       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151       eval $ac_var=\$ac_val;;
1152   esac
1153   # Be sure to have absolute directory names.
1154   case $ac_val in
1155     [\\/$]* | ?:[\\/]* )  continue;;
1156     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157   esac
1158   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1159 done
1160
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1164 build=$build_alias
1165 host=$host_alias
1166 target=$target_alias
1167
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x; then
1170   if test "x$build_alias" = x; then
1171     cross_compiling=maybe
1172     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1173     If a cross compiler is detected then cross compile mode will be used" >&2
1174   elif test "x$build_alias" != "x$host_alias"; then
1175     cross_compiling=yes
1176   fi
1177 fi
1178
1179 ac_tool_prefix=
1180 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1181
1182 test "$silent" = yes && exec 6>/dev/null
1183
1184
1185 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di=`ls -di .` &&
1187 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1188   as_fn_error $? "working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190   as_fn_error $? "pwd does not report name of working directory"
1191
1192
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195   ac_srcdir_defaulted=yes
1196   # Try the directory containing this script, then the parent directory.
1197   ac_confdir=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199          X"$as_myself" : 'X\(//\)[^/]' \| \
1200          X"$as_myself" : 'X\(//\)$' \| \
1201          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204             s//\1/
1205             q
1206           }
1207           /^X\(\/\/\)[^/].*/{
1208             s//\1/
1209             q
1210           }
1211           /^X\(\/\/\)$/{
1212             s//\1/
1213             q
1214           }
1215           /^X\(\/\).*/{
1216             s//\1/
1217             q
1218           }
1219           s/.*/./; q'`
1220   srcdir=$ac_confdir
1221   if test ! -r "$srcdir/$ac_unique_file"; then
1222     srcdir=..
1223   fi
1224 else
1225   ac_srcdir_defaulted=no
1226 fi
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1229   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1230 fi
1231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1232 ac_abs_confdir=`(
1233         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1234         pwd)`
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237   srcdir=.
1238 fi
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1242 case $srcdir in
1243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 esac
1245 for ac_var in $ac_precious_vars; do
1246   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1247   eval ac_env_${ac_var}_value=\$${ac_var}
1248   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1249   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250 done
1251
1252 #
1253 # Report the --help message.
1254 #
1255 if test "$ac_init_help" = "long"; then
1256   # Omit some internal or obsolete options to make the list less imposing.
1257   # This message is too long to be a string in the A/UX 3.1 sh.
1258   cat <<_ACEOF
1259 \`configure' configures firefox-moonshot 0.0.1 to adapt to many kinds of systems.
1260
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1262
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE.  See below for descriptions of some of the useful variables.
1265
1266 Defaults for the options are specified in brackets.
1267
1268 Configuration:
1269   -h, --help              display this help and exit
1270       --help=short        display options specific to this package
1271       --help=recursive    display the short help of all the included packages
1272   -V, --version           display version information and exit
1273   -q, --quiet, --silent   do not print \`checking ...' messages
1274       --cache-file=FILE   cache test results in FILE [disabled]
1275   -C, --config-cache      alias for \`--cache-file=config.cache'
1276   -n, --no-create         do not create output files
1277       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1278
1279 Installation directories:
1280   --prefix=PREFIX         install architecture-independent files in PREFIX
1281                           [$ac_default_prefix]
1282   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1283                           [PREFIX]
1284
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1289
1290 For better control, use the options below.
1291
1292 Fine tuning of the installation directories:
1293   --bindir=DIR            user executables [EPREFIX/bin]
1294   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1295   --libexecdir=DIR        program executables [EPREFIX/libexec]
1296   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1297   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1298   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1299   --libdir=DIR            object code libraries [EPREFIX/lib]
1300   --includedir=DIR        C header files [PREFIX/include]
1301   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1302   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1303   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1304   --infodir=DIR           info documentation [DATAROOTDIR/info]
1305   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1306   --mandir=DIR            man documentation [DATAROOTDIR/man]
1307   --docdir=DIR            documentation root [DATAROOTDIR/doc/Moonshot Firefox
1308                           extension]
1309   --htmldir=DIR           html documentation [DOCDIR]
1310   --dvidir=DIR            dvi documentation [DOCDIR]
1311   --pdfdir=DIR            pdf documentation [DOCDIR]
1312   --psdir=DIR             ps documentation [DOCDIR]
1313 _ACEOF
1314
1315   cat <<\_ACEOF
1316
1317 Program names:
1318   --program-prefix=PREFIX            prepend PREFIX to installed program names
1319   --program-suffix=SUFFIX            append SUFFIX to installed program names
1320   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1321 _ACEOF
1322 fi
1323
1324 if test -n "$ac_init_help"; then
1325   case $ac_init_help in
1326      short | recursive ) echo "Configuration of firefox-moonshot 0.0.1:";;
1327    esac
1328   cat <<\_ACEOF
1329
1330 Optional Features:
1331   --disable-option-checking  ignore unrecognized --enable/--with options
1332   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1333   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1334   --disable-dependency-tracking  speeds up one-time build
1335   --enable-dependency-tracking   do not reject slow dependency extractors
1336
1337 Some influential environment variables:
1338   CXX         C++ compiler command
1339   CXXFLAGS    C++ compiler flags
1340   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1341               nonstandard directory <lib dir>
1342   LIBS        libraries to pass to the linker, e.g. -l<library>
1343   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1344               you have headers in a nonstandard directory <include dir>
1345   PKG_CONFIG  path to pkg-config utility
1346   PKG_CONFIG_PATH
1347               directories to add to pkg-config's search path
1348   PKG_CONFIG_LIBDIR
1349               path overriding pkg-config's built-in search path
1350   XUL_CFLAGS  C compiler flags for XUL, overriding pkg-config
1351   XUL_LIBS    linker flags for XUL, overriding pkg-config
1352   CC          C compiler command
1353   CFLAGS      C compiler flags
1354   CPP         C preprocessor
1355
1356 Use these variables to override the choices made by `configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1358
1359 Report bugs to <bugs@project-moonshot.org>.
1360 _ACEOF
1361 ac_status=$?
1362 fi
1363
1364 if test "$ac_init_help" = "recursive"; then
1365   # If there are subdirs, report their specific --help.
1366   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367     test -d "$ac_dir" ||
1368       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369       continue
1370     ac_builddir=.
1371
1372 case "$ac_dir" in
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 *)
1375   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1376   # A ".." for each directory in $ac_dir_suffix.
1377   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1378   case $ac_top_builddir_sub in
1379   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381   esac ;;
1382 esac
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1387
1388 case $srcdir in
1389   .)  # We are building in place.
1390     ac_srcdir=.
1391     ac_top_srcdir=$ac_top_builddir_sub
1392     ac_abs_top_srcdir=$ac_pwd ;;
1393   [\\/]* | ?:[\\/]* )  # Absolute name.
1394     ac_srcdir=$srcdir$ac_dir_suffix;
1395     ac_top_srcdir=$srcdir
1396     ac_abs_top_srcdir=$srcdir ;;
1397   *) # Relative name.
1398     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399     ac_top_srcdir=$ac_top_build_prefix$srcdir
1400     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 esac
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403
1404     cd "$ac_dir" || { ac_status=$?; continue; }
1405     # Check for guested configure.
1406     if test -f "$ac_srcdir/configure.gnu"; then
1407       echo &&
1408       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409     elif test -f "$ac_srcdir/configure"; then
1410       echo &&
1411       $SHELL "$ac_srcdir/configure" --help=recursive
1412     else
1413       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414     fi || ac_status=$?
1415     cd "$ac_pwd" || { ac_status=$?; break; }
1416   done
1417 fi
1418
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1421   cat <<\_ACEOF
1422 firefox-moonshot configure 0.0.1
1423 generated by GNU Autoconf 2.67
1424
1425 Copyright (C) 2010 Free Software Foundation, Inc.
1426 This configure script is free software; the Free Software Foundation
1427 gives unlimited permission to copy, distribute and modify it.
1428 _ACEOF
1429   exit
1430 fi
1431
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
1435
1436 # ac_fn_cxx_try_compile LINENO
1437 # ----------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_cxx_try_compile ()
1440 {
1441   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442   rm -f conftest.$ac_objext
1443   if { { ac_try="$ac_compile"
1444 case "(($ac_try" in
1445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446   *) ac_try_echo=$ac_try;;
1447 esac
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450   (eval "$ac_compile") 2>conftest.err
1451   ac_status=$?
1452   if test -s conftest.err; then
1453     grep -v '^ *+' conftest.err >conftest.er1
1454     cat conftest.er1 >&5
1455     mv -f conftest.er1 conftest.err
1456   fi
1457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458   test $ac_status = 0; } && {
1459          test -z "$ac_cxx_werror_flag" ||
1460          test ! -s conftest.err
1461        } && test -s conftest.$ac_objext; then :
1462   ac_retval=0
1463 else
1464   $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1466
1467         ac_retval=1
1468 fi
1469   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1470   as_fn_set_status $ac_retval
1471
1472 } # ac_fn_cxx_try_compile
1473
1474 # ac_fn_c_try_compile LINENO
1475 # --------------------------
1476 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1477 ac_fn_c_try_compile ()
1478 {
1479   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480   rm -f conftest.$ac_objext
1481   if { { ac_try="$ac_compile"
1482 case "(($ac_try" in
1483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1484   *) ac_try_echo=$ac_try;;
1485 esac
1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487 $as_echo "$ac_try_echo"; } >&5
1488   (eval "$ac_compile") 2>conftest.err
1489   ac_status=$?
1490   if test -s conftest.err; then
1491     grep -v '^ *+' conftest.err >conftest.er1
1492     cat conftest.er1 >&5
1493     mv -f conftest.er1 conftest.err
1494   fi
1495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496   test $ac_status = 0; } && {
1497          test -z "$ac_c_werror_flag" ||
1498          test ! -s conftest.err
1499        } && test -s conftest.$ac_objext; then :
1500   ac_retval=0
1501 else
1502   $as_echo "$as_me: failed program was:" >&5
1503 sed 's/^/| /' conftest.$ac_ext >&5
1504
1505         ac_retval=1
1506 fi
1507   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1508   as_fn_set_status $ac_retval
1509
1510 } # ac_fn_c_try_compile
1511
1512 # ac_fn_c_try_link LINENO
1513 # -----------------------
1514 # Try to link conftest.$ac_ext, and return whether this succeeded.
1515 ac_fn_c_try_link ()
1516 {
1517   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518   rm -f conftest.$ac_objext conftest$ac_exeext
1519   if { { ac_try="$ac_link"
1520 case "(($ac_try" in
1521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522   *) ac_try_echo=$ac_try;;
1523 esac
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526   (eval "$ac_link") 2>conftest.err
1527   ac_status=$?
1528   if test -s conftest.err; then
1529     grep -v '^ *+' conftest.err >conftest.er1
1530     cat conftest.er1 >&5
1531     mv -f conftest.er1 conftest.err
1532   fi
1533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534   test $ac_status = 0; } && {
1535          test -z "$ac_c_werror_flag" ||
1536          test ! -s conftest.err
1537        } && test -s conftest$ac_exeext && {
1538          test "$cross_compiling" = yes ||
1539          $as_test_x conftest$ac_exeext
1540        }; then :
1541   ac_retval=0
1542 else
1543   $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1545
1546         ac_retval=1
1547 fi
1548   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1549   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1550   # interfere with the next link command; also delete a directory that is
1551   # left behind by Apple's compiler.  We do this before executing the actions.
1552   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554   as_fn_set_status $ac_retval
1555
1556 } # ac_fn_c_try_link
1557
1558 # ac_fn_c_try_cpp LINENO
1559 # ----------------------
1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_cpp ()
1562 {
1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564   if { { ac_try="$ac_cpp conftest.$ac_ext"
1565 case "(($ac_try" in
1566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567   *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572   ac_status=$?
1573   if test -s conftest.err; then
1574     grep -v '^ *+' conftest.err >conftest.er1
1575     cat conftest.er1 >&5
1576     mv -f conftest.er1 conftest.err
1577   fi
1578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579   test $ac_status = 0; } > conftest.i && {
1580          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1581          test ! -s conftest.err
1582        }; then :
1583   ac_retval=0
1584 else
1585   $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588     ac_retval=1
1589 fi
1590   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1591   as_fn_set_status $ac_retval
1592
1593 } # ac_fn_c_try_cpp
1594
1595 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1596 # -------------------------------------------------------
1597 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1598 # the include files in INCLUDES and setting the cache variable VAR
1599 # accordingly.
1600 ac_fn_c_check_header_mongrel ()
1601 {
1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603   if eval "test \"\${$3+set}\"" = set; then :
1604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if eval "test \"\${$3+set}\"" = set; then :
1607   $as_echo_n "(cached) " >&6
1608 fi
1609 eval ac_res=\$$3
1610                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 else
1613   # Is the header compilable?
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1615 $as_echo_n "checking $2 usability... " >&6; }
1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h.  */
1618 $4
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_c_try_compile "$LINENO"; then :
1622   ac_header_compiler=yes
1623 else
1624   ac_header_compiler=no
1625 fi
1626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1628 $as_echo "$ac_header_compiler" >&6; }
1629
1630 # Is the header present?
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1632 $as_echo_n "checking $2 presence... " >&6; }
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h.  */
1635 #include <$2>
1636 _ACEOF
1637 if ac_fn_c_try_cpp "$LINENO"; then :
1638   ac_header_preproc=yes
1639 else
1640   ac_header_preproc=no
1641 fi
1642 rm -f conftest.err conftest.i conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1644 $as_echo "$ac_header_preproc" >&6; }
1645
1646 # So?  What about this header?
1647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1648   yes:no: )
1649     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1650 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1651     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1653     ;;
1654   no:yes:* )
1655     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1656 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1657     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1658 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1660 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1661     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1662 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 ( $as_echo "## ---------------------------------------- ##
1666 ## Report this to bugs@project-moonshot.org ##
1667 ## ---------------------------------------- ##"
1668      ) | sed "s/^/$as_me: WARNING:     /" >&2
1669     ;;
1670 esac
1671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval "test \"\${$3+set}\"" = set; then :
1674   $as_echo_n "(cached) " >&6
1675 else
1676   eval "$3=\$ac_header_compiler"
1677 fi
1678 eval ac_res=\$$3
1679                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681 fi
1682   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683
1684 } # ac_fn_c_check_header_mongrel
1685
1686 # ac_fn_c_try_run LINENO
1687 # ----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689 # that executables *can* be run.
1690 ac_fn_c_try_run ()
1691 {
1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693   if { { ac_try="$ac_link"
1694 case "(($ac_try" in
1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696   *) ac_try_echo=$ac_try;;
1697 esac
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700   (eval "$ac_link") 2>&5
1701   ac_status=$?
1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1704   { { case "(($ac_try" in
1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706   *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710   (eval "$ac_try") 2>&5
1711   ac_status=$?
1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713   test $ac_status = 0; }; }; then :
1714   ac_retval=0
1715 else
1716   $as_echo "$as_me: program exited with status $ac_status" >&5
1717        $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1719
1720        ac_retval=$ac_status
1721 fi
1722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724   as_fn_set_status $ac_retval
1725
1726 } # ac_fn_c_try_run
1727
1728 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1729 # -------------------------------------------------------
1730 # Tests whether HEADER exists and can be compiled using the include files in
1731 # INCLUDES, setting the cache variable VAR accordingly.
1732 ac_fn_c_check_header_compile ()
1733 {
1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if eval "test \"\${$3+set}\"" = set; then :
1738   $as_echo_n "(cached) " >&6
1739 else
1740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h.  */
1742 $4
1743 #include <$2>
1744 _ACEOF
1745 if ac_fn_c_try_compile "$LINENO"; then :
1746   eval "$3=yes"
1747 else
1748   eval "$3=no"
1749 fi
1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1751 fi
1752 eval ac_res=\$$3
1753                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756
1757 } # ac_fn_c_check_header_compile
1758 cat >config.log <<_ACEOF
1759 This file contains any messages produced by compilers while
1760 running configure, to aid debugging if configure makes a mistake.
1761
1762 It was created by firefox-moonshot $as_me 0.0.1, which was
1763 generated by GNU Autoconf 2.67.  Invocation command line was
1764
1765   $ $0 $@
1766
1767 _ACEOF
1768 exec 5>>config.log
1769 {
1770 cat <<_ASUNAME
1771 ## --------- ##
1772 ## Platform. ##
1773 ## --------- ##
1774
1775 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1776 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1777 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1778 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1779 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1780
1781 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1782 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1783
1784 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1785 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1786 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1787 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1788 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1789 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1790 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1791
1792 _ASUNAME
1793
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 for as_dir in $PATH
1796 do
1797   IFS=$as_save_IFS
1798   test -z "$as_dir" && as_dir=.
1799     $as_echo "PATH: $as_dir"
1800   done
1801 IFS=$as_save_IFS
1802
1803 } >&5
1804
1805 cat >&5 <<_ACEOF
1806
1807
1808 ## ----------- ##
1809 ## Core tests. ##
1810 ## ----------- ##
1811
1812 _ACEOF
1813
1814
1815 # Keep a trace of the command line.
1816 # Strip out --no-create and --no-recursion so they do not pile up.
1817 # Strip out --silent because we don't want to record it for future runs.
1818 # Also quote any args containing shell meta-characters.
1819 # Make two passes to allow for proper duplicate-argument suppression.
1820 ac_configure_args=
1821 ac_configure_args0=
1822 ac_configure_args1=
1823 ac_must_keep_next=false
1824 for ac_pass in 1 2
1825 do
1826   for ac_arg
1827   do
1828     case $ac_arg in
1829     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1830     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1831     | -silent | --silent | --silen | --sile | --sil)
1832       continue ;;
1833     *\'*)
1834       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1835     esac
1836     case $ac_pass in
1837     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1838     2)
1839       as_fn_append ac_configure_args1 " '$ac_arg'"
1840       if test $ac_must_keep_next = true; then
1841         ac_must_keep_next=false # Got value, back to normal.
1842       else
1843         case $ac_arg in
1844           *=* | --config-cache | -C | -disable-* | --disable-* \
1845           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1846           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1847           | -with-* | --with-* | -without-* | --without-* | --x)
1848             case "$ac_configure_args0 " in
1849               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1850             esac
1851             ;;
1852           -* ) ac_must_keep_next=true ;;
1853         esac
1854       fi
1855       as_fn_append ac_configure_args " '$ac_arg'"
1856       ;;
1857     esac
1858   done
1859 done
1860 { ac_configure_args0=; unset ac_configure_args0;}
1861 { ac_configure_args1=; unset ac_configure_args1;}
1862
1863 # When interrupted or exit'd, cleanup temporary files, and complete
1864 # config.log.  We remove comments because anyway the quotes in there
1865 # would cause problems or look ugly.
1866 # WARNING: Use '\'' to represent an apostrophe within the trap.
1867 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1868 trap 'exit_status=$?
1869   # Save into config.log some information that might help in debugging.
1870   {
1871     echo
1872
1873     $as_echo "## ---------------- ##
1874 ## Cache variables. ##
1875 ## ---------------- ##"
1876     echo
1877     # The following way of writing the cache mishandles newlines in values,
1878 (
1879   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1880     eval ac_val=\$$ac_var
1881     case $ac_val in #(
1882     *${as_nl}*)
1883       case $ac_var in #(
1884       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1886       esac
1887       case $ac_var in #(
1888       _ | IFS | as_nl) ;; #(
1889       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890       *) { eval $ac_var=; unset $ac_var;} ;;
1891       esac ;;
1892     esac
1893   done
1894   (set) 2>&1 |
1895     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896     *${as_nl}ac_space=\ *)
1897       sed -n \
1898         "s/'\''/'\''\\\\'\'''\''/g;
1899           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1900       ;; #(
1901     *)
1902       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1903       ;;
1904     esac |
1905     sort
1906 )
1907     echo
1908
1909     $as_echo "## ----------------- ##
1910 ## Output variables. ##
1911 ## ----------------- ##"
1912     echo
1913     for ac_var in $ac_subst_vars
1914     do
1915       eval ac_val=\$$ac_var
1916       case $ac_val in
1917       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1918       esac
1919       $as_echo "$ac_var='\''$ac_val'\''"
1920     done | sort
1921     echo
1922
1923     if test -n "$ac_subst_files"; then
1924       $as_echo "## ------------------- ##
1925 ## File substitutions. ##
1926 ## ------------------- ##"
1927       echo
1928       for ac_var in $ac_subst_files
1929       do
1930         eval ac_val=\$$ac_var
1931         case $ac_val in
1932         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1933         esac
1934         $as_echo "$ac_var='\''$ac_val'\''"
1935       done | sort
1936       echo
1937     fi
1938
1939     if test -s confdefs.h; then
1940       $as_echo "## ----------- ##
1941 ## confdefs.h. ##
1942 ## ----------- ##"
1943       echo
1944       cat confdefs.h
1945       echo
1946     fi
1947     test "$ac_signal" != 0 &&
1948       $as_echo "$as_me: caught signal $ac_signal"
1949     $as_echo "$as_me: exit $exit_status"
1950   } >&5
1951   rm -f core *.core core.conftest.* &&
1952     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1953     exit $exit_status
1954 ' 0
1955 for ac_signal in 1 2 13 15; do
1956   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1957 done
1958 ac_signal=0
1959
1960 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1961 rm -f -r conftest* confdefs.h
1962
1963 $as_echo "/* confdefs.h */" > confdefs.h
1964
1965 # Predefined preprocessor variables.
1966
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE_NAME "$PACKAGE_NAME"
1969 _ACEOF
1970
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1973 _ACEOF
1974
1975 cat >>confdefs.h <<_ACEOF
1976 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1977 _ACEOF
1978
1979 cat >>confdefs.h <<_ACEOF
1980 #define PACKAGE_STRING "$PACKAGE_STRING"
1981 _ACEOF
1982
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1985 _ACEOF
1986
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_URL "$PACKAGE_URL"
1989 _ACEOF
1990
1991
1992 # Let the site file select an alternate cache file if it wants to.
1993 # Prefer an explicitly selected file to automatically selected ones.
1994 ac_site_file1=NONE
1995 ac_site_file2=NONE
1996 if test -n "$CONFIG_SITE"; then
1997   # We do not want a PATH search for config.site.
1998   case $CONFIG_SITE in #((
1999     -*)  ac_site_file1=./$CONFIG_SITE;;
2000     */*) ac_site_file1=$CONFIG_SITE;;
2001     *)   ac_site_file1=./$CONFIG_SITE;;
2002   esac
2003 elif test "x$prefix" != xNONE; then
2004   ac_site_file1=$prefix/share/config.site
2005   ac_site_file2=$prefix/etc/config.site
2006 else
2007   ac_site_file1=$ac_default_prefix/share/config.site
2008   ac_site_file2=$ac_default_prefix/etc/config.site
2009 fi
2010 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2011 do
2012   test "x$ac_site_file" = xNONE && continue
2013   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2014     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2015 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2016     sed 's/^/| /' "$ac_site_file" >&5
2017     . "$ac_site_file" \
2018       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2020 as_fn_error $? "failed to load site script $ac_site_file
2021 See \`config.log' for more details" "$LINENO" 5 ; }
2022   fi
2023 done
2024
2025 if test -r "$cache_file"; then
2026   # Some versions of bash will fail to source /dev/null (special files
2027   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2028   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2029     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2030 $as_echo "$as_me: loading cache $cache_file" >&6;}
2031     case $cache_file in
2032       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2033       *)                      . "./$cache_file";;
2034     esac
2035   fi
2036 else
2037   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2038 $as_echo "$as_me: creating cache $cache_file" >&6;}
2039   >$cache_file
2040 fi
2041
2042 # Check that the precious variables saved in the cache have kept the same
2043 # value.
2044 ac_cache_corrupted=false
2045 for ac_var in $ac_precious_vars; do
2046   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2047   eval ac_new_set=\$ac_env_${ac_var}_set
2048   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2049   eval ac_new_val=\$ac_env_${ac_var}_value
2050   case $ac_old_set,$ac_new_set in
2051     set,)
2052       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2053 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2054       ac_cache_corrupted=: ;;
2055     ,set)
2056       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2057 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2058       ac_cache_corrupted=: ;;
2059     ,);;
2060     *)
2061       if test "x$ac_old_val" != "x$ac_new_val"; then
2062         # differences in whitespace do not lead to failure.
2063         ac_old_val_w=`echo x $ac_old_val`
2064         ac_new_val_w=`echo x $ac_new_val`
2065         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2066           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2067 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2068           ac_cache_corrupted=:
2069         else
2070           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2071 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2072           eval $ac_var=\$ac_old_val
2073         fi
2074         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2075 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2076         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2077 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2078       fi;;
2079   esac
2080   # Pass precious variables to config.status.
2081   if test "$ac_new_set" = set; then
2082     case $ac_new_val in
2083     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2084     *) ac_arg=$ac_var=$ac_new_val ;;
2085     esac
2086     case " $ac_configure_args " in
2087       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2088       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2089     esac
2090   fi
2091 done
2092 if $ac_cache_corrupted; then
2093   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2095   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2096 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2097   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2098 fi
2099 ## -------------------- ##
2100 ## Main body of script. ##
2101 ## -------------------- ##
2102
2103 ac_ext=c
2104 ac_cpp='$CPP $CPPFLAGS'
2105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2108
2109
2110 am__api_version='1.11'
2111
2112 ac_aux_dir=
2113 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2114   if test -f "$ac_dir/install-sh"; then
2115     ac_aux_dir=$ac_dir
2116     ac_install_sh="$ac_aux_dir/install-sh -c"
2117     break
2118   elif test -f "$ac_dir/install.sh"; then
2119     ac_aux_dir=$ac_dir
2120     ac_install_sh="$ac_aux_dir/install.sh -c"
2121     break
2122   elif test -f "$ac_dir/shtool"; then
2123     ac_aux_dir=$ac_dir
2124     ac_install_sh="$ac_aux_dir/shtool install -c"
2125     break
2126   fi
2127 done
2128 if test -z "$ac_aux_dir"; then
2129   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2130 fi
2131
2132 # These three variables are undocumented and unsupported,
2133 # and are intended to be withdrawn in a future Autoconf release.
2134 # They can cause serious problems if a builder's source tree is in a directory
2135 # whose full name contains unusual characters.
2136 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2137 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2138 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2139
2140
2141 # Find a good install program.  We prefer a C program (faster),
2142 # so one script is as good as another.  But avoid the broken or
2143 # incompatible versions:
2144 # SysV /etc/install, /usr/sbin/install
2145 # SunOS /usr/etc/install
2146 # IRIX /sbin/install
2147 # AIX /bin/install
2148 # AmigaOS /C/install, which installs bootblocks on floppy discs
2149 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2150 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2151 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2152 # OS/2's system install, which has a completely different semantic
2153 # ./install, which can be erroneously created by make from ./install.sh.
2154 # Reject install programs that cannot install multiple files.
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2156 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2157 if test -z "$INSTALL"; then
2158 if test "${ac_cv_path_install+set}" = set; then :
2159   $as_echo_n "(cached) " >&6
2160 else
2161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH
2163 do
2164   IFS=$as_save_IFS
2165   test -z "$as_dir" && as_dir=.
2166     # Account for people who put trailing slashes in PATH elements.
2167 case $as_dir/ in #((
2168   ./ | .// | /[cC]/* | \
2169   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2170   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2171   /usr/ucb/* ) ;;
2172   *)
2173     # OSF1 and SCO ODT 3.0 have their own names for install.
2174     # Don't use installbsd from OSF since it installs stuff as root
2175     # by default.
2176     for ac_prog in ginstall scoinst install; do
2177       for ac_exec_ext in '' $ac_executable_extensions; do
2178         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2179           if test $ac_prog = install &&
2180             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2181             # AIX install.  It has an incompatible calling convention.
2182             :
2183           elif test $ac_prog = install &&
2184             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2185             # program-specific install script used by HP pwplus--don't use.
2186             :
2187           else
2188             rm -rf conftest.one conftest.two conftest.dir
2189             echo one > conftest.one
2190             echo two > conftest.two
2191             mkdir conftest.dir
2192             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2193               test -s conftest.one && test -s conftest.two &&
2194               test -s conftest.dir/conftest.one &&
2195               test -s conftest.dir/conftest.two
2196             then
2197               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2198               break 3
2199             fi
2200           fi
2201         fi
2202       done
2203     done
2204     ;;
2205 esac
2206
2207   done
2208 IFS=$as_save_IFS
2209
2210 rm -rf conftest.one conftest.two conftest.dir
2211
2212 fi
2213   if test "${ac_cv_path_install+set}" = set; then
2214     INSTALL=$ac_cv_path_install
2215   else
2216     # As a last resort, use the slow shell script.  Don't cache a
2217     # value for INSTALL within a source directory, because that will
2218     # break other packages using the cache if that directory is
2219     # removed, or if the value is a relative name.
2220     INSTALL=$ac_install_sh
2221   fi
2222 fi
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2224 $as_echo "$INSTALL" >&6; }
2225
2226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2227 # It thinks the first close brace ends the variable substitution.
2228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2229
2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2231
2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2233
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2235 $as_echo_n "checking whether build environment is sane... " >&6; }
2236 # Just in case
2237 sleep 1
2238 echo timestamp > conftest.file
2239 # Reject unsafe characters in $srcdir or the absolute working directory
2240 # name.  Accept space and tab only in the latter.
2241 am_lf='
2242 '
2243 case `pwd` in
2244   *[\\\"\#\$\&\'\`$am_lf]*)
2245     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2246 esac
2247 case $srcdir in
2248   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2249     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2250 esac
2251
2252 # Do `set' in a subshell so we don't clobber the current shell's
2253 # arguments.  Must try -L first in case configure is actually a
2254 # symlink; some systems play weird games with the mod time of symlinks
2255 # (eg FreeBSD returns the mod time of the symlink's containing
2256 # directory).
2257 if (
2258    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2259    if test "$*" = "X"; then
2260       # -L didn't work.
2261       set X `ls -t "$srcdir/configure" conftest.file`
2262    fi
2263    rm -f conftest.file
2264    if test "$*" != "X $srcdir/configure conftest.file" \
2265       && test "$*" != "X conftest.file $srcdir/configure"; then
2266
2267       # If neither matched, then we have a broken ls.  This can happen
2268       # if, for instance, CONFIG_SHELL is bash and it inherits a
2269       # broken ls alias from the environment.  This has actually
2270       # happened.  Such a system could not be considered "sane".
2271       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2272 alias in your environment" "$LINENO" 5
2273    fi
2274
2275    test "$2" = conftest.file
2276    )
2277 then
2278    # Ok.
2279    :
2280 else
2281    as_fn_error $? "newly created file is older than distributed files!
2282 Check your system clock" "$LINENO" 5
2283 fi
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2285 $as_echo "yes" >&6; }
2286 test "$program_prefix" != NONE &&
2287   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2288 # Use a double $ so make ignores it.
2289 test "$program_suffix" != NONE &&
2290   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2291 # Double any \ or $.
2292 # By default was `s,x,x', remove it if useless.
2293 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2294 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2295
2296 # expand $ac_aux_dir to an absolute path
2297 am_aux_dir=`cd $ac_aux_dir && pwd`
2298
2299 if test x"${MISSING+set}" != xset; then
2300   case $am_aux_dir in
2301   *\ * | *\     *)
2302     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2303   *)
2304     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2305   esac
2306 fi
2307 # Use eval to expand $SHELL
2308 if eval "$MISSING --run true"; then
2309   am_missing_run="$MISSING --run "
2310 else
2311   am_missing_run=
2312   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2313 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2314 fi
2315
2316 if test x"${install_sh}" != xset; then
2317   case $am_aux_dir in
2318   *\ * | *\     *)
2319     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2320   *)
2321     install_sh="\${SHELL} $am_aux_dir/install-sh"
2322   esac
2323 fi
2324
2325 # Installed binaries are usually stripped using `strip' when the user
2326 # run `make install-strip'.  However `strip' might not be the right
2327 # tool to use in cross-compilation environments, therefore Automake
2328 # will honor the `STRIP' environment variable to overrule this program.
2329 if test "$cross_compiling" != no; then
2330   if test -n "$ac_tool_prefix"; then
2331   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2332 set dummy ${ac_tool_prefix}strip; ac_word=$2
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2334 $as_echo_n "checking for $ac_word... " >&6; }
2335 if test "${ac_cv_prog_STRIP+set}" = set; then :
2336   $as_echo_n "(cached) " >&6
2337 else
2338   if test -n "$STRIP"; then
2339   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2340 else
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 for as_dir in $PATH
2343 do
2344   IFS=$as_save_IFS
2345   test -z "$as_dir" && as_dir=.
2346     for ac_exec_ext in '' $ac_executable_extensions; do
2347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2350     break 2
2351   fi
2352 done
2353   done
2354 IFS=$as_save_IFS
2355
2356 fi
2357 fi
2358 STRIP=$ac_cv_prog_STRIP
2359 if test -n "$STRIP"; then
2360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2361 $as_echo "$STRIP" >&6; }
2362 else
2363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2365 fi
2366
2367
2368 fi
2369 if test -z "$ac_cv_prog_STRIP"; then
2370   ac_ct_STRIP=$STRIP
2371   # Extract the first word of "strip", so it can be a program name with args.
2372 set dummy strip; ac_word=$2
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2376   $as_echo_n "(cached) " >&6
2377 else
2378   if test -n "$ac_ct_STRIP"; then
2379   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2380 else
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 for as_dir in $PATH
2383 do
2384   IFS=$as_save_IFS
2385   test -z "$as_dir" && as_dir=.
2386     for ac_exec_ext in '' $ac_executable_extensions; do
2387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388     ac_cv_prog_ac_ct_STRIP="strip"
2389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390     break 2
2391   fi
2392 done
2393   done
2394 IFS=$as_save_IFS
2395
2396 fi
2397 fi
2398 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2399 if test -n "$ac_ct_STRIP"; then
2400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2401 $as_echo "$ac_ct_STRIP" >&6; }
2402 else
2403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2405 fi
2406
2407   if test "x$ac_ct_STRIP" = x; then
2408     STRIP=":"
2409   else
2410     case $cross_compiling:$ac_tool_warned in
2411 yes:)
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2414 ac_tool_warned=yes ;;
2415 esac
2416     STRIP=$ac_ct_STRIP
2417   fi
2418 else
2419   STRIP="$ac_cv_prog_STRIP"
2420 fi
2421
2422 fi
2423 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2424
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2426 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2427 if test -z "$MKDIR_P"; then
2428   if test "${ac_cv_path_mkdir+set}" = set; then :
2429   $as_echo_n "(cached) " >&6
2430 else
2431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2433 do
2434   IFS=$as_save_IFS
2435   test -z "$as_dir" && as_dir=.
2436     for ac_prog in mkdir gmkdir; do
2437          for ac_exec_ext in '' $ac_executable_extensions; do
2438            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2439            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2440              'mkdir (GNU coreutils) '* | \
2441              'mkdir (coreutils) '* | \
2442              'mkdir (fileutils) '4.1*)
2443                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2444                break 3;;
2445            esac
2446          done
2447        done
2448   done
2449 IFS=$as_save_IFS
2450
2451 fi
2452
2453   test -d ./--version && rmdir ./--version
2454   if test "${ac_cv_path_mkdir+set}" = set; then
2455     MKDIR_P="$ac_cv_path_mkdir -p"
2456   else
2457     # As a last resort, use the slow shell script.  Don't cache a
2458     # value for MKDIR_P within a source directory, because that will
2459     # break other packages using the cache if that directory is
2460     # removed, or if the value is a relative name.
2461     MKDIR_P="$ac_install_sh -d"
2462   fi
2463 fi
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2465 $as_echo "$MKDIR_P" >&6; }
2466
2467 mkdir_p="$MKDIR_P"
2468 case $mkdir_p in
2469   [\\/$]* | ?:[\\/]*) ;;
2470   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2471 esac
2472
2473 for ac_prog in gawk mawk nawk awk
2474 do
2475   # Extract the first word of "$ac_prog", so it can be a program name with args.
2476 set dummy $ac_prog; ac_word=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if test "${ac_cv_prog_AWK+set}" = set; then :
2480   $as_echo_n "(cached) " >&6
2481 else
2482   if test -n "$AWK"; then
2483   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2484 else
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 for as_dir in $PATH
2487 do
2488   IFS=$as_save_IFS
2489   test -z "$as_dir" && as_dir=.
2490     for ac_exec_ext in '' $ac_executable_extensions; do
2491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492     ac_cv_prog_AWK="$ac_prog"
2493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2494     break 2
2495   fi
2496 done
2497   done
2498 IFS=$as_save_IFS
2499
2500 fi
2501 fi
2502 AWK=$ac_cv_prog_AWK
2503 if test -n "$AWK"; then
2504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2505 $as_echo "$AWK" >&6; }
2506 else
2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2509 fi
2510
2511
2512   test -n "$AWK" && break
2513 done
2514
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2516 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2517 set x ${MAKE-make}
2518 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2519 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2520   $as_echo_n "(cached) " >&6
2521 else
2522   cat >conftest.make <<\_ACEOF
2523 SHELL = /bin/sh
2524 all:
2525         @echo '@@@%%%=$(MAKE)=@@@%%%'
2526 _ACEOF
2527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2528 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2529   *@@@%%%=?*=@@@%%%*)
2530     eval ac_cv_prog_make_${ac_make}_set=yes;;
2531   *)
2532     eval ac_cv_prog_make_${ac_make}_set=no;;
2533 esac
2534 rm -f conftest.make
2535 fi
2536 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2538 $as_echo "yes" >&6; }
2539   SET_MAKE=
2540 else
2541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 $as_echo "no" >&6; }
2543   SET_MAKE="MAKE=${MAKE-make}"
2544 fi
2545
2546 rm -rf .tst 2>/dev/null
2547 mkdir .tst 2>/dev/null
2548 if test -d .tst; then
2549   am__leading_dot=.
2550 else
2551   am__leading_dot=_
2552 fi
2553 rmdir .tst 2>/dev/null
2554
2555 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2556   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2557   # is not polluted with repeated "-I."
2558   am__isrc=' -I$(srcdir)'
2559   # test to see if srcdir already configured
2560   if test -f $srcdir/config.status; then
2561     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2562   fi
2563 fi
2564
2565 # test whether we have cygpath
2566 if test -z "$CYGPATH_W"; then
2567   if (cygpath --version) >/dev/null 2>/dev/null; then
2568     CYGPATH_W='cygpath -w'
2569   else
2570     CYGPATH_W=echo
2571   fi
2572 fi
2573
2574
2575 # Define the identity of the package.
2576  PACKAGE='Moonshot Firefox extension'
2577  VERSION='0.0.1'
2578
2579
2580 cat >>confdefs.h <<_ACEOF
2581 #define PACKAGE "$PACKAGE"
2582 _ACEOF
2583
2584
2585 cat >>confdefs.h <<_ACEOF
2586 #define VERSION "$VERSION"
2587 _ACEOF
2588
2589 # Some tools Automake needs.
2590
2591 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2592
2593
2594 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2595
2596
2597 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2598
2599
2600 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2601
2602
2603 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2604
2605 # We need awk for the "check" target.  The system "awk" is bad on
2606 # some platforms.
2607 # Always define AMTAR for backward compatibility.
2608
2609 AMTAR=${AMTAR-"${am_missing_run}tar"}
2610
2611 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2612
2613
2614
2615
2616
2617 ac_ext=cpp
2618 ac_cpp='$CXXCPP $CPPFLAGS'
2619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2622 if test -z "$CXX"; then
2623   if test -n "$CCC"; then
2624     CXX=$CCC
2625   else
2626     if test -n "$ac_tool_prefix"; then
2627   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2628   do
2629     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if test "${ac_cv_prog_CXX+set}" = set; then :
2634   $as_echo_n "(cached) " >&6
2635 else
2636   if test -n "$CXX"; then
2637   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2641 do
2642   IFS=$as_save_IFS
2643   test -z "$as_dir" && as_dir=.
2644     for ac_exec_ext in '' $ac_executable_extensions; do
2645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648     break 2
2649   fi
2650 done
2651   done
2652 IFS=$as_save_IFS
2653
2654 fi
2655 fi
2656 CXX=$ac_cv_prog_CXX
2657 if test -n "$CXX"; then
2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2659 $as_echo "$CXX" >&6; }
2660 else
2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2663 fi
2664
2665
2666     test -n "$CXX" && break
2667   done
2668 fi
2669 if test -z "$CXX"; then
2670   ac_ct_CXX=$CXX
2671   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2672 do
2673   # Extract the first word of "$ac_prog", so it can be a program name with args.
2674 set dummy $ac_prog; ac_word=$2
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2676 $as_echo_n "checking for $ac_word... " >&6; }
2677 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2678   $as_echo_n "(cached) " >&6
2679 else
2680   if test -n "$ac_ct_CXX"; then
2681   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2682 else
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 for as_dir in $PATH
2685 do
2686   IFS=$as_save_IFS
2687   test -z "$as_dir" && as_dir=.
2688     for ac_exec_ext in '' $ac_executable_extensions; do
2689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690     ac_cv_prog_ac_ct_CXX="$ac_prog"
2691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692     break 2
2693   fi
2694 done
2695   done
2696 IFS=$as_save_IFS
2697
2698 fi
2699 fi
2700 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2701 if test -n "$ac_ct_CXX"; then
2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2703 $as_echo "$ac_ct_CXX" >&6; }
2704 else
2705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2707 fi
2708
2709
2710   test -n "$ac_ct_CXX" && break
2711 done
2712
2713   if test "x$ac_ct_CXX" = x; then
2714     CXX="g++"
2715   else
2716     case $cross_compiling:$ac_tool_warned in
2717 yes:)
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2720 ac_tool_warned=yes ;;
2721 esac
2722     CXX=$ac_ct_CXX
2723   fi
2724 fi
2725
2726   fi
2727 fi
2728 # Provide some information about the compiler.
2729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2730 set X $ac_compile
2731 ac_compiler=$2
2732 for ac_option in --version -v -V -qversion; do
2733   { { ac_try="$ac_compiler $ac_option >&5"
2734 case "(($ac_try" in
2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736   *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2741   ac_status=$?
2742   if test -s conftest.err; then
2743     sed '10a\
2744 ... rest of stderr output deleted ...
2745          10q' conftest.err >conftest.er1
2746     cat conftest.er1 >&5
2747   fi
2748   rm -f conftest.er1 conftest.err
2749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750   test $ac_status = 0; }
2751 done
2752
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h.  */
2755
2756 int
2757 main ()
2758 {
2759
2760   ;
2761   return 0;
2762 }
2763 _ACEOF
2764 ac_clean_files_save=$ac_clean_files
2765 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2766 # Try to create an executable without -o first, disregard a.out.
2767 # It will help us diagnose broken compilers, and finding out an intuition
2768 # of exeext.
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2770 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2771 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2772
2773 # The possible output files:
2774 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2775
2776 ac_rmfiles=
2777 for ac_file in $ac_files
2778 do
2779   case $ac_file in
2780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2781     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2782   esac
2783 done
2784 rm -f $ac_rmfiles
2785
2786 if { { ac_try="$ac_link_default"
2787 case "(($ac_try" in
2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789   *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793   (eval "$ac_link_default") 2>&5
2794   ac_status=$?
2795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796   test $ac_status = 0; }; then :
2797   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2798 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2799 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2800 # so that the user can short-circuit this test for compilers unknown to
2801 # Autoconf.
2802 for ac_file in $ac_files ''
2803 do
2804   test -f "$ac_file" || continue
2805   case $ac_file in
2806     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2807         ;;
2808     [ab].out )
2809         # We found the default executable, but exeext='' is most
2810         # certainly right.
2811         break;;
2812     *.* )
2813         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2814         then :; else
2815            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2816         fi
2817         # We set ac_cv_exeext here because the later test for it is not
2818         # safe: cross compilers may not add the suffix if given an `-o'
2819         # argument, so we may need to know it at that point already.
2820         # Even if this section looks crufty: it has the advantage of
2821         # actually working.
2822         break;;
2823     * )
2824         break;;
2825   esac
2826 done
2827 test "$ac_cv_exeext" = no && ac_cv_exeext=
2828
2829 else
2830   ac_file=''
2831 fi
2832 if test -z "$ac_file"; then :
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2835 $as_echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2837
2838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 as_fn_error 77 "C++ compiler cannot create executables
2841 See \`config.log' for more details" "$LINENO" 5 ; }
2842 else
2843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2844 $as_echo "yes" >&6; }
2845 fi
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2847 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2849 $as_echo "$ac_file" >&6; }
2850 ac_exeext=$ac_cv_exeext
2851
2852 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2853 ac_clean_files=$ac_clean_files_save
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2855 $as_echo_n "checking for suffix of executables... " >&6; }
2856 if { { ac_try="$ac_link"
2857 case "(($ac_try" in
2858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859   *) ac_try_echo=$ac_try;;
2860 esac
2861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2862 $as_echo "$ac_try_echo"; } >&5
2863   (eval "$ac_link") 2>&5
2864   ac_status=$?
2865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2866   test $ac_status = 0; }; then :
2867   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2868 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2869 # work properly (i.e., refer to `conftest.exe'), while it won't with
2870 # `rm'.
2871 for ac_file in conftest.exe conftest conftest.*; do
2872   test -f "$ac_file" || continue
2873   case $ac_file in
2874     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2875     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2876           break;;
2877     * ) break;;
2878   esac
2879 done
2880 else
2881   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2883 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2884 See \`config.log' for more details" "$LINENO" 5 ; }
2885 fi
2886 rm -f conftest conftest$ac_cv_exeext
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2888 $as_echo "$ac_cv_exeext" >&6; }
2889
2890 rm -f conftest.$ac_ext
2891 EXEEXT=$ac_cv_exeext
2892 ac_exeext=$EXEEXT
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h.  */
2895 #include <stdio.h>
2896 int
2897 main ()
2898 {
2899 FILE *f = fopen ("conftest.out", "w");
2900  return ferror (f) || fclose (f) != 0;
2901
2902   ;
2903   return 0;
2904 }
2905 _ACEOF
2906 ac_clean_files="$ac_clean_files conftest.out"
2907 # Check that the compiler produces executables we can run.  If not, either
2908 # the compiler is broken, or we cross compile.
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2910 $as_echo_n "checking whether we are cross compiling... " >&6; }
2911 if test "$cross_compiling" != yes; then
2912   { { ac_try="$ac_link"
2913 case "(($ac_try" in
2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915   *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919   (eval "$ac_link") 2>&5
2920   ac_status=$?
2921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2922   test $ac_status = 0; }
2923   if { ac_try='./conftest$ac_cv_exeext'
2924   { { case "(($ac_try" in
2925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926   *) ac_try_echo=$ac_try;;
2927 esac
2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2929 $as_echo "$ac_try_echo"; } >&5
2930   (eval "$ac_try") 2>&5
2931   ac_status=$?
2932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933   test $ac_status = 0; }; }; then
2934     cross_compiling=no
2935   else
2936     if test "$cross_compiling" = maybe; then
2937         cross_compiling=yes
2938     else
2939         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941 as_fn_error $? "cannot run C++ compiled programs.
2942 If you meant to cross compile, use \`--host'.
2943 See \`config.log' for more details" "$LINENO" 5 ; }
2944     fi
2945   fi
2946 fi
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2948 $as_echo "$cross_compiling" >&6; }
2949
2950 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2951 ac_clean_files=$ac_clean_files_save
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2953 $as_echo_n "checking for suffix of object files... " >&6; }
2954 if test "${ac_cv_objext+set}" = set; then :
2955   $as_echo_n "(cached) " >&6
2956 else
2957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h.  */
2959
2960 int
2961 main ()
2962 {
2963
2964   ;
2965   return 0;
2966 }
2967 _ACEOF
2968 rm -f conftest.o conftest.obj
2969 if { { ac_try="$ac_compile"
2970 case "(($ac_try" in
2971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972   *) ac_try_echo=$ac_try;;
2973 esac
2974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976   (eval "$ac_compile") 2>&5
2977   ac_status=$?
2978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979   test $ac_status = 0; }; then :
2980   for ac_file in conftest.o conftest.obj conftest.*; do
2981   test -f "$ac_file" || continue;
2982   case $ac_file in
2983     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2984     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2985        break;;
2986   esac
2987 done
2988 else
2989   $as_echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2991
2992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $? "cannot compute suffix of object files: cannot compile
2995 See \`config.log' for more details" "$LINENO" 5 ; }
2996 fi
2997 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2998 fi
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3000 $as_echo "$ac_cv_objext" >&6; }
3001 OBJEXT=$ac_cv_objext
3002 ac_objext=$OBJEXT
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3004 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3005 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3006   $as_echo_n "(cached) " >&6
3007 else
3008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h.  */
3010
3011 int
3012 main ()
3013 {
3014 #ifndef __GNUC__
3015        choke me
3016 #endif
3017
3018   ;
3019   return 0;
3020 }
3021 _ACEOF
3022 if ac_fn_cxx_try_compile "$LINENO"; then :
3023   ac_compiler_gnu=yes
3024 else
3025   ac_compiler_gnu=no
3026 fi
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3029
3030 fi
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3032 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3033 if test $ac_compiler_gnu = yes; then
3034   GXX=yes
3035 else
3036   GXX=
3037 fi
3038 ac_test_CXXFLAGS=${CXXFLAGS+set}
3039 ac_save_CXXFLAGS=$CXXFLAGS
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3041 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3042 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3043   $as_echo_n "(cached) " >&6
3044 else
3045   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3046    ac_cxx_werror_flag=yes
3047    ac_cv_prog_cxx_g=no
3048    CXXFLAGS="-g"
3049    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h.  */
3051
3052 int
3053 main ()
3054 {
3055
3056   ;
3057   return 0;
3058 }
3059 _ACEOF
3060 if ac_fn_cxx_try_compile "$LINENO"; then :
3061   ac_cv_prog_cxx_g=yes
3062 else
3063   CXXFLAGS=""
3064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h.  */
3066
3067 int
3068 main ()
3069 {
3070
3071   ;
3072   return 0;
3073 }
3074 _ACEOF
3075 if ac_fn_cxx_try_compile "$LINENO"; then :
3076
3077 else
3078   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3079          CXXFLAGS="-g"
3080          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h.  */
3082
3083 int
3084 main ()
3085 {
3086
3087   ;
3088   return 0;
3089 }
3090 _ACEOF
3091 if ac_fn_cxx_try_compile "$LINENO"; then :
3092   ac_cv_prog_cxx_g=yes
3093 fi
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 fi
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 fi
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3100 fi
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3102 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3103 if test "$ac_test_CXXFLAGS" = set; then
3104   CXXFLAGS=$ac_save_CXXFLAGS
3105 elif test $ac_cv_prog_cxx_g = yes; then
3106   if test "$GXX" = yes; then
3107     CXXFLAGS="-g -O2"
3108   else
3109     CXXFLAGS="-g"
3110   fi
3111 else
3112   if test "$GXX" = yes; then
3113     CXXFLAGS="-O2"
3114   else
3115     CXXFLAGS=
3116   fi
3117 fi
3118 ac_ext=c
3119 ac_cpp='$CPP $CPPFLAGS'
3120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3123 DEPDIR="${am__leading_dot}deps"
3124
3125 ac_config_commands="$ac_config_commands depfiles"
3126
3127
3128 am_make=${MAKE-make}
3129 cat > confinc << 'END'
3130 am__doit:
3131         @echo this is the am__doit target
3132 .PHONY: am__doit
3133 END
3134 # If we don't find an include directive, just comment out the code.
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3136 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3137 am__include="#"
3138 am__quote=
3139 _am_result=none
3140 # First try GNU make style include.
3141 echo "include confinc" > confmf
3142 # Ignore all kinds of additional output from `make'.
3143 case `$am_make -s -f confmf 2> /dev/null` in #(
3144 *the\ am__doit\ target*)
3145   am__include=include
3146   am__quote=
3147   _am_result=GNU
3148   ;;
3149 esac
3150 # Now try BSD make style include.
3151 if test "$am__include" = "#"; then
3152    echo '.include "confinc"' > confmf
3153    case `$am_make -s -f confmf 2> /dev/null` in #(
3154    *the\ am__doit\ target*)
3155      am__include=.include
3156      am__quote="\""
3157      _am_result=BSD
3158      ;;
3159    esac
3160 fi
3161
3162
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3164 $as_echo "$_am_result" >&6; }
3165 rm -f confinc confmf
3166
3167 # Check whether --enable-dependency-tracking was given.
3168 if test "${enable_dependency_tracking+set}" = set; then :
3169   enableval=$enable_dependency_tracking;
3170 fi
3171
3172 if test "x$enable_dependency_tracking" != xno; then
3173   am_depcomp="$ac_aux_dir/depcomp"
3174   AMDEPBACKSLASH='\'
3175 fi
3176  if test "x$enable_dependency_tracking" != xno; then
3177   AMDEP_TRUE=
3178   AMDEP_FALSE='#'
3179 else
3180   AMDEP_TRUE='#'
3181   AMDEP_FALSE=
3182 fi
3183
3184
3185
3186 depcc="$CXX"  am_compiler_list=
3187
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3189 $as_echo_n "checking dependency style of $depcc... " >&6; }
3190 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3191   $as_echo_n "(cached) " >&6
3192 else
3193   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3194   # We make a subdir and do the tests there.  Otherwise we can end up
3195   # making bogus files that we don't know about and never remove.  For
3196   # instance it was reported that on HP-UX the gcc test will end up
3197   # making a dummy file named `D' -- because `-MD' means `put the output
3198   # in D'.
3199   mkdir conftest.dir
3200   # Copy depcomp to subdir because otherwise we won't find it if we're
3201   # using a relative directory.
3202   cp "$am_depcomp" conftest.dir
3203   cd conftest.dir
3204   # We will build objects and dependencies in a subdirectory because
3205   # it helps to detect inapplicable dependency modes.  For instance
3206   # both Tru64's cc and ICC support -MD to output dependencies as a
3207   # side effect of compilation, but ICC will put the dependencies in
3208   # the current directory while Tru64 will put them in the object
3209   # directory.
3210   mkdir sub
3211
3212   am_cv_CXX_dependencies_compiler_type=none
3213   if test "$am_compiler_list" = ""; then
3214      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3215   fi
3216   am__universal=false
3217   case " $depcc " in #(
3218      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3219      esac
3220
3221   for depmode in $am_compiler_list; do
3222     # Setup a source with many dependencies, because some compilers
3223     # like to wrap large dependency lists on column 80 (with \), and
3224     # we should not choose a depcomp mode which is confused by this.
3225     #
3226     # We need to recreate these files for each test, as the compiler may
3227     # overwrite some of them when testing with obscure command lines.
3228     # This happens at least with the AIX C compiler.
3229     : > sub/conftest.c
3230     for i in 1 2 3 4 5 6; do
3231       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3232       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3233       # Solaris 8's {/usr,}/bin/sh.
3234       touch sub/conftst$i.h
3235     done
3236     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3237
3238     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3239     # mode.  It turns out that the SunPro C++ compiler does not properly
3240     # handle `-M -o', and we need to detect this.  Also, some Intel
3241     # versions had trouble with output in subdirs
3242     am__obj=sub/conftest.${OBJEXT-o}
3243     am__minus_obj="-o $am__obj"
3244     case $depmode in
3245     gcc)
3246       # This depmode causes a compiler race in universal mode.
3247       test "$am__universal" = false || continue
3248       ;;
3249     nosideeffect)
3250       # after this tag, mechanisms are not by side-effect, so they'll
3251       # only be used when explicitly requested
3252       if test "x$enable_dependency_tracking" = xyes; then
3253         continue
3254       else
3255         break
3256       fi
3257       ;;
3258     msvisualcpp | msvcmsys)
3259       # This compiler won't grok `-c -o', but also, the minuso test has
3260       # not run yet.  These depmodes are late enough in the game, and
3261       # so weak that their functioning should not be impacted.
3262       am__obj=conftest.${OBJEXT-o}
3263       am__minus_obj=
3264       ;;
3265     none) break ;;
3266     esac
3267     if depmode=$depmode \
3268        source=sub/conftest.c object=$am__obj \
3269        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3270        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3271          >/dev/null 2>conftest.err &&
3272        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3273        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3274        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3275        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3276       # icc doesn't choke on unknown options, it will just issue warnings
3277       # or remarks (even with -Werror).  So we grep stderr for any message
3278       # that says an option was ignored or not supported.
3279       # When given -MP, icc 7.0 and 7.1 complain thusly:
3280       #   icc: Command line warning: ignoring option '-M'; no argument required
3281       # The diagnosis changed in icc 8.0:
3282       #   icc: Command line remark: option '-MP' not supported
3283       if (grep 'ignoring option' conftest.err ||
3284           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3285         am_cv_CXX_dependencies_compiler_type=$depmode
3286         break
3287       fi
3288     fi
3289   done
3290
3291   cd ..
3292   rm -rf conftest.dir
3293 else
3294   am_cv_CXX_dependencies_compiler_type=none
3295 fi
3296
3297 fi
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3299 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3300 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3301
3302  if
3303   test "x$enable_dependency_tracking" != xno \
3304   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3305   am__fastdepCXX_TRUE=
3306   am__fastdepCXX_FALSE='#'
3307 else
3308   am__fastdepCXX_TRUE='#'
3309   am__fastdepCXX_FALSE=
3310 fi
3311
3312
3313 if test -n "$ac_tool_prefix"; then
3314   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3319   $as_echo_n "(cached) " >&6
3320 else
3321   if test -n "$RANLIB"; then
3322   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3326 do
3327   IFS=$as_save_IFS
3328   test -z "$as_dir" && as_dir=.
3329     for ac_exec_ext in '' $ac_executable_extensions; do
3330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333     break 2
3334   fi
3335 done
3336   done
3337 IFS=$as_save_IFS
3338
3339 fi
3340 fi
3341 RANLIB=$ac_cv_prog_RANLIB
3342 if test -n "$RANLIB"; then
3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3344 $as_echo "$RANLIB" >&6; }
3345 else
3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3348 fi
3349
3350
3351 fi
3352 if test -z "$ac_cv_prog_RANLIB"; then
3353   ac_ct_RANLIB=$RANLIB
3354   # Extract the first word of "ranlib", so it can be a program name with args.
3355 set dummy ranlib; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   if test -n "$ac_ct_RANLIB"; then
3362   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3366 do
3367   IFS=$as_save_IFS
3368   test -z "$as_dir" && as_dir=.
3369     for ac_exec_ext in '' $ac_executable_extensions; do
3370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371     ac_cv_prog_ac_ct_RANLIB="ranlib"
3372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373     break 2
3374   fi
3375 done
3376   done
3377 IFS=$as_save_IFS
3378
3379 fi
3380 fi
3381 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3382 if test -n "$ac_ct_RANLIB"; then
3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3384 $as_echo "$ac_ct_RANLIB" >&6; }
3385 else
3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 fi
3389
3390   if test "x$ac_ct_RANLIB" = x; then
3391     RANLIB=":"
3392   else
3393     case $cross_compiling:$ac_tool_warned in
3394 yes:)
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3397 ac_tool_warned=yes ;;
3398 esac
3399     RANLIB=$ac_ct_RANLIB
3400   fi
3401 else
3402   RANLIB="$ac_cv_prog_RANLIB"
3403 fi
3404
3405
3406
3407
3408
3409
3410
3411
3412 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3413         if test -n "$ac_tool_prefix"; then
3414   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3415 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3419   $as_echo_n "(cached) " >&6
3420 else
3421   case $PKG_CONFIG in
3422   [\\/]* | ?:[\\/]*)
3423   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3424   ;;
3425   *)
3426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 for as_dir in $PATH
3428 do
3429   IFS=$as_save_IFS
3430   test -z "$as_dir" && as_dir=.
3431     for ac_exec_ext in '' $ac_executable_extensions; do
3432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435     break 2
3436   fi
3437 done
3438   done
3439 IFS=$as_save_IFS
3440
3441   ;;
3442 esac
3443 fi
3444 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3445 if test -n "$PKG_CONFIG"; then
3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3447 $as_echo "$PKG_CONFIG" >&6; }
3448 else
3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3451 fi
3452
3453
3454 fi
3455 if test -z "$ac_cv_path_PKG_CONFIG"; then
3456   ac_pt_PKG_CONFIG=$PKG_CONFIG
3457   # Extract the first word of "pkg-config", so it can be a program name with args.
3458 set dummy pkg-config; ac_word=$2
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3460 $as_echo_n "checking for $ac_word... " >&6; }
3461 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3462   $as_echo_n "(cached) " >&6
3463 else
3464   case $ac_pt_PKG_CONFIG in
3465   [\\/]* | ?:[\\/]*)
3466   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3467   ;;
3468   *)
3469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH
3471 do
3472   IFS=$as_save_IFS
3473   test -z "$as_dir" && as_dir=.
3474     for ac_exec_ext in '' $ac_executable_extensions; do
3475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3476     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478     break 2
3479   fi
3480 done
3481   done
3482 IFS=$as_save_IFS
3483
3484   ;;
3485 esac
3486 fi
3487 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3488 if test -n "$ac_pt_PKG_CONFIG"; then
3489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3490 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3491 else
3492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3494 fi
3495
3496   if test "x$ac_pt_PKG_CONFIG" = x; then
3497     PKG_CONFIG=""
3498   else
3499     case $cross_compiling:$ac_tool_warned in
3500 yes:)
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503 ac_tool_warned=yes ;;
3504 esac
3505     PKG_CONFIG=$ac_pt_PKG_CONFIG
3506   fi
3507 else
3508   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3509 fi
3510
3511 fi
3512 if test -n "$PKG_CONFIG"; then
3513         _pkg_min_version=0.9.0
3514         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3515 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3516         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3517                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3518 $as_echo "yes" >&6; }
3519         else
3520                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3522                 PKG_CONFIG=""
3523         fi
3524 fi
3525
3526 pkg_failed=no
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XUL" >&5
3528 $as_echo_n "checking for XUL... " >&6; }
3529
3530 if test -n "$XUL_CFLAGS"; then
3531     pkg_cv_XUL_CFLAGS="$XUL_CFLAGS"
3532  elif test -n "$PKG_CONFIG"; then
3533     if test -n "$PKG_CONFIG" && \
3534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul\""; } >&5
3535   ($PKG_CONFIG --exists --print-errors "libxul") 2>&5
3536   ac_status=$?
3537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538   test $ac_status = 0; }; then
3539   pkg_cv_XUL_CFLAGS=`$PKG_CONFIG --cflags "libxul" 2>/dev/null`
3540 else
3541   pkg_failed=yes
3542 fi
3543  else
3544     pkg_failed=untried
3545 fi
3546 if test -n "$XUL_LIBS"; then
3547     pkg_cv_XUL_LIBS="$XUL_LIBS"
3548  elif test -n "$PKG_CONFIG"; then
3549     if test -n "$PKG_CONFIG" && \
3550     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul\""; } >&5
3551   ($PKG_CONFIG --exists --print-errors "libxul") 2>&5
3552   ac_status=$?
3553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3554   test $ac_status = 0; }; then
3555   pkg_cv_XUL_LIBS=`$PKG_CONFIG --libs "libxul" 2>/dev/null`
3556 else
3557   pkg_failed=yes
3558 fi
3559  else
3560     pkg_failed=untried
3561 fi
3562
3563
3564
3565 if test $pkg_failed = yes; then
3566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568
3569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3570         _pkg_short_errors_supported=yes
3571 else
3572         _pkg_short_errors_supported=no
3573 fi
3574         if test $_pkg_short_errors_supported = yes; then
3575                 XUL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul" 2>&1`
3576         else
3577                 XUL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul" 2>&1`
3578         fi
3579         # Put the nasty error message in config.log where it belongs
3580         echo "$XUL_PKG_ERRORS" >&5
3581
3582         as_fn_error $? "Package requirements (libxul) were not met:
3583
3584 $XUL_PKG_ERRORS
3585
3586 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3587 installed software in a non-standard prefix.
3588
3589 Alternatively, you may set the environment variables XUL_CFLAGS
3590 and XUL_LIBS to avoid the need to call pkg-config.
3591 See the pkg-config man page for more details." "$LINENO" 5
3592 elif test $pkg_failed = untried; then
3593         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
3598 is in your PATH or set the PKG_CONFIG environment variable to the full
3599 path to pkg-config.
3600
3601 Alternatively, you may set the environment variables XUL_CFLAGS
3602 and XUL_LIBS to avoid the need to call pkg-config.
3603 See the pkg-config man page for more details.
3604
3605 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3606 See \`config.log' for more details" "$LINENO" 5 ; }
3607 else
3608         XUL_CFLAGS=$pkg_cv_XUL_CFLAGS
3609         XUL_LIBS=$pkg_cv_XUL_LIBS
3610         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3611 $as_echo "yes" >&6; }
3612
3613 fi
3614 MOZ_SDKDIR=`pkg-config libxul --variable sdkdir`
3615 MOZ_IDLDIR=`pkg-config libxul --variable idldir`
3616 # We need to override cflags for unstable APIs
3617 XUL_CFLAGS=`pkg-config --cflags libxul --define-variable=includetype=unstable`
3618
3619
3620 # Extract the first word of "xpidl", so it can be a program name with args.
3621 set dummy xpidl; ac_word=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if test "${ac_cv_path_XPIDL+set}" = set; then :
3625   $as_echo_n "(cached) " >&6
3626 else
3627   case $XPIDL in
3628   [\\/]* | ?:[\\/]*)
3629   ac_cv_path_XPIDL="$XPIDL" # Let the user override the test with a path.
3630   ;;
3631   *)
3632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $MOZ_SDKDIR/bin$PATH_SEPARATOR$PATH
3634 do
3635   IFS=$as_save_IFS
3636   test -z "$as_dir" && as_dir=.
3637     for ac_exec_ext in '' $ac_executable_extensions; do
3638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639     ac_cv_path_XPIDL="$as_dir/$ac_word$ac_exec_ext"
3640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641     break 2
3642   fi
3643 done
3644   done
3645 IFS=$as_save_IFS
3646
3647   test -z "$ac_cv_path_XPIDL" && ac_cv_path_XPIDL="false"
3648   ;;
3649 esac
3650 fi
3651 XPIDL=$ac_cv_path_XPIDL
3652 if test -n "$XPIDL"; then
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPIDL" >&5
3654 $as_echo "$XPIDL" >&6; }
3655 else
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 fi
3659
3660
3661 if  $XPIDL = "false"  ;then
3662    as_fn_error $? "Couldn't find xpidl" "$LINENO" 5
3663 fi
3664
3665 ac_ext=c
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 if test -n "$ac_tool_prefix"; then
3671   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3672 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if test "${ac_cv_prog_CC+set}" = set; then :
3676   $as_echo_n "(cached) " >&6
3677 else
3678   if test -n "$CC"; then
3679   ac_cv_prog_CC="$CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3683 do
3684   IFS=$as_save_IFS
3685   test -z "$as_dir" && as_dir=.
3686     for ac_exec_ext in '' $ac_executable_extensions; do
3687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690     break 2
3691   fi
3692 done
3693   done
3694 IFS=$as_save_IFS
3695
3696 fi
3697 fi
3698 CC=$ac_cv_prog_CC
3699 if test -n "$CC"; then
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3702 else
3703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3705 fi
3706
3707
3708 fi
3709 if test -z "$ac_cv_prog_CC"; then
3710   ac_ct_CC=$CC
3711   # Extract the first word of "gcc", so it can be a program name with args.
3712 set dummy gcc; ac_word=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714 $as_echo_n "checking for $ac_word... " >&6; }
3715 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3716   $as_echo_n "(cached) " >&6
3717 else
3718   if test -n "$ac_ct_CC"; then
3719   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3720 else
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3723 do
3724   IFS=$as_save_IFS
3725   test -z "$as_dir" && as_dir=.
3726     for ac_exec_ext in '' $ac_executable_extensions; do
3727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728     ac_cv_prog_ac_ct_CC="gcc"
3729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730     break 2
3731   fi
3732 done
3733   done
3734 IFS=$as_save_IFS
3735
3736 fi
3737 fi
3738 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3739 if test -n "$ac_ct_CC"; then
3740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3741 $as_echo "$ac_ct_CC" >&6; }
3742 else
3743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3745 fi
3746
3747   if test "x$ac_ct_CC" = x; then
3748     CC=""
3749   else
3750     case $cross_compiling:$ac_tool_warned in
3751 yes:)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3754 ac_tool_warned=yes ;;
3755 esac
3756     CC=$ac_ct_CC
3757   fi
3758 else
3759   CC="$ac_cv_prog_CC"
3760 fi
3761
3762 if test -z "$CC"; then
3763           if test -n "$ac_tool_prefix"; then
3764     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3765 set dummy ${ac_tool_prefix}cc; ac_word=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if test "${ac_cv_prog_CC+set}" = set; then :
3769   $as_echo_n "(cached) " >&6
3770 else
3771   if test -n "$CC"; then
3772   ac_cv_prog_CC="$CC" # Let the user override the test.
3773 else
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3776 do
3777   IFS=$as_save_IFS
3778   test -z "$as_dir" && as_dir=.
3779     for ac_exec_ext in '' $ac_executable_extensions; do
3780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3781     ac_cv_prog_CC="${ac_tool_prefix}cc"
3782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783     break 2
3784   fi
3785 done
3786   done
3787 IFS=$as_save_IFS
3788
3789 fi
3790 fi
3791 CC=$ac_cv_prog_CC
3792 if test -n "$CC"; then
3793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794 $as_echo "$CC" >&6; }
3795 else
3796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3798 fi
3799
3800
3801   fi
3802 fi
3803 if test -z "$CC"; then
3804   # Extract the first word of "cc", so it can be a program name with args.
3805 set dummy cc; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if test "${ac_cv_prog_CC+set}" = set; then :
3809   $as_echo_n "(cached) " >&6
3810 else
3811   if test -n "$CC"; then
3812   ac_cv_prog_CC="$CC" # Let the user override the test.
3813 else
3814   ac_prog_rejected=no
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3817 do
3818   IFS=$as_save_IFS
3819   test -z "$as_dir" && as_dir=.
3820     for ac_exec_ext in '' $ac_executable_extensions; do
3821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3823        ac_prog_rejected=yes
3824        continue
3825      fi
3826     ac_cv_prog_CC="cc"
3827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828     break 2
3829   fi
3830 done
3831   done
3832 IFS=$as_save_IFS
3833
3834 if test $ac_prog_rejected = yes; then
3835   # We found a bogon in the path, so make sure we never use it.
3836   set dummy $ac_cv_prog_CC
3837   shift
3838   if test $# != 0; then
3839     # We chose a different compiler from the bogus one.
3840     # However, it has the same basename, so the bogon will be chosen
3841     # first if we set CC to just the basename; use the full file name.
3842     shift
3843     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3844   fi
3845 fi
3846 fi
3847 fi
3848 CC=$ac_cv_prog_CC
3849 if test -n "$CC"; then
3850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3852 else
3853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3855 fi
3856
3857
3858 fi
3859 if test -z "$CC"; then
3860   if test -n "$ac_tool_prefix"; then
3861   for ac_prog in cl.exe
3862   do
3863     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866 $as_echo_n "checking for $ac_word... " >&6; }
3867 if test "${ac_cv_prog_CC+set}" = set; then :
3868   $as_echo_n "(cached) " >&6
3869 else
3870   if test -n "$CC"; then
3871   ac_cv_prog_CC="$CC" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3875 do
3876   IFS=$as_save_IFS
3877   test -z "$as_dir" && as_dir=.
3878     for ac_exec_ext in '' $ac_executable_extensions; do
3879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3880     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882     break 2
3883   fi
3884 done
3885   done
3886 IFS=$as_save_IFS
3887
3888 fi
3889 fi
3890 CC=$ac_cv_prog_CC
3891 if test -n "$CC"; then
3892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3893 $as_echo "$CC" >&6; }
3894 else
3895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3897 fi
3898
3899
3900     test -n "$CC" && break
3901   done
3902 fi
3903 if test -z "$CC"; then
3904   ac_ct_CC=$CC
3905   for ac_prog in cl.exe
3906 do
3907   # Extract the first word of "$ac_prog", so it can be a program name with args.
3908 set dummy $ac_prog; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3912   $as_echo_n "(cached) " >&6
3913 else
3914   if test -n "$ac_ct_CC"; then
3915   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3919 do
3920   IFS=$as_save_IFS
3921   test -z "$as_dir" && as_dir=.
3922     for ac_exec_ext in '' $ac_executable_extensions; do
3923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3924     ac_cv_prog_ac_ct_CC="$ac_prog"
3925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926     break 2
3927   fi
3928 done
3929   done
3930 IFS=$as_save_IFS
3931
3932 fi
3933 fi
3934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3935 if test -n "$ac_ct_CC"; then
3936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3937 $as_echo "$ac_ct_CC" >&6; }
3938 else
3939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3941 fi
3942
3943
3944   test -n "$ac_ct_CC" && break
3945 done
3946
3947   if test "x$ac_ct_CC" = x; then
3948     CC=""
3949   else
3950     case $cross_compiling:$ac_tool_warned in
3951 yes:)
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3954 ac_tool_warned=yes ;;
3955 esac
3956     CC=$ac_ct_CC
3957   fi
3958 fi
3959
3960 fi
3961
3962
3963 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $? "no acceptable C compiler found in \$PATH
3966 See \`config.log' for more details" "$LINENO" 5 ; }
3967
3968 # Provide some information about the compiler.
3969 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3970 set X $ac_compile
3971 ac_compiler=$2
3972 for ac_option in --version -v -V -qversion; do
3973   { { ac_try="$ac_compiler $ac_option >&5"
3974 case "(($ac_try" in
3975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976   *) ac_try_echo=$ac_try;;
3977 esac
3978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979 $as_echo "$ac_try_echo"; } >&5
3980   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3981   ac_status=$?
3982   if test -s conftest.err; then
3983     sed '10a\
3984 ... rest of stderr output deleted ...
3985          10q' conftest.err >conftest.er1
3986     cat conftest.er1 >&5
3987   fi
3988   rm -f conftest.er1 conftest.err
3989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990   test $ac_status = 0; }
3991 done
3992
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3994 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3995 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3996   $as_echo_n "(cached) " >&6
3997 else
3998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h.  */
4000
4001 int
4002 main ()
4003 {
4004 #ifndef __GNUC__
4005        choke me
4006 #endif
4007
4008   ;
4009   return 0;
4010 }
4011 _ACEOF
4012 if ac_fn_c_try_compile "$LINENO"; then :
4013   ac_compiler_gnu=yes
4014 else
4015   ac_compiler_gnu=no
4016 fi
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4019
4020 fi
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4023 if test $ac_compiler_gnu = yes; then
4024   GCC=yes
4025 else
4026   GCC=
4027 fi
4028 ac_test_CFLAGS=${CFLAGS+set}
4029 ac_save_CFLAGS=$CFLAGS
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4032 if test "${ac_cv_prog_cc_g+set}" = set; then :
4033   $as_echo_n "(cached) " >&6
4034 else
4035   ac_save_c_werror_flag=$ac_c_werror_flag
4036    ac_c_werror_flag=yes
4037    ac_cv_prog_cc_g=no
4038    CFLAGS="-g"
4039    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h.  */
4041
4042 int
4043 main ()
4044 {
4045
4046   ;
4047   return 0;
4048 }
4049 _ACEOF
4050 if ac_fn_c_try_compile "$LINENO"; then :
4051   ac_cv_prog_cc_g=yes
4052 else
4053   CFLAGS=""
4054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h.  */
4056
4057 int
4058 main ()
4059 {
4060
4061   ;
4062   return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"; then :
4066
4067 else
4068   ac_c_werror_flag=$ac_save_c_werror_flag
4069          CFLAGS="-g"
4070          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h.  */
4072
4073 int
4074 main ()
4075 {
4076
4077   ;
4078   return 0;
4079 }
4080 _ACEOF
4081 if ac_fn_c_try_compile "$LINENO"; then :
4082   ac_cv_prog_cc_g=yes
4083 fi
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 fi
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 fi
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089    ac_c_werror_flag=$ac_save_c_werror_flag
4090 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4092 $as_echo "$ac_cv_prog_cc_g" >&6; }
4093 if test "$ac_test_CFLAGS" = set; then
4094   CFLAGS=$ac_save_CFLAGS
4095 elif test $ac_cv_prog_cc_g = yes; then
4096   if test "$GCC" = yes; then
4097     CFLAGS="-g -O2"
4098   else
4099     CFLAGS="-g"
4100   fi
4101 else
4102   if test "$GCC" = yes; then
4103     CFLAGS="-O2"
4104   else
4105     CFLAGS=
4106   fi
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4110 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4111   $as_echo_n "(cached) " >&6
4112 else
4113   ac_cv_prog_cc_c89=no
4114 ac_save_CC=$CC
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h.  */
4117 #include <stdarg.h>
4118 #include <stdio.h>
4119 #include <sys/types.h>
4120 #include <sys/stat.h>
4121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4122 struct buf { int x; };
4123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4124 static char *e (p, i)
4125      char **p;
4126      int i;
4127 {
4128   return p[i];
4129 }
4130 static char *f (char * (*g) (char **, int), char **p, ...)
4131 {
4132   char *s;
4133   va_list v;
4134   va_start (v,p);
4135   s = g (p, va_arg (v,int));
4136   va_end (v);
4137   return s;
4138 }
4139
4140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4141    function prototypes and stuff, but not '\xHH' hex character constants.
4142    These don't provoke an error unfortunately, instead are silently treated
4143    as 'x'.  The following induces an error, until -std is added to get
4144    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4145    array size at least.  It's necessary to write '\x00'==0 to get something
4146    that's true only with -std.  */
4147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4148
4149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4150    inside strings and character constants.  */
4151 #define FOO(x) 'x'
4152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4153
4154 int test (int i, double x);
4155 struct s1 {int (*f) (int a);};
4156 struct s2 {int (*f) (double a);};
4157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4158 int argc;
4159 char **argv;
4160 int
4161 main ()
4162 {
4163 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4164   ;
4165   return 0;
4166 }
4167 _ACEOF
4168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4169         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4170 do
4171   CC="$ac_save_CC $ac_arg"
4172   if ac_fn_c_try_compile "$LINENO"; then :
4173   ac_cv_prog_cc_c89=$ac_arg
4174 fi
4175 rm -f core conftest.err conftest.$ac_objext
4176   test "x$ac_cv_prog_cc_c89" != "xno" && break
4177 done
4178 rm -f conftest.$ac_ext
4179 CC=$ac_save_CC
4180
4181 fi
4182 # AC_CACHE_VAL
4183 case "x$ac_cv_prog_cc_c89" in
4184   x)
4185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4186 $as_echo "none needed" >&6; } ;;
4187   xno)
4188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4189 $as_echo "unsupported" >&6; } ;;
4190   *)
4191     CC="$CC $ac_cv_prog_cc_c89"
4192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4193 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4194 esac
4195 if test "x$ac_cv_prog_cc_c89" != xno; then :
4196
4197 fi
4198
4199 ac_ext=c
4200 ac_cpp='$CPP $CPPFLAGS'
4201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4204
4205 depcc="$CC"   am_compiler_list=
4206
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4208 $as_echo_n "checking dependency style of $depcc... " >&6; }
4209 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4210   $as_echo_n "(cached) " >&6
4211 else
4212   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4213   # We make a subdir and do the tests there.  Otherwise we can end up
4214   # making bogus files that we don't know about and never remove.  For
4215   # instance it was reported that on HP-UX the gcc test will end up
4216   # making a dummy file named `D' -- because `-MD' means `put the output
4217   # in D'.
4218   mkdir conftest.dir
4219   # Copy depcomp to subdir because otherwise we won't find it if we're
4220   # using a relative directory.
4221   cp "$am_depcomp" conftest.dir
4222   cd conftest.dir
4223   # We will build objects and dependencies in a subdirectory because
4224   # it helps to detect inapplicable dependency modes.  For instance
4225   # both Tru64's cc and ICC support -MD to output dependencies as a
4226   # side effect of compilation, but ICC will put the dependencies in
4227   # the current directory while Tru64 will put them in the object
4228   # directory.
4229   mkdir sub
4230
4231   am_cv_CC_dependencies_compiler_type=none
4232   if test "$am_compiler_list" = ""; then
4233      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4234   fi
4235   am__universal=false
4236   case " $depcc " in #(
4237      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4238      esac
4239
4240   for depmode in $am_compiler_list; do
4241     # Setup a source with many dependencies, because some compilers
4242     # like to wrap large dependency lists on column 80 (with \), and
4243     # we should not choose a depcomp mode which is confused by this.
4244     #
4245     # We need to recreate these files for each test, as the compiler may
4246     # overwrite some of them when testing with obscure command lines.
4247     # This happens at least with the AIX C compiler.
4248     : > sub/conftest.c
4249     for i in 1 2 3 4 5 6; do
4250       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4251       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4252       # Solaris 8's {/usr,}/bin/sh.
4253       touch sub/conftst$i.h
4254     done
4255     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4256
4257     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4258     # mode.  It turns out that the SunPro C++ compiler does not properly
4259     # handle `-M -o', and we need to detect this.  Also, some Intel
4260     # versions had trouble with output in subdirs
4261     am__obj=sub/conftest.${OBJEXT-o}
4262     am__minus_obj="-o $am__obj"
4263     case $depmode in
4264     gcc)
4265       # This depmode causes a compiler race in universal mode.
4266       test "$am__universal" = false || continue
4267       ;;
4268     nosideeffect)
4269       # after this tag, mechanisms are not by side-effect, so they'll
4270       # only be used when explicitly requested
4271       if test "x$enable_dependency_tracking" = xyes; then
4272         continue
4273       else
4274         break
4275       fi
4276       ;;
4277     msvisualcpp | msvcmsys)
4278       # This compiler won't grok `-c -o', but also, the minuso test has
4279       # not run yet.  These depmodes are late enough in the game, and
4280       # so weak that their functioning should not be impacted.
4281       am__obj=conftest.${OBJEXT-o}
4282       am__minus_obj=
4283       ;;
4284     none) break ;;
4285     esac
4286     if depmode=$depmode \
4287        source=sub/conftest.c object=$am__obj \
4288        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4289        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4290          >/dev/null 2>conftest.err &&
4291        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4292        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4293        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4294        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4295       # icc doesn't choke on unknown options, it will just issue warnings
4296       # or remarks (even with -Werror).  So we grep stderr for any message
4297       # that says an option was ignored or not supported.
4298       # When given -MP, icc 7.0 and 7.1 complain thusly:
4299       #   icc: Command line warning: ignoring option '-M'; no argument required
4300       # The diagnosis changed in icc 8.0:
4301       #   icc: Command line remark: option '-MP' not supported
4302       if (grep 'ignoring option' conftest.err ||
4303           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4304         am_cv_CC_dependencies_compiler_type=$depmode
4305         break
4306       fi
4307     fi
4308   done
4309
4310   cd ..
4311   rm -rf conftest.dir
4312 else
4313   am_cv_CC_dependencies_compiler_type=none
4314 fi
4315
4316 fi
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4318 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4319 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4320
4321  if
4322   test "x$enable_dependency_tracking" != xno \
4323   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4324   am__fastdepCC_TRUE=
4325   am__fastdepCC_FALSE='#'
4326 else
4327   am__fastdepCC_TRUE='#'
4328   am__fastdepCC_FALSE=
4329 fi
4330
4331
4332
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgssapi_krb5" >&5
4334 $as_echo_n "checking for gss_init_sec_context in -lgssapi_krb5... " >&6; }
4335 if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then :
4336   $as_echo_n "(cached) " >&6
4337 else
4338   ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-lgssapi_krb5  $LIBS"
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h.  */
4342
4343 /* Override any GCC internal prototype to avoid an error.
4344    Use char because int might match the return type of a GCC
4345    builtin and then its argument prototype would still apply.  */
4346 #ifdef __cplusplus
4347 extern "C"
4348 #endif
4349 char gss_init_sec_context ();
4350 int
4351 main ()
4352 {
4353 return gss_init_sec_context ();
4354   ;
4355   return 0;
4356 }
4357 _ACEOF
4358 if ac_fn_c_try_link "$LINENO"; then :
4359   ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
4360 else
4361   ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
4362 fi
4363 rm -f core conftest.err conftest.$ac_objext \
4364     conftest$ac_exeext conftest.$ac_ext
4365 LIBS=$ac_check_lib_save_LIBS
4366 fi
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
4368 $as_echo "$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; }
4369 if test "x$ac_cv_lib_gssapi_krb5_gss_init_sec_context" = x""yes; then :
4370   cat >>confdefs.h <<_ACEOF
4371 #define HAVE_LIBGSSAPI_KRB5 1
4372 _ACEOF
4373
4374   LIBS="-lgssapi_krb5 $LIBS"
4375
4376 fi
4377
4378
4379 ac_ext=c
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4385 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4386 # On Suns, sometimes $CPP names a directory.
4387 if test -n "$CPP" && test -d "$CPP"; then
4388   CPP=
4389 fi
4390 if test -z "$CPP"; then
4391   if test "${ac_cv_prog_CPP+set}" = set; then :
4392   $as_echo_n "(cached) " >&6
4393 else
4394       # Double quotes because CPP needs to be expanded
4395     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4396     do
4397       ac_preproc_ok=false
4398 for ac_c_preproc_warn_flag in '' yes
4399 do
4400   # Use a header file that comes with gcc, so configuring glibc
4401   # with a fresh cross-compiler works.
4402   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4403   # <limits.h> exists even on freestanding compilers.
4404   # On the NeXT, cc -E runs the code through the compiler's parser,
4405   # not just through cpp. "Syntax error" is here to catch this case.
4406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h.  */
4408 #ifdef __STDC__
4409 # include <limits.h>
4410 #else
4411 # include <assert.h>
4412 #endif
4413                      Syntax error
4414 _ACEOF
4415 if ac_fn_c_try_cpp "$LINENO"; then :
4416
4417 else
4418   # Broken: fails on valid input.
4419 continue
4420 fi
4421 rm -f conftest.err conftest.i conftest.$ac_ext
4422
4423   # OK, works on sane cases.  Now check whether nonexistent headers
4424   # can be detected and how.
4425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h.  */
4427 #include <ac_nonexistent.h>
4428 _ACEOF
4429 if ac_fn_c_try_cpp "$LINENO"; then :
4430   # Broken: success on invalid input.
4431 continue
4432 else
4433   # Passes both tests.
4434 ac_preproc_ok=:
4435 break
4436 fi
4437 rm -f conftest.err conftest.i conftest.$ac_ext
4438
4439 done
4440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4441 rm -f conftest.i conftest.err conftest.$ac_ext
4442 if $ac_preproc_ok; then :
4443   break
4444 fi
4445
4446     done
4447     ac_cv_prog_CPP=$CPP
4448
4449 fi
4450   CPP=$ac_cv_prog_CPP
4451 else
4452   ac_cv_prog_CPP=$CPP
4453 fi
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4455 $as_echo "$CPP" >&6; }
4456 ac_preproc_ok=false
4457 for ac_c_preproc_warn_flag in '' yes
4458 do
4459   # Use a header file that comes with gcc, so configuring glibc
4460   # with a fresh cross-compiler works.
4461   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4462   # <limits.h> exists even on freestanding compilers.
4463   # On the NeXT, cc -E runs the code through the compiler's parser,
4464   # not just through cpp. "Syntax error" is here to catch this case.
4465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h.  */
4467 #ifdef __STDC__
4468 # include <limits.h>
4469 #else
4470 # include <assert.h>
4471 #endif
4472                      Syntax error
4473 _ACEOF
4474 if ac_fn_c_try_cpp "$LINENO"; then :
4475
4476 else
4477   # Broken: fails on valid input.
4478 continue
4479 fi
4480 rm -f conftest.err conftest.i conftest.$ac_ext
4481
4482   # OK, works on sane cases.  Now check whether nonexistent headers
4483   # can be detected and how.
4484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h.  */
4486 #include <ac_nonexistent.h>
4487 _ACEOF
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4489   # Broken: success on invalid input.
4490 continue
4491 else
4492   # Passes both tests.
4493 ac_preproc_ok=:
4494 break
4495 fi
4496 rm -f conftest.err conftest.i conftest.$ac_ext
4497
4498 done
4499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4500 rm -f conftest.i conftest.err conftest.$ac_ext
4501 if $ac_preproc_ok; then :
4502
4503 else
4504   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4506 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4507 See \`config.log' for more details" "$LINENO" 5 ; }
4508 fi
4509
4510 ac_ext=c
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515
4516
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4518 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4519 if test "${ac_cv_path_GREP+set}" = set; then :
4520   $as_echo_n "(cached) " >&6
4521 else
4522   if test -z "$GREP"; then
4523   ac_path_GREP_found=false
4524   # Loop through the user's path and test for each of PROGNAME-LIST
4525   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4527 do
4528   IFS=$as_save_IFS
4529   test -z "$as_dir" && as_dir=.
4530     for ac_prog in grep ggrep; do
4531     for ac_exec_ext in '' $ac_executable_extensions; do
4532       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4533       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4534 # Check for GNU ac_path_GREP and select it if it is found.
4535   # Check for GNU $ac_path_GREP
4536 case `"$ac_path_GREP" --version 2>&1` in
4537 *GNU*)
4538   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4539 *)
4540   ac_count=0
4541   $as_echo_n 0123456789 >"conftest.in"
4542   while :
4543   do
4544     cat "conftest.in" "conftest.in" >"conftest.tmp"
4545     mv "conftest.tmp" "conftest.in"
4546     cp "conftest.in" "conftest.nl"
4547     $as_echo 'GREP' >> "conftest.nl"
4548     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4549     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4550     as_fn_arith $ac_count + 1 && ac_count=$as_val
4551     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4552       # Best one so far, save it but keep looking for a better one
4553       ac_cv_path_GREP="$ac_path_GREP"
4554       ac_path_GREP_max=$ac_count
4555     fi
4556     # 10*(2^10) chars as input seems more than enough
4557     test $ac_count -gt 10 && break
4558   done
4559   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4560 esac
4561
4562       $ac_path_GREP_found && break 3
4563     done
4564   done
4565   done
4566 IFS=$as_save_IFS
4567   if test -z "$ac_cv_path_GREP"; then
4568     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4569   fi
4570 else
4571   ac_cv_path_GREP=$GREP
4572 fi
4573
4574 fi
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4576 $as_echo "$ac_cv_path_GREP" >&6; }
4577  GREP="$ac_cv_path_GREP"
4578
4579
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4581 $as_echo_n "checking for egrep... " >&6; }
4582 if test "${ac_cv_path_EGREP+set}" = set; then :
4583   $as_echo_n "(cached) " >&6
4584 else
4585   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4586    then ac_cv_path_EGREP="$GREP -E"
4587    else
4588      if test -z "$EGREP"; then
4589   ac_path_EGREP_found=false
4590   # Loop through the user's path and test for each of PROGNAME-LIST
4591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4593 do
4594   IFS=$as_save_IFS
4595   test -z "$as_dir" && as_dir=.
4596     for ac_prog in egrep; do
4597     for ac_exec_ext in '' $ac_executable_extensions; do
4598       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4599       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4600 # Check for GNU ac_path_EGREP and select it if it is found.
4601   # Check for GNU $ac_path_EGREP
4602 case `"$ac_path_EGREP" --version 2>&1` in
4603 *GNU*)
4604   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4605 *)
4606   ac_count=0
4607   $as_echo_n 0123456789 >"conftest.in"
4608   while :
4609   do
4610     cat "conftest.in" "conftest.in" >"conftest.tmp"
4611     mv "conftest.tmp" "conftest.in"
4612     cp "conftest.in" "conftest.nl"
4613     $as_echo 'EGREP' >> "conftest.nl"
4614     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4615     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4616     as_fn_arith $ac_count + 1 && ac_count=$as_val
4617     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4618       # Best one so far, save it but keep looking for a better one
4619       ac_cv_path_EGREP="$ac_path_EGREP"
4620       ac_path_EGREP_max=$ac_count
4621     fi
4622     # 10*(2^10) chars as input seems more than enough
4623     test $ac_count -gt 10 && break
4624   done
4625   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4626 esac
4627
4628       $ac_path_EGREP_found && break 3
4629     done
4630   done
4631   done
4632 IFS=$as_save_IFS
4633   if test -z "$ac_cv_path_EGREP"; then
4634     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4635   fi
4636 else
4637   ac_cv_path_EGREP=$EGREP
4638 fi
4639
4640    fi
4641 fi
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4643 $as_echo "$ac_cv_path_EGREP" >&6; }
4644  EGREP="$ac_cv_path_EGREP"
4645
4646
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4648 $as_echo_n "checking for ANSI C header files... " >&6; }
4649 if test "${ac_cv_header_stdc+set}" = set; then :
4650   $as_echo_n "(cached) " >&6
4651 else
4652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h.  */
4654 #include <stdlib.h>
4655 #include <stdarg.h>
4656 #include <string.h>
4657 #include <float.h>
4658
4659 int
4660 main ()
4661 {
4662
4663   ;
4664   return 0;
4665 }
4666 _ACEOF
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668   ac_cv_header_stdc=yes
4669 else
4670   ac_cv_header_stdc=no
4671 fi
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673
4674 if test $ac_cv_header_stdc = yes; then
4675   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h.  */
4678 #include <string.h>
4679
4680 _ACEOF
4681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4682   $EGREP "memchr" >/dev/null 2>&1; then :
4683
4684 else
4685   ac_cv_header_stdc=no
4686 fi
4687 rm -f conftest*
4688
4689 fi
4690
4691 if test $ac_cv_header_stdc = yes; then
4692   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h.  */
4695 #include <stdlib.h>
4696
4697 _ACEOF
4698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4699   $EGREP "free" >/dev/null 2>&1; then :
4700
4701 else
4702   ac_cv_header_stdc=no
4703 fi
4704 rm -f conftest*
4705
4706 fi
4707
4708 if test $ac_cv_header_stdc = yes; then
4709   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4710   if test "$cross_compiling" = yes; then :
4711   :
4712 else
4713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h.  */
4715 #include <ctype.h>
4716 #include <stdlib.h>
4717 #if ((' ' & 0x0FF) == 0x020)
4718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4720 #else
4721 # define ISLOWER(c) \
4722                    (('a' <= (c) && (c) <= 'i') \
4723                      || ('j' <= (c) && (c) <= 'r') \
4724                      || ('s' <= (c) && (c) <= 'z'))
4725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4726 #endif
4727
4728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4729 int
4730 main ()
4731 {
4732   int i;
4733   for (i = 0; i < 256; i++)
4734     if (XOR (islower (i), ISLOWER (i))
4735         || toupper (i) != TOUPPER (i))
4736       return 2;
4737   return 0;
4738 }
4739 _ACEOF
4740 if ac_fn_c_try_run "$LINENO"; then :
4741
4742 else
4743   ac_cv_header_stdc=no
4744 fi
4745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4746   conftest.$ac_objext conftest.beam conftest.$ac_ext
4747 fi
4748
4749 fi
4750 fi
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4752 $as_echo "$ac_cv_header_stdc" >&6; }
4753 if test $ac_cv_header_stdc = yes; then
4754
4755 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4756
4757 fi
4758
4759 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4760 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4761                   inttypes.h stdint.h unistd.h
4762 do :
4763   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4764 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4765 "
4766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4767   cat >>confdefs.h <<_ACEOF
4768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4769 _ACEOF
4770
4771 fi
4772
4773 done
4774
4775
4776 for ac_header in gssapi.h gssapi_ext.h
4777 do :
4778   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4779 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4781   cat >>confdefs.h <<_ACEOF
4782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4783 _ACEOF
4784
4785 fi
4786
4787 done
4788
4789 ac_config_files="$ac_config_files Makefile"
4790
4791 cat >confcache <<\_ACEOF
4792 # This file is a shell script that caches the results of configure
4793 # tests run on this system so they can be shared between configure
4794 # scripts and configure runs, see configure's option --config-cache.
4795 # It is not useful on other systems.  If it contains results you don't
4796 # want to keep, you may remove or edit it.
4797 #
4798 # config.status only pays attention to the cache file if you give it
4799 # the --recheck option to rerun configure.
4800 #
4801 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4802 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4803 # following values.
4804
4805 _ACEOF
4806
4807 # The following way of writing the cache mishandles newlines in values,
4808 # but we know of no workaround that is simple, portable, and efficient.
4809 # So, we kill variables containing newlines.
4810 # Ultrix sh set writes to stderr and can't be redirected directly,
4811 # and sets the high bit in the cache file unless we assign to the vars.
4812 (
4813   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4814     eval ac_val=\$$ac_var
4815     case $ac_val in #(
4816     *${as_nl}*)
4817       case $ac_var in #(
4818       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4819 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4820       esac
4821       case $ac_var in #(
4822       _ | IFS | as_nl) ;; #(
4823       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4824       *) { eval $ac_var=; unset $ac_var;} ;;
4825       esac ;;
4826     esac
4827   done
4828
4829   (set) 2>&1 |
4830     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4831     *${as_nl}ac_space=\ *)
4832       # `set' does not quote correctly, so add quotes: double-quote
4833       # substitution turns \\\\ into \\, and sed turns \\ into \.
4834       sed -n \
4835         "s/'/'\\\\''/g;
4836           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4837       ;; #(
4838     *)
4839       # `set' quotes correctly as required by POSIX, so do not add quotes.
4840       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4841       ;;
4842     esac |
4843     sort
4844 ) |
4845   sed '
4846      /^ac_cv_env_/b end
4847      t clear
4848      :clear
4849      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4850      t end
4851      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4852      :end' >>confcache
4853 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4854   if test -w "$cache_file"; then
4855     test "x$cache_file" != "x/dev/null" &&
4856       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4857 $as_echo "$as_me: updating cache $cache_file" >&6;}
4858     cat confcache >$cache_file
4859   else
4860     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4861 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4862   fi
4863 fi
4864 rm -f confcache
4865
4866 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4867 # Let make expand exec_prefix.
4868 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4869
4870 # Transform confdefs.h into DEFS.
4871 # Protect against shell expansion while executing Makefile rules.
4872 # Protect against Makefile macro expansion.
4873 #
4874 # If the first sed substitution is executed (which looks for macros that
4875 # take arguments), then branch to the quote section.  Otherwise,
4876 # look for a macro that doesn't take arguments.
4877 ac_script='
4878 :mline
4879 /\\$/{
4880  N
4881  s,\\\n,,
4882  b mline
4883 }
4884 t clear
4885 :clear
4886 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4887 t quote
4888 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4889 t quote
4890 b any
4891 :quote
4892 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4893 s/\[/\\&/g
4894 s/\]/\\&/g
4895 s/\$/$$/g
4896 H
4897 :any
4898 ${
4899         g
4900         s/^\n//
4901         s/\n/ /g
4902         p
4903 }
4904 '
4905 DEFS=`sed -n "$ac_script" confdefs.h`
4906
4907
4908 ac_libobjs=
4909 ac_ltlibobjs=
4910 U=
4911 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4912   # 1. Remove the extension, and $U if already installed.
4913   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4914   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4915   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4916   #    will be set to the directory where LIBOBJS objects are built.
4917   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4918   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4919 done
4920 LIBOBJS=$ac_libobjs
4921
4922 LTLIBOBJS=$ac_ltlibobjs
4923
4924
4925  if test -n "$EXEEXT"; then
4926   am__EXEEXT_TRUE=
4927   am__EXEEXT_FALSE='#'
4928 else
4929   am__EXEEXT_TRUE='#'
4930   am__EXEEXT_FALSE=
4931 fi
4932
4933 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4934   as_fn_error $? "conditional \"AMDEP\" was never defined.
4935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4936 fi
4937 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4938   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4940 fi
4941 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4942   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4944 fi
4945
4946 : ${CONFIG_STATUS=./config.status}
4947 ac_write_fail=0
4948 ac_clean_files_save=$ac_clean_files
4949 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4951 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4952 as_write_fail=0
4953 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4954 #! $SHELL
4955 # Generated by $as_me.
4956 # Run this file to recreate the current configuration.
4957 # Compiler output produced by configure, useful for debugging
4958 # configure, is in config.log if it exists.
4959
4960 debug=false
4961 ac_cs_recheck=false
4962 ac_cs_silent=false
4963
4964 SHELL=\${CONFIG_SHELL-$SHELL}
4965 export SHELL
4966 _ASEOF
4967 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4968 ## -------------------- ##
4969 ## M4sh Initialization. ##
4970 ## -------------------- ##
4971
4972 # Be more Bourne compatible
4973 DUALCASE=1; export DUALCASE # for MKS sh
4974 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4975   emulate sh
4976   NULLCMD=:
4977   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4978   # is contrary to our usage.  Disable this feature.
4979   alias -g '${1+"$@"}'='"$@"'
4980   setopt NO_GLOB_SUBST
4981 else
4982   case `(set -o) 2>/dev/null` in #(
4983   *posix*) :
4984     set -o posix ;; #(
4985   *) :
4986      ;;
4987 esac
4988 fi
4989
4990
4991 as_nl='
4992 '
4993 export as_nl
4994 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4995 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4996 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4997 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4998 # Prefer a ksh shell builtin over an external printf program on Solaris,
4999 # but without wasting forks for bash or zsh.
5000 if test -z "$BASH_VERSION$ZSH_VERSION" \
5001     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5002   as_echo='print -r --'
5003   as_echo_n='print -rn --'
5004 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5005   as_echo='printf %s\n'
5006   as_echo_n='printf %s'
5007 else
5008   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5009     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5010     as_echo_n='/usr/ucb/echo -n'
5011   else
5012     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5013     as_echo_n_body='eval
5014       arg=$1;
5015       case $arg in #(
5016       *"$as_nl"*)
5017         expr "X$arg" : "X\\(.*\\)$as_nl";
5018         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5019       esac;
5020       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5021     '
5022     export as_echo_n_body
5023     as_echo_n='sh -c $as_echo_n_body as_echo'
5024   fi
5025   export as_echo_body
5026   as_echo='sh -c $as_echo_body as_echo'
5027 fi
5028
5029 # The user is always right.
5030 if test "${PATH_SEPARATOR+set}" != set; then
5031   PATH_SEPARATOR=:
5032   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5033     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5034       PATH_SEPARATOR=';'
5035   }
5036 fi
5037
5038
5039 # IFS
5040 # We need space, tab and new line, in precisely that order.  Quoting is
5041 # there to prevent editors from complaining about space-tab.
5042 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5043 # splitting by setting IFS to empty value.)
5044 IFS=" ""        $as_nl"
5045
5046 # Find who we are.  Look in the path if we contain no directory separator.
5047 case $0 in #((
5048   *[\\/]* ) as_myself=$0 ;;
5049   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5050 for as_dir in $PATH
5051 do
5052   IFS=$as_save_IFS
5053   test -z "$as_dir" && as_dir=.
5054     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5055   done
5056 IFS=$as_save_IFS
5057
5058      ;;
5059 esac
5060 # We did not find ourselves, most probably we were run as `sh COMMAND'
5061 # in which case we are not to be found in the path.
5062 if test "x$as_myself" = x; then
5063   as_myself=$0
5064 fi
5065 if test ! -f "$as_myself"; then
5066   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5067   exit 1
5068 fi
5069
5070 # Unset variables that we do not need and which cause bugs (e.g. in
5071 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5072 # suppresses any "Segmentation fault" message there.  '((' could
5073 # trigger a bug in pdksh 5.2.14.
5074 for as_var in BASH_ENV ENV MAIL MAILPATH
5075 do eval test x\${$as_var+set} = xset \
5076   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5077 done
5078 PS1='$ '
5079 PS2='> '
5080 PS4='+ '
5081
5082 # NLS nuisances.
5083 LC_ALL=C
5084 export LC_ALL
5085 LANGUAGE=C
5086 export LANGUAGE
5087
5088 # CDPATH.
5089 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5090
5091
5092 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5093 # ----------------------------------------
5094 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5095 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5096 # script with STATUS, using 1 if that was 0.
5097 as_fn_error ()
5098 {
5099   as_status=$1; test $as_status -eq 0 && as_status=1
5100   if test "$4"; then
5101     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5102     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5103   fi
5104   $as_echo "$as_me: error: $2" >&2
5105   as_fn_exit $as_status
5106 } # as_fn_error
5107
5108
5109 # as_fn_set_status STATUS
5110 # -----------------------
5111 # Set $? to STATUS, without forking.
5112 as_fn_set_status ()
5113 {
5114   return $1
5115 } # as_fn_set_status
5116
5117 # as_fn_exit STATUS
5118 # -----------------
5119 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5120 as_fn_exit ()
5121 {
5122   set +e
5123   as_fn_set_status $1
5124   exit $1
5125 } # as_fn_exit
5126
5127 # as_fn_unset VAR
5128 # ---------------
5129 # Portably unset VAR.
5130 as_fn_unset ()
5131 {
5132   { eval $1=; unset $1;}
5133 }
5134 as_unset=as_fn_unset
5135 # as_fn_append VAR VALUE
5136 # ----------------------
5137 # Append the text in VALUE to the end of the definition contained in VAR. Take
5138 # advantage of any shell optimizations that allow amortized linear growth over
5139 # repeated appends, instead of the typical quadratic growth present in naive
5140 # implementations.
5141 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5142   eval 'as_fn_append ()
5143   {
5144     eval $1+=\$2
5145   }'
5146 else
5147   as_fn_append ()
5148   {
5149     eval $1=\$$1\$2
5150   }
5151 fi # as_fn_append
5152
5153 # as_fn_arith ARG...
5154 # ------------------
5155 # Perform arithmetic evaluation on the ARGs, and store the result in the
5156 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5157 # must be portable across $(()) and expr.
5158 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5159   eval 'as_fn_arith ()
5160   {
5161     as_val=$(( $* ))
5162   }'
5163 else
5164   as_fn_arith ()
5165   {
5166     as_val=`expr "$@" || test $? -eq 1`
5167   }
5168 fi # as_fn_arith
5169
5170
5171 if expr a : '\(a\)' >/dev/null 2>&1 &&
5172    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5173   as_expr=expr
5174 else
5175   as_expr=false
5176 fi
5177
5178 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5179   as_basename=basename
5180 else
5181   as_basename=false
5182 fi
5183
5184 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5185   as_dirname=dirname
5186 else
5187   as_dirname=false
5188 fi
5189
5190 as_me=`$as_basename -- "$0" ||
5191 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5192          X"$0" : 'X\(//\)$' \| \
5193          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5194 $as_echo X/"$0" |
5195     sed '/^.*\/\([^/][^/]*\)\/*$/{
5196             s//\1/
5197             q
5198           }
5199           /^X\/\(\/\/\)$/{
5200             s//\1/
5201             q
5202           }
5203           /^X\/\(\/\).*/{
5204             s//\1/
5205             q
5206           }
5207           s/.*/./; q'`
5208
5209 # Avoid depending upon Character Ranges.
5210 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5211 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5212 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5213 as_cr_digits='0123456789'
5214 as_cr_alnum=$as_cr_Letters$as_cr_digits
5215
5216 ECHO_C= ECHO_N= ECHO_T=
5217 case `echo -n x` in #(((((
5218 -n*)
5219   case `echo 'xy\c'` in
5220   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5221   xy)  ECHO_C='\c';;
5222   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5223        ECHO_T=' ';;
5224   esac;;
5225 *)
5226   ECHO_N='-n';;
5227 esac
5228
5229 rm -f conf$$ conf$$.exe conf$$.file
5230 if test -d conf$$.dir; then
5231   rm -f conf$$.dir/conf$$.file
5232 else
5233   rm -f conf$$.dir
5234   mkdir conf$$.dir 2>/dev/null
5235 fi
5236 if (echo >conf$$.file) 2>/dev/null; then
5237   if ln -s conf$$.file conf$$ 2>/dev/null; then
5238     as_ln_s='ln -s'
5239     # ... but there are two gotchas:
5240     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5241     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5242     # In both cases, we have to default to `cp -p'.
5243     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5244       as_ln_s='cp -p'
5245   elif ln conf$$.file conf$$ 2>/dev/null; then
5246     as_ln_s=ln
5247   else
5248     as_ln_s='cp -p'
5249   fi
5250 else
5251   as_ln_s='cp -p'
5252 fi
5253 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5254 rmdir conf$$.dir 2>/dev/null
5255
5256
5257 # as_fn_mkdir_p
5258 # -------------
5259 # Create "$as_dir" as a directory, including parents if necessary.
5260 as_fn_mkdir_p ()
5261 {
5262
5263   case $as_dir in #(
5264   -*) as_dir=./$as_dir;;
5265   esac
5266   test -d "$as_dir" || eval $as_mkdir_p || {
5267     as_dirs=
5268     while :; do
5269       case $as_dir in #(
5270       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5271       *) as_qdir=$as_dir;;
5272       esac
5273       as_dirs="'$as_qdir' $as_dirs"
5274       as_dir=`$as_dirname -- "$as_dir" ||
5275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5276          X"$as_dir" : 'X\(//\)[^/]' \| \
5277          X"$as_dir" : 'X\(//\)$' \| \
5278          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5279 $as_echo X"$as_dir" |
5280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5281             s//\1/
5282             q
5283           }
5284           /^X\(\/\/\)[^/].*/{
5285             s//\1/
5286             q
5287           }
5288           /^X\(\/\/\)$/{
5289             s//\1/
5290             q
5291           }
5292           /^X\(\/\).*/{
5293             s//\1/
5294             q
5295           }
5296           s/.*/./; q'`
5297       test -d "$as_dir" && break
5298     done
5299     test -z "$as_dirs" || eval "mkdir $as_dirs"
5300   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5301
5302
5303 } # as_fn_mkdir_p
5304 if mkdir -p . 2>/dev/null; then
5305   as_mkdir_p='mkdir -p "$as_dir"'
5306 else
5307   test -d ./-p && rmdir ./-p
5308   as_mkdir_p=false
5309 fi
5310
5311 if test -x / >/dev/null 2>&1; then
5312   as_test_x='test -x'
5313 else
5314   if ls -dL / >/dev/null 2>&1; then
5315     as_ls_L_option=L
5316   else
5317     as_ls_L_option=
5318   fi
5319   as_test_x='
5320     eval sh -c '\''
5321       if test -d "$1"; then
5322         test -d "$1/.";
5323       else
5324         case $1 in #(
5325         -*)set "./$1";;
5326         esac;
5327         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5328         ???[sx]*):;;*)false;;esac;fi
5329     '\'' sh
5330   '
5331 fi
5332 as_executable_p=$as_test_x
5333
5334 # Sed expression to map a string onto a valid CPP name.
5335 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5336
5337 # Sed expression to map a string onto a valid variable name.
5338 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5339
5340
5341 exec 6>&1
5342 ## ----------------------------------- ##
5343 ## Main body of $CONFIG_STATUS script. ##
5344 ## ----------------------------------- ##
5345 _ASEOF
5346 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5347
5348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5349 # Save the log message, to keep $0 and so on meaningful, and to
5350 # report actual input values of CONFIG_FILES etc. instead of their
5351 # values after options handling.
5352 ac_log="
5353 This file was extended by firefox-moonshot $as_me 0.0.1, which was
5354 generated by GNU Autoconf 2.67.  Invocation command line was
5355
5356   CONFIG_FILES    = $CONFIG_FILES
5357   CONFIG_HEADERS  = $CONFIG_HEADERS
5358   CONFIG_LINKS    = $CONFIG_LINKS
5359   CONFIG_COMMANDS = $CONFIG_COMMANDS
5360   $ $0 $@
5361
5362 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5363 "
5364
5365 _ACEOF
5366
5367 case $ac_config_files in *"
5368 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5369 esac
5370
5371
5372
5373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5374 # Files that config.status was made for.
5375 config_files="$ac_config_files"
5376 config_commands="$ac_config_commands"
5377
5378 _ACEOF
5379
5380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5381 ac_cs_usage="\
5382 \`$as_me' instantiates files and other configuration actions
5383 from templates according to the current configuration.  Unless the files
5384 and actions are specified as TAGs, all are instantiated by default.
5385
5386 Usage: $0 [OPTION]... [TAG]...
5387
5388   -h, --help       print this help, then exit
5389   -V, --version    print version number and configuration settings, then exit
5390       --config     print configuration, then exit
5391   -q, --quiet, --silent
5392                    do not print progress messages
5393   -d, --debug      don't remove temporary files
5394       --recheck    update $as_me by reconfiguring in the same conditions
5395       --file=FILE[:TEMPLATE]
5396                    instantiate the configuration file FILE
5397
5398 Configuration files:
5399 $config_files
5400
5401 Configuration commands:
5402 $config_commands
5403
5404 Report bugs to <bugs@project-moonshot.org>."
5405
5406 _ACEOF
5407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5408 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5409 ac_cs_version="\\
5410 firefox-moonshot config.status 0.0.1
5411 configured by $0, generated by GNU Autoconf 2.67,
5412   with options \\"\$ac_cs_config\\"
5413
5414 Copyright (C) 2010 Free Software Foundation, Inc.
5415 This config.status script is free software; the Free Software Foundation
5416 gives unlimited permission to copy, distribute and modify it."
5417
5418 ac_pwd='$ac_pwd'
5419 srcdir='$srcdir'
5420 INSTALL='$INSTALL'
5421 MKDIR_P='$MKDIR_P'
5422 AWK='$AWK'
5423 test -n "\$AWK" || AWK=awk
5424 _ACEOF
5425
5426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5427 # The default lists apply if the user does not specify any file.
5428 ac_need_defaults=:
5429 while test $# != 0
5430 do
5431   case $1 in
5432   --*=?*)
5433     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5434     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5435     ac_shift=:
5436     ;;
5437   --*=)
5438     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5439     ac_optarg=
5440     ac_shift=:
5441     ;;
5442   *)
5443     ac_option=$1
5444     ac_optarg=$2
5445     ac_shift=shift
5446     ;;
5447   esac
5448
5449   case $ac_option in
5450   # Handling of the options.
5451   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5452     ac_cs_recheck=: ;;
5453   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5454     $as_echo "$ac_cs_version"; exit ;;
5455   --config | --confi | --conf | --con | --co | --c )
5456     $as_echo "$ac_cs_config"; exit ;;
5457   --debug | --debu | --deb | --de | --d | -d )
5458     debug=: ;;
5459   --file | --fil | --fi | --f )
5460     $ac_shift
5461     case $ac_optarg in
5462     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5463     '') as_fn_error $? "missing file argument" ;;
5464     esac
5465     as_fn_append CONFIG_FILES " '$ac_optarg'"
5466     ac_need_defaults=false;;
5467   --he | --h |  --help | --hel | -h )
5468     $as_echo "$ac_cs_usage"; exit ;;
5469   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5470   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5471     ac_cs_silent=: ;;
5472
5473   # This is an error.
5474   -*) as_fn_error $? "unrecognized option: \`$1'
5475 Try \`$0 --help' for more information." ;;
5476
5477   *) as_fn_append ac_config_targets " $1"
5478      ac_need_defaults=false ;;
5479
5480   esac
5481   shift
5482 done
5483
5484 ac_configure_extra_args=
5485
5486 if $ac_cs_silent; then
5487   exec 6>/dev/null
5488   ac_configure_extra_args="$ac_configure_extra_args --silent"
5489 fi
5490
5491 _ACEOF
5492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5493 if \$ac_cs_recheck; then
5494   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5495   shift
5496   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5497   CONFIG_SHELL='$SHELL'
5498   export CONFIG_SHELL
5499   exec "\$@"
5500 fi
5501
5502 _ACEOF
5503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5504 exec 5>>config.log
5505 {
5506   echo
5507   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5508 ## Running $as_me. ##
5509 _ASBOX
5510   $as_echo "$ac_log"
5511 } >&5
5512
5513 _ACEOF
5514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5515 #
5516 # INIT-COMMANDS
5517 #
5518 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5519
5520 _ACEOF
5521
5522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5523
5524 # Handling of arguments.
5525 for ac_config_target in $ac_config_targets
5526 do
5527   case $ac_config_target in
5528     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5529     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5530
5531   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5532   esac
5533 done
5534
5535
5536 # If the user did not use the arguments to specify the items to instantiate,
5537 # then the envvar interface is used.  Set only those that are not.
5538 # We use the long form for the default assignment because of an extremely
5539 # bizarre bug on SunOS 4.1.3.
5540 if $ac_need_defaults; then
5541   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5542   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5543 fi
5544
5545 # Have a temporary directory for convenience.  Make it in the build tree
5546 # simply because there is no reason against having it here, and in addition,
5547 # creating and moving files from /tmp can sometimes cause problems.
5548 # Hook for its removal unless debugging.
5549 # Note that there is a small window in which the directory will not be cleaned:
5550 # after its creation but before its name has been assigned to `$tmp'.
5551 $debug ||
5552 {
5553   tmp=
5554   trap 'exit_status=$?
5555   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5556 ' 0
5557   trap 'as_fn_exit 1' 1 2 13 15
5558 }
5559 # Create a (secure) tmp directory for tmp files.
5560
5561 {
5562   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5563   test -n "$tmp" && test -d "$tmp"
5564 }  ||
5565 {
5566   tmp=./conf$$-$RANDOM
5567   (umask 077 && mkdir "$tmp")
5568 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5569
5570 # Set up the scripts for CONFIG_FILES section.
5571 # No need to generate them if there are no CONFIG_FILES.
5572 # This happens for instance with `./config.status config.h'.
5573 if test -n "$CONFIG_FILES"; then
5574
5575
5576 ac_cr=`echo X | tr X '\015'`
5577 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5578 # But we know of no other shell where ac_cr would be empty at this
5579 # point, so we can use a bashism as a fallback.
5580 if test "x$ac_cr" = x; then
5581   eval ac_cr=\$\'\\r\'
5582 fi
5583 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5584 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5585   ac_cs_awk_cr='\\r'
5586 else
5587   ac_cs_awk_cr=$ac_cr
5588 fi
5589
5590 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5591 _ACEOF
5592
5593
5594 {
5595   echo "cat >conf$$subs.awk <<_ACEOF" &&
5596   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5597   echo "_ACEOF"
5598 } >conf$$subs.sh ||
5599   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5600 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5601 ac_delim='%!_!# '
5602 for ac_last_try in false false false false false :; do
5603   . ./conf$$subs.sh ||
5604     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5605
5606   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5607   if test $ac_delim_n = $ac_delim_num; then
5608     break
5609   elif $ac_last_try; then
5610     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5611   else
5612     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5613   fi
5614 done
5615 rm -f conf$$subs.sh
5616
5617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5619 _ACEOF
5620 sed -n '
5621 h
5622 s/^/S["/; s/!.*/"]=/
5623 p
5624 g
5625 s/^[^!]*!//
5626 :repl
5627 t repl
5628 s/'"$ac_delim"'$//
5629 t delim
5630 :nl
5631 h
5632 s/\(.\{148\}\)..*/\1/
5633 t more1
5634 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5635 p
5636 n
5637 b repl
5638 :more1
5639 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5640 p
5641 g
5642 s/.\{148\}//
5643 t nl
5644 :delim
5645 h
5646 s/\(.\{148\}\)..*/\1/
5647 t more2
5648 s/["\\]/\\&/g; s/^/"/; s/$/"/
5649 p
5650 b
5651 :more2
5652 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5653 p
5654 g
5655 s/.\{148\}//
5656 t delim
5657 ' <conf$$subs.awk | sed '
5658 /^[^""]/{
5659   N
5660   s/\n//
5661 }
5662 ' >>$CONFIG_STATUS || ac_write_fail=1
5663 rm -f conf$$subs.awk
5664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5665 _ACAWK
5666 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5667   for (key in S) S_is_set[key] = 1
5668   FS = "\a"
5669
5670 }
5671 {
5672   line = $ 0
5673   nfields = split(line, field, "@")
5674   substed = 0
5675   len = length(field[1])
5676   for (i = 2; i < nfields; i++) {
5677     key = field[i]
5678     keylen = length(key)
5679     if (S_is_set[key]) {
5680       value = S[key]
5681       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5682       len += length(value) + length(field[++i])
5683       substed = 1
5684     } else
5685       len += 1 + keylen
5686   }
5687
5688   print line
5689 }
5690
5691 _ACAWK
5692 _ACEOF
5693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5694 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5695   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5696 else
5697   cat
5698 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5699   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5700 _ACEOF
5701
5702 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5703 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5704 # trailing colons and then remove the whole line if VPATH becomes empty
5705 # (actually we leave an empty line to preserve line numbers).
5706 if test "x$srcdir" = x.; then
5707   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5708 h
5709 s///
5710 s/^/:/
5711 s/[      ]*$/:/
5712 s/:\$(srcdir):/:/g
5713 s/:\${srcdir}:/:/g
5714 s/:@srcdir@:/:/g
5715 s/^:*//
5716 s/:*$//
5717 x
5718 s/\(=[   ]*\).*/\1/
5719 G
5720 s/\n//
5721 s/^[^=]*=[       ]*$//
5722 }'
5723 fi
5724
5725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5726 fi # test -n "$CONFIG_FILES"
5727
5728
5729 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5730 shift
5731 for ac_tag
5732 do
5733   case $ac_tag in
5734   :[FHLC]) ac_mode=$ac_tag; continue;;
5735   esac
5736   case $ac_mode$ac_tag in
5737   :[FHL]*:*);;
5738   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5739   :[FH]-) ac_tag=-:-;;
5740   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5741   esac
5742   ac_save_IFS=$IFS
5743   IFS=:
5744   set x $ac_tag
5745   IFS=$ac_save_IFS
5746   shift
5747   ac_file=$1
5748   shift
5749
5750   case $ac_mode in
5751   :L) ac_source=$1;;
5752   :[FH])
5753     ac_file_inputs=
5754     for ac_f
5755     do
5756       case $ac_f in
5757       -) ac_f="$tmp/stdin";;
5758       *) # Look for the file first in the build tree, then in the source tree
5759          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5760          # because $ac_f cannot contain `:'.
5761          test -f "$ac_f" ||
5762            case $ac_f in
5763            [\\/$]*) false;;
5764            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5765            esac ||
5766            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5767       esac
5768       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5769       as_fn_append ac_file_inputs " '$ac_f'"
5770     done
5771
5772     # Let's still pretend it is `configure' which instantiates (i.e., don't
5773     # use $as_me), people would be surprised to read:
5774     #    /* config.h.  Generated by config.status.  */
5775     configure_input='Generated from '`
5776           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5777         `' by configure.'
5778     if test x"$ac_file" != x-; then
5779       configure_input="$ac_file.  $configure_input"
5780       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5781 $as_echo "$as_me: creating $ac_file" >&6;}
5782     fi
5783     # Neutralize special characters interpreted by sed in replacement strings.
5784     case $configure_input in #(
5785     *\&* | *\|* | *\\* )
5786        ac_sed_conf_input=`$as_echo "$configure_input" |
5787        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5788     *) ac_sed_conf_input=$configure_input;;
5789     esac
5790
5791     case $ac_tag in
5792     *:-:* | *:-) cat >"$tmp/stdin" \
5793       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
5794     esac
5795     ;;
5796   esac
5797
5798   ac_dir=`$as_dirname -- "$ac_file" ||
5799 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5800          X"$ac_file" : 'X\(//\)[^/]' \| \
5801          X"$ac_file" : 'X\(//\)$' \| \
5802          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5803 $as_echo X"$ac_file" |
5804     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5805             s//\1/
5806             q
5807           }
5808           /^X\(\/\/\)[^/].*/{
5809             s//\1/
5810             q
5811           }
5812           /^X\(\/\/\)$/{
5813             s//\1/
5814             q
5815           }
5816           /^X\(\/\).*/{
5817             s//\1/
5818             q
5819           }
5820           s/.*/./; q'`
5821   as_dir="$ac_dir"; as_fn_mkdir_p
5822   ac_builddir=.
5823
5824 case "$ac_dir" in
5825 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5826 *)
5827   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5828   # A ".." for each directory in $ac_dir_suffix.
5829   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5830   case $ac_top_builddir_sub in
5831   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5832   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5833   esac ;;
5834 esac
5835 ac_abs_top_builddir=$ac_pwd
5836 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5837 # for backward compatibility:
5838 ac_top_builddir=$ac_top_build_prefix
5839
5840 case $srcdir in
5841   .)  # We are building in place.
5842     ac_srcdir=.
5843     ac_top_srcdir=$ac_top_builddir_sub
5844     ac_abs_top_srcdir=$ac_pwd ;;
5845   [\\/]* | ?:[\\/]* )  # Absolute name.
5846     ac_srcdir=$srcdir$ac_dir_suffix;
5847     ac_top_srcdir=$srcdir
5848     ac_abs_top_srcdir=$srcdir ;;
5849   *) # Relative name.
5850     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5851     ac_top_srcdir=$ac_top_build_prefix$srcdir
5852     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5853 esac
5854 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5855
5856
5857   case $ac_mode in
5858   :F)
5859   #
5860   # CONFIG_FILE
5861   #
5862
5863   case $INSTALL in
5864   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5865   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5866   esac
5867   ac_MKDIR_P=$MKDIR_P
5868   case $MKDIR_P in
5869   [\\/$]* | ?:[\\/]* ) ;;
5870   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5871   esac
5872 _ACEOF
5873
5874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5875 # If the template does not know about datarootdir, expand it.
5876 # FIXME: This hack should be removed a few years after 2.60.
5877 ac_datarootdir_hack=; ac_datarootdir_seen=
5878 ac_sed_dataroot='
5879 /datarootdir/ {
5880   p
5881   q
5882 }
5883 /@datadir@/p
5884 /@docdir@/p
5885 /@infodir@/p
5886 /@localedir@/p
5887 /@mandir@/p'
5888 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5889 *datarootdir*) ac_datarootdir_seen=yes;;
5890 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5891   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5892 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5893 _ACEOF
5894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5895   ac_datarootdir_hack='
5896   s&@datadir@&$datadir&g
5897   s&@docdir@&$docdir&g
5898   s&@infodir@&$infodir&g
5899   s&@localedir@&$localedir&g
5900   s&@mandir@&$mandir&g
5901   s&\\\${datarootdir}&$datarootdir&g' ;;
5902 esac
5903 _ACEOF
5904
5905 # Neutralize VPATH when `$srcdir' = `.'.
5906 # Shell code in configure.ac might set extrasub.
5907 # FIXME: do we really want to maintain this feature?
5908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5909 ac_sed_extra="$ac_vpsub
5910 $extrasub
5911 _ACEOF
5912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5913 :t
5914 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5915 s|@configure_input@|$ac_sed_conf_input|;t t
5916 s&@top_builddir@&$ac_top_builddir_sub&;t t
5917 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5918 s&@srcdir@&$ac_srcdir&;t t
5919 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5920 s&@top_srcdir@&$ac_top_srcdir&;t t
5921 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5922 s&@builddir@&$ac_builddir&;t t
5923 s&@abs_builddir@&$ac_abs_builddir&;t t
5924 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5925 s&@INSTALL@&$ac_INSTALL&;t t
5926 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5927 $ac_datarootdir_hack
5928 "
5929 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5930   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5931
5932 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5933   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5934   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5935   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5936 which seems to be undefined.  Please make sure it is defined" >&5
5937 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5938 which seems to be undefined.  Please make sure it is defined" >&2;}
5939
5940   rm -f "$tmp/stdin"
5941   case $ac_file in
5942   -) cat "$tmp/out" && rm -f "$tmp/out";;
5943   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5944   esac \
5945   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5946  ;;
5947
5948
5949   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5950 $as_echo "$as_me: executing $ac_file commands" >&6;}
5951  ;;
5952   esac
5953
5954
5955   case $ac_file$ac_mode in
5956     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5957   # Autoconf 2.62 quotes --file arguments for eval, but not when files
5958   # are listed without --file.  Let's play safe and only enable the eval
5959   # if we detect the quoting.
5960   case $CONFIG_FILES in
5961   *\'*) eval set x "$CONFIG_FILES" ;;
5962   *)   set x $CONFIG_FILES ;;
5963   esac
5964   shift
5965   for mf
5966   do
5967     # Strip MF so we end up with the name of the file.
5968     mf=`echo "$mf" | sed -e 's/:.*$//'`
5969     # Check whether this is an Automake generated Makefile or not.
5970     # We used to match only the files named `Makefile.in', but
5971     # some people rename them; so instead we look at the file content.
5972     # Grep'ing the first line is not enough: some people post-process
5973     # each Makefile.in and add a new line on top of each file to say so.
5974     # Grep'ing the whole file is not good either: AIX grep has a line
5975     # limit of 2048, but all sed's we know have understand at least 4000.
5976     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5977       dirpart=`$as_dirname -- "$mf" ||
5978 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5979          X"$mf" : 'X\(//\)[^/]' \| \
5980          X"$mf" : 'X\(//\)$' \| \
5981          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5982 $as_echo X"$mf" |
5983     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5984             s//\1/
5985             q
5986           }
5987           /^X\(\/\/\)[^/].*/{
5988             s//\1/
5989             q
5990           }
5991           /^X\(\/\/\)$/{
5992             s//\1/
5993             q
5994           }
5995           /^X\(\/\).*/{
5996             s//\1/
5997             q
5998           }
5999           s/.*/./; q'`
6000     else
6001       continue
6002     fi
6003     # Extract the definition of DEPDIR, am__include, and am__quote
6004     # from the Makefile without running `make'.
6005     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6006     test -z "$DEPDIR" && continue
6007     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6008     test -z "am__include" && continue
6009     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6010     # When using ansi2knr, U may be empty or an underscore; expand it
6011     U=`sed -n 's/^U = //p' < "$mf"`
6012     # Find all dependency output files, they are included files with
6013     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6014     # simplest approach to changing $(DEPDIR) to its actual value in the
6015     # expansion.
6016     for file in `sed -n "
6017       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6018          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6019       # Make sure the directory exists.
6020       test -f "$dirpart/$file" && continue
6021       fdir=`$as_dirname -- "$file" ||
6022 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6023          X"$file" : 'X\(//\)[^/]' \| \
6024          X"$file" : 'X\(//\)$' \| \
6025          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6026 $as_echo X"$file" |
6027     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6028             s//\1/
6029             q
6030           }
6031           /^X\(\/\/\)[^/].*/{
6032             s//\1/
6033             q
6034           }
6035           /^X\(\/\/\)$/{
6036             s//\1/
6037             q
6038           }
6039           /^X\(\/\).*/{
6040             s//\1/
6041             q
6042           }
6043           s/.*/./; q'`
6044       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6045       # echo "creating $dirpart/$file"
6046       echo '# dummy' > "$dirpart/$file"
6047     done
6048   done
6049 }
6050  ;;
6051
6052   esac
6053 done # for ac_tag
6054
6055
6056 as_fn_exit 0
6057 _ACEOF
6058 ac_clean_files=$ac_clean_files_save
6059
6060 test $ac_write_fail = 0 ||
6061   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6062
6063
6064 # configure is writing to config.log, and then calls config.status.
6065 # config.status does its own redirection, appending to config.log.
6066 # Unfortunately, on DOS this fails, as config.log is still kept open
6067 # by configure, so config.status won't be able to write to it; its
6068 # output is simply discarded.  So we exec the FD to /dev/null,
6069 # effectively closing config.log, so it can be properly (re)opened and
6070 # appended to by config.status.  When coming back to configure, we
6071 # need to make the FD available again.
6072 if test "$no_create" != yes; then
6073   ac_cs_success=:
6074   ac_config_status_args=
6075   test "$silent" = yes &&
6076     ac_config_status_args="$ac_config_status_args --quiet"
6077   exec 5>/dev/null
6078   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6079   exec 5>>config.log
6080   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6081   # would make configure fail if this is the last instruction.
6082   $ac_cs_success || as_fn_exit 1
6083 fi
6084 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6085   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6086 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6087 fi
6088