Changeset f895fb1d94f7bd854b916b2d687f3e5781c51d85
- 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
| r688ba6a |
rf895fb1 |
|
| 68 | 68 | fi |
|---|
| 69 | 69 | |
|---|
| | 70 | # Check for autopoint (GNU gettext) |
|---|
| | 71 | export AUTOPOINT |
|---|
| | 72 | test "$AUTOPOINT" || AUTOPOINT=autopoint |
|---|
| | 73 | if ! "$AUTOPOINT" --dry-run --force >/dev/null 2>&1; then |
|---|
| | 74 | AUTOPOINT=true |
|---|
| | 75 | echo > ABOUT-NLS |
|---|
| | 76 | fi |
|---|
| | 77 | |
|---|
| 70 | 78 | ## |
|---|
| 71 | 79 | ## Generate the modules makefile, by parsing modules/**/Modules.am |
|---|
| … | … | |
| 113 | 121 | cp -f INSTALL INSTALL.git |
|---|
| 114 | 122 | |
|---|
| 115 | | AUTOPOINT=true autoreconf --install --force --verbose ${ACLOCAL_ARGS} |
|---|
| 116 | | rm -f po/Makevars.template |
|---|
| | 123 | autoreconf --install --force --verbose ${ACLOCAL_ARGS} |
|---|
| | 124 | rm -f po/Makevars.template ABOUT-NLS |
|---|
| | 125 | echo > ABOUT-NLS |
|---|
| 117 | 126 | mv -f INSTALL.git INSTALL |
|---|
| 118 | 127 | |
|---|
| … | … | |
| 130 | 139 | ## Tell the user about gettext, pkg-config and sed |
|---|
| 131 | 140 | ## |
|---|
| | 141 | if [ "$AUTOPOINT" = "true" ]; then |
|---|
| | 142 | cat << EOF |
|---|
| | 143 | |
|---|
| | 144 | ============================================================== |
|---|
| | 145 | NOTE: GNU gettext appears to be missing or out-of-date. |
|---|
| | 146 | Please install or update GNU gettext. |
|---|
| | 147 | Otherwise, you will not be able to build a source tarball. |
|---|
| | 148 | EOF |
|---|
| | 149 | fi |
|---|
| | 150 | |
|---|
| 132 | 151 | if [ "$PKGCONFIG" = "no" ]; then |
|---|
| 133 | 152 | cat << EOF |
|---|