Debian Codegraph @

bootstrap

raw
1 #! /bin/sh
2 # $Id: bootstrap 17405 2014-02-11 09:32:14Z msalle $
3 # Copyright (c) Members of the EGEE Collaboration. 2004-2010.
4 # See http://www.eu-egee.org/partners/ for details on the copyright
5 # holders.
6 #
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 # http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19 # Authors:
20 # 2009-
21 # Oscar Koeroo <[email protected]>
22 # Mischa Sall\'e <[email protected]>
23 # David Groep <[email protected]>
24 # NIKHEF Amsterdam, the Netherlands
25 # <[email protected]>
26 #
27 # 2007-2009
28 # Oscar Koeroo <[email protected]>
29 # David Groep <[email protected]>
30 # NIKHEF Amsterdam, the Netherlands
31 #
32 # 2003-2007
33 # Martijn Steenbakkers <[email protected]>
34 # Gerben Venekamp <[email protected]>
35 # Oscar Koeroo <[email protected]>
36 # David Groep <[email protected]>
37 # NIKHEF Amsterdam, the Netherlands
38 #
39
40 set -x
41
42 # On MacOS X, the GNU libtool is named `glibtool'.
43 HOSTOS=`uname`
44 LIBTOOLIZE=libtoolize
45 if test "$HOSTOS"x = Darwinx; then
46 LIBTOOLIZE=glibtoolize
47 fi
48
49
50 $LIBTOOLIZE --force --copy && \
51 aclocal -I project && \
52 autoheader --force && \
53 automake --add-missing --copy && \
54 autoconf || echo "Something went wrong! Check the above output."
55