1 --- configure 1970-01-01 01:00:00.000000000 +0100
2 +++ configure 2009-08-21 15:45:07.000000000 +0200
5 +# Guess values for system-dependent variables and create Makefiles.
6 +# Generated by GNU Autoconf 2.64 for nss 3.12.
8 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
12 +# This configure script is free software; the Free Software Foundation
13 +# gives unlimited permission to copy, distribute and modify it.
14 +## -------------------- ##
15 +## M4sh Initialization. ##
16 +## -------------------- ##
18 +# Be more Bourne compatible
19 +DUALCASE=1; export DUALCASE # for MKS sh
20 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 + # is contrary to our usage. Disable this feature.
25 + alias -g '${1+"$@"}'='"$@"'
26 + setopt NO_GLOB_SUBST
28 + case `(set -o) 2>/dev/null` in #(
40 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
41 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 +# Prefer a ksh shell builtin over an external printf program on Solaris,
45 +# but without wasting forks for bash or zsh.
46 +if test -z "$BASH_VERSION$ZSH_VERSION" \
47 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 + as_echo='print -r --'
49 + as_echo_n='print -rn --'
50 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 + as_echo='printf %s\n'
52 + as_echo_n='printf %s'
54 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 + as_echo_n='/usr/ucb/echo -n'
58 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 + as_echo_n_body='eval
63 + expr "X$arg" : "X\\(.*\\)$as_nl";
64 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 + export as_echo_n_body
69 + as_echo_n='sh -c $as_echo_n_body as_echo'
72 + as_echo='sh -c $as_echo_body as_echo'
75 +# The user is always right.
76 +if test "${PATH_SEPARATOR+set}" != set; then
78 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 +# We need space, tab and new line, in precisely that order. Quoting is
87 +# there to prevent editors from complaining about space-tab.
88 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 +# splitting by setting IFS to empty value.)
92 +# Find who we are. Look in the path if we contain no directory separator.
94 + *[\\/]* ) as_myself=$0 ;;
95 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 + test -z "$as_dir" && as_dir=.
100 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 +# We did not find ourselves, most probably we were run as `sh COMMAND'
107 +# in which case we are not to be found in the path.
108 +if test "x$as_myself" = x; then
111 +if test ! -f "$as_myself"; then
112 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 +# Unset variables that we do not need and which cause bugs (e.g. in
117 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 +# suppresses any "Segmentation fault" message there. '((' could
119 +# trigger a bug in pdksh 5.2.14.
120 +for as_var in BASH_ENV ENV MAIL MAILPATH
121 +do eval test x\${$as_var+set} = xset \
122 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 +if test "x$CONFIG_SHELL" = x; then
138 + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 + # is contrary to our usage. Disable this feature.
143 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 + setopt NO_GLOB_SUBST
146 + case \`(set -o) 2>/dev/null\` in #(
154 + as_required="as_fn_return () { (exit \$1); }
155 +as_fn_success () { as_fn_return 0; }
156 +as_fn_failure () { as_fn_return 1; }
157 +as_fn_ret_success () { return 0; }
158 +as_fn_ret_failure () { return 1; }
161 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 + exitcode=1; echo positional parameters were not saved.
170 +test x\$exitcode = x0 || exit 1"
171 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 +test \$(( 1 + 1 )) = 2 || exit 1"
176 + if (eval "$as_required") 2>/dev/null; then :
177 + as_have_required=yes
179 + as_have_required=no
181 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 + test -z "$as_dir" && as_dir=.
193 + for as_base in sh bash ksh sh5; do
194 + # Try only shells that exist, to save several forks.
195 + as_shell=$as_dir/$as_base
196 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 + CONFIG_SHELL=$as_shell as_have_required=yes
199 + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 + CONFIG_SHELL=$SHELL as_have_required=yes
214 + if test "x$CONFIG_SHELL" != x; then :
215 + # We cannot yet assume a decent shell, so we have to provide a
216 + # neutralization value for shells without unset; and this also
217 + # works around shells that cannot unset nonexistent variables.
220 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 + export CONFIG_SHELL
222 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 + if test x$as_have_required = xno; then :
226 + $as_echo "$0: This script requires a shell more modern than all"
227 + $as_echo "$0: the shells that I found on your system."
228 + if test x${ZSH_VERSION+set} = xset ; then
229 + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
233 +$0: including any error possibly output before this
234 +$0: message. Then install a modern shell, or manually run
235 +$0: the script under such a shell if you do have one."
241 +SHELL=${CONFIG_SHELL-/bin/sh}
243 +# Unset more variables known to interfere with behavior of common tools.
244 +CLICOLOR_FORCE= GREP_OPTIONS=
245 +unset CLICOLOR_FORCE GREP_OPTIONS
247 +## --------------------- ##
248 +## M4sh Shell Functions. ##
249 +## --------------------- ##
252 +# Portably unset VAR.
255 + { eval $1=; unset $1;}
257 +as_unset=as_fn_unset
259 +# as_fn_set_status STATUS
260 +# -----------------------
261 +# Set $? to STATUS, without forking.
265 +} # as_fn_set_status
269 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 + as_fn_set_status $1
279 +# Create "$as_dir" as a directory, including parents if necessary.
284 + -*) as_dir=./$as_dir;;
286 + test -d "$as_dir" || eval $as_mkdir_p || {
290 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 + *) as_qdir=$as_dir;;
293 + as_dirs="'$as_qdir' $as_dirs"
294 + as_dir=`$as_dirname -- "$as_dir" ||
295 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 + X"$as_dir" : 'X\(//\)[^/]' \| \
297 + X"$as_dir" : 'X\(//\)$' \| \
298 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 +$as_echo X"$as_dir" |
300 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 + /^X\(\/\/\)[^/].*/{
317 + test -d "$as_dir" && break
319 + test -z "$as_dirs" || eval "mkdir $as_dirs"
320 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324 +# as_fn_append VAR VALUE
325 +# ----------------------
326 +# Append the text in VALUE to the end of the definition contained in VAR. Take
327 +# advantage of any shell optimizations that allow amortized linear growth over
328 +# repeated appends, instead of the typical quadratic growth present in naive
330 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 + eval 'as_fn_append ()
342 +# as_fn_arith ARG...
343 +# ------------------
344 +# Perform arithmetic evaluation on the ARGs, and store the result in the
345 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
346 +# must be portable across $(()) and expr.
347 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
348 + eval 'as_fn_arith ()
355 + as_val=`expr "$@" || test $? -eq 1`
360 +# as_fn_error ERROR [LINENO LOG_FD]
361 +# ---------------------------------
362 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 +# script with status $?, using 1 if that was 0.
367 + as_status=$?; test $as_status -eq 0 && as_status=1
369 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 + $as_echo "$as_me: error: $1" >&2
373 + as_fn_exit $as_status
376 +if expr a : '\(a\)' >/dev/null 2>&1 &&
377 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384 + as_basename=basename
389 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 +as_me=`$as_basename -- "$0" ||
396 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 + X"$0" : 'X\(//\)$' \| \
398 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 + sed '/^.*\/\([^/][^/]*\)\/*$/{
414 +# Avoid depending upon Character Ranges.
415 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 +as_cr_digits='0123456789'
419 +as_cr_alnum=$as_cr_Letters$as_cr_digits
422 + as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 + as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 + ' >$as_me.lineno &&
442 + chmod +x "$as_me.lineno" ||
443 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445 + # Don't try to exec as it changes $[0], causing all sort of problems
446 + # (the dirname of $[0] is not the place where we might find the
447 + # original and so on. Autoconf is especially sensitive to this).
448 + . "./$as_me.lineno"
449 + # Exit status is that of the last command.
453 +ECHO_C= ECHO_N= ECHO_T=
454 +case `echo -n x` in #(((((
456 + case `echo 'xy\c'` in
457 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
459 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 +rm -f conf$$ conf$$.exe conf$$.file
467 +if test -d conf$$.dir; then
468 + rm -f conf$$.dir/conf$$.file
471 + mkdir conf$$.dir 2>/dev/null
473 +if (echo >conf$$.file) 2>/dev/null; then
474 + if ln -s conf$$.file conf$$ 2>/dev/null; then
476 + # ... but there are two gotchas:
477 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 + # In both cases, we have to default to `cp -p'.
480 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482 + elif ln conf$$.file conf$$ 2>/dev/null; then
490 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 +rmdir conf$$.dir 2>/dev/null
493 +if mkdir -p . 2>/dev/null; then
494 + as_mkdir_p='mkdir -p "$as_dir"'
496 + test -d ./-p && rmdir ./-p
500 +if test -x / >/dev/null 2>&1; then
501 + as_test_x='test -x'
503 + if ls -dL / >/dev/null 2>&1; then
510 + if test -d "$1"; then
516 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 + ???[sx]*):;;*)false;;esac;fi
521 +as_executable_p=$as_test_x
523 +# Sed expression to map a string onto a valid CPP name.
524 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 +# Sed expression to map a string onto a valid variable name.
527 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 +exec 7<&0 </dev/null 6>&1
533 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 +# so uname gets run too.
535 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 +ac_default_prefix=/usr/local
542 +ac_config_libobj_dir=.
549 +# Identity of this package.
551 +PACKAGE_TARNAME='nss'
552 +PACKAGE_VERSION='3.12'
553 +PACKAGE_STRING='nss 3.12'
554 +PACKAGE_BUGREPORT=''
557 +ac_unique_file="mozilla/security/nss/Makefile"
558 +# Factoring default headers for most tests.
559 +ac_includes_default="\
561 +#ifdef HAVE_SYS_TYPES_H
562 +# include <sys/types.h>
564 +#ifdef HAVE_SYS_STAT_H
565 +# include <sys/stat.h>
568 +# include <stdlib.h>
569 +# include <stddef.h>
571 +# ifdef HAVE_STDLIB_H
572 +# include <stdlib.h>
575 +#ifdef HAVE_STRING_H
576 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 +# include <memory.h>
579 +# include <string.h>
581 +#ifdef HAVE_STRINGS_H
582 +# include <strings.h>
584 +#ifdef HAVE_INTTYPES_H
585 +# include <inttypes.h>
587 +#ifdef HAVE_STDINT_H
588 +# include <stdint.h>
590 +#ifdef HAVE_UNISTD_H
591 +# include <unistd.h>
594 +ac_subst_vars='LTLIBOBJS
636 +program_transform_name
649 +enable_option_checking
651 + ac_precious_vars='build_alias
662 +# Initialize some variables set by options.
664 +ac_init_version=false
665 +ac_unrecognized_opts=
666 +ac_unrecognized_sep=
667 +# The variables have the same names as the options, with
668 +# dashes changed to underlines.
669 +cache_file=/dev/null
676 +program_transform_name=s,x,x,
684 +# Installation directory options.
685 +# These are left unexpanded so users can "make install exec_prefix=/foo"
686 +# and all the variables that are supposed to be based on exec_prefix
687 +# by default will actually change.
688 +# Use braces instead of parens because sh, perl, etc. also accept them.
689 +# (The list follows the same order as the GNU Coding Standards.)
690 +bindir='${exec_prefix}/bin'
691 +sbindir='${exec_prefix}/sbin'
692 +libexecdir='${exec_prefix}/libexec'
693 +datarootdir='${prefix}/share'
694 +datadir='${datarootdir}'
695 +sysconfdir='${prefix}/etc'
696 +sharedstatedir='${prefix}/com'
697 +localstatedir='${prefix}/var'
698 +includedir='${prefix}/include'
699 +oldincludedir='/usr/include'
700 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 +infodir='${datarootdir}/info'
706 +libdir='${exec_prefix}/lib'
707 +localedir='${datarootdir}/locale'
708 +mandir='${datarootdir}/man'
714 + # If the previous option needs an argument, assign it.
715 + if test -n "$ac_prev"; then
716 + eval $ac_prev=\$ac_option
722 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 + *) ac_optarg=yes ;;
726 + # Accept the important Cygnus configure options, so we can diagnose typos.
728 + case $ac_dashdash$ac_option in
732 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
734 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 + bindir=$ac_optarg ;;
737 + -build | --build | --buil | --bui | --bu)
738 + ac_prev=build_alias ;;
739 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
740 + build_alias=$ac_optarg ;;
742 + -cache-file | --cache-file | --cache-fil | --cache-fi \
743 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744 + ac_prev=cache_file ;;
745 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747 + cache_file=$ac_optarg ;;
749 + --config-cache | -C)
750 + cache_file=config.cache ;;
752 + -datadir | --datadir | --datadi | --datad)
754 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
755 + datadir=$ac_optarg ;;
757 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758 + | --dataroo | --dataro | --datar)
759 + ac_prev=datarootdir ;;
760 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762 + datarootdir=$ac_optarg ;;
764 + -disable-* | --disable-*)
765 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 + # Reject names that are not valid shell variable names.
767 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
768 + as_fn_error "invalid feature name: $ac_useropt"
769 + ac_useropt_orig=$ac_useropt
770 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
771 + case $ac_user_opts in
773 +"enable_$ac_useropt"
775 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
776 + ac_unrecognized_sep=', ';;
778 + eval enable_$ac_useropt=no ;;
780 + -docdir | --docdir | --docdi | --doc | --do)
782 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 + docdir=$ac_optarg ;;
785 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
787 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 + dvidir=$ac_optarg ;;
790 + -enable-* | --enable-*)
791 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 + # Reject names that are not valid shell variable names.
793 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
794 + as_fn_error "invalid feature name: $ac_useropt"
795 + ac_useropt_orig=$ac_useropt
796 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 + case $ac_user_opts in
799 +"enable_$ac_useropt"
801 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
802 + ac_unrecognized_sep=', ';;
804 + eval enable_$ac_useropt=\$ac_optarg ;;
806 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
807 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
808 + | --exec | --exe | --ex)
809 + ac_prev=exec_prefix ;;
810 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
811 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
812 + | --exec=* | --exe=* | --ex=*)
813 + exec_prefix=$ac_optarg ;;
815 + -gas | --gas | --ga | --g)
816 + # Obsolete; use --with-gas.
819 + -help | --help | --hel | --he | -h)
820 + ac_init_help=long ;;
821 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
822 + ac_init_help=recursive ;;
823 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
824 + ac_init_help=short ;;
826 + -host | --host | --hos | --ho)
827 + ac_prev=host_alias ;;
828 + -host=* | --host=* | --hos=* | --ho=*)
829 + host_alias=$ac_optarg ;;
831 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
833 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
835 + htmldir=$ac_optarg ;;
837 + -includedir | --includedir | --includedi | --included | --include \
838 + | --includ | --inclu | --incl | --inc)
839 + ac_prev=includedir ;;
840 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
841 + | --includ=* | --inclu=* | --incl=* | --inc=*)
842 + includedir=$ac_optarg ;;
844 + -infodir | --infodir | --infodi | --infod | --info | --inf)
846 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
847 + infodir=$ac_optarg ;;
849 + -libdir | --libdir | --libdi | --libd)
851 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
852 + libdir=$ac_optarg ;;
854 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
855 + | --libexe | --libex | --libe)
856 + ac_prev=libexecdir ;;
857 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
858 + | --libexe=* | --libex=* | --libe=*)
859 + libexecdir=$ac_optarg ;;
861 + -localedir | --localedir | --localedi | --localed | --locale)
862 + ac_prev=localedir ;;
863 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
864 + localedir=$ac_optarg ;;
866 + -localstatedir | --localstatedir | --localstatedi | --localstated \
867 + | --localstate | --localstat | --localsta | --localst | --locals)
868 + ac_prev=localstatedir ;;
869 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
870 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
871 + localstatedir=$ac_optarg ;;
873 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
875 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876 + mandir=$ac_optarg ;;
878 + -nfp | --nfp | --nf)
879 + # Obsolete; use --without-fp.
882 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
883 + | --no-cr | --no-c | -n)
886 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
887 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
888 + no_recursion=yes ;;
890 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
891 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
892 + | --oldin | --oldi | --old | --ol | --o)
893 + ac_prev=oldincludedir ;;
894 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
895 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
896 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
897 + oldincludedir=$ac_optarg ;;
899 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
901 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
902 + prefix=$ac_optarg ;;
904 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
905 + | --program-pre | --program-pr | --program-p)
906 + ac_prev=program_prefix ;;
907 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
908 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
909 + program_prefix=$ac_optarg ;;
911 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
912 + | --program-suf | --program-su | --program-s)
913 + ac_prev=program_suffix ;;
914 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
915 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
916 + program_suffix=$ac_optarg ;;
918 + -program-transform-name | --program-transform-name \
919 + | --program-transform-nam | --program-transform-na \
920 + | --program-transform-n | --program-transform- \
921 + | --program-transform | --program-transfor \
922 + | --program-transfo | --program-transf \
923 + | --program-trans | --program-tran \
924 + | --progr-tra | --program-tr | --program-t)
925 + ac_prev=program_transform_name ;;
926 + -program-transform-name=* | --program-transform-name=* \
927 + | --program-transform-nam=* | --program-transform-na=* \
928 + | --program-transform-n=* | --program-transform-=* \
929 + | --program-transform=* | --program-transfor=* \
930 + | --program-transfo=* | --program-transf=* \
931 + | --program-trans=* | --program-tran=* \
932 + | --progr-tra=* | --program-tr=* | --program-t=*)
933 + program_transform_name=$ac_optarg ;;
935 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
937 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 + pdfdir=$ac_optarg ;;
940 + -psdir | --psdir | --psdi | --psd | --ps)
942 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 + psdir=$ac_optarg ;;
945 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
946 + | -silent | --silent | --silen | --sile | --sil)
949 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
951 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
952 + | --sbi=* | --sb=*)
953 + sbindir=$ac_optarg ;;
955 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
956 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
957 + | --sharedst | --shareds | --shared | --share | --shar \
959 + ac_prev=sharedstatedir ;;
960 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
961 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
962 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
963 + | --sha=* | --sh=*)
964 + sharedstatedir=$ac_optarg ;;
966 + -site | --site | --sit)
968 + -site=* | --site=* | --sit=*)
971 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
973 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
974 + srcdir=$ac_optarg ;;
976 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
977 + | --syscon | --sysco | --sysc | --sys | --sy)
978 + ac_prev=sysconfdir ;;
979 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
980 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
981 + sysconfdir=$ac_optarg ;;
983 + -target | --target | --targe | --targ | --tar | --ta | --t)
984 + ac_prev=target_alias ;;
985 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
986 + target_alias=$ac_optarg ;;
988 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
991 + -version | --version | --versio | --versi | --vers | -V)
992 + ac_init_version=: ;;
994 + -with-* | --with-*)
995 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
996 + # Reject names that are not valid shell variable names.
997 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 + as_fn_error "invalid package name: $ac_useropt"
999 + ac_useropt_orig=$ac_useropt
1000 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 + case $ac_user_opts in
1005 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1006 + ac_unrecognized_sep=', ';;
1008 + eval with_$ac_useropt=\$ac_optarg ;;
1010 + -without-* | --without-*)
1011 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1012 + # Reject names that are not valid shell variable names.
1013 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1014 + as_fn_error "invalid package name: $ac_useropt"
1015 + ac_useropt_orig=$ac_useropt
1016 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 + case $ac_user_opts in
1021 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1022 + ac_unrecognized_sep=', ';;
1024 + eval with_$ac_useropt=no ;;
1027 + # Obsolete; use --with-x.
1030 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1031 + | --x-incl | --x-inc | --x-in | --x-i)
1032 + ac_prev=x_includes ;;
1033 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1034 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1035 + x_includes=$ac_optarg ;;
1037 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
1038 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1039 + ac_prev=x_libraries ;;
1040 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1041 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1042 + x_libraries=$ac_optarg ;;
1044 + -*) as_fn_error "unrecognized option: \`$ac_option'
1045 +Try \`$0 --help' for more information."
1049 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1050 + # Reject names that are not valid shell variable names.
1051 + case $ac_envvar in #(
1052 + '' | [0-9]* | *[!_$as_cr_alnum]* )
1053 + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1055 + eval $ac_envvar=\$ac_optarg
1056 + export $ac_envvar ;;
1059 + # FIXME: should be removed in autoconf 3.0.
1060 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1061 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1063 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1069 +if test -n "$ac_prev"; then
1070 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1071 + as_fn_error "missing argument to $ac_option"
1074 +if test -n "$ac_unrecognized_opts"; then
1075 + case $enable_option_checking in
1077 + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1078 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1082 +# Check all directory arguments for consistency.
1083 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084 + datadir sysconfdir sharedstatedir localstatedir includedir \
1085 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086 + libdir localedir mandir
1088 + eval ac_val=\$$ac_var
1089 + # Remove trailing slashes.
1092 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1093 + eval $ac_var=\$ac_val;;
1095 + # Be sure to have absolute directory names.
1097 + [\\/$]* | ?:[\\/]* ) continue;;
1098 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1100 + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1103 +# There might be people who depend on the old broken behavior: `$host'
1104 +# used to hold the argument of --host etc.
1105 +# FIXME: To remove some day.
1108 +target=$target_alias
1110 +# FIXME: To remove some day.
1111 +if test "x$host_alias" != x; then
1112 + if test "x$build_alias" = x; then
1113 + cross_compiling=maybe
1114 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1115 + If a cross compiler is detected then cross compile mode will be used." >&2
1116 + elif test "x$build_alias" != "x$host_alias"; then
1117 + cross_compiling=yes
1122 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
1124 +test "$silent" = yes && exec 6>/dev/null
1127 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1128 +ac_ls_di=`ls -di .` &&
1129 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1130 + as_fn_error "working directory cannot be determined"
1131 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1132 + as_fn_error "pwd does not report name of working directory"
1135 +# Find the source files, if location was not specified.
1136 +if test -z "$srcdir"; then
1137 + ac_srcdir_defaulted=yes
1138 + # Try the directory containing this script, then the parent directory.
1139 + ac_confdir=`$as_dirname -- "$as_myself" ||
1140 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1141 + X"$as_myself" : 'X\(//\)[^/]' \| \
1142 + X"$as_myself" : 'X\(//\)$' \| \
1143 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1144 +$as_echo X"$as_myself" |
1145 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1149 + /^X\(\/\/\)[^/].*/{
1162 + srcdir=$ac_confdir
1163 + if test ! -r "$srcdir/$ac_unique_file"; then
1167 + ac_srcdir_defaulted=no
1169 +if test ! -r "$srcdir/$ac_unique_file"; then
1170 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1171 + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1173 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1175 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1177 +# When building in place, set srcdir=.
1178 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1181 +# Remove unnecessary trailing slashes from srcdir.
1182 +# Double slashes in file names in object file debugging info
1183 +# mess up M-x gdb in Emacs.
1185 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1187 +for ac_var in $ac_precious_vars; do
1188 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1189 + eval ac_env_${ac_var}_value=\$${ac_var}
1190 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1191 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1195 +# Report the --help message.
1197 +if test "$ac_init_help" = "long"; then
1198 + # Omit some internal or obsolete options to make the list less imposing.
1199 + # This message is too long to be a string in the A/UX 3.1 sh.
1201 +\`configure' configures nss 3.12 to adapt to many kinds of systems.
1203 +Usage: $0 [OPTION]... [VAR=VALUE]...
1205 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
1206 +VAR=VALUE. See below for descriptions of some of the useful variables.
1208 +Defaults for the options are specified in brackets.
1211 + -h, --help display this help and exit
1212 + --help=short display options specific to this package
1213 + --help=recursive display the short help of all the included packages
1214 + -V, --version display version information and exit
1215 + -q, --quiet, --silent do not print \`checking...' messages
1216 + --cache-file=FILE cache test results in FILE [disabled]
1217 + -C, --config-cache alias for \`--cache-file=config.cache'
1218 + -n, --no-create do not create output files
1219 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
1221 +Installation directories:
1222 + --prefix=PREFIX install architecture-independent files in PREFIX
1223 + [$ac_default_prefix]
1224 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1227 +By default, \`make install' will install all the files in
1228 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1229 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1230 +for instance \`--prefix=\$HOME'.
1232 +For better control, use the options below.
1234 +Fine tuning of the installation directories:
1235 + --bindir=DIR user executables [EPREFIX/bin]
1236 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1237 + --libexecdir=DIR program executables [EPREFIX/libexec]
1238 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1239 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1240 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1241 + --libdir=DIR object code libraries [EPREFIX/lib]
1242 + --includedir=DIR C header files [PREFIX/include]
1243 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1244 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1245 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1246 + --infodir=DIR info documentation [DATAROOTDIR/info]
1247 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1248 + --mandir=DIR man documentation [DATAROOTDIR/man]
1249 + --docdir=DIR documentation root [DATAROOTDIR/doc/nss]
1250 + --htmldir=DIR html documentation [DOCDIR]
1251 + --dvidir=DIR dvi documentation [DOCDIR]
1252 + --pdfdir=DIR pdf documentation [DOCDIR]
1253 + --psdir=DIR ps documentation [DOCDIR]
1260 +if test -n "$ac_init_help"; then
1261 + case $ac_init_help in
1262 + short | recursive ) echo "Configuration of nss 3.12:";;
1266 +Some influential environment variables:
1267 + CC C compiler command
1268 + CFLAGS C compiler flags
1269 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1270 + nonstandard directory <lib dir>
1271 + LIBS libraries to pass to the linker, e.g. -l<library>
1272 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1273 + you have headers in a nonstandard directory <include dir>
1274 + CPP C preprocessor
1276 +Use these variables to override the choices made by `configure' or to help
1277 +it to find libraries and programs with nonstandard names/locations.
1279 +Report bugs to the package provider.
1284 +if test "$ac_init_help" = "recursive"; then
1285 + # If there are subdirs, report their specific --help.
1286 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1287 + test -d "$ac_dir" ||
1288 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1293 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1296 + # A ".." for each directory in $ac_dir_suffix.
1297 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1298 + case $ac_top_builddir_sub in
1299 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 +ac_abs_top_builddir=$ac_pwd
1304 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305 +# for backward compatibility:
1306 +ac_top_builddir=$ac_top_build_prefix
1309 + .) # We are building in place.
1311 + ac_top_srcdir=$ac_top_builddir_sub
1312 + ac_abs_top_srcdir=$ac_pwd ;;
1313 + [\\/]* | ?:[\\/]* ) # Absolute name.
1314 + ac_srcdir=$srcdir$ac_dir_suffix;
1315 + ac_top_srcdir=$srcdir
1316 + ac_abs_top_srcdir=$srcdir ;;
1317 + *) # Relative name.
1318 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1320 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1322 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1324 + cd "$ac_dir" || { ac_status=$?; continue; }
1325 + # Check for guested configure.
1326 + if test -f "$ac_srcdir/configure.gnu"; then
1328 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329 + elif test -f "$ac_srcdir/configure"; then
1331 + $SHELL "$ac_srcdir/configure" --help=recursive
1333 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334 + fi || ac_status=$?
1335 + cd "$ac_pwd" || { ac_status=$?; break; }
1339 +test -n "$ac_init_help" && exit $ac_status
1340 +if $ac_init_version; then
1343 +generated by GNU Autoconf 2.64
1345 +Copyright (C) 2009 Free Software Foundation, Inc.
1346 +This configure script is free software; the Free Software Foundation
1347 +gives unlimited permission to copy, distribute and modify it.
1352 +## ------------------------ ##
1353 +## Autoconf initialization. ##
1354 +## ------------------------ ##
1356 +# ac_fn_c_try_compile LINENO
1357 +# --------------------------
1358 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
1359 +ac_fn_c_try_compile ()
1361 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1362 + rm -f conftest.$ac_objext
1363 + if { { ac_try="$ac_compile"
1364 +case "(($ac_try" in
1365 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1366 + *) ac_try_echo=$ac_try;;
1368 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1369 +$as_echo "$ac_try_echo"; } >&5
1370 + (eval "$ac_compile") 2>conftest.err
1372 + if test -s conftest.err; then
1373 + grep -v '^ *+' conftest.err >conftest.er1
1374 + cat conftest.er1 >&5
1375 + mv -f conftest.er1 conftest.err
1377 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1378 + test $ac_status = 0; } && {
1379 + test -z "$ac_c_werror_flag" ||
1380 + test ! -s conftest.err
1381 + } && test -s conftest.$ac_objext; then :
1384 + $as_echo "$as_me: failed program was:" >&5
1385 +sed 's/^/| /' conftest.$ac_ext >&5
1389 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1392 +} # ac_fn_c_try_compile
1394 +# ac_fn_c_try_run LINENO
1395 +# ----------------------
1396 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1397 +# that executables *can* be run.
1400 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 + if { { ac_try="$ac_link"
1402 +case "(($ac_try" in
1403 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1404 + *) ac_try_echo=$ac_try;;
1406 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1407 +$as_echo "$ac_try_echo"; } >&5
1408 + (eval "$ac_link") 2>&5
1410 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1411 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1412 + { { case "(($ac_try" in
1413 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1414 + *) ac_try_echo=$ac_try;;
1416 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1417 +$as_echo "$ac_try_echo"; } >&5
1418 + (eval "$ac_try") 2>&5
1420 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 + test $ac_status = 0; }; }; then :
1424 + $as_echo "$as_me: program exited with status $ac_status" >&5
1425 + $as_echo "$as_me: failed program was:" >&5
1426 +sed 's/^/| /' conftest.$ac_ext >&5
1428 + ac_retval=$ac_status
1430 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1431 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1434 +} # ac_fn_c_try_run
1436 +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1437 +# --------------------------------------------
1438 +# Tries to find the compile-time value of EXPR in a program that includes
1439 +# INCLUDES, setting VAR accordingly. Returns whether the value could be
1441 +ac_fn_c_compute_int ()
1443 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 + if test "$cross_compiling" = yes; then
1445 + # Depending upon the size, compute the lo and hi bounds.
1446 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1447 +/* end confdefs.h. */
1452 +static int test_array [1 - 2 * !(($2) >= 0)];
1459 +if ac_fn_c_try_compile "$LINENO"; then :
1462 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1463 +/* end confdefs.h. */
1468 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1475 +if ac_fn_c_try_compile "$LINENO"; then :
1476 + ac_hi=$ac_mid; break
1478 + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1479 + if test $ac_lo -le $ac_mid; then
1483 + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1488 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1489 +/* end confdefs.h. */
1494 +static int test_array [1 - 2 * !(($2) < 0)];
1501 +if ac_fn_c_try_compile "$LINENO"; then :
1502 + ac_hi=-1 ac_mid=-1
1504 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1505 +/* end confdefs.h. */
1510 +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1517 +if ac_fn_c_try_compile "$LINENO"; then :
1518 + ac_lo=$ac_mid; break
1520 + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1521 + if test $ac_mid -le $ac_hi; then
1525 + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1527 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1532 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1534 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1535 +# Binary search between lo and hi bounds.
1536 +while test "x$ac_lo" != "x$ac_hi"; do
1537 + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1538 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 +/* end confdefs.h. */
1544 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1551 +if ac_fn_c_try_compile "$LINENO"; then :
1554 + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1556 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1559 +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1563 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1564 +/* end confdefs.h. */
1566 +static long int longval () { return $2; }
1567 +static unsigned long int ulongval () { return $2; }
1569 +#include <stdlib.h>
1574 + FILE *f = fopen ("conftest.val", "w");
1579 + long int i = longval ();
1582 + fprintf (f, "%ld", i);
1586 + unsigned long int i = ulongval ();
1589 + fprintf (f, "%lu", i);
1591 + /* Do not output a trailing newline, as this causes \r\n confusion
1592 + on some platforms. */
1593 + return ferror (f) || fclose (f) != 0;
1599 +if ac_fn_c_try_run "$LINENO"; then :
1600 + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1604 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1605 + conftest.$ac_objext conftest.beam conftest.$ac_ext
1609 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1612 +} # ac_fn_c_compute_int
1614 +# ac_fn_c_try_cpp LINENO
1615 +# ----------------------
1616 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1619 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 + if { { ac_try="$ac_cpp conftest.$ac_ext"
1621 +case "(($ac_try" in
1622 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 + *) ac_try_echo=$ac_try;;
1625 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 +$as_echo "$ac_try_echo"; } >&5
1627 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1629 + if test -s conftest.err; then
1630 + grep -v '^ *+' conftest.err >conftest.er1
1631 + cat conftest.er1 >&5
1632 + mv -f conftest.er1 conftest.err
1634 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 + test $ac_status = 0; } >/dev/null && {
1636 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1637 + test ! -s conftest.err
1641 + $as_echo "$as_me: failed program was:" >&5
1642 +sed 's/^/| /' conftest.$ac_ext >&5
1646 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 +} # ac_fn_c_try_cpp
1651 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1652 +# -------------------------------------------------------
1653 +# Tests whether HEADER exists and can be compiled using the include files in
1654 +# INCLUDES, setting the cache variable VAR accordingly.
1655 +ac_fn_c_check_header_compile ()
1657 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1659 +$as_echo_n "checking for $2... " >&6; }
1660 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1661 + $as_echo_n "(cached) " >&6
1663 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 +/* end confdefs.h. */
1668 +if ac_fn_c_try_compile "$LINENO"; then :
1673 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1676 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 +$as_echo "$ac_res" >&6; }
1678 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 +} # ac_fn_c_check_header_compile
1681 +cat >config.log <<_ACEOF
1682 +This file contains any messages produced by compilers while
1683 +running configure, to aid debugging if configure makes a mistake.
1685 +It was created by nss $as_me 3.12, which was
1686 +generated by GNU Autoconf 2.64. Invocation command line was
1698 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1699 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
1700 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
1701 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
1702 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
1704 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1705 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1707 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1708 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1709 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1710 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1711 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1712 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1713 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1717 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 +for as_dir in $PATH
1721 + test -z "$as_dir" && as_dir=.
1722 + $as_echo "PATH: $as_dir"
1738 +# Keep a trace of the command line.
1739 +# Strip out --no-create and --no-recursion so they do not pile up.
1740 +# Strip out --silent because we don't want to record it for future runs.
1741 +# Also quote any args containing shell meta-characters.
1742 +# Make two passes to allow for proper duplicate-argument suppression.
1744 +ac_configure_args0=
1745 +ac_configure_args1=
1746 +ac_must_keep_next=false
1752 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1753 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1754 + | -silent | --silent | --silen | --sile | --sil)
1757 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1760 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1762 + as_fn_append ac_configure_args1 " '$ac_arg'"
1763 + if test $ac_must_keep_next = true; then
1764 + ac_must_keep_next=false # Got value, back to normal.
1767 + *=* | --config-cache | -C | -disable-* | --disable-* \
1768 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1769 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1770 + | -with-* | --with-* | -without-* | --without-* | --x)
1771 + case "$ac_configure_args0 " in
1772 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1775 + -* ) ac_must_keep_next=true ;;
1778 + as_fn_append ac_configure_args " '$ac_arg'"
1783 +{ ac_configure_args0=; unset ac_configure_args0;}
1784 +{ ac_configure_args1=; unset ac_configure_args1;}
1786 +# When interrupted or exit'd, cleanup temporary files, and complete
1787 +# config.log. We remove comments because anyway the quotes in there
1788 +# would cause problems or look ugly.
1789 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1790 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1791 +trap 'exit_status=$?
1792 + # Save into config.log some information that might help in debugging.
1797 +## ---------------- ##
1798 +## Cache variables. ##
1799 +## ---------------- ##
1802 + # The following way of writing the cache mishandles newlines in values,
1804 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1805 + eval ac_val=\$$ac_var
1806 + case $ac_val in #(
1808 + case $ac_var in #(
1809 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1810 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1812 + case $ac_var in #(
1813 + _ | IFS | as_nl) ;; #(
1814 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1815 + *) { eval $ac_var=; unset $ac_var;} ;;
1820 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1821 + *${as_nl}ac_space=\ *)
1823 + "s/'\''/'\''\\\\'\'''\''/g;
1824 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1827 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1835 +## ----------------- ##
1836 +## Output variables. ##
1837 +## ----------------- ##
1840 + for ac_var in $ac_subst_vars
1842 + eval ac_val=\$$ac_var
1844 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1846 + $as_echo "$ac_var='\''$ac_val'\''"
1850 + if test -n "$ac_subst_files"; then
1852 +## ------------------- ##
1853 +## File substitutions. ##
1854 +## ------------------- ##
1857 + for ac_var in $ac_subst_files
1859 + eval ac_val=\$$ac_var
1861 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1863 + $as_echo "$ac_var='\''$ac_val'\''"
1868 + if test -s confdefs.h; then
1878 + test "$ac_signal" != 0 &&
1879 + $as_echo "$as_me: caught signal $ac_signal"
1880 + $as_echo "$as_me: exit $exit_status"
1882 + rm -f core *.core core.conftest.* &&
1883 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1886 +for ac_signal in 1 2 13 15; do
1887 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1891 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
1892 +rm -f -r conftest* confdefs.h
1894 +$as_echo "/* confdefs.h */" > confdefs.h
1896 +# Predefined preprocessor variables.
1898 +cat >>confdefs.h <<_ACEOF
1899 +#define PACKAGE_NAME "$PACKAGE_NAME"
1902 +cat >>confdefs.h <<_ACEOF
1903 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1906 +cat >>confdefs.h <<_ACEOF
1907 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1910 +cat >>confdefs.h <<_ACEOF
1911 +#define PACKAGE_STRING "$PACKAGE_STRING"
1914 +cat >>confdefs.h <<_ACEOF
1915 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1918 +cat >>confdefs.h <<_ACEOF
1919 +#define PACKAGE_URL "$PACKAGE_URL"
1923 +# Let the site file select an alternate cache file if it wants to.
1924 +# Prefer an explicitly selected file to automatically selected ones.
1927 +if test -n "$CONFIG_SITE"; then
1928 + ac_site_file1=$CONFIG_SITE
1929 +elif test "x$prefix" != xNONE; then
1930 + ac_site_file1=$prefix/share/config.site
1931 + ac_site_file2=$prefix/etc/config.site
1933 + ac_site_file1=$ac_default_prefix/share/config.site
1934 + ac_site_file2=$ac_default_prefix/etc/config.site
1936 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1938 + test "x$ac_site_file" = xNONE && continue
1939 + if test -r "$ac_site_file"; then
1940 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1941 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1942 + sed 's/^/| /' "$ac_site_file" >&5
1947 +if test -r "$cache_file"; then
1948 + # Some versions of bash will fail to source /dev/null (special
1949 + # files actually), so we avoid doing that.
1950 + if test -f "$cache_file"; then
1951 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1952 +$as_echo "$as_me: loading cache $cache_file" >&6;}
1953 + case $cache_file in
1954 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1955 + *) . "./$cache_file";;
1959 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1960 +$as_echo "$as_me: creating cache $cache_file" >&6;}
1964 +# Check that the precious variables saved in the cache have kept the same
1966 +ac_cache_corrupted=false
1967 +for ac_var in $ac_precious_vars; do
1968 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
1969 + eval ac_new_set=\$ac_env_${ac_var}_set
1970 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1971 + eval ac_new_val=\$ac_env_${ac_var}_value
1972 + case $ac_old_set,$ac_new_set in
1974 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1975 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1976 + ac_cache_corrupted=: ;;
1978 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1979 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1980 + ac_cache_corrupted=: ;;
1983 + if test "x$ac_old_val" != "x$ac_new_val"; then
1984 + # differences in whitespace do not lead to failure.
1985 + ac_old_val_w=`echo x $ac_old_val`
1986 + ac_new_val_w=`echo x $ac_new_val`
1987 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
1988 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1989 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1990 + ac_cache_corrupted=:
1992 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1993 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1994 + eval $ac_var=\$ac_old_val
1996 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1997 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1998 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1999 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2002 + # Pass precious variables to config.status.
2003 + if test "$ac_new_set" = set; then
2004 + case $ac_new_val in
2005 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2006 + *) ac_arg=$ac_var=$ac_new_val ;;
2008 + case " $ac_configure_args " in
2009 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2010 + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2014 +if $ac_cache_corrupted; then
2015 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2016 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2017 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2018 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2019 + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2021 +## -------------------- ##
2022 +## Main body of script. ##
2023 +## -------------------- ##
2026 +ac_cpp='$CPP $CPPFLAGS'
2027 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2035 +NSPR_PREFIX=$(pkg-config nspr --variable=prefix)
2037 +NSPR_LIBDIR=$(pkg-config nspr --variable=libdir)
2041 +ac_cpp='$CPP $CPPFLAGS'
2042 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2045 +if test -n "$ac_tool_prefix"; then
2046 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2047 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
2048 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049 +$as_echo_n "checking for $ac_word... " >&6; }
2050 +if test "${ac_cv_prog_CC+set}" = set; then :
2051 + $as_echo_n "(cached) " >&6
2053 + if test -n "$CC"; then
2054 + ac_cv_prog_CC="$CC" # Let the user override the test.
2056 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 +for as_dir in $PATH
2060 + test -z "$as_dir" && as_dir=.
2061 + for ac_exec_ext in '' $ac_executable_extensions; do
2062 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
2064 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 +if test -n "$CC"; then
2075 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2076 +$as_echo "$CC" >&6; }
2078 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2079 +$as_echo "no" >&6; }
2084 +if test -z "$ac_cv_prog_CC"; then
2086 + # Extract the first word of "gcc", so it can be a program name with args.
2087 +set dummy gcc; ac_word=$2
2088 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2089 +$as_echo_n "checking for $ac_word... " >&6; }
2090 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2091 + $as_echo_n "(cached) " >&6
2093 + if test -n "$ac_ct_CC"; then
2094 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2096 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 +for as_dir in $PATH
2100 + test -z "$as_dir" && as_dir=.
2101 + for ac_exec_ext in '' $ac_executable_extensions; do
2102 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 + ac_cv_prog_ac_ct_CC="gcc"
2104 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2114 +if test -n "$ac_ct_CC"; then
2115 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2116 +$as_echo "$ac_ct_CC" >&6; }
2118 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2119 +$as_echo "no" >&6; }
2122 + if test "x$ac_ct_CC" = x; then
2125 + case $cross_compiling:$ac_tool_warned in
2127 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2128 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2129 +ac_tool_warned=yes ;;
2134 + CC="$ac_cv_prog_CC"
2137 +if test -z "$CC"; then
2138 + if test -n "$ac_tool_prefix"; then
2139 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2140 +set dummy ${ac_tool_prefix}cc; ac_word=$2
2141 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2142 +$as_echo_n "checking for $ac_word... " >&6; }
2143 +if test "${ac_cv_prog_CC+set}" = set; then :
2144 + $as_echo_n "(cached) " >&6
2146 + if test -n "$CC"; then
2147 + ac_cv_prog_CC="$CC" # Let the user override the test.
2149 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 +for as_dir in $PATH
2153 + test -z "$as_dir" && as_dir=.
2154 + for ac_exec_ext in '' $ac_executable_extensions; do
2155 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 + ac_cv_prog_CC="${ac_tool_prefix}cc"
2157 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 +if test -n "$CC"; then
2168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2169 +$as_echo "$CC" >&6; }
2171 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2172 +$as_echo "no" >&6; }
2178 +if test -z "$CC"; then
2179 + # Extract the first word of "cc", so it can be a program name with args.
2180 +set dummy cc; ac_word=$2
2181 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2182 +$as_echo_n "checking for $ac_word... " >&6; }
2183 +if test "${ac_cv_prog_CC+set}" = set; then :
2184 + $as_echo_n "(cached) " >&6
2186 + if test -n "$CC"; then
2187 + ac_cv_prog_CC="$CC" # Let the user override the test.
2189 + ac_prog_rejected=no
2190 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 +for as_dir in $PATH
2194 + test -z "$as_dir" && as_dir=.
2195 + for ac_exec_ext in '' $ac_executable_extensions; do
2196 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2198 + ac_prog_rejected=yes
2201 + ac_cv_prog_CC="cc"
2202 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 +if test $ac_prog_rejected = yes; then
2210 + # We found a bogon in the path, so make sure we never use it.
2211 + set dummy $ac_cv_prog_CC
2213 + if test $# != 0; then
2214 + # We chose a different compiler from the bogus one.
2215 + # However, it has the same basename, so the bogon will be chosen
2216 + # first if we set CC to just the basename; use the full file name.
2218 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2224 +if test -n "$CC"; then
2225 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2226 +$as_echo "$CC" >&6; }
2228 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2229 +$as_echo "no" >&6; }
2234 +if test -z "$CC"; then
2235 + if test -n "$ac_tool_prefix"; then
2236 + for ac_prog in cl.exe
2238 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2239 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2240 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2241 +$as_echo_n "checking for $ac_word... " >&6; }
2242 +if test "${ac_cv_prog_CC+set}" = set; then :
2243 + $as_echo_n "(cached) " >&6
2245 + if test -n "$CC"; then
2246 + ac_cv_prog_CC="$CC" # Let the user override the test.
2248 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 +for as_dir in $PATH
2252 + test -z "$as_dir" && as_dir=.
2253 + for ac_exec_ext in '' $ac_executable_extensions; do
2254 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2256 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 +if test -n "$CC"; then
2267 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2268 +$as_echo "$CC" >&6; }
2270 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2271 +$as_echo "no" >&6; }
2275 + test -n "$CC" && break
2278 +if test -z "$CC"; then
2280 + for ac_prog in cl.exe
2282 + # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 +set dummy $ac_prog; ac_word=$2
2284 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2285 +$as_echo_n "checking for $ac_word... " >&6; }
2286 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2287 + $as_echo_n "(cached) " >&6
2289 + if test -n "$ac_ct_CC"; then
2290 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2292 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 +for as_dir in $PATH
2296 + test -z "$as_dir" && as_dir=.
2297 + for ac_exec_ext in '' $ac_executable_extensions; do
2298 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 + ac_cv_prog_ac_ct_CC="$ac_prog"
2300 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2310 +if test -n "$ac_ct_CC"; then
2311 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2312 +$as_echo "$ac_ct_CC" >&6; }
2314 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2315 +$as_echo "no" >&6; }
2319 + test -n "$ac_ct_CC" && break
2322 + if test "x$ac_ct_CC" = x; then
2325 + case $cross_compiling:$ac_tool_warned in
2327 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2328 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2329 +ac_tool_warned=yes ;;
2338 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2339 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2340 +as_fn_error "no acceptable C compiler found in \$PATH
2341 +See \`config.log' for more details." "$LINENO" 5; }
2343 +# Provide some information about the compiler.
2344 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2347 +for ac_option in --version -v -V -qversion; do
2348 + { { ac_try="$ac_compiler $ac_option >&5"
2349 +case "(($ac_try" in
2350 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 + *) ac_try_echo=$ac_try;;
2353 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 +$as_echo "$ac_try_echo"; } >&5
2355 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2357 + if test -s conftest.err; then
2359 +... rest of stderr output deleted ...
2360 + 10q' conftest.err >conftest.er1
2361 + cat conftest.er1 >&5
2362 + rm -f conftest.er1 conftest.err
2364 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 + test $ac_status = 0; }
2368 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 +/* end confdefs.h. */
2374 +FILE *f = fopen ("conftest.out", "w");
2375 + return ferror (f) || fclose (f) != 0;
2381 +ac_clean_files_save=$ac_clean_files
2382 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2383 +# Try to create an executable without -o first, disregard a.out.
2384 +# It will help us diagnose broken compilers, and finding out an intuition
2386 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2387 +$as_echo_n "checking for C compiler default output file name... " >&6; }
2388 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2390 +# The possible output files:
2391 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2394 +for ac_file in $ac_files
2397 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2398 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2403 +if { { ac_try="$ac_link_default"
2404 +case "(($ac_try" in
2405 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 + *) ac_try_echo=$ac_try;;
2408 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2409 +$as_echo "$ac_try_echo"; } >&5
2410 + (eval "$ac_link_default") 2>&5
2412 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2413 + test $ac_status = 0; }; then :
2414 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2415 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2416 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2417 +# so that the user can short-circuit this test for compilers unknown to
2419 +for ac_file in $ac_files ''
2421 + test -f "$ac_file" || continue
2423 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2426 + # We found the default executable, but exeext='' is most
2427 + # certainly right.
2430 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2432 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2434 + # We set ac_cv_exeext here because the later test for it is not
2435 + # safe: cross compilers may not add the suffix if given an `-o'
2436 + # argument, so we may need to know it at that point already.
2437 + # Even if this section looks crufty: it has the advantage of
2438 + # actually working.
2444 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2449 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2450 +$as_echo "$ac_file" >&6; }
2451 +if test -z "$ac_file"; then :
2452 + $as_echo "$as_me: failed program was:" >&5
2453 +sed 's/^/| /' conftest.$ac_ext >&5
2455 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2456 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2457 +{ as_fn_set_status 77
2458 +as_fn_error "C compiler cannot create executables
2459 +See \`config.log' for more details." "$LINENO" 5; }; }
2461 +ac_exeext=$ac_cv_exeext
2463 +# Check that the compiler produces executables we can run. If not, either
2464 +# the compiler is broken, or we cross compile.
2465 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2466 +$as_echo_n "checking whether the C compiler works... " >&6; }
2467 +# If not cross compiling, check that we can run a simple program.
2468 +if test "$cross_compiling" != yes; then
2469 + if { ac_try='./$ac_file'
2470 + { { case "(($ac_try" in
2471 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 + *) ac_try_echo=$ac_try;;
2474 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2475 +$as_echo "$ac_try_echo"; } >&5
2476 + (eval "$ac_try") 2>&5
2478 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 + test $ac_status = 0; }; }; then
2480 + cross_compiling=no
2482 + if test "$cross_compiling" = maybe; then
2483 + cross_compiling=yes
2485 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2486 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2487 +as_fn_error "cannot run C compiled programs.
2488 +If you meant to cross compile, use \`--host'.
2489 +See \`config.log' for more details." "$LINENO" 5; }
2493 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2494 +$as_echo "yes" >&6; }
2496 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2497 +ac_clean_files=$ac_clean_files_save
2498 +# Check that the compiler produces executables we can run. If not, either
2499 +# the compiler is broken, or we cross compile.
2500 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2501 +$as_echo_n "checking whether we are cross compiling... " >&6; }
2502 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2503 +$as_echo "$cross_compiling" >&6; }
2505 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2506 +$as_echo_n "checking for suffix of executables... " >&6; }
2507 +if { { ac_try="$ac_link"
2508 +case "(($ac_try" in
2509 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 + *) ac_try_echo=$ac_try;;
2512 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 +$as_echo "$ac_try_echo"; } >&5
2514 + (eval "$ac_link") 2>&5
2516 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 + test $ac_status = 0; }; then :
2518 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
2519 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2520 +# work properly (i.e., refer to `conftest.exe'), while it won't with
2522 +for ac_file in conftest.exe conftest conftest.*; do
2523 + test -f "$ac_file" || continue
2525 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2526 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 +as_fn_error "cannot compute suffix of executables: cannot compile and link
2535 +See \`config.log' for more details." "$LINENO" 5; }
2537 +rm -f conftest$ac_cv_exeext
2538 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2539 +$as_echo "$ac_cv_exeext" >&6; }
2541 +rm -f conftest.$ac_ext
2542 +EXEEXT=$ac_cv_exeext
2544 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2545 +$as_echo_n "checking for suffix of object files... " >&6; }
2546 +if test "${ac_cv_objext+set}" = set; then :
2547 + $as_echo_n "(cached) " >&6
2549 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 +/* end confdefs.h. */
2560 +rm -f conftest.o conftest.obj
2561 +if { { ac_try="$ac_compile"
2562 +case "(($ac_try" in
2563 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 + *) ac_try_echo=$ac_try;;
2566 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 +$as_echo "$ac_try_echo"; } >&5
2568 + (eval "$ac_compile") 2>&5
2570 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 + test $ac_status = 0; }; then :
2572 + for ac_file in conftest.o conftest.obj conftest.*; do
2573 + test -f "$ac_file" || continue;
2575 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2576 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2581 + $as_echo "$as_me: failed program was:" >&5
2582 +sed 's/^/| /' conftest.$ac_ext >&5
2584 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2585 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2586 +as_fn_error "cannot compute suffix of object files: cannot compile
2587 +See \`config.log' for more details." "$LINENO" 5; }
2589 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
2591 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2592 +$as_echo "$ac_cv_objext" >&6; }
2593 +OBJEXT=$ac_cv_objext
2595 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2596 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2597 +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2598 + $as_echo_n "(cached) " >&6
2600 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 +/* end confdefs.h. */
2614 +if ac_fn_c_try_compile "$LINENO"; then :
2615 + ac_compiler_gnu=yes
2617 + ac_compiler_gnu=no
2619 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
2623 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2624 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2625 +if test $ac_compiler_gnu = yes; then
2630 +ac_test_CFLAGS=${CFLAGS+set}
2631 +ac_save_CFLAGS=$CFLAGS
2632 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2633 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
2634 +if test "${ac_cv_prog_cc_g+set}" = set; then :
2635 + $as_echo_n "(cached) " >&6
2637 + ac_save_c_werror_flag=$ac_c_werror_flag
2638 + ac_c_werror_flag=yes
2639 + ac_cv_prog_cc_g=no
2641 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642 +/* end confdefs.h. */
2652 +if ac_fn_c_try_compile "$LINENO"; then :
2653 + ac_cv_prog_cc_g=yes
2656 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 +/* end confdefs.h. */
2667 +if ac_fn_c_try_compile "$LINENO"; then :
2670 + ac_c_werror_flag=$ac_save_c_werror_flag
2672 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 +/* end confdefs.h. */
2683 +if ac_fn_c_try_compile "$LINENO"; then :
2684 + ac_cv_prog_cc_g=yes
2686 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2688 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2690 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2691 + ac_c_werror_flag=$ac_save_c_werror_flag
2693 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2694 +$as_echo "$ac_cv_prog_cc_g" >&6; }
2695 +if test "$ac_test_CFLAGS" = set; then
2696 + CFLAGS=$ac_save_CFLAGS
2697 +elif test $ac_cv_prog_cc_g = yes; then
2698 + if test "$GCC" = yes; then
2704 + if test "$GCC" = yes; then
2710 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2711 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2712 +if test "${ac_cv_prog_cc_c89+set}" = set; then :
2713 + $as_echo_n "(cached) " >&6
2715 + ac_cv_prog_cc_c89=no
2717 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 +/* end confdefs.h. */
2719 +#include <stdarg.h>
2721 +#include <sys/types.h>
2722 +#include <sys/stat.h>
2723 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2724 +struct buf { int x; };
2725 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
2726 +static char *e (p, i)
2732 +static char *f (char * (*g) (char **, int), char **p, ...)
2737 + s = g (p, va_arg (v,int));
2742 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2743 + function prototypes and stuff, but not '\xHH' hex character constants.
2744 + These don't provoke an error unfortunately, instead are silently treated
2745 + as 'x'. The following induces an error, until -std is added to get
2746 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2747 + array size at least. It's necessary to write '\x00'==0 to get something
2748 + that's true only with -std. */
2749 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2751 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2752 + inside strings and character constants. */
2754 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2756 +int test (int i, double x);
2757 +struct s1 {int (*f) (int a);};
2758 +struct s2 {int (*f) (double a);};
2759 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2765 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2770 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2771 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2773 + CC="$ac_save_CC $ac_arg"
2774 + if ac_fn_c_try_compile "$LINENO"; then :
2775 + ac_cv_prog_cc_c89=$ac_arg
2777 +rm -f core conftest.err conftest.$ac_objext
2778 + test "x$ac_cv_prog_cc_c89" != "xno" && break
2780 +rm -f conftest.$ac_ext
2785 +case "x$ac_cv_prog_cc_c89" in
2787 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2788 +$as_echo "none needed" >&6; } ;;
2790 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2791 +$as_echo "unsupported" >&6; } ;;
2793 + CC="$CC $ac_cv_prog_cc_c89"
2794 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2795 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2797 +if test "x$ac_cv_prog_cc_c89" != xno; then :
2802 +ac_cpp='$CPP $CPPFLAGS'
2803 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2809 +ac_cpp='$CPP $CPPFLAGS'
2810 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2814 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
2815 +# On Suns, sometimes $CPP names a directory.
2816 +if test -n "$CPP" && test -d "$CPP"; then
2819 +if test -z "$CPP"; then
2820 + if test "${ac_cv_prog_CPP+set}" = set; then :
2821 + $as_echo_n "(cached) " >&6
2823 + # Double quotes because CPP needs to be expanded
2824 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2826 + ac_preproc_ok=false
2827 +for ac_c_preproc_warn_flag in '' yes
2829 + # Use a header file that comes with gcc, so configuring glibc
2830 + # with a fresh cross-compiler works.
2831 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2832 + # <limits.h> exists even on freestanding compilers.
2833 + # On the NeXT, cc -E runs the code through the compiler's parser,
2834 + # not just through cpp. "Syntax error" is here to catch this case.
2835 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 +/* end confdefs.h. */
2838 +# include <limits.h>
2840 +# include <assert.h>
2844 +if ac_fn_c_try_cpp "$LINENO"; then :
2847 + # Broken: fails on valid input.
2850 +rm -f conftest.err conftest.$ac_ext
2852 + # OK, works on sane cases. Now check whether nonexistent headers
2853 + # can be detected and how.
2854 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 +/* end confdefs.h. */
2856 +#include <ac_nonexistent.h>
2858 +if ac_fn_c_try_cpp "$LINENO"; then :
2859 + # Broken: success on invalid input.
2862 + # Passes both tests.
2866 +rm -f conftest.err conftest.$ac_ext
2869 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2870 +rm -f conftest.err conftest.$ac_ext
2871 +if $ac_preproc_ok; then :
2876 + ac_cv_prog_CPP=$CPP
2879 + CPP=$ac_cv_prog_CPP
2881 + ac_cv_prog_CPP=$CPP
2883 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2884 +$as_echo "$CPP" >&6; }
2885 +ac_preproc_ok=false
2886 +for ac_c_preproc_warn_flag in '' yes
2888 + # Use a header file that comes with gcc, so configuring glibc
2889 + # with a fresh cross-compiler works.
2890 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 + # <limits.h> exists even on freestanding compilers.
2892 + # On the NeXT, cc -E runs the code through the compiler's parser,
2893 + # not just through cpp. "Syntax error" is here to catch this case.
2894 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 +/* end confdefs.h. */
2897 +# include <limits.h>
2899 +# include <assert.h>
2903 +if ac_fn_c_try_cpp "$LINENO"; then :
2906 + # Broken: fails on valid input.
2909 +rm -f conftest.err conftest.$ac_ext
2911 + # OK, works on sane cases. Now check whether nonexistent headers
2912 + # can be detected and how.
2913 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 +/* end confdefs.h. */
2915 +#include <ac_nonexistent.h>
2917 +if ac_fn_c_try_cpp "$LINENO"; then :
2918 + # Broken: success on invalid input.
2921 + # Passes both tests.
2925 +rm -f conftest.err conftest.$ac_ext
2928 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2929 +rm -f conftest.err conftest.$ac_ext
2930 +if $ac_preproc_ok; then :
2933 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 +as_fn_error "C preprocessor \"$CPP\" fails sanity check
2936 +See \`config.log' for more details." "$LINENO" 5; }
2940 +ac_cpp='$CPP $CPPFLAGS'
2941 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2942 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2943 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2946 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2947 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2948 +if test "${ac_cv_path_GREP+set}" = set; then :
2949 + $as_echo_n "(cached) " >&6
2951 + if test -z "$GREP"; then
2952 + ac_path_GREP_found=false
2953 + # Loop through the user's path and test for each of PROGNAME-LIST
2954 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2958 + test -z "$as_dir" && as_dir=.
2959 + for ac_prog in grep ggrep; do
2960 + for ac_exec_ext in '' $ac_executable_extensions; do
2961 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2962 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2963 +# Check for GNU ac_path_GREP and select it if it is found.
2964 + # Check for GNU $ac_path_GREP
2965 +case `"$ac_path_GREP" --version 2>&1` in
2967 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2970 + $as_echo_n 0123456789 >"conftest.in"
2973 + cat "conftest.in" "conftest.in" >"conftest.tmp"
2974 + mv "conftest.tmp" "conftest.in"
2975 + cp "conftest.in" "conftest.nl"
2976 + $as_echo 'GREP' >> "conftest.nl"
2977 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2978 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2979 + as_fn_arith $ac_count + 1 && ac_count=$as_val
2980 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
2981 + # Best one so far, save it but keep looking for a better one
2982 + ac_cv_path_GREP="$ac_path_GREP"
2983 + ac_path_GREP_max=$ac_count
2985 + # 10*(2^10) chars as input seems more than enough
2986 + test $ac_count -gt 10 && break
2988 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2991 + $ac_path_GREP_found && break 3
2996 + if test -z "$ac_cv_path_GREP"; then
2997 + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3000 + ac_cv_path_GREP=$GREP
3004 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3005 +$as_echo "$ac_cv_path_GREP" >&6; }
3006 + GREP="$ac_cv_path_GREP"
3009 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3010 +$as_echo_n "checking for egrep... " >&6; }
3011 +if test "${ac_cv_path_EGREP+set}" = set; then :
3012 + $as_echo_n "(cached) " >&6
3014 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3015 + then ac_cv_path_EGREP="$GREP -E"
3017 + if test -z "$EGREP"; then
3018 + ac_path_EGREP_found=false
3019 + # Loop through the user's path and test for each of PROGNAME-LIST
3020 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3024 + test -z "$as_dir" && as_dir=.
3025 + for ac_prog in egrep; do
3026 + for ac_exec_ext in '' $ac_executable_extensions; do
3027 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3028 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3029 +# Check for GNU ac_path_EGREP and select it if it is found.
3030 + # Check for GNU $ac_path_EGREP
3031 +case `"$ac_path_EGREP" --version 2>&1` in
3033 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3036 + $as_echo_n 0123456789 >"conftest.in"
3039 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3040 + mv "conftest.tmp" "conftest.in"
3041 + cp "conftest.in" "conftest.nl"
3042 + $as_echo 'EGREP' >> "conftest.nl"
3043 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3044 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3045 + as_fn_arith $ac_count + 1 && ac_count=$as_val
3046 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3047 + # Best one so far, save it but keep looking for a better one
3048 + ac_cv_path_EGREP="$ac_path_EGREP"
3049 + ac_path_EGREP_max=$ac_count
3051 + # 10*(2^10) chars as input seems more than enough
3052 + test $ac_count -gt 10 && break
3054 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3057 + $ac_path_EGREP_found && break 3
3062 + if test -z "$ac_cv_path_EGREP"; then
3063 + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3066 + ac_cv_path_EGREP=$EGREP
3071 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3072 +$as_echo "$ac_cv_path_EGREP" >&6; }
3073 + EGREP="$ac_cv_path_EGREP"
3076 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3077 +$as_echo_n "checking for ANSI C header files... " >&6; }
3078 +if test "${ac_cv_header_stdc+set}" = set; then :
3079 + $as_echo_n "(cached) " >&6
3081 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 +/* end confdefs.h. */
3083 +#include <stdlib.h>
3084 +#include <stdarg.h>
3085 +#include <string.h>
3096 +if ac_fn_c_try_compile "$LINENO"; then :
3097 + ac_cv_header_stdc=yes
3099 + ac_cv_header_stdc=no
3101 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 +if test $ac_cv_header_stdc = yes; then
3104 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3105 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 +/* end confdefs.h. */
3107 +#include <string.h>
3110 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3111 + $EGREP "memchr" >/dev/null 2>&1; then :
3114 + ac_cv_header_stdc=no
3120 +if test $ac_cv_header_stdc = yes; then
3121 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3122 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 +/* end confdefs.h. */
3124 +#include <stdlib.h>
3127 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3128 + $EGREP "free" >/dev/null 2>&1; then :
3131 + ac_cv_header_stdc=no
3137 +if test $ac_cv_header_stdc = yes; then
3138 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3139 + if test "$cross_compiling" = yes; then :
3142 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 +/* end confdefs.h. */
3145 +#include <stdlib.h>
3146 +#if ((' ' & 0x0FF) == 0x020)
3147 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3148 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3150 +# define ISLOWER(c) \
3151 + (('a' <= (c) && (c) <= 'i') \
3152 + || ('j' <= (c) && (c) <= 'r') \
3153 + || ('s' <= (c) && (c) <= 'z'))
3154 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3157 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3162 + for (i = 0; i < 256; i++)
3163 + if (XOR (islower (i), ISLOWER (i))
3164 + || toupper (i) != TOUPPER (i))
3169 +if ac_fn_c_try_run "$LINENO"; then :
3172 + ac_cv_header_stdc=no
3174 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3175 + conftest.$ac_objext conftest.beam conftest.$ac_ext
3180 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3181 +$as_echo "$ac_cv_header_stdc" >&6; }
3182 +if test $ac_cv_header_stdc = yes; then
3184 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3188 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3189 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3190 + inttypes.h stdint.h unistd.h
3192 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3193 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3195 +eval as_val=\$$as_ac_Header
3196 + if test "x$as_val" = x""yes; then :
3197 + cat >>confdefs.h <<_ACEOF
3198 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3206 +# The cast to long int works around a bug in the HP C Compiler
3207 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3208 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3209 +# This bug is HP SR number 8606223364.
3210 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
3211 +$as_echo_n "checking size of long... " >&6; }
3212 +if test "${ac_cv_sizeof_long+set}" = set; then :
3213 + $as_echo_n "(cached) " >&6
3215 + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
3218 + if test "$ac_cv_type_long" = yes; then
3219 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3220 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3221 +{ as_fn_set_status 77
3222 +as_fn_error "cannot compute sizeof (long)
3223 +See \`config.log' for more details." "$LINENO" 5; }; }
3225 + ac_cv_sizeof_long=0
3230 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
3231 +$as_echo "$ac_cv_sizeof_long" >&6; }
3235 +cat >>confdefs.h <<_ACEOF
3236 +#define SIZEOF_LONG $ac_cv_sizeof_long
3240 +if test x$ac_cv_sizeof_long = x8; then
3247 +ac_config_files="$ac_config_files Makefile nss.pc"
3250 +cat >confcache <<\_ACEOF
3251 +# This file is a shell script that caches the results of configure
3252 +# tests run on this system so they can be shared between configure
3253 +# scripts and configure runs, see configure's option --config-cache.
3254 +# It is not useful on other systems. If it contains results you don't
3255 +# want to keep, you may remove or edit it.
3257 +# config.status only pays attention to the cache file if you give it
3258 +# the --recheck option to rerun configure.
3260 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
3261 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
3262 +# following values.
3266 +# The following way of writing the cache mishandles newlines in values,
3267 +# but we know of no workaround that is simple, portable, and efficient.
3268 +# So, we kill variables containing newlines.
3269 +# Ultrix sh set writes to stderr and can't be redirected directly,
3270 +# and sets the high bit in the cache file unless we assign to the vars.
3272 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3273 + eval ac_val=\$$ac_var
3274 + case $ac_val in #(
3276 + case $ac_var in #(
3277 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3278 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3280 + case $ac_var in #(
3281 + _ | IFS | as_nl) ;; #(
3282 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3283 + *) { eval $ac_var=; unset $ac_var;} ;;
3289 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
3290 + *${as_nl}ac_space=\ *)
3291 + # `set' does not quote correctly, so add quotes: double-quote
3292 + # substitution turns \\\\ into \\, and sed turns \\ into \.
3295 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3298 + # `set' quotes correctly as required by POSIX, so do not add quotes.
3299 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3305 + /^ac_cv_env_/b end
3308 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3310 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3312 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3313 + if test -w "$cache_file"; then
3314 + test "x$cache_file" != "x/dev/null" &&
3315 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3316 +$as_echo "$as_me: updating cache $cache_file" >&6;}
3317 + cat confcache >$cache_file
3319 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3320 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3325 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
3326 +# Let make expand exec_prefix.
3327 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3329 +# Transform confdefs.h into DEFS.
3330 +# Protect against shell expansion while executing Makefile rules.
3331 +# Protect against Makefile macro expansion.
3333 +# If the first sed substitution is executed (which looks for macros that
3334 +# take arguments), then branch to the quote section. Otherwise,
3335 +# look for a macro that doesn't take arguments.
3345 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3347 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3351 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3364 +DEFS=`sed -n "$ac_script" confdefs.h`
3369 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3370 + # 1. Remove the extension, and $U if already installed.
3371 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3372 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3373 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3374 + # will be set to the directory where LIBOBJS objects are built.
3375 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3376 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3378 +LIBOBJS=$ac_libobjs
3380 +LTLIBOBJS=$ac_ltlibobjs
3384 +: ${CONFIG_STATUS=./config.status}
3386 +ac_clean_files_save=$ac_clean_files
3387 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3388 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3389 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3391 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3393 +# Generated by $as_me.
3394 +# Run this file to recreate the current configuration.
3395 +# Compiler output produced by configure, useful for debugging
3396 +# configure, is in config.log if it exists.
3399 +ac_cs_recheck=false
3402 +SHELL=\${CONFIG_SHELL-$SHELL}
3405 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3406 +## -------------------- ##
3407 +## M4sh Initialization. ##
3408 +## -------------------- ##
3410 +# Be more Bourne compatible
3411 +DUALCASE=1; export DUALCASE # for MKS sh
3412 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3415 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3416 + # is contrary to our usage. Disable this feature.
3417 + alias -g '${1+"$@"}'='"$@"'
3418 + setopt NO_GLOB_SUBST
3420 + case `(set -o) 2>/dev/null` in #(
3422 + set -o posix ;; #(
3432 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
3433 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3434 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3435 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3436 +# Prefer a ksh shell builtin over an external printf program on Solaris,
3437 +# but without wasting forks for bash or zsh.
3438 +if test -z "$BASH_VERSION$ZSH_VERSION" \
3439 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3440 + as_echo='print -r --'
3441 + as_echo_n='print -rn --'
3442 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3443 + as_echo='printf %s\n'
3444 + as_echo_n='printf %s'
3446 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3447 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3448 + as_echo_n='/usr/ucb/echo -n'
3450 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3451 + as_echo_n_body='eval
3455 + expr "X$arg" : "X\\(.*\\)$as_nl";
3456 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3458 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3460 + export as_echo_n_body
3461 + as_echo_n='sh -c $as_echo_n_body as_echo'
3463 + export as_echo_body
3464 + as_echo='sh -c $as_echo_body as_echo'
3467 +# The user is always right.
3468 +if test "${PATH_SEPARATOR+set}" != set; then
3470 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3471 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3472 + PATH_SEPARATOR=';'
3478 +# We need space, tab and new line, in precisely that order. Quoting is
3479 +# there to prevent editors from complaining about space-tab.
3480 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3481 +# splitting by setting IFS to empty value.)
3484 +# Find who we are. Look in the path if we contain no directory separator.
3486 + *[\\/]* ) as_myself=$0 ;;
3487 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 +for as_dir in $PATH
3491 + test -z "$as_dir" && as_dir=.
3492 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3498 +# We did not find ourselves, most probably we were run as `sh COMMAND'
3499 +# in which case we are not to be found in the path.
3500 +if test "x$as_myself" = x; then
3503 +if test ! -f "$as_myself"; then
3504 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3508 +# Unset variables that we do not need and which cause bugs (e.g. in
3509 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3510 +# suppresses any "Segmentation fault" message there. '((' could
3511 +# trigger a bug in pdksh 5.2.14.
3512 +for as_var in BASH_ENV ENV MAIL MAILPATH
3513 +do eval test x\${$as_var+set} = xset \
3514 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3527 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3530 +# as_fn_error ERROR [LINENO LOG_FD]
3531 +# ---------------------------------
3532 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3533 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3534 +# script with status $?, using 1 if that was 0.
3537 + as_status=$?; test $as_status -eq 0 && as_status=1
3538 + if test "$3"; then
3539 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3540 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3542 + $as_echo "$as_me: error: $1" >&2
3543 + as_fn_exit $as_status
3547 +# as_fn_set_status STATUS
3548 +# -----------------------
3549 +# Set $? to STATUS, without forking.
3550 +as_fn_set_status ()
3553 +} # as_fn_set_status
3555 +# as_fn_exit STATUS
3556 +# -----------------
3557 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3561 + as_fn_set_status $1
3567 +# Portably unset VAR.
3570 + { eval $1=; unset $1;}
3572 +as_unset=as_fn_unset
3573 +# as_fn_append VAR VALUE
3574 +# ----------------------
3575 +# Append the text in VALUE to the end of the definition contained in VAR. Take
3576 +# advantage of any shell optimizations that allow amortized linear growth over
3577 +# repeated appends, instead of the typical quadratic growth present in naive
3579 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3580 + eval 'as_fn_append ()
3591 +# as_fn_arith ARG...
3592 +# ------------------
3593 +# Perform arithmetic evaluation on the ARGs, and store the result in the
3594 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
3595 +# must be portable across $(()) and expr.
3596 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3597 + eval 'as_fn_arith ()
3604 + as_val=`expr "$@" || test $? -eq 1`
3609 +if expr a : '\(a\)' >/dev/null 2>&1 &&
3610 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
3616 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3617 + as_basename=basename
3622 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3623 + as_dirname=dirname
3628 +as_me=`$as_basename -- "$0" ||
3629 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3630 + X"$0" : 'X\(//\)$' \| \
3631 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3633 + sed '/^.*\/\([^/][^/]*\)\/*$/{
3647 +# Avoid depending upon Character Ranges.
3648 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3649 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3650 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3651 +as_cr_digits='0123456789'
3652 +as_cr_alnum=$as_cr_Letters$as_cr_digits
3654 +ECHO_C= ECHO_N= ECHO_T=
3655 +case `echo -n x` in #(((((
3657 + case `echo 'xy\c'` in
3658 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3660 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3667 +rm -f conf$$ conf$$.exe conf$$.file
3668 +if test -d conf$$.dir; then
3669 + rm -f conf$$.dir/conf$$.file
3672 + mkdir conf$$.dir 2>/dev/null
3674 +if (echo >conf$$.file) 2>/dev/null; then
3675 + if ln -s conf$$.file conf$$ 2>/dev/null; then
3677 + # ... but there are two gotchas:
3678 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3679 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3680 + # In both cases, we have to default to `cp -p'.
3681 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3683 + elif ln conf$$.file conf$$ 2>/dev/null; then
3691 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3692 +rmdir conf$$.dir 2>/dev/null
3697 +# Create "$as_dir" as a directory, including parents if necessary.
3701 + case $as_dir in #(
3702 + -*) as_dir=./$as_dir;;
3704 + test -d "$as_dir" || eval $as_mkdir_p || {
3707 + case $as_dir in #(
3708 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3709 + *) as_qdir=$as_dir;;
3711 + as_dirs="'$as_qdir' $as_dirs"
3712 + as_dir=`$as_dirname -- "$as_dir" ||
3713 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3714 + X"$as_dir" : 'X\(//\)[^/]' \| \
3715 + X"$as_dir" : 'X\(//\)$' \| \
3716 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3717 +$as_echo X"$as_dir" |
3718 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3722 + /^X\(\/\/\)[^/].*/{
3735 + test -d "$as_dir" && break
3737 + test -z "$as_dirs" || eval "mkdir $as_dirs"
3738 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3742 +if mkdir -p . 2>/dev/null; then
3743 + as_mkdir_p='mkdir -p "$as_dir"'
3745 + test -d ./-p && rmdir ./-p
3749 +if test -x / >/dev/null 2>&1; then
3750 + as_test_x='test -x'
3752 + if ls -dL / >/dev/null 2>&1; then
3759 + if test -d "$1"; then
3765 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3766 + ???[sx]*):;;*)false;;esac;fi
3770 +as_executable_p=$as_test_x
3772 +# Sed expression to map a string onto a valid CPP name.
3773 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3775 +# Sed expression to map a string onto a valid variable name.
3776 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3780 +## ----------------------------------- ##
3781 +## Main body of $CONFIG_STATUS script. ##
3782 +## ----------------------------------- ##
3784 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3786 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3787 +# Save the log message, to keep $0 and so on meaningful, and to
3788 +# report actual input values of CONFIG_FILES etc. instead of their
3789 +# values after options handling.
3791 +This file was extended by nss $as_me 3.12, which was
3792 +generated by GNU Autoconf 2.64. Invocation command line was
3794 + CONFIG_FILES = $CONFIG_FILES
3795 + CONFIG_HEADERS = $CONFIG_HEADERS
3796 + CONFIG_LINKS = $CONFIG_LINKS
3797 + CONFIG_COMMANDS = $CONFIG_COMMANDS
3800 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
3805 +case $ac_config_files in *"
3806 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
3811 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3812 +# Files that config.status was made for.
3813 +config_files="$ac_config_files"
3817 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3819 +\`$as_me' instantiates files and other configuration actions
3820 +from templates according to the current configuration. Unless the files
3821 +and actions are specified as TAGs, all are instantiated by default.
3823 +Usage: $0 [OPTION]... [TAG]...
3825 + -h, --help print this help, then exit
3826 + -V, --version print version number and configuration settings, then exit
3827 + -q, --quiet, --silent
3828 + do not print progress messages
3829 + -d, --debug don't remove temporary files
3830 + --recheck update $as_me by reconfiguring in the same conditions
3831 + --file=FILE[:TEMPLATE]
3832 + instantiate the configuration file FILE
3834 +Configuration files:
3837 +Report bugs to the package provider."
3840 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842 +nss config.status 3.12
3843 +configured by $0, generated by GNU Autoconf 2.64,
3844 + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3846 +Copyright (C) 2009 Free Software Foundation, Inc.
3847 +This config.status script is free software; the Free Software Foundation
3848 +gives unlimited permission to copy, distribute and modify it."
3852 +test -n "\$AWK" || AWK=awk
3855 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3856 +# The default lists apply if the user does not specify any file.
3862 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
3863 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3873 + case $ac_option in
3874 + # Handling of the options.
3875 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3876 + ac_cs_recheck=: ;;
3877 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3878 + $as_echo "$ac_cs_version"; exit ;;
3879 + --debug | --debu | --deb | --de | --d | -d )
3881 + --file | --fil | --fi | --f )
3883 + case $ac_optarg in
3884 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3886 + as_fn_append CONFIG_FILES " '$ac_optarg'"
3887 + ac_need_defaults=false;;
3888 + --he | --h | --help | --hel | -h )
3889 + $as_echo "$ac_cs_usage"; exit ;;
3890 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3891 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
3894 + # This is an error.
3895 + -*) as_fn_error "unrecognized option: \`$1'
3896 +Try \`$0 --help' for more information." ;;
3898 + *) as_fn_append ac_config_targets " $1"
3899 + ac_need_defaults=false ;;
3905 +ac_configure_extra_args=
3907 +if $ac_cs_silent; then
3909 + ac_configure_extra_args="$ac_configure_extra_args --silent"
3913 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3914 +if \$ac_cs_recheck; then
3915 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3917 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3918 + CONFIG_SHELL='$SHELL'
3919 + export CONFIG_SHELL
3924 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3928 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3929 +## Running $as_me. ##
3931 + $as_echo "$ac_log"
3935 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3938 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3940 +# Handling of arguments.
3941 +for ac_config_target in $ac_config_targets
3943 + case $ac_config_target in
3944 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3945 + "nss.pc") CONFIG_FILES="$CONFIG_FILES nss.pc" ;;
3947 + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3952 +# If the user did not use the arguments to specify the items to instantiate,
3953 +# then the envvar interface is used. Set only those that are not.
3954 +# We use the long form for the default assignment because of an extremely
3955 +# bizarre bug on SunOS 4.1.3.
3956 +if $ac_need_defaults; then
3957 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3960 +# Have a temporary directory for convenience. Make it in the build tree
3961 +# simply because there is no reason against having it here, and in addition,
3962 +# creating and moving files from /tmp can sometimes cause problems.
3963 +# Hook for its removal unless debugging.
3964 +# Note that there is a small window in which the directory will not be cleaned:
3965 +# after its creation but before its name has been assigned to `$tmp'.
3969 + trap 'exit_status=$?
3970 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3972 + trap 'as_fn_exit 1' 1 2 13 15
3974 +# Create a (secure) tmp directory for tmp files.
3977 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3978 + test -n "$tmp" && test -d "$tmp"
3981 + tmp=./conf$$-$RANDOM
3982 + (umask 077 && mkdir "$tmp")
3983 +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3985 +# Set up the scripts for CONFIG_FILES section.
3986 +# No need to generate them if there are no CONFIG_FILES.
3987 +# This happens for instance with `./config.status config.h'.
3988 +if test -n "$CONFIG_FILES"; then
3991 +ac_cr=`echo X | tr X '\015'`
3992 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
3993 +# But we know of no other shell where ac_cr would be empty at this
3994 +# point, so we can use a bashism as a fallback.
3995 +if test "x$ac_cr" = x; then
3996 + eval ac_cr=\$\'\\r\'
3998 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3999 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4002 + ac_cs_awk_cr=$ac_cr
4005 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
4010 + echo "cat >conf$$subs.awk <<_ACEOF" &&
4011 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4013 +} >conf$$subs.sh ||
4014 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4015 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4017 +for ac_last_try in false false false false false :; do
4018 + . ./conf$$subs.sh ||
4019 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4021 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4022 + if test $ac_delim_n = $ac_delim_num; then
4024 + elif $ac_last_try; then
4025 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4027 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4030 +rm -f conf$$subs.sh
4032 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4033 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4037 +s/^/S["/; s/!.*/"]=/
4047 +s/\(.\{148\}\).*/\1/
4049 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4054 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4061 +s/\(.\{148\}\).*/\1/
4063 +s/["\\]/\\&/g; s/^/"/; s/$/"/
4067 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4072 +' <conf$$subs.awk | sed '
4077 +' >>$CONFIG_STATUS || ac_write_fail=1
4078 +rm -f conf$$subs.awk
4079 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4081 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4082 + for (key in S) S_is_set[key] = 1
4088 + nfields = split(line, field, "@")
4090 + len = length(field[1])
4091 + for (i = 2; i < nfields; i++) {
4093 + keylen = length(key)
4094 + if (S_is_set[key]) {
4096 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4097 + len += length(value) + length(field[++i])
4108 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4109 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4110 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4113 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4114 + || as_fn_error "could not setup config files machinery" "$LINENO" 5
4117 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
4118 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4119 +# trailing colons and then remove the whole line if VPATH becomes empty
4120 +# (actually we leave an empty line to preserve line numbers).
4121 +if test "x$srcdir" = x.; then
4122 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
4123 +s/:*\$(srcdir):*/:/
4124 +s/:*\${srcdir}:*/:/
4126 +s/^\([^=]*=[ ]*\):*/\1/
4132 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4133 +fi # test -n "$CONFIG_FILES"
4136 +eval set X " :F $CONFIG_FILES "
4141 + :[FHLC]) ac_mode=$ac_tag; continue;;
4143 + case $ac_mode$ac_tag in
4145 + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4146 + :[FH]-) ac_tag=-:-;;
4147 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4158 + :L) ac_source=$1;;
4164 + -) ac_f="$tmp/stdin";;
4165 + *) # Look for the file first in the build tree, then in the source tree
4166 + # (if the path is not absolute). The absolute path cannot be DOS-style,
4167 + # because $ac_f cannot contain `:'.
4168 + test -f "$ac_f" ||
4171 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4173 + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4175 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4176 + as_fn_append ac_file_inputs " '$ac_f'"
4179 + # Let's still pretend it is `configure' which instantiates (i.e., don't
4180 + # use $as_me), people would be surprised to read:
4181 + # /* config.h. Generated by config.status. */
4182 + configure_input='Generated from '`
4183 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4185 + if test x"$ac_file" != x-; then
4186 + configure_input="$ac_file. $configure_input"
4187 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4188 +$as_echo "$as_me: creating $ac_file" >&6;}
4190 + # Neutralize special characters interpreted by sed in replacement strings.
4191 + case $configure_input in #(
4192 + *\&* | *\|* | *\\* )
4193 + ac_sed_conf_input=`$as_echo "$configure_input" |
4194 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
4195 + *) ac_sed_conf_input=$configure_input;;
4199 + *:-:* | *:-) cat >"$tmp/stdin" \
4200 + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4205 + ac_dir=`$as_dirname -- "$ac_file" ||
4206 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4207 + X"$ac_file" : 'X\(//\)[^/]' \| \
4208 + X"$ac_file" : 'X\(//\)$' \| \
4209 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4210 +$as_echo X"$ac_file" |
4211 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4215 + /^X\(\/\/\)[^/].*/{
4228 + as_dir="$ac_dir"; as_fn_mkdir_p
4232 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4234 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4235 + # A ".." for each directory in $ac_dir_suffix.
4236 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4237 + case $ac_top_builddir_sub in
4238 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4239 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4242 +ac_abs_top_builddir=$ac_pwd
4243 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
4244 +# for backward compatibility:
4245 +ac_top_builddir=$ac_top_build_prefix
4248 + .) # We are building in place.
4250 + ac_top_srcdir=$ac_top_builddir_sub
4251 + ac_abs_top_srcdir=$ac_pwd ;;
4252 + [\\/]* | ?:[\\/]* ) # Absolute name.
4253 + ac_srcdir=$srcdir$ac_dir_suffix;
4254 + ac_top_srcdir=$srcdir
4255 + ac_abs_top_srcdir=$srcdir ;;
4256 + *) # Relative name.
4257 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4258 + ac_top_srcdir=$ac_top_build_prefix$srcdir
4259 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4261 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4272 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4273 +# If the template does not know about datarootdir, expand it.
4274 +# FIXME: This hack should be removed a few years after 2.60.
4275 +ac_datarootdir_hack=; ac_datarootdir_seen=
4286 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4287 +*datarootdir*) ac_datarootdir_seen=yes;;
4288 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4289 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4290 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4292 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4293 + ac_datarootdir_hack='
4294 + s&@datadir@&$datadir&g
4295 + s&@docdir@&$docdir&g
4296 + s&@infodir@&$infodir&g
4297 + s&@localedir@&$localedir&g
4298 + s&@mandir@&$mandir&g
4299 + s&\\\${datarootdir}&$datarootdir&g' ;;
4303 +# Neutralize VPATH when `$srcdir' = `.'.
4304 +# Shell code in configure.ac might set extrasub.
4305 +# FIXME: do we really want to maintain this feature?
4306 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4307 +ac_sed_extra="$ac_vpsub
4310 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4312 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4313 +s|@configure_input@|$ac_sed_conf_input|;t t
4314 +s&@top_builddir@&$ac_top_builddir_sub&;t t
4315 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
4316 +s&@srcdir@&$ac_srcdir&;t t
4317 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
4318 +s&@top_srcdir@&$ac_top_srcdir&;t t
4319 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4320 +s&@builddir@&$ac_builddir&;t t
4321 +s&@abs_builddir@&$ac_abs_builddir&;t t
4322 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4323 +$ac_datarootdir_hack
4325 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4326 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4328 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4329 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4330 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4331 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4332 +which seems to be undefined. Please make sure it is defined." >&5
4333 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4334 +which seems to be undefined. Please make sure it is defined." >&2;}
4336 + rm -f "$tmp/stdin"
4338 + -) cat "$tmp/out" && rm -f "$tmp/out";;
4339 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4341 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4353 +ac_clean_files=$ac_clean_files_save
4355 +test $ac_write_fail = 0 ||
4356 + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4359 +# configure is writing to config.log, and then calls config.status.
4360 +# config.status does its own redirection, appending to config.log.
4361 +# Unfortunately, on DOS this fails, as config.log is still kept open
4362 +# by configure, so config.status won't be able to write to it; its
4363 +# output is simply discarded. So we exec the FD to /dev/null,
4364 +# effectively closing config.log, so it can be properly (re)opened and
4365 +# appended to by config.status. When coming back to configure, we
4366 +# need to make the FD available again.
4367 +if test "$no_create" != yes; then
4369 + ac_config_status_args=
4370 + test "$silent" = yes &&
4371 + ac_config_status_args="$ac_config_status_args --quiet"
4373 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4374 + exec 5>>config.log
4375 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4376 + # would make configure fail if this is the last instruction.
4377 + $ac_cs_success || as_fn_exit $?
4379 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4380 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4381 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4384 --- configure.ac 1970-01-01 01:00:00.000000000 +0100
4385 +++ configure.ac 2009-08-21 15:44:36.000000000 +0200
4388 +AC_INIT([nss], [3.12])
4390 +AC_CONFIG_SRCDIR([mozilla/security/nss/Makefile])
4392 +NSPR_PREFIX=$(pkg-config nspr --variable=prefix)
4393 +AC_SUBST(NSPR_PREFIX)
4394 +NSPR_LIBDIR=$(pkg-config nspr --variable=libdir)
4395 +AC_SUBST(NSPR_LIBDIR)
4397 +AC_CHECK_SIZEOF(long)
4398 +if test x$ac_cv_sizeof_long = x8; then
4411 --- Makefile.in 1970-01-01 01:00:00.000000000 +0100
4412 +++ Makefile.in 2009-08-21 15:45:04.000000000 +0200
4415 +nspr_prefix=@NSPR_PREFIX@
4416 +nspr_libdir=@NSPR_LIBDIR@
4420 + MOZILLA_CLIENT=1 \
4421 + NSPR_INCLUDE_DIR=$(nspr_prefix)/include/nspr \
4422 + NSPR_LIB_DIR=$(nspr_libdir) \
4423 + SOURCE_MD_DIR=$(prefix) \
4427 + NSS_USE_SYSTEM_SQLITE=1 \
4433 + $(MAKE) -C mozilla/security/nss \
4440 + $(MAKE) -C mozilla/security/nss clean
4443 + $(MAKE) -C mozilla/security/nss install $(ARGS)
4444 + -mkdir $(prefix)/include/nss
4445 + install -m 644 -t $(prefix)/include/nss mozilla/dist/public/nss/*
4446 + -rm $(prefix)/lib/libssl.a
4447 + -mkdir -p $(libdir)/pkgconfig/
4448 + cp nss.pc $(libdir)/pkgconfig/nss.pc
4450 --- nss.pc.in 1970-01-01 01:00:00.000000000 +0100
4451 +++ nss.pc.in 2009-08-21 15:28:10.000000000 +0200
4454 +exec_prefix=${prefix}
4455 +libdir=${prefix}/lib
4456 +includedir=${prefix}/include/nss
4459 +Description: Mozilla Network Security Services
4462 +Libs: -L${libdir} -lnss3 -lnssutil3 -lsmime3 -lssl3
4463 +Cflags: -I${includedir}