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
Vítor Santos Costa 06e29a4978 bad makefile
2014-05-07 09:35:19 +01:00

37 lines
771 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/src
mkdir -p packages/swig/jni
AC_SUBST(SWIG)
AC_SUBST(SWIG_TARGET)
AC_SUBST(PKG_SWIG)
AC_CONFIG_FILES([ packages/swig/Makefile packages/swig/jni/Android.mk ])
fi