1
#----------------------------------------------------------------
3
#----------------------------------------------------------------
8
AC_ARG_WITH(swigbin,[ --with-swigbin=path Set location of swig executable],[ SWIGBIN="$withval"], [SWIGBIN=])
9
AC_ARG_ENABLE(swig,[ --enable-swig=path Run swig to generate new source default=no],, enable_swig=no)
11
if test -z "$SWIGBIN"; then
12
AC_PATH_PROG(SWIG, swig)
14
AC_PATH_PROG(SWIG, swig, "not found", $SWIGBIN)
18
if test x"$SWIG"="xnot found"; then
21
if test x"$enable_swig"="xno"; then
25
AM_CONDITIONAL(RUNSWIG, test x$runswig = xtrue)