From b54b8f5b25403cf3b9623804b2491ec78a8b913e Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 21 May 2024 01:29:20 +0200 Subject: build: replace autotools with cmake this patch removes all the autoconf/automake/libtool build infrastructure and replaces it with cmake. notable default behavior changes: - man pages are not pre-built, and are not built by default, must be enabled with `-DBUILD_MANPAGES=ON`. removed features: - srpm packaging, to be reintroduced at some point. - deb packaging, now handled externally via rafaelmartins/deb.rgm.io more stuff must be missing, please report bugs! --- config.h.in | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 config.h.in (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..d6fa594 --- /dev/null +++ b/config.h.in @@ -0,0 +1,36 @@ +/* + * blogc: A blog compiler. + * Copyright (C) 2014-2024 Rafael G. Martins + * + * This program can be distributed under the terms of the BSD License. + * See the file LICENSE. + */ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@" + +#cmakedefine HAVE_GETRUSAGE +#cmakedefine HAVE_GETHOSTNAME + +#cmakedefine HAVE_ARPA_INET_H +#cmakedefine HAVE_DIRENT_H +#cmakedefine HAVE_ERRNO_H +#cmakedefine HAVE_FCNTL_H +#cmakedefine HAVE_LIBGEN_H +#cmakedefine HAVE_LIMITS_H +#cmakedefine HAVE_NETDB_H +#cmakedefine HAVE_NETINET_IN_H +#cmakedefine HAVE_SIGNAL_H +#cmakedefine HAVE_SYSEXITS_H +#cmakedefine HAVE_SYS_RESOURCE_H +#cmakedefine HAVE_SYS_SOCKET_H +#cmakedefine HAVE_SYS_STAT_H +#cmakedefine HAVE_SYS_TIME_H +#cmakedefine HAVE_SYS_TYPES_H +#cmakedefine HAVE_SYS_WAIT_H +#cmakedefine HAVE_TIME_H +#cmakedefine HAVE_UNISTD_H + +#endif /* __CONFIG_H */ -- cgit v1.2.3-18-g5258