author | Michael Krelin <hacker@klever.net> | 2014-03-05 21:14:05 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2014-03-05 21:14:05 (UTC) |
commit | 9651b551f1c5af7f688d62ceb309ba84f92a77d3 (patch) (side-by-side diff) | |
tree | f5a3f3f38613ed782fc4ea6b3bf0acfea17dcd0f | |
parent | 00cf4285fb0539873754f23a654b9cd13ae29af4 (diff) | |
download | libopkele-master.zip libopkele-master.tar.gz libopkele-master.tar.bz2 |
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | test/OP.cc | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e636253..606e644 100644 --- a/configure.ac +++ b/configure.ac @@ -12,8 +12,9 @@ AC_PROG_LIBTOOL PKG_PROG_PKG_CONFIG AC_HEADER_STDC AC_CHECK_FUNCS([timegm]) +AC_CHECK_HEADERS([ext/algorithm.h]) AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) AC_MSG_CHECKING([for source tree version]) @@ -1,9 +1,8 @@ #include <uuid/uuid.h> #include <iostream> #include <cassert> #include <string> -#include <ext/algorithm> using namespace std; #include <kingate/exception.h> #include <kingate/plaincgi.h> #include <kingate/cgi_gateway.h> @@ -15,8 +14,13 @@ using namespace std; #include <opkele/debug.h> #include <opkele/verify_op.h> #include <opkele/sreg.h> +#include "config.h" +#ifdef HAVE_EXT_ALGORITHM_H +# include <ext/algorithm> +#endif + #include "sqlite.h" #include "kingate_openid_message.h" static const string get_self_url(const kingate::cgi_gateway& gw) { |