This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/swig/configure.in
2014-06-22 17:35:05 +01:00

37 lines
767 B
Plaintext

AC_ARG_WITH(swig,
[ --with-swig[=DIR] swig interface generator],
if test "$withval" = yes; then
SWIG=swig
yap_cv_swig=yes
elif test "$withval" = no; then
yap_cv_swig=no
else
SWIG=$withval
yap_cv_swig=yes
fi,
[yap_cv_swig=no])
if test "$yap_cv_swig" = "no"; then
SWIG_TARGET="dummy"
PKG_SWIG=""
elif test -e "$srcdir"/packages/swig/Makefile.in ; then
SWIG_TARGET="all"
PKG_SWIG="packages/swig"
fi
if test "$PKG_SWIG" != ""; then
mkdir -p packages/swig/python
mkdir -p packages/swig/R
mkdir -p packages/swig/java
mkdir -p packages/swig/fli
mkdir -p packages/swig/jni
AC_SUBST(SWIG)
AC_SUBST(SWIG_TARGET)
AC_SUBST(PKG_SWIG)
AC_CONFIG_FILES([ packages/swig/Makefile packages/swig/Android.mk ])
fi