2 ===================================================================
3 --- configure.ac (revision 227)
4 +++ configure.ac (working copy)
5 @@ -85,7 +85,13 @@ AC_TRY_COMPILE([#define u32 int
6 [int foo=NBD_CMD_DISC],
7 [AC_DEFINE(NBD_H_LINUX, 1, Set to 1 if a (2.6) nbd.h can be found in the linux directory in the search path)
8 NBD_H='<linux/nbd.h>'],
9 + AC_TRY_COMPILE([#include <linux/nbd.h>
11 +[int foo=NBD_CMD_DISC],
12 + [AC_DEFINE(NBD_H_LINUX, 1, Set to 1 if a (2.6) nbd.h can be found in the linux directory in the search path)
13 + NBD_H='<linux/nbd.h>'],
14 AC_MSG_ERROR(Could not find an nbd.h from 2.6 or above.)