autogen.sh
author Vitaly Novichkov
Mon, 23 Dec 2019 14:01:02 +0300
changeset 1119 24ca9a03d51c
parent 351 f020187cf5b2
permissions -rwxr-xr-x
introduce MetaTags api

In some games or players it would be possible to print a title and
some minor tags about playing music.

There are 5 added functions which can give meta-tags from music if
they are available or supported by a codec:
- Mix_GetMusicTitle() gives song title.
Unlike Mix_GetMusicTitleTag, returns filename if tag is blank.
- Mix_GetMusicTitleTag() gives song title
- Mix_GetMusicArtistTag() gives artist name
- Mix_GetMusicAlbumTag() gives album name
- Mix_GetMusicCopyrightTag() gives copyright tag
slouken@6
     1
#!/bin/sh
slouken@6
     2
#
slouken@294
     3
echo "Generating build information using autoconf"
slouken@294
     4
echo "This may take a while ..."
slouken@6
     5
slouken@294
     6
# Regenerate configuration files
slouken@351
     7
cat acinclude/* >aclocal.m4
slouken@294
     8
found=false
slouken@322
     9
for autoconf in autoconf autoconf259 autoconf-2.59
slouken@294
    10
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
slouken@294
    11
done
slouken@294
    12
if test x$found = xfalse; then
slouken@294
    13
    echo "Couldn't find autoconf, aborting"
slouken@294
    14
    exit 1
slouken@294
    15
fi
slouken@294
    16
slouken@294
    17
# Run configure for this platform
slouken@63
    18
echo "Now you are ready to run ./configure"