diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-13 21:59:33 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-13 21:59:33 +0200 |
commit | 37cce3a71c9359d46dc20bdb7b11ea66dd60add3 (patch) | |
tree | e67aff27a3984a048392d2ac88977d9c9aa5df17 /scripts | |
parent | 198c7e39ba6b920adc9c4541a2ec5d13b4d3c986 (diff) | |
parent | 025304e3d70b00ea7a91998d80a16e6183a62fad (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-pkgs.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 0eeeeaf7c..0bf8f5808 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -133,6 +133,10 @@ if [[ -n $ADK_PACKAGE_LIBXFONT ]]; then NEED_XMLTO="$NEED_XMLTO libXfont" fi +if [[ -n $ADK_PACKAGE_PACEMAKER_MGMTD ]]; then + NEED_SWIG="$NEED_SWIG pacemaker-mgmtd" +fi + if [[ -n $ADK_PACKAGE_EGLIBC ]]; then NEED_GPERF="$NEED_GPERF eglibc" fi @@ -313,6 +317,13 @@ if [[ -n $NEED_LIBIDL ]]; then fi fi +if [[ -n $NEED_SWIG ]]; then + if ! which swig >/dev/null 2>&1; then + echo >&2 You need swig to build $NEED_SWIG + out=1 + fi +fi + if [[ -n $NEED_GPERF ]]; then if ! which gperf >/dev/null 2>&1; then echo >&2 You need gperf to build $NEED_GPERF |