ec4f145d94
Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs. For an introduction to programming with Xerces-C++ refer to the Programming Guide. <...> ok landry@
41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
$OpenBSD: patch-src_xercesc_runConfigure,v 1.1.1.1 2008/10/26 23:15:17 ajacoutot Exp $
|
|
--- src/xercesc/runConfigure.orig Tue Aug 28 20:44:56 2007
|
|
+++ src/xercesc/runConfigure Sun Oct 26 19:35:14 2008
|
|
@@ -272,7 +272,7 @@ echo "Extra configure options: $configureoptions"
|
|
#
|
|
|
|
case $platform in
|
|
- aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
|
|
+ aix | openserver | unixware | beos | linux | freebsd | netbsd | openbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
|
|
# platform has been recognized
|
|
;;
|
|
*)
|
|
@@ -298,6 +298,8 @@ if test $debug = "off"; then
|
|
debugflag="-DNDEBUG";
|
|
elif test $platform = "linux"; then
|
|
debugflag="-w -O2 -DNDEBUG";
|
|
+ elif test $platform = "openbsd"; then
|
|
+ debugflag="-w -DNDEBUG";
|
|
else
|
|
debugflag="-w -O -DNDEBUG";
|
|
fi
|
|
@@ -360,6 +362,9 @@ else
|
|
elif test $platform = "netbsd"; then
|
|
threadingLibs="-pthread -lpthread"
|
|
threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
|
|
+ elif test $platform = "openbsd"; then
|
|
+ threadingLibs="-pthread"
|
|
+ threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
|
|
elif test $platform = "aix"; then
|
|
aix_version=`./config.guess`;
|
|
echo Found host system to be $aix_version
|
|
@@ -446,7 +451,7 @@ export THREADS
|
|
|
|
#
|
|
# aix | beos | linux | hp-11 | solaris |
|
|
-# hp-10 | freebsd | netbsd | irix | openserver | unixware | os400 | ptx | tru64 | macosx
|
|
+# hp-10 | freebsd | openbsd | netbsd | irix | openserver | unixware | os400 | ptx | tru64 | macosx
|
|
#
|
|
if test $bitsToBuild = 64; then
|
|
bitstobuildDefines=" -DXML_BITSTOBUILD_64 "
|