esac],
[wantshark=yes mustshark=no])
-case "$wantshark" in
- yes)
- PKG_CHECK_MODULES([WIRESHARK], [wireshark >= 1.12.1],
- [haveshark=yes], [haveshark=no])
- ;;
- *)
- haveshark=no
- ;;
-esac
-
-case "$haveshark,$wireshark_plugindir" in
+case "$wantshark,$wireshark_plugindir" in
yes,unknown)
AC_CACHE_CHECK([where to put Wireshark plugins],
[mdw_cv_wireshark_plugin_dir], [
;;
esac
;;
-esac
-
-dnl If we're still interested, find Glib.
-case "$haveshark" in
- yes) AM_PATH_GLIB_2_0([2.4.0], [], [haveshark=false], [gmodule]) ;;
+ no,*)
+ haveshark=no
+ ;;
esac
case "$haveshark,$needshark" in
AC_MSG_ERROR([failed to configure Wireshark plugin])
;;
yes,*)
- WIRESHARK_CFLAGS="$GLIB_CFLAGS $WIRESHARK_CFLAGS"
- AC_SUBST(WIRESHARK_CFLAGS)
AC_SUBST(wireshark_plugindir)
;;
esac