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

38 lines
806 B
Plaintext
Raw Normal View History

2014-04-28 11:57:09 +01:00
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"
2014-05-07 09:35:19 +01:00
PKG_SWIG="packages/swig"
2014-04-28 11:57:09 +01:00
fi
if test "$PKG_SWIG" != ""; then
2015-04-13 13:28:17 +01:00
mkdir -p packages/swig/android
mkdir -p packages/swig/android/usr
2014-04-28 11:57:09 +01:00
mkdir -p packages/swig/python
mkdir -p packages/swig/R
mkdir -p packages/swig/java
2014-06-22 17:35:05 +01:00
mkdir -p packages/swig/jni
2014-04-28 11:57:09 +01:00
AC_SUBST(SWIG)
AC_SUBST(SWIG_TARGET)
AC_SUBST(PKG_SWIG)
AC_CONFIG_FILES([ packages/swig/Makefile packages/swig/Android.mk ])
2014-04-28 11:57:09 +01:00
fi