[libgweather] Remove Windows support



commit e6a9a585e341c635edd6c3d03c032cb56d679f1d
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sun Dec 2 18:59:54 2012 +0100

    Remove Windows support
    
    libgweather is a GNOME library, and is used by GNOME application.
    Windows code has no place here.

 configure.ac                 |   15 +------
 libgweather/Makefile.am      |    9 ----
 libgweather/gweather-win32.c |  100 ------------------------------------------
 libgweather/gweather-win32.h |   43 ------------------
 4 files changed, 1 insertions(+), 166 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2d62e68..c30268a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,19 +23,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 LT_VERSION=2:0:1
 AC_SUBST(LT_VERSION)
 
-AC_CANONICAL_HOST
-AC_MSG_CHECKING([for Win32])
-case "$host" in
-  *-*-mingw*)
-    gweather_native_win32="yes"
-    ;;
-  *)
-    gweather_native_win32="no"
-    ;;
-esac
-AC_MSG_RESULT([$gweather_native_win32])
-AM_CONDITIONAL(OS_WIN32, [test "$gweather_native_win32" = "yes"])
-
 GTK_REQUIRED=2.90.0
 GLIB_REQUIRED=2.35.1
 LIBSOUP_REQUIRED=2.4.0
@@ -43,7 +30,7 @@ LIBSOUP_GNOME_REQUIRED=2.25.1
 LIBXML_REQUIRED=2.6.0
 
 LT_PREREQ([2.2.6])
-LT_INIT([dlopen win32-dll disable-static])
+LT_INIT([disable-static])
 LT_LIB_M
 
 PKG_PROG_PKG_CONFIG([0.19])
diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am
index 8452574..008dfbc 100644
--- a/libgweather/Makefile.am
+++ b/libgweather/Makefile.am
@@ -20,8 +20,6 @@ libgweatherinc_HEADERS = \
 	$(gweather_new_headers)		\
 	gweather-enum-types.h
 
-noinst_HEADERS = weather-priv.h gweather-win32.h
-
 libgweather_internal_3_la_SOURCES = \
 	weather.c weather-priv.h \
 	weather-metar.c weather-iwin.c weather-met.c \
@@ -31,17 +29,10 @@ libgweather_internal_3_la_SOURCES = \
 	gweather-enum-types.c \
 	gweather-location.c gweather-location.h \
 	gweather-timezone.c gweather-timezone.h \
-	gweather-win32.h \
 	location-entry.c location-entry.h \
 	timezone-menu.c timezone-menu.h \
 	parser.c parser.h
 
-if OS_WIN32
-libgweather_internal_3_la_SOURCES += gweather-win32.c
-else
-EXTRA_libgweather_internal_3_la_SOURCES = gweather-win32.c
-endif
-
 libgweather_internal_3_la_CPPFLAGS = \
 	$(AM_CPPFLAGS)			\
 	$(LIBXML_CFLAGS)		\



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