Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built.

This commit is contained in:
R. Bernstein
2009-11-26 05:31:39 -05:00
parent 9bec7fc204
commit 35663d6266
42 changed files with 77 additions and 249 deletions

View File

@@ -21,9 +21,6 @@
A somewhat simplified program to show the use of cdio_guess_cd_type().
Figure out the kind of CD image we've got.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <sys/types.h>