Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathautogen.sh
More file actions
Latest commit
executable file
·37 lines (35 loc) · 1.5 KB
/
Copy pathautogen.sh
File metadata and controls
executable file
·37 lines (35 loc) · 1.5 KB
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
30
31
32
33
34
35
36
37
#!/bin/sh
#
# Run 'autoreconf -i' to generate 'configure', 'Makefile.in', etc.
#
# The first time this is run on a new cloned git repo the configure
# script will not be present, only the configure.ac and
# Makefile.am. The rest must be generated by `autoreconf -i`.
#
# If you are working with a distribution (file ending with ".tar.gz"
# or similar) then this script should not be needed, and should not be
# present, as all the files should already exist. You should only run
# this script if you know what you are doing with autoreconf.
#
# This script will only work with an argument to confirm the help
# message has been read.
runautoreconf() {
autoreconf -i;
}
iftest -d .git &&test"$(basename "${PWD}")" = "smithlab_cpp"
then
runautoreconf
exit 0
else
echo" It seems you are either attempting to run this script "
echo" from the wrong directory, or in a source tree that was "
echo" not obtained by cloning the smithlab_cpp git repo. "
echo""
echo" ./autogen.sh generates the configure script. Only run "
echo""
echo" this if you know what you are doing with autoreconf and "
echo" are simply avoiding doing that. If you just want to use "
echo" the software, download a release and this script will "
echo" not be needed. "
exit 1
fi