Remove all remaining references to RPC
[deb_libnfs.git] / configure.ac
index 37a44a3a7d506745280d53d3de9fce76a60e39c3..1183bd25038d43fdf43472899ad0cf84f78becf2 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ(2.50)
-AC_INIT([libnfs], [1.4.0], [ronniesahlberg@gmail.com])
+AC_INIT([libnfs], [1.5.0], [ronniesahlberg@gmail.com])
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE([foreign])
 AC_CANONICAL_HOST
@@ -21,11 +21,6 @@ fi
 # We always want 64 bit file offsets
 CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
 
-AC_CHECK_PROG([HAVE_RPCGEN], [rpcgen], [yes], [no])
-if test x$HAVE_RPCGEN != xyes; then
-  AC_MSG_ERROR([Can not find required program])
-fi
-
 #option: examples
 AC_ARG_ENABLE([examples],
               [AC_HELP_STRING([--enable-examples],
@@ -73,19 +68,7 @@ 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"
-    ;;
-  *cygwin*)
-    RPCGENFLAGS=-DU_INT64_PLATTFORM_TYPE="u_int64_t"
-    ;;
   *solaris*)
     AC_CHECK_HEADERS([sys/filio.h])
     AC_CHECK_HEADERS([sys/sockio.h])
@@ -98,8 +81,6 @@ case $host in
     ;;
 esac
 
-AC_SUBST(RPCGENFLAGS)
-
 # check for SA_LEN
 dnl Check if sockaddr data structure includes a "sa_len"
 AC_CHECK_MEMBER([struct sockaddr.sa_len],
@@ -110,18 +91,6 @@ AC_CHECK_MEMBER([struct sockaddr.sa_len],
 #include <sys/socket.h>
 ])
 
-LIBNFS_PC_REQ_PRIVATE=
-
-if test "$enable_tirpc" = "yes"; then
-       PKG_CHECK_MODULES(TIRPC, libtirpc, [],
-               AC_MSG_ERROR([unable to locate libtirpc files]))
-       CFLAGS="${CFLAGS} ${TIRPC_CFLAGS}"
-       LIBS="${LIBS} ${TIRPC_LIBS}"
-       LIBNFS_PC_REQ_PRIVATE="${LIBNFS_PC_REQ_PRIVATE} libtirpc"
-fi
-
-AC_SUBST(LIBNFS_PC_REQ_PRIVATE)
-
 #output
 AC_CONFIG_FILES([Makefile]
                 [include/Makefile]