Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl
Modified Files:
configure.in
Log Message:
remove the build of the static lib for modules, following Kim's logic.
* set AM_LIBTOOLFLAGS to --tag=disable-static in configure.in
* override that value for the lib itself by setting libewl_la_LIBTOOLFLAGS to
nothing in the Makefile.am
Remark 1: using AC_DISABLE_STATIC instead of setting AM_LIBTOOLFLAGS might not
work. AC_DISABLE_STATIC can turn off some necessary tests for static linking on
some platform.
Remark 2: the second part of the patch has aleady been committed by Peter
with a previous patch
Remark 3: that patch will be useful only with automake 1.10 or above. With
automake < 1.10, that patch will do nothing (AM_LIBTOOLFLAGS is not supported
in those versions, so that variable will just not be used)
===================================================================
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -3 -r1.133 -r1.134
--- configure.in 26 Feb 2008 05:18:15 -0000 1.133
+++ configure.in 12 Apr 2008 10:42:08 -0000 1.134
@@ -34,6 +34,9 @@
AC_DEFINE_UNQUOTED(INTERFACE_REVISION, "$INTERFACE_REVISION", [Interface
revision number])
AC_DEFINE_UNQUOTED(INTERFACE_AGE, "$INTERFACE_AGE", [Interface age number])
+dnl disable static lib for modules.
+AC_SUBST([AM_LIBTOOLFLAGS], [--tag=disable-static])
+
AC_ARG_ENABLE(gcov,
AC_HELP_STRING([--enable-gcov],
[compile with coverage profiling instrumentation]),
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs