forked from mar-file-system/marfs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautogen.sh
executable file
·29 lines (27 loc) · 993 Bytes
/
autogen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
which autoreconf >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "ERROR: Failed to locate 'autoreconf'. You may need to install autoconf + automake packages."
exit -1
fi
autoreconf -i
if [ $? -ne 0 ]; then
echo "ERROR: Failed to run 'autoreconf'."
exit -1
fi
echo
echo "Build system has been initialized"
echo
echo "The following is a common process for completing installation:"
echo " -- Create a copy of 'env-example', edit the 'INSTALL' "
echo " variable of that file to an appropriate location, "
echo " then source that edited file."
echo " -- Run: './configure --prefix=\"\$INSTALL\"'"
echo " -- Run: 'make install'"
echo " -- Take a look at 'etc/example-marfs-config.xml', "
echo " below your targetted INSTALL location. Make "
echo " edits to that file as appropriate, then rename "
echo " it to 'etc/marfs-config.xml'. This file will "
echo " be referenced ( via the 'MARFS_CONFIG_PATH' var ) "
echo " by many marfs-related programs."
echo