From 06418073d424b5902cd908e25ab6807b8e80e9d4 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 15 Dec 2008 10:54:53 -0800 Subject: [PATCH] Move libefi check to libefi topic branch --- config/user.m4 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/user.m4 b/config/user.m4 index 80a15ae082..6417a5e654 100644 --- a/config/user.m4 +++ b/config/user.m4 @@ -2,4 +2,11 @@ dnl # dnl # Default ZFS user configuration dnl # AC_DEFUN([ZFS_AC_CONFIG_USER], [ + ZFS_AC_CONFIG_USER_LIBEFI +]) + +AC_DEFUN([ZFS_AC_CONFIG_USER_LIBEFI], [ + AC_CHECK_LIB([efi], [efi_alloc_and_init], + [AC_DEFINE([HAVE_LIBEFI], 1, + [Define to 1 if 'libefi' library available])]) ])