zsh-workers
 help / color / mirror / code / Atom feed
* Configure Oops
@ 1995-08-05  1:54 Vidiot
  1995-08-07  9:27 ` Configure Oops and make error Zoltan Hidvegi
  0 siblings, 1 reply; 2+ messages in thread
From: Vidiot @ 1995-08-05  1:54 UTC (permalink / raw)
  To: ZSH Mailing List

While running the configure script from zsh-2.6-beta10-hzoli10.2, I get:

checking where signal.h is located... grep: illegal option -- q
Usage: grep -blcnsviwh [ -e ] pattern file . . .
grep: illegal option -- q
Usage: grep -blcnsviwh [ -e ] pattern file . . .
/dev/null

Oops.  The system uses SunOS 4.1.3

MB
-- 
System Administrator - Extrel FTMS - Madison WI.
e-mail: brown@ftms.com
phone: (608) 273-8262  fax: (608) 273-8719  voice-mail: (800) 426-6488 ext 6293
Visit - <http://www.cdsnet.net/vidiot/>  (Your link to the world of Star Trek)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Configure Oops and make error
  1995-08-05  1:54 Configure Oops Vidiot
@ 1995-08-07  9:27 ` Zoltan Hidvegi
  0 siblings, 0 replies; 2+ messages in thread
From: Zoltan Hidvegi @ 1995-08-07  9:27 UTC (permalink / raw)
  To: Vidiot

Vidiot <brown@ftms.COM> wrote:

> While running the configure script from zsh-2.6-beta10-hzoli10.2, I get:
> 
> checking where signal.h is located... grep: illegal option -- q
> Usage: grep -blcnsviwh [ -e ] pattern file . . .
> grep: illegal option -- q
> Usage: grep -blcnsviwh [ -e ] pattern file . . .
> /dev/null
> 
> Oops.  The system uses SunOS 4.1.3

Sorry for that. This grep was necessary because Linux may have signal.h in
either <asm/signal.h> or <linux/signal.h>. But under linux, <asm/signal.h>
always exists so we have to use grep do decide wether <asm/signal.h> or
<linux/signal.h> contains the relevant information.

The other problem was that make complained about missing autoheader. This was
because make wanted to remake stamp-h.in since it was older that
configure.in. Just touch stamp-h.in and remake, and it should work.

The patch below fixes hopefully fixes configure.

Do not forget to touch stamp-h.in after applying the patch. Or the best is to
mot use make in the main zsh directory. Just cd to Src, and do make there.

Zoltan

--- 1.3	1995/08/02 18:48:37
+++ configure	1995/08/07 09:16:06
@@ -2267,7 +2267,7 @@
 echo $ac_n "checking where signal.h is located""... $ac_c" 1>&6
 for SIGNAL_H in /usr/include/bsd/sys/signal.h /usr/include/asm/signal.h /usr/include/linux/signal.h /usr/include/sys/signal.h /dev/null; do
   test -f $SIGNAL_H && \
-  grep -q '#[ 	]*define[ 	][ 	]*SIG[0-9A-Z]*[ 	]*[0-9][0-9]*' $SIGNAL_H && \
+  grep '#[ 	]*define[ 	][ 	]*SIG[0-9A-Z]*[ 	]*[0-9][0-9]*' $SIGNAL_H > /dev/null && \
   break
 done
 echo "$ac_t""$SIGNAL_H" 1>&6
--- 1.3	1995/08/02 18:48:37
+++ configure.in	1995/08/07 09:11:35
@@ -361,7 +361,7 @@
                 /dev/null;                      dnl Just in case we fall through
 do
   test -f $SIGNAL_H && \
-  grep -q '#[ 	]*define[ 	][ 	]*SIG[0-9A-Z]*[ 	]*[0-9][0-9]*' $SIGNAL_H && \
+  grep '#[ 	]*define[ 	][ 	]*SIG[0-9A-Z]*[ 	]*[0-9][0-9]*' $SIGNAL_H > /dev/null && \
   break
 done
 AC_MSG_RESULT($SIGNAL_H)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-08-07  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-05  1:54 Configure Oops Vidiot
1995-08-07  9:27 ` Configure Oops and make error Zoltan Hidvegi

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).