# ENSC_CHECK_CXX_FLAG(-flag1 -flag2 -flag3 ...)
# -------------------------------------------------------------------------
-AC_DEFUN(ENSC_CHECK_CXX_FLAG,
+AC_DEFUN([ENSC_CHECK_CXX_FLAG],
[
AC_REQUIRE([__ENSC_CHECK_WARNFLAGS_CXX])
# ENSC_CHECK_CC_FLAG(-flag1 -flag2 -flag3 ...)
# -------------------------------------------------------------------------
-AC_DEFUN(ENSC_CHECK_CC_FLAG,[
+AC_DEFUN([ENSC_CHECK_CC_FLAG],
+[
AC_REQUIRE([__ENSC_CHECK_WARNFLAGS_C])
echo 'void f(){}' > conftest.c
rm -f conftest.c conftest.o
])
-AC_DEFUN(ENSC_CHECK_DEFAULT_FLAG,
+AC_DEFUN([ENSC_CHECK_DEFAULT_FLAG],
[
if test x"${ensc_sys_default_flag}" = x; then
ENSC_CHECK_CC_FLAG([-fmessage-length=0])
dnl <conditional> ... automake-conditional which will be set when
dnl dietlibc shall be enabled
-AC_DEFUN(ENSC_ENABLE_DIETLIBC,
+AC_DEFUN([ENSC_ENABLE_DIETLIBC],
[
AC_MSG_CHECKING([whether to enable dietlibc])
AC_ARG_ENABLE([dietlibc],
dnl <var> ... basedir of kernel-headers (without the '/linux');
dnl this value will be AC_SUBST'ed
-AC_DEFUN(_ENSC_KERNEL_DIR,
+AC_DEFUN([_ENSC_KERNEL_DIR],
[
AC_CACHE_CHECK([for linux kernel dir], [ensc_cv_path_kerneldir],
[
}
])
-AC_DEFUN(ENSC_KERNEL_HEADERS,
+AC_DEFUN([ENSC_KERNEL_HEADERS],
[
AC_REQUIRE([_ENSC_KERNEL_DIR])
dnl <cppflag-variable> ... name of variable which will get the preprocessor
dnl flags and which will be AC_SUBST'ed
-AC_DEFUN(ENSC_RELEASE,
+AC_DEFUN([ENSC_RELEASE],
[
AC_MSG_CHECKING([whether to enable release-mode])
AC_ARG_ENABLE([release],
dnl <vserverdir-variable> ... name of variable which will get assigned
dnl the dirname of the vserver-topdir
-AC_DEFUN(ENSC_UV_VROOTDIR,
+AC_DEFUN([ENSC_UV_VROOTDIR],
[
AC_MSG_CHECKING([which vserver-rootdir is to use])
AC_ARG_WITH([vrootdir],