Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: Introduce libiscsi in build system
The minimal required version is 1.18.0 because the synchrounous function needed were introduced here. Signed-off-by: Clementine Hayat <clem@lse.epita.fr>
- Loading branch information
Showing
2 changed files
with
33 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
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,30 @@ | ||
dnl Libiscsi library | ||
dnl | ||
dnl Copyright (C) 2018 Clementine Hayat. | ||
dnl | ||
dnl This library is free software; you can redistribute it and/or | ||
dnl modify it under the terms of the GNU Lesser General Public | ||
dnl License as published by the Free Software Foundation; either | ||
dnl version 2.1 of the License, or (at your option) any later version. | ||
dnl | ||
dnl This library is distributed in the hope that it will be useful, | ||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
dnl Lesser General Public License for more details. | ||
dnl | ||
dnl You should have received a copy of the GNU Lesser General Public | ||
dnl License along with this library. If not, see | ||
dnl <http://www.gnu.org/licenses/>. | ||
dnl | ||
|
||
AC_DEFUN([LIBVIRT_ARG_LIBISCSI],[ | ||
LIBVIRT_ARG_WITH_FEATURE([LIBISCSI], [libiscsi], [check], [1.18.0]) | ||
]) | ||
|
||
AC_DEFUN([LIBVIRT_CHECK_LIBISCSI],[ | ||
LIBVIRT_CHECK_PKG([LIBISCSI], [libiscsi], [1.18.0]) | ||
]) | ||
|
||
AC_DEFUN([LIBVIRT_RESULT_LIBISCSI],[ | ||
LIBVIRT_RESULT_LIB(LIBISCSI) | ||
]) |