summaryrefslogtreecommitdiff
path: root/ext/oci8/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/config.m4')
-rw-r--r--ext/oci8/config.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4
index 8c1586b52f..b477a3c184 100644
--- a/ext/oci8/config.m4
+++ b/ext/oci8/config.m4
@@ -56,9 +56,13 @@ AC_ARG_WITH(oci8,
ORACLE_INCLUDE=-I$ORACLEINST_TOP/rdbms/demo
fi
+ if test -d "$ORACLEINST_TOP/rdbms/public"
+ then
+ ORACLE_INCLUDE="$ORACLE_INCLUDE -I$ORACLEINST_TOP/rdbms/public"
+ fi
+
if test -d "$ORACLEINST_TOP/network/public"
then
- # V8
ORACLE_INCLUDE="$ORACLE_INCLUDE -I$ORACLEINST_TOP/network/public"
fi