configure: cleanup and (re)add sed requirement.
This commit is contained in:
parent
2fe8d7b401
commit
8dd0f3ee33
|
@ -155,12 +155,13 @@ begin ()
|
||||||
{
|
{
|
||||||
echo -n "Checking sanity..."
|
echo -n "Checking sanity..."
|
||||||
require_command pkg-config pkg-config > /dev/null
|
require_command pkg-config pkg-config > /dev/null
|
||||||
|
require_command sed sed > /dev/null
|
||||||
ok
|
ok
|
||||||
}
|
}
|
||||||
|
|
||||||
warn ()
|
warn ()
|
||||||
{
|
{
|
||||||
echo "${BOLD}${YELLOW}* ${SGR0}$*"
|
echo " ${BOLD}${YELLOW}* ${SGR0}$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
begin_options ()
|
begin_options ()
|
||||||
|
@ -170,6 +171,7 @@ begin_options ()
|
||||||
|
|
||||||
if [ $HELP = yes ]
|
if [ $HELP = yes ]
|
||||||
then
|
then
|
||||||
|
echo
|
||||||
warn "This is not an autoconf script! Run without any arguments and you will be prompted."
|
warn "This is not an autoconf script! Run without any arguments and you will be prompted."
|
||||||
warn "Alternatively, you may use the following autoconf style arguments for"
|
warn "Alternatively, you may use the following autoconf style arguments for"
|
||||||
warn "non-interactive configuration."
|
warn "non-interactive configuration."
|
||||||
|
|
Loading…
Reference in New Issue