Use 3-arg form of AC_DEFINE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2003-10-08 21:45:58 +00:00
parent a25d7ca200
commit 1ea4facf60

4
autoconf/aclocal.m4 vendored
View File

@ -6130,7 +6130,7 @@ ac_cv_func_mmap_file,
AC_LANG_RESTORE
])
if test "$ac_cv_func_mmap_file" = yes; then
AC_DEFINE(HAVE_MMAP_FILE)
AC_DEFINE([HAVE_MMAP_FILE],[],[Define if mmap() can map files into memory])
AC_SUBST(MMAP_FILE,[yes])
fi
])
@ -6152,7 +6152,7 @@ ac_cv_header_mmap_anon,
AC_LANG_RESTORE
])
if test "$ac_cv_header_mmap_anon" = yes; then
AC_DEFINE(HAVE_MMAP_ANONYMOUS)
AC_DEFINE([HAVE_MMAP_ANONYMOUS],[],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON])
fi
])