#! /bin/sh
-## bootstrap file for vlc, the VideoLAN Client
-## $Id: bootstrap,v 1.41 2003/02/01 18:41:09 sam Exp $
+## bootstrap file for the VLC media player
+## $Id: bootstrap,v 1.45 2003/03/17 16:59:46 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
printf "generating Modules.am and configure.ac"
+rm -f Modules.am configure.ac
+
echo > Modules.am
echo > configure.ac
### classic bootstrap stuff
###
set -x
-rm -f aclocal.m4 m4/oldgettext.m4 configure config.guess config.log config.sub ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh
+
+# remove autotools cruft
+rm -f aclocal.m4 configure config.log
+# remove old autotools extra cruft
+rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
+# remove new autotools extra cruft
+(cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh)
+# remove libtool cruft
+rm -f ltmain.sh libtool ltconfig
+# remove gettext cruft
+rm -f m4/oldgettext.m4 ABOUT-NLS
rm -Rf intl
# Check for gettext
GETTEXT=yes
else
# User's gettext is too old. try to continue anyway.
+ echo > ABOUT-NLS
mkdir -p intl
echo > intl/Makefile.am
echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' > m4/oldgettext.m4
GETTEXT=old
fi;else
# we don't have gettext. grmbl. try to continue anyway.
+ echo > ABOUT-NLS
mkdir -p intl
echo > intl/Makefile.am
echo 'AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])' > m4/oldgettext.m4