1 #######################
2 # type alignment test #
3 #######################
5 AC_DEFUN([DBIND_CHECK_ALIGNOF],[
9 #define DBUS_API_SUBJECT_TO_CHANGE
10 #include <dbus/dbus.h>
11 typedef struct {char s1;} dbind_struct;
12 typedef void *dbind_pointer;
15 dnl Note that we substitute for names like @DBIND_ALIGNOF_DBIND_STRUCT@, but
16 dnl we #define names like ALIGNOF_DBIND_STRUCT in config.h!
18 AC_SUBST(translit(dbind_alignof_$1, [a-z *], [A-Z_P]),[$ac_cv_alignof_$1])