Revision: 6393 Author: ek.kato Date: Tue May 25 01:47:24 2010 Log: * configure.ac : Add check for cmsgcred (Debian bug #494344).
http://code.google.com/p/uim/source/detail?r=6393 Modified: /trunk/configure.ac ======================================= --- /trunk/configure.ac Sat May 15 04:30:05 2010 +++ /trunk/configure.ac Tue May 25 01:47:24 2010 @@ -702,6 +702,23 @@ [define if you have struct sockaddr_storage data type]) fi +dnl cred related +AC_CACHE_CHECK([for struct cmsgcred], ac_cv_have_struct_cmsgcred, [ + AC_TRY_COMPILE( + [ +#include <sys/types.h> +#include <sys/socket.h> + ], + [ struct cmsgcred s; ], + [ ac_cv_have_struct_cmsgcred="yes" ], + [ ac_cv_have_struct_cmsgcred="no" ] + ) +]) +if test "x$ac_cv_have_struct_cmsgcred" = "xyes" ; then + AC_DEFINE(HAVE_STRUCT_CMSGCRED, 1, + [define if you have struct cmsgcred data type]) +fi + AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [ AC_TRY_COMPILE( [
