Home | History | Annotate | Download | only in m4

Lines Matching full:swig

11 #   This macro searches for a SWIG installation on your system. If found,
12 # then SWIG is AC_SUBST'd; if not found, then $SWIG is empty. If SWIG is
13 # found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
16 # available SWIG is greater than or equal to the value of the argument. It
19 # 1.3.17), AX_PKG_SWIG checks that the swig package is this version number
22 # As usual, action-if-found is executed if SWIG is found, otherwise
27 # AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
69 # Ubuntu has swig 2.0 as /usr/bin/swig2.0
70 AC_PATH_PROGS([SWIG],[swig swig2.0])
71 if test -z "$SWIG" ; then
74 AC_MSG_CHECKING([SWIG version])
75 [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
111 # Using base 100 should be safe since SWIG internally uses BCD values
119 AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version.])
120 SWIG=''
123 AC_MSG_CHECKING([for SWIG library])
124 SWIG_LIB=`$SWIG -swiglib`
129 AC_MSG_WARN([cannot determine SWIG version])
130 SWIG=''