mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 08:20:20 +02:00
Include <config.h> in standalone tests.
* test-suite/standalone/Makefile.am (test_cflags): Add `-I$(top_builddir)' so that <config.h> can be found. (snarfcppopts): Likewise. * test-suite/standalone/*.c: Include <config.h>.
This commit is contained in:
parent
7a4e0d105e
commit
972b5d7045
6 changed files with 27 additions and 5 deletions
|
@ -32,13 +32,15 @@ TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
|
|||
|
||||
test_cflags = \
|
||||
-I$(top_srcdir)/test-suite/standalone \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir) -I$(top_builddir) \
|
||||
$(EXTRA_DEFS) $(GUILE_CFLAGS)
|
||||
|
||||
AM_LDFLAGS = $(GUILE_CFLAGS)
|
||||
|
||||
snarfcppopts = \
|
||||
$(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) -I$(top_srcdir)
|
||||
$(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) \
|
||||
-I$(top_srcdir) -I$(top_builddir)
|
||||
|
||||
SUFFIXES = .x
|
||||
.c.x:
|
||||
${top_builddir}/libguile/guile-snarf -o $@ $< $(snarfcppopts)
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <libguile.h>
|
||||
|
||||
long asmob000;
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
|
||||
/* some bits originally by Jim Blandy <jimb@red-bean.com> */
|
||||
|
||||
#ifndef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <libguile.h>
|
||||
#include <libguile/gh.h>
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <libguile.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <libguile.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <pthread.h>
|
||||
#include <libguile.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue