]>
jfr.im git - irc/weechat/weechat.git/blob - autogen.sh
3 # Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
4 # Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
5 # Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
7 # This file is part of WeeChat, the extensible chat client.
9 # WeeChat is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # WeeChat is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
27 DIR
=$(cd $(dirname "$0"); pwd)
30 AUTOGEN_LOG
=autogen.log
36 echo "---8<-----------------------------------"
38 echo "----------------------------------->8---"
44 echo -n "Running \"$@\"..."
45 eval $@
>$AUTOGEN_LOG 2>&1
54 # remove autotools stuff
55 run
"rm -f config.h.in"
56 run
"rm -f aclocal.m4 configure config.log config.status"
57 run
"rm -rf autom4te*.cache"
59 # remove libtool stuff
62 # remove gettext stuff
66 # execute autoreconf cmds