diff configure.ac @ 21:973734ebd2be

dep/animone: REFACTOR ALL THE THINGS 1: animone now has its own syntax divergent from anisthesia, making different platforms actually have their own sections 2: process names in animone are now called `comm' (this will probably break things). this is what its called in bsd/linux so I'm just going to use it everywhere 3: the X11 code now checks for the existence of a UTF-8 window title and passes it if available 4: ANYTHING THATS NOT LINUX IS 100% UNTESTED AND CAN AND WILL BREAK! I still actually need to test the bsd code. to be honest I'm probably going to move all of the bsds into separate files because they're all essentially different operating systems at this point
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 12:51:15 -0400
parents 6596be6917a1
children bc22d57076e3
line wrap: on
line diff
--- a/configure.ac	Wed Jun 19 06:32:25 2024 -0400
+++ b/configure.ac	Wed Jun 19 12:51:15 2024 -0400
@@ -1,4 +1,4 @@
-AC_INIT([animone], [1.0.0])
+AC_INIT([animone], [2.0.0])
 
 AC_CANONICAL_HOST
 
@@ -29,16 +29,16 @@
 		build_windows=yes
 		AC_CHECK_TOOL([WINDRES], [windres])
 		AC_SUBST(WINDRES)
-		AC_DEFINE([WIN32])
+		AC_DEFINE([USE_WIN32])
 		;;
 	darwin*)
 		# Mac OS X
 		build_osx=yes
-		AC_DEFINE([MACOSX])
+		AC_DEFINE([USE_MACOSX])
 		;;
 	linux*)
 		build_linux=yes
-		AC_DEFINE([LINUX])
+		AC_DEFINE([USE_LINUX])
 		;;
 	*)
 		dnl BSDs
@@ -46,10 +46,10 @@
 		AC_CHECK_LIB([kvm], [kvm_getfiles], [build_kvm=yes], [build_kvm=no])
 
 		if test "x$build_kvm" = "xyes"; then
-			AC_DEFINE([LIBKVM])
+			AC_DEFINE([USE_LIBKVM])
 			AC_DEFINE([BSD])
 		elif test "x$build_libutil" = "xyes"; then
-			AC_DEFINE([LIBUTIL])
+			AC_DEFINE([USE_LIBUTIL])
 			AC_DEFINE([BSD])
 		fi
 		;;
@@ -58,7 +58,7 @@
 if test "x$build_osx" != "xyes" && test "x$build_windows" != "xyes"; then
 	PKG_CHECK_MODULES(XCB, [xcb xcb-res], [build_x11=yes], [build_x11=no])
 	if test "x$build_x11" = "xyes"; then
-		AC_DEFINE([X11])
+		AC_DEFINE([USE_X11])
 		AC_SUBST([XCB_LIBS])
 		AC_SUBST([XCB_CFLAGS])
 	fi