dosfstools/autogen.sh
Pali Rohár b657ede4ab charconv: Add autogen.sh script
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
2019-06-23 10:47:44 +02:00

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