Ejemplo n.º 1
0
gboolean
lm_glibc_check (void)
{
  gboolean result;

  jb_message_checking("for the GNU C library");
  result = jb_test_compile("jbsrc/lm-glibc-test.c", NULL, NULL);
  jb_message_result_bool(result);

  return result;
}
Ejemplo n.º 2
0
gboolean
jb_test_compile_string (const char *str,
			const char *cflags,
			const char *cppflags)
{
  g_return_val_if_fail(str != NULL, FALSE);

  jb_write_file_or_exit("build/test.c", str);

  return jb_test_compile("build/test.c", cflags, cppflags);
}