###################################################################
# Versioning
+# (and other variables to keep config.h consistent with Autoconf)
###################################################################
# Get, parse, format and set tcpdump's version string from
LIMIT_COUNT 1 # Read only the first line
)
+set(PACKAGE_BUGREPORT "https://github.com/the-tcpdump-group/tcpdump/issues")
+set(PACKAGE_NAME "tcpdump")
+set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
+set(PACKAGE_TARNAME "${PACKAGE_NAME}")
+set(PACKAGE_URL "https://www.tcpdump.org/")
+
######################################
# Project settings
######################################
#cmakedefine NET_ETHERNET_H_DECLARES_ETHER_NTOHOST 1
/* Define to the address where bug reports for this package should be sent. */
-#cmakedefine PACKAGE_BUGREPORT ""
+#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
/* Define to the full name of this package. */
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
/* Define to the one symbol short name of this package. */
-#cmakedefine PACKAGE_TARNAME ""
+#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@"
/* Define to the home page for this package. */
-#cmakedefine PACKAGE_URL ""
+#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
/* Define to the version of this package. */
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
#
AC_PREREQ([2.69])
-AC_INIT([tcpdump],[m4_esyscmd_s(cat VERSION)],[https://github.com/the-tcpdump-group/tcpdump/issues])
+AC_INIT(
+ [tcpdump],
+ [m4_esyscmd_s(cat VERSION)],
+ [https://github.com/the-tcpdump-group/tcpdump/issues],
+ [tcpdump],
+ [https://www.tcpdump.org/])
AC_CONFIG_SRCDIR(tcpdump.c)
AC_CANONICAL_HOST