~ubuntu-branches/ubuntu/wily/opencollada/wily

« back to all changes in this revision

Viewing changes to Externals/LibXML/autogen.sh

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Run this to generate all the initial makefiles, etc.
 
3
 
 
4
srcdir=`dirname $0`
 
5
test -z "$srcdir" && srcdir=. 
 
6
 
 
7
THEDIR=`pwd`
 
8
cd $srcdir
 
9
DIE=0
 
10
 
 
11
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
 
12
        echo
 
13
        echo "You must have autoconf installed to compile libxml."
 
14
        echo "Download the appropriate package for your distribution,"
 
15
        echo "or see http://www.gnu.org/software/autoconf"
 
16
        DIE=1
 
17
}
 
18
 
 
19
(which libtool) < /dev/null > /dev/null 2>&1 || {
 
20
        echo
 
21
        echo "You must have libtool installed to compile libxml."
 
22
        echo "Download the appropriate package for your distribution,"
 
23
        echo "or see http://www.gnu.org/software/libtool"
 
24
        DIE=1
 
25
}
 
26
 
 
27
(automake --version) < /dev/null > /dev/null 2>&1 || {
 
28
        echo
 
29
        DIE=1
 
30
        echo "You must have automake installed to compile libxml."
 
31
        echo "Download the appropriate package for your distribution,"
 
32
        echo "or see http://www.gnu.org/software/automake"
 
33
}
 
34
 
 
35
if test "$DIE" -eq 1; then
 
36
        exit 1
 
37
fi
 
38
 
 
39
test -f entities.c || {
 
40
        echo "You must run this script in the top-level libxml directory"
 
41
        exit 1
 
42
}
 
43
 
 
44
if test -z "$*"; then
 
45
        echo "I am going to run ./configure with no arguments - if you wish "
 
46
        echo "to pass any to it, please specify them on the $0 command line."
 
47
fi
 
48
 
 
49
libtoolize --copy --force
 
50
aclocal $ACLOCAL_FLAGS
 
51
automake --add-missing
 
52
autoconf
 
53
 
 
54
cd $THEDIR
 
55
 
 
56
if test x$OBJ_DIR != x; then
 
57
    mkdir -p "$OBJ_DIR"
 
58
    cd "$OBJ_DIR"
 
59
fi
 
60
 
 
61
sh $srcdir/configure "$@"
 
62
 
 
63
echo 
 
64
echo "Now type 'make' to compile libxml."