b7924f50c0
Implement minimal Makefile. Make compile-time-optional jemalloc features controllable via configure options (debug, stats, tiny, mag, balance, dss). Conditionally exclude most of the opt_* run-time options, based on configure options (fill, xmalloc, sysv). Implement optional --enable-dynamic-page-shift. Implement optional --enable-lazy-lock. Re-order malloc_init_hard() and use the malloc_initializer variable to support recursive allocation in malloc_ncpus(). Add mag_rack_tsd in order to receive notifications of thread termination. Add jemalloc.h.
18 lines
266 B
Bash
Executable File
18 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for i in autoconf; do
|
|
echo "$i"
|
|
$i
|
|
if [ $? -ne 0 ]; then
|
|
echo "Error $? in $i"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo "./configure --enable-autogen $@"
|
|
./configure --enable-autogen $@
|
|
if [ $? -ne 0 ]; then
|
|
echo "Error $? in ./configure"
|
|
exit 1
|
|
fi
|