Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83b38e2
)
Add cpp def for libnotify presence.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 14 Aug 2007 00:16:33 +0000
(
02:16
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 14 Aug 2007 00:16:33 +0000
(
02:16
+0200)
configure.in
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index
45aec59
..
0fc4a01
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-41,7
+41,7
@@
DOLDA_PKG([HAS_PAM], [test "$with_pam" = no && HAS_PAM=no],
if test "$with_pam" = yes -a "$HAS_PAM" = no; then
AC_MSG_ERROR([*** cannot find PAM on this system])
fi
if test "$with_pam" = yes -a "$HAS_PAM" = no; then
AC_MSG_ERROR([*** cannot find PAM on this system])
fi
-if test "$
with_pam" != no -a "$
HAS_PAM" = yes; then
+if test "$HAS_PAM" = yes; then
AC_DEFINE(HAVE_PAM)
pam_msg=yes
fi
AC_DEFINE(HAVE_PAM)
pam_msg=yes
fi
@@
-67,6
+67,7
@@
if test "$with_libxml" = yes -a "$HAS_LIBXML" = no; then
fi
# libnotify check
fi
# libnotify check
+AH_TEMPLATE(HAVE_NOTIFY, [define to compile support for libnotify])
AC_ARG_WITH(libnotify, [ --with-libnotify Enable libnotify support])
DOLDA_PKG([HAS_LIBNOTIFY], [test "$with_libnotify" = no && HAS_LIBNOTIFY=no],
[PKG_CHECK_MODULES(LIBNOTIFY, libnotify, [], [HAS_LIBNOTIFY=no])],
AC_ARG_WITH(libnotify, [ --with-libnotify Enable libnotify support])
DOLDA_PKG([HAS_LIBNOTIFY], [test "$with_libnotify" = no && HAS_LIBNOTIFY=no],
[PKG_CHECK_MODULES(LIBNOTIFY, libnotify, [], [HAS_LIBNOTIFY=no])],
@@
-74,6
+75,9
@@
DOLDA_PKG([HAS_LIBNOTIFY], [test "$with_libnotify" = no && HAS_LIBNOTIFY=no],
if test "$with_libnotify" = yes -a "$HAS_LIBNOTIFY" = no; then
AC_MSG_ERROR([*** cannot find libnotify on this system])
fi
if test "$with_libnotify" = yes -a "$HAS_LIBNOTIFY" = no; then
AC_MSG_ERROR([*** cannot find libnotify on this system])
fi
+if test "$HAS_LIBNOTIFY" = yes; then
+ AC_DEFINE(HAVE_NOTIFY)
+fi
# libpanelapplet check
DOLDA_PKG([HAS_LIBPANELAPPLET], [PKG_CHECK_MODULES(PANELAPPLET, libpanelapplet-2.0, [], [HAS_LIBPANELAPPLET=no])])
# libpanelapplet check
DOLDA_PKG([HAS_LIBPANELAPPLET], [PKG_CHECK_MODULES(PANELAPPLET, libpanelapplet-2.0, [], [HAS_LIBPANELAPPLET=no])])