Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: third_party/libxslt/autogen.sh

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove suppressions, have landed in blink now Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 libxslt."
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 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
20 echo
21 echo "You must have libtool installed to compile libxslt."
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 libxslt."
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 libxslt/xslt.h || {
40 echo "You must run this script in the top-level libxslt directory"
41 exit 1
42 }
43
44 if test -z "$NOCONFIGURE" -a -z "$*"; then
45 echo "I am going to run $srcdir/configure with no arguments - if you wis h "
46 echo "to pass any to it, please specify them on the $0 command line."
47 fi
48
49 echo "Running libtoolize..."
50 libtoolize --copy --force
51 echo "Running aclocal..."
52 aclocal $ACLOCAL_FLAGS
53 echo "Running automake..."
54 automake --add-missing --warnings=all
55 echo "Running autoconf..."
56 autoconf --warnings=all
57
58 cd $THEDIR
59
60 if test x$OBJ_DIR != x; then
61 mkdir -p "$OBJ_DIR"
62 cd "$OBJ_DIR"
63 fi
64
65 EXTRA_ARGS=
66 if test "x$1" = "x--system"; then
67 shift
68 prefix=/usr
69 libdir=$prefix/lib
70 sysconfdir=/etc
71 localstatedir=/var
72 if [ -d /usr/lib64 ]; then
73 libdir=$prefix/lib64
74 fi
75 EXTRA_ARGS="--prefix=$prefix --sysconfdir=$sysconfdir --localstatedir=$local statedir --libdir=$libdir"
76 fi
77
78 if test -z "$NOCONFIGURE"; then
79 echo "Running configure $EXTRA_ARGS $*" ...
80 $srcdir/configure $EXTRA_ARGS "$@"
81 echo
82 echo "Now type 'make' to compile libxslt."
83 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698