summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-05-02 19:30:51 (GMT)
committerJason Evans <je@fb.com>2012-05-02 23:31:17 (GMT)
commit79c4bca7d10e967ff524f17a6990e5c630116198 (patch)
treee47095de2c8cae78d9518a725525ae92d0f2ab17 /configure.ac
parent3597e91482c804592105ea078a0825fdb7c68dff (diff)
downloadjemalloc-79c4bca7d10e967ff524f17a6990e5c630116198.zip
jemalloc-79c4bca7d10e967ff524f17a6990e5c630116198.tar.gz
jemalloc-79c4bca7d10e967ff524f17a6990e5c630116198.tar.bz2
Use "hardcoded" dependencies when compiler doesn't support -MM
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eeb2a29..3b32b88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,6 +227,7 @@ CTARGET='-o $@'
LDTARGET='-o $@'
EXTRA_LDFLAGS=
MKLIB='ar crus $@'
+CC_MM=1
dnl Platform-specific settings. abi and RPATH can probably be determined
dnl programmatically, but doing so is error-prone, which makes it generally
@@ -307,6 +308,7 @@ case "${host}" in
CTARGET='-Fo$@'
LDTARGET='-Fe$@'
MKLIB='lib -nologo -out:$@'
+ CC_MM=
else
importlib="${so}"
DSO_LDFLAGS="-shared"
@@ -337,6 +339,7 @@ AC_SUBST([PIC_CFLAGS])
AC_SUBST([CTARGET])
AC_SUBST([LDTARGET])
AC_SUBST([MKLIB])
+AC_SUBST([CC_MM])
if test "x$abi" != "xpecoff"; then
dnl Heap profiling uses the log(3) function.