Changeset f895fb1d94f7bd854b916b2d687f3e5781c51d85

Show
Ignore:
Timestamp:
03/25/08 17:55:30 (4 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1206464130 +0200
git-parent:

[494eab75438a3bb13a71c33400326d67aa61c898]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1206464130 +0200
Message:

Do run autopoint if it works

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bootstrap

    r688ba6a rf895fb1  
    6868fi 
    6969 
     70# Check for autopoint (GNU gettext) 
     71export AUTOPOINT 
     72test "$AUTOPOINT" || AUTOPOINT=autopoint 
     73if ! "$AUTOPOINT" --dry-run --force >/dev/null 2>&1; then 
     74  AUTOPOINT=true 
     75  echo > ABOUT-NLS 
     76fi 
     77 
    7078## 
    7179## Generate the modules makefile, by parsing modules/**/Modules.am 
     
    113121cp -f INSTALL INSTALL.git 
    114122 
    115 AUTOPOINT=true autoreconf --install --force --verbose ${ACLOCAL_ARGS} 
    116 rm -f po/Makevars.template 
     123autoreconf --install --force --verbose ${ACLOCAL_ARGS} 
     124rm -f po/Makevars.template ABOUT-NLS 
     125echo > ABOUT-NLS 
    117126mv -f INSTALL.git INSTALL 
    118127 
     
    130139##  Tell the user about gettext, pkg-config and sed 
    131140## 
     141if [ "$AUTOPOINT" = "true" ]; then 
     142  cat << EOF 
     143 
     144============================================================== 
     145NOTE: GNU gettext appears to be missing or out-of-date. 
     146Please install or update GNU gettext. 
     147Otherwise, you will not be able to build a source tarball. 
     148EOF 
     149fi 
     150 
    132151if [ "$PKGCONFIG" = "no" ]; then 
    133152  cat << EOF