[gnome-weather] Remove C compilations bits from configure.ac



commit 81ad1e3eebab56994603662cbb50161c27c48246
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Tue Feb 17 23:04:00 2015 -0800

    Remove C compilations bits from configure.ac
    
    Remove autoheader and libtool dependency, this is a JS only app.
    Unfortunately we still build require gcc, because intltool has
    a configure test that uses it to find out if the C library
    understands the GNU message format.

 configure.ac |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 20e991d..a0be901 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,25 +4,18 @@ AC_INIT([org.gnome.Weather],[3.15.90],
        [gnome-weather],
        [https://wiki.gnome.org/Apps/Weather])
 
-AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([1.12 dist-xz no-dist-gzip foreign tar-ustar no-define serial-tests -Wno-portability])
 # revert automake using PACKAGE_TARNAME instead of PACKAGE_NAME
 AC_SUBST([PACKAGE], [$PACKAGE_NAME])
 
-m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+AM_SILENT_RULES([yes])
 
 GETTEXT_PACKAGE=$PACKAGE_NAME
 AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
-                   [The prefix for our gettext translation domains.])
 IT_PROG_INTLTOOL(0.26)
 
-AC_PROG_CC
-AM_PROG_CC_C_O
-LT_INIT([disable-static])
-
 PKG_PROG_PKG_CONFIG([0.22])
 
 APPSTREAM_XML
@@ -51,10 +44,6 @@ AC_ARG_ENABLE([coverage],
                               [enable code coverage])],
               , [enable_coverage=no])
 if test x$enable_coverage = xyes; then
-    if test x$GCC != xyes; then
-        AC_MSG_ERROR([GCC is required for --enable-coverage])
-    fi
-
     AC_PATH_TOOL([LCOV], [lcov])
     AC_PATH_TOOL([GENHTML], [genhtml])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]