zsh-workers
 help / color / mirror / code / Atom feed
* Configure problem under NEXTSTEP
@ 1995-05-22 21:38 Eskandar Ensafi
  0 siblings, 0 replies; only message in thread
From: Eskandar Ensafi @ 1995-05-22 21:38 UTC (permalink / raw)
  To: zsh-list


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
  


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-05-22 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-05-22 21:38 Configure problem under NEXTSTEP Eskandar Ensafi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).