summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-08-08 11:47:57 +0100
committerRoy Marples <roy@marples.name>2020-08-08 11:47:57 +0100
commit6280f2d25143cd212ad56a6ca6db9033187a82fe (patch)
treea27ed790441b15a0e7eed34c0f4a824c92f31cef
parent7e0666e2059b66927d5144a20f0846bb4db54ab5 (diff)
downloaddhcpcd-ui-6280f2d25143cd212ad56a6ca6db9033187a82fe.tar.xz
configure: Fix notify for gtk
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index ed83221..57b68e5 100755
--- a/configure
+++ b/configure
@@ -389,8 +389,9 @@ if [ -n "$WITH_GTK" -a "$WITH_GTK" != no ]; then
if ! pkg-config --cflags libnotify >/dev/null 2>&3; then
echo "libnotify not found" >&2
[ "$NOTIFY" = yes -a -n "$_WITH_GTK" ] && exit 1
+ else
+ NOTIFY=yes
fi
- NOTIFY=yes
fi
if [ "$NOTIFY" = yes ]; then
PKG="$PKG${PKG:+ }libnotify"