X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=457513cb9dd8853efe892c0860ef38f09022f779;hb=77479a0e1b1bb9fa20db4c192ab11a773b7c5077;hp=da4c1b334980bebb6e578e0f7e9c3644b49c74b2;hpb=991559357f6a03c3a5b70c053c8c2554aa8d5ee4;p=openvswitch diff --git a/Makefile.am b/Makefile.am index da4c1b33..457513cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,6 +12,7 @@ SUBDIRS = datapath AM_CPPFLAGS = $(SSL_CFLAGS) AM_CPPFLAGS += -I $(top_srcdir)/include AM_CPPFLAGS += -I $(top_srcdir)/lib +AM_CPPFLAGS += -I $(top_builddir)/lib AM_CFLAGS = -Wstrict-prototypes AM_CFLAGS += $(WARNING_FLAGS) @@ -87,7 +88,7 @@ SUFFIXES += .in -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \ -e 's,[@]ovsdbmonitordir[@],$(ovsdbmonitordir),g' \ > $@.tmp - @if head -n 1 $@.tmp | grep -q '#!'; then \ + @if head -n 1 $@.tmp | grep '#!' > /dev/null; then \ echo chmod +x $@.tmp; \ chmod +x $@.tmp; \ fi