]> git.sesse.net Git - vlc/blob - bindings/libvlcpp/autogen.sh
8bfd6ab165fcd8ab71cabe9145838ba6bcdaa4a9
[vlc] / bindings / libvlcpp / autogen.sh
1 #!/bin/sh
2 # $Id$
3 #
4 # ***********************************************************************
5 # *  Copyright © 2010 Rémi Duraffort.                                   *
6 # *  This program is free software; you can redistribute and/or modify  *
7 # *  it under the terms of the GNU General Public License as published  *
8 # *  by the Free Software Foundation; version 2 of the license.         *
9 # *                                                                     *
10 # *  This program is distributed in the hope that it will be useful,    *
11 # *  but WITHOUT ANY WARRANTY; without even the implied warranty of     *
12 # *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               *
13 # *  See the GNU General Public License for more details.               *
14 # *                                                                     *
15 # *  You should have received a copy of the GNU General Public License  *
16 # *  along with this program; if not, you can get it from:              *
17 # *  http://www.gnu.org/copyleft/gpl.html                               *
18 # ***********************************************************************
19
20 set -xe
21
22 cd "$(dirname "$0")"
23
24 test -f src/libvlc.hpp || {
25         echo "You must run this script from your libvlcpp directory.">&2
26         exit 1
27 }
28
29 mkdir -p admin m4
30 autoreconf -sfi
31
32 set +x
33 echo ""
34 echo "Type \`./configure' to configure the package for your system"
35 echo "(type \`./configure -- help' for help)."
36 echo "Then you can use the usual \`make', \`make install', etc."
37