xref: /AOO42X/main/libxmlsec/xmlsec1-configure.patch (revision 83ee71a430dd166606c97595ee505feed769088d)
1cdf0e10cSrcweir--- misc/xmlsec1-1.2.14/Makefile.in 2009-06-25 22:53:34.000000000 +0200
2cdf0e10cSrcweir+++ misc/build/xmlsec1-1.2.14/Makefile.in   2009-10-01 10:32:48.708515261 +0200
3cdf0e10cSrcweir@@ -341,8 +341,9 @@
4cdf0e10cSrcweir top_srcdir = @top_srcdir@
5cdf0e10cSrcweir NULL =
6cdf0e10cSrcweir SAFE_VERSION = @XMLSEC_VERSION_SAFE@
7cdf0e10cSrcweir-SUBDIRS = include src apps man docs
8cdf0e10cSrcweir-TEST_APP = apps/xmlsec1$(EXEEXT)
9cdf0e10cSrcweir+#Do not build xmlsec1 app. It is not needed. Also the libtool includes
10cdf0e10cSrcweir+#a -L/path_to_lib_dir which may contain an incompatible lixbml2.
11cdf0e10cSrcweir+SUBDIRS = include src man docs
12cdf0e10cSrcweir DEFAULT_CRYPTO = @XMLSEC_CRYPTO@
13cdf0e10cSrcweir bin_SCRIPTS = xmlsec1-config
14cdf0e10cSrcweir pkgconfig_DATA = xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@
15cdf0e10cSrcweir--- misc/xmlsec1-1.2.14/configure   2009-06-25 22:53:35.000000000 +0200
16cdf0e10cSrcweir+++ misc/build/xmlsec1-1.2.14/configure 2009-10-01 10:28:50.980389049 +0200
17cdf0e10cSrcweir@@ -1,12 +1,14 @@
18cdf0e10cSrcweir #! /bin/sh
19cdf0e10cSrcweir # Guess values for system-dependent variables and create Makefiles.
20cdf0e10cSrcweir-# Generated by GNU Autoconf 2.64 for xmlsec1 1.2.14.
21cdf0e10cSrcweir+# Generated by GNU Autoconf 2.65 for xmlsec1 1.2.14.
22cdf0e10cSrcweir #
23cdf0e10cSrcweir # Report bugs to <http://www.aleksey.com/xmlsec>.
24cdf0e10cSrcweir #
25cdf0e10cSrcweir+#
26cdf0e10cSrcweir # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
27cdf0e10cSrcweir-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
28cdf0e10cSrcweir-# Foundation, Inc.
29cdf0e10cSrcweir+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
30cdf0e10cSrcweir+# Inc.
31cdf0e10cSrcweir+#
32cdf0e10cSrcweir #
33cdf0e10cSrcweir # This configure script is free software; the Free Software Foundation
34cdf0e10cSrcweir # gives unlimited permission to copy, distribute and modify it.
35cdf0e10cSrcweir@@ -676,7 +678,8 @@
36cdf0e10cSrcweir
37cdf0e10cSrcweir
38cdf0e10cSrcweir
39cdf0e10cSrcweir-exec 7<&0 </dev/null 6>&1
40cdf0e10cSrcweir+test -n "$DJDIR" || exec 7<&0 </dev/null
41cdf0e10cSrcweir+exec 6>&1
42cdf0e10cSrcweir
43cdf0e10cSrcweir # Name of the host.
44cdf0e10cSrcweir # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
45cdf0e10cSrcweir@@ -1749,7 +1752,7 @@
46cdf0e10cSrcweir   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
47cdf0e10cSrcweir               nonstandard directory <lib dir>
48cdf0e10cSrcweir   LIBS        libraries to pass to the linker, e.g. -l<library>
49cdf0e10cSrcweir-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
50cdf0e10cSrcweir+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
51cdf0e10cSrcweir               you have headers in a nonstandard directory <include dir>
52cdf0e10cSrcweir   CPP         C preprocessor
53cdf0e10cSrcweir   PKG_CONFIG  path to pkg-config utility
54cdf0e10cSrcweir@@ -1837,7 +1840,7 @@
55cdf0e10cSrcweir if $ac_init_version; then
56cdf0e10cSrcweir   cat <<\_ACEOF
57cdf0e10cSrcweir xmlsec1 configure 1.2.14
58cdf0e10cSrcweir-generated by GNU Autoconf 2.64
59cdf0e10cSrcweir+generated by GNU Autoconf 2.65
60cdf0e10cSrcweir
61cdf0e10cSrcweir Copyright (C) 2009 Free Software Foundation, Inc.
62cdf0e10cSrcweir This configure script is free software; the Free Software Foundation
63cdf0e10cSrcweir@@ -1884,7 +1887,7 @@
64cdf0e10cSrcweir    ac_retval=1
65cdf0e10cSrcweir fi
66cdf0e10cSrcweir   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
67cdf0e10cSrcweir-  return $ac_retval
68cdf0e10cSrcweir+  as_fn_set_status $ac_retval
69cdf0e10cSrcweir
70cdf0e10cSrcweir } # ac_fn_c_try_compile
71cdf0e10cSrcweir
72cdf0e10cSrcweir@@ -1921,7 +1924,7 @@
73cdf0e10cSrcweir     ac_retval=1
74cdf0e10cSrcweir fi
75cdf0e10cSrcweir   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
76cdf0e10cSrcweir-  return $ac_retval
77cdf0e10cSrcweir+  as_fn_set_status $ac_retval
78cdf0e10cSrcweir
79cdf0e10cSrcweir } # ac_fn_c_try_cpp
80cdf0e10cSrcweir
81cdf0e10cSrcweir@@ -1963,7 +1966,7 @@
82cdf0e10cSrcweir fi
83cdf0e10cSrcweir   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
84cdf0e10cSrcweir   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
85cdf0e10cSrcweir-  return $ac_retval
86cdf0e10cSrcweir+  as_fn_set_status $ac_retval
87cdf0e10cSrcweir
88cdf0e10cSrcweir } # ac_fn_c_try_run
89cdf0e10cSrcweir
90cdf0e10cSrcweir@@ -2009,7 +2012,7 @@
91cdf0e10cSrcweir   # left behind by Apple's compiler.  We do this before executing the actions.
92cdf0e10cSrcweir   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
93cdf0e10cSrcweir   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
94cdf0e10cSrcweir-  return $ac_retval
95cdf0e10cSrcweir+  as_fn_set_status $ac_retval
96cdf0e10cSrcweir
97cdf0e10cSrcweir } # ac_fn_c_try_link
98cdf0e10cSrcweir
99cdf0e10cSrcweir@@ -2378,7 +2381,7 @@
100cdf0e10cSrcweir
101cdf0e10cSrcweir   fi
102cdf0e10cSrcweir   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
103cdf0e10cSrcweir-  return $ac_retval
104cdf0e10cSrcweir+  as_fn_set_status $ac_retval
105cdf0e10cSrcweir
106cdf0e10cSrcweir } # ac_fn_c_compute_int
107cdf0e10cSrcweir cat >config.log <<_ACEOF
108cdf0e10cSrcweir@@ -2386,7 +2389,7 @@
109cdf0e10cSrcweir running configure, to aid debugging if configure makes a mistake.
110cdf0e10cSrcweir
111cdf0e10cSrcweir It was created by xmlsec1 $as_me 1.2.14, which was
112cdf0e10cSrcweir-generated by GNU Autoconf 2.64.  Invocation command line was
113cdf0e10cSrcweir+generated by GNU Autoconf 2.65.  Invocation command line was
114cdf0e10cSrcweir
115cdf0e10cSrcweir   $ $0 $@
116cdf0e10cSrcweir
117cdf0e10cSrcweir@@ -2639,7 +2642,7 @@
118cdf0e10cSrcweir for ac_site_file in "$ac_site_file1" "$ac_site_file2"
119cdf0e10cSrcweir do
120cdf0e10cSrcweir   test "x$ac_site_file" = xNONE && continue
121cdf0e10cSrcweir-  if test -r "$ac_site_file"; then
122cdf0e10cSrcweir+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
123cdf0e10cSrcweir     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
124cdf0e10cSrcweir $as_echo "$as_me: loading site script $ac_site_file" >&6;}
125cdf0e10cSrcweir     sed 's/^/| /' "$ac_site_file" >&5
126cdf0e10cSrcweir@@ -2648,9 +2651,9 @@
127cdf0e10cSrcweir done
128cdf0e10cSrcweir
129cdf0e10cSrcweir if test -r "$cache_file"; then
130cdf0e10cSrcweir-  # Some versions of bash will fail to source /dev/null (special
131cdf0e10cSrcweir-  # files actually), so we avoid doing that.
132cdf0e10cSrcweir-  if test -f "$cache_file"; then
133cdf0e10cSrcweir+  # Some versions of bash will fail to source /dev/null (special files
134cdf0e10cSrcweir+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
135cdf0e10cSrcweir+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
136cdf0e10cSrcweir     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
137cdf0e10cSrcweir $as_echo "$as_me: loading cache $cache_file" >&6;}
138cdf0e10cSrcweir     case $cache_file in
139cdf0e10cSrcweir@@ -3160,6 +3163,7 @@
140cdf0e10cSrcweir
141cdf0e10cSrcweir fi
142cdf0e10cSrcweir
143cdf0e10cSrcweir+  test -d ./--version && rmdir ./--version
144cdf0e10cSrcweir   if test "${ac_cv_path_mkdir+set}" = set; then
145cdf0e10cSrcweir     MKDIR_P="$ac_cv_path_mkdir -p"
146cdf0e10cSrcweir   else
147cdf0e10cSrcweir@@ -3167,7 +3171,6 @@
148cdf0e10cSrcweir     # value for MKDIR_P within a source directory, because that will
149cdf0e10cSrcweir     # break other packages using the cache if that directory is
150cdf0e10cSrcweir     # removed, or if the value is a relative name.
151cdf0e10cSrcweir-    test -d ./--version && rmdir ./--version
152cdf0e10cSrcweir     MKDIR_P="$ac_install_sh -d"
153cdf0e10cSrcweir   fi
154cdf0e10cSrcweir fi
155cdf0e10cSrcweir@@ -3753,32 +3756,30 @@
156cdf0e10cSrcweir ... rest of stderr output deleted ...
157cdf0e10cSrcweir          10q' conftest.err >conftest.er1
158cdf0e10cSrcweir     cat conftest.er1 >&5
159cdf0e10cSrcweir-    rm -f conftest.er1 conftest.err
160cdf0e10cSrcweir   fi
161cdf0e10cSrcweir+  rm -f conftest.er1 conftest.err
162cdf0e10cSrcweir   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
163cdf0e10cSrcweir   test $ac_status = 0; }
164cdf0e10cSrcweir done
165cdf0e10cSrcweir
166cdf0e10cSrcweir cat confdefs.h - <<_ACEOF >conftest.$ac_ext
167cdf0e10cSrcweir /* end confdefs.h.  */
168cdf0e10cSrcweir-#include <stdio.h>
169cdf0e10cSrcweir+
170cdf0e10cSrcweir int
171cdf0e10cSrcweir main ()
172cdf0e10cSrcweir {
173cdf0e10cSrcweir-FILE *f = fopen ("conftest.out", "w");
174cdf0e10cSrcweir- return ferror (f) || fclose (f) != 0;
175cdf0e10cSrcweir
176cdf0e10cSrcweir   ;
177cdf0e10cSrcweir   return 0;
178cdf0e10cSrcweir }
179cdf0e10cSrcweir _ACEOF
180cdf0e10cSrcweir ac_clean_files_save=$ac_clean_files
181cdf0e10cSrcweir-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
182cdf0e10cSrcweir+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
183cdf0e10cSrcweir # Try to create an executable without -o first, disregard a.out.
184cdf0e10cSrcweir # It will help us diagnose broken compilers, and finding out an intuition
185cdf0e10cSrcweir # of exeext.
186cdf0e10cSrcweir-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
187cdf0e10cSrcweir-$as_echo_n "checking for C compiler default output file name... " >&6; }
188cdf0e10cSrcweir+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
189cdf0e10cSrcweir+$as_echo_n "checking whether the C compiler works... " >&6; }
190cdf0e10cSrcweir ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
191cdf0e10cSrcweir
192cdf0e10cSrcweir # The possible output files:
193cdf0e10cSrcweir@@ -3840,10 +3841,10 @@
194cdf0e10cSrcweir else
195cdf0e10cSrcweir   ac_file=''
196cdf0e10cSrcweir fi
197cdf0e10cSrcweir-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
198cdf0e10cSrcweir-$as_echo "$ac_file" >&6; }
199cdf0e10cSrcweir if test -z "$ac_file"; then :
200cdf0e10cSrcweir-  $as_echo "$as_me: failed program was:" >&5
201cdf0e10cSrcweir+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
202cdf0e10cSrcweir+$as_echo "no" >&6; }
203cdf0e10cSrcweir+$as_echo "$as_me: failed program was:" >&5
204cdf0e10cSrcweir sed 's/^/| /' conftest.$ac_ext >&5
205cdf0e10cSrcweir
206cdf0e10cSrcweir { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
207cdf0e10cSrcweir@@ -3851,51 +3852,18 @@
208cdf0e10cSrcweir { as_fn_set_status 77
209cdf0e10cSrcweir as_fn_error "C compiler cannot create executables
210cdf0e10cSrcweir See \`config.log' for more details." "$LINENO" 5; }; }
211cdf0e10cSrcweir+else
212cdf0e10cSrcweir+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
213cdf0e10cSrcweir+$as_echo "yes" >&6; }
214cdf0e10cSrcweir fi
215cdf0e10cSrcweir+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
216cdf0e10cSrcweir+$as_echo_n "checking for C compiler default output file name... " >&6; }
217cdf0e10cSrcweir+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
218cdf0e10cSrcweir+$as_echo "$ac_file" >&6; }
219cdf0e10cSrcweir ac_exeext=$ac_cv_exeext
220cdf0e10cSrcweir
221cdf0e10cSrcweir-# Check that the compiler produces executables we can run.  If not, either
222cdf0e10cSrcweir-# the compiler is broken, or we cross compile.
223cdf0e10cSrcweir-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
224cdf0e10cSrcweir-$as_echo_n "checking whether the C compiler works... " >&6; }
225cdf0e10cSrcweir-# If not cross compiling, check that we can run a simple program.
226cdf0e10cSrcweir-if test "$cross_compiling" != yes; then
227cdf0e10cSrcweir-  if { ac_try='./$ac_file'
228cdf0e10cSrcweir-  { { case "(($ac_try" in
229cdf0e10cSrcweir-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
230cdf0e10cSrcweir-  *) ac_try_echo=$ac_try;;
231cdf0e10cSrcweir-esac
232cdf0e10cSrcweir-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
233cdf0e10cSrcweir-$as_echo "$ac_try_echo"; } >&5
234cdf0e10cSrcweir-  (eval "$ac_try") 2>&5
235cdf0e10cSrcweir-  ac_status=$?
236cdf0e10cSrcweir-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
237cdf0e10cSrcweir-  test $ac_status = 0; }; }; then
238cdf0e10cSrcweir-    cross_compiling=no
239cdf0e10cSrcweir-  else
240cdf0e10cSrcweir-    if test "$cross_compiling" = maybe; then
241cdf0e10cSrcweir-   cross_compiling=yes
242cdf0e10cSrcweir-    else
243cdf0e10cSrcweir-   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
244cdf0e10cSrcweir-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
245cdf0e10cSrcweir-as_fn_error "cannot run C compiled programs.
246cdf0e10cSrcweir-If you meant to cross compile, use \`--host'.
247cdf0e10cSrcweir-See \`config.log' for more details." "$LINENO" 5; }
248cdf0e10cSrcweir-    fi
249cdf0e10cSrcweir-  fi
250cdf0e10cSrcweir-fi
251cdf0e10cSrcweir-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
252cdf0e10cSrcweir-$as_echo "yes" >&6; }
253cdf0e10cSrcweir-
254cdf0e10cSrcweir-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
255cdf0e10cSrcweir+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
256cdf0e10cSrcweir ac_clean_files=$ac_clean_files_save
257cdf0e10cSrcweir-# Check that the compiler produces executables we can run.  If not, either
258cdf0e10cSrcweir-# the compiler is broken, or we cross compile.
259cdf0e10cSrcweir-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
260cdf0e10cSrcweir-$as_echo_n "checking whether we are cross compiling... " >&6; }
261cdf0e10cSrcweir-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
262cdf0e10cSrcweir-$as_echo "$cross_compiling" >&6; }
263cdf0e10cSrcweir-
264cdf0e10cSrcweir { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
265cdf0e10cSrcweir $as_echo_n "checking for suffix of executables... " >&6; }
266cdf0e10cSrcweir if { { ac_try="$ac_link"
267cdf0e10cSrcweir@@ -3928,13 +3896,72 @@
268cdf0e10cSrcweir as_fn_error "cannot compute suffix of executables: cannot compile and link
269cdf0e10cSrcweir See \`config.log' for more details." "$LINENO" 5; }
270cdf0e10cSrcweir fi
271cdf0e10cSrcweir-rm -f conftest$ac_cv_exeext
272cdf0e10cSrcweir+rm -f conftest conftest$ac_cv_exeext
273cdf0e10cSrcweir { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
274cdf0e10cSrcweir $as_echo "$ac_cv_exeext" >&6; }
275cdf0e10cSrcweir
276cdf0e10cSrcweir rm -f conftest.$ac_ext
277cdf0e10cSrcweir EXEEXT=$ac_cv_exeext
278cdf0e10cSrcweir ac_exeext=$EXEEXT
279cdf0e10cSrcweir+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
280cdf0e10cSrcweir+/* end confdefs.h.  */
281cdf0e10cSrcweir+#include <stdio.h>
282cdf0e10cSrcweir+int
283cdf0e10cSrcweir+main ()
284cdf0e10cSrcweir+{
285cdf0e10cSrcweir+FILE *f = fopen ("conftest.out", "w");
286cdf0e10cSrcweir+ return ferror (f) || fclose (f) != 0;
287cdf0e10cSrcweir+
288cdf0e10cSrcweir+  ;
289cdf0e10cSrcweir+  return 0;
290cdf0e10cSrcweir+}
291cdf0e10cSrcweir+_ACEOF
292cdf0e10cSrcweir+ac_clean_files="$ac_clean_files conftest.out"
293cdf0e10cSrcweir+# Check that the compiler produces executables we can run.  If not, either
294cdf0e10cSrcweir+# the compiler is broken, or we cross compile.
295cdf0e10cSrcweir+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
296cdf0e10cSrcweir+$as_echo_n "checking whether we are cross compiling... " >&6; }
297cdf0e10cSrcweir+if test "$cross_compiling" != yes; then
298cdf0e10cSrcweir+  { { ac_try="$ac_link"
299cdf0e10cSrcweir+case "(($ac_try" in
300cdf0e10cSrcweir+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
301cdf0e10cSrcweir+  *) ac_try_echo=$ac_try;;
302cdf0e10cSrcweir+esac
303cdf0e10cSrcweir+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
304cdf0e10cSrcweir+$as_echo "$ac_try_echo"; } >&5
305cdf0e10cSrcweir+  (eval "$ac_link") 2>&5
306cdf0e10cSrcweir+  ac_status=$?
307cdf0e10cSrcweir+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
308cdf0e10cSrcweir+  test $ac_status = 0; }
309cdf0e10cSrcweir+  if { ac_try='./conftest$ac_cv_exeext'
310cdf0e10cSrcweir+  { { case "(($ac_try" in
311cdf0e10cSrcweir+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
312cdf0e10cSrcweir+  *) ac_try_echo=$ac_try;;
313cdf0e10cSrcweir+esac
314cdf0e10cSrcweir+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
315cdf0e10cSrcweir+$as_echo "$ac_try_echo"; } >&5
316cdf0e10cSrcweir+  (eval "$ac_try") 2>&5
317cdf0e10cSrcweir+  ac_status=$?
318cdf0e10cSrcweir+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
319cdf0e10cSrcweir+  test $ac_status = 0; }; }; then
320cdf0e10cSrcweir+    cross_compiling=no
321cdf0e10cSrcweir+  else
322cdf0e10cSrcweir+    if test "$cross_compiling" = maybe; then
323cdf0e10cSrcweir+   cross_compiling=yes
324cdf0e10cSrcweir+    else
325cdf0e10cSrcweir+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
326cdf0e10cSrcweir+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
327cdf0e10cSrcweir+as_fn_error "cannot run C compiled programs.
328cdf0e10cSrcweir+If you meant to cross compile, use \`--host'.
329cdf0e10cSrcweir+See \`config.log' for more details." "$LINENO" 5; }
330cdf0e10cSrcweir+    fi
331cdf0e10cSrcweir+  fi
332cdf0e10cSrcweir+fi
333cdf0e10cSrcweir+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
334cdf0e10cSrcweir+$as_echo "$cross_compiling" >&6; }
335cdf0e10cSrcweir+
336cdf0e10cSrcweir+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
337cdf0e10cSrcweir+ac_clean_files=$ac_clean_files_save
338cdf0e10cSrcweir { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
339cdf0e10cSrcweir $as_echo_n "checking for suffix of object files... " >&6; }
340cdf0e10cSrcweir if test "${ac_cv_objext+set}" = set; then :
341cdf0e10cSrcweir@@ -5249,13 +5276,13 @@
342cdf0e10cSrcweir else
343cdf0e10cSrcweir   lt_cv_nm_interface="BSD nm"
344cdf0e10cSrcweir   echo "int some_variable = 0;" > conftest.$ac_ext
345cdf0e10cSrcweir-  (eval echo "\"\$as_me:5252: $ac_compile\"" >&5)
346cdf0e10cSrcweir+  (eval echo "\"\$as_me:5279: $ac_compile\"" >&5)
347cdf0e10cSrcweir   (eval "$ac_compile" 2>conftest.err)
348cdf0e10cSrcweir   cat conftest.err >&5
349cdf0e10cSrcweir-  (eval echo "\"\$as_me:5255: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
350cdf0e10cSrcweir+  (eval echo "\"\$as_me:5282: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
351cdf0e10cSrcweir   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
352cdf0e10cSrcweir   cat conftest.err >&5
353cdf0e10cSrcweir-  (eval echo "\"\$as_me:5258: output\"" >&5)
354cdf0e10cSrcweir+  (eval echo "\"\$as_me:5285: output\"" >&5)
355cdf0e10cSrcweir   cat conftest.out >&5
356cdf0e10cSrcweir   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
357cdf0e10cSrcweir     lt_cv_nm_interface="MS dumpbin"
358cdf0e10cSrcweir@@ -6460,7 +6487,7 @@
359cdf0e10cSrcweir   ;;
360cdf0e10cSrcweir *-*-irix6*)
361cdf0e10cSrcweir   # Find out which ABI we are using.
362cdf0e10cSrcweir-  echo '#line 6463 "configure"' > conftest.$ac_ext
363cdf0e10cSrcweir+  echo '#line 6490 "configure"' > conftest.$ac_ext
364cdf0e10cSrcweir   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
365cdf0e10cSrcweir   (eval $ac_compile) 2>&5
366cdf0e10cSrcweir   ac_status=$?
367cdf0e10cSrcweir@@ -7736,11 +7763,11 @@
368cdf0e10cSrcweir    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
369cdf0e10cSrcweir    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
370cdf0e10cSrcweir    -e 's:$: $lt_compiler_flag:'`
371cdf0e10cSrcweir-   (eval echo "\"\$as_me:7739: $lt_compile\"" >&5)
372cdf0e10cSrcweir+   (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
373cdf0e10cSrcweir    (eval "$lt_compile" 2>conftest.err)
374cdf0e10cSrcweir    ac_status=$?
375cdf0e10cSrcweir    cat conftest.err >&5
376cdf0e10cSrcweir-   echo "$as_me:7743: \$? = $ac_status" >&5
377cdf0e10cSrcweir+   echo "$as_me:7770: \$? = $ac_status" >&5
378cdf0e10cSrcweir    if (exit $ac_status) && test -s "$ac_outfile"; then
379cdf0e10cSrcweir      # The compiler can only warn and ignore the option if not recognized
380cdf0e10cSrcweir      # So say no if there are warnings other than the usual output.
381cdf0e10cSrcweir@@ -8075,11 +8102,11 @@
382cdf0e10cSrcweir    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
383cdf0e10cSrcweir    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
384cdf0e10cSrcweir    -e 's:$: $lt_compiler_flag:'`
385cdf0e10cSrcweir-   (eval echo "\"\$as_me:8078: $lt_compile\"" >&5)
386cdf0e10cSrcweir+   (eval echo "\"\$as_me:8105: $lt_compile\"" >&5)
387cdf0e10cSrcweir    (eval "$lt_compile" 2>conftest.err)
388cdf0e10cSrcweir    ac_status=$?
389cdf0e10cSrcweir    cat conftest.err >&5
390cdf0e10cSrcweir-   echo "$as_me:8082: \$? = $ac_status" >&5
391cdf0e10cSrcweir+   echo "$as_me:8109: \$? = $ac_status" >&5
392cdf0e10cSrcweir    if (exit $ac_status) && test -s "$ac_outfile"; then
393cdf0e10cSrcweir      # The compiler can only warn and ignore the option if not recognized
394cdf0e10cSrcweir      # So say no if there are warnings other than the usual output.
395cdf0e10cSrcweir@@ -8180,11 +8207,11 @@
396cdf0e10cSrcweir    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
397cdf0e10cSrcweir    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
398cdf0e10cSrcweir    -e 's:$: $lt_compiler_flag:'`
399cdf0e10cSrcweir-   (eval echo "\"\$as_me:8183: $lt_compile\"" >&5)
400cdf0e10cSrcweir+   (eval echo "\"\$as_me:8210: $lt_compile\"" >&5)
401cdf0e10cSrcweir    (eval "$lt_compile" 2>out/conftest.err)
402cdf0e10cSrcweir    ac_status=$?
403cdf0e10cSrcweir    cat out/conftest.err >&5
404cdf0e10cSrcweir-   echo "$as_me:8187: \$? = $ac_status" >&5
405cdf0e10cSrcweir+   echo "$as_me:8214: \$? = $ac_status" >&5
406cdf0e10cSrcweir    if (exit $ac_status) && test -s out/conftest2.$ac_objext
407cdf0e10cSrcweir    then
408cdf0e10cSrcweir      # The compiler can only warn and ignore the option if not recognized
409cdf0e10cSrcweir@@ -8235,11 +8262,11 @@
410cdf0e10cSrcweir    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
411cdf0e10cSrcweir    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
412cdf0e10cSrcweir    -e 's:$: $lt_compiler_flag:'`
413cdf0e10cSrcweir-   (eval echo "\"\$as_me:8238: $lt_compile\"" >&5)
414cdf0e10cSrcweir+   (eval echo "\"\$as_me:8265: $lt_compile\"" >&5)
415cdf0e10cSrcweir    (eval "$lt_compile" 2>out/conftest.err)
416cdf0e10cSrcweir    ac_status=$?
417cdf0e10cSrcweir    cat out/conftest.err >&5
418cdf0e10cSrcweir-   echo "$as_me:8242: \$? = $ac_status" >&5
419cdf0e10cSrcweir+   echo "$as_me:8269: \$? = $ac_status" >&5
420cdf0e10cSrcweir    if (exit $ac_status) && test -s out/conftest2.$ac_objext
421cdf0e10cSrcweir    then
422cdf0e10cSrcweir      # The compiler can only warn and ignore the option if not recognized
423cdf0e10cSrcweir@@ -10618,7 +10645,7 @@
424cdf0e10cSrcweir   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
425cdf0e10cSrcweir   lt_status=$lt_dlunknown
426cdf0e10cSrcweir   cat > conftest.$ac_ext <<_LT_EOF
427cdf0e10cSrcweir-#line 10621 "configure"
428cdf0e10cSrcweir+#line 10648 "configure"
429cdf0e10cSrcweir #include "confdefs.h"
430cdf0e10cSrcweir
431cdf0e10cSrcweir #if HAVE_DLFCN_H
432cdf0e10cSrcweir@@ -10714,7 +10741,7 @@
433cdf0e10cSrcweir   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
434cdf0e10cSrcweir   lt_status=$lt_dlunknown
435cdf0e10cSrcweir   cat > conftest.$ac_ext <<_LT_EOF
436cdf0e10cSrcweir-#line 10717 "configure"
437cdf0e10cSrcweir+#line 10744 "configure"
438cdf0e10cSrcweir #include "confdefs.h"
439cdf0e10cSrcweir
440cdf0e10cSrcweir #if HAVE_DLFCN_H
441cdf0e10cSrcweir@@ -11804,8 +11831,12 @@
442cdf0e10cSrcweir     fi
443cdf0e10cSrcweir fi
444cdf0e10cSrcweir
445cdf0e10cSrcweir-LIBXML_MIN_VERSION="2.7.4"
446cdf0e10cSrcweir LIBXML_CONFIG="xml2-config"
447cdf0e10cSrcweir+if test -f "$SOLARVERSION/$INPATH/bin$UPDMINOREXT/xml2-config" ; then
448cdf0e10cSrcweir+  LIBXML_CONFIG="$SOLARVERSION/$INPATH/bin$UPDMINOREXT/xml2-config"
449cdf0e10cSrcweir+else
450cdf0e10cSrcweir+  LIBXML_CONFIG="xml2-config"
451cdf0e10cSrcweir+fi
452cdf0e10cSrcweir LIBXML_CFLAGS=""
453cdf0e10cSrcweir LIBXML_LIBS=""
454cdf0e10cSrcweir LIBXML_FOUND="no"
455cdf0e10cSrcweir@@ -12757,12 +12788,26 @@
456cdf0e10cSrcweir
457cdf0e10cSrcweir XMLSEC_NO_NSS="1"
458cdf0e10cSrcweir MOZILLA_MIN_VERSION="1.4"
459cdf0e10cSrcweir+if test "z$MOZ_FLAVOUR" = "zfirefox" ; then
460cdf0e10cSrcweir+    MOZILLA_MIN_VERSION="1.0"
461cdf0e10cSrcweir+fi
462cdf0e10cSrcweir NSS_MIN_VERSION="3.2"
463cdf0e10cSrcweir NSPR_MIN_VERSION="4.0"
464cdf0e10cSrcweir NSS_CFLAGS=""
465cdf0e10cSrcweir NSS_LIBS=""
466cdf0e10cSrcweir-NSS_LIBS_LIST="-lnss3 -lsmime3"
467cdf0e10cSrcweir-NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
468cdf0e10cSrcweir+
469cdf0e10cSrcweir+case $host_os in
470cdf0e10cSrcweir+cygwin* | mingw* | pw32*)
471cdf0e10cSrcweir+  NSS_LIBS_LIST="-lnss3 -lsmime3"
472cdf0e10cSrcweir+  NSPR_LIBS_LIST="-lnspr4"
473cdf0e10cSrcweir+  ;;
474cdf0e10cSrcweir+
475cdf0e10cSrcweir+*)
476cdf0e10cSrcweir+  NSS_LIBS_LIST="-lnss3 -lsoftokn3 -lsmime3"
477cdf0e10cSrcweir+  NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
478cdf0e10cSrcweir+  ;;
479cdf0e10cSrcweir+esac
480cdf0e10cSrcweir+
481cdf0e10cSrcweir NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss"
482cdf0e10cSrcweir NSS_FOUND="no"
483cdf0e10cSrcweir NSPR_PACKAGE=mozilla-nspr
484cdf0e10cSrcweir@@ -12811,6 +12856,79 @@
485cdf0e10cSrcweir         pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
486cdf0e10cSrcweir     else
487cdf0e10cSrcweir         if test -n "$PKG_CONFIG" && \
488cdf0e10cSrcweir+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$MOZ_FLAVOUR-nspr >= \$MOZILLA_MIN_VERSION \$MOZ_FLAVOUR >= \$MOZILLA_MIN_VERSION\""; } >&5
489cdf0e10cSrcweir+  ($PKG_CONFIG --exists --print-errors "$MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION") 2>&5
490cdf0e10cSrcweir+  ac_status=$?
491cdf0e10cSrcweir+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
492cdf0e10cSrcweir+  test $ac_status = 0; }; then
493cdf0e10cSrcweir+  pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "$MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION" 2>/dev/null`
494cdf0e10cSrcweir+else
495cdf0e10cSrcweir+  pkg_failed=yes
496cdf0e10cSrcweir+fi
497cdf0e10cSrcweir+    fi
498cdf0e10cSrcweir+else
499cdf0e10cSrcweir+   pkg_failed=untried
500cdf0e10cSrcweir+fi
501cdf0e10cSrcweir+if test -n "$PKG_CONFIG"; then
502cdf0e10cSrcweir+    if test -n "$NSS_LIBS"; then
503cdf0e10cSrcweir+        pkg_cv_NSS_LIBS="$NSS_LIBS"
504cdf0e10cSrcweir+    else
505cdf0e10cSrcweir+        if test -n "$PKG_CONFIG" && \
506cdf0e10cSrcweir+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$MOZ_FLAVOUR-nspr >= \$MOZILLA_MIN_VERSION \$MOZ_FLAVOUR >= \$MOZILLA_MIN_VERSION\""; } >&5
507cdf0e10cSrcweir+  ($PKG_CONFIG --exists --print-errors "$MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION") 2>&5
508cdf0e10cSrcweir+  ac_status=$?
509cdf0e10cSrcweir+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
510cdf0e10cSrcweir+  test $ac_status = 0; }; then
511cdf0e10cSrcweir+  pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "$MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION" 2>/dev/null`
512cdf0e10cSrcweir+else
513cdf0e10cSrcweir+  pkg_failed=yes
514cdf0e10cSrcweir+fi
515cdf0e10cSrcweir+    fi
516cdf0e10cSrcweir+else
517cdf0e10cSrcweir+   pkg_failed=untried
518cdf0e10cSrcweir+fi
519cdf0e10cSrcweir+
520cdf0e10cSrcweir+
521cdf0e10cSrcweir+
522cdf0e10cSrcweir+if test $pkg_failed = yes; then
523cdf0e10cSrcweir+
524cdf0e10cSrcweir+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
525cdf0e10cSrcweir+        _pkg_short_errors_supported=yes
526cdf0e10cSrcweir+else
527cdf0e10cSrcweir+        _pkg_short_errors_supported=no
528cdf0e10cSrcweir+fi
529cdf0e10cSrcweir+        if test $_pkg_short_errors_supported = yes; then
530cdf0e10cSrcweir+           NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION"`
531cdf0e10cSrcweir+        else
532cdf0e10cSrcweir+           NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION"`
533cdf0e10cSrcweir+        fi
534cdf0e10cSrcweir+   # Put the nasty error message in config.log where it belongs
535cdf0e10cSrcweir+   echo "$NSS_PKG_ERRORS" >&5
536cdf0e10cSrcweir+
537cdf0e10cSrcweir+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
538cdf0e10cSrcweir+$as_echo "no" >&6; }
539cdf0e10cSrcweir+                NSS_FOUND=no
540cdf0e10cSrcweir+elif test $pkg_failed = untried; then
541cdf0e10cSrcweir+   NSS_FOUND=no
542cdf0e10cSrcweir+else
543cdf0e10cSrcweir+   NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
544cdf0e10cSrcweir+   NSS_LIBS=$pkg_cv_NSS_LIBS
545cdf0e10cSrcweir+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
546cdf0e10cSrcweir+$as_echo "yes" >&6; }
547cdf0e10cSrcweir+   NSS_FOUND=yes NSPR_PACKAGE=$MOZ_FLAVOUR-nspr NSS_PACKAGE=$MOZ_FLAVOUR-nss
548cdf0e10cSrcweir+fi
549cdf0e10cSrcweir+    fi
550cdf0e10cSrcweir+    if test "z$NSS_FOUND" = "zno" ; then
551cdf0e10cSrcweir+
552cdf0e10cSrcweir+pkg_failed=no
553cdf0e10cSrcweir+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
554cdf0e10cSrcweir+$as_echo_n "checking for NSS... " >&6; }
555cdf0e10cSrcweir+
556cdf0e10cSrcweir+if test -n "$PKG_CONFIG"; then
557cdf0e10cSrcweir+    if test -n "$NSS_CFLAGS"; then
558cdf0e10cSrcweir+        pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
559cdf0e10cSrcweir+    else
560cdf0e10cSrcweir+        if test -n "$PKG_CONFIG" && \
561cdf0e10cSrcweir     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-nspr >= \$MOZILLA_MIN_VERSION mozilla-nss >= \$MOZILLA_MIN_VERSION\""; } >&5
562cdf0e10cSrcweir   ($PKG_CONFIG --exists --print-errors "mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION") 2>&5
563cdf0e10cSrcweir   ac_status=$?
564cdf0e10cSrcweir@@ -13030,8 +13148,8 @@
565cdf0e10cSrcweir         ac_mozilla_name=mozilla-$MOZILLA_MIN_VERSION
566cdf0e10cSrcweir     fi
567cdf0e10cSrcweir
568cdf0e10cSrcweir-    ac_nss_lib_dir="/usr/lib /usr/lib64 /usr/local/lib /usr/lib/$ac_mozilla_name /usr/local/lib/$ac_mozilla_name"
569cdf0e10cSrcweir-    ac_nss_inc_dir="/usr/include /usr/include/mozilla /usr/local/include /usr/local/include/mozilla /usr/include/$ac_mozilla_name /usr/local/include/$ac_mozilla_name"
570cdf0e10cSrcweir+    ac_nss_lib_dir="${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT}"
571cdf0e10cSrcweir+    ac_nss_inc_dir="${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/mozilla"
572cdf0e10cSrcweir
573cdf0e10cSrcweir     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nspr libraries >= $NSPR_MIN_VERSION" >&5
574cdf0e10cSrcweir $as_echo_n "checking for nspr libraries >= $NSPR_MIN_VERSION... " >&6; }
575cdf0e10cSrcweir@@ -13066,7 +13184,7 @@
576cdf0e10cSrcweir    done
577cdf0e10cSrcweir
578cdf0e10cSrcweir    for dir in $ac_nss_lib_dir ; do
579cdf0e10cSrcweir-           if test -f $dir/libnspr4$shrext ; then
580cdf0e10cSrcweir+       if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
581cdf0e10cSrcweir                    if test "z$dir" = "z/usr/lib" ; then
582cdf0e10cSrcweir                    NSPR_LIBS="$NSPR_LIBS_LIST"
583cdf0e10cSrcweir            else
584cdf0e10cSrcweir@@ -13148,7 +13266,7 @@
585cdf0e10cSrcweir         done
586cdf0e10cSrcweir
587cdf0e10cSrcweir         for dir in $ac_nss_lib_dir ; do
588cdf0e10cSrcweir-           if test -f $dir/libnss3$shrext ; then
589cdf0e10cSrcweir+            if test -f $dir/libnss3.so -o -f $dir/libnss3.dylib ; then
590cdf0e10cSrcweir                        if test "z$dir" = "z/usr/lib" ; then
591cdf0e10cSrcweir                NSS_LIBS="$NSS_LIBS_LIST"
592cdf0e10cSrcweir                 else
593cdf0e10cSrcweir@@ -13166,7 +13284,7 @@
594cdf0e10cSrcweir
595cdf0e10cSrcweir     if test "z$NSS_INCLUDES_FOUND" = "zyes" -a "z$NSS_LIBS_FOUND" = "zyes" ; then
596cdf0e10cSrcweir        OLD_CPPFLAGS=$CPPFLAGS
597cdf0e10cSrcweir-       CPPFLAGS="$NSS_CFLAGS"
598cdf0e10cSrcweir+       CPPFLAGS="$NSS_CFLAGS $NSPR_CFLAGS"
599cdf0e10cSrcweir        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
600cdf0e10cSrcweir /* end confdefs.h.  */
601cdf0e10cSrcweir
602cdf0e10cSrcweir@@ -15036,7 +15154,7 @@
603cdf0e10cSrcweir # values after options handling.
604cdf0e10cSrcweir ac_log="
605cdf0e10cSrcweir This file was extended by xmlsec1 $as_me 1.2.14, which was
606cdf0e10cSrcweir-generated by GNU Autoconf 2.64.  Invocation command line was
607cdf0e10cSrcweir+generated by GNU Autoconf 2.65.  Invocation command line was
608cdf0e10cSrcweir
609cdf0e10cSrcweir   CONFIG_FILES    = $CONFIG_FILES
610cdf0e10cSrcweir   CONFIG_HEADERS  = $CONFIG_HEADERS
611cdf0e10cSrcweir@@ -15076,6 +15194,7 @@
612cdf0e10cSrcweir
613cdf0e10cSrcweir   -h, --help       print this help, then exit
614cdf0e10cSrcweir   -V, --version    print version number and configuration settings, then exit
615cdf0e10cSrcweir+      --config     print configuration, then exit
616cdf0e10cSrcweir   -q, --quiet, --silent
617cdf0e10cSrcweir                    do not print progress messages
618cdf0e10cSrcweir   -d, --debug      don't remove temporary files
619cdf0e10cSrcweir@@ -15098,10 +15217,11 @@
620cdf0e10cSrcweir
621cdf0e10cSrcweir _ACEOF
622cdf0e10cSrcweir cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
623cdf0e10cSrcweir+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
624cdf0e10cSrcweir ac_cs_version="\\
625cdf0e10cSrcweir xmlsec1 config.status 1.2.14
626cdf0e10cSrcweir-configured by $0, generated by GNU Autoconf 2.64,
627cdf0e10cSrcweir-  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
628cdf0e10cSrcweir+configured by $0, generated by GNU Autoconf 2.65,
629cdf0e10cSrcweir+  with options \\"\$ac_cs_config\\"
630cdf0e10cSrcweir
631cdf0e10cSrcweir Copyright (C) 2009 Free Software Foundation, Inc.
632cdf0e10cSrcweir This config.status script is free software; the Free Software Foundation
633cdf0e10cSrcweir@@ -15139,6 +15259,8 @@
634cdf0e10cSrcweir     ac_cs_recheck=: ;;
635cdf0e10cSrcweir   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
636cdf0e10cSrcweir     $as_echo "$ac_cs_version"; exit ;;
637cdf0e10cSrcweir+  --config | --confi | --conf | --con | --co | --c )
638cdf0e10cSrcweir+    $as_echo "$ac_cs_config"; exit ;;
639cdf0e10cSrcweir   --debug | --debu | --deb | --de | --d | -d )
640cdf0e10cSrcweir     debug=: ;;
641cdf0e10cSrcweir   --file | --fil | --fi | --f )
642cdf0e10cSrcweir@@ -15606,7 +15728,7 @@
643cdf0e10cSrcweir t delim
644cdf0e10cSrcweir :nl
645cdf0e10cSrcweir h
646cdf0e10cSrcweir-s/\(.\{148\}\).*/\1/
647cdf0e10cSrcweir+s/\(.\{148\}\)..*/\1/
648cdf0e10cSrcweir t more1
649cdf0e10cSrcweir s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
650cdf0e10cSrcweir p
651cdf0e10cSrcweir@@ -15620,7 +15742,7 @@
652cdf0e10cSrcweir t nl
653cdf0e10cSrcweir :delim
654cdf0e10cSrcweir h
655cdf0e10cSrcweir-s/\(.\{148\}\).*/\1/
656cdf0e10cSrcweir+s/\(.\{148\}\)..*/\1/
657cdf0e10cSrcweir t more2
658cdf0e10cSrcweir s/["\\]/\\&/g; s/^/"/; s/$/"/
659cdf0e10cSrcweir p
660cdf0e10cSrcweir--- misc/xmlsec1-1.2.14/configure.in    2009-06-25 22:53:18.000000000 +0200
661cdf0e10cSrcweir+++ misc/build/xmlsec1-1.2.14/configure.in  2009-10-01 10:28:50.990755126 +0200
662cdf0e10cSrcweir@@ -190,8 +190,12 @@
663cdf0e10cSrcweir dnl ==========================================================================
664cdf0e10cSrcweir dnl find libxml
665cdf0e10cSrcweir dnl ==========================================================================
666cdf0e10cSrcweir-LIBXML_MIN_VERSION="2.7.4"
667cdf0e10cSrcweir LIBXML_CONFIG="xml2-config"
668cdf0e10cSrcweir+if test -f "$SOLARVERSION/$INPATH/bin$UPDMINOREXT/xml2-config" ; then
669cdf0e10cSrcweir+  LIBXML_CONFIG="$SOLARVERSION/$INPATH/bin$UPDMINOREXT/xml2-config"
670cdf0e10cSrcweir+else
671cdf0e10cSrcweir+  LIBXML_CONFIG="xml2-config"
672cdf0e10cSrcweir+fi
673cdf0e10cSrcweir LIBXML_CFLAGS=""
674cdf0e10cSrcweir LIBXML_LIBS=""
675cdf0e10cSrcweir LIBXML_FOUND="no"
676cdf0e10cSrcweir@@ -555,12 +559,26 @@
677cdf0e10cSrcweir
678cdf0e10cSrcweir XMLSEC_NO_NSS="1"
679cdf0e10cSrcweir MOZILLA_MIN_VERSION="1.4"
680cdf0e10cSrcweir+if test "z$MOZ_FLAVOUR" = "zfirefox" ; then
681cdf0e10cSrcweir+    MOZILLA_MIN_VERSION="1.0"
682cdf0e10cSrcweir+fi
683cdf0e10cSrcweir NSS_MIN_VERSION="3.2"
684cdf0e10cSrcweir NSPR_MIN_VERSION="4.0"
685cdf0e10cSrcweir NSS_CFLAGS=""
686cdf0e10cSrcweir NSS_LIBS=""
687cdf0e10cSrcweir-NSS_LIBS_LIST="-lnss3 -lsmime3"
688cdf0e10cSrcweir-NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
689cdf0e10cSrcweir+
690cdf0e10cSrcweir+case $host_os in
691cdf0e10cSrcweir+cygwin* | mingw* | pw32*)
692cdf0e10cSrcweir+  NSS_LIBS_LIST="-lnss3 -lsmime3"
693cdf0e10cSrcweir+  NSPR_LIBS_LIST="-lnspr4"
694cdf0e10cSrcweir+  ;;
695cdf0e10cSrcweir+
696cdf0e10cSrcweir+*)
697cdf0e10cSrcweir+  NSS_LIBS_LIST="-lnss3 -lsoftokn3 -lsmime3"
698cdf0e10cSrcweir+  NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
699cdf0e10cSrcweir+  ;;
700cdf0e10cSrcweir+esac
701cdf0e10cSrcweir+
702cdf0e10cSrcweir NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss"
703cdf0e10cSrcweir NSS_FOUND="no"
704cdf0e10cSrcweir NSPR_PACKAGE=mozilla-nspr
705cdf0e10cSrcweir@@ -586,6 +604,11 @@
706cdf0e10cSrcweir     dnl We are going to try all options
707cdf0e10cSrcweir     dnl
708cdf0e10cSrcweir     if test "z$NSS_FOUND" = "zno" ; then
709cdf0e10cSrcweir+        PKG_CHECK_MODULES(NSS, $MOZ_FLAVOUR-nspr >= $MOZILLA_MIN_VERSION $MOZ_FLAVOUR >= $MOZILLA_MIN_VERSION,
710cdf0e10cSrcweir+           [NSS_FOUND=yes NSPR_PACKAGE=$MOZ_FLAVOUR-nspr NSS_PACKAGE=$MOZ_FLAVOUR-nss],
711cdf0e10cSrcweir+       [NSS_FOUND=no])
712cdf0e10cSrcweir+    fi
713cdf0e10cSrcweir+    if test "z$NSS_FOUND" = "zno" ; then
714cdf0e10cSrcweir         PKG_CHECK_MODULES(NSS, mozilla-nspr >= $MOZILLA_MIN_VERSION mozilla-nss >= $MOZILLA_MIN_VERSION,
715cdf0e10cSrcweir            [NSS_FOUND=yes NSPR_PACKAGE=mozilla-nspr NSS_PACKAGE=mozilla-nss],
716cdf0e10cSrcweir        [NSS_FOUND=no])
717cdf0e10cSrcweir@@ -612,8 +635,8 @@
718cdf0e10cSrcweir         ac_mozilla_name=mozilla-$MOZILLA_MIN_VERSION
719cdf0e10cSrcweir     fi
720cdf0e10cSrcweir
721cdf0e10cSrcweir-    ac_nss_lib_dir="/usr/lib /usr/lib64 /usr/local/lib /usr/lib/$ac_mozilla_name /usr/local/lib/$ac_mozilla_name"
722cdf0e10cSrcweir-    ac_nss_inc_dir="/usr/include /usr/include/mozilla /usr/local/include /usr/local/include/mozilla /usr/include/$ac_mozilla_name /usr/local/include/$ac_mozilla_name"
723cdf0e10cSrcweir+    ac_nss_lib_dir="${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT}"
724cdf0e10cSrcweir+    ac_nss_inc_dir="${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/mozilla"
725cdf0e10cSrcweir
726cdf0e10cSrcweir     AC_MSG_CHECKING(for nspr libraries >= $NSPR_MIN_VERSION)
727cdf0e10cSrcweir     NSPR_INCLUDES_FOUND="no"
728cdf0e10cSrcweir@@ -648,7 +671,7 @@
729cdf0e10cSrcweir    done
730cdf0e10cSrcweir
731cdf0e10cSrcweir    for dir in $ac_nss_lib_dir ; do
732cdf0e10cSrcweir-           if test -f $dir/libnspr4$shrext ; then
733cdf0e10cSrcweir+       if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
734cdf0e10cSrcweir        dnl do not add -L/usr/lib because compiler does it anyway
735cdf0e10cSrcweir            if test "z$dir" = "z/usr/lib" ; then
736cdf0e10cSrcweir                    NSPR_LIBS="$NSPR_LIBS_LIST"
737cdf0e10cSrcweir@@ -719,7 +742,7 @@
738cdf0e10cSrcweir         done
739cdf0e10cSrcweir
740cdf0e10cSrcweir         for dir in $ac_nss_lib_dir ; do
741cdf0e10cSrcweir-           if test -f $dir/libnss3$shrext ; then
742cdf0e10cSrcweir+            if test -f $dir/libnss3.so -o -f $dir/libnss3.dylib ; then
743cdf0e10cSrcweir            dnl do not add -L/usr/lib because compiler does it anyway
744cdf0e10cSrcweir            if test "z$dir" = "z/usr/lib" ; then
745cdf0e10cSrcweir                NSS_LIBS="$NSS_LIBS_LIST"
746cdf0e10cSrcweir@@ -738,7 +761,7 @@
747cdf0e10cSrcweir
748cdf0e10cSrcweir     if test "z$NSS_INCLUDES_FOUND" = "zyes" -a "z$NSS_LIBS_FOUND" = "zyes" ; then
749cdf0e10cSrcweir        OLD_CPPFLAGS=$CPPFLAGS
750cdf0e10cSrcweir-       CPPFLAGS="$NSS_CFLAGS"
751cdf0e10cSrcweir+       CPPFLAGS="$NSS_CFLAGS $NSPR_CFLAGS"
752cdf0e10cSrcweir        AC_EGREP_CPP(yes,[
753cdf0e10cSrcweir           #include <nss.h>
754cdf0e10cSrcweir           #if NSS_VMAJOR >= 3 && NSS_VMINOR >= 2
755cdf0e10cSrcweir--- misc/xmlsec1-1.2.14/win32/Makefile.msvc 2009-06-25 22:53:18.000000000 +0200
756cdf0e10cSrcweir+++ misc/build/xmlsec1-1.2.14/win32/Makefile.msvc   2009-10-01 10:28:50.997747312 +0200
757cdf0e10cSrcweir@@ -376,7 +376,7 @@
758cdf0e10cSrcweir XMLSEC_OPENSSL_SOLIBS   = libeay32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib
759cdf0e10cSrcweir XMLSEC_OPENSSL_ALIBS    = libeay32.lib wsock32.lib kernel32.lib user32.lib gdi32.lib
760cdf0e10cSrcweir
761cdf0e10cSrcweir-XMLSEC_NSS_SOLIBS      = smime3.lib ssl3.lib nss3.lib libnspr4.lib libplds4.lib libplc4.lib kernel32.lib user32.lib gdi32.lib
762*83ee71a4SMatthias Seidel+XMLSEC_NSS_SOLIBS      = smime3.lib nss3.lib nspr4.lib kernel32.lib user32.lib gdi32.lib
763cdf0e10cSrcweir XMLSEC_NSS_ALIBS       = smime3.lib ssl3.lib nss3.lib libnspr4_s.lib libplds4_s.lib libplc4_s.lib kernel32.lib user32.lib gdi32.lib
764cdf0e10cSrcweir
765cdf0e10cSrcweir XMLSEC_MSCRYPTO_SOLIBS  = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib
766