summaryrefslogtreecommitdiffstats
path: root/c/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/configure.in')
-rw-r--r--c/configure.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/c/configure.in b/c/configure.in
index e0e43d3f73..9c5b1181fa 100644
--- a/c/configure.in
+++ b/c/configure.in
@@ -56,10 +56,8 @@ done
##
## Adjust paths
-case $srcdir in
-/*) rtems_bsp_configure="$srcdir/src/configure";;
-*) rtems_bsp_configure="../$srcdir/src/configure";;
-esac
+_RTEMS_ADJUST_SRCDIR([rtems_bsp_configure],[src])
+rtems_bsp_configure="$rtems_bsp_configure/configure"
## Remove --cache-file, --srcdir and --enable-rtemsbsp arguments
## so they do not pile up