mirror of
https://github.com/dosfstools/dosfstools.git
synced 2026-01-26 12:14:59 +00:00
AM_ICONV macro depends on gettext installation. Unfortunately autoreconf is not able to install config.rpath file so do it manually in autogen.sh. See reported bug: https://lists.gnu.org/archive/html/bug-gettext/2011-10/msg00012.html
15 lines
389 B
Bash
Executable File
15 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Install config.rpath which is needed for AM_ICONV macro
|
|
for dir in "$GETTEXT_DIR" /usr/share/gettext /usr/local/share/gettext; do
|
|
if test -f "$dir/config.rpath"; then
|
|
test -f config.rpath || echo "autogen.sh: installing './config.rpath'"
|
|
cp -f "$dir/config.rpath" .
|
|
break
|
|
fi
|
|
done
|
|
|
|
aclocal --force
|
|
autoconf --force
|
|
automake --add-missing --copy --force-missing
|