Change configure to use autoconf macros installed by xosd to check for

its presence.
This commit is contained in:
mmdolze
2011-01-05 14:53:38 +00:00
parent d86e2a369c
commit c4326258e6
3 changed files with 7 additions and 11 deletions
+4 -10
View File
@@ -466,18 +466,12 @@ dnl else
fi
;;
xosd)
AC_CHECK_HEADERS([xosd.h],[
AC_CHECK_LIB(xosd, main,[
LIBXOSD=`xosd-config --libs`
DRIVERS="$DRIVERS xosd${SO}"
actdrivers=["$actdrivers xosd"]
],[
dnl else
AC_MSG_WARN([The xosd driver needs the xosd library])
])
AM_PATH_LIBXOSD([
DRIVERS="$DRIVERS xosd${SO}"
actdrivers=["$actdrivers xosd"]
],[
dnl else
AC_MSG_WARN([The xosd driver needs xosd.h])
AC_MSG_WARN([The xosd driver needs the xosd library])
])
;;
*)