Next: , Previous: , Up: The Macros  


ax_lib_oracle_occi

Synopsis

AX_LIB_ORACLE_OCCI([MINIMUM-VERSION])

Description

This macro provides tests of availability of Oracle OCCI API of particular version or newer. This macros checks for Oracle OCCI headers and libraries and defines compilation flags.

Macro supports following options and their values:

1) Single-option usage:

  --with-occi         -- path to ORACLE_HOME directory

2) Two-options usage (both options are required):

  --with-occi-include -- path to directory with OCCI headers
  --with-occi-lib     -- path to directory with OCCI 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-occi-* variations will cause the macro to not check anything.

This macro calls:

  AC_SUBST(ORACLE_OCCI_CPPFLAGS)
  AC_SUBST(ORACLE_OCCI_LDFLAGS)
  AC_SUBST(ORACLE_OCCI_VERSION)

And sets:

  HAVE_ORACLE_OCCI

Source Code

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

License

Copyright © 2008 Mateusz Loskot mateusz@loskot.net
Copyright © 2012 Krzysztof Burghardt krzysztof@burghardt.pl

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.