2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for firefox-moonshot 0.0.1.
5 # Report bugs to <bugs@project-moonshot.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
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
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 :
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+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
169 exitcode=1; echo positional parameters were not saved.
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 :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
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 :
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
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.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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."
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."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
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
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
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 :
357 as_val=`expr "$@" || test $? -eq 1`
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.
369 as_status=$1; test $as_status -eq 0 && as_status=1
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
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
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'"
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'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
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'
560 # Factoring default headers for most tests.
561 ac_includes_default="\
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
573 # ifdef HAVE_STDLIB_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
596 ac_subst_vars='am__EXEEXT_FALSE
642 INSTALL_STRIP_PROGRAM
684 program_transform_name
697 enable_option_checking
698 enable_dependency_tracking
700 ac_precious_vars='build_alias
719 # Initialize some variables set by options.
721 ac_init_version=false
722 ac_unrecognized_opts=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name=s,x,x,
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'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
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 ;;
808 cache_file=config.cache ;;
810 -datadir | --datadir | --datadi | --datad)
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
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 ;;
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
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
862 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
877 -help | --help | --hel | --he | -h)
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 ;;
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893 htmldir=$ac_optarg ;;
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 ;;
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
907 -libdir | --libdir | --libdi | --libd)
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
919 -localedir | --localedir | --localedi | --localed | --locale)
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
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 ;;
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
937 # Obsolete; use --without-fp.
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998 -psdir | --psdir | --psdi | --psd | --ps)
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011 sbindir=$ac_optarg ;;
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022 sharedstatedir=$ac_optarg ;;
1024 -site | --site | --sit)
1026 -site=* | --site=* | --sit=*)
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
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 ;;
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 ;;
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
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
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval with_$ac_useropt=\$ac_optarg ;;
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
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval with_$ac_useropt=no ;;
1085 # Obsolete; use --with-x.
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 ;;
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 ;;
1102 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information"
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'" ;;
1113 eval $ac_envvar=\$ac_optarg
1114 export $ac_envvar ;;
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}
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"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1146 eval ac_val=\$$ac_var
1147 # Remove trailing slashes.
1150 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$]* | ?:[\\/]* ) continue;;
1156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1166 target=$target_alias
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
1180 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted=no
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"
1231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1253 # Report the --help message.
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.
1259 \`configure' configures firefox-moonshot 0.0.1 to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1266 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1290 For better control, use the options below.
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
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
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
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:";;
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
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
1347 directories to add to pkg-config's search path
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
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.
1359 Report bugs to <bugs@project-moonshot.org>.
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"; } ||
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1389 .) # We are building in place.
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 ;;
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 ;;
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1404 cd "$ac_dir" || { ac_status=$?; continue; }
1405 # Check for guested configure.
1406 if test -f "$ac_srcdir/configure.gnu"; then
1408 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1409 elif test -f "$ac_srcdir/configure"; then
1411 $SHELL "$ac_srcdir/configure" --help=recursive
1413 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 cd "$ac_pwd" || { ac_status=$?; break; }
1419 test -n "$ac_init_help" && exit $ac_status
1420 if $ac_init_version; then
1422 firefox-moonshot configure 0.0.1
1423 generated by GNU Autoconf 2.67
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.
1432 ## ------------------------ ##
1433 ## Autoconf initialization. ##
1434 ## ------------------------ ##
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 ()
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"
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
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
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
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 :
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1469 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1470 as_fn_set_status $ac_retval
1472 } # ac_fn_cxx_try_compile
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 ()
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"
1483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1484 *) ac_try_echo=$ac_try;;
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
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
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 :
1502 $as_echo "$as_me: failed program was:" >&5
1503 sed 's/^/| /' conftest.$ac_ext >&5
1507 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1508 as_fn_set_status $ac_retval
1510 } # ac_fn_c_try_compile
1512 # ac_fn_c_try_link LINENO
1513 # -----------------------
1514 # Try to link conftest.$ac_ext, and return whether this succeeded.
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"
1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
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
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
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
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
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
1556 } # ac_fn_c_try_link
1558 # ac_fn_c_try_cpp LINENO
1559 # ----------------------
1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 if { { ac_try="$ac_cpp conftest.$ac_ext"
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
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
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
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
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1591 as_fn_set_status $ac_retval
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
1600 ac_fn_c_check_header_mongrel ()
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
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
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. */
1621 if ac_fn_c_try_compile "$LINENO"; then :
1622 ac_header_compiler=yes
1624 ac_header_compiler=no
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; }
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. */
1637 if ac_fn_c_try_cpp "$LINENO"; then :
1638 ac_header_preproc=yes
1640 ac_header_preproc=no
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; }
1646 # So? What about this header?
1647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
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;}
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
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
1676 eval "$3=\$ac_header_compiler"
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 } # ac_fn_c_check_header_mongrel
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.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_link"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
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
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;;
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
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; }; }; then :
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
1720 ac_retval=$ac_status
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
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 ()
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
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1745 if ac_fn_c_try_compile "$LINENO"; then :
1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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;}
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.
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
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`
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`
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`
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir=.
1799 $as_echo "PATH: $as_dir"
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.
1823 ac_must_keep_next=false
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)
1834 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
1852 -* ) ac_must_keep_next=true ;;
1855 as_fn_append ac_configure_args " '$ac_arg'"
1860 { ac_configure_args0=; unset ac_configure_args0;}
1861 { ac_configure_args1=; unset ac_configure_args1;}
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.
1873 $as_echo "## ---------------- ##
1874 ## Cache variables. ##
1875 ## ---------------- ##"
1877 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1888 _ | IFS | as_nl) ;; #(
1889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890 *) { eval $ac_var=; unset $ac_var;} ;;
1895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1909 $as_echo "## ----------------- ##
1910 ## Output variables. ##
1911 ## ----------------- ##"
1913 for ac_var in $ac_subst_vars
1915 eval ac_val=\$$ac_var
1917 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1919 $as_echo "$ac_var='\''$ac_val'\''"
1923 if test -n "$ac_subst_files"; then
1924 $as_echo "## ------------------- ##
1925 ## File substitutions. ##
1926 ## ------------------- ##"
1928 for ac_var in $ac_subst_files
1930 eval ac_val=\$$ac_var
1932 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1934 $as_echo "$ac_var='\''$ac_val'\''"
1939 if test -s confdefs.h; then
1940 $as_echo "## ----------- ##
1947 test "$ac_signal" != 0 &&
1948 $as_echo "$as_me: caught signal $ac_signal"
1949 $as_echo "$as_me: exit $exit_status"
1951 rm -f core *.core core.conftest.* &&
1952 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1955 for ac_signal in 1 2 13 15; do
1956 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1960 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1961 rm -f -r conftest* confdefs.h
1963 $as_echo "/* confdefs.h */" > confdefs.h
1965 # Predefined preprocessor variables.
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE_NAME "$PACKAGE_NAME"
1971 cat >>confdefs.h <<_ACEOF
1972 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1975 cat >>confdefs.h <<_ACEOF
1976 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1979 cat >>confdefs.h <<_ACEOF
1980 #define PACKAGE_STRING "$PACKAGE_STRING"
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_URL "$PACKAGE_URL"
1992 # Let the site file select an alternate cache file if it wants to.
1993 # Prefer an explicitly selected file to automatically selected ones.
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;;
2003 elif test "x$prefix" != xNONE; then
2004 ac_site_file1=$prefix/share/config.site
2005 ac_site_file2=$prefix/etc/config.site
2007 ac_site_file1=$ac_default_prefix/share/config.site
2008 ac_site_file2=$ac_default_prefix/etc/config.site
2010 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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 ; }
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;}
2032 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2033 *) . "./$cache_file";;
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2038 $as_echo "$as_me: creating cache $cache_file" >&6;}
2042 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
2080 # Pass precious variables to config.status.
2081 if test "$ac_new_set" = set; then
2083 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
2099 ## -------------------- ##
2100 ## Main body of script. ##
2101 ## -------------------- ##
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
2110 am__api_version='1.11'
2113 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2114 if test -f "$ac_dir/install-sh"; then
2116 ac_install_sh="$ac_aux_dir/install-sh -c"
2118 elif test -f "$ac_dir/install.sh"; then
2120 ac_install_sh="$ac_aux_dir/install.sh -c"
2122 elif test -f "$ac_dir/shtool"; then
2124 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
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
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
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
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.
2188 rm -rf conftest.one conftest.two conftest.dir
2189 echo one > conftest.one
2190 echo two > conftest.two
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
2197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2210 rm -rf conftest.one conftest.two conftest.dir
2213 if test "${ac_cv_path_install+set}" = set; then
2214 INSTALL=$ac_cv_path_install
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
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2224 $as_echo "$INSTALL" >&6; }
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}'
2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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; }
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.
2244 *[\\\"\#\$\&\'\`$am_lf]*)
2245 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2248 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2249 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
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
2258 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2259 if test "$*" = "X"; then
2261 set X `ls -t "$srcdir/configure" conftest.file`
2264 if test "$*" != "X $srcdir/configure conftest.file" \
2265 && test "$*" != "X conftest.file $srcdir/configure"; then
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
2275 test "$2" = conftest.file
2281 as_fn_error $? "newly created file is older than distributed files!
2282 Check your system clock" "$LINENO" 5
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"`
2296 # expand $ac_aux_dir to an absolute path
2297 am_aux_dir=`cd $ac_aux_dir && pwd`
2299 if test x"${MISSING+set}" != xset; then
2302 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2304 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2307 # Use eval to expand $SHELL
2308 if eval "$MISSING --run true"; then
2309 am_missing_run="$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;}
2316 if test x"${install_sh}" != xset; then
2319 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2321 install_sh="\${SHELL} $am_aux_dir/install-sh"
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
2338 if test -n "$STRIP"; then
2339 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2369 if test -z "$ac_cv_prog_STRIP"; then
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
2378 if test -n "$ac_ct_STRIP"; then
2379 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2407 if test "x$ac_ct_STRIP" = x; then
2410 case $cross_compiling:$ac_tool_warned in
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 ;;
2419 STRIP="$ac_cv_prog_STRIP"
2423 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
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
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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
2453 test -d ./--version && rmdir ./--version
2454 if test "${ac_cv_path_mkdir+set}" = set; then
2455 MKDIR_P="$ac_cv_path_mkdir -p"
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"
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2465 $as_echo "$MKDIR_P" >&6; }
2469 [\\/$]* | ?:[\\/]*) ;;
2470 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2473 for ac_prog in gawk mawk nawk awk
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
2482 if test -n "$AWK"; then
2483 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2503 if test -n "$AWK"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2505 $as_echo "$AWK" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2512 test -n "$AWK" && break
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; }
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
2522 cat >conftest.make <<\_ACEOF
2525 @echo '@@@%%%=$(MAKE)=@@@%%%'
2527 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2528 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2530 eval ac_cv_prog_make_${ac_make}_set=yes;;
2532 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 $as_echo "no" >&6; }
2543 SET_MAKE="MAKE=${MAKE-make}"
2546 rm -rf .tst 2>/dev/null
2547 mkdir .tst 2>/dev/null
2548 if test -d .tst; then
2553 rmdir .tst 2>/dev/null
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
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'
2575 # Define the identity of the package.
2576 PACKAGE='Moonshot Firefox extension'
2580 cat >>confdefs.h <<_ACEOF
2581 #define PACKAGE "$PACKAGE"
2585 cat >>confdefs.h <<_ACEOF
2586 #define VERSION "$VERSION"
2589 # Some tools Automake needs.
2591 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2594 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2597 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2600 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2603 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2605 # We need awk for the "check" target. The system "awk" is bad on
2607 # Always define AMTAR for backward compatibility.
2609 AMTAR=${AMTAR-"${am_missing_run}tar"}
2611 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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
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
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
2636 if test -n "$CXX"; then
2637 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2657 if test -n "$CXX"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2659 $as_echo "$CXX" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2666 test -n "$CXX" && break
2669 if test -z "$CXX"; then
2671 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
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
2680 if test -n "$ac_ct_CXX"; then
2681 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2710 test -n "$ac_ct_CXX" && break
2713 if test "x$ac_ct_CXX" = x; then
2716 case $cross_compiling:$ac_tool_warned in
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 ;;
2728 # Provide some information about the compiler.
2729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2732 for ac_option in --version -v -V -qversion; do
2733 { { ac_try="$ac_compiler $ac_option >&5"
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
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
2742 if test -s conftest.err; then
2744 ... rest of stderr output deleted ...
2745 10q' conftest.err >conftest.er1
2746 cat conftest.er1 >&5
2748 rm -f conftest.er1 conftest.err
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; }
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
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
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[^ ]*//'`
2773 # The possible output files:
2774 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2777 for ac_file in $ac_files
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2781 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2786 if { { ac_try="$ac_link_default"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
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
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
2802 for ac_file in $ac_files ''
2804 test -f "$ac_file" || continue
2806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2809 # We found the default executable, but exeext='' is most
2813 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2827 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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 ; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2844 $as_echo "yes" >&6; }
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
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"
2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859 *) ac_try_echo=$ac_try;;
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
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
2871 for ac_file in conftest.exe conftest conftest.*; do
2872 test -f "$ac_file" || continue
2874 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2875 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 ; }
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; }
2890 rm -f conftest.$ac_ext
2891 EXEEXT=$ac_cv_exeext
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2899 FILE *f = fopen ("conftest.out", "w");
2900 return ferror (f) || fclose (f) != 0;
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"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
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
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;;
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
2932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933 test $ac_status = 0; }; }; then
2936 if test "$cross_compiling" = maybe; then
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 ; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2948 $as_echo "$cross_compiling" >&6; }
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
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 rm -f conftest.o conftest.obj
2969 if { { ac_try="$ac_compile"
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
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
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;
2983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2984 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2989 $as_echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
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 ; }
2997 rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3022 if ac_fn_cxx_try_compile "$LINENO"; then :
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
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
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
3045 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3046 ac_cxx_werror_flag=yes
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3060 if ac_fn_cxx_try_compile "$LINENO"; then :
3061 ac_cv_prog_cxx_g=yes
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 if ac_fn_cxx_try_compile "$LINENO"; then :
3078 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3091 if ac_fn_cxx_try_compile "$LINENO"; then :
3092 ac_cv_prog_cxx_g=yes
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
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
3112 if test "$GXX" = yes; then
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"
3125 ac_config_commands="$ac_config_commands depfiles"
3128 am_make=${MAKE-make}
3129 cat > confinc << 'END'
3131 @echo this is the am__doit target
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; }
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*)
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
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3164 $as_echo "$_am_result" >&6; }
3165 rm -f confinc confmf
3167 # Check whether --enable-dependency-tracking was given.
3168 if test "${enable_dependency_tracking+set}" = set; then :
3169 enableval=$enable_dependency_tracking;
3172 if test "x$enable_dependency_tracking" != xno; then
3173 am_depcomp="$ac_aux_dir/depcomp"
3176 if test "x$enable_dependency_tracking" != xno; then
3186 depcc="$CXX" am_compiler_list=
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
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
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
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
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`
3217 case " $depcc " in #(
3218 *\ -arch\ *\ -arch\ *) am__universal=true ;;
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.
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.
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
3236 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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"
3246 # This depmode causes a compiler race in universal mode.
3247 test "$am__universal" = false || continue
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
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}
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
3294 am_cv_CXX_dependencies_compiler_type=none
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
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='#'
3308 am__fastdepCXX_TRUE='#'
3309 am__fastdepCXX_FALSE=
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
3321 if test -n "$RANLIB"; then
3322 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
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
3361 if test -n "$ac_ct_RANLIB"; then
3362 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3390 if test "x$ac_ct_RANLIB" = x; then
3393 case $cross_compiling:$ac_tool_warned in
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 ;;
3399 RANLIB=$ac_ct_RANLIB
3402 RANLIB="$ac_cv_prog_RANLIB"
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
3423 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
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
3464 case $ac_pt_PKG_CONFIG in
3466 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3496 if test "x$ac_pt_PKG_CONFIG" = x; then
3499 case $cross_compiling:$ac_tool_warned in
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 ;;
3505 PKG_CONFIG=$ac_pt_PKG_CONFIG
3508 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
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; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XUL" >&5
3528 $as_echo_n "checking for XUL... " >&6; }
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
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`
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
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`
3565 if test $pkg_failed = yes; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3569 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3570 _pkg_short_errors_supported=yes
3572 _pkg_short_errors_supported=no
3574 if test $_pkg_short_errors_supported = yes; then
3575 XUL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul" 2>&1`
3577 XUL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul" 2>&1`
3579 # Put the nasty error message in config.log where it belongs
3580 echo "$XUL_PKG_ERRORS" >&5
3582 as_fn_error $? "Package requirements (libxul) were not met:
3586 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3587 installed software in a non-standard prefix.
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
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.
3605 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3606 See \`config.log' for more details" "$LINENO" 5 ; }
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; }
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`
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
3629 ac_cv_path_XPIDL="$XPIDL" # Let the user override the test with a path.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $MOZ_SDKDIR/bin$PATH_SEPARATOR$PATH
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
3647 test -z "$ac_cv_path_XPIDL" && ac_cv_path_XPIDL="false"
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; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3661 if $XPIDL = "false" ;then
3662 as_fn_error $? "Couldn't find xpidl" "$LINENO" 5
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
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC="$CC" # Let the user override the test.
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3709 if test -z "$ac_cv_prog_CC"; then
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
3718 if test -n "$ac_ct_CC"; then
3719 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3747 if test "x$ac_ct_CC" = x; then
3750 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3771 if test -n "$CC"; then
3772 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3792 if test -n "$CC"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794 $as_echo "$CC" >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
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
3811 if test -n "$CC"; then
3812 ac_cv_prog_CC="$CC" # Let the user override the test.
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
3843 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3859 if test -z "$CC"; then
3860 if test -n "$ac_tool_prefix"; then
3861 for ac_prog in cl.exe
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
3870 if test -n "$CC"; then
3871 ac_cv_prog_CC="$CC" # Let the user override the test.
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3891 if test -n "$CC"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3893 $as_echo "$CC" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 test -n "$CC" && break
3903 if test -z "$CC"; then
3905 for ac_prog in cl.exe
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
3914 if test -n "$ac_ct_CC"; then
3915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$ac_ct_CC" && break
3947 if test "x$ac_ct_CC" = x; then
3950 case $cross_compiling:$ac_tool_warned in
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 ;;
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 ; }
3968 # Provide some information about the compiler.
3969 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3972 for ac_option in --version -v -V -qversion; do
3973 { { ac_try="$ac_compiler $ac_option >&5"
3975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976 *) ac_try_echo=$ac_try;;
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
3982 if test -s conftest.err; then
3984 ... rest of stderr output deleted ...
3985 10q' conftest.err >conftest.er1
3986 cat conftest.er1 >&5
3988 rm -f conftest.er1 conftest.err
3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 test $ac_status = 0; }
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
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4012 if ac_fn_c_try_compile "$LINENO"; then :
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
4035 ac_save_c_werror_flag=$ac_c_werror_flag
4036 ac_c_werror_flag=yes
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4050 if ac_fn_c_try_compile "$LINENO"; then :
4054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4065 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_c_werror_flag=$ac_save_c_werror_flag
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_compile "$LINENO"; then :
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 ac_c_werror_flag=$ac_save_c_werror_flag
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
4102 if test "$GCC" = yes; then
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
4113 ac_cv_prog_cc_c89=no
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.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)
4130 static char *f (char * (*g) (char **, int), char **p, ...)
4135 s = g (p, va_arg (v,int));
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];
4149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4150 inside strings and character constants. */
4152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
4163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4171 CC="$ac_save_CC $ac_arg"
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_cv_prog_cc_c89=$ac_arg
4175 rm -f core conftest.err conftest.$ac_objext
4176 test "x$ac_cv_prog_cc_c89" != "xno" && break
4178 rm -f conftest.$ac_ext
4183 case "x$ac_cv_prog_cc_c89" in
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4186 $as_echo "none needed" >&6; } ;;
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4189 $as_echo "unsupported" >&6; } ;;
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; } ;;
4195 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
4205 depcc="$CC" am_compiler_list=
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
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
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
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
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`
4236 case " $depcc " in #(
4237 *\ -arch\ *\ -arch\ *) am__universal=true ;;
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.
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.
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
4255 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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"
4265 # This depmode causes a compiler race in universal mode.
4266 test "$am__universal" = false || continue
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
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}
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
4313 am_cv_CC_dependencies_compiler_type=none
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
4322 test "x$enable_dependency_tracking" != xno \
4323 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4325 am__fastdepCC_FALSE='#'
4327 am__fastdepCC_TRUE='#'
4328 am__fastdepCC_FALSE=
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
4338 ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-lgssapi_krb5 $LIBS"
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
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. */
4349 char gss_init_sec_context ();
4353 return gss_init_sec_context ();
4358 if ac_fn_c_try_link "$LINENO"; then :
4359 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
4361 ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
4363 rm -f core conftest.err conftest.$ac_objext \
4364 conftest$ac_exeext conftest.$ac_ext
4365 LIBS=$ac_check_lib_save_LIBS
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
4374 LIBS="-lgssapi_krb5 $LIBS"
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
4390 if test -z "$CPP"; then
4391 if test "${ac_cv_prog_CPP+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 # Double quotes because CPP needs to be expanded
4395 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4398 for ac_c_preproc_warn_flag in '' yes
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. */
4409 # include <limits.h>
4411 # include <assert.h>
4415 if ac_fn_c_try_cpp "$LINENO"; then :
4418 # Broken: fails on valid input.
4421 rm -f conftest.err conftest.i conftest.$ac_ext
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>
4429 if ac_fn_c_try_cpp "$LINENO"; then :
4430 # Broken: success on invalid input.
4433 # Passes both tests.
4437 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4455 $as_echo "$CPP" >&6; }
4457 for ac_c_preproc_warn_flag in '' yes
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. */
4468 # include <limits.h>
4470 # include <assert.h>
4474 if ac_fn_c_try_cpp "$LINENO"; then :
4477 # Broken: fails on valid input.
4480 rm -f conftest.err conftest.i conftest.$ac_ext
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>
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4489 # Broken: success on invalid input.
4492 # Passes both tests.
4496 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
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 ; }
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
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
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
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
4538 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4541 $as_echo_n 0123456789 >"conftest.in"
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
4556 # 10*(2^10) chars as input seems more than enough
4557 test $ac_count -gt 10 && break
4559 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4562 $ac_path_GREP_found && break 3
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
4571 ac_cv_path_GREP=$GREP
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"
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
4585 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4586 then ac_cv_path_EGREP="$GREP -E"
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
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
4604 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4607 $as_echo_n 0123456789 >"conftest.in"
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
4622 # 10*(2^10) chars as input seems more than enough
4623 test $ac_count -gt 10 && break
4625 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4628 $ac_path_EGREP_found && break 3
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
4637 ac_cv_path_EGREP=$EGREP
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"
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
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 ac_cv_header_stdc=yes
4670 ac_cv_header_stdc=no
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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. */
4681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4682 $EGREP "memchr" >/dev/null 2>&1; then :
4685 ac_cv_header_stdc=no
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. */
4698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4699 $EGREP "free" >/dev/null 2>&1; then :
4702 ac_cv_header_stdc=no
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 :
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4717 #if ((' ' & 0x0FF) == 0x020)
4718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4733 for (i = 0; i < 256; i++)
4734 if (XOR (islower (i), ISLOWER (i))
4735 || toupper (i) != TOUPPER (i))
4740 if ac_fn_c_try_run "$LINENO"; then :
4743 ac_cv_header_stdc=no
4745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4746 conftest.$ac_objext conftest.beam conftest.$ac_ext
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
4755 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
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
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
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
4776 for ac_header in gssapi.h gssapi_ext.h
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
4789 ac_config_files="$ac_config_files Makefile"
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.
4798 # config.status only pays attention to the cache file if you give it
4799 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
4822 _ | IFS | as_nl) ;; #(
4823 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4824 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
4836 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4839 # `set' quotes correctly as required by POSIX, so do not add quotes.
4840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4849 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4851 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
4866 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4867 # Let make expand exec_prefix.
4868 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4870 # Transform confdefs.h into DEFS.
4871 # Protect against shell expansion while executing Makefile rules.
4872 # Protect against Makefile macro expansion.
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.
4886 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4888 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4892 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4905 DEFS=`sed -n "$ac_script" confdefs.h`
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'
4922 LTLIBOBJS=$ac_ltlibobjs
4925 if test -n "$EXEEXT"; then
4927 am__EXEEXT_FALSE='#'
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
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
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
4946 : ${CONFIG_STATUS=./config.status}
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;}
4953 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
4964 SHELL=\${CONFIG_SHELL-$SHELL}
4967 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4968 ## -------------------- ##
4969 ## M4sh Initialization. ##
4970 ## -------------------- ##
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 :
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
4982 case `(set -o) 2>/dev/null` in #(
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'
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'
5012 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5013 as_echo_n_body='eval
5017 expr "X$arg" : "X\\(.*\\)$as_nl";
5018 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5020 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5022 export as_echo_n_body
5023 as_echo_n='sh -c $as_echo_n_body as_echo'
5026 as_echo='sh -c $as_echo_body as_echo'
5029 # The user is always right.
5030 if test "${PATH_SEPARATOR+set}" != set; then
5032 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5033 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
5046 # Find who we are. Look in the path if we contain no directory separator.
5048 *[\\/]* ) as_myself=$0 ;;
5049 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir=.
5054 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
5065 if test ! -f "$as_myself"; then
5066 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
5089 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
5099 as_status=$1; test $as_status -eq 0 && as_status=1
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
5104 $as_echo "$as_me: error: $2" >&2
5105 as_fn_exit $as_status
5109 # as_fn_set_status STATUS
5110 # -----------------------
5111 # Set $? to STATUS, without forking.
5115 } # as_fn_set_status
5119 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5129 # Portably unset VAR.
5132 { eval $1=; unset $1;}
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
5141 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5142 eval 'as_fn_append ()
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 ()
5166 as_val=`expr "$@" || test $? -eq 1`
5171 if expr a : '\(a\)' >/dev/null 2>&1 &&
5172 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5178 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5179 as_basename=basename
5184 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5190 as_me=`$as_basename -- "$0" ||
5191 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5192 X"$0" : 'X\(//\)$' \| \
5193 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5195 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
5216 ECHO_C= ECHO_N= ECHO_T=
5217 case `echo -n x` in #(((((
5219 case `echo 'xy\c'` in
5220 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5222 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5229 rm -f conf$$ conf$$.exe conf$$.file
5230 if test -d conf$$.dir; then
5231 rm -f conf$$.dir/conf$$.file
5234 mkdir conf$$.dir 2>/dev/null
5236 if (echo >conf$$.file) 2>/dev/null; then
5237 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
5245 elif ln conf$$.file conf$$ 2>/dev/null; then
5253 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5254 rmdir conf$$.dir 2>/dev/null
5259 # Create "$as_dir" as a directory, including parents if necessary.
5264 -*) as_dir=./$as_dir;;
5266 test -d "$as_dir" || eval $as_mkdir_p || {
5270 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5271 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5297 test -d "$as_dir" && break
5299 test -z "$as_dirs" || eval "mkdir $as_dirs"
5300 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5304 if mkdir -p . 2>/dev/null; then
5305 as_mkdir_p='mkdir -p "$as_dir"'
5307 test -d ./-p && rmdir ./-p
5311 if test -x / >/dev/null 2>&1; then
5314 if ls -dL / >/dev/null 2>&1; then
5321 if test -d "$1"; then
5327 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5328 ???[sx]*):;;*)false;;esac;fi
5332 as_executable_p=$as_test_x
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'"
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'"
5342 ## ----------------------------------- ##
5343 ## Main body of $CONFIG_STATUS script. ##
5344 ## ----------------------------------- ##
5346 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
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
5356 CONFIG_FILES = $CONFIG_FILES
5357 CONFIG_HEADERS = $CONFIG_HEADERS
5358 CONFIG_LINKS = $CONFIG_LINKS
5359 CONFIG_COMMANDS = $CONFIG_COMMANDS
5362 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5367 case $ac_config_files in *"
5368 "*) set x $ac_config_files; shift; ac_config_files=$*;;
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"
5380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
5386 Usage: $0 [OPTION]... [TAG]...
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
5398 Configuration files:
5401 Configuration commands:
5404 Report bugs to <bugs@project-moonshot.org>."
5407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5408 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5410 firefox-moonshot config.status 0.0.1
5411 configured by $0, generated by GNU Autoconf 2.67,
5412 with options \\"\$ac_cs_config\\"
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."
5423 test -n "\$AWK" || AWK=awk
5426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5427 # The default lists apply if the user does not specify any file.
5433 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5434 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5438 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5450 # Handling of the options.
5451 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
5459 --file | --fil | --fi | --f )
5462 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5463 '') as_fn_error $? "missing file argument" ;;
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)
5474 -*) as_fn_error $? "unrecognized option: \`$1'
5475 Try \`$0 --help' for more information." ;;
5477 *) as_fn_append ac_config_targets " $1"
5478 ac_need_defaults=false ;;
5484 ac_configure_extra_args=
5486 if $ac_cs_silent; then
5488 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
5496 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5497 CONFIG_SHELL='$SHELL'
5503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5508 ## Running $as_me. ##
5514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5518 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5524 # Handling of arguments.
5525 for ac_config_target in $ac_config_targets
5527 case $ac_config_target in
5528 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5529 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5531 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
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
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'.
5554 trap 'exit_status=$?
5555 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5557 trap 'as_fn_exit 1' 1 2 13 15
5559 # Create a (secure) tmp directory for tmp files.
5562 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5563 test -n "$tmp" && test -d "$tmp"
5566 tmp=./conf$$-$RANDOM
5567 (umask 077 && mkdir "$tmp")
5568 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
5590 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5595 echo "cat >conf$$subs.awk <<_ACEOF" &&
5596 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5600 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
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
5609 elif $ac_last_try; then
5610 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5612 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5622 s/^/S["/; s/!.*/"]=/
5632 s/\(.\{148\}\)..*/\1/
5634 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5639 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5646 s/\(.\{148\}\)..*/\1/
5648 s/["\\]/\\&/g; s/^/"/; s/$/"/
5652 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5657 ' <conf$$subs.awk | sed '
5662 ' >>$CONFIG_STATUS || ac_write_fail=1
5663 rm -f conf$$subs.awk
5664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5666 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5667 for (key in S) S_is_set[key] = 1
5673 nfields = split(line, field, "@")
5675 len = length(field[1])
5676 for (i = 2; i < nfields; i++) {
5678 keylen = length(key)
5679 if (S_is_set[key]) {
5681 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5682 len += length(value) + length(field[++i])
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"
5698 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5699 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
5725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5726 fi # test -n "$CONFIG_FILES"
5729 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5734 :[FHLC]) ac_mode=$ac_tag; continue;;
5736 case $ac_mode$ac_tag in
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;;
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 `:'.
5764 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5766 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5768 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5769 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
5792 *:-:* | *:-) cat >"$tmp/stdin" \
5793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5821 as_dir="$ac_dir"; as_fn_mkdir_p
5825 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
5841 .) # We are building in place.
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 ;;
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 ;;
5854 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5864 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5865 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5869 [\\/$]* | ?:[\\/]* ) ;;
5870 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
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=
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;}
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' ;;
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
5912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
5942 -) cat "$tmp/out" && rm -f "$tmp/out";;
5943 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5949 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5950 $as_echo "$as_me: executing $ac_file commands" >&6;}
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 ;;
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 ||
5983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
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
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 ||
6027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6044 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6045 # echo "creating $dirpart/$file"
6046 echo '# dummy' > "$dirpart/$file"
6058 ac_clean_files=$ac_clean_files_save
6060 test $ac_write_fail = 0 ||
6061 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
6074 ac_config_status_args=
6075 test "$silent" = yes &&
6076 ac_config_status_args="$ac_config_status_args --quiet"
6078 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}