Added flag -no-undefined required by Cygwin for installed shared
libraries since Cygwin's libtool can't track library dependency
automatically. Fixes GNOME bug #580058. Patch from Yaakov Selkowitz
<yselkowitz@users.sourceforge.net>
AC_SUBST(SMCLIENT_CFLAGS)
AC_SUBST(SMCLIENT_LIBS)
-BACKEND_LIBTOOL_FLAGS="-module -avoid-version -export-symbols \$(top_srcdir)/backend/backend.symbols"
+BACKEND_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -export-symbols \$(top_srcdir)/backend/backend.symbols"
AC_SUBST(BACKEND_LIBTOOL_FLAGS)
dnl ===== Check special functions
libevdocument_la_LDFLAGS = \
-version-info $(EV_DOCUMENT_LT_VERSION_INFO) \
+ -no-undefined \
-export-symbols-regex "^ev_*" \
$(AM_LDFLAGS)
libevview_la_LDFLAGS = \
-version-info $(EV_VIEW_LT_VERSION_INFO) \
+ -no-undefined \
-export-symbols-regex "^ev_*" \
$(AM_LDFLAGS)