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

Side by Side Diff: third_party/libxml/linux/xml2-config

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: no iconv 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
« no previous file with comments | « third_party/libxml/linux/include/libxml/xmlversion.h ('k') | third_party/libxml/mac/config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 2
3 prefix=/usr/local 3 prefix=/usr/local
4 exec_prefix=${prefix} 4 exec_prefix=${prefix}
5 includedir=${prefix}/include 5 includedir=${prefix}/include
6 libdir=${exec_prefix}/lib 6 libdir=${exec_prefix}/lib
7 7
8 usage() 8 usage()
9 { 9 {
10 cat <<EOF 10 cat <<EOF
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 --exec-prefix=*) 51 --exec-prefix=*)
52 exec_prefix=$optarg 52 exec_prefix=$optarg
53 libdir=$exec_prefix/lib 53 libdir=$exec_prefix/lib
54 ;; 54 ;;
55 55
56 --exec-prefix) 56 --exec-prefix)
57 echo $exec_prefix 57 echo $exec_prefix
58 ;; 58 ;;
59 59
60 --version) 60 --version)
61 » echo 2.7.7 61 » echo 2.9.2
62 exit 0 62 exit 0
63 ;; 63 ;;
64 64
65 --help) 65 --help)
66 usage 0 66 usage 0
67 ;; 67 ;;
68 68
69 --cflags) 69 --cflags)
70 echo -I${includedir}/libxml2 70 echo -I${includedir}/libxml2
71 ;; 71 ;;
72 72
73 --libtool-libs) 73 --libtool-libs)
74 if [ -r ${libdir}/libxml2.la ] 74 if [ -r ${libdir}/libxml2.la ]
75 then 75 then
76 echo ${libdir}/libxml2.la 76 echo ${libdir}/libxml2.la
77 fi 77 fi
78 ;; 78 ;;
79 79
80 --modules) 80 --modules)
81 echo 1 81 echo 1
82 ;; 82 ;;
83 83
84 --libs) 84 --libs)
85 if [ "`uname`" = "Linux" ] 85 if [ "`uname`" = "Linux" ]
86 then 86 then
87 if [ "-L${libdir}" = "-L/usr/lib" -o "-L${libdir}" = "-L/usr/lib64" ] 87 if [ "-L${libdir}" = "-L/usr/lib" -o "-L${libdir}" = "-L/usr/lib64" ]
88 then 88 then
89 » » echo -lxml2 -lz -lm 89 » » echo -lxml2 -lz -lm -ldl
90 else 90 else
91 » » echo -L${libdir} -lxml2 -lz -lm 91 » » echo -L${libdir} -lxml2 -lz -lm -ldl
92 fi 92 fi
93 else 93 else
94 » echo -L${libdir} -lxml2 -lz -lm 94 » echo -L${libdir} -lxml2 -lz -lm -ldl
95 fi 95 fi
96 ;; 96 ;;
97 97
98 *) 98 *)
99 usage 99 usage
100 exit 1 100 exit 1
101 ;; 101 ;;
102 esac 102 esac
103 shift 103 shift
104 done 104 done
105 105
106 exit 0 106 exit 0
OLDNEW
« no previous file with comments | « third_party/libxml/linux/include/libxml/xmlversion.h ('k') | third_party/libxml/mac/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698