From 2c9cb1124e3e99d54f9e7ffeb33710ad0d0a5d89 Mon Sep 17 00:00:00 2001
From: Pixel <pixel@nobis-crew.org>
Date: Mon, 9 Nov 2009 14:39:53 -0800
Subject: Better detection of oracle.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 \
-- 
cgit v1.2.3