version 2.27.0
[jhbuild.git] / patches / nss.pkgconfig-and-configure.patch
blob027e03de60273426a3b4afda8047877efc90e1ea
1 --- configure 1970-01-01 01:00:00.000000000 +0100
2 +++ configure 2008-11-09 15:01:36.000000000 +0100
3 @@ -0,0 +1,2624 @@
4 +#! /bin/sh
5 +# Guess values for system-dependent variables and create Makefiles.
6 +# Generated by GNU Autoconf 2.61 for nss 3.12.
7 +#
8 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 +# This configure script is free software; the Free Software Foundation
11 +# gives unlimited permission to copy, distribute and modify it.
12 +## --------------------- ##
13 +## M4sh Initialization. ##
14 +## --------------------- ##
16 +# Be more Bourne compatible
17 +DUALCASE=1; export DUALCASE # for MKS sh
18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 + emulate sh
20 + NULLCMD=:
21 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 + # is contrary to our usage. Disable this feature.
23 + alias -g '${1+"$@"}'='"$@"'
24 + setopt NO_GLOB_SUBST
25 +else
26 + case `(set -o) 2>/dev/null` in
27 + *posix*) set -o posix ;;
28 +esac
30 +fi
35 +# PATH needs CR
36 +# Avoid depending upon Character Ranges.
37 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 +as_cr_digits='0123456789'
41 +as_cr_alnum=$as_cr_Letters$as_cr_digits
43 +# The user is always right.
44 +if test "${PATH_SEPARATOR+set}" != set; then
45 + echo "#! /bin/sh" >conf$$.sh
46 + echo "exit 0" >>conf$$.sh
47 + chmod +x conf$$.sh
48 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 + PATH_SEPARATOR=';'
50 + else
51 + PATH_SEPARATOR=:
52 + fi
53 + rm -f conf$$.sh
54 +fi
56 +# Support unset when possible.
57 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 + as_unset=unset
59 +else
60 + as_unset=false
61 +fi
64 +# IFS
65 +# We need space, tab and new line, in precisely that order. Quoting is
66 +# there to prevent editors from complaining about space-tab.
67 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 +# splitting by setting IFS to empty value.)
69 +as_nl='
71 +IFS=" "" $as_nl"
73 +# Find who we are. Look in the path if we contain no directory separator.
74 +case $0 in
75 + *[\\/]* ) as_myself=$0 ;;
76 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 +for as_dir in $PATH
78 +do
79 + IFS=$as_save_IFS
80 + test -z "$as_dir" && as_dir=.
81 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 +done
83 +IFS=$as_save_IFS
85 + ;;
86 +esac
87 +# We did not find ourselves, most probably we were run as `sh COMMAND'
88 +# in which case we are not to be found in the path.
89 +if test "x$as_myself" = x; then
90 + as_myself=$0
91 +fi
92 +if test ! -f "$as_myself"; then
93 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 + { (exit 1); exit 1; }
95 +fi
97 +# Work around bugs in pre-3.0 UWIN ksh.
98 +for as_var in ENV MAIL MAILPATH
99 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 +done
101 +PS1='$ '
102 +PS2='> '
103 +PS4='+ '
105 +# NLS nuisances.
106 +for as_var in \
107 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 + LC_TELEPHONE LC_TIME
111 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 + eval $as_var=C; export $as_var
113 + else
114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 + fi
116 +done
118 +# Required to use basename.
119 +if expr a : '\(a\)' >/dev/null 2>&1 &&
120 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 + as_expr=expr
122 +else
123 + as_expr=false
126 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 + as_basename=basename
128 +else
129 + as_basename=false
133 +# Name of the executable.
134 +as_me=`$as_basename -- "$0" ||
135 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 + X"$0" : 'X\(//\)$' \| \
137 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 +echo X/"$0" |
139 + sed '/^.*\/\([^/][^/]*\)\/*$/{
140 + s//\1/
143 + /^X\/\(\/\/\)$/{
144 + s//\1/
147 + /^X\/\(\/\).*/{
148 + s//\1/
151 + s/.*/./; q'`
153 +# CDPATH.
154 +$as_unset CDPATH
157 +if test "x$CONFIG_SHELL" = x; then
158 + if (eval ":") 2>/dev/null; then
159 + as_have_required=yes
160 +else
161 + as_have_required=no
164 + if test $as_have_required = yes && (eval ":
165 +(as_func_return () {
166 + (exit \$1)
168 +as_func_success () {
169 + as_func_return 0
171 +as_func_failure () {
172 + as_func_return 1
174 +as_func_ret_success () {
175 + return 0
177 +as_func_ret_failure () {
178 + return 1
181 +exitcode=0
182 +if as_func_success; then
184 +else
185 + exitcode=1
186 + echo as_func_success failed.
189 +if as_func_failure; then
190 + exitcode=1
191 + echo as_func_failure succeeded.
194 +if as_func_ret_success; then
196 +else
197 + exitcode=1
198 + echo as_func_ret_success failed.
201 +if as_func_ret_failure; then
202 + exitcode=1
203 + echo as_func_ret_failure succeeded.
206 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208 +else
209 + exitcode=1
210 + echo positional parameters were not saved.
213 +test \$exitcode = 0) || { (exit 1); exit 1; }
216 + as_lineno_1=\$LINENO
217 + as_lineno_2=\$LINENO
218 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 +") 2> /dev/null; then
222 +else
223 + as_candidate_shells=
224 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 + IFS=$as_save_IFS
228 + test -z "$as_dir" && as_dir=.
229 + case $as_dir in
230 + /*)
231 + for as_base in sh bash ksh sh5; do
232 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 + done;;
234 + esac
235 +done
236 +IFS=$as_save_IFS
239 + for as_shell in $as_candidate_shells $SHELL; do
240 + # Try only shells that exist, to save several forks.
241 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 + { ("$as_shell") 2> /dev/null <<\_ASEOF
243 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 + emulate sh
245 + NULLCMD=:
246 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 + # is contrary to our usage. Disable this feature.
248 + alias -g '${1+"$@"}'='"$@"'
249 + setopt NO_GLOB_SUBST
250 +else
251 + case `(set -o) 2>/dev/null` in
252 + *posix*) set -o posix ;;
253 +esac
259 +_ASEOF
260 +}; then
261 + CONFIG_SHELL=$as_shell
262 + as_have_required=yes
263 + if { "$as_shell" 2> /dev/null <<\_ASEOF
264 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 + emulate sh
266 + NULLCMD=:
267 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 + # is contrary to our usage. Disable this feature.
269 + alias -g '${1+"$@"}'='"$@"'
270 + setopt NO_GLOB_SUBST
271 +else
272 + case `(set -o) 2>/dev/null` in
273 + *posix*) set -o posix ;;
274 +esac
280 +(as_func_return () {
281 + (exit $1)
283 +as_func_success () {
284 + as_func_return 0
286 +as_func_failure () {
287 + as_func_return 1
289 +as_func_ret_success () {
290 + return 0
292 +as_func_ret_failure () {
293 + return 1
296 +exitcode=0
297 +if as_func_success; then
299 +else
300 + exitcode=1
301 + echo as_func_success failed.
304 +if as_func_failure; then
305 + exitcode=1
306 + echo as_func_failure succeeded.
309 +if as_func_ret_success; then
311 +else
312 + exitcode=1
313 + echo as_func_ret_success failed.
316 +if as_func_ret_failure; then
317 + exitcode=1
318 + echo as_func_ret_failure succeeded.
321 +if ( set x; as_func_ret_success y && test x = "$1" ); then
323 +else
324 + exitcode=1
325 + echo positional parameters were not saved.
328 +test $exitcode = 0) || { (exit 1); exit 1; }
331 + as_lineno_1=$LINENO
332 + as_lineno_2=$LINENO
333 + test "x$as_lineno_1" != "x$as_lineno_2" &&
334 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336 +_ASEOF
337 +}; then
338 + break
343 + done
345 + if test "x$CONFIG_SHELL" != x; then
346 + for as_var in BASH_ENV ENV
347 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 + done
349 + export CONFIG_SHELL
350 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 + if test $as_have_required = no; then
355 + echo This script requires a shell more modern than all the
356 + echo shells that I found on your system. Please install a
357 + echo modern shell, or manually run the script under such a
358 + echo shell if you do have one.
359 + { (exit 1); exit 1; }
369 +(eval "as_func_return () {
370 + (exit \$1)
372 +as_func_success () {
373 + as_func_return 0
375 +as_func_failure () {
376 + as_func_return 1
378 +as_func_ret_success () {
379 + return 0
381 +as_func_ret_failure () {
382 + return 1
385 +exitcode=0
386 +if as_func_success; then
388 +else
389 + exitcode=1
390 + echo as_func_success failed.
393 +if as_func_failure; then
394 + exitcode=1
395 + echo as_func_failure succeeded.
398 +if as_func_ret_success; then
400 +else
401 + exitcode=1
402 + echo as_func_ret_success failed.
405 +if as_func_ret_failure; then
406 + exitcode=1
407 + echo as_func_ret_failure succeeded.
410 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412 +else
413 + exitcode=1
414 + echo positional parameters were not saved.
417 +test \$exitcode = 0") || {
418 + echo No shell found that supports shell functions.
419 + echo Please tell autoconf@gnu.org about your system,
420 + echo including any error possibly output before this
421 + echo message
426 + as_lineno_1=$LINENO
427 + as_lineno_2=$LINENO
428 + test "x$as_lineno_1" != "x$as_lineno_2" &&
429 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 + # uniformly replaced by the line number. The first 'sed' inserts a
433 + # line-number line after each line using $LINENO; the second 'sed'
434 + # does the real work. The second script uses 'N' to pair each
435 + # line-number line with the line containing $LINENO, and appends
436 + # trailing '-' during substitution so that $LINENO is not a special
437 + # case at line end.
438 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 + # scripts with optimization help from Paolo Bonzini. Blame Lee
440 + # E. McMahon (1931-1989) for sed's syntax. :-)
441 + sed -n '
443 + /[$]LINENO/=
444 + ' <$as_myself |
445 + sed '
446 + s/[$]LINENO.*/&-/
447 + t lineno
449 + :lineno
451 + :loop
452 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 + t loop
454 + s/-\n.*//
455 + ' >$as_me.lineno &&
456 + chmod +x "$as_me.lineno" ||
457 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 + { (exit 1); exit 1; }; }
460 + # Don't try to exec as it changes $[0], causing all sort of problems
461 + # (the dirname of $[0] is not the place where we might find the
462 + # original and so on. Autoconf is especially sensitive to this).
463 + . "./$as_me.lineno"
464 + # Exit status is that of the last command.
465 + exit
469 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 + as_dirname=dirname
471 +else
472 + as_dirname=false
475 +ECHO_C= ECHO_N= ECHO_T=
476 +case `echo -n x` in
477 +-n*)
478 + case `echo 'x\c'` in
479 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 + *) ECHO_C='\c';;
481 + esac;;
483 + ECHO_N='-n';;
484 +esac
486 +if expr a : '\(a\)' >/dev/null 2>&1 &&
487 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 + as_expr=expr
489 +else
490 + as_expr=false
493 +rm -f conf$$ conf$$.exe conf$$.file
494 +if test -d conf$$.dir; then
495 + rm -f conf$$.dir/conf$$.file
496 +else
497 + rm -f conf$$.dir
498 + mkdir conf$$.dir
500 +echo >conf$$.file
501 +if ln -s conf$$.file conf$$ 2>/dev/null; then
502 + as_ln_s='ln -s'
503 + # ... but there are two gotchas:
504 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 + # In both cases, we have to default to `cp -p'.
507 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 + as_ln_s='cp -p'
509 +elif ln conf$$.file conf$$ 2>/dev/null; then
510 + as_ln_s=ln
511 +else
512 + as_ln_s='cp -p'
514 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 +rmdir conf$$.dir 2>/dev/null
517 +if mkdir -p . 2>/dev/null; then
518 + as_mkdir_p=:
519 +else
520 + test -d ./-p && rmdir ./-p
521 + as_mkdir_p=false
524 +if test -x / >/dev/null 2>&1; then
525 + as_test_x='test -x'
526 +else
527 + if ls -dL / >/dev/null 2>&1; then
528 + as_ls_L_option=L
529 + else
530 + as_ls_L_option=
531 + fi
532 + as_test_x='
533 + eval sh -c '\''
534 + if test -d "$1"; then
535 + test -d "$1/.";
536 + else
537 + case $1 in
538 + -*)set "./$1";;
539 + esac;
540 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 + ???[sx]*):;;*)false;;esac;fi
542 + '\'' sh
545 +as_executable_p=$as_test_x
547 +# Sed expression to map a string onto a valid CPP name.
548 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 +# Sed expression to map a string onto a valid variable name.
551 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 +exec 7<&0 </dev/null 6>&1
557 +# Name of the host.
558 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 +# so uname gets run too.
560 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563 +# Initializations.
565 +ac_default_prefix=/usr/local
566 +ac_clean_files=
567 +ac_config_libobj_dir=.
568 +LIBOBJS=
569 +cross_compiling=no
570 +subdirs=
571 +MFLAGS=
572 +MAKEFLAGS=
573 +SHELL=${CONFIG_SHELL-/bin/sh}
575 +# Identity of this package.
576 +PACKAGE_NAME='nss'
577 +PACKAGE_TARNAME='nss'
578 +PACKAGE_VERSION='3.12'
579 +PACKAGE_STRING='nss 3.12'
580 +PACKAGE_BUGREPORT=''
582 +ac_unique_file="mozilla/security/nss/Makefile"
583 +ac_subst_vars='SHELL
584 +PATH_SEPARATOR
585 +PACKAGE_NAME
586 +PACKAGE_TARNAME
587 +PACKAGE_VERSION
588 +PACKAGE_STRING
589 +PACKAGE_BUGREPORT
590 +exec_prefix
591 +prefix
592 +program_transform_name
593 +bindir
594 +sbindir
595 +libexecdir
596 +datarootdir
597 +datadir
598 +sysconfdir
599 +sharedstatedir
600 +localstatedir
601 +includedir
602 +oldincludedir
603 +docdir
604 +infodir
605 +htmldir
606 +dvidir
607 +pdfdir
608 +psdir
609 +libdir
610 +localedir
611 +mandir
612 +DEFS
613 +ECHO_C
614 +ECHO_N
615 +ECHO_T
616 +LIBS
617 +build_alias
618 +host_alias
619 +target_alias
620 +NSPR_PREFIX
621 +LIBOBJS
622 +LTLIBOBJS'
623 +ac_subst_files=''
624 + ac_precious_vars='build_alias
625 +host_alias
626 +target_alias'
629 +# Initialize some variables set by options.
630 +ac_init_help=
631 +ac_init_version=false
632 +# The variables have the same names as the options, with
633 +# dashes changed to underlines.
634 +cache_file=/dev/null
635 +exec_prefix=NONE
636 +no_create=
637 +no_recursion=
638 +prefix=NONE
639 +program_prefix=NONE
640 +program_suffix=NONE
641 +program_transform_name=s,x,x,
642 +silent=
643 +site=
644 +srcdir=
645 +verbose=
646 +x_includes=NONE
647 +x_libraries=NONE
649 +# Installation directory options.
650 +# These are left unexpanded so users can "make install exec_prefix=/foo"
651 +# and all the variables that are supposed to be based on exec_prefix
652 +# by default will actually change.
653 +# Use braces instead of parens because sh, perl, etc. also accept them.
654 +# (The list follows the same order as the GNU Coding Standards.)
655 +bindir='${exec_prefix}/bin'
656 +sbindir='${exec_prefix}/sbin'
657 +libexecdir='${exec_prefix}/libexec'
658 +datarootdir='${prefix}/share'
659 +datadir='${datarootdir}'
660 +sysconfdir='${prefix}/etc'
661 +sharedstatedir='${prefix}/com'
662 +localstatedir='${prefix}/var'
663 +includedir='${prefix}/include'
664 +oldincludedir='/usr/include'
665 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
666 +infodir='${datarootdir}/info'
667 +htmldir='${docdir}'
668 +dvidir='${docdir}'
669 +pdfdir='${docdir}'
670 +psdir='${docdir}'
671 +libdir='${exec_prefix}/lib'
672 +localedir='${datarootdir}/locale'
673 +mandir='${datarootdir}/man'
675 +ac_prev=
676 +ac_dashdash=
677 +for ac_option
679 + # If the previous option needs an argument, assign it.
680 + if test -n "$ac_prev"; then
681 + eval $ac_prev=\$ac_option
682 + ac_prev=
683 + continue
684 + fi
686 + case $ac_option in
687 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
688 + *) ac_optarg=yes ;;
689 + esac
691 + # Accept the important Cygnus configure options, so we can diagnose typos.
693 + case $ac_dashdash$ac_option in
694 + --)
695 + ac_dashdash=yes ;;
697 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
698 + ac_prev=bindir ;;
699 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
700 + bindir=$ac_optarg ;;
702 + -build | --build | --buil | --bui | --bu)
703 + ac_prev=build_alias ;;
704 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
705 + build_alias=$ac_optarg ;;
707 + -cache-file | --cache-file | --cache-fil | --cache-fi \
708 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
709 + ac_prev=cache_file ;;
710 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
711 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
712 + cache_file=$ac_optarg ;;
714 + --config-cache | -C)
715 + cache_file=config.cache ;;
717 + -datadir | --datadir | --datadi | --datad)
718 + ac_prev=datadir ;;
719 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
720 + datadir=$ac_optarg ;;
722 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
723 + | --dataroo | --dataro | --datar)
724 + ac_prev=datarootdir ;;
725 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
726 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
727 + datarootdir=$ac_optarg ;;
729 + -disable-* | --disable-*)
730 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
731 + # Reject names that are not valid shell variable names.
732 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
733 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
734 + { (exit 1); exit 1; }; }
735 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
736 + eval enable_$ac_feature=no ;;
738 + -docdir | --docdir | --docdi | --doc | --do)
739 + ac_prev=docdir ;;
740 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
741 + docdir=$ac_optarg ;;
743 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
744 + ac_prev=dvidir ;;
745 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
746 + dvidir=$ac_optarg ;;
748 + -enable-* | --enable-*)
749 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
750 + # Reject names that are not valid shell variable names.
751 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
752 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
753 + { (exit 1); exit 1; }; }
754 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
755 + eval enable_$ac_feature=\$ac_optarg ;;
757 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
758 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
759 + | --exec | --exe | --ex)
760 + ac_prev=exec_prefix ;;
761 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
762 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
763 + | --exec=* | --exe=* | --ex=*)
764 + exec_prefix=$ac_optarg ;;
766 + -gas | --gas | --ga | --g)
767 + # Obsolete; use --with-gas.
768 + with_gas=yes ;;
770 + -help | --help | --hel | --he | -h)
771 + ac_init_help=long ;;
772 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
773 + ac_init_help=recursive ;;
774 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
775 + ac_init_help=short ;;
777 + -host | --host | --hos | --ho)
778 + ac_prev=host_alias ;;
779 + -host=* | --host=* | --hos=* | --ho=*)
780 + host_alias=$ac_optarg ;;
782 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
783 + ac_prev=htmldir ;;
784 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
785 + | --ht=*)
786 + htmldir=$ac_optarg ;;
788 + -includedir | --includedir | --includedi | --included | --include \
789 + | --includ | --inclu | --incl | --inc)
790 + ac_prev=includedir ;;
791 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
792 + | --includ=* | --inclu=* | --incl=* | --inc=*)
793 + includedir=$ac_optarg ;;
795 + -infodir | --infodir | --infodi | --infod | --info | --inf)
796 + ac_prev=infodir ;;
797 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
798 + infodir=$ac_optarg ;;
800 + -libdir | --libdir | --libdi | --libd)
801 + ac_prev=libdir ;;
802 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
803 + libdir=$ac_optarg ;;
805 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
806 + | --libexe | --libex | --libe)
807 + ac_prev=libexecdir ;;
808 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
809 + | --libexe=* | --libex=* | --libe=*)
810 + libexecdir=$ac_optarg ;;
812 + -localedir | --localedir | --localedi | --localed | --locale)
813 + ac_prev=localedir ;;
814 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
815 + localedir=$ac_optarg ;;
817 + -localstatedir | --localstatedir | --localstatedi | --localstated \
818 + | --localstate | --localstat | --localsta | --localst | --locals)
819 + ac_prev=localstatedir ;;
820 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
821 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
822 + localstatedir=$ac_optarg ;;
824 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
825 + ac_prev=mandir ;;
826 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
827 + mandir=$ac_optarg ;;
829 + -nfp | --nfp | --nf)
830 + # Obsolete; use --without-fp.
831 + with_fp=no ;;
833 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
834 + | --no-cr | --no-c | -n)
835 + no_create=yes ;;
837 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
838 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
839 + no_recursion=yes ;;
841 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
842 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
843 + | --oldin | --oldi | --old | --ol | --o)
844 + ac_prev=oldincludedir ;;
845 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
846 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
847 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
848 + oldincludedir=$ac_optarg ;;
850 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
851 + ac_prev=prefix ;;
852 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
853 + prefix=$ac_optarg ;;
855 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
856 + | --program-pre | --program-pr | --program-p)
857 + ac_prev=program_prefix ;;
858 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
859 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
860 + program_prefix=$ac_optarg ;;
862 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
863 + | --program-suf | --program-su | --program-s)
864 + ac_prev=program_suffix ;;
865 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
866 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
867 + program_suffix=$ac_optarg ;;
869 + -program-transform-name | --program-transform-name \
870 + | --program-transform-nam | --program-transform-na \
871 + | --program-transform-n | --program-transform- \
872 + | --program-transform | --program-transfor \
873 + | --program-transfo | --program-transf \
874 + | --program-trans | --program-tran \
875 + | --progr-tra | --program-tr | --program-t)
876 + ac_prev=program_transform_name ;;
877 + -program-transform-name=* | --program-transform-name=* \
878 + | --program-transform-nam=* | --program-transform-na=* \
879 + | --program-transform-n=* | --program-transform-=* \
880 + | --program-transform=* | --program-transfor=* \
881 + | --program-transfo=* | --program-transf=* \
882 + | --program-trans=* | --program-tran=* \
883 + | --progr-tra=* | --program-tr=* | --program-t=*)
884 + program_transform_name=$ac_optarg ;;
886 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
887 + ac_prev=pdfdir ;;
888 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
889 + pdfdir=$ac_optarg ;;
891 + -psdir | --psdir | --psdi | --psd | --ps)
892 + ac_prev=psdir ;;
893 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
894 + psdir=$ac_optarg ;;
896 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
897 + | -silent | --silent | --silen | --sile | --sil)
898 + silent=yes ;;
900 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
901 + ac_prev=sbindir ;;
902 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
903 + | --sbi=* | --sb=*)
904 + sbindir=$ac_optarg ;;
906 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
907 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
908 + | --sharedst | --shareds | --shared | --share | --shar \
909 + | --sha | --sh)
910 + ac_prev=sharedstatedir ;;
911 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
912 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
913 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
914 + | --sha=* | --sh=*)
915 + sharedstatedir=$ac_optarg ;;
917 + -site | --site | --sit)
918 + ac_prev=site ;;
919 + -site=* | --site=* | --sit=*)
920 + site=$ac_optarg ;;
922 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
923 + ac_prev=srcdir ;;
924 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
925 + srcdir=$ac_optarg ;;
927 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
928 + | --syscon | --sysco | --sysc | --sys | --sy)
929 + ac_prev=sysconfdir ;;
930 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
931 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
932 + sysconfdir=$ac_optarg ;;
934 + -target | --target | --targe | --targ | --tar | --ta | --t)
935 + ac_prev=target_alias ;;
936 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
937 + target_alias=$ac_optarg ;;
939 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
940 + verbose=yes ;;
942 + -version | --version | --versio | --versi | --vers | -V)
943 + ac_init_version=: ;;
945 + -with-* | --with-*)
946 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
947 + # Reject names that are not valid shell variable names.
948 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
949 + { echo "$as_me: error: invalid package name: $ac_package" >&2
950 + { (exit 1); exit 1; }; }
951 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
952 + eval with_$ac_package=\$ac_optarg ;;
954 + -without-* | --without-*)
955 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
956 + # Reject names that are not valid shell variable names.
957 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
958 + { echo "$as_me: error: invalid package name: $ac_package" >&2
959 + { (exit 1); exit 1; }; }
960 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
961 + eval with_$ac_package=no ;;
963 + --x)
964 + # Obsolete; use --with-x.
965 + with_x=yes ;;
967 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
968 + | --x-incl | --x-inc | --x-in | --x-i)
969 + ac_prev=x_includes ;;
970 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
971 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
972 + x_includes=$ac_optarg ;;
974 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
975 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
976 + ac_prev=x_libraries ;;
977 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
978 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
979 + x_libraries=$ac_optarg ;;
981 + -*) { echo "$as_me: error: unrecognized option: $ac_option
982 +Try \`$0 --help' for more information." >&2
983 + { (exit 1); exit 1; }; }
984 + ;;
986 + *=*)
987 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
988 + # Reject names that are not valid shell variable names.
989 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
990 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
991 + { (exit 1); exit 1; }; }
992 + eval $ac_envvar=\$ac_optarg
993 + export $ac_envvar ;;
995 + *)
996 + # FIXME: should be removed in autoconf 3.0.
997 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
998 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1000 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1001 + ;;
1003 + esac
1004 +done
1006 +if test -n "$ac_prev"; then
1007 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1008 + { echo "$as_me: error: missing argument to $ac_option" >&2
1009 + { (exit 1); exit 1; }; }
1012 +# Be sure to have absolute directory names.
1013 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1014 + datadir sysconfdir sharedstatedir localstatedir includedir \
1015 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1016 + libdir localedir mandir
1018 + eval ac_val=\$$ac_var
1019 + case $ac_val in
1020 + [\\/$]* | ?:[\\/]* ) continue;;
1021 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1022 + esac
1023 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1024 + { (exit 1); exit 1; }; }
1025 +done
1027 +# There might be people who depend on the old broken behavior: `$host'
1028 +# used to hold the argument of --host etc.
1029 +# FIXME: To remove some day.
1030 +build=$build_alias
1031 +host=$host_alias
1032 +target=$target_alias
1034 +# FIXME: To remove some day.
1035 +if test "x$host_alias" != x; then
1036 + if test "x$build_alias" = x; then
1037 + cross_compiling=maybe
1038 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1039 + If a cross compiler is detected then cross compile mode will be used." >&2
1040 + elif test "x$build_alias" != "x$host_alias"; then
1041 + cross_compiling=yes
1042 + fi
1045 +ac_tool_prefix=
1046 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
1048 +test "$silent" = yes && exec 6>/dev/null
1051 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1052 +ac_ls_di=`ls -di .` &&
1053 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1054 + { echo "$as_me: error: Working directory cannot be determined" >&2
1055 + { (exit 1); exit 1; }; }
1056 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1057 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1058 + { (exit 1); exit 1; }; }
1061 +# Find the source files, if location was not specified.
1062 +if test -z "$srcdir"; then
1063 + ac_srcdir_defaulted=yes
1064 + # Try the directory containing this script, then the parent directory.
1065 + ac_confdir=`$as_dirname -- "$0" ||
1066 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1067 + X"$0" : 'X\(//\)[^/]' \| \
1068 + X"$0" : 'X\(//\)$' \| \
1069 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1070 +echo X"$0" |
1071 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1072 + s//\1/
1075 + /^X\(\/\/\)[^/].*/{
1076 + s//\1/
1079 + /^X\(\/\/\)$/{
1080 + s//\1/
1083 + /^X\(\/\).*/{
1084 + s//\1/
1087 + s/.*/./; q'`
1088 + srcdir=$ac_confdir
1089 + if test ! -r "$srcdir/$ac_unique_file"; then
1090 + srcdir=..
1091 + fi
1092 +else
1093 + ac_srcdir_defaulted=no
1095 +if test ! -r "$srcdir/$ac_unique_file"; then
1096 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1097 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1098 + { (exit 1); exit 1; }; }
1100 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1101 +ac_abs_confdir=`(
1102 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1103 + { (exit 1); exit 1; }; }
1104 + pwd)`
1105 +# When building in place, set srcdir=.
1106 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1107 + srcdir=.
1109 +# Remove unnecessary trailing slashes from srcdir.
1110 +# Double slashes in file names in object file debugging info
1111 +# mess up M-x gdb in Emacs.
1112 +case $srcdir in
1113 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1114 +esac
1115 +for ac_var in $ac_precious_vars; do
1116 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1117 + eval ac_env_${ac_var}_value=\$${ac_var}
1118 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1119 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1120 +done
1123 +# Report the --help message.
1125 +if test "$ac_init_help" = "long"; then
1126 + # Omit some internal or obsolete options to make the list less imposing.
1127 + # This message is too long to be a string in the A/UX 3.1 sh.
1128 + cat <<_ACEOF
1129 +\`configure' configures nss 3.12 to adapt to many kinds of systems.
1131 +Usage: $0 [OPTION]... [VAR=VALUE]...
1133 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
1134 +VAR=VALUE. See below for descriptions of some of the useful variables.
1136 +Defaults for the options are specified in brackets.
1138 +Configuration:
1139 + -h, --help display this help and exit
1140 + --help=short display options specific to this package
1141 + --help=recursive display the short help of all the included packages
1142 + -V, --version display version information and exit
1143 + -q, --quiet, --silent do not print \`checking...' messages
1144 + --cache-file=FILE cache test results in FILE [disabled]
1145 + -C, --config-cache alias for \`--cache-file=config.cache'
1146 + -n, --no-create do not create output files
1147 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
1149 +Installation directories:
1150 + --prefix=PREFIX install architecture-independent files in PREFIX
1151 + [$ac_default_prefix]
1152 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1153 + [PREFIX]
1155 +By default, \`make install' will install all the files in
1156 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1157 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1158 +for instance \`--prefix=\$HOME'.
1160 +For better control, use the options below.
1162 +Fine tuning of the installation directories:
1163 + --bindir=DIR user executables [EPREFIX/bin]
1164 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1165 + --libexecdir=DIR program executables [EPREFIX/libexec]
1166 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1167 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1168 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1169 + --libdir=DIR object code libraries [EPREFIX/lib]
1170 + --includedir=DIR C header files [PREFIX/include]
1171 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1172 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1173 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1174 + --infodir=DIR info documentation [DATAROOTDIR/info]
1175 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1176 + --mandir=DIR man documentation [DATAROOTDIR/man]
1177 + --docdir=DIR documentation root [DATAROOTDIR/doc/nss]
1178 + --htmldir=DIR html documentation [DOCDIR]
1179 + --dvidir=DIR dvi documentation [DOCDIR]
1180 + --pdfdir=DIR pdf documentation [DOCDIR]
1181 + --psdir=DIR ps documentation [DOCDIR]
1182 +_ACEOF
1184 + cat <<\_ACEOF
1185 +_ACEOF
1188 +if test -n "$ac_init_help"; then
1189 + case $ac_init_help in
1190 + short | recursive ) echo "Configuration of nss 3.12:";;
1191 + esac
1192 + cat <<\_ACEOF
1194 +_ACEOF
1195 +ac_status=$?
1198 +if test "$ac_init_help" = "recursive"; then
1199 + # If there are subdirs, report their specific --help.
1200 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1201 + test -d "$ac_dir" || continue
1202 + ac_builddir=.
1204 +case "$ac_dir" in
1205 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1207 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1208 + # A ".." for each directory in $ac_dir_suffix.
1209 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1210 + case $ac_top_builddir_sub in
1211 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1212 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1213 + esac ;;
1214 +esac
1215 +ac_abs_top_builddir=$ac_pwd
1216 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1217 +# for backward compatibility:
1218 +ac_top_builddir=$ac_top_build_prefix
1220 +case $srcdir in
1221 + .) # We are building in place.
1222 + ac_srcdir=.
1223 + ac_top_srcdir=$ac_top_builddir_sub
1224 + ac_abs_top_srcdir=$ac_pwd ;;
1225 + [\\/]* | ?:[\\/]* ) # Absolute name.
1226 + ac_srcdir=$srcdir$ac_dir_suffix;
1227 + ac_top_srcdir=$srcdir
1228 + ac_abs_top_srcdir=$srcdir ;;
1229 + *) # Relative name.
1230 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1231 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1232 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1233 +esac
1234 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1236 + cd "$ac_dir" || { ac_status=$?; continue; }
1237 + # Check for guested configure.
1238 + if test -f "$ac_srcdir/configure.gnu"; then
1239 + echo &&
1240 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1241 + elif test -f "$ac_srcdir/configure"; then
1242 + echo &&
1243 + $SHELL "$ac_srcdir/configure" --help=recursive
1244 + else
1245 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1246 + fi || ac_status=$?
1247 + cd "$ac_pwd" || { ac_status=$?; break; }
1248 + done
1251 +test -n "$ac_init_help" && exit $ac_status
1252 +if $ac_init_version; then
1253 + cat <<\_ACEOF
1254 +nss configure 3.12
1255 +generated by GNU Autoconf 2.61
1257 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1258 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1259 +This configure script is free software; the Free Software Foundation
1260 +gives unlimited permission to copy, distribute and modify it.
1261 +_ACEOF
1262 + exit
1264 +cat >config.log <<_ACEOF
1265 +This file contains any messages produced by compilers while
1266 +running configure, to aid debugging if configure makes a mistake.
1268 +It was created by nss $as_me 3.12, which was
1269 +generated by GNU Autoconf 2.61. Invocation command line was
1271 + $ $0 $@
1273 +_ACEOF
1274 +exec 5>>config.log
1276 +cat <<_ASUNAME
1277 +## --------- ##
1278 +## Platform. ##
1279 +## --------- ##
1281 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1282 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
1283 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
1284 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
1285 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
1287 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1288 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1290 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1291 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1292 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1293 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1294 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1295 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1296 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1298 +_ASUNAME
1300 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1301 +for as_dir in $PATH
1303 + IFS=$as_save_IFS
1304 + test -z "$as_dir" && as_dir=.
1305 + echo "PATH: $as_dir"
1306 +done
1307 +IFS=$as_save_IFS
1309 +} >&5
1311 +cat >&5 <<_ACEOF
1314 +## ----------- ##
1315 +## Core tests. ##
1316 +## ----------- ##
1318 +_ACEOF
1321 +# Keep a trace of the command line.
1322 +# Strip out --no-create and --no-recursion so they do not pile up.
1323 +# Strip out --silent because we don't want to record it for future runs.
1324 +# Also quote any args containing shell meta-characters.
1325 +# Make two passes to allow for proper duplicate-argument suppression.
1326 +ac_configure_args=
1327 +ac_configure_args0=
1328 +ac_configure_args1=
1329 +ac_must_keep_next=false
1330 +for ac_pass in 1 2
1332 + for ac_arg
1333 + do
1334 + case $ac_arg in
1335 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1336 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1337 + | -silent | --silent | --silen | --sile | --sil)
1338 + continue ;;
1339 + *\'*)
1340 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1341 + esac
1342 + case $ac_pass in
1343 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1344 + 2)
1345 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1346 + if test $ac_must_keep_next = true; then
1347 + ac_must_keep_next=false # Got value, back to normal.
1348 + else
1349 + case $ac_arg in
1350 + *=* | --config-cache | -C | -disable-* | --disable-* \
1351 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1352 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1353 + | -with-* | --with-* | -without-* | --without-* | --x)
1354 + case "$ac_configure_args0 " in
1355 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1356 + esac
1357 + ;;
1358 + -* ) ac_must_keep_next=true ;;
1359 + esac
1360 + fi
1361 + ac_configure_args="$ac_configure_args '$ac_arg'"
1362 + ;;
1363 + esac
1364 + done
1365 +done
1366 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1367 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1369 +# When interrupted or exit'd, cleanup temporary files, and complete
1370 +# config.log. We remove comments because anyway the quotes in there
1371 +# would cause problems or look ugly.
1372 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1373 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1374 +trap 'exit_status=$?
1375 + # Save into config.log some information that might help in debugging.
1377 + echo
1379 + cat <<\_ASBOX
1380 +## ---------------- ##
1381 +## Cache variables. ##
1382 +## ---------------- ##
1383 +_ASBOX
1384 + echo
1385 + # The following way of writing the cache mishandles newlines in values,
1387 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1388 + eval ac_val=\$$ac_var
1389 + case $ac_val in #(
1390 + *${as_nl}*)
1391 + case $ac_var in #(
1392 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1393 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1394 + esac
1395 + case $ac_var in #(
1396 + _ | IFS | as_nl) ;; #(
1397 + *) $as_unset $ac_var ;;
1398 + esac ;;
1399 + esac
1400 + done
1401 + (set) 2>&1 |
1402 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1403 + *${as_nl}ac_space=\ *)
1404 + sed -n \
1405 + "s/'\''/'\''\\\\'\'''\''/g;
1406 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1407 + ;; #(
1408 + *)
1409 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1410 + ;;
1411 + esac |
1412 + sort
1414 + echo
1416 + cat <<\_ASBOX
1417 +## ----------------- ##
1418 +## Output variables. ##
1419 +## ----------------- ##
1420 +_ASBOX
1421 + echo
1422 + for ac_var in $ac_subst_vars
1423 + do
1424 + eval ac_val=\$$ac_var
1425 + case $ac_val in
1426 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1427 + esac
1428 + echo "$ac_var='\''$ac_val'\''"
1429 + done | sort
1430 + echo
1432 + if test -n "$ac_subst_files"; then
1433 + cat <<\_ASBOX
1434 +## ------------------- ##
1435 +## File substitutions. ##
1436 +## ------------------- ##
1437 +_ASBOX
1438 + echo
1439 + for ac_var in $ac_subst_files
1440 + do
1441 + eval ac_val=\$$ac_var
1442 + case $ac_val in
1443 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1444 + esac
1445 + echo "$ac_var='\''$ac_val'\''"
1446 + done | sort
1447 + echo
1448 + fi
1450 + if test -s confdefs.h; then
1451 + cat <<\_ASBOX
1452 +## ----------- ##
1453 +## confdefs.h. ##
1454 +## ----------- ##
1455 +_ASBOX
1456 + echo
1457 + cat confdefs.h
1458 + echo
1459 + fi
1460 + test "$ac_signal" != 0 &&
1461 + echo "$as_me: caught signal $ac_signal"
1462 + echo "$as_me: exit $exit_status"
1463 + } >&5
1464 + rm -f core *.core core.conftest.* &&
1465 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1466 + exit $exit_status
1467 +' 0
1468 +for ac_signal in 1 2 13 15; do
1469 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1470 +done
1471 +ac_signal=0
1473 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
1474 +rm -f -r conftest* confdefs.h
1476 +# Predefined preprocessor variables.
1478 +cat >>confdefs.h <<_ACEOF
1479 +#define PACKAGE_NAME "$PACKAGE_NAME"
1480 +_ACEOF
1483 +cat >>confdefs.h <<_ACEOF
1484 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1485 +_ACEOF
1488 +cat >>confdefs.h <<_ACEOF
1489 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1490 +_ACEOF
1493 +cat >>confdefs.h <<_ACEOF
1494 +#define PACKAGE_STRING "$PACKAGE_STRING"
1495 +_ACEOF
1498 +cat >>confdefs.h <<_ACEOF
1499 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1500 +_ACEOF
1503 +# Let the site file select an alternate cache file if it wants to.
1504 +# Prefer explicitly selected file to automatically selected ones.
1505 +if test -n "$CONFIG_SITE"; then
1506 + set x "$CONFIG_SITE"
1507 +elif test "x$prefix" != xNONE; then
1508 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1509 +else
1510 + set x "$ac_default_prefix/share/config.site" \
1511 + "$ac_default_prefix/etc/config.site"
1513 +shift
1514 +for ac_site_file
1516 + if test -r "$ac_site_file"; then
1517 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1518 +echo "$as_me: loading site script $ac_site_file" >&6;}
1519 + sed 's/^/| /' "$ac_site_file" >&5
1520 + . "$ac_site_file"
1521 + fi
1522 +done
1524 +if test -r "$cache_file"; then
1525 + # Some versions of bash will fail to source /dev/null (special
1526 + # files actually), so we avoid doing that.
1527 + if test -f "$cache_file"; then
1528 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1529 +echo "$as_me: loading cache $cache_file" >&6;}
1530 + case $cache_file in
1531 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1532 + *) . "./$cache_file";;
1533 + esac
1534 + fi
1535 +else
1536 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1537 +echo "$as_me: creating cache $cache_file" >&6;}
1538 + >$cache_file
1541 +# Check that the precious variables saved in the cache have kept the same
1542 +# value.
1543 +ac_cache_corrupted=false
1544 +for ac_var in $ac_precious_vars; do
1545 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
1546 + eval ac_new_set=\$ac_env_${ac_var}_set
1547 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1548 + eval ac_new_val=\$ac_env_${ac_var}_value
1549 + case $ac_old_set,$ac_new_set in
1550 + set,)
1551 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1552 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1553 + ac_cache_corrupted=: ;;
1554 + ,set)
1555 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1556 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1557 + ac_cache_corrupted=: ;;
1558 + ,);;
1559 + *)
1560 + if test "x$ac_old_val" != "x$ac_new_val"; then
1561 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1562 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1563 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1564 +echo "$as_me: former value: $ac_old_val" >&2;}
1565 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1566 +echo "$as_me: current value: $ac_new_val" >&2;}
1567 + ac_cache_corrupted=:
1568 + fi;;
1569 + esac
1570 + # Pass precious variables to config.status.
1571 + if test "$ac_new_set" = set; then
1572 + case $ac_new_val in
1573 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1574 + *) ac_arg=$ac_var=$ac_new_val ;;
1575 + esac
1576 + case " $ac_configure_args " in
1577 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1578 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1579 + esac
1580 + fi
1581 +done
1582 +if $ac_cache_corrupted; then
1583 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1584 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1585 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1586 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1587 + { (exit 1); exit 1; }; }
1614 +ac_ext=c
1615 +ac_cpp='$CPP $CPPFLAGS'
1616 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1617 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1618 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1624 +NSPR_PREFIX=$(pkg-config nspr --variable=prefix)
1627 +ac_config_files="$ac_config_files Makefile nss.pc"
1630 +cat >confcache <<\_ACEOF
1631 +# This file is a shell script that caches the results of configure
1632 +# tests run on this system so they can be shared between configure
1633 +# scripts and configure runs, see configure's option --config-cache.
1634 +# It is not useful on other systems. If it contains results you don't
1635 +# want to keep, you may remove or edit it.
1637 +# config.status only pays attention to the cache file if you give it
1638 +# the --recheck option to rerun configure.
1640 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
1641 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
1642 +# following values.
1644 +_ACEOF
1646 +# The following way of writing the cache mishandles newlines in values,
1647 +# but we know of no workaround that is simple, portable, and efficient.
1648 +# So, we kill variables containing newlines.
1649 +# Ultrix sh set writes to stderr and can't be redirected directly,
1650 +# and sets the high bit in the cache file unless we assign to the vars.
1652 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1653 + eval ac_val=\$$ac_var
1654 + case $ac_val in #(
1655 + *${as_nl}*)
1656 + case $ac_var in #(
1657 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1658 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1659 + esac
1660 + case $ac_var in #(
1661 + _ | IFS | as_nl) ;; #(
1662 + *) $as_unset $ac_var ;;
1663 + esac ;;
1664 + esac
1665 + done
1667 + (set) 2>&1 |
1668 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
1669 + *${as_nl}ac_space=\ *)
1670 + # `set' does not quote correctly, so add quotes (double-quote
1671 + # substitution turns \\\\ into \\, and sed turns \\ into \).
1672 + sed -n \
1673 + "s/'/'\\\\''/g;
1674 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1675 + ;; #(
1676 + *)
1677 + # `set' quotes correctly as required by POSIX, so do not add quotes.
1678 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1679 + ;;
1680 + esac |
1681 + sort
1682 +) |
1683 + sed '
1684 + /^ac_cv_env_/b end
1685 + t clear
1686 + :clear
1687 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1688 + t end
1689 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1690 + :end' >>confcache
1691 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1692 + if test -w "$cache_file"; then
1693 + test "x$cache_file" != "x/dev/null" &&
1694 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1695 +echo "$as_me: updating cache $cache_file" >&6;}
1696 + cat confcache >$cache_file
1697 + else
1698 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1699 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1700 + fi
1702 +rm -f confcache
1704 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
1705 +# Let make expand exec_prefix.
1706 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1708 +# Transform confdefs.h into DEFS.
1709 +# Protect against shell expansion while executing Makefile rules.
1710 +# Protect against Makefile macro expansion.
1712 +# If the first sed substitution is executed (which looks for macros that
1713 +# take arguments), then branch to the quote section. Otherwise,
1714 +# look for a macro that doesn't take arguments.
1715 +ac_script='
1716 +t clear
1717 +:clear
1718 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1719 +t quote
1720 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1721 +t quote
1722 +b any
1723 +:quote
1724 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1725 +s/\[/\\&/g
1726 +s/\]/\\&/g
1727 +s/\$/$$/g
1729 +:any
1732 + s/^\n//
1733 + s/\n/ /g
1737 +DEFS=`sed -n "$ac_script" confdefs.h`
1740 +ac_libobjs=
1741 +ac_ltlibobjs=
1742 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1743 + # 1. Remove the extension, and $U if already installed.
1744 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1745 + ac_i=`echo "$ac_i" | sed "$ac_script"`
1746 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1747 + # will be set to the directory where LIBOBJS objects are built.
1748 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1749 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1750 +done
1751 +LIBOBJS=$ac_libobjs
1753 +LTLIBOBJS=$ac_ltlibobjs
1757 +: ${CONFIG_STATUS=./config.status}
1758 +ac_clean_files_save=$ac_clean_files
1759 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1760 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1761 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
1762 +cat >$CONFIG_STATUS <<_ACEOF
1763 +#! $SHELL
1764 +# Generated by $as_me.
1765 +# Run this file to recreate the current configuration.
1766 +# Compiler output produced by configure, useful for debugging
1767 +# configure, is in config.log if it exists.
1769 +debug=false
1770 +ac_cs_recheck=false
1771 +ac_cs_silent=false
1772 +SHELL=\${CONFIG_SHELL-$SHELL}
1773 +_ACEOF
1775 +cat >>$CONFIG_STATUS <<\_ACEOF
1776 +## --------------------- ##
1777 +## M4sh Initialization. ##
1778 +## --------------------- ##
1780 +# Be more Bourne compatible
1781 +DUALCASE=1; export DUALCASE # for MKS sh
1782 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1783 + emulate sh
1784 + NULLCMD=:
1785 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1786 + # is contrary to our usage. Disable this feature.
1787 + alias -g '${1+"$@"}'='"$@"'
1788 + setopt NO_GLOB_SUBST
1789 +else
1790 + case `(set -o) 2>/dev/null` in
1791 + *posix*) set -o posix ;;
1792 +esac
1799 +# PATH needs CR
1800 +# Avoid depending upon Character Ranges.
1801 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1802 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1803 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1804 +as_cr_digits='0123456789'
1805 +as_cr_alnum=$as_cr_Letters$as_cr_digits
1807 +# The user is always right.
1808 +if test "${PATH_SEPARATOR+set}" != set; then
1809 + echo "#! /bin/sh" >conf$$.sh
1810 + echo "exit 0" >>conf$$.sh
1811 + chmod +x conf$$.sh
1812 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1813 + PATH_SEPARATOR=';'
1814 + else
1815 + PATH_SEPARATOR=:
1816 + fi
1817 + rm -f conf$$.sh
1820 +# Support unset when possible.
1821 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1822 + as_unset=unset
1823 +else
1824 + as_unset=false
1828 +# IFS
1829 +# We need space, tab and new line, in precisely that order. Quoting is
1830 +# there to prevent editors from complaining about space-tab.
1831 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1832 +# splitting by setting IFS to empty value.)
1833 +as_nl='
1835 +IFS=" "" $as_nl"
1837 +# Find who we are. Look in the path if we contain no directory separator.
1838 +case $0 in
1839 + *[\\/]* ) as_myself=$0 ;;
1840 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841 +for as_dir in $PATH
1843 + IFS=$as_save_IFS
1844 + test -z "$as_dir" && as_dir=.
1845 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1846 +done
1847 +IFS=$as_save_IFS
1849 + ;;
1850 +esac
1851 +# We did not find ourselves, most probably we were run as `sh COMMAND'
1852 +# in which case we are not to be found in the path.
1853 +if test "x$as_myself" = x; then
1854 + as_myself=$0
1856 +if test ! -f "$as_myself"; then
1857 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1858 + { (exit 1); exit 1; }
1861 +# Work around bugs in pre-3.0 UWIN ksh.
1862 +for as_var in ENV MAIL MAILPATH
1863 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1864 +done
1865 +PS1='$ '
1866 +PS2='> '
1867 +PS4='+ '
1869 +# NLS nuisances.
1870 +for as_var in \
1871 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1872 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1873 + LC_TELEPHONE LC_TIME
1875 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1876 + eval $as_var=C; export $as_var
1877 + else
1878 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1879 + fi
1880 +done
1882 +# Required to use basename.
1883 +if expr a : '\(a\)' >/dev/null 2>&1 &&
1884 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
1885 + as_expr=expr
1886 +else
1887 + as_expr=false
1890 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1891 + as_basename=basename
1892 +else
1893 + as_basename=false
1897 +# Name of the executable.
1898 +as_me=`$as_basename -- "$0" ||
1899 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1900 + X"$0" : 'X\(//\)$' \| \
1901 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1902 +echo X/"$0" |
1903 + sed '/^.*\/\([^/][^/]*\)\/*$/{
1904 + s//\1/
1907 + /^X\/\(\/\/\)$/{
1908 + s//\1/
1911 + /^X\/\(\/\).*/{
1912 + s//\1/
1915 + s/.*/./; q'`
1917 +# CDPATH.
1918 +$as_unset CDPATH
1922 + as_lineno_1=$LINENO
1923 + as_lineno_2=$LINENO
1924 + test "x$as_lineno_1" != "x$as_lineno_2" &&
1925 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1927 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1928 + # uniformly replaced by the line number. The first 'sed' inserts a
1929 + # line-number line after each line using $LINENO; the second 'sed'
1930 + # does the real work. The second script uses 'N' to pair each
1931 + # line-number line with the line containing $LINENO, and appends
1932 + # trailing '-' during substitution so that $LINENO is not a special
1933 + # case at line end.
1934 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1935 + # scripts with optimization help from Paolo Bonzini. Blame Lee
1936 + # E. McMahon (1931-1989) for sed's syntax. :-)
1937 + sed -n '
1939 + /[$]LINENO/=
1940 + ' <$as_myself |
1941 + sed '
1942 + s/[$]LINENO.*/&-/
1943 + t lineno
1945 + :lineno
1947 + :loop
1948 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1949 + t loop
1950 + s/-\n.*//
1951 + ' >$as_me.lineno &&
1952 + chmod +x "$as_me.lineno" ||
1953 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1954 + { (exit 1); exit 1; }; }
1956 + # Don't try to exec as it changes $[0], causing all sort of problems
1957 + # (the dirname of $[0] is not the place where we might find the
1958 + # original and so on. Autoconf is especially sensitive to this).
1959 + . "./$as_me.lineno"
1960 + # Exit status is that of the last command.
1961 + exit
1965 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1966 + as_dirname=dirname
1967 +else
1968 + as_dirname=false
1971 +ECHO_C= ECHO_N= ECHO_T=
1972 +case `echo -n x` in
1973 +-n*)
1974 + case `echo 'x\c'` in
1975 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1976 + *) ECHO_C='\c';;
1977 + esac;;
1979 + ECHO_N='-n';;
1980 +esac
1982 +if expr a : '\(a\)' >/dev/null 2>&1 &&
1983 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
1984 + as_expr=expr
1985 +else
1986 + as_expr=false
1989 +rm -f conf$$ conf$$.exe conf$$.file
1990 +if test -d conf$$.dir; then
1991 + rm -f conf$$.dir/conf$$.file
1992 +else
1993 + rm -f conf$$.dir
1994 + mkdir conf$$.dir
1996 +echo >conf$$.file
1997 +if ln -s conf$$.file conf$$ 2>/dev/null; then
1998 + as_ln_s='ln -s'
1999 + # ... but there are two gotchas:
2000 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2001 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2002 + # In both cases, we have to default to `cp -p'.
2003 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2004 + as_ln_s='cp -p'
2005 +elif ln conf$$.file conf$$ 2>/dev/null; then
2006 + as_ln_s=ln
2007 +else
2008 + as_ln_s='cp -p'
2010 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2011 +rmdir conf$$.dir 2>/dev/null
2013 +if mkdir -p . 2>/dev/null; then
2014 + as_mkdir_p=:
2015 +else
2016 + test -d ./-p && rmdir ./-p
2017 + as_mkdir_p=false
2020 +if test -x / >/dev/null 2>&1; then
2021 + as_test_x='test -x'
2022 +else
2023 + if ls -dL / >/dev/null 2>&1; then
2024 + as_ls_L_option=L
2025 + else
2026 + as_ls_L_option=
2027 + fi
2028 + as_test_x='
2029 + eval sh -c '\''
2030 + if test -d "$1"; then
2031 + test -d "$1/.";
2032 + else
2033 + case $1 in
2034 + -*)set "./$1";;
2035 + esac;
2036 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2037 + ???[sx]*):;;*)false;;esac;fi
2038 + '\'' sh
2041 +as_executable_p=$as_test_x
2043 +# Sed expression to map a string onto a valid CPP name.
2044 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2046 +# Sed expression to map a string onto a valid variable name.
2047 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2050 +exec 6>&1
2052 +# Save the log message, to keep $[0] and so on meaningful, and to
2053 +# report actual input values of CONFIG_FILES etc. instead of their
2054 +# values after options handling.
2055 +ac_log="
2056 +This file was extended by nss $as_me 3.12, which was
2057 +generated by GNU Autoconf 2.61. Invocation command line was
2059 + CONFIG_FILES = $CONFIG_FILES
2060 + CONFIG_HEADERS = $CONFIG_HEADERS
2061 + CONFIG_LINKS = $CONFIG_LINKS
2062 + CONFIG_COMMANDS = $CONFIG_COMMANDS
2063 + $ $0 $@
2065 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
2068 +_ACEOF
2070 +cat >>$CONFIG_STATUS <<_ACEOF
2071 +# Files that config.status was made for.
2072 +config_files="$ac_config_files"
2074 +_ACEOF
2076 +cat >>$CONFIG_STATUS <<\_ACEOF
2077 +ac_cs_usage="\
2078 +\`$as_me' instantiates files from templates according to the
2079 +current configuration.
2081 +Usage: $0 [OPTIONS] [FILE]...
2083 + -h, --help print this help, then exit
2084 + -V, --version print version number and configuration settings, then exit
2085 + -q, --quiet do not print progress messages
2086 + -d, --debug don't remove temporary files
2087 + --recheck update $as_me by reconfiguring in the same conditions
2088 + --file=FILE[:TEMPLATE]
2089 + instantiate the configuration file FILE
2091 +Configuration files:
2092 +$config_files
2094 +Report bugs to <bug-autoconf@gnu.org>."
2096 +_ACEOF
2097 +cat >>$CONFIG_STATUS <<_ACEOF
2098 +ac_cs_version="\\
2099 +nss config.status 3.12
2100 +configured by $0, generated by GNU Autoconf 2.61,
2101 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2103 +Copyright (C) 2006 Free Software Foundation, Inc.
2104 +This config.status script is free software; the Free Software Foundation
2105 +gives unlimited permission to copy, distribute and modify it."
2107 +ac_pwd='$ac_pwd'
2108 +srcdir='$srcdir'
2109 +_ACEOF
2111 +cat >>$CONFIG_STATUS <<\_ACEOF
2112 +# If no file are specified by the user, then we need to provide default
2113 +# value. By we need to know if files were specified by the user.
2114 +ac_need_defaults=:
2115 +while test $# != 0
2117 + case $1 in
2118 + --*=*)
2119 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
2120 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2121 + ac_shift=:
2122 + ;;
2123 + *)
2124 + ac_option=$1
2125 + ac_optarg=$2
2126 + ac_shift=shift
2127 + ;;
2128 + esac
2130 + case $ac_option in
2131 + # Handling of the options.
2132 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2133 + ac_cs_recheck=: ;;
2134 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2135 + echo "$ac_cs_version"; exit ;;
2136 + --debug | --debu | --deb | --de | --d | -d )
2137 + debug=: ;;
2138 + --file | --fil | --fi | --f )
2139 + $ac_shift
2140 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2141 + ac_need_defaults=false;;
2142 + --he | --h | --help | --hel | -h )
2143 + echo "$ac_cs_usage"; exit ;;
2144 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2145 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
2146 + ac_cs_silent=: ;;
2148 + # This is an error.
2149 + -*) { echo "$as_me: error: unrecognized option: $1
2150 +Try \`$0 --help' for more information." >&2
2151 + { (exit 1); exit 1; }; } ;;
2153 + *) ac_config_targets="$ac_config_targets $1"
2154 + ac_need_defaults=false ;;
2156 + esac
2157 + shift
2158 +done
2160 +ac_configure_extra_args=
2162 +if $ac_cs_silent; then
2163 + exec 6>/dev/null
2164 + ac_configure_extra_args="$ac_configure_extra_args --silent"
2167 +_ACEOF
2168 +cat >>$CONFIG_STATUS <<_ACEOF
2169 +if \$ac_cs_recheck; then
2170 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2171 + CONFIG_SHELL=$SHELL
2172 + export CONFIG_SHELL
2173 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2176 +_ACEOF
2177 +cat >>$CONFIG_STATUS <<\_ACEOF
2178 +exec 5>>config.log
2180 + echo
2181 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2182 +## Running $as_me. ##
2183 +_ASBOX
2184 + echo "$ac_log"
2185 +} >&5
2187 +_ACEOF
2188 +cat >>$CONFIG_STATUS <<_ACEOF
2189 +_ACEOF
2191 +cat >>$CONFIG_STATUS <<\_ACEOF
2193 +# Handling of arguments.
2194 +for ac_config_target in $ac_config_targets
2196 + case $ac_config_target in
2197 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2198 + "nss.pc") CONFIG_FILES="$CONFIG_FILES nss.pc" ;;
2200 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2201 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2202 + { (exit 1); exit 1; }; };;
2203 + esac
2204 +done
2207 +# If the user did not use the arguments to specify the items to instantiate,
2208 +# then the envvar interface is used. Set only those that are not.
2209 +# We use the long form for the default assignment because of an extremely
2210 +# bizarre bug on SunOS 4.1.3.
2211 +if $ac_need_defaults; then
2212 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2215 +# Have a temporary directory for convenience. Make it in the build tree
2216 +# simply because there is no reason against having it here, and in addition,
2217 +# creating and moving files from /tmp can sometimes cause problems.
2218 +# Hook for its removal unless debugging.
2219 +# Note that there is a small window in which the directory will not be cleaned:
2220 +# after its creation but before its name has been assigned to `$tmp'.
2221 +$debug ||
2223 + tmp=
2224 + trap 'exit_status=$?
2225 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2226 +' 0
2227 + trap '{ (exit 1); exit 1; }' 1 2 13 15
2229 +# Create a (secure) tmp directory for tmp files.
2232 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2233 + test -n "$tmp" && test -d "$tmp"
2234 +} ||
2236 + tmp=./conf$$-$RANDOM
2237 + (umask 077 && mkdir "$tmp")
2238 +} ||
2240 + echo "$me: cannot create a temporary directory in ." >&2
2241 + { (exit 1); exit 1; }
2245 +# Set up the sed scripts for CONFIG_FILES section.
2248 +# No need to generate the scripts if there are no CONFIG_FILES.
2249 +# This happens for instance when ./config.status config.h
2250 +if test -n "$CONFIG_FILES"; then
2252 +_ACEOF
2256 +ac_delim='%!_!# '
2257 +for ac_last_try in false false false false false :; do
2258 + cat >conf$$subs.sed <<_ACEOF
2259 +SHELL!$SHELL$ac_delim
2260 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2261 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2262 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2263 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2264 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2265 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2266 +exec_prefix!$exec_prefix$ac_delim
2267 +prefix!$prefix$ac_delim
2268 +program_transform_name!$program_transform_name$ac_delim
2269 +bindir!$bindir$ac_delim
2270 +sbindir!$sbindir$ac_delim
2271 +libexecdir!$libexecdir$ac_delim
2272 +datarootdir!$datarootdir$ac_delim
2273 +datadir!$datadir$ac_delim
2274 +sysconfdir!$sysconfdir$ac_delim
2275 +sharedstatedir!$sharedstatedir$ac_delim
2276 +localstatedir!$localstatedir$ac_delim
2277 +includedir!$includedir$ac_delim
2278 +oldincludedir!$oldincludedir$ac_delim
2279 +docdir!$docdir$ac_delim
2280 +infodir!$infodir$ac_delim
2281 +htmldir!$htmldir$ac_delim
2282 +dvidir!$dvidir$ac_delim
2283 +pdfdir!$pdfdir$ac_delim
2284 +psdir!$psdir$ac_delim
2285 +libdir!$libdir$ac_delim
2286 +localedir!$localedir$ac_delim
2287 +mandir!$mandir$ac_delim
2288 +DEFS!$DEFS$ac_delim
2289 +ECHO_C!$ECHO_C$ac_delim
2290 +ECHO_N!$ECHO_N$ac_delim
2291 +ECHO_T!$ECHO_T$ac_delim
2292 +LIBS!$LIBS$ac_delim
2293 +build_alias!$build_alias$ac_delim
2294 +host_alias!$host_alias$ac_delim
2295 +target_alias!$target_alias$ac_delim
2296 +NSPR_PREFIX!$NSPR_PREFIX$ac_delim
2297 +LIBOBJS!$LIBOBJS$ac_delim
2298 +LTLIBOBJS!$LTLIBOBJS$ac_delim
2299 +_ACEOF
2301 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
2302 + break
2303 + elif $ac_last_try; then
2304 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2305 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2306 + { (exit 1); exit 1; }; }
2307 + else
2308 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2309 + fi
2310 +done
2312 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2313 +if test -n "$ac_eof"; then
2314 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2315 + ac_eof=`expr $ac_eof + 1`
2318 +cat >>$CONFIG_STATUS <<_ACEOF
2319 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2320 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2321 +_ACEOF
2322 +sed '
2323 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2324 +s/^/s,@/; s/!/@,|#_!!_#|/
2326 +t n
2327 +s/'"$ac_delim"'$/,g/; t
2328 +s/$/\\/; p
2329 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2330 +' >>$CONFIG_STATUS <conf$$subs.sed
2331 +rm -f conf$$subs.sed
2332 +cat >>$CONFIG_STATUS <<_ACEOF
2333 +:end
2334 +s/|#_!!_#|//g
2335 +CEOF$ac_eof
2336 +_ACEOF
2339 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
2340 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2341 +# trailing colons and then remove the whole line if VPATH becomes empty
2342 +# (actually we leave an empty line to preserve line numbers).
2343 +if test "x$srcdir" = x.; then
2344 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
2345 +s/:*\$(srcdir):*/:/
2346 +s/:*\${srcdir}:*/:/
2347 +s/:*@srcdir@:*/:/
2348 +s/^\([^=]*=[ ]*\):*/\1/
2349 +s/:*$//
2350 +s/^[^=]*=[ ]*$//
2354 +cat >>$CONFIG_STATUS <<\_ACEOF
2355 +fi # test -n "$CONFIG_FILES"
2358 +for ac_tag in :F $CONFIG_FILES
2360 + case $ac_tag in
2361 + :[FHLC]) ac_mode=$ac_tag; continue;;
2362 + esac
2363 + case $ac_mode$ac_tag in
2364 + :[FHL]*:*);;
2365 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2366 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2367 + { (exit 1); exit 1; }; };;
2368 + :[FH]-) ac_tag=-:-;;
2369 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2370 + esac
2371 + ac_save_IFS=$IFS
2372 + IFS=:
2373 + set x $ac_tag
2374 + IFS=$ac_save_IFS
2375 + shift
2376 + ac_file=$1
2377 + shift
2379 + case $ac_mode in
2380 + :L) ac_source=$1;;
2381 + :[FH])
2382 + ac_file_inputs=
2383 + for ac_f
2384 + do
2385 + case $ac_f in
2386 + -) ac_f="$tmp/stdin";;
2387 + *) # Look for the file first in the build tree, then in the source tree
2388 + # (if the path is not absolute). The absolute path cannot be DOS-style,
2389 + # because $ac_f cannot contain `:'.
2390 + test -f "$ac_f" ||
2391 + case $ac_f in
2392 + [\\/$]*) false;;
2393 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2394 + esac ||
2395 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2396 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2397 + { (exit 1); exit 1; }; };;
2398 + esac
2399 + ac_file_inputs="$ac_file_inputs $ac_f"
2400 + done
2402 + # Let's still pretend it is `configure' which instantiates (i.e., don't
2403 + # use $as_me), people would be surprised to read:
2404 + # /* config.h. Generated by config.status. */
2405 + configure_input="Generated from "`IFS=:
2406 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2407 + if test x"$ac_file" != x-; then
2408 + configure_input="$ac_file. $configure_input"
2409 + { echo "$as_me:$LINENO: creating $ac_file" >&5
2410 +echo "$as_me: creating $ac_file" >&6;}
2411 + fi
2413 + case $ac_tag in
2414 + *:-:* | *:-) cat >"$tmp/stdin";;
2415 + esac
2416 + ;;
2417 + esac
2419 + ac_dir=`$as_dirname -- "$ac_file" ||
2420 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2421 + X"$ac_file" : 'X\(//\)[^/]' \| \
2422 + X"$ac_file" : 'X\(//\)$' \| \
2423 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2424 +echo X"$ac_file" |
2425 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2426 + s//\1/
2429 + /^X\(\/\/\)[^/].*/{
2430 + s//\1/
2433 + /^X\(\/\/\)$/{
2434 + s//\1/
2437 + /^X\(\/\).*/{
2438 + s//\1/
2441 + s/.*/./; q'`
2442 + { as_dir="$ac_dir"
2443 + case $as_dir in #(
2444 + -*) as_dir=./$as_dir;;
2445 + esac
2446 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2447 + as_dirs=
2448 + while :; do
2449 + case $as_dir in #(
2450 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2451 + *) as_qdir=$as_dir;;
2452 + esac
2453 + as_dirs="'$as_qdir' $as_dirs"
2454 + as_dir=`$as_dirname -- "$as_dir" ||
2455 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2456 + X"$as_dir" : 'X\(//\)[^/]' \| \
2457 + X"$as_dir" : 'X\(//\)$' \| \
2458 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2459 +echo X"$as_dir" |
2460 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2461 + s//\1/
2464 + /^X\(\/\/\)[^/].*/{
2465 + s//\1/
2468 + /^X\(\/\/\)$/{
2469 + s//\1/
2472 + /^X\(\/\).*/{
2473 + s//\1/
2476 + s/.*/./; q'`
2477 + test -d "$as_dir" && break
2478 + done
2479 + test -z "$as_dirs" || eval "mkdir $as_dirs"
2480 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2481 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
2482 + { (exit 1); exit 1; }; }; }
2483 + ac_builddir=.
2485 +case "$ac_dir" in
2486 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2488 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2489 + # A ".." for each directory in $ac_dir_suffix.
2490 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2491 + case $ac_top_builddir_sub in
2492 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2493 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2494 + esac ;;
2495 +esac
2496 +ac_abs_top_builddir=$ac_pwd
2497 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
2498 +# for backward compatibility:
2499 +ac_top_builddir=$ac_top_build_prefix
2501 +case $srcdir in
2502 + .) # We are building in place.
2503 + ac_srcdir=.
2504 + ac_top_srcdir=$ac_top_builddir_sub
2505 + ac_abs_top_srcdir=$ac_pwd ;;
2506 + [\\/]* | ?:[\\/]* ) # Absolute name.
2507 + ac_srcdir=$srcdir$ac_dir_suffix;
2508 + ac_top_srcdir=$srcdir
2509 + ac_abs_top_srcdir=$srcdir ;;
2510 + *) # Relative name.
2511 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2512 + ac_top_srcdir=$ac_top_build_prefix$srcdir
2513 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2514 +esac
2515 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2518 + case $ac_mode in
2519 + :F)
2521 + # CONFIG_FILE
2524 +_ACEOF
2526 +cat >>$CONFIG_STATUS <<\_ACEOF
2527 +# If the template does not know about datarootdir, expand it.
2528 +# FIXME: This hack should be removed a few years after 2.60.
2529 +ac_datarootdir_hack=; ac_datarootdir_seen=
2531 +case `sed -n '/datarootdir/ {
2535 +/@datadir@/p
2536 +/@docdir@/p
2537 +/@infodir@/p
2538 +/@localedir@/p
2539 +/@mandir@/p
2540 +' $ac_file_inputs` in
2541 +*datarootdir*) ac_datarootdir_seen=yes;;
2542 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2543 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2544 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2545 +_ACEOF
2546 +cat >>$CONFIG_STATUS <<_ACEOF
2547 + ac_datarootdir_hack='
2548 + s&@datadir@&$datadir&g
2549 + s&@docdir@&$docdir&g
2550 + s&@infodir@&$infodir&g
2551 + s&@localedir@&$localedir&g
2552 + s&@mandir@&$mandir&g
2553 + s&\\\${datarootdir}&$datarootdir&g' ;;
2554 +esac
2555 +_ACEOF
2557 +# Neutralize VPATH when `$srcdir' = `.'.
2558 +# Shell code in configure.ac might set extrasub.
2559 +# FIXME: do we really want to maintain this feature?
2560 +cat >>$CONFIG_STATUS <<_ACEOF
2561 + sed "$ac_vpsub
2562 +$extrasub
2563 +_ACEOF
2564 +cat >>$CONFIG_STATUS <<\_ACEOF
2566 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2567 +s&@configure_input@&$configure_input&;t t
2568 +s&@top_builddir@&$ac_top_builddir_sub&;t t
2569 +s&@srcdir@&$ac_srcdir&;t t
2570 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
2571 +s&@top_srcdir@&$ac_top_srcdir&;t t
2572 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2573 +s&@builddir@&$ac_builddir&;t t
2574 +s&@abs_builddir@&$ac_abs_builddir&;t t
2575 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2576 +$ac_datarootdir_hack
2577 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2579 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2580 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2581 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2582 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2583 +which seems to be undefined. Please make sure it is defined." >&5
2584 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2585 +which seems to be undefined. Please make sure it is defined." >&2;}
2587 + rm -f "$tmp/stdin"
2588 + case $ac_file in
2589 + -) cat "$tmp/out"; rm -f "$tmp/out";;
2590 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2591 + esac
2592 + ;;
2596 + esac
2598 +done # for ac_tag
2601 +{ (exit 0); exit 0; }
2602 +_ACEOF
2603 +chmod +x $CONFIG_STATUS
2604 +ac_clean_files=$ac_clean_files_save
2607 +# configure is writing to config.log, and then calls config.status.
2608 +# config.status does its own redirection, appending to config.log.
2609 +# Unfortunately, on DOS this fails, as config.log is still kept open
2610 +# by configure, so config.status won't be able to write to it; its
2611 +# output is simply discarded. So we exec the FD to /dev/null,
2612 +# effectively closing config.log, so it can be properly (re)opened and
2613 +# appended to by config.status. When coming back to configure, we
2614 +# need to make the FD available again.
2615 +if test "$no_create" != yes; then
2616 + ac_cs_success=:
2617 + ac_config_status_args=
2618 + test "$silent" = yes &&
2619 + ac_config_status_args="$ac_config_status_args --quiet"
2620 + exec 5>/dev/null
2621 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2622 + exec 5>>config.log
2623 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2624 + # would make configure fail if this is the last instruction.
2625 + $ac_cs_success || { (exit 1); exit 1; }
2628 --- configure.ac 1970-01-01 01:00:00.000000000 +0100
2629 +++ configure.ac 2008-11-09 15:01:34.000000000 +0100
2630 @@ -0,0 +1,14 @@
2631 +AC_PREREQ(2.54)
2632 +AC_INIT([nss], [3.12])
2634 +AC_CONFIG_SRCDIR([mozilla/security/nss/Makefile])
2636 +NSPR_PREFIX=$(pkg-config nspr --variable=prefix)
2637 +AC_SUBST(NSPR_PREFIX)
2639 +AC_CONFIG_FILES([
2640 +Makefile
2641 +nss.pc
2644 +AC_OUTPUT
2645 --- Makefile.in 1970-01-01 01:00:00.000000000 +0100
2646 +++ Makefile.in 2008-11-09 15:03:31.000000000 +0100
2647 @@ -0,0 +1,31 @@
2648 +prefix=@prefix@
2649 +nspr_prefix=@NSPR_PREFIX@
2651 +ARGS = \
2652 + MOZILLA_CLIENT=1 \
2653 + NSPR_INCLUDE_DIR=$(nspr_prefix)/include/nspr \
2654 + NSPR_LIB_DIR=$(nspr_prefix)/lib \
2655 + SOURCE_MD_DIR=$(prefix) \
2656 + DIST=$(prefix) \
2657 + BUILD_OPT=1 \
2658 + NS_USE_GCC=1 \
2659 + NSS_USE_SYSTEM_SQLITE=1 \
2660 + NSS_ENABLE_ECC=1
2662 +all:
2663 + $(MAKE) -C mozilla/security/nss \
2664 + build_coreconf \
2665 + build_dbm \
2666 + all \
2667 + $(ARGS)
2669 +clean:
2670 + $(MAKE) -C mozilla/security/nss clean
2672 +install:
2673 + $(MAKE) -C mozilla/security/nss install $(ARGS)
2674 + -mkdir $(prefix)/include/nss
2675 + install -m 644 -t $(prefix)/include/nss mozilla/dist/public/nss/*
2676 + -rm $(prefix)/lib/libssl.a
2677 + cp nss.pc $(prefix)/lib/pkgconfig/nss.pc
2679 --- nss.pc.in 1970-01-01 01:00:00.000000000 +0100
2680 +++ nss.pc.in 2008-11-09 15:01:43.000000000 +0100
2681 @@ -0,0 +1,11 @@
2682 +prefix=@prefix@
2683 +exec_prefix=${prefix}
2684 +libdir=${exec_prefix}/lib
2685 +includedir=${prefix}/include/nss
2687 +Name: NSS
2688 +Description: Mozilla Network Security Services
2689 +Version: 3.12
2690 +Requires: nspr
2691 +Libs: -L${libdir} -lnss3 -lnssutil3 -lsmime3 -lssl3
2692 +Cflags: -I${includedir}