mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-26 21:54:30 +08:00
48 lines
1014 B
Bash
Executable File
48 lines
1014 B
Bash
Executable File
#! /bin/sh
|
|
|
|
echo Running libtoolize...
|
|
libtoolize --automake -c -f
|
|
|
|
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!" >&2
|
|
exit 1
|
|
fi
|
|
fi
|
|
if ! [ -z "$CONFIG_RPATH" ]; then
|
|
cp "$CONFIG_RPATH" .
|
|
fi
|
|
|
|
if test ! -z "`which autoreconf`"; then
|
|
echo Running autoreconf...
|
|
autoreconf -i -f
|
|
else
|
|
echo Running aclocal...
|
|
aclocal
|
|
echo Running autoheader...
|
|
autoheader
|
|
echo Running autoconf...
|
|
autoconf
|
|
echo Running automake...
|
|
automake -a -c
|
|
(
|
|
echo Entering directory: kernel
|
|
cd kernel
|
|
echo Running autoheader...
|
|
autoheader
|
|
echo Running autoconf...
|
|
autoconf
|
|
)
|
|
fi
|
|
echo Linking kernel header file...
|
|
ln -sf ../kernel/fuse_kernel.h `dirname $0`/include
|
|
|
|
rm -f config.cache config.status
|
|
echo "To compile run './configure', and then 'make'."
|