1 --- beecrypt-4.2.1/configure.ac
2 +++ beecrypt-4.2.1/configure.ac
5 # Checks for package options
6 AC_ARG_ENABLE(expert-mode, [ --enable-expert-mode follow user-defined CFLAGS settings [[default=no]]],[
7 - ac_enable_expert_mode=yes
8 + ac_enable_expert_mode=$enableval
10 if test "X$CFLAGS" != "X"; then
11 echo "enabling expert mode"
13 if test "$ac_enable_expert_mode" = yes; then
14 AC_MSG_ERROR([--enable-debug cannot be used in conjunction with --enable-expert-mode])
17 + ac_enable_debug=$enableval
22 ac_cv_python_include="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc()'`"
24 AC_CACHE_CHECK([where to install python libraries], ac_cv_python_libdir, [
25 - ac_cv_python_libdir=`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'`
26 + ac_cv_python_libdir=`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, 0)'`
30 --- beecrypt-4.2.1/java/Makefile.am
31 +++ beecrypt-4.2.1/java/Makefile.am
34 INCLUDES = -I$(top_srcdir)/include
36 -libaltdir=$(prefix)/lib@LIBALT@
39 libalt_LTLIBRARIES = libbeecrypt_java.la
41 --- beecrypt-4.2.1/acinclude.m4
42 +++ beecrypt-4.2.1/acinclude.m4
43 @@ -1589,20 +1589,5 @@
44 AC_SUBST(TYPEDEF_BC_THREADID_T,$bc_typedef_bc_threadid_t)
53 -# define _LIBC_REENTRANT
63 dnl BEE_THREAD_LOCAL_STORAGE
68 -#if !ENABLE_THREAD_LOCAL_STORAGE
71 +#include "config.threads.h"
73 --- beecrypt-4.2.1/config.threads.h
74 +++ beecrypt-4.2.1/config.threads.h
81 +# define _LIBC_REENTRANT
89 +#if !ENABLE_THREAD_LOCAL_STORAGE