diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-04-03 13:08:02 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-04-03 18:41:29 +0100 |
commit | 2ebd00a0cb2dbee4db5fe006f54b3176ae82a4a6 (patch) | |
tree | df540d30c5c280347cd663f8471561a2b2539150 | |
parent | ad30ca9534600465bd5ee3c42f02a37f3554f8db (diff) |
gst-autogen.sh: remove some unused helper funcs
-rw-r--r-- | gst-autogen.sh | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gst-autogen.sh b/gst-autogen.sh index 78cab66..c5798d0 100644 --- a/gst-autogen.sh +++ b/gst-autogen.sh @@ -169,54 +169,6 @@ version_check () return 1; } -aclocal_check () -{ - # normally aclocal is part of automake - # so we expect it to be in the same place as automake - # so if a different automake is supplied, we need to adapt as well - # so how's about replacing automake with aclocal in the set var, - # and saving that in $aclocal ? - # note, this will fail if the actual automake isn't called automake* - # or if part of the path before it contains it - if [ -z "$automake" ]; then - echo "Error: no automake variable set !" - return 1 - else - aclocal=`echo $automake | sed s/automake/aclocal/` - debug "aclocal: $aclocal" - if [ "$aclocal" != "aclocal" ]; - then - CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-aclocal=$aclocal" - fi - if [ ! -x `which $aclocal` ]; then - echo "Error: cannot execute $aclocal !" - return 1 - fi - fi -} - -autoheader_check () -{ - # same here - autoheader is part of autoconf - # use the same voodoo - if [ -z "$autoconf" ]; then - echo "Error: no autoconf variable set !" - return 1 - else - autoheader=`echo $autoconf | sed s/autoconf/autoheader/` - debug "autoheader: $autoheader" - if [ "$autoheader" != "autoheader" ]; - then - CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-autoheader=$autoheader" - fi - if [ ! -x `which $autoheader` ]; then - echo "Error: cannot execute $autoheader !" - return 1 - fi - fi - -} - die_check () { # call with $DIE |