jim         00/01/10 15:53:13

  Modified:    src      Configure
  Log:
  Adjust from a previously unused test method
  (-n) to an ugly case statement
  
  Revision  Changes    Path
  1.386     +6 -3      apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.385
  retrieving revision 1.386
  diff -u -r1.385 -r1.386
  --- Configure 2000/01/10 21:33:10     1.385
  +++ Configure 2000/01/10 23:53:08     1.386
  @@ -1487,9 +1487,12 @@
        # Activate RISC compilation if this is a SR2000 machine
        # (test written by Thomas Dorner <[EMAIL PROTECTED]>
        # for perl5 port):
  -     if [ -n "`bs2cmd SHOW-SYSTEM-INFO | grep 'HSI-ATT.*TYPE.*SR'`" ]; then
  -         CFLAGS="$CFLAGS -Krisc_4000"
  -     fi
  +     ISSR2000="`bs2cmd SHOW-SYSTEM-INFO | grep 'HSI-ATT'`"
  +     case "$ISSR2000" in
  +         *TYPE*SR*)
  +             CFLAGS="$CFLAGS -Krisc_4000"
  +             ;;
  +     esac
        # Depending on the BS2000 OS and compiler/crte release,
        # -lnsl may be available (or may be not).
        # In standard SVR4 systems, -lsocket relies on some symbols
  
  
  

Reply via email to