You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2004/09/10 01:52:24 UTC

cvs commit: xml-xerces/c/tests runConfigure

cargilld    2004/09/09 16:52:24

  Modified:    c/samples runConfigure
               c/tests  runConfigure
  Log:
  Support for os390
  
  Revision  Changes    Path
  1.46      +8 -3      xml-xerces/c/samples/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/runConfigure,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- runConfigure	8 Sep 2004 13:55:30 -0000	1.45
  +++ runConfigure	9 Sep 2004 23:52:24 -0000	1.46
  @@ -46,7 +46,7 @@
       echo "       where options may be any of the following:"
       echo "       -p <platform> (accepts 'aix', 'beos', 'linux', 'freebsd', 'netbsd',
               'solaris', 'hp-10', 'hp-11', 'openserver', 'unixware',
  -            'os400', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin', 'qnx',
  +            'os400', 'os390', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin', 'qnx',
               'interix', 'mingw-msys')
               [required: no default]"
       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 | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
  +   aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
          # platform has been recognized
          ;;
      *)
  @@ -215,6 +215,8 @@
          debugflag="-w -O2";
       elif test $platform = "aix"; then
          debugflag="-w -O2";
  +	elif test $platform = "os390"; then
  +       debugflag="";       
       else
       debugflag="-w -O";
       fi
  @@ -306,6 +308,9 @@
           THREADS=dce
           threadingLibs="-lcma"
           threadingDefines="-DXML_USE_DCE"
  +	elif test $platform = "os390"; then
  +        threadingDefines="-D_OPEN_THREADS"
  +        threadingLibs=""        
       elif test $platform = "unixware"; then
           threadingLibs=""         ## Linkflags control the use of threads on UnixWare
       elif test $platform = "solaris"; then
  
  
  
  1.38      +8 -3      xml-xerces/c/tests/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/runConfigure,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- runConfigure	8 Sep 2004 13:57:02 -0000	1.37
  +++ runConfigure	9 Sep 2004 23:52:24 -0000	1.38
  @@ -45,7 +45,7 @@
       echo "       where options may be any of the following:"
       echo "       -p <platform> (accepts 'aix', 'beos', 'linux', 'freebsd', 'netbsd',
               'solaris', 'hp-10', 'hp-11', 'openserver', 'unixware',
  -            'os400', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin', 'qnx',
  +            'os400', 'os390', 'irix', 'ptx', 'tru64', 'macosx', 'cygwin', 'qnx',
               'interix', 'mingw-msys')
               [required: no default]"
       echo "       -c <C compiler name> (e.g. gcc, cc, xlc_r, icc or ecc)"
  @@ -195,7 +195,7 @@
   # Now check if the options are correct or not, bail out if incorrect
   #
   case $platform in
  -   aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
  +   aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
          # platform has been recognized
          ;;
      *)
  @@ -214,6 +214,8 @@
          debugflag="-w -O2";
       elif test $platform = "aix"; then
          debugflag="-w -O2";
  +   	elif test $platform = "os390"; then
  +       debugflag="";       
       else
       debugflag="-w -O";
       fi
  @@ -305,6 +307,9 @@
           THREADS=dce
           threadingLibs="-lcma"
           threadingDefines="-DXML_USE_DCE"
  +	elif test $platform = "os390"; then
  +        threadingDefines="-D_OPEN_THREADS"
  +        threadingLibs=""        
       elif test $platform = "unixware"; then
           threadingLibs=""         ## Linkflags control the use of threads on UnixWare
       elif test $platform = "solaris"; then
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org