Implement our own check for xosd. It's not more bad than xsod's macro but
works if xosd it not installed.
This commit is contained in:
+9
-5
@@ -466,13 +466,17 @@ dnl else
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
xosd)
|
xosd)
|
||||||
AM_PATH_LIBXOSD([
|
AC_PATH_PROG([LIBXOSD_CONFIG], [xosd-config], [no])
|
||||||
|
if test "$LIBXOSD_CONFIG" = "no"; then
|
||||||
|
AC_MSG_WARN([The xosd driver needs the xosd library])
|
||||||
|
else
|
||||||
|
LIBXOSD_CFLAGS=`$LIBXOSD_CONFIG --cflags`
|
||||||
|
LIBXOSD_LIBS=`$LIBXOSD_CONFIG --libs`
|
||||||
|
AC_SUBST(LIBXOSD_CFLAGS)
|
||||||
|
AC_SUBST(LIBXOSD_LIBS)
|
||||||
DRIVERS="$DRIVERS xosd${SO}"
|
DRIVERS="$DRIVERS xosd${SO}"
|
||||||
actdrivers=["$actdrivers xosd"]
|
actdrivers=["$actdrivers xosd"]
|
||||||
],[
|
fi
|
||||||
dnl else
|
|
||||||
AC_MSG_WARN([The xosd driver needs the xosd library])
|
|
||||||
])
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([Unknown driver $driver])
|
AC_MSG_ERROR([Unknown driver $driver])
|
||||||
|
|||||||
Reference in New Issue
Block a user