From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F3146AA.5070902@domain.hid> Date: Tue, 07 Feb 2012 16:43:38 +0100 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Xenomai-core] [PATCH forge] Fix build for relative invocations of configure List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai-core This fixes build setups like '../configure'. Signed-off-by: Jan Kiszka --- configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index c0a7d17..0bdced8 100644 --- a/configure.in +++ b/configure.in @@ -547,7 +547,7 @@ LD_FILE_OPTION=$ac_cv_ld_file_option AC_SUBST(LD_FILE_OPTION) if test x$rtcore_type = xcobalt; then - XENO_USER_CFLAGS="-I$srcdir/include/cobalt $XENO_USER_CFLAGS" + XENO_USER_CFLAGS="-I`cd $srcdir && pwd`/include/cobalt $XENO_USER_CFLAGS" if [[ $ac_cv_ld_file_option = yes ]]; then XENO_POSIX_WRAPPERS="-Wl,@`cd $srcdir && pwd`/lib/cobalt/posix.wrappers" else -- 1.7.3.4