AC_SUBST($1_ldflags)
])
+AC_USE_SYSTEM_EXTENSIONS
AC_C_BIGENDIAN()
AC_PATH_PROG([GENGETOPT], [gengetopt])
test -z "$GENGETOPT" && AC_MSG_ERROR(
[gengetopt is required to build this package])
+AC_PATH_PROG([M4], [m4])
+test -z "$M4" && AC_MSG_ERROR(
+ [The m4 macro processor is required to build this package])
+
AC_PATH_PROG([HELP2MAN], [help2man])
test -z "$HELP2MAN" && AC_MSG_ERROR(
[help2man is required to build this package])
########################################################################### ucred
AC_MSG_CHECKING(for struct ucred)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- #define _GNU_SOURCE
#include <sys/types.h>
#include <sys/socket.h>
]], [[
filters: $(echo $filters)
writers: $writers
-para_fade: $build_fade
para_server: $build_server
para_gui: $build_gui
para_fade: $build_fade