From ddecd4502a97ffc0613e95fc301d30d690ce0c6b Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Sat, 21 Sep 2013 18:54:59 +0200 Subject: [PATCH] Removed unneeded lines from configure.ac --- configure.ac | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index c73e419..9e9cbb6 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,7 @@ AC_INIT([Astrognome], [0.1], [gergely@polonkai.eu], [astrognome]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([-Wall foreign]) AM_SILENT_RULES([yes]) -AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [compile with debugging support. Be warned that debugging support can eat a large amount of CPU when many clients are connected. Also, debug logs can become very large!])], , enable_debug=no) - -if test "x$enable_debug" = "xyes" ; then - AC_DEFINE([DEBUG], [1], [Define if debugging is enabled.]) -fi +AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC AM_PROG_CC_C_O @@ -26,22 +22,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.17]) LT_INIT -AC_CHECK_LIB([m], [sincos]) -AC_CHECK_LIB([m], [atan2]) -AC_CHECK_LIB([m], [fmod]) -AC_CHECK_LIB([m], [acos]) -AC_CHECK_LIB([m], [sin]) -AC_CHECK_LIB([m], [atan]) -AC_CHECK_LIB([m], [asin]) -AC_CHECK_LIB([m], [exp]) -AC_CHECK_LIB([m], [trunc]) -AC_CHECK_LIB([m], [tan]) -AC_CHECK_LIB([m], [cos]) -AC_CHECK_LIB([m], [log]) -AC_CHECK_LIB([m], [pow]) -AC_CHECK_LIB([m], [log10]) -AC_CHECK_LIB([m], [sqrt]) -AC_CHECK_LIB([m], [floor]) GTK_DOC_CHECK([1.19], [--flavour no-tmpl]) PKG_PROG_PKG_CONFIG AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums]) @@ -52,7 +32,6 @@ PKG_CHECK_MODULES([LIBXML], [libxml-2.0]) PKG_CHECK_MODULES([LIBXSLT], [libexslt]) PKG_CHECK_MODULES([WEBKIT], [webkitgtk-3.0]) PKG_CHECK_MODULES([SWE_GLIB], [swe-glib]) -AC_CONFIG_MACRO_DIR([m4]) LIBGD_INIT([ header-bar