aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-08 21:45:58 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-08 21:45:58 +0000
commit1ea4facf60660d4f74866c2c2a483a36b9cfd15a (patch)
treeaf289f5e7563cc260dd27dc293830b2727fe3d82 /autoconf
parenta25d7ca200b8acc61372207c24f3547f424f4a3e (diff)
downloadexternal_llvm-1ea4facf60660d4f74866c2c2a483a36b9cfd15a.zip
external_llvm-1ea4facf60660d4f74866c2c2a483a36b9cfd15a.tar.gz
external_llvm-1ea4facf60660d4f74866c2c2a483a36b9cfd15a.tar.bz2
Use 3-arg form of AC_DEFINE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
index 8f64b5b..51040fb 100644
--- a/autoconf/aclocal.m4
+++ b/autoconf/aclocal.m4
@@ -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
])