1 dnl ######################################################################
2 dnl check if compiler can handle "void *"
3 AC_DEFUN([AMU_C_VOID_P],
5 AC_CACHE_CHECK(if compiler can handle void *,
8 # try to compile a program which uses void *
13 ], ac_cv_c_void_p=yes, ac_cv_c_void_p=no)
15 if test "$ac_cv_c_void_p" = yes
17 AC_DEFINE(voidp, void *)
19 AC_DEFINE(voidp, char *)
22 dnl ======================================================================