jfclere     01/11/21 02:47:23

  Modified:    .        configure.in
               build    apr_hints.m4 config.guess config.sub
  Log:
  Add the first elements to support AS/400
  Submitted by: Henri Gomez, [EMAIL PROTECTED]
  
  Revision  Changes    Path
  1.375     +5 -1      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.374
  retrieving revision 1.375
  diff -u -r1.374 -r1.375
  --- configure.in      2001/11/19 16:51:58     1.374
  +++ configure.in      2001/11/21 10:47:23     1.375
  @@ -229,6 +229,10 @@
          OSDIR="os390"
          eolstr="\\n"
          ;;
  +   *os400)
  +       OSDIR="as400"
  +       eolstr="\\n"
  +       ;;
      *cygwin*)
          OSDIR="unix"
          APR_ADDTO(CPPFLAGS,-DCYGWIN)
  @@ -958,7 +962,7 @@
       fi
       if test "$tempdso" = "no"; then
           case $host in
  -            *os390|*-os2*)
  +            *os390|*-os2*|*os400)
                   tempdso="yes"
                   ;;
           esac
  
  
  
  1.26      +7 -0      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- apr_hints.m4      2001/11/10 01:14:49     1.25
  +++ apr_hints.m4      2001/11/21 10:47:23     1.26
  @@ -387,6 +387,13 @@
          APR_SETIFNULL(CC, [cc])
          APR_ADDTO(CPPFLAGS, [-U_NO_PROTO 
-DPTHREAD_ATTR_SETDETACHSTATE_ARG2_ADDR -DPTHREAD_SETS_ERRNO 
-DPTHREAD_DETACH_ARG1_ADDR -DSIGPROCMASK_SETS_THREAD_MASK -DTCP_NODELAY=1])
          ;;
  +    *-ibm-as400)
  +       APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
  +       APR_SETIFNULL(apr_process_lock_is_global, [yes])
  +       APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes])
  +       APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes])
  +       APR_SETIFNULL(CC, [icc])
  +       ;;
       *cygwin*)
        APR_ADDTO(CPPFLAGS, [-DCYGWIN])
        APR_ADDTO(LIBS, [-lcrypt])
  
  
  
  1.5       +3 -0      apr/build/config.guess
  
  Index: config.guess
  ===================================================================
  RCS file: /home/cvs/apr/build/config.guess,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- config.guess      2001/02/18 09:46:28     1.4
  +++ config.guess      2001/11/21 10:47:23     1.5
  @@ -213,6 +213,9 @@
       *:OS390:*:* | *:OS/390:*:*)
        echo s390-ibm-os390
        exit 0 ;; 
  +    *:OS400:*:* | *:OS/400:*:*) 
  +     echo as400-ibm-os400
  +     exit 0 ;;
       *:OS/2:*:*)
        echo "i386-pc-os2_emx"
        exit 0;;
  
  
  
  1.5       +12 -2     apr/build/config.sub
  
  Index: config.sub
  ===================================================================
  RCS file: /home/cvs/apr/build/config.sub,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- config.sub        2001/02/18 09:46:28     1.4
  +++ config.sub        2001/11/21 10:47:23     1.5
  @@ -89,6 +89,10 @@
       os=-$maybe_os
       basic_machine=s390;
       ;;
  +  os400)
  +    os=-$maybe_os
  +    basic_machine=as400;
  +    ;;
     mvs)
       os=-mvs
       basic_machine=i370;
  @@ -240,7 +244,7 @@
              | mips64el-* | mips64orion-* | mips64orionel-* \
              | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | 
mips64vr4300el-* \
              | mipstx39-* | mipstx39el-* | mcore-* \
  -           | f301-* | armv*-* | s390-* | sv1-* | t3e-* \
  +           | f301-* | armv*-* | s390-* | as400-* | sv1-* | t3e-* \
              | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | 
d10v-* \
              | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \
              | bs2000-*)
  @@ -707,6 +711,9 @@
        s390*)
                basic_machine=s390-ibm
                ;; 
  +        as400*)
  +             basic_machine=as400-ibm
  +             ;;
   # 
   # end Apache changes
   ########################
  @@ -954,7 +961,7 @@
   ########################
   # changes for Apache
   #
  -     -os2_emx | -tpf* | -os390* | -vmcms* )
  +     -os2_emx | -tpf* | -os390* | -vmcms* | -os400* )
                ;;
   #
   # end Apache changes
  @@ -1159,6 +1166,9 @@
                        ;;
                    i370*)
                        os=-mvs;
  +                     ;;
  +                 as400*)
  +                     os=-os400;
                        ;;
                    *)
                        os=-aix
  
  
  

Reply via email to