summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-04-16 14:30:24 (GMT)
committerJason Evans <je@fb.com>2012-04-17 05:47:02 (GMT)
commit5bee66d3edec3bfd83bfb7c0e978e8d0c9e4888a (patch)
tree6b65b904c988313c3a0a36c9867402eefff7819c /configure.ac
parent72ca7220f21ef32f17d12cfde1bd9732d56fb872 (diff)
downloadjemalloc-5bee66d3edec3bfd83bfb7c0e978e8d0c9e4888a.zip
jemalloc-5bee66d3edec3bfd83bfb7c0e978e8d0c9e4888a.tar.gz
jemalloc-5bee66d3edec3bfd83bfb7c0e978e8d0c9e4888a.tar.bz2
Add variables for library prefix, and static library, object and executable suffixes
This makes hacking on Makefile easier.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 90235f7..55efcea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,6 +195,10 @@ AC_DEFINE_UNQUOTED([CPU_SPINWAIT], [$CPU_SPINWAIT])
LD_PRELOAD_VAR="LD_PRELOAD"
so="so"
+o="o"
+a="a"
+exe=
+lib="lib"
dnl Heap profiling uses the log(3) function.
LIBS="$LIBS -lm"
@@ -277,6 +281,10 @@ AC_SUBST([abi])
AC_SUBST([RPATH])
AC_SUBST([LD_PRELOAD_VAR])
AC_SUBST([so])
+AC_SUBST([o])
+AC_SUBST([a])
+AC_SUBST([exe])
+AC_SUBST([lib])
JE_COMPILABLE([__attribute__ syntax],
[static __attribute__((unused)) void foo(void){}],