Merge branch 'clone_fd'
[fuse.git] / makeconf.sh
blob6678bdd90389fc2e90815207325112c8ba1f609c
1 #! /bin/sh
3 echo Running libtoolize...
4 libtoolize --automake -c -f
6 CONFIG_RPATH=/usr/share/gettext/config.rpath
7 if ! [ -f $CONFIG_RPATH ]; then
8 CONFIG_RPATH=/usr/local/share/gettext/config.rpath
9 fi
10 if ! [ -f $CONFIG_RPATH ]; then
11 if [ -f config.rpath ]; then
12 CONFIG_RPATH=
13 else
14 echo "config.rpath not found!" >&2
15 exit 1
18 if ! [ -z "$CONFIG_RPATH" ]; then
19 cp "$CONFIG_RPATH" .
22 if test ! -z "`which autoreconf`"; then
23 echo Running autoreconf...
24 autoreconf -i -f
25 else
26 echo Running aclocal...
27 aclocal
28 echo Running autoheader...
29 autoheader
30 echo Running autoconf...
31 autoconf
32 echo Running automake...
33 automake -a -c
35 echo Entering directory: kernel
36 cd kernel
37 echo Running autoheader...
38 autoheader
39 echo Running autoconf...
40 autoconf
44 rm -f config.cache config.status
45 echo "To compile run './configure', and then 'make'."