 # If this SDK-Remote is part of the Kernel package, then we should not
 # use an installed urbi-console, but rather the one which is part of
 # this package.
-if test -x ${abs_top_builddir}/../src/urbi-console; then
-  URBI_SERVER=${abs_top_builddir}/../src/urbi-console
+if test -x $abs_top_builddir/../src/urbi-console; then
+  URBI_SERVER=$abs_top_builddir/../src/urbi-console
+  export URBI_PATH=$abs_top_srcdir/../share
 else
   # Leaves trailing files, so run it in subdir.
   find_urbi_server

check_dir abs_builddir liburbi-check
: ${abs_top_builddir='@abs_top_builddir@'}
check_dir abs_top_builddir config.status

# Make it absolute.
chk=$(absolute "$1")

m4_pattern_allow([^URBI_(PATH|SERVER)$])         -*- shell-script -*-

AS_INIT()dnl
URBI_PREPARE()
