You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-backup/amanda/files/amanda-3.5.1-tirpc.patch

17 lines
520 B

https://bugs.gentoo.org/656340
--- a/config/amanda/amanda_configure.m4
+++ b/config/amanda/amanda_configure.m4
@@ -257,6 +257,12 @@ AMANDA_CHECK_READLINE
AC_CHECK_LIB(m,modf)
AMANDA_CHECK_LIBDL
AMANDA_GLIBC_BACKTRACE
+PKG_CHECK_MODULES([TIRPC],[libtirpc],[
+ CPPFLAGS="${CPPFLAGS} ${TIRPC_CFLAGS} -DHAVE_RPC_RPC_H"
+ LIBS="${LIBS} ${TIRPC_LIBS}"
+], [
+ AC_MSG_ERROR([libtirpc requested but library not found])
+])
AC_SEARCH_LIBS([shm_open], [rt], [], [
AC_MSG_ERROR([unable to find the shm_open() function])
])