6 includedir
=${prefix}/include
7 libdir
=${exec_prefix}/lib
12 Usage: xslt-config [OPTION]...
14 Known values for OPTION are:
16 --prefix=DIR change XSLT prefix [default $prefix]
17 --exec-prefix=DIR change XSLT executable prefix [default $exec_prefix]
18 --libs print library linking information
19 --cflags print pre-processor and compiler flags
20 --plugins print plugin directory
21 --help display this help and exit
22 --version output version information
28 if test $# -eq 0; then
35 while test $# -gt 0; do
37 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
44 if test $exec_prefix_set = no
; then
68 echo /usr
/local
/lib
/libxslt-plugins
92 the_libs
="-L${libdir} -lxslt -L/home/mmoss/src/chrome/src/sconsbuild/Debug/third_party/libxml/scons -L/usr/local/lib -lxml2 -lz -lm -lm"
93 if test "$includedir" != "/usr/include"; then
94 the_flags
="$the_flags -I$includedir `/home/mmoss/src/chrome/src/sconsbuild/Debug/third_party/libxml/scons/xml2-config --cflags`"
96 the_flags
="$the_flags `/home/mmoss/src/chrome/src/sconsbuild/Debug/third_party/libxml/scons/xml2-config --cflags`"
100 all_flags
="$the_flags"
104 all_flags
="$all_flags $services $the_libs"
107 if test -z "$all_flags" ||
test "x$all_flags" = "x "; then
111 # Straight out any possible duplicates, but be careful to
112 # get `-lfoo -lbar -lbaz' for `-lfoo -lbaz -lbar -lbaz'
115 for i
in $all_flags; do
117 # a library, save it for later, in reverse order
118 -l*) rev_libs
="$i $rev_libs" ;;
120 case " $other_flags " in
121 *\
$i\
*) ;; # already there
122 *) other_flags
="$other_flags $i" ;; # add it to output
128 for i
in $rev_libs; do
129 case " $ord_libs " in
130 *\
$i\
*) ;; # already there
131 *) ord_libs
="$i $ord_libs" ;; # add it to output in reverse order
135 echo $other_flags $ord_libs