You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
734 B
28 lines
734 B
From 0eb2e3f7e81275a14958fa3cab900501c37c404c Mon Sep 17 00:00:00 2001
|
|
From: Kohei Yoshida <kohei.yoshida@gmail.com>
|
|
Date: Thu, 24 Sep 2020 19:28:48 -0400
|
|
Subject: [PATCH 2/2] Check the size of void* and pass it as a compiler define.
|
|
|
|
This is needed in order to link against libixion. Related to #129.
|
|
---
|
|
configure.ac | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index f69e7a12..caf82304 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -55,6 +55,9 @@ AC_C_INLINE
|
|
AC_TYPE_MODE_T
|
|
AC_TYPE_SIZE_T
|
|
|
|
+AC_CHECK_SIZEOF([void *])
|
|
+CXXFLAGS="$CXXFLAGS -DSIZEOF_VOID_P=$ac_cv_sizeof_void_p"
|
|
+
|
|
# ============================
|
|
# Checks for library functions
|
|
# ============================
|
|
--
|
|
2.25.1
|
|
|