[
CFLAGS="$CFLAGS $GLIB_CFLAGS"
CXXFLAGS="$CXXFLAGS $GLIB_CFLAGS"
- ], AC_MSG_ERROR(GLib 2.4 or later distribution not found.), gmodule)
+ ], AC_MSG_ERROR(GLib 2.4 or later distribution not found.), gthread)
else
#
# We have GTK+, and thus will be building Wireshark unless the
wireshark_man="wireshark.1"
wireshark_SUBDIRS="codecs gtk"
# Don't use GLIB_CFLAGS
- AM_PATH_GLIB_2_0(2.4.0, , AC_MSG_ERROR(GLib 2.4 or later distribution not found.), gmodule)
+ AM_PATH_GLIB_2_0(2.4.0, , AC_MSG_ERROR(GLib 2.4 or later distribution not found.), gthread)
fi
#
log_flags,
console_log_handler, NULL /* user_data */);
+ /* Initialize the thread system */
+ if (!g_thread_supported())
+ g_thread_init(NULL);
#ifdef _WIN32
/* Load wpcap if possible. Do this before collecting the run-time version information */
load_wpcap();
SetConsoleCtrlHandler(capture_cleanup_handler, TRUE);
/* Prepare to read from a pipe */
- if (!g_thread_supported ())
- g_thread_init (NULL);
cap_pipe_pending_q = g_async_queue_new();
cap_pipe_done_q = g_async_queue_new();
cap_pipe_read_mtx = g_mutex_new();