OLD | NEW |
1 #! /bin/sh | 1 #! /bin/sh |
2 | 2 |
3 prefix=@prefix@ | 3 prefix=@prefix@ |
4 exec_prefix=@exec_prefix@ | 4 exec_prefix=@exec_prefix@ |
5 exec_prefix_set=no | 5 exec_prefix_set=no |
6 includedir=@includedir@ | 6 includedir=@includedir@ |
7 libdir=@libdir@ | 7 libdir=@libdir@ |
8 | 8 |
9 usage() | 9 usage() |
10 { | 10 { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 ;; | 82 ;; |
83 | 83 |
84 *) | 84 *) |
85 usage | 85 usage |
86 exit 1 | 86 exit 1 |
87 ;; | 87 ;; |
88 esac | 88 esac |
89 shift | 89 shift |
90 done | 90 done |
91 | 91 |
92 the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@" | 92 the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@" |
93 if test "$includedir" != "/usr/include"; then | 93 if test "$includedir" != "/usr/include"; then |
94 the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`" | 94 the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`" |
95 else | 95 else |
96 the_flags="$the_flags `@XML_CONFIG@ --cflags`" | 96 the_flags="$the_flags `@XML_CONFIG@ --cflags`" |
97 fi | 97 fi |
98 | 98 |
99 if $cflags; then | 99 if $cflags; then |
100 all_flags="$the_flags" | 100 all_flags="$the_flags" |
101 fi | 101 fi |
102 | 102 |
(...skipping 25 matching lines...) Expand all Loading... |
128 for i in $rev_libs; do | 128 for i in $rev_libs; do |
129 case " $ord_libs " in | 129 case " $ord_libs " in |
130 *\ $i\ *) ;; # already there | 130 *\ $i\ *) ;; # already there |
131 *) ord_libs="$i $ord_libs" ;; # add it to output in reverse order | 131 *) ord_libs="$i $ord_libs" ;; # add it to output in reverse order |
132 esac | 132 esac |
133 done | 133 done |
134 | 134 |
135 echo $other_flags $ord_libs | 135 echo $other_flags $ord_libs |
136 | 136 |
137 exit 0 | 137 exit 0 |
OLD | NEW |