Adiciona script para gerar arquivos de build
authorThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Mon, 11 May 2015 01:53:27 +0000 (01:53 +0000)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Mon, 11 May 2015 01:53:27 +0000 (01:53 +0000)
bootstrap.sh [new file with mode: 0755]

diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755 (executable)
index 0000000..594643a
--- /dev/null
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+# Copyright (C) 2014  Sergio Durigan Junior <sergiodj@sergiodj.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+# These are the necessary steps to generate the configure scripts.
+
+set -x
+
+# Use "build-aux" as our aux dir, i.e., put the generated files there.
+AUX_DIR=build-aux
+
+# If there is no config.h.in, create it.
+CONFIG_FILE=config.h.in
+
+test -d $AUX_DIR || mkdir -p $AUX_DIR
+
+test -e $CONFIG_FILE || touch $CONFIG_FILE
+
+aclocal
+autoheader
+autoconf
+automake --add-missing --copy --force --foreign