summaryrefslogtreecommitdiffstats
path: root/src/oh-autoconfigure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/oh-autoconfigure.sh')
-rw-r--r--src/oh-autoconfigure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oh-autoconfigure.sh b/src/oh-autoconfigure.sh
index 6c524da..b56ac55 100644
--- a/src/oh-autoconfigure.sh
+++ b/src/oh-autoconfigure.sh
@@ -48,7 +48,9 @@ main()
oh_buildsystems_init
- oh_buildsystem_do 'configure' "${@}"
+ if sys="$(oh_buildsystem_find 'configure')"; then
+ oh_buildsystem_do 'configure' "${sys}" "${@}"
+ fi
}
main "${@}"