summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-09 14:39:53 -0800
committerPixel <pixel@nobis-crew.org>2009-11-09 14:39:53 -0800
commit2c9cb1124e3e99d54f9e7ffeb33710ad0d0a5d89 (patch)
tree9604545fa9f697a28894a6c5ed8670927aebce10
parenteb92de92248384edb480dbaf277779e56d6c0a35 (diff)
Better detection of oracle.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 02a46c9..75462cf 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ endif
CC = gcc
CXX = g++
-HAVE_ORACLE=$(shell [ -d /usr/local/instantclient ] && echo true || echo false ])
+HAVE_ORACLE=$(shell [ -d /usr/local/instantclient ] || [ -e /usr/include/oracle/11.1/client/occi.h ] || [ -e /usr/bin/sqlplus ] && echo true || echo false ])
INCLUDES = \
-I../Mesa-7.4.2/include \