| OLD | NEW |
| 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 exec_prefix_set=no | 5 exec_prefix_set=no |
| 6 includedir=${prefix}/include | 6 includedir=${prefix}/include |
| 7 libdir=${exec_prefix}/lib | 7 libdir=${exec_prefix}/lib |
| 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="-L${libdir} -lxslt -L/home/mmoss/src/chrome/src/chrome/Hammer/third_pa
rty/libxml/scons -L/usr/local/lib -lxml2 -lz -lm -lm" | 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 | 93 if test "$includedir" != "/usr/include"; then |
| 94 the_flags="$the_flags -I$includedir `/home/mmoss/src/chrome/src/chrome/Hamme
r/third_party/libxml/scons/xml2-config --cflags`" | 94 the_flags="$the_flags -I$includedir `/home/mmoss/src/chrome/src/sconsbuild/D
ebug/third_party/libxml/scons/xml2-config --cflags`" |
| 95 else | 95 else |
| 96 the_flags="$the_flags `/home/mmoss/src/chrome/src/chrome/Hammer/third_party/
libxml/scons/xml2-config --cflags`" | 96 the_flags="$the_flags `/home/mmoss/src/chrome/src/sconsbuild/Debug/third_par
ty/libxml/scons/xml2-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 |
| 103 if $libs; then | 103 if $libs; then |
| 104 all_flags="$all_flags $services $the_libs" | 104 all_flags="$all_flags $services $the_libs" |
| 105 fi | 105 fi |
| 106 | 106 |
| (...skipping 21 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 |