Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Configure problem under NEXTSTEP



Hi,

The following patch should correct the configuration problem
previously described.  It uses ``sed'' instead of ``cut''.

- Eskandar

*** configure.in.old	Thu May  4 19:21:14 1995
--- configure.in	Mon May 22 14:35:39 1995
***************
*** 106,112 ****
  dnl Sco doesn't define any useful compiler symbol,
  dnl so we will check for sco and define __sco if
  dnl found.
! if test `echo $host_os | cut -c1-3` = sco; then
    CFLAGS="$CFLAGS -D__sco"
  fi
  
--- 106,112 ----
  dnl Sco doesn't define any useful compiler symbol,
  dnl so we will check for sco and define __sco if
  dnl found.
! if test `echo $host_os | sed 's/^\(...\).*/\1/'` = sco; then
    CFLAGS="$CFLAGS -D__sco"
  fi
  



Messages sorted by: Reverse Date, Date, Thread, Author