Module: xenomai-forge
Branch: master
Commit: bce342470b2ed9aa3a713803318f8aa3d5f0290d
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=bce342470b2ed9aa3a713803318f8aa3d5f0290d

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Tue Feb  7 16:43:38 2012 +0100

build: fix for relative invocations of configure

This fixes build setups like '../configure'.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 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


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to