docs: Update documentation for spapr-vio addresses
[libvirt/ericb.git] / m4 / virt-storage-dir.m4
blob798bf939e0f64a054bec72b948940ef65234b10e
1 dnl The storage dir check
2 dnl
3 dnl Copyright (C) 2016 Red Hat, Inc.
4 dnl
5 dnl This library is free software; you can redistribute it and/or
6 dnl modify it under the terms of the GNU Lesser General Public
7 dnl License as published by the Free Software Foundation; either
8 dnl version 2.1 of the License, or (at your option) any later version.
9 dnl
10 dnl This library is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 dnl Lesser General Public License for more details.
14 dnl
15 dnl You should have received a copy of the GNU Lesser General Public
16 dnl License along with this library.  If not, see
17 dnl <http://www.gnu.org/licenses/>.
18 dnl
20 AC_DEFUN([LIBVIRT_STORAGE_ARG_DIR], [
21   LIBVIRT_ARG_WITH_FEATURE([STORAGE_DIR], [directory backend for the storage driver], [yes])
24 AC_DEFUN([LIBVIRT_STORAGE_CHECK_DIR], [
25   if test "$with_storage_dir" = "yes" ; then
26     AC_DEFINE_UNQUOTED([WITH_STORAGE_DIR], 1, [whether directory backend for storage driver is enabled])
27   fi
28   AM_CONDITIONAL([WITH_STORAGE_DIR], [test "$with_storage_dir" = "yes"])
31 AC_DEFUN([LIBVIRT_STORAGE_RESULT_DIR], [
32   LIBVIRT_RESULT([Dir], [$with_storage_dir])