tng 2002/12/02 12:07:36 Modified: c/tests configure configure.in Makefile.incl runConfigure Log: [Bug 12490] Patches required to build Xerces-C++ on BeOS R5. Patch from Andrew Bachmann. Revision Changes Path 1.22 +1 -0 xml-xerces/c/tests/configure Index: configure =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/configure,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- configure 26 Aug 2002 14:47:49 -0000 1.21 +++ configure 2 Dec 2002 20:07:36 -0000 1.22 @@ -1308,6 +1308,7 @@ *-*-UnixWare*) platform=UNIXWARE ;; *-*-*unixware*) platform=UNIXWARE ;; *-*-sysv5uw7*) platform=UNIXWARE ;; + *-*-beos*) platform=BEOS ;; *-*-linux*) platform=LINUX ;; *-*-freebsd*) platform=FREEBSD ;; *-*-irix*) platform=IRIX ;; 1.26 +1 -0 xml-xerces/c/tests/configure.in Index: configure.in =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/configure.in,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- configure.in 26 Aug 2002 14:47:49 -0000 1.25 +++ configure.in 2 Dec 2002 20:07:36 -0000 1.26 @@ -36,6 +36,7 @@ *-*-UnixWare*) platform=UNIXWARE ;; *-*-*unixware*) platform=UNIXWARE ;; *-*-sysv5uw7*) platform=UNIXWARE ;; + *-*-beos*) platform=BEOS ;; *-*-linux*) platform=LINUX ;; *-*-freebsd*) platform=FREEBSD ;; *-*-irix*) platform=IRIX ;; 1.33 +11 -1 xml-xerces/c/tests/Makefile.incl Index: Makefile.incl =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/Makefile.incl,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- Makefile.incl 26 Aug 2002 14:47:49 -0000 1.32 +++ Makefile.incl 2 Dec 2002 20:07:36 -0000 1.33 @@ -178,6 +178,16 @@ EXTRA_LINK_OPTIONS=-q OPTION='*DUPPROC *DUPVAR' ${EXTRA_LIBS} endif +#=============== BEOS SPECIFIC OPTIONS ========================= +ifeq (${PLATFORM}, BEOS) +CMP= -c ${CXXFLAGS} +CC= ${COMPILER} -c -D${PLATFORM} -DAPP_NO_THREADS -fpic +LINK = ${COMPILER} -D${PLATFORM} -fpic ${LDFLAGS} +PLATFORM_LIB_LINK_OPTIONS=-L/boot/develop/lib/x86 -L/boot/home/config/lib +EXTRA_LINK_OPTIONS=-lbe ${EXTRA_LIBS} +SHLIBSUFFIX=.so +endif + #=============== LINUX SPECIFIC OPTIONS ========================= ifeq (${PLATFORM}, LINUX) CMP= -c ${CXXFLAGS} 1.26 +4 -4 xml-xerces/c/tests/runConfigure Index: runConfigure =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/runConfigure,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- runConfigure 4 Sep 2002 17:16:03 -0000 1.25 +++ runConfigure 2 Dec 2002 20:07:36 -0000 1.26 @@ -82,7 +82,7 @@ echo "runConfigure: Helper script to run \"configure\" for one of the supported platforms" echo "Usage: runConfigure \"options\"" echo " where options may be any of the following:" - echo " -p <platform> (accepts 'aix', 'linux', 'freebsd', 'solaris', + echo " -p <platform> (accepts 'aix', 'beos', 'linux', 'freebsd', 'solaris', 'hp-10', 'hp-11', 'openserver', 'unixware', 'os400', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin')" echo " -c <C compiler name> (e.g. gcc, cc, xlc_r, icc or ecc)" @@ -196,7 +196,7 @@ # Now check if the options are correct or not, bail out if incorrect # case $platform in - aix | openserver | unixware | linux | freebsd | solaris | hp-10 | hp-11 | os400 | irix | ptx | tru64 | macosx | cygwin) + aix | openserver | unixware | beos | linux | freebsd | solaris | hp-10 | hp-11 | os400 | irix | ptx | tru64 | macosx | cygwin) # platform has been recognized ;; *) @@ -342,7 +342,7 @@ # # -# aix | linux | hp-11 | solaris | +# aix | beos | linux | hp-11 | solaris | # hp-10 | freebsd | irix | openserver | unixware | os400 | ptx | tru64 | macosx # if test $bitsToBuild = 64; then
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]