summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2014-03-05 21:14:05 (UTC)
committer Michael Krelin <hacker@klever.net>2014-03-05 21:14:05 (UTC)
commit9651b551f1c5af7f688d62ceb309ba84f92a77d3 (patch) (unidiff)
treef5a3f3f38613ed782fc4ea6b3bf0acfea17dcd0f
parent00cf4285fb0539873754f23a654b9cd13ae29af4 (diff)
downloadlibopkele-master.zip
libopkele-master.tar.gz
libopkele-master.tar.bz2
don't include ext/algorithm if there's no suchHEADmaster
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--configure.ac1
-rw-r--r--test/OP.cc6
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
@@ -15,2 +15,3 @@ AC_HEADER_STDC
15AC_CHECK_FUNCS([timegm]) 15AC_CHECK_FUNCS([timegm])
16AC_CHECK_HEADERS([ext/algorithm.h])
16 17
diff --git a/test/OP.cc b/test/OP.cc
index 6012b2e..4e2a5ed 100644
--- a/test/OP.cc
+++ b/test/OP.cc
@@ -4,3 +4,2 @@
4#include <string> 4#include <string>
5#include <ext/algorithm>
6using namespace std; 5using namespace std;
@@ -18,2 +17,7 @@ using namespace std;
18 17
18#include "config.h"
19#ifdef HAVE_EXT_ALGORITHM_H
20# include <ext/algorithm>
21#endif
22
19#include "sqlite.h" 23#include "sqlite.h"