Macros by Category Revision History
Search:

merk_sip_devel

SYNOPSIS

MERK_SIP_DEVEL([<min_version>])

DESCRIPTION

Searches for the sip executable and the sip include path. The sip include path consists of two components, one which contains the file qt/qtmod.sip and the other one the path to sip.h, which should be found in the include/pythonX.Y directory.

The macro bails out if the executable or the file cannot be located. Otherwise it defines:

  SIP           the path to the sip executable
  SIP_CPPFLAGS  include path: -I<path-to-qt/qtmod.sip> -I<path-to-sip.h-dir>

Example:

  MERK_SIP_DEVEL
  MERK_SIP_DEVEL([4.1])

Requires: perl (for version string comparison)

SOURCE CODE

http://autoconf-archive.cryp.to/merk_sip_devel.m4

LICENSE

Copyright © 2008 Uwe Mayer <merkosh@hadiko.de>

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.