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
|
@ -30,15 +30,17 @@ EXTRA_DIST =
|
||||||
|
|
||||||
TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
|
TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env"
|
||||||
|
|
||||||
test_cflags = \
|
test_cflags = \
|
||||||
-I$(top_srcdir)/test-suite/standalone \
|
-I$(top_srcdir)/test-suite/standalone \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) -I$(top_builddir) \
|
||||||
$(EXTRA_DEFS) $(GUILE_CFLAGS)
|
$(EXTRA_DEFS) $(GUILE_CFLAGS)
|
||||||
|
|
||||||
AM_LDFLAGS = $(GUILE_CFLAGS)
|
AM_LDFLAGS = $(GUILE_CFLAGS)
|
||||||
|
|
||||||
snarfcppopts = \
|
snarfcppopts = \
|
||||||
$(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) -I$(top_srcdir)
|
$(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS) \
|
||||||
|
-I$(top_srcdir) -I$(top_builddir)
|
||||||
|
|
||||||
SUFFIXES = .x
|
SUFFIXES = .x
|
||||||
.c.x:
|
.c.x:
|
||||||
${top_builddir}/libguile/guile-snarf -o $@ $< $(snarfcppopts)
|
${top_builddir}/libguile/guile-snarf -o $@ $< $(snarfcppopts)
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <libguile.h>
|
#include <libguile.h>
|
||||||
|
|
||||||
long asmob000;
|
long asmob000;
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
/* some bits originally by Jim Blandy <jimb@red-bean.com> */
|
/* some bits originally by Jim Blandy <jimb@red-bean.com> */
|
||||||
|
|
||||||
|
#ifndef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <libguile.h>
|
#include <libguile.h>
|
||||||
#include <libguile/gh.h>
|
#include <libguile/gh.h>
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <libguile.h>
|
#include <libguile.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <libguile.h>
|
#include <libguile.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <libguile.h>
|
#include <libguile.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue