1 dnl Configure script for NBD system
2 dnl (c) 1998 Martin Mares <mj@ucw.cz>, (c) 2000 Pavel Machek <pavel@ucw.cz>
7 AC_MSG_CHECKING(whether warnings should be enabled)
8 if test -n "$GCC" ; then
10 CFLAGS="$CFLAGS -Wall -W -Wno-parentheses -Wstrict-prototypes -Wno-unused"
17 AC_CHECK_SIZEOF(unsigned short int)
18 AC_CHECK_SIZEOF(unsigned int)
19 AC_CHECK_SIZEOF(unsigned long int)
20 AC_CHECK_SIZEOF(unsigned long long int)
21 AC_CHECK_FUNCS(llseek)
22 AC_MSG_CHECKING(whether client should be built)
24 *Linux*) BUILD_CLIENT=nbd-client
27 *) AC_MSG_RESULT(no) ;;
29 AC_SUBST(BUILD_CLIENT)
30 AC_CONFIG_HEADER(config.h)