mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 20:24:17 +08:00
b8a82603bf
Describe why manual copying of config.rpath is necessary, and fail with a more helpful message if it can't be found. Remove code for systems without autoreconf - it's apparently not used by anyone since it has been broken for quite some time (there is no `kernel` directory anymore).
27 lines
580 B
Bash
Executable File
27 lines
580 B
Bash
Executable File
#! /bin/sh
|
|
|
|
echo "Running libtoolize..."
|
|
libtoolize -c
|
|
|
|
# We use iconv directly rather than via gettext, so
|
|
# we need to manually copy config.rpath.
|
|
CONFIG_RPATH=/usr/share/gettext/config.rpath
|
|
if ! [ -f $CONFIG_RPATH ]; then
|
|
CONFIG_RPATH=/usr/local/share/gettext/config.rpath
|
|
fi
|
|
if ! [ -f $CONFIG_RPATH ]; then
|
|
if [ -f config.rpath ]; then
|
|
CONFIG_RPATH=
|
|
else
|
|
echo "config.rpath not found! - is gettext installed?" >&2
|
|
exit 1
|
|
fi
|
|
fi
|
|
if ! [ -z "$CONFIG_RPATH" ]; then
|
|
cp "$CONFIG_RPATH" .
|
|
fi
|
|
|
|
echo "Running autoreconf..."
|
|
autoreconf -i
|
|
|