Next: , Previous: , Up: The Macros  


ax_lib_nokalva

Synopsis

AX_LIB_NOKALVA([ACTION-IF-TRUE], [ACTION-IF-FALSE])

Description

This macro will check for the existence of OSS Nokalva (http://www.oss.com/products/). It does this by checking for the header file asn1.h and the cppsoed library object file. A –with-nokalva option is supported as well. The following output variables are set with AC_SUBST:

  NOKALVA_CPPFLAGS
  NOKALVA_LDFLAGS
  NOKALVA_LIBS

You can use them like this in Makefile.am:

  AM_CPPFLAGS = $(NOKALVA_CPPFLAGS)
  AM_LDFLAGS = $(NOKALVA_LDFLAGS)
  program_LDADD = $(NOKALVA_LIBS)

Additionally, the C preprocessor symbol HAVE_NOKALVA will be defined with AC_DEFINE if Nokalva is available.

Source Code

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

License

Copyright © 2009 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.