Make it possible to override configure by defining __configure

This commit is contained in:
Tom G. Christensen 2008-03-25 14:25:59 +00:00
parent b77881b345
commit 951d5ac6de

View File

@ -95,6 +95,7 @@ metainstalldir=$topinstalldir
# Keep this in hard-quotes to delay expansion # Keep this in hard-quotes to delay expansion
configure_args='--prefix=$prefix --disable-nls' configure_args='--prefix=$prefix --disable-nls'
__configure="./configure"
# Docdir relative to $prefix # Docdir relative to $prefix
_docdir=share/doc _docdir=share/doc
@ -665,7 +666,7 @@ generic_build()
if [ $no_configure -eq 0 ]; then if [ $no_configure -eq 0 ]; then
if [ $generic_configure -eq 1 ]; then if [ $generic_configure -eq 1 ]; then
./configure $(_upls $configure_args) $__configure $(_upls $configure_args)
else else
# Platform specific configure run # Platform specific configure run
run_configure run_configure