]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/Runtime/make.sh
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / wxSWIG / Runtime / make.sh
CommitLineData
c90f71dd
RD
1#!/bin/sh
2
3necho() {
4 if [ "`echo -n`" = "-n" ]; then
5 echo "${@}\c"
6 else
7 echo -n "${@}"
8 fi
9}
10
11# Script that attempts to produce different run-time libraries
12
13TARGET='perl_lib perl_shared py_lib py_shared tcl_lib tcl_shared tcl8_lib tcl8_shared'
14
15echo "Building the SWIG runtime libraries..."
16echo ""
17echo "*** Note : Some builds may fail due to uninstalled packages or"
18echo "unsupported features such as dynamic loading (don't panic)."
19echo ""
20
21for i in ${TARGET}; do
22necho " Building ${i}";
23if make ${i} >/dev/null 2>&1; then
24# See if SWIG generated any errors at all
25 echo " ....... OK.";
26else
27 echo " ....... failed.";
28fi;
29done
30