Skip to content

Commit

Permalink
make this work on Solaris by using ${EGREP} instead of ${GREP}.
Browse files Browse the repository at this point in the history
  • Loading branch information
grant committed Aug 14, 2002
1 parent 2dce5d0 commit af82317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/endian.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: endian.mk,v 1.1 2002/04/22 02:30:51 jlam Exp $
# $NetBSD: endian.mk,v 1.2 2002/08/14 02:38:25 grant Exp $
#
# Determine the endianness of the platform by checking header files.
#
Expand Down Expand Up @@ -40,7 +40,7 @@ MACHINE_ENDIAN!= \
${ECHO} "\#endif"; \
${ECHO} "\#endif"; \
${ECHO} "BYTE_ORDER"; \
) | ${CC} -E - | ${GREP} "^\\(1234\\|4321\\)" \
) | ${CC} -E - | ${EGREP} "^(1234|4321)" \
`; \
case `${ECHO} $${byte_order}` in \
1234) ${ECHO} little ;; \
Expand Down

0 comments on commit af82317

Please sign in to comment.