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

Side by Side Diff: third_party/libxml/src/xml2-config.in

Issue 1994003003: Roll libxml to 8effcb578e0590cc01bbcab0f9dccefc6bdbcdbd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium Created 4 years, 7 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/src/win32/VC10/config.h ('k') | third_party/libxml/src/xmlcatalog.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #! /bin/sh
2
3 prefix=@prefix@
4 exec_prefix=@exec_prefix@
5 includedir=@includedir@
6 libdir=@libdir@
7
8 usage()
9 {
10 cat <<EOF
11 Usage: xml2-config [OPTION]
12
13 Known values for OPTION are:
14
15 --prefix=DIR change libxml prefix [default $prefix]
16 --exec-prefix=DIR change libxml exec prefix [default $exec_prefix]
17 --libs print library linking information
18 --cflags print pre-processor and compiler flags
19 --modules module support enabled
20 --help display this help and exit
21 --version output version information
22 EOF
23
24 exit $1
25 }
26
27 if test $# -eq 0; then
28 usage 1
29 fi
30
31 cflags=false
32 libs=false
33
34 while test $# -gt 0; do
35 case "$1" in
36 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
37 *) optarg= ;;
38 esac
39
40 case "$1" in
41 --prefix=*)
42 prefix=$optarg
43 includedir=$prefix/include
44 libdir=$prefix/lib
45 ;;
46
47 --prefix)
48 echo $prefix
49 ;;
50
51 --exec-prefix=*)
52 exec_prefix=$optarg
53 libdir=$exec_prefix/lib
54 ;;
55
56 --exec-prefix)
57 echo $exec_prefix
58 ;;
59
60 --version)
61 echo @VERSION@
62 exit 0
63 ;;
64
65 --help)
66 usage 0
67 ;;
68
69 --cflags)
70 echo @XML_INCLUDEDIR@ @XML_CFLAGS@
71 ;;
72
73 --libtool-libs)
74 if [ -r ${libdir}/@XML_LIBTOOLLIBS@ ]
75 then
76 echo ${libdir}/@XML_LIBTOOLLIBS@
77 fi
78 ;;
79
80 --modules)
81 echo @WITH_MODULES@
82 ;;
83
84 --libs)
85 if [ "`uname`" = "Linux" ]
86 then
87 if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64 " ]
88 then
89 echo @XML_LIBS@ @MODULE_PLATFORM_LIBS@
90 else
91 echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@
92 fi
93 else
94 echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@ @WIN32_EXTRA_LIB ADD@
95 fi
96 ;;
97
98 *)
99 usage
100 exit 1
101 ;;
102 esac
103 shift
104 done
105
106 exit 0
OLDNEW
« no previous file with comments | « third_party/libxml/src/win32/VC10/config.h ('k') | third_party/libxml/src/xmlcatalog.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698