AC_CANONICAL_HOST
AM_PROG_LIBTOOL
+AC_CHECK_PROGS([AUTOM4TE], [autom4te])
+
dnl--------------------------------------------------------------------------
dnl C programming environment.
no) haveshark=no needshark=no ;;
yes) haveshark=yes needshark=yes ;;
*) haveshark=yes needshark=yes
- wireshark_plugindir=$withval ;;
+ wireshark_plugindir=$withval ;;
esac],
[haveshark=yes needshark=no])
dnl If we're still interested, find Glib.
case "$haveshark" in
- yes) AM_PATH_GLIB([1.2.0], [], haveshark=false, [gmodule]) ;;
+ yes) AM_PATH_GLIB_2_0([2.4.0], [], [haveshark=false], [gmodule]) ;;
esac
dnl Find the include directory. This would be much easier if they just
mdw_CFLAGS=$CFLAGS
wsprefix=`echo $wireshark_plugindir | sed 's:/lib/.*$::'`
AC_CACHE_CHECK([how to find the Wireshark headers],
- [mdw_cv_wireshark_includes], [
+ [mdw_cv_wireshark_includes], [
mdw_cv_wireshark_includes=failed
for i in \
"" \
dnl Produce output.
AC_CONFIG_HEADER([config/config.h])
+AC_CONFIG_TESTDIR([t])
AC_CONFIG_FILES(
[Makefile]
[common/Makefile]
+ [uslip/Makefile]
[client/Makefile]
[server/Makefile]
[proxy/Makefile]
[wireshark/Makefile]
[init/Makefile]
[keys/Makefile]
- [mon/Makefile])
+ [mon/Makefile]
+ [t/Makefile t/atlocal])
AC_OUTPUT
dnl ----- That's all, folks -------------------------------------------------