OSX and BSD use -E for extended re's rather than GNU -r

This commit is contained in:
R. Bernstein
2012-04-28 21:06:50 -04:00
parent 16f2cc0b17
commit 07711418d0
2 changed files with 6 additions and 1 deletions

View File

@@ -22,7 +22,7 @@
cdio_config.h: $(top_builddir)/config.h
@echo '#ifndef __CDIO_CONFIG_H__' > cdio_config.h
@echo '#define __CDIO_CONFIG_H__' >> cdio_config.h
@@SED@ -re 's/^(#[ \t]*define) /\1 CDIO_/' $(top_builddir)/config.h >>cdio_config.h
@@SED@ @SED_EXTENDED_RE_FLAG@ -e 's/^(#[ \t]*define) /\1 CDIO_/' $(top_builddir)/config.h >>cdio_config.h
@echo '#endif /* #ifndef CDIO_CONFIG_H */' >>cdio_config.h
libcdioincludedir=$(includedir)/cdio