Skip to contentSkip to conversation

configure: complete the full path in configure.ac

PATCH New Li Wang 2 participants 2 messages Oct 26, 2017

lore
Share & tools
lore

Li Wang

author
#0 lore raw

PATCH 1/1 configure: complete the full path in configure.ac

Fix a error in cross-compilation:
./config.status: line 1311: cd: include/lapi/syscalls: No such file or directory ./config.status: line 1311: ./regen.sh: No such file or directory

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index 2356531..39818cd 100644
@@ -139,7 +139,7 @@ fi
 
 AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2])
 
-AC_CONFIG_COMMANDS([syscalls.h], [cd include/lapi/syscalls; ./regen.sh])
+AC_CONFIG_COMMANDS([syscalls.h], [cd ${ac_top_srcdir}/include/lapi/syscalls; ./regen.sh])
 
 # END testsuites knobs
 LTP_CHECK_FORTIFY_SOURCE
Signature · 1 line
2.9.3