Commit beab78a9 authored by Sam Hocevar's avatar Sam Hocevar

* bootstrap:

    + Run autopoint with the -f flag.
    + Remove stamp files in the bootstrap process.
parent c00da182
#! /bin/sh #! /bin/sh
## bootstrap file for the VLC media player ## bootstrap file for the VLC media player
## $Id: bootstrap,v 1.70 2003/07/17 13:09:46 sam Exp $ ## $Id: bootstrap,v 1.71 2003/07/24 20:34:47 sam Exp $
## ##
## Authors: Sam Hocevar <sam@zoy.org> ## Authors: Sam Hocevar <sam@zoy.org>
...@@ -267,6 +267,8 @@ rm -f ABOUT-NLS ...@@ -267,6 +267,8 @@ rm -f ABOUT-NLS
rm -Rf intl rm -Rf intl
# remove old vlc cruft # remove old vlc cruft
rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am
# remove new vlc cruft
rm -f stamp-builtin stamp-h* mozilla/stamp-pic
# Check for gettext # Check for gettext
if gettextize --version >/dev/null 2>&1; then if gettextize --version >/dev/null 2>&1; then
...@@ -274,7 +276,7 @@ if gettextize --version >/dev/null 2>&1; then ...@@ -274,7 +276,7 @@ if gettextize --version >/dev/null 2>&1; then
if expr `gettextize --version | sed -e '1s/[^0-9]*//' -e q` \ if expr `gettextize --version | sed -e '1s/[^0-9]*//' -e q` \
'>=' 0.11.5 >/dev/null 2>&1; then '>=' 0.11.5 >/dev/null 2>&1; then
# We have gettext, and a recent version! Everything is cool. # We have gettext, and a recent version! Everything is cool.
autopoint autopoint=autopoint
GETTEXT=yes GETTEXT=yes
else else
# User's gettext is too old. try to continue anyway. # User's gettext is too old. try to continue anyway.
...@@ -286,6 +288,7 @@ dnl User's gettext is too old, so this is a no-op ...@@ -286,6 +288,7 @@ dnl User's gettext is too old, so this is a no-op
AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
EOF EOF
autopoint=:
GETTEXT=old GETTEXT=old
fi;else fi;else
# we don't have gettext. grmbl. try to continue anyway. # we don't have gettext. grmbl. try to continue anyway.
...@@ -297,6 +300,7 @@ dnl User does not have gettext, so this is a no-op ...@@ -297,6 +300,7 @@ dnl User does not have gettext, so this is a no-op
AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
EOF EOF
autopoint=:
GETTEXT=no GETTEXT=no
fi fi
...@@ -350,14 +354,20 @@ if test "${amvers}" = "none"; then ...@@ -350,14 +354,20 @@ if test "${amvers}" = "none"; then
exit 1 exit 1
fi fi
aclocal=aclocal${amvers}
automake=automake${amvers}
autoconf=autoconf
autoheader=autoheader
# Automake complains if this is not present # Automake complains if this is not present
rm -f vlc-config.in && printf "" > vlc-config.in rm -f vlc-config.in && printf "" > vlc-config.in
# Do the rest # Do the rest
aclocal${amvers} -I m4 ${autopoint} -f
autoconf ${aclocal} -I m4
autoheader ${autoconf}
automake${amvers} --add-missing --copy ${autoheader}
${automake} --add-missing --copy
## ##
## files which need to be regenerated ## files which need to be regenerated
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment