[shibboleth-sp2] 105/119: Solaris compiler doesn't like two include macros on one line.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:55 UTC 2016


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

wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.

commit d3b1aeafb3c153ca96e74b9765328bc848ec235c
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Tue Nov 13 00:56:14 2007 +0000

    Solaris compiler doesn't like two include macros on one line.
---
 configure.ac | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3119592..55d2329 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,7 +169,8 @@ if test -f "${LOG4SHIB_CONFIG}"; then
     CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
 	AC_CHECK_HEADER([log4shib/CategoryStream.hh],,AC_MSG_ERROR([unable to find log4shib header files]))
 	AC_TRY_LINK(
-		[#include <log4shib/Category.hh> #include <log4shib/CategoryStream.hh>],
+		[#include <log4shib/Category.hh>
+#include <log4shib/CategoryStream.hh>],
 		[log4shib::Category::getInstance("foo").errorStream() << log4shib::eol],
 		[AC_DEFINE(HAVE_LOG4SHIB,1,[Define if log4shib library is used.])],
 		[AC_MSG_ERROR([unable to link with log4shib])])
@@ -193,7 +194,8 @@ else
 	    CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
 		AC_CHECK_HEADER([log4cpp/CategoryStream.hh],,AC_MSG_ERROR([unable to find log4cpp header files]))
 		AC_TRY_LINK(
-			[#include <log4cpp/Category.hh> #include <log4cpp/CategoryStream.hh>],
+			[#include <log4cpp/Category.hh>
+#include <log4cpp/CategoryStream.hh>],
 			[log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol],
 			[AC_DEFINE(HAVE_LOG4CPP,1,[Define if log4cpp library is used.])],
 			[AC_MSG_ERROR([unable to link with log4cpp, at least version 1.0 needed])])

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list