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

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

Issue 2804483002: Check in the libxml roll script. (Closed)
Patch Set: Code review feedback for the roll script. Created 3 years, 8 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 0
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 -licui18n -licuuc -licudata -lm -ldl 89 » » echo -lxml2 -licui18n -licuuc -licudata -lm
90 else 90 else
91 » » echo -L${libdir} -lxml2 -lz -licui18n -licuuc -licudata - lm -ldl 91 » » echo -L${libdir} -lxml2 -licui18n -licuuc -licudata -lm
92 fi 92 fi
93 else 93 else
94 » echo -L${libdir} -lxml2 -lz -licui18n -licuuc -licudata -lm -ldl 94 » echo -L${libdir} -lxml2 -licui18n -licuuc -licudata -lm
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