From 92817e84ca5cc79ea15d652317d976d141935993 Mon Sep 17 00:00:00 2001 From: Ori Avtalion Date: Fri, 9 Apr 2010 14:12:20 +0000 Subject: Use head -1 instead of grep -m (non-POSIX flag) svn-id: r48599 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 3b37159706..c7b55f257f 100755 --- a/configure +++ b/configure @@ -204,7 +204,7 @@ EOF } gcc_get_define() { - $CXX -dM -E - < /dev/null | fgrep -m 1 "$1" | cut -d ' ' -f 3- + $CXX -dM -E - < /dev/null | fgrep "$1" | head -1 | cut -d ' ' -f 3- } # -- cgit v1.2.3