aboutsummaryrefslogtreecommitdiff
path: root/ac/check-type.m4
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-28 17:43:47 +0100
committerThomas White <taw@physics.org>2019-05-16 15:15:49 +0200
commitb1efe94d287236dd7f31fd030de2068f985103a4 (patch)
treeb7b83198e6525cc05a423d0a0ee036c89c7dc11c /ac/check-type.m4
parenta72a075cc298497f955a8707c01126e8825b6f0a (diff)
Strip away all old autotools and installer stuff
Diffstat (limited to 'ac/check-type.m4')
-rw-r--r--ac/check-type.m427
1 files changed, 0 insertions, 27 deletions
diff --git a/ac/check-type.m4 b/ac/check-type.m4
deleted file mode 100644
index e65ea03b..00000000
--- a/ac/check-type.m4
+++ /dev/null
@@ -1,27 +0,0 @@
-dnl SYLPHEED_CHECK_TYPE(TYPE, DEFAULT [, INCLUDES, COMMENT])
-dnl
-dnl Like AC_CHECK_TYPE, but in addition to `sys/types.h', `stdlib.h' and
-dnl `stddef.h' checks files included by INCLUDES, which should be a
-dnl series of #include statements. If TYPE is not defined, define it
-dnl to DEFAULT.
-dnl
-AC_DEFUN([SYLPHEED_CHECK_TYPE],
-[AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_MSG_CHECKING(for $1)
-AC_CACHE_VAL(sylpheed_cv_type_$1,
-[AC_TRY_COMPILE([
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-$3
-], [
-#undef $1
-int a = sizeof($1);
-], sylpheed_cv_type_$1=yes, sylpheed_cv_type_$1=no)])dnl
-AC_MSG_RESULT($sylpheed_cv_type_$1)
-if test $sylpheed_cv_type_$1 = no; then
- AC_DEFINE($1, $2, $4)
-fi
-])