radare2/swig/check-langs.sh
pancake 605a522cf4 * Add support for python 2.7 API bindings on Windows
- Fixes some pkgconfig issues
  - Depends on newer valaswig
* Added new target 'w32' and 'w32dist' in swig/
  - Already documented in doc/windows
  - Only works on archlinux. debian support is next
2010-10-18 01:51:00 +02:00

19 lines
350 B
Bash
Executable File

#!/bin/sh
SUP_LANGS=""
LANGS="python perl ruby lua go java"
for a in ${LANGS}; do
printf "Checking $a support for valaswig... "
CC=${CC} CXX=${CXX} valaswig-cc --test $a
if [ $? = 0 ]; then
echo yes
SUP_LANGS="$a ${SUP_LANGS}"
else
echo no
fi
done
:> supported.langs
for a in ${SUP_LANGS}; do
echo $a >> supported.langs
done