Make sure config.h or the copy of that gets included only once to reduce duplicate include

warnings.
This commit is contained in:
R. Bernstein
2011-10-20 19:44:10 -04:00
parent b7203f5d6b
commit f215cad224
94 changed files with 223 additions and 190 deletions

View File

@@ -23,8 +23,8 @@ paranoiaheaders = cdda.h cdtext.h
endif
cdio_config.h: $(top_srcdir)/config.h
echo '#ifndef CDIO_CONFIG_H' > cdio_config.h
echo '#define CDIO_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