[sanitycheck] Remove check for db2html
[jhbuild.git] / patches / nss.pkgconfig-and-configure.patch
blob62815aaf5ce0b937c9a95c232227f5aeea10d902
1 --- configure 1970-01-01 01:00:00.000000000 +0100
2 +++ configure 2009-08-21 15:45:07.000000000 +0200
3 @@ -0,0 +1,4380 @@
4 +#! /bin/sh
5 +# Guess values for system-dependent variables and create Makefiles.
6 +# Generated by GNU Autoconf 2.64 for nss 3.12.
7 +#
8 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
10 +# Foundation, Inc.
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 :
21 + emulate sh
22 + NULLCMD=:
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
27 +else
28 + case `(set -o) 2>/dev/null` in #(
29 + *posix*) :
30 + set -o posix ;; #(
31 + *) :
32 + ;;
33 +esac
34 +fi
37 +as_nl='
39 +export as_nl
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'
53 +else
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'
57 + else
58 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 + as_echo_n_body='eval
60 + arg=$1;
61 + case $arg in #(
62 + *"$as_nl"*)
63 + expr "X$arg" : "X\\(.*\\)$as_nl";
64 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 + esac;
66 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 + '
68 + export as_echo_n_body
69 + as_echo_n='sh -c $as_echo_n_body as_echo'
70 + fi
71 + export as_echo_body
72 + as_echo='sh -c $as_echo_body as_echo'
73 +fi
75 +# The user is always right.
76 +if test "${PATH_SEPARATOR+set}" != set; then
77 + PATH_SEPARATOR=:
78 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 + PATH_SEPARATOR=';'
81 + }
82 +fi
85 +# IFS
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.)
90 +IFS=" "" $as_nl"
92 +# Find who we are. Look in the path if we contain no directory separator.
93 +case $0 in #((
94 + *[\\/]* ) as_myself=$0 ;;
95 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 +for as_dir in $PATH
97 +do
98 + IFS=$as_save_IFS
99 + test -z "$as_dir" && as_dir=.
100 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 + done
102 +IFS=$as_save_IFS
104 + ;;
105 +esac
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
109 + as_myself=$0
111 +if test ! -f "$as_myself"; then
112 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 + exit 1
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 || :
123 +done
124 +PS1='$ '
125 +PS2='> '
126 +PS4='+ '
128 +# NLS nuisances.
129 +LC_ALL=C
130 +export LC_ALL
131 +LANGUAGE=C
132 +export LANGUAGE
134 +# CDPATH.
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 :
139 + emulate sh
140 + NULLCMD=:
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
145 +else
146 + case \`(set -o) 2>/dev/null\` in #(
147 + *posix*) :
148 + set -o posix ;; #(
149 + *) :
150 + ;;
151 +esac
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; }
160 +exitcode=0
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 :
167 +else
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
178 +else
179 + as_have_required=no
181 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 +else
184 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 +as_found=false
186 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 + IFS=$as_save_IFS
189 + test -z "$as_dir" && as_dir=.
190 + as_found=:
191 + case $as_dir in #(
192 + /*)
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 :
200 + break 2
203 + done;;
204 + esac
205 + as_found=false
206 +done
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
210 +fi; }
211 +IFS=$as_save_IFS
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.
218 + BASH_ENV=/dev/null
219 + ENV=/dev/null
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."
231 + else
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."
236 + fi
237 + exit 1
241 +SHELL=${CONFIG_SHELL-/bin/sh}
242 +export SHELL
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 +## --------------------- ##
250 +# as_fn_unset VAR
251 +# ---------------
252 +# Portably unset VAR.
253 +as_fn_unset ()
255 + { eval $1=; unset $1;}
257 +as_unset=as_fn_unset
259 +# as_fn_set_status STATUS
260 +# -----------------------
261 +# Set $? to STATUS, without forking.
262 +as_fn_set_status ()
264 + return $1
265 +} # as_fn_set_status
267 +# as_fn_exit STATUS
268 +# -----------------
269 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
270 +as_fn_exit ()
272 + set +e
273 + as_fn_set_status $1
274 + exit $1
275 +} # as_fn_exit
277 +# as_fn_mkdir_p
278 +# -------------
279 +# Create "$as_dir" as a directory, including parents if necessary.
280 +as_fn_mkdir_p ()
283 + case $as_dir in #(
284 + -*) as_dir=./$as_dir;;
285 + esac
286 + test -d "$as_dir" || eval $as_mkdir_p || {
287 + as_dirs=
288 + while :; do
289 + case $as_dir in #(
290 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 + *) as_qdir=$as_dir;;
292 + esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
301 + s//\1/
304 + /^X\(\/\/\)[^/].*/{
305 + s//\1/
308 + /^X\(\/\/\)$/{
309 + s//\1/
312 + /^X\(\/\).*/{
313 + s//\1/
316 + s/.*/./; q'`
317 + test -d "$as_dir" && break
318 + done
319 + test -z "$as_dirs" || eval "mkdir $as_dirs"
320 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 +} # as_fn_mkdir_p
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
329 +# implementations.
330 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 + eval 'as_fn_append ()
333 + eval $1+=\$2
334 + }'
335 +else
336 + as_fn_append ()
338 + eval $1=\$$1\$2
340 +fi # 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 ()
350 + as_val=$(( $* ))
351 + }'
352 +else
353 + as_fn_arith ()
355 + as_val=`expr "$@" || test $? -eq 1`
357 +fi # as_fn_arith
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.
365 +as_fn_error ()
367 + as_status=$?; test $as_status -eq 0 && as_status=1
368 + if test "$3"; then
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
371 + fi
372 + $as_echo "$as_me: error: $1" >&2
373 + as_fn_exit $as_status
374 +} # as_fn_error
376 +if expr a : '\(a\)' >/dev/null 2>&1 &&
377 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
378 + as_expr=expr
379 +else
380 + as_expr=false
383 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384 + as_basename=basename
385 +else
386 + as_basename=false
389 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
390 + as_dirname=dirname
391 +else
392 + as_dirname=false
395 +as_me=`$as_basename -- "$0" ||
396 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 + X"$0" : 'X\(//\)$' \| \
398 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 +$as_echo X/"$0" |
400 + sed '/^.*\/\([^/][^/]*\)\/*$/{
401 + s//\1/
404 + /^X\/\(\/\/\)$/{
405 + s//\1/
408 + /^X\/\(\/\).*/{
409 + s//\1/
412 + s/.*/./; q'`
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. :-)
427 + sed -n '
429 + /[$]LINENO/=
430 + ' <$as_myself |
431 + sed '
432 + s/[$]LINENO.*/&-/
433 + t lineno
435 + :lineno
437 + :loop
438 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 + t loop
440 + s/-\n.*//
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.
450 + exit
453 +ECHO_C= ECHO_N= ECHO_T=
454 +case `echo -n x` in #(((((
455 +-n*)
456 + case `echo 'xy\c'` in
457 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 + xy) ECHO_C='\c';;
459 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
460 + ECHO_T=' ';;
461 + esac;;
463 + ECHO_N='-n';;
464 +esac
466 +rm -f conf$$ conf$$.exe conf$$.file
467 +if test -d conf$$.dir; then
468 + rm -f conf$$.dir/conf$$.file
469 +else
470 + rm -f conf$$.dir
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
475 + as_ln_s='ln -s'
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 ||
481 + as_ln_s='cp -p'
482 + elif ln conf$$.file conf$$ 2>/dev/null; then
483 + as_ln_s=ln
484 + else
485 + as_ln_s='cp -p'
486 + fi
487 +else
488 + as_ln_s='cp -p'
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"'
495 +else
496 + test -d ./-p && rmdir ./-p
497 + as_mkdir_p=false
500 +if test -x / >/dev/null 2>&1; then
501 + as_test_x='test -x'
502 +else
503 + if ls -dL / >/dev/null 2>&1; then
504 + as_ls_L_option=L
505 + else
506 + as_ls_L_option=
507 + fi
508 + as_test_x='
509 + eval sh -c '\''
510 + if test -d "$1"; then
511 + test -d "$1/.";
512 + else
513 + case $1 in #(
514 + -*)set "./$1";;
515 + esac;
516 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 + ???[sx]*):;;*)false;;esac;fi
518 + '\'' sh
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
532 +# Name of the host.
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`
538 +# Initializations.
540 +ac_default_prefix=/usr/local
541 +ac_clean_files=
542 +ac_config_libobj_dir=.
543 +LIBOBJS=
544 +cross_compiling=no
545 +subdirs=
546 +MFLAGS=
547 +MAKEFLAGS=
549 +# Identity of this package.
550 +PACKAGE_NAME='nss'
551 +PACKAGE_TARNAME='nss'
552 +PACKAGE_VERSION='3.12'
553 +PACKAGE_STRING='nss 3.12'
554 +PACKAGE_BUGREPORT=''
555 +PACKAGE_URL=''
557 +ac_unique_file="mozilla/security/nss/Makefile"
558 +# Factoring default headers for most tests.
559 +ac_includes_default="\
560 +#include <stdio.h>
561 +#ifdef HAVE_SYS_TYPES_H
562 +# include <sys/types.h>
563 +#endif
564 +#ifdef HAVE_SYS_STAT_H
565 +# include <sys/stat.h>
566 +#endif
567 +#ifdef STDC_HEADERS
568 +# include <stdlib.h>
569 +# include <stddef.h>
570 +#else
571 +# ifdef HAVE_STDLIB_H
572 +# include <stdlib.h>
573 +# endif
574 +#endif
575 +#ifdef HAVE_STRING_H
576 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 +# include <memory.h>
578 +# endif
579 +# include <string.h>
580 +#endif
581 +#ifdef HAVE_STRINGS_H
582 +# include <strings.h>
583 +#endif
584 +#ifdef HAVE_INTTYPES_H
585 +# include <inttypes.h>
586 +#endif
587 +#ifdef HAVE_STDINT_H
588 +# include <stdint.h>
589 +#endif
590 +#ifdef HAVE_UNISTD_H
591 +# include <unistd.h>
592 +#endif"
594 +ac_subst_vars='LTLIBOBJS
595 +LIBOBJS
596 +USE_64
597 +EGREP
598 +GREP
599 +CPP
600 +OBJEXT
601 +EXEEXT
602 +ac_ct_CC
603 +CPPFLAGS
604 +LDFLAGS
605 +CFLAGS
607 +NSPR_LIBDIR
608 +NSPR_PREFIX
609 +target_alias
610 +host_alias
611 +build_alias
612 +LIBS
613 +ECHO_T
614 +ECHO_N
615 +ECHO_C
616 +DEFS
617 +mandir
618 +localedir
619 +libdir
620 +psdir
621 +pdfdir
622 +dvidir
623 +htmldir
624 +infodir
625 +docdir
626 +oldincludedir
627 +includedir
628 +localstatedir
629 +sharedstatedir
630 +sysconfdir
631 +datadir
632 +datarootdir
633 +libexecdir
634 +sbindir
635 +bindir
636 +program_transform_name
637 +prefix
638 +exec_prefix
639 +PACKAGE_URL
640 +PACKAGE_BUGREPORT
641 +PACKAGE_STRING
642 +PACKAGE_VERSION
643 +PACKAGE_TARNAME
644 +PACKAGE_NAME
645 +PATH_SEPARATOR
646 +SHELL'
647 +ac_subst_files=''
648 +ac_user_opts='
649 +enable_option_checking
651 + ac_precious_vars='build_alias
652 +host_alias
653 +target_alias
655 +CFLAGS
656 +LDFLAGS
657 +LIBS
658 +CPPFLAGS
659 +CPP'
662 +# Initialize some variables set by options.
663 +ac_init_help=
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
670 +exec_prefix=NONE
671 +no_create=
672 +no_recursion=
673 +prefix=NONE
674 +program_prefix=NONE
675 +program_suffix=NONE
676 +program_transform_name=s,x,x,
677 +silent=
678 +site=
679 +srcdir=
680 +verbose=
681 +x_includes=NONE
682 +x_libraries=NONE
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'
702 +htmldir='${docdir}'
703 +dvidir='${docdir}'
704 +pdfdir='${docdir}'
705 +psdir='${docdir}'
706 +libdir='${exec_prefix}/lib'
707 +localedir='${datarootdir}/locale'
708 +mandir='${datarootdir}/man'
710 +ac_prev=
711 +ac_dashdash=
712 +for ac_option
714 + # If the previous option needs an argument, assign it.
715 + if test -n "$ac_prev"; then
716 + eval $ac_prev=\$ac_option
717 + ac_prev=
718 + continue
719 + fi
721 + case $ac_option in
722 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 + *) ac_optarg=yes ;;
724 + esac
726 + # Accept the important Cygnus configure options, so we can diagnose typos.
728 + case $ac_dashdash$ac_option in
729 + --)
730 + ac_dashdash=yes ;;
732 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
733 + ac_prev=bindir ;;
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)
753 + ac_prev=datadir ;;
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
772 + *"
773 +"enable_$ac_useropt"
774 +"*) ;;
775 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
776 + ac_unrecognized_sep=', ';;
777 + esac
778 + eval enable_$ac_useropt=no ;;
780 + -docdir | --docdir | --docdi | --doc | --do)
781 + ac_prev=docdir ;;
782 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 + docdir=$ac_optarg ;;
785 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786 + ac_prev=dvidir ;;
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
798 + *"
799 +"enable_$ac_useropt"
800 +"*) ;;
801 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
802 + ac_unrecognized_sep=', ';;
803 + esac
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.
817 + with_gas=yes ;;
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)
832 + ac_prev=htmldir ;;
833 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
834 + | --ht=*)
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)
845 + ac_prev=infodir ;;
846 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
847 + infodir=$ac_optarg ;;
849 + -libdir | --libdir | --libdi | --libd)
850 + ac_prev=libdir ;;
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)
874 + ac_prev=mandir ;;
875 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876 + mandir=$ac_optarg ;;
878 + -nfp | --nfp | --nf)
879 + # Obsolete; use --without-fp.
880 + with_fp=no ;;
882 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
883 + | --no-cr | --no-c | -n)
884 + no_create=yes ;;
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)
900 + ac_prev=prefix ;;
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)
936 + ac_prev=pdfdir ;;
937 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 + pdfdir=$ac_optarg ;;
940 + -psdir | --psdir | --psdi | --psd | --ps)
941 + ac_prev=psdir ;;
942 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 + psdir=$ac_optarg ;;
945 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
946 + | -silent | --silent | --silen | --sile | --sil)
947 + silent=yes ;;
949 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
950 + ac_prev=sbindir ;;
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 \
958 + | --sha | --sh)
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)
967 + ac_prev=site ;;
968 + -site=* | --site=* | --sit=*)
969 + site=$ac_optarg ;;
971 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
972 + ac_prev=srcdir ;;
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)
989 + verbose=yes ;;
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
1002 + *"
1003 +"with_$ac_useropt"
1004 +"*) ;;
1005 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1006 + ac_unrecognized_sep=', ';;
1007 + esac
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
1018 + *"
1019 +"with_$ac_useropt"
1020 +"*) ;;
1021 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1022 + ac_unrecognized_sep=', ';;
1023 + esac
1024 + eval with_$ac_useropt=no ;;
1026 + --x)
1027 + # Obsolete; use --with-x.
1028 + with_x=yes ;;
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."
1046 + ;;
1048 + *=*)
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'" ;;
1054 + esac
1055 + eval $ac_envvar=\$ac_optarg
1056 + export $ac_envvar ;;
1058 + *)
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}
1064 + ;;
1066 + esac
1067 +done
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
1076 + no) ;;
1077 + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1078 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1079 + esac
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.
1090 + case $ac_val in
1091 + */ )
1092 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1093 + eval $ac_var=\$ac_val;;
1094 + esac
1095 + # Be sure to have absolute directory names.
1096 + case $ac_val in
1097 + [\\/$]* | ?:[\\/]* ) continue;;
1098 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1099 + esac
1100 + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1101 +done
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.
1106 +build=$build_alias
1107 +host=$host_alias
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
1118 + fi
1121 +ac_tool_prefix=
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1146 + s//\1/
1149 + /^X\(\/\/\)[^/].*/{
1150 + s//\1/
1153 + /^X\(\/\/\)$/{
1154 + s//\1/
1157 + /^X\(\/\).*/{
1158 + s//\1/
1161 + s/.*/./; q'`
1162 + srcdir=$ac_confdir
1163 + if test ! -r "$srcdir/$ac_unique_file"; then
1164 + srcdir=..
1165 + fi
1166 +else
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"
1174 +ac_abs_confdir=`(
1175 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1176 + pwd)`
1177 +# When building in place, set srcdir=.
1178 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1179 + srcdir=.
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.
1184 +case $srcdir in
1185 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1186 +esac
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}
1192 +done
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.
1200 + cat <<_ACEOF
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.
1210 +Configuration:
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
1225 + [PREFIX]
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]
1254 +_ACEOF
1256 + cat <<\_ACEOF
1257 +_ACEOF
1260 +if test -n "$ac_init_help"; then
1261 + case $ac_init_help in
1262 + short | recursive ) echo "Configuration of nss 3.12:";;
1263 + esac
1264 + cat <<\_ACEOF
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.
1280 +_ACEOF
1281 +ac_status=$?
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"; } ||
1289 + continue
1290 + ac_builddir=.
1292 +case "$ac_dir" in
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/ ;;
1301 + esac ;;
1302 +esac
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
1308 +case $srcdir in
1309 + .) # We are building in place.
1310 + ac_srcdir=.
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 ;;
1321 +esac
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
1327 + echo &&
1328 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329 + elif test -f "$ac_srcdir/configure"; then
1330 + echo &&
1331 + $SHELL "$ac_srcdir/configure" --help=recursive
1332 + else
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; }
1336 + done
1339 +test -n "$ac_init_help" && exit $ac_status
1340 +if $ac_init_version; then
1341 + cat <<\_ACEOF
1342 +nss configure 3.12
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.
1348 +_ACEOF
1349 + exit
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;;
1367 +esac
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
1371 + ac_status=$?
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
1376 + fi
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 :
1382 + ac_retval=0
1383 +else
1384 + $as_echo "$as_me: failed program was:" >&5
1385 +sed 's/^/| /' conftest.$ac_ext >&5
1387 + ac_retval=1
1389 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1390 + return $ac_retval
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.
1398 +ac_fn_c_try_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;;
1405 +esac
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
1409 + ac_status=$?
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;;
1415 +esac
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
1419 + ac_status=$?
1420 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 + test $ac_status = 0; }; }; then :
1422 + ac_retval=0
1423 +else
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;}
1432 + return $ac_retval
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
1440 +# computed
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. */
1449 +int
1450 +main ()
1452 +static int test_array [1 - 2 * !(($2) >= 0)];
1453 +test_array [0] = 0
1456 + return 0;
1458 +_ACEOF
1459 +if ac_fn_c_try_compile "$LINENO"; then :
1460 + ac_lo=0 ac_mid=0
1461 + while :; do
1462 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1463 +/* end confdefs.h. */
1465 +int
1466 +main ()
1468 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1469 +test_array [0] = 0
1472 + return 0;
1474 +_ACEOF
1475 +if ac_fn_c_try_compile "$LINENO"; then :
1476 + ac_hi=$ac_mid; break
1477 +else
1478 + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1479 + if test $ac_lo -le $ac_mid; then
1480 + ac_lo= ac_hi=
1481 + break
1482 + fi
1483 + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1485 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1486 + done
1487 +else
1488 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1489 +/* end confdefs.h. */
1491 +int
1492 +main ()
1494 +static int test_array [1 - 2 * !(($2) < 0)];
1495 +test_array [0] = 0
1498 + return 0;
1500 +_ACEOF
1501 +if ac_fn_c_try_compile "$LINENO"; then :
1502 + ac_hi=-1 ac_mid=-1
1503 + while :; do
1504 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1505 +/* end confdefs.h. */
1507 +int
1508 +main ()
1510 +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1511 +test_array [0] = 0
1514 + return 0;
1516 +_ACEOF
1517 +if ac_fn_c_try_compile "$LINENO"; then :
1518 + ac_lo=$ac_mid; break
1519 +else
1520 + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1521 + if test $ac_mid -le $ac_hi; then
1522 + ac_lo= ac_hi=
1523 + break
1524 + fi
1525 + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1527 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1528 + done
1529 +else
1530 + ac_lo= ac_hi=
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. */
1541 +int
1542 +main ()
1544 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1545 +test_array [0] = 0
1548 + return 0;
1550 +_ACEOF
1551 +if ac_fn_c_try_compile "$LINENO"; then :
1552 + ac_hi=$ac_mid
1553 +else
1554 + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1556 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1557 +done
1558 +case $ac_lo in #((
1559 +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1560 +'') ac_retval=1 ;;
1561 +esac
1562 + else
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; }
1568 +#include <stdio.h>
1569 +#include <stdlib.h>
1570 +int
1571 +main ()
1574 + FILE *f = fopen ("conftest.val", "w");
1575 + if (! f)
1576 + return 1;
1577 + if (($2) < 0)
1579 + long int i = longval ();
1580 + if (i != ($2))
1581 + return 1;
1582 + fprintf (f, "%ld", i);
1584 + else
1586 + unsigned long int i = ulongval ();
1587 + if (i != ($2))
1588 + return 1;
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;
1596 + return 0;
1598 +_ACEOF
1599 +if ac_fn_c_try_run "$LINENO"; then :
1600 + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1601 +else
1602 + ac_retval=1
1604 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1605 + conftest.$ac_objext conftest.beam conftest.$ac_ext
1606 +rm -f conftest.val
1608 + fi
1609 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610 + return $ac_retval
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.
1617 +ac_fn_c_try_cpp ()
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;;
1624 +esac
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
1628 + ac_status=$?
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
1633 + fi
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
1638 + }; then :
1639 + ac_retval=0
1640 +else
1641 + $as_echo "$as_me: failed program was:" >&5
1642 +sed 's/^/| /' conftest.$ac_ext >&5
1644 + ac_retval=1
1646 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1647 + return $ac_retval
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
1662 +else
1663 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664 +/* end confdefs.h. */
1666 +#include <$2>
1667 +_ACEOF
1668 +if ac_fn_c_try_compile "$LINENO"; then :
1669 + eval "$3=yes"
1670 +else
1671 + eval "$3=no"
1673 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1675 +eval ac_res=\$$3
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
1688 + $ $0 $@
1690 +_ACEOF
1691 +exec 5>>config.log
1693 +cat <<_ASUNAME
1694 +## --------- ##
1695 +## Platform. ##
1696 +## --------- ##
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`
1715 +_ASUNAME
1717 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 +for as_dir in $PATH
1720 + IFS=$as_save_IFS
1721 + test -z "$as_dir" && as_dir=.
1722 + $as_echo "PATH: $as_dir"
1723 + done
1724 +IFS=$as_save_IFS
1726 +} >&5
1728 +cat >&5 <<_ACEOF
1731 +## ----------- ##
1732 +## Core tests. ##
1733 +## ----------- ##
1735 +_ACEOF
1738 +# Keep a trace of the command line.
1739 +# Strip out --no-create and --no-recursion so they do not pile up.
1740 +# Strip out --silent because we don't want to record it for future runs.
1741 +# Also quote any args containing shell meta-characters.
1742 +# Make two passes to allow for proper duplicate-argument suppression.
1743 +ac_configure_args=
1744 +ac_configure_args0=
1745 +ac_configure_args1=
1746 +ac_must_keep_next=false
1747 +for ac_pass in 1 2
1749 + for ac_arg
1750 + do
1751 + case $ac_arg in
1752 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1753 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1754 + | -silent | --silent | --silen | --sile | --sil)
1755 + continue ;;
1756 + *\'*)
1757 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1758 + esac
1759 + case $ac_pass in
1760 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1761 + 2)
1762 + as_fn_append ac_configure_args1 " '$ac_arg'"
1763 + if test $ac_must_keep_next = true; then
1764 + ac_must_keep_next=false # Got value, back to normal.
1765 + else
1766 + case $ac_arg in
1767 + *=* | --config-cache | -C | -disable-* | --disable-* \
1768 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1769 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1770 + | -with-* | --with-* | -without-* | --without-* | --x)
1771 + case "$ac_configure_args0 " in
1772 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1773 + esac
1774 + ;;
1775 + -* ) ac_must_keep_next=true ;;
1776 + esac
1777 + fi
1778 + as_fn_append ac_configure_args " '$ac_arg'"
1779 + ;;
1780 + esac
1781 + done
1782 +done
1783 +{ ac_configure_args0=; unset ac_configure_args0;}
1784 +{ ac_configure_args1=; unset ac_configure_args1;}
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.
1794 + echo
1796 + cat <<\_ASBOX
1797 +## ---------------- ##
1798 +## Cache variables. ##
1799 +## ---------------- ##
1800 +_ASBOX
1801 + echo
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 #(
1807 + *${as_nl}*)
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;} ;;
1811 + esac
1812 + case $ac_var in #(
1813 + _ | IFS | as_nl) ;; #(
1814 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1815 + *) { eval $ac_var=; unset $ac_var;} ;;
1816 + esac ;;
1817 + esac
1818 + done
1819 + (set) 2>&1 |
1820 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1821 + *${as_nl}ac_space=\ *)
1822 + sed -n \
1823 + "s/'\''/'\''\\\\'\'''\''/g;
1824 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 + ;; #(
1826 + *)
1827 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1828 + ;;
1829 + esac |
1830 + sort
1832 + echo
1834 + cat <<\_ASBOX
1835 +## ----------------- ##
1836 +## Output variables. ##
1837 +## ----------------- ##
1838 +_ASBOX
1839 + echo
1840 + for ac_var in $ac_subst_vars
1841 + do
1842 + eval ac_val=\$$ac_var
1843 + case $ac_val in
1844 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1845 + esac
1846 + $as_echo "$ac_var='\''$ac_val'\''"
1847 + done | sort
1848 + echo
1850 + if test -n "$ac_subst_files"; then
1851 + cat <<\_ASBOX
1852 +## ------------------- ##
1853 +## File substitutions. ##
1854 +## ------------------- ##
1855 +_ASBOX
1856 + echo
1857 + for ac_var in $ac_subst_files
1858 + do
1859 + eval ac_val=\$$ac_var
1860 + case $ac_val in
1861 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1862 + esac
1863 + $as_echo "$ac_var='\''$ac_val'\''"
1864 + done | sort
1865 + echo
1866 + fi
1868 + if test -s confdefs.h; then
1869 + cat <<\_ASBOX
1870 +## ----------- ##
1871 +## confdefs.h. ##
1872 +## ----------- ##
1873 +_ASBOX
1874 + echo
1875 + cat confdefs.h
1876 + echo
1877 + fi
1878 + test "$ac_signal" != 0 &&
1879 + $as_echo "$as_me: caught signal $ac_signal"
1880 + $as_echo "$as_me: exit $exit_status"
1881 + } >&5
1882 + rm -f core *.core core.conftest.* &&
1883 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884 + exit $exit_status
1885 +' 0
1886 +for ac_signal in 1 2 13 15; do
1887 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1888 +done
1889 +ac_signal=0
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"
1900 +_ACEOF
1902 +cat >>confdefs.h <<_ACEOF
1903 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 +_ACEOF
1906 +cat >>confdefs.h <<_ACEOF
1907 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1908 +_ACEOF
1910 +cat >>confdefs.h <<_ACEOF
1911 +#define PACKAGE_STRING "$PACKAGE_STRING"
1912 +_ACEOF
1914 +cat >>confdefs.h <<_ACEOF
1915 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1916 +_ACEOF
1918 +cat >>confdefs.h <<_ACEOF
1919 +#define PACKAGE_URL "$PACKAGE_URL"
1920 +_ACEOF
1923 +# Let the site file select an alternate cache file if it wants to.
1924 +# Prefer an explicitly selected file to automatically selected ones.
1925 +ac_site_file1=NONE
1926 +ac_site_file2=NONE
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
1932 +else
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
1943 + . "$ac_site_file"
1944 + fi
1945 +done
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";;
1956 + esac
1957 + fi
1958 +else
1959 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1960 +$as_echo "$as_me: creating cache $cache_file" >&6;}
1961 + >$cache_file
1964 +# Check that the precious variables saved in the cache have kept the same
1965 +# value.
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
1973 + set,)
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=: ;;
1977 + ,set)
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=: ;;
1981 + ,);;
1982 + *)
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=:
1991 + else
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
1995 + fi
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;}
2000 + fi;;
2001 + esac
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 ;;
2007 + esac
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'" ;;
2011 + esac
2012 + fi
2013 +done
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 +## -------------------- ##
2025 +ac_ext=c
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)
2040 +ac_ext=c
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
2052 +else
2053 + if test -n "$CC"; then
2054 + ac_cv_prog_CC="$CC" # Let the user override the test.
2055 +else
2056 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 +for as_dir in $PATH
2059 + IFS=$as_save_IFS
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
2065 + break 2
2066 + fi
2067 +done
2068 + done
2069 +IFS=$as_save_IFS
2073 +CC=$ac_cv_prog_CC
2074 +if test -n "$CC"; then
2075 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2076 +$as_echo "$CC" >&6; }
2077 +else
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
2085 + ac_ct_CC=$CC
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
2092 +else
2093 + if test -n "$ac_ct_CC"; then
2094 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095 +else
2096 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 +for as_dir in $PATH
2099 + IFS=$as_save_IFS
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
2105 + break 2
2106 + fi
2107 +done
2108 + done
2109 +IFS=$as_save_IFS
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; }
2117 +else
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
2123 + CC=""
2124 + else
2125 + case $cross_compiling:$ac_tool_warned in
2126 +yes:)
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 ;;
2130 +esac
2131 + CC=$ac_ct_CC
2132 + fi
2133 +else
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
2145 +else
2146 + if test -n "$CC"; then
2147 + ac_cv_prog_CC="$CC" # Let the user override the test.
2148 +else
2149 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 +for as_dir in $PATH
2152 + IFS=$as_save_IFS
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
2158 + break 2
2159 + fi
2160 +done
2161 + done
2162 +IFS=$as_save_IFS
2166 +CC=$ac_cv_prog_CC
2167 +if test -n "$CC"; then
2168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2169 +$as_echo "$CC" >&6; }
2170 +else
2171 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2172 +$as_echo "no" >&6; }
2176 + fi
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
2185 +else
2186 + if test -n "$CC"; then
2187 + ac_cv_prog_CC="$CC" # Let the user override the test.
2188 +else
2189 + ac_prog_rejected=no
2190 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 +for as_dir in $PATH
2193 + IFS=$as_save_IFS
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
2199 + continue
2200 + fi
2201 + ac_cv_prog_CC="cc"
2202 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 + break 2
2204 + fi
2205 +done
2206 + done
2207 +IFS=$as_save_IFS
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
2212 + shift
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.
2217 + shift
2218 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2219 + fi
2223 +CC=$ac_cv_prog_CC
2224 +if test -n "$CC"; then
2225 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2226 +$as_echo "$CC" >&6; }
2227 +else
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
2237 + do
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
2244 +else
2245 + if test -n "$CC"; then
2246 + ac_cv_prog_CC="$CC" # Let the user override the test.
2247 +else
2248 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 +for as_dir in $PATH
2251 + IFS=$as_save_IFS
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
2257 + break 2
2258 + fi
2259 +done
2260 + done
2261 +IFS=$as_save_IFS
2265 +CC=$ac_cv_prog_CC
2266 +if test -n "$CC"; then
2267 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2268 +$as_echo "$CC" >&6; }
2269 +else
2270 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2271 +$as_echo "no" >&6; }
2275 + test -n "$CC" && break
2276 + done
2278 +if test -z "$CC"; then
2279 + ac_ct_CC=$CC
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
2288 +else
2289 + if test -n "$ac_ct_CC"; then
2290 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 +else
2292 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 +for as_dir in $PATH
2295 + IFS=$as_save_IFS
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
2301 + break 2
2302 + fi
2303 +done
2304 + done
2305 +IFS=$as_save_IFS
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; }
2313 +else
2314 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2315 +$as_echo "no" >&6; }
2319 + test -n "$ac_ct_CC" && break
2320 +done
2322 + if test "x$ac_ct_CC" = x; then
2323 + CC=""
2324 + else
2325 + case $cross_compiling:$ac_tool_warned in
2326 +yes:)
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 ;;
2330 +esac
2331 + CC=$ac_ct_CC
2332 + fi
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
2345 +set X $ac_compile
2346 +ac_compiler=$2
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;;
2352 +esac
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
2356 + ac_status=$?
2357 + if test -s conftest.err; then
2358 + sed '10a\
2359 +... rest of stderr output deleted ...
2360 + 10q' conftest.err >conftest.er1
2361 + cat conftest.er1 >&5
2362 + rm -f conftest.er1 conftest.err
2363 + fi
2364 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 + test $ac_status = 0; }
2366 +done
2368 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 +/* end confdefs.h. */
2370 +#include <stdio.h>
2371 +int
2372 +main ()
2374 +FILE *f = fopen ("conftest.out", "w");
2375 + return ferror (f) || fclose (f) != 0;
2378 + return 0;
2380 +_ACEOF
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
2385 +# of exeext.
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.*"
2393 +ac_rmfiles=
2394 +for ac_file in $ac_files
2396 + case $ac_file in
2397 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2398 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2399 + esac
2400 +done
2401 +rm -f $ac_rmfiles
2403 +if { { ac_try="$ac_link_default"
2404 +case "(($ac_try" in
2405 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 + *) ac_try_echo=$ac_try;;
2407 +esac
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
2411 + ac_status=$?
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
2418 +# Autoconf.
2419 +for ac_file in $ac_files ''
2421 + test -f "$ac_file" || continue
2422 + case $ac_file in
2423 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2424 + ;;
2425 + [ab].out )
2426 + # We found the default executable, but exeext='' is most
2427 + # certainly right.
2428 + break;;
2429 + *.* )
2430 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2431 + then :; else
2432 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2433 + fi
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.
2439 + break;;
2440 + * )
2441 + break;;
2442 + esac
2443 +done
2444 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2446 +else
2447 + ac_file=''
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;;
2473 +esac
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
2477 + ac_status=$?
2478 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2479 + test $ac_status = 0; }; }; then
2480 + cross_compiling=no
2481 + else
2482 + if test "$cross_compiling" = maybe; then
2483 + cross_compiling=yes
2484 + else
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; }
2490 + fi
2491 + fi
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;;
2511 +esac
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
2515 + ac_status=$?
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
2521 +# `rm'.
2522 +for ac_file in conftest.exe conftest conftest.*; do
2523 + test -f "$ac_file" || continue
2524 + case $ac_file in
2525 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2526 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2527 + break;;
2528 + * ) break;;
2529 + esac
2530 +done
2531 +else
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
2543 +ac_exeext=$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
2548 +else
2549 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 +/* end confdefs.h. */
2552 +int
2553 +main ()
2557 + return 0;
2559 +_ACEOF
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;;
2565 +esac
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
2569 + ac_status=$?
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;
2574 + case $ac_file in
2575 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2576 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2577 + break;;
2578 + esac
2579 +done
2580 +else
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
2594 +ac_objext=$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
2599 +else
2600 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 +/* end confdefs.h. */
2603 +int
2604 +main ()
2606 +#ifndef __GNUC__
2607 + choke me
2608 +#endif
2611 + return 0;
2613 +_ACEOF
2614 +if ac_fn_c_try_compile "$LINENO"; then :
2615 + ac_compiler_gnu=yes
2616 +else
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
2626 + GCC=yes
2627 +else
2628 + GCC=
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
2636 +else
2637 + ac_save_c_werror_flag=$ac_c_werror_flag
2638 + ac_c_werror_flag=yes
2639 + ac_cv_prog_cc_g=no
2640 + CFLAGS="-g"
2641 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642 +/* end confdefs.h. */
2644 +int
2645 +main ()
2649 + return 0;
2651 +_ACEOF
2652 +if ac_fn_c_try_compile "$LINENO"; then :
2653 + ac_cv_prog_cc_g=yes
2654 +else
2655 + CFLAGS=""
2656 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 +/* end confdefs.h. */
2659 +int
2660 +main ()
2664 + return 0;
2666 +_ACEOF
2667 +if ac_fn_c_try_compile "$LINENO"; then :
2669 +else
2670 + ac_c_werror_flag=$ac_save_c_werror_flag
2671 + CFLAGS="-g"
2672 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 +/* end confdefs.h. */
2675 +int
2676 +main ()
2680 + return 0;
2682 +_ACEOF
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
2699 + CFLAGS="-g -O2"
2700 + else
2701 + CFLAGS="-g"
2702 + fi
2703 +else
2704 + if test "$GCC" = yes; then
2705 + CFLAGS="-O2"
2706 + else
2707 + CFLAGS=
2708 + fi
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
2714 +else
2715 + ac_cv_prog_cc_c89=no
2716 +ac_save_CC=$CC
2717 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 +/* end confdefs.h. */
2719 +#include <stdarg.h>
2720 +#include <stdio.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)
2727 + char **p;
2728 + int i;
2730 + return p[i];
2732 +static char *f (char * (*g) (char **, int), char **p, ...)
2734 + char *s;
2735 + va_list v;
2736 + va_start (v,p);
2737 + s = g (p, va_arg (v,int));
2738 + va_end (v);
2739 + return s;
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. */
2753 +#define FOO(x) 'x'
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);
2760 +int argc;
2761 +char **argv;
2762 +int
2763 +main ()
2765 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2767 + return 0;
2769 +_ACEOF
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
2779 +done
2780 +rm -f conftest.$ac_ext
2781 +CC=$ac_save_CC
2784 +# AC_CACHE_VAL
2785 +case "x$ac_cv_prog_cc_c89" in
2786 + x)
2787 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2788 +$as_echo "none needed" >&6; } ;;
2789 + xno)
2790 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2791 +$as_echo "unsupported" >&6; } ;;
2792 + *)
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; } ;;
2796 +esac
2797 +if test "x$ac_cv_prog_cc_c89" != xno; then :
2801 +ac_ext=c
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
2808 +ac_ext=c
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
2817 + CPP=
2819 +if test -z "$CPP"; then
2820 + if test "${ac_cv_prog_CPP+set}" = set; then :
2821 + $as_echo_n "(cached) " >&6
2822 +else
2823 + # Double quotes because CPP needs to be expanded
2824 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2825 + do
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. */
2837 +#ifdef __STDC__
2838 +# include <limits.h>
2839 +#else
2840 +# include <assert.h>
2841 +#endif
2842 + Syntax error
2843 +_ACEOF
2844 +if ac_fn_c_try_cpp "$LINENO"; then :
2846 +else
2847 + # Broken: fails on valid input.
2848 +continue
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>
2857 +_ACEOF
2858 +if ac_fn_c_try_cpp "$LINENO"; then :
2859 + # Broken: success on invalid input.
2860 +continue
2861 +else
2862 + # Passes both tests.
2863 +ac_preproc_ok=:
2864 +break
2866 +rm -f conftest.err conftest.$ac_ext
2868 +done
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 :
2872 + break
2875 + done
2876 + ac_cv_prog_CPP=$CPP
2879 + CPP=$ac_cv_prog_CPP
2880 +else
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. */
2896 +#ifdef __STDC__
2897 +# include <limits.h>
2898 +#else
2899 +# include <assert.h>
2900 +#endif
2901 + Syntax error
2902 +_ACEOF
2903 +if ac_fn_c_try_cpp "$LINENO"; then :
2905 +else
2906 + # Broken: fails on valid input.
2907 +continue
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>
2916 +_ACEOF
2917 +if ac_fn_c_try_cpp "$LINENO"; then :
2918 + # Broken: success on invalid input.
2919 +continue
2920 +else
2921 + # Passes both tests.
2922 +ac_preproc_ok=:
2923 +break
2925 +rm -f conftest.err conftest.$ac_ext
2927 +done
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 :
2932 +else
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; }
2939 +ac_ext=c
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
2950 +else
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
2957 + IFS=$as_save_IFS
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
2966 +*GNU*)
2967 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2969 + ac_count=0
2970 + $as_echo_n 0123456789 >"conftest.in"
2971 + while :
2972 + do
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
2984 + fi
2985 + # 10*(2^10) chars as input seems more than enough
2986 + test $ac_count -gt 10 && break
2987 + done
2988 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2989 +esac
2991 + $ac_path_GREP_found && break 3
2992 + done
2993 + done
2994 + done
2995 +IFS=$as_save_IFS
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
2998 + fi
2999 +else
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
3013 +else
3014 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3015 + then ac_cv_path_EGREP="$GREP -E"
3016 + else
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
3023 + IFS=$as_save_IFS
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
3032 +*GNU*)
3033 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3035 + ac_count=0
3036 + $as_echo_n 0123456789 >"conftest.in"
3037 + while :
3038 + do
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
3050 + fi
3051 + # 10*(2^10) chars as input seems more than enough
3052 + test $ac_count -gt 10 && break
3053 + done
3054 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3055 +esac
3057 + $ac_path_EGREP_found && break 3
3058 + done
3059 + done
3060 + done
3061 +IFS=$as_save_IFS
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
3064 + fi
3065 +else
3066 + ac_cv_path_EGREP=$EGREP
3069 + fi
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
3080 +else
3081 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 +/* end confdefs.h. */
3083 +#include <stdlib.h>
3084 +#include <stdarg.h>
3085 +#include <string.h>
3086 +#include <float.h>
3088 +int
3089 +main ()
3093 + return 0;
3095 +_ACEOF
3096 +if ac_fn_c_try_compile "$LINENO"; then :
3097 + ac_cv_header_stdc=yes
3098 +else
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>
3109 +_ACEOF
3110 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3111 + $EGREP "memchr" >/dev/null 2>&1; then :
3113 +else
3114 + ac_cv_header_stdc=no
3116 +rm -f conftest*
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>
3126 +_ACEOF
3127 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3128 + $EGREP "free" >/dev/null 2>&1; then :
3130 +else
3131 + ac_cv_header_stdc=no
3133 +rm -f conftest*
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 :
3141 +else
3142 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 +/* end confdefs.h. */
3144 +#include <ctype.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))
3149 +#else
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))
3155 +#endif
3157 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3158 +int
3159 +main ()
3161 + int i;
3162 + for (i = 0; i < 256; i++)
3163 + if (XOR (islower (i), ISLOWER (i))
3164 + || toupper (i) != TOUPPER (i))
3165 + return 2;
3166 + return 0;
3168 +_ACEOF
3169 +if ac_fn_c_try_run "$LINENO"; then :
3171 +else
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
3191 +do :
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
3199 +_ACEOF
3203 +done
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
3214 +else
3215 + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
3217 +else
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; }; }
3224 + else
3225 + ac_cv_sizeof_long=0
3226 + fi
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
3237 +_ACEOF
3240 +if test x$ac_cv_sizeof_long = x8; then
3241 + USE_64=1
3242 +else
3243 + USE_64=0
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.
3264 +_ACEOF
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 #(
3275 + *${as_nl}*)
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;} ;;
3279 + esac
3280 + case $ac_var in #(
3281 + _ | IFS | as_nl) ;; #(
3282 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3283 + *) { eval $ac_var=; unset $ac_var;} ;;
3284 + esac ;;
3285 + esac
3286 + done
3288 + (set) 2>&1 |
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 \.
3293 + sed -n \
3294 + "s/'/'\\\\''/g;
3295 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3296 + ;; #(
3297 + *)
3298 + # `set' quotes correctly as required by POSIX, so do not add quotes.
3299 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3300 + ;;
3301 + esac |
3302 + sort
3303 +) |
3304 + sed '
3305 + /^ac_cv_env_/b end
3306 + t clear
3307 + :clear
3308 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3309 + t end
3310 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3311 + :end' >>confcache
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
3318 + else
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;}
3321 + fi
3323 +rm -f confcache
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.
3336 +ac_script='
3337 +:mline
3338 +/\\$/{
3340 + s,\\\n,,
3341 + b mline
3343 +t clear
3344 +:clear
3345 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3346 +t quote
3347 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3348 +t quote
3349 +b any
3350 +:quote
3351 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3352 +s/\[/\\&/g
3353 +s/\]/\\&/g
3354 +s/\$/$$/g
3356 +:any
3359 + s/^\n//
3360 + s/\n/ /g
3364 +DEFS=`sed -n "$ac_script" confdefs.h`
3367 +ac_libobjs=
3368 +ac_ltlibobjs=
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'
3377 +done
3378 +LIBOBJS=$ac_libobjs
3380 +LTLIBOBJS=$ac_ltlibobjs
3384 +: ${CONFIG_STATUS=./config.status}
3385 +ac_write_fail=0
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;}
3390 +as_write_fail=0
3391 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3392 +#! $SHELL
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.
3398 +debug=false
3399 +ac_cs_recheck=false
3400 +ac_cs_silent=false
3402 +SHELL=\${CONFIG_SHELL-$SHELL}
3403 +export SHELL
3404 +_ASEOF
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 :
3413 + emulate sh
3414 + NULLCMD=:
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
3419 +else
3420 + case `(set -o) 2>/dev/null` in #(
3421 + *posix*) :
3422 + set -o posix ;; #(
3423 + *) :
3424 + ;;
3425 +esac
3429 +as_nl='
3431 +export as_nl
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'
3445 +else
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'
3449 + else
3450 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3451 + as_echo_n_body='eval
3452 + arg=$1;
3453 + case $arg in #(
3454 + *"$as_nl"*)
3455 + expr "X$arg" : "X\\(.*\\)$as_nl";
3456 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3457 + esac;
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'
3462 + fi
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
3469 + PATH_SEPARATOR=:
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=';'
3477 +# IFS
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.)
3482 +IFS=" "" $as_nl"
3484 +# Find who we are. Look in the path if we contain no directory separator.
3485 +case $0 in #((
3486 + *[\\/]* ) as_myself=$0 ;;
3487 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 +for as_dir in $PATH
3490 + IFS=$as_save_IFS
3491 + test -z "$as_dir" && as_dir=.
3492 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3493 + done
3494 +IFS=$as_save_IFS
3496 + ;;
3497 +esac
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
3501 + as_myself=$0
3503 +if test ! -f "$as_myself"; then
3504 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3505 + exit 1
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 || :
3515 +done
3516 +PS1='$ '
3517 +PS2='> '
3518 +PS4='+ '
3520 +# NLS nuisances.
3521 +LC_ALL=C
3522 +export LC_ALL
3523 +LANGUAGE=C
3524 +export LANGUAGE
3526 +# CDPATH.
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.
3535 +as_fn_error ()
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
3541 + fi
3542 + $as_echo "$as_me: error: $1" >&2
3543 + as_fn_exit $as_status
3544 +} # as_fn_error
3547 +# as_fn_set_status STATUS
3548 +# -----------------------
3549 +# Set $? to STATUS, without forking.
3550 +as_fn_set_status ()
3552 + return $1
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.
3558 +as_fn_exit ()
3560 + set +e
3561 + as_fn_set_status $1
3562 + exit $1
3563 +} # as_fn_exit
3565 +# as_fn_unset VAR
3566 +# ---------------
3567 +# Portably unset VAR.
3568 +as_fn_unset ()
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
3578 +# implementations.
3579 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3580 + eval 'as_fn_append ()
3582 + eval $1+=\$2
3583 + }'
3584 +else
3585 + as_fn_append ()
3587 + eval $1=\$$1\$2
3589 +fi # 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 ()
3599 + as_val=$(( $* ))
3600 + }'
3601 +else
3602 + as_fn_arith ()
3604 + as_val=`expr "$@" || test $? -eq 1`
3606 +fi # as_fn_arith
3609 +if expr a : '\(a\)' >/dev/null 2>&1 &&
3610 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
3611 + as_expr=expr
3612 +else
3613 + as_expr=false
3616 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3617 + as_basename=basename
3618 +else
3619 + as_basename=false
3622 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3623 + as_dirname=dirname
3624 +else
3625 + as_dirname=false
3628 +as_me=`$as_basename -- "$0" ||
3629 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3630 + X"$0" : 'X\(//\)$' \| \
3631 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3632 +$as_echo X/"$0" |
3633 + sed '/^.*\/\([^/][^/]*\)\/*$/{
3634 + s//\1/
3637 + /^X\/\(\/\/\)$/{
3638 + s//\1/
3641 + /^X\/\(\/\).*/{
3642 + s//\1/
3645 + s/.*/./; q'`
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 #(((((
3656 +-n*)
3657 + case `echo 'xy\c'` in
3658 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3659 + xy) ECHO_C='\c';;
3660 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3661 + ECHO_T=' ';;
3662 + esac;;
3664 + ECHO_N='-n';;
3665 +esac
3667 +rm -f conf$$ conf$$.exe conf$$.file
3668 +if test -d conf$$.dir; then
3669 + rm -f conf$$.dir/conf$$.file
3670 +else
3671 + rm -f conf$$.dir
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
3676 + as_ln_s='ln -s'
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 ||
3682 + as_ln_s='cp -p'
3683 + elif ln conf$$.file conf$$ 2>/dev/null; then
3684 + as_ln_s=ln
3685 + else
3686 + as_ln_s='cp -p'
3687 + fi
3688 +else
3689 + as_ln_s='cp -p'
3691 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3692 +rmdir conf$$.dir 2>/dev/null
3695 +# as_fn_mkdir_p
3696 +# -------------
3697 +# Create "$as_dir" as a directory, including parents if necessary.
3698 +as_fn_mkdir_p ()
3701 + case $as_dir in #(
3702 + -*) as_dir=./$as_dir;;
3703 + esac
3704 + test -d "$as_dir" || eval $as_mkdir_p || {
3705 + as_dirs=
3706 + while :; do
3707 + case $as_dir in #(
3708 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3709 + *) as_qdir=$as_dir;;
3710 + esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3719 + s//\1/
3722 + /^X\(\/\/\)[^/].*/{
3723 + s//\1/
3726 + /^X\(\/\/\)$/{
3727 + s//\1/
3730 + /^X\(\/\).*/{
3731 + s//\1/
3734 + s/.*/./; q'`
3735 + test -d "$as_dir" && break
3736 + done
3737 + test -z "$as_dirs" || eval "mkdir $as_dirs"
3738 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3741 +} # as_fn_mkdir_p
3742 +if mkdir -p . 2>/dev/null; then
3743 + as_mkdir_p='mkdir -p "$as_dir"'
3744 +else
3745 + test -d ./-p && rmdir ./-p
3746 + as_mkdir_p=false
3749 +if test -x / >/dev/null 2>&1; then
3750 + as_test_x='test -x'
3751 +else
3752 + if ls -dL / >/dev/null 2>&1; then
3753 + as_ls_L_option=L
3754 + else
3755 + as_ls_L_option=
3756 + fi
3757 + as_test_x='
3758 + eval sh -c '\''
3759 + if test -d "$1"; then
3760 + test -d "$1/.";
3761 + else
3762 + case $1 in #(
3763 + -*)set "./$1";;
3764 + esac;
3765 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3766 + ???[sx]*):;;*)false;;esac;fi
3767 + '\'' sh
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'"
3779 +exec 6>&1
3780 +## ----------------------------------- ##
3781 +## Main body of $CONFIG_STATUS script. ##
3782 +## ----------------------------------- ##
3783 +_ASEOF
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.
3790 +ac_log="
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
3798 + $ $0 $@
3800 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
3803 +_ACEOF
3805 +case $ac_config_files in *"
3806 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
3807 +esac
3811 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3812 +# Files that config.status was made for.
3813 +config_files="$ac_config_files"
3815 +_ACEOF
3817 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3818 +ac_cs_usage="\
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:
3835 +$config_files
3837 +Report bugs to the package provider."
3839 +_ACEOF
3840 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3841 +ac_cs_version="\\
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."
3850 +ac_pwd='$ac_pwd'
3851 +srcdir='$srcdir'
3852 +test -n "\$AWK" || AWK=awk
3853 +_ACEOF
3855 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3856 +# The default lists apply if the user does not specify any file.
3857 +ac_need_defaults=:
3858 +while test $# != 0
3860 + case $1 in
3861 + --*=*)
3862 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
3863 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3864 + ac_shift=:
3865 + ;;
3866 + *)
3867 + ac_option=$1
3868 + ac_optarg=$2
3869 + ac_shift=shift
3870 + ;;
3871 + esac
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 )
3880 + debug=: ;;
3881 + --file | --fil | --fi | --f )
3882 + $ac_shift
3883 + case $ac_optarg in
3884 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3885 + esac
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)
3892 + ac_cs_silent=: ;;
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 ;;
3901 + esac
3902 + shift
3903 +done
3905 +ac_configure_extra_args=
3907 +if $ac_cs_silent; then
3908 + exec 6>/dev/null
3909 + ac_configure_extra_args="$ac_configure_extra_args --silent"
3912 +_ACEOF
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
3916 + shift
3917 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3918 + CONFIG_SHELL='$SHELL'
3919 + export CONFIG_SHELL
3920 + exec "\$@"
3923 +_ACEOF
3924 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3925 +exec 5>>config.log
3927 + echo
3928 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3929 +## Running $as_me. ##
3930 +_ASBOX
3931 + $as_echo "$ac_log"
3932 +} >&5
3934 +_ACEOF
3935 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3936 +_ACEOF
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;;
3948 + esac
3949 +done
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'.
3966 +$debug ||
3968 + tmp=
3969 + trap 'exit_status=$?
3970 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3971 +' 0
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"
3979 +} ||
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
4000 + ac_cs_awk_cr='\r'
4001 +else
4002 + ac_cs_awk_cr=$ac_cr
4005 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
4006 +_ACEOF
4010 + echo "cat >conf$$subs.awk <<_ACEOF" &&
4011 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4012 + echo "_ACEOF"
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 '$'`
4016 +ac_delim='%!_!# '
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
4023 + break
4024 + elif $ac_last_try; then
4025 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4026 + else
4027 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4028 + fi
4029 +done
4030 +rm -f conf$$subs.sh
4032 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4033 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4034 +_ACEOF
4035 +sed -n '
4037 +s/^/S["/; s/!.*/"]=/
4040 +s/^[^!]*!//
4041 +:repl
4042 +t repl
4043 +s/'"$ac_delim"'$//
4044 +t delim
4045 +:nl
4047 +s/\(.\{148\}\).*/\1/
4048 +t more1
4049 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4052 +b repl
4053 +:more1
4054 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4057 +s/.\{148\}//
4058 +t nl
4059 +:delim
4061 +s/\(.\{148\}\).*/\1/
4062 +t more2
4063 +s/["\\]/\\&/g; s/^/"/; s/$/"/
4066 +:more2
4067 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4070 +s/.\{148\}//
4071 +t delim
4072 +' <conf$$subs.awk | sed '
4073 +/^[^""]/{
4075 + s/\n//
4077 +' >>$CONFIG_STATUS || ac_write_fail=1
4078 +rm -f conf$$subs.awk
4079 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4080 +_ACAWK
4081 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4082 + for (key in S) S_is_set[key] = 1
4083 + FS = "\a"
4087 + line = $ 0
4088 + nfields = split(line, field, "@")
4089 + substed = 0
4090 + len = length(field[1])
4091 + for (i = 2; i < nfields; i++) {
4092 + key = field[i]
4093 + keylen = length(key)
4094 + if (S_is_set[key]) {
4095 + value = S[key]
4096 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4097 + len += length(value) + length(field[++i])
4098 + substed = 1
4099 + } else
4100 + len += 1 + keylen
4103 + print line
4106 +_ACAWK
4107 +_ACEOF
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"
4111 +else
4112 + cat
4113 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4114 + || as_fn_error "could not setup config files machinery" "$LINENO" 5
4115 +_ACEOF
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}:*/:/
4125 +s/:*@srcdir@:*/:/
4126 +s/^\([^=]*=[ ]*\):*/\1/
4127 +s/:*$//
4128 +s/^[^=]*=[ ]*$//
4132 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4133 +fi # test -n "$CONFIG_FILES"
4136 +eval set X " :F $CONFIG_FILES "
4137 +shift
4138 +for ac_tag
4140 + case $ac_tag in
4141 + :[FHLC]) ac_mode=$ac_tag; continue;;
4142 + esac
4143 + case $ac_mode$ac_tag in
4144 + :[FHL]*:*);;
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;;
4148 + esac
4149 + ac_save_IFS=$IFS
4150 + IFS=:
4151 + set x $ac_tag
4152 + IFS=$ac_save_IFS
4153 + shift
4154 + ac_file=$1
4155 + shift
4157 + case $ac_mode in
4158 + :L) ac_source=$1;;
4159 + :[FH])
4160 + ac_file_inputs=
4161 + for ac_f
4162 + do
4163 + case $ac_f in
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" ||
4169 + case $ac_f in
4170 + [\\/$]*) false;;
4171 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4172 + esac ||
4173 + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4174 + esac
4175 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4176 + as_fn_append ac_file_inputs " '$ac_f'"
4177 + done
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'
4184 + `' by configure.'
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;}
4189 + fi
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;;
4196 + esac
4198 + case $ac_tag in
4199 + *:-:* | *:-) cat >"$tmp/stdin" \
4200 + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4201 + esac
4202 + ;;
4203 + esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4212 + s//\1/
4215 + /^X\(\/\/\)[^/].*/{
4216 + s//\1/
4219 + /^X\(\/\/\)$/{
4220 + s//\1/
4223 + /^X\(\/\).*/{
4224 + s//\1/
4227 + s/.*/./; q'`
4228 + as_dir="$ac_dir"; as_fn_mkdir_p
4229 + ac_builddir=.
4231 +case "$ac_dir" in
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/ ;;
4240 + esac ;;
4241 +esac
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
4247 +case $srcdir in
4248 + .) # We are building in place.
4249 + ac_srcdir=.
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 ;;
4260 +esac
4261 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4264 + case $ac_mode in
4265 + :F)
4267 + # CONFIG_FILE
4270 +_ACEOF
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=
4276 +ac_sed_dataroot='
4277 +/datarootdir/ {
4281 +/@datadir@/p
4282 +/@docdir@/p
4283 +/@infodir@/p
4284 +/@localedir@/p
4285 +/@mandir@/p'
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;}
4291 +_ACEOF
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' ;;
4300 +esac
4301 +_ACEOF
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
4308 +$extrasub
4309 +_ACEOF
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"
4337 + case $ac_file in
4338 + -) cat "$tmp/out" && rm -f "$tmp/out";;
4339 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4340 + esac \
4341 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4342 + ;;
4346 + esac
4348 +done # for ac_tag
4351 +as_fn_exit 0
4352 +_ACEOF
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
4368 + ac_cs_success=:
4369 + ac_config_status_args=
4370 + test "$silent" = yes &&
4371 + ac_config_status_args="$ac_config_status_args --quiet"
4372 + exec 5>/dev/null
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
4386 @@ -0,0 +1,24 @@
4387 +AC_PREREQ(2.54)
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
4399 + USE_64=1
4400 +else
4401 + USE_64=0
4403 +AC_SUBST(USE_64)
4405 +AC_CONFIG_FILES([
4406 +Makefile
4407 +nss.pc
4410 +AC_OUTPUT
4411 --- Makefile.in 1970-01-01 01:00:00.000000000 +0100
4412 +++ Makefile.in 2009-08-21 15:45:04.000000000 +0200
4413 @@ -0,0 +1,36 @@
4414 +prefix=@prefix@
4415 +nspr_prefix=@NSPR_PREFIX@
4416 +nspr_libdir=@NSPR_LIBDIR@
4417 +libdir=@libdir@
4419 +ARGS = \
4420 + MOZILLA_CLIENT=1 \
4421 + NSPR_INCLUDE_DIR=$(nspr_prefix)/include/nspr \
4422 + NSPR_LIB_DIR=$(nspr_libdir) \
4423 + SOURCE_MD_DIR=$(prefix) \
4424 + DIST=$(prefix) \
4425 + BUILD_OPT=1 \
4426 + NS_USE_GCC=1 \
4427 + NSS_USE_SYSTEM_SQLITE=1 \
4428 + NSDISTMODE=copy \
4429 + USE_64=@USE_64@ \
4430 + NSS_ENABLE_ECC=1
4432 +all:
4433 + $(MAKE) -C mozilla/security/nss \
4434 + build_coreconf \
4435 + build_dbm \
4436 + all \
4437 + $(ARGS)
4439 +clean:
4440 + $(MAKE) -C mozilla/security/nss clean
4442 +install:
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
4452 @@ -0,0 +1,11 @@
4453 +prefix=@prefix@
4454 +exec_prefix=${prefix}
4455 +libdir=${prefix}/lib
4456 +includedir=${prefix}/include/nss
4458 +Name: NSS
4459 +Description: Mozilla Network Security Services
4460 +Version: 3.12
4461 +Requires: nspr
4462 +Libs: -L${libdir} -lnss3 -lnssutil3 -lsmime3 -lssl3
4463 +Cflags: -I${includedir}