[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Sun Dec 26 22:15:13 PST 2004

Changes in directory llvm/autoconf:

configure.ac updated: 1.154 -> 1.155
Log message:

For PR351: http://llvm.cs.uiuc.edu/PR351 :
* Add checks for sterror and strerror_r functions
* Add check to determine if /dev/zero is needed for allocating RWX memory.

Diffs of the changes:  (+5 -2)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.154 llvm/autoconf/configure.ac:1.155
--- llvm/autoconf/configure.ac:1.154	Sun Dec 26 21:15:28 2004
+++ llvm/autoconf/configure.ac	Mon Dec 27 00:15:02 2004
@@ -443,7 +443,8 @@
 AC_CHECK_FUNCS([backtrace getcwd getpagesize getrusage gettimeofday isatty ])
 AC_CHECK_FUNCS([mkdtemp mkstemp mktemp ])
-AC_CHECK_FUNCS([realpath setrlimit strdup strtoq strtoll sysconf ])
+AC_CHECK_FUNCS([realpath setrlimit strdup strerror strerror_r strtoll strtoq ])
@@ -459,9 +460,11 @@
 dnl Check for mmap and mprotect support. We need both to do the JIT and for
-dnl bytecode loading, etc.
+dnl bytecode loading, etc. We also need to know if /dev/zero is required to
+dnl be opened for allocating RWX memory.
               AC_MSG_ERROR([Function mprotect() required but not found]))

More information about the llvm-commits mailing list