tng         2002/12/02 12:08:12

  Modified:    c/src/xercesc 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.10      +3 -0      xml-xerces/c/src/xercesc/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/configure,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- configure 22 Nov 2002 14:54:45 -0000      1.9
  +++ configure 2 Dec 2002 20:08:12 -0000       1.10
  @@ -1254,6 +1254,7 @@
           *-*-sysv5*)     platform=UNIXWARE ;;
           *-*-UnixWare*)  platform=UNIXWARE ;;
           *-*-unixware*)  platform=UNIXWARE ;;
  +        *-*-beos*)      platform=BEOS ;;
           *-*-linux*)     platform=LINUX ;;
           *-*-freebsd*)   platform=FREEBSD ;;
           *-*-irix*)      platform=IRIX ;;
  @@ -1451,6 +1452,7 @@
   util/Platforms/Makefile \
   util/Platforms/Solaris/Makefile \
   util/Platforms/AIX/Makefile \
  +util/Platforms/BeOS/Makefile \
   util/Platforms/Linux/Makefile \
   util/Platforms/FreeBSD/Makefile \
   util/Platforms/HPUX/Makefile \
  @@ -1603,6 +1605,7 @@
   util/Platforms/Makefile \
   util/Platforms/Solaris/Makefile \
   util/Platforms/AIX/Makefile \
  +util/Platforms/BeOS/Makefile \
   util/Platforms/Linux/Makefile \
   util/Platforms/FreeBSD/Makefile \
   util/Platforms/HPUX/Makefile \
  
  
  
  1.13      +2 -0      xml-xerces/c/src/xercesc/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/configure.in,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- configure.in      22 Nov 2002 14:54:45 -0000      1.12
  +++ configure.in      2 Dec 2002 20:08:12 -0000       1.13
  @@ -32,6 +32,7 @@
           *-*-sysv5*)     platform=UNIXWARE ;;
           *-*-UnixWare*)  platform=UNIXWARE ;;
           *-*-unixware*)  platform=UNIXWARE ;;
  +        *-*-beos*)      platform=BEOS ;;
           *-*-linux*)     platform=LINUX ;;
           *-*-freebsd*)   platform=FREEBSD ;;
           *-*-irix*)      platform=IRIX ;;
  @@ -121,6 +122,7 @@
   util/Platforms/Makefile \
   util/Platforms/Solaris/Makefile \
   util/Platforms/AIX/Makefile \
  +util/Platforms/BeOS/Makefile \
   util/Platforms/Linux/Makefile \
   util/Platforms/FreeBSD/Makefile \
   util/Platforms/HPUX/Makefile \
  
  
  
  1.31      +17 -1     xml-xerces/c/src/xercesc/Makefile.incl
  
  Index: Makefile.incl
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/Makefile.incl,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Makefile.incl     2 Dec 2002 18:45:19 -0000       1.30
  +++ Makefile.incl     2 Dec 2002 20:08:12 -0000       1.31
  @@ -299,6 +299,22 @@
   
   endif
   
  +#=============== BEOS SPECIFIC OPTIONS =========================
  +ifeq (${PLATFORM}, BEOS)
  +PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM} -DAPP_NO_THREADS
  +MAKE_SHARED = ${CXX} -D${PLATFORM} -nostart -fPIC ${LDFLAGS}
  +MAKE_SHARED_C = ${CC} -D${PLATFORM} -nostart -fPIC ${LDFLAGS}
  +ifeq (${TRANSCODER}, ICU)
  +    ALLLIBS = ${LIBS} -L/boot/develop/lib/x86 -L/boot/home/config/lib -lbe -licuuc 
-licudata
  +else
  +    ALLLIBS = ${LIBS} -L/boot/develop/lib/x86 -L/boot/home/config/lib -lbe
  +endif
  +EXTRA_LINK_OPTIONS = -Xlinker -Map -Xlinker $(XML_OBJ)/${SO_NAME}.map
  +SHLIBSUFFIX=.so
  +## Compiler switch to embed a library name
  +LD_SONAME = -Wl,-soname,${SO_NAME}
  +endif
  +
   #=============== LINUX SPECIFIC OPTIONS =========================
   ifeq (${PLATFORM}, LINUX)
   PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM} -D_REENTRANT
  
  
  
  1.22      +6 -4      xml-xerces/c/src/xercesc/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/runConfigure,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- runConfigure      22 Nov 2002 14:54:45 -0000      1.21
  +++ runConfigure      2 Dec 2002 20:08:12 -0000       1.22
  @@ -84,7 +84,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)"
  @@ -227,7 +227,7 @@
   #
   
   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
          ;;
      *)
  @@ -382,7 +382,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
  @@ -528,6 +528,8 @@
              aix)
                  #netaccessorLibs="-lbsd";;
                  netaccessorLibs="";;
  +           beos)
  +               netaccessorLibs="-lnet";;
              solaris)
                  netaccessorLibs="-lnsl -lsocket"
                if test $thread = "dce"; then
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to