X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=inline;f=configure.ac;h=0c40b4d76bd3cfbf0697a0dbf1c41a2756a4de09;hb=547d3714848f60fdd9ea52d7a6b2d6873ee59c25;hp=e9977e3f740e01b1bf9b99bae27b66f7ba6c1387;hpb=cf19efc8a8d527487798feaa5edccc0a76b144d4;p=paraslash.git diff --git a/configure.ac b/configure.ac index e9977e3f..0c40b4d7 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,20 @@ if test "$enable_ssldir" = "yes"; then enable_ssldir=""; fi CHECK_SSL($enable_ssldir) server_ldflags="$srver_ldflags $SSL_LDFLAGS $SSL_LIBS" +########################################################################### ucred + +AC_MSG_CHECKING(for struct ucred) +AC_TRY_LINK([ + #include + #include +],[ + struct ucred sucred; sucred.pid=0; +],[have_ucred=yes],[have_ucred=no]) +AC_MSG_RESULT($have_ucred) +if test ${have_ucred} = yes; then + AC_DEFINE(HAVE_UCRED, 1, define to 1 you have struct ucred) +fi + ########################################################################### gtk2 pkg_modules="gtk+-2.0 >= 2.0.0" @@ -315,4 +329,5 @@ mysql support: $have_mysql ogg vorbis support: $have_ogg mp3dec support (libmad): $have_mad ortp support: $have_ortp +unix socket credentials: $have_ucred ])