configure.ac: Don't look for Xwayland in the weston install destination
authorDerek Foreman <derekf@osg.samsung.com>
Mon, 9 Feb 2015 15:57:28 +0000 (09:57 -0600)
committerBryce Harrington <bryce@osg.samsung.com>
Thu, 12 Feb 2015 02:23:56 +0000 (18:23 -0800)
Xwayland isn't part of this distribution so looking for Xwayland in
weston's install dir will cause distcheck to fail.  Let's set the
default to /usr/bin where it's likely to live.

It can still be overriden during configure exactly as before.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
configure.ac

index 1db9f79..e5f395f 100644 (file)
@@ -100,7 +100,7 @@ if test x$enable_xwayland = xyes; then
 
   AC_ARG_WITH(xserver-path, AS_HELP_STRING([--with-xserver-path=PATH],
               [Path to X server]), [XSERVER_PATH="$withval"],
-              [XSERVER_PATH="$bindir/Xwayland"])
+              [XSERVER_PATH="/usr/bin/Xwayland"])
   AC_SUBST([XSERVER_PATH])
   if test x$enable_xwayland_test = xyes; then
     PKG_CHECK_MODULES([XWAYLAND_TEST], x11)