From: Bruno Haible Date: Thu, 14 Mar 2019 00:15:53 +0000 (+0100) Subject: libtextstyle: Remove unused code for exporting variables from Windows DLLs. X-Git-Tag: v0.20~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6365f2bd71163d2db373d9c6c7318a945a17605;p=thirdparty%2Fgettext.git libtextstyle: Remove unused code for exporting variables from Windows DLLs. Here we use the third approach listed in gettext-tools/woe32dll/export.h, not the fourth approach. * libtextstyle/Makefile.am: Remove code that was never enabled. * libtextstyle/lib/Makefile.am: Likewise. * libtextstyle/configure.ac (false): Remove conditional. --- diff --git a/libtextstyle/Makefile.am b/libtextstyle/Makefile.am index d078109a2..aa0ad25f5 100644 --- a/libtextstyle/Makefile.am +++ b/libtextstyle/Makefile.am @@ -56,12 +56,6 @@ EXTRA_DIST = \ EXTRA_DIST += gnulib-m4/gnulib-cache.m4 -# Cygwin support. - -#TEMPORARY -#EXTRA_DIST += woe32dll/export.h - - # Windows support. EXTRA_DIST += INSTALL.windows diff --git a/libtextstyle/configure.ac b/libtextstyle/configure.ac index 80bd04661..922634053 100644 --- a/libtextstyle/configure.ac +++ b/libtextstyle/configure.ac @@ -66,9 +66,6 @@ case "$host_os" in esac AM_CONDITIONAL([WOE32], [test $is_woe32 = yes]) -dnl TEMPORARY. -AM_CONDITIONAL([false], [false]) - dnl Checks for types, header files, functions and declarations. gl_INIT diff --git a/libtextstyle/lib/Makefile.am b/libtextstyle/lib/Makefile.am index 702d8d692..a58a3ac58 100644 --- a/libtextstyle/lib/Makefile.am +++ b/libtextstyle/lib/Makefile.am @@ -164,17 +164,6 @@ MOSTLYCLEANFILES += libtextstyle.sym-t MAINTAINERCLEANFILES += libtextstyle.sym EXTRA_DIST += libtextstyle.sym declared.sh -# TEMPORARY -if false - -## Tell the mingw or Cygwin linker which symbols to export. -#if WOE32DLL -#libtextstyle_la_SOURCES += ../woe32dll/unistring-exports.c -#libtextstyle_la_LDFLAGS += -Wl,--export-all-symbols -#endif - -endif - # Hide undesired symbols that are defined by libtextstyle_la_SOURCES or # gl_LIBOBJS or the dependency libraries from the global namespace, # by prefixing them with "libtextstyle_".