diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 10:24:52 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 10:25:35 +0100 |
commit | be49c58d77ce855f902728b0c68fc10bafee6257 (patch) | |
tree | ed0c6965ec9ce26d0257cfa6514ce60ed9b74d95 /package/libtirpc/patches/patch-configure_ac | |
parent | 97643b0bf020cced1ba9c66e74604800b74a7b34 (diff) |
libtirpc: update to latest stable version
Diffstat (limited to 'package/libtirpc/patches/patch-configure_ac')
-rw-r--r-- | package/libtirpc/patches/patch-configure_ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/libtirpc/patches/patch-configure_ac b/package/libtirpc/patches/patch-configure_ac new file mode 100644 index 000000000..659bdad8c --- /dev/null +++ b/package/libtirpc/patches/patch-configure_ac @@ -0,0 +1,23 @@ +--- libtirpc-1.0.1.orig/configure.ac 2015-10-30 16:15:14.000000000 +0100 ++++ libtirpc-1.0.1/configure.ac 2015-11-29 16:38:38.817971632 +0100 +@@ -89,7 +89,19 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h li + AC_CHECK_LIB([pthread], [pthread_create]) + AC_CHECK_FUNCS([getrpcbyname getrpcbynumber setrpcent endrpcent getrpcent]) + +-AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) ++AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes) ++ ++AC_MSG_CHECKING([for a C compiler for build tools]) ++if test $cross_compiling = yes; then ++ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc) ++else ++ CC_FOR_BUILD=$CC ++fi ++AC_MSG_RESULT([$CC_FOR_BUILD]) ++AC_SUBST(CC_FOR_BUILD) ++ ++AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile rpcgen/Makefile]) ++ + AC_OUTPUT(libtirpc.pc) + + |