This macro provides tests of availability of Oracle OCI API of particular version or newer. This macros checks for Oracle OCI headers and libraries and defines compilation flags.
Macro supports following options and their values:
1) Single-option usage:
--with-oci -- path to ORACLE_HOME directory
2) Two-options usage (both options are required):
--with-oci-include -- path to directory with OCI headers --with-oci-lib -- path to directory with OCI libraries
NOTE: These options described above do not take yes|no values. If ’yes’ value is passed, then WARNING message will be displayed, ’no’ value, as well as the –without-oci-* variations will cause the macro to not check anything.
This macro calls:
AC_SUBST(ORACLE_OCI_CFLAGS) AC_SUBST(ORACLE_OCI_LDFLAGS) AC_SUBST(ORACLE_OCI_VERSION)
Download the latest version of ax_lib_oracle_oci.m4 or browse the macro’s revision history.
Copyright © 2008 Mateusz Loskot firstname.lastname@example.org
Copyright © 2015 Joost van Baal-Ilic email@example.com
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.