X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e84ca2905e0e8d75dbeb53d0001b414ba956a8a6..0e464e60978139f24c27ad22bd2a89329a06697c:/configure.ac diff --git a/configure.ac b/configure.ac index 1dabfe5..bfed8b5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,3 @@ - # Process this file with autoconf to produce a configure script. # # This file is part of DisOrder. @@ -45,6 +44,7 @@ AC_SET_MAKE if test "x$GCC" = xyes; then gcc_werror=-Werror else + AC_MSG_ERROR([GNU C is required to build this program]) gcc_werror="" fi @@ -417,7 +417,7 @@ if test $ac_cv_type_long_long = yes; then AC_DEFINE([DECLARES_ATOLL],[1],[define if declares atoll]) fi fi -AC_CHECK_FUNCS([ioctl nl_langinfo strsignal],[:],[ +AC_CHECK_FUNCS([ioctl nl_langinfo strsignal setenv unsetenv],[:],[ missing_functions="$missing_functions $ac_func" ]) # fsync will do if fdatasync not available @@ -576,7 +576,6 @@ AH_BOTTOM([#ifdef __GNUC__ #endif]) AC_CONFIG_FILES([Makefile - templates/Makefile images/Makefile scripts/Makefile lib/Makefile @@ -584,6 +583,7 @@ AC_CONFIG_FILES([Makefile clients/Makefile disobedience/Makefile doc/Makefile + templates/Makefile plugins/Makefile driver/Makefile debian/Makefile