fi
AC_SUBST(MAYBE_EXAMPLES)
+AC_ARG_ENABLE(tirpc,
+ [AC_HELP_STRING([--enable-tirpc],
+ [enable use of TI-RPC @<:@default=no@:>@])],
+ enable_tirpc=$enableval,
+ enable_tirpc='no')
+
case $host in
*darwin*)
RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
#include <sys/socket.h>
])
+echo "Use TI-RPC: $enable_tirpc"
+if test "$enable_tirpc" = "yes"; then
+ CFLAGS="${CFLAGS} -I /usr/include/tirpc"
+ LDFLAGS="${LDFLAGS} -ltirpc"
+fi
+
#output
AC_CONFIG_FILES([Makefile]
[include/Makefile]