Make sure config.h or the copy of that gets included only once to reduce duplicate include
warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user