Change $(GREP) to $(EGREP), since we really only do a AC_PROG_EGREP
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 6 Sep 2007 03:22:51 +0000 (03:22 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 6 Sep 2007 03:22:51 +0000 (03:22 +0000)
in configure, and apparently GREP isn't always defined, as reported
by Anders Blomdell.

comedi/Makefile.am

index 9d17a79160add2ad7ceb42dfb8af6156b0e9c645..602fe673ab1c9dc912b5a1c9f0fa84e10f6ce73a 100644 (file)
@@ -12,7 +12,7 @@ all-local:
 #the kernel's build system doesn't get lost.
        if test "$(srcdir)" != "."; then \
                for dir in . drivers kcomedilib drivers/addi-data; do \
-                       for file in `ls @abs_srcdir@/$$dir/*\.[ch] @abs_srcdir@/$$dir/Kbuild | $(GREP) -v \.mod\.c`; do \
+                       for file in `ls @abs_srcdir@/$$dir/*\.[ch] @abs_srcdir@/$$dir/Kbuild | $(EGREP) -v \.mod\.c`; do \
                                LINK_NAME=$$dir/`basename "$$file"`; \
                                if test ! -e $$LINK_NAME; then ln -vs $$file $$LINK_NAME; fi; \
                        done; \