xapp_xinit/xdm: only makes sense if there is an X server
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 20 Jan 2013 00:31:14 +0000 (00:31 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 20 Jan 2013 20:20:24 +0000 (21:20 +0100)
[Peter: also add dependency for xdm (which selects xinit)]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/x11r7/xapp_xdm/Config.in
package/x11r7/xapp_xinit/Config.in

index b1c50d5247f43be77112618fcbde4a257eb97434..c962993cf004ff9677671919858a075ec83925a6 100644 (file)
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_XAPP_XDM
        bool "xdm"
+       # Runtime dependency: can't start an X server unless there is one
+       depends on BR2_PACKAGE_XSERVER_XORG_SERVER
        select BR2_PACKAGE_XAPP_XINIT
        select BR2_PACKAGE_XAPP_SESSREG
        select BR2_PACKAGE_XAPP_XRDB
index 9ac28175a60f9c79098f3b23295ac03c342feeb1..30981c32935f157a458068490cfe0e0206432010 100644 (file)
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_XAPP_XINIT
        bool "xinit"
+       # Runtime dependency: can't start an X server unless there is one
+       depends on BR2_PACKAGE_XSERVER_XORG_SERVER
        select BR2_PACKAGE_XAPP_XAUTH
        select BR2_PACKAGE_XLIB_LIBX11
        help