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

Scott Cantor cantor.2 at osu.edu
Fri Oct 12 14:06:38 EDT 2018


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

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

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=6d38943ede174a26f7c6a05fb27ae28f0c1b53fc

commit 6d38943ede174a26f7c6a05fb27ae28f0c1b53fc
Author: Ferenc Wágner <wferi at debian.org>
AuthorDate: Fri Aug 10 14:51:24 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 b5b81ea..5638dd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,8 +4,6 @@ AC_CONFIG_SRCDIR(shibsp)
 AC_CONFIG_AUX_DIR(build-aux)
 AC_CONFIG_MACRO_DIR(m4)
 AM_INIT_AUTOMAKE
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
 PKG_INSTALLDIR
 
 # Docygen features
@@ -64,6 +62,8 @@ case "${host_cpu}-${host_os}" in
 	;;
 esac
 
+LT_INIT([disable-static])
+
 AC_LANG(C)
 
 # Checks for typedefs, structures, and compiler characteristics.

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


More information about the commits mailing list