Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 50 lines (41 sloc) 1.618 kb
4ed70a9 sustrik initial commit
sustrik authored
1 #!/bin/sh
4f6baf4 sustrik Copyrights transferred from FastMQ to iMatix
sustrik authored
2 # Copyright (c) 2007-2010 iMatix Corporation
4ed70a9 sustrik initial commit
sustrik authored
3 #
4 # This file is part of 0MQ.
5 #
6 # 0MQ is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10
11 # 0MQ is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
19 # Script to generate all required files from fresh git checkout.
4ed70a9 sustrik initial commit
sustrik authored
20
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
21 command -v pkg-config >/dev/null 2>&1
b71c300 include directory split into c and cpp dirs, added --with-c and --with-c...
malosek authored
22 if [ $? -ne 0 ]; then
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
23 echo "autogen.sh: error: could not find pkg-config. pkg-config is required to run autogen.sh." 1>&2
b71c300 include directory split into c and cpp dirs, added --with-c and --with-c...
malosek authored
24 exit 1
25 fi
4ed70a9 sustrik initial commit
sustrik authored
26
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
27 command -v libtool >/dev/null 2>&1
ff99d75 Minor buid system tunning
malosek authored
28 if [ $? -ne 0 ]; then
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
29 echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
ff99d75 Minor buid system tunning
malosek authored
30 exit 1
31 fi
32
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
33 command -v autoreconf >/dev/null 2>&1
7884f45 sustrik problem with new version of autoreconf fixed
sustrik authored
34 if [ $? -ne 0 ]; then
8fcf6ff Martin Lucina Cleanups to autogen.sh
mato authored
35 echo "autogen.sh: error: could not find autoreconf. autoconf and automake are required to run autogen.sh." 1>&2
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
36 exit 1
37 fi
38
39 mkdir -p ./config
40 if [ $? -ne 0 ]; then
41 echo "autogen.sh: error: could not create directory: ./config." 1>&2
472ddf8 fixed failed merge with autogen.sh
malosek authored
42 exit 1
7884f45 sustrik problem with new version of autoreconf fixed
sustrik authored
43 fi
472ddf8 fixed failed merge with autogen.sh
malosek authored
44
4ed70a9 sustrik initial commit
sustrik authored
45 autoreconf --install --force --verbose -I config
46 if [ $? -ne 0 ]; then
fceba03 Martin Lucina Cleanups to autogen.sh
mato authored
47 echo "autogen.sh: error: autoreconf exited with status $?" 1>&2
472ddf8 fixed failed merge with autogen.sh
malosek authored
48 exit 1
4ed70a9 sustrik initial commit
sustrik authored
49 fi
Something went wrong with that request. Please try again.