tng 2002/12/02 12:07:11 Modified: c/samples 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.24 +1 -0 xml-xerces/c/samples/configure Index: configure =================================================================== RCS file: /home/cvs/xml-xerces/c/samples/configure,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- configure 26 Aug 2002 14:47:48 -0000 1.23 +++ configure 2 Dec 2002 20:07:10 -0000 1.24 @@ -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.22 +1 -0 xml-xerces/c/samples/configure.in Index: configure.in =================================================================== RCS file: /home/cvs/xml-xerces/c/samples/configure.in,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- configure.in 26 Aug 2002 14:47:48 -0000 1.21 +++ configure.in 2 Dec 2002 20:07:10 -0000 1.22 @@ -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.51 +11 -1 xml-xerces/c/samples/Makefile.incl Index: Makefile.incl =================================================================== RCS file: /home/cvs/xml-xerces/c/samples/Makefile.incl,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- Makefile.incl 26 Aug 2002 14:47:48 -0000 1.50 +++ Makefile.incl 2 Dec 2002 20:07:10 -0000 1.51 @@ -179,6 +179,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.36 +4 -4 xml-xerces/c/samples/runConfigure Index: runConfigure =================================================================== RCS file: /home/cvs/xml-xerces/c/samples/runConfigure,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- runConfigure 4 Sep 2002 17:15:54 -0000 1.35 +++ runConfigure 2 Dec 2002 20:07:10 -0000 1.36 @@ -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]