diff --git a/conf/templates/fallback b/conf/templates/fallback index 9b47347..56e8f80 100644 --- a/conf/templates/fallback +++ b/conf/templates/fallback @@ -24,9 +24,9 @@ PATCHURL[0]="" # bee_patch ${@} #} -#mee_configure() { -# bee_configure @DEFAULT_CONFIGURE_OPTIONS@ -#} +@DEFAULT_CONFIGURE_OPTIONS_NOTSET@mee_configure() { +@DEFAULT_CONFIGURE_OPTIONS_NOTSET@ bee_configure @DEFAULT_CONFIGURE_OPTIONS@ +@DEFAULT_CONFIGURE_OPTIONS_NOTSET@} #mee_build() { # bee_build diff --git a/src/bee-init.sh.in b/src/bee-init.sh.in index efc2c58..835ba6f 100644 --- a/src/bee-init.sh.in +++ b/src/bee-init.sh.in @@ -227,7 +227,14 @@ function initialize() { sed -e "s,@SRCURL@,SRCURL[0]=\"${surl}\"," \ -i ${beefile} + if [ -z "${DEFAULT_CONFIGURE_OPTIONS}" ] ; then + DEFAULT_CONFIGURE_OPTIONS_NOTSET="#" + else + DEFAULT_CONFIGURE_OPTIONS_NOTSET="" + fi + sed -e "s,@DEFAULT_CONFIGURE_OPTIONS@,${DEFAULT_CONFIGURE_OPTIONS}," \ + -e "s,@DEFAULT_CONFIGURE_OPTIONS_NOTSET@,${DEFAULT_CONFIGURE_OPTIONS_NOTSET}," \ -i ${beefile} for i in prefix eprefix bindir sbindir libexecdir sysconfdir \