Author: mysqlpp
Date: Thu Oct 27 08:10:29 2011
New Revision: 2702
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2702&view=rev
Log:
Using libtool now (again) on Autotools systems. Main thing we get from
it immediately is that it builds relocatable libraries, which is needed
in some linking situations. Patch by Adrian Cornish.
Modified:
trunk/ (props changed)
trunk/config/ (props changed)
trunk/configure.ac
Propchange: trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Oct 27 08:10:29 2011
@@ -24,6 +24,8 @@
config.*
configure
install-sh
+libtool
+ltmain.sh
shared-ld-sh
abi.xml
Propchange: trunk/config/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Oct 27 08:10:29 2011
@@ -1,2 +1,8 @@
tags
autoconf_inc.m4
+
+ltsugar.m4
+libtool.m4
+ltversion.m4
+lt~obsolete.m4
+ltoptions.m4
Modified: trunk/configure.ac
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/configure.ac?rev=2702&r1=2701&r2=2702&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Oct 27 08:10:29 2011
@@ -16,7 +16,13 @@
# Standard autotools stuff
AC_INIT(mysql++, 3.1.1, [email protected], mysql++)
AC_CONFIG_HEADER(config.h)
+AC_CONFIG_MACRO_DIR([config])
AC_CANONICAL_SYSTEM
+
+
+# Enable libtool to decide shared library compile flags (ie -fPIC)
+LT_INIT([disable-static])
+AC_SUBST([LIBTOOL_DEPS])
# Break package version up into major, minor and bugfix components.
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits