|
|
|
@ -59,10 +59,11 @@ AC_ARG_ENABLE(dir, |
|
|
|
|
AS_HELP_STRING([--disable-dir], [disable POSIX directory access]), |
|
|
|
|
[have_dir="$enableval"]) |
|
|
|
|
AM_CONDITIONAL(HAVE_DIR, test "$have_dir" = "yes") |
|
|
|
|
AC_ARG_ENABLE(exec, |
|
|
|
|
AC_ARG_ENABLE(exec, |
|
|
|
|
AS_HELP_STRING([--disable-exec], |
|
|
|
|
[disable UNIX fork and execute with pipes]), |
|
|
|
|
[have_exec="$enableval"]) |
|
|
|
|
[have_exec="$enableval"], |
|
|
|
|
[if "$MINGW" = "1"; then have_exec="no"; else have_exec="yes"; fi]) |
|
|
|
|
AM_CONDITIONAL(HAVE_EXEC, test "$have_exec" = "yes") |
|
|
|
|
AC_ARG_ENABLE(regexp, |
|
|
|
|
AS_HELP_STRING([--disable-regexp], |
|
|
|
@ -86,7 +87,8 @@ AC_ARG_ENABLE(dynamicstack, |
|
|
|
|
AC_ARG_ENABLE(stacktrace, |
|
|
|
|
AS_HELP_STRING([--disable-stacktrace], |
|
|
|
|
[disable stack trace, use this if you cannot compile the library on your system otherwise and you still want to use the other parts]), |
|
|
|
|
[have_stacktrace="$enableval"], [have_stacktrace="yes"]) |
|
|
|
|
[have_stacktrace="$enableval"], |
|
|
|
|
[if "$MINGW" = "1"; then have_stacktrace="no"; else have_stacktrace="yes"; fi]) |
|
|
|
|
AM_CONDITIONAL(HAVE_STACKTRACE, test "$have_stacktrace" = "yes") |
|
|
|
|
if test "$have_stacktrace" = "yes"; then |
|
|
|
|
# Hack for bug: |
|
|
|
@ -169,8 +171,9 @@ AM_CONDITIONAL(HAVE_BOOST_THREAD, test -n "$BOOST_THREAD_LIB") |
|
|
|
|
# special dependencies for specific distros |
|
|
|
|
AX_ALL_BUILD_DEPEND_DEV(binutils) |
|
|
|
|
AX_ALL_DEPEND_IFEXISTS_DEV(libiberty) |
|
|
|
|
AX_ALL_DEPEND_IFEXISTS_DEV(liblog4cxx) |
|
|
|
|
AX_ALL_DEPEND_IFEXISTS_DEV(liblog4cxx10) |
|
|
|
|
AX_DEB_BUILD_DEPEND(libboost-dev) |
|
|
|
|
AX_DEB_BUILD_DEPEND(liblog4cxx-dev) |
|
|
|
|
AX_DEB_BUILD_DEPEND(libz-dev) |
|
|
|
|
AX_RPM_BUILD_DEPEND(boost-devel) |
|
|
|
|
AX_RPM_BUILD_DEPEND(zlib-devel) |
|
|
|
|