Skip to content

Commit

Permalink
Reintroduce autogen.sh
Browse files Browse the repository at this point in the history
This redundant script is needed for future build-system
conversion to automake.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Dec 3, 2015
1 parent a2ff2b4 commit 9d5b773
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
echo "Run autoreconf instead."
echo "Example: "
echo " $ autoreconf -f -i -v"
autoreconf -vfi

exit $?
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! test -e "${srcdir}/config.h.in"; then
echo "---"
echo "--- ${srcdir}/config.h.in WAS NOT FOUND." 1>&2
echo "--- YOU MIGHT HAVE RUN autoconf ONLY" 1>&2
echo "--- BUT YOU MAY HAVE TO RUN autoreconf." 1>&2
echo "--- BUT YOU MAY HAVE TO RUN autogen.sh." 1>&2
echo "---"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion docs/autotools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Building with configure (\*nix including GNU/Linux)
---------------------------------------------------------------------
Like most Autotools-based projects, you need to do::

$ autoreconf -vfi
$ ./autogen.sh
$ ./configure --prefix=/where/you/want # defaults to /usr/local
$ make
$ make install # may require extra privileges depending on where to install
Expand Down
2 changes: 1 addition & 1 deletion docs/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ You can also build a native Windows version using Autotools.

.. code-block:: bash
autoreconf -vfi
./autogen.sh
./configure --host=i686-w64-mingw32 --disable-external-sort
make
Expand Down
3 changes: 2 additions & 1 deletion misc/travis-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

make --version
autoreconf -f -i -v

./autogen.sh

./configure --enable-iconv --enable-coverage-gcov

Expand Down

0 comments on commit 9d5b773

Please sign in to comment.