Next: , Previous: , Up: The Macros  


ax_lib_oracle_oci

Synopsis

AX_LIB_ORACLE_OCI([MINIMUM-VERSION])

Description

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 enything.

This macro calls:

  AC_SUBST(ORACLE_OCI_CFLAGS)
  AC_SUBST(ORACLE_OCI_LDFLAGS)
  AC_SUBST(ORACLE_OCI_VERSION)

And sets:

  HAVE_ORACLE_OCI

Source Code

Download the latest version of ax_lib_oracle_oci.m4 or browse the macro’s revision history.

License

Copyright © 2008 Mateusz Loskot mateusz@loskot.net

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.