GNOME Bugzilla – Bug 620015
Build only shared libraries by default
Last modified: 2011-05-15 19:26:21 UTC
Created attachment 162263 [details] [review] Proposed fix. There is no reason to build static libraries, so they shouldn't be built by default. This patch also removes the deprecated symbol AC_PROG_LIBTOOL.
Just make sure it does not break on earlier autotools. Otherwise looks fine to me.
Looks like AC_PROG_LIBTOOL is macro, used with libtool 1.5, while LT_INIT is available since 2.2. Is it OK to require libtool >= 2.2?
Another option which keeps compatibility with libtool 1.5 is to add AC_DISABLE_STATIC *before* AC_PROG_LIBTOOL.
(In reply to comment #3) > Another option which keeps compatibility with libtool 1.5 is to add > AC_DISABLE_STATIC *before* AC_PROG_LIBTOOL. Yes, however, since I plan Gnote 0.8 to be GTK 3 app, I'll probably use this patch and will require libtool 2.2. It looks to be widely available and rather reasonable. This is not yet a final decision.
This problem has been fixed in the development version. The fix will be available in the next major software release.