Correct test for enable_cdda to accept either curses.h *or* ncurses.h

Add <strings.h> in more places that use bzero. Checks suggested by Blake Jones.

Add preprocessor symbol CDIO_CONFIG_H to <cdio_config.h>
This commit is contained in:
R. Bernstein
2011-10-20 18:24:10 -04:00
parent 96343e07bf
commit b7203f5d6b
5 changed files with 21 additions and 9 deletions

View File

@@ -23,7 +23,10 @@ paranoiaheaders = cdda.h cdtext.h
endif
cdio_config.h: $(top_srcdir)/config.h
cp $(top_srcdir)/config.h cdio_config.h
echo '#ifndef CDIO_CONFIG_H' > cdio_config.h
echo '#define CDIO_CONFIG_H' >> cdio_config.h
cat $(top_srcdir)/config.h >>cdio_config.h
echo '#endif /* #ifndef CDIO_CONFIG_H */' >>cdio_config.h
libcdioincludedir=$(includedir)/cdio
libcdioinclude_HEADERS = \