Fix some incorrect Requires
[platform/adaptation/system-plugin.git] / autogen.sh
1 #!/bin/sh
2
3 set -e
4
5 if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then
6     # This part is allowed to fail
7     cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \
8         chmod +x .git/hooks/pre-commit && \
9         echo "Activated pre-commit hook." || :
10 fi
11
12 # README and INSTALL are required by automake, but may be deleted by
13 # clean up rules. to get automake to work, simply touch these here,
14 # they will be regenerated from their corresponding *.in files by
15 # ./configure anyway.
16 touch README INSTALL
17
18 # Make sure m4 directory exist
19 mkdir -p m4
20
21 autoreconf --force --install --verbose || exit $?