[cpp-opensaml] 02/10: Initialize Libtool in the modern way and after the compiler

Scott Cantor cantor.2 at osu.edu
Mon Feb 3 19:30:04 EST 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=119d4c979d4adf6b6abcbc072febb309d29adccb

commit 119d4c979d4adf6b6abcbc072febb309d29adccb
Author: Ferenc Wágner <wferi at debian.org>
AuthorDate: Tue Aug 7 22:52:57 2018 +0200

    Initialize Libtool in the modern way and after the compiler
    
    The Libtool initialization macros require AC_PROG_CC, which sets CFLAGS
    to the default -g -O2 if unset, unexpectedly resulting different flags
    for C and C++.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0ec9672..ff7699a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,8 +4,6 @@ AC_CONFIG_SRCDIR(saml)
 AC_CONFIG_AUX_DIR(build-aux)
 AC_CONFIG_MACRO_DIR(m4)
 AM_INIT_AUTOMAKE
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
 PKG_INSTALLDIR
 
 # Docygen features
@@ -61,6 +59,8 @@ case "${host_cpu}-${host_os}" in
     ;;
 esac
 
+LT_INIT([disable-static])
+
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_TYPE_SIZE_T

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list