diff options
-rw-r--r-- | configure.ac | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index fb78b0b..086fd22 100644 --- a/configure.ac +++ b/configure.ac @@ -10,18 +10,11 @@ AC_PROG_LIBTOOL # --enable and --with options AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], [enable debug symbols])]) - AC_ARG_ENABLE([debug-output], +AC_ARG_ENABLE([debug-output], [AS_HELP_STRING([--enable-debug-output], [enable debug output])]) AC_ARG_WITH([core-foundation], AS_HELP_STRING([--with-core-foundation], [link against Core Foundation (OS X only) @<:@default=no@:>@])) - -if test x"$enable_debug" == "xyes" ; then - my_CFLAGS="-g -O0" -else - my_CFLAGS="-O2" -fi - if test x"$enable_debug_output" == "xyes" ; then AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages]) fi @@ -34,7 +27,7 @@ fi AM_CONDITIONAL(BUILD_OS_IS_DARWIN, [test x"$build_os" = darwin]) my_CPPFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26" -my_CFLAGS="$my_CFLAGS -Wall" +my_CFLAGS="-Wall" my_LDFLAGS="-pthread" AC_SUBST([my_CPPFLAGS]) AC_SUBST([my_CFLAGS]) |