# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h glib-2.0/glib.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
-#include <glib.h>
+#include <glib-2.0/glib.h>
#include "ltt/ltt.h"
/* structure definition */
#ifndef HOOK_H
#define HOOK_H
-#include <glib.h>
+#include <glib-2.0/glib.h>
/* A hook is a function to call with the supplied hook data, and with
call site specific data (e.g., hooks for events are called with a
/* Created by Mathieu Desnoyers, may 2003 */
-#include <glib.h>
-#include <gmodule.h>
+#include <glib-2.0/glib.h>
+#include <glib-2.0/gmodule.h>
/* Include module.h from lttv headers for module loading */
#include <lttv/module.h>
/* Created by Mathieu Desnoyers, may 2003 */
-#include <glib.h>
-#include <gmodule.h>
+#include <glib-2.0/glib.h>
+#include <glib-2.0/gmodule.h>
G_MODULE_EXPORT void init() {
g_critical("Sample module init()");
/* Created by Mathieu Desnoyers, may 2003 */
-#include <glib.h>
-#include <gmodule.h>
+#include <glib-2.0/glib.h>
+#include <glib-2.0/gmodule.h>
G_MODULE_EXPORT void init() {
g_critical("Sample module 2 init()");