diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-19 09:55:28 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-19 09:55:28 +0100 |
commit | 46ca99ab03f2b7e70b1d7505cec7cd03b2e4e006 (patch) | |
tree | a49c2655a97d460a8f03a71a21e0b4fcc565abc2 | |
parent | a934246178d7c686bf28c3dbed57b06120cb48d0 (diff) | |
parent | 8eb4f82dbe53e5ff0a962df1f8478f2653197639 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-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 5e9d7c048..b9cb279d1 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -69,6 +69,10 @@ if [[ -n $ADK_PACKAGE_GLIB ]]; then NEED_PKGCONFIG="$NEED_PKGCONFIG glib" fi +if [[ -n $ADK_PACKAGE_LIBPCAP ]]; then + NEED_FLEX="$NEED_FLEX libpcap" +fi + if [[ -n $NEED_GETTEXT ]]; then if ! which xgettext >/dev/null 2>&1; then @@ -159,6 +163,13 @@ if [[ -n $NEED_RPM ]]; then fi fi +if [[ -n $NEED_FLEX ]]; then + if ! which flex >/dev/null 2>&1; then + echo >&2 You need flex to to use $NEED_FLEX package + out=1 + fi +fi + #if [[ -n $ADK_COMPILE_MYSQL && $OStype != Linux ]]; then # echo >&2 mySQL does not build on non-GNU/Linux. # out=1 |