diff --git a/configure.in b/configure.in index 46a83f8d..64ee347b 100644 --- a/configure.in +++ b/configure.in @@ -57,6 +57,8 @@ AC_ARG_ENABLE(debug, [ --enable-debug turn on debug support (slows down execution)], [enable_debug=yes], []) +LIBUNWIND___THREAD + CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" if test x$enable_debug == xyes; then CPPFLAGS="${CPPFLAGS} -DDEBUG" @@ -72,7 +74,6 @@ fi arch="$target_arch" ARCH=`echo $target_arch | tr [a-z] [A-Z]` - AC_SUBST(arch) AC_SUBST(ARCH) AC_OUTPUT(Makefile src/Makefile tests/Makefile doc/Makefile)