ax_sip_devel

Synopsis

AX_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:

  AX_SIP_DEVEL
  AX_SIP_DEVEL([4.1])

Requires: perl (for version string comparison)

FIXME: Use AX_COMPARE_VERSION instead.

Source Code

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

License

Copyright © 2008 Uwe Mayer 

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.