-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented autoconf check for libtirpc
This library is needed to build testcases/network/rpc/rpc-tirpc. Signed-off-by: Stanislav Kholmanskikh <[email protected]>
- Loading branch information
Stanislav Kholmanskikh
committed
May 5, 2014
1 parent
5a02c68
commit a86d71f
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,5 +178,6 @@ LTP_CHECK_FCHOWNAT | |
LTP_CHECK_MKNODAT | ||
LTP_CHECK_FALLOCATE | ||
LTP_CHECK_SYSCALL_FCNTL | ||
LTP_CHECK_TIRPC | ||
|
||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
dnl | ||
dnl Copyright (c) 2014 Oracle and/or its affiliates. All Rights Reserved. | ||
dnl | ||
dnl This program is free software; you can redistribute it and/or | ||
dnl modify it under the terms of the GNU General Public License as | ||
dnl published by the Free Software Foundation; either version 2 of | ||
dnl the License, or (at your option) any later version. | ||
dnl | ||
dnl This program is distributed in the hope that it would be useful, | ||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
dnl GNU General Public License for more details. | ||
dnl | ||
dnl You should have received a copy of the GNU General Public License | ||
dnl along with this program; if not, write the Free Software Foundation, | ||
dnl Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
dnl | ||
|
||
dnl | ||
dnl LTP_CHECK_TIRPC | ||
dnl ---------------------------- | ||
dnl | ||
AC_DEFUN([LTP_CHECK_TIRPC],[ | ||
TIRPC_CPPFLAGS="" | ||
TIRPC_LIBS="" | ||
AC_CHECK_HEADER(tirpc/netconfig.h,[ | ||
TIRPC_CPPFLAGS="-I/usr/include/tirpc" | ||
AC_DEFINE(HAVE_LIBTIRPC, 1, [Define to 1 if you have libtirpc headers installed]) | ||
AC_CHECK_LIB(tirpc, rpcb_set, [TIRPC_LIBS="-ltirpc"])]) | ||
AC_SUBST(TIRPC_CPPFLAGS) | ||
AC_SUBST(TIRPC_LIBS) | ||
]) |