diff options
author | Jason Evans <je@fb.com> | 2012-04-23 19:46:46 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-04-23 19:46:46 (GMT) |
commit | a4936ce4d635ef129be201f53cdc0786315ac3b6 (patch) | |
tree | f49fa76b8d8fbb3f131e927df71fe14ff7573320 /configure.ac | |
parent | 461ad5c87ae5f89cd086e47b31372e9123dcfcdf (diff) | |
download | jemalloc-a4936ce4d635ef129be201f53cdc0786315ac3b6.zip jemalloc-a4936ce4d635ef129be201f53cdc0786315ac3b6.tar.gz jemalloc-a4936ce4d635ef129be201f53cdc0786315ac3b6.tar.bz2 |
Fix jemalloc.sh code generation.
Fix jemalloc.sh code generation by adding @sorev@ and using it instead
of @SOREV@ (which contains Makefile-specific variables).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 396b5ef..7338990 100644 --- a/configure.ac +++ b/configure.ac @@ -202,6 +202,7 @@ libprefix="lib" DSO_LDFLAGS='-shared -Wl,-soname,$(@F)' RPATH='-Wl,-rpath,$(1)' SOREV='$(SO).$(REV)' +sorev="${so}.${rev}" PIC_CFLAGS='-fPIC -DPIC' dnl Heap profiling uses the log(3) function. @@ -226,6 +227,7 @@ case "${host}" in force_tls="0" DSO_LDFLAGS='-shared -Wl,-dylib_install_name,$(@F)' SOREV='$(REV).$(SO)' + sorev="${rev}.${so}" ;; *-*-freebsd*) CFLAGS="$CFLAGS" @@ -284,6 +286,7 @@ case "${host}" in libprefix="" exe=".exe" SOREV='$(SO)' + sorev="${so}" PIC_CFLAGS="" ;; *) @@ -301,6 +304,7 @@ AC_SUBST([exe]) AC_SUBST([libprefix]) AC_SUBST([DSO_LDFLAGS]) AC_SUBST([SOREV]) +AC_SUBST([sorev]) AC_SUBST([PIC_CFLAGS]) JE_COMPILABLE([__attribute__ syntax], |