summaryrefslogtreecommitdiff
blob: ec1564a34d3072d6cef0495ac2e88f336c3576d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: boost.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/boost.m4,v
retrieving revision 1.74
diff -u -r1.74 boost.m4
--- macros/boost.m4	16 Jan 2008 00:42:55 -0000	1.74
+++ macros/boost.m4	19 Jan 2008 18:35:14 -0000
@@ -127,9 +127,9 @@
         missing_libs=""
       fi
       for j in ${boost_libs}; do
-        dirs="`ls -dr $i/libboost_${j}*.${shlibext} $i/libboost_${j}*.a 2>/dev/null`"
+        dirs="`ls -dr $i/libboost_${j}*.so 2>/dev/null`"
         if test -n "${dirs}"; then
-          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
+          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.so::"`"
           if test x$dirname = x; then
             dirname="`echo ${dirs} | sed -e 's:/libboost.*$::'`"
            if test x"${dirname}" != "x/usr/lib"; then
@@ -143,9 +143,9 @@
       done
     done
     for j in ${extra_boost_libs}; do
-      dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} ${dirname}/libboost_${j}*.a 2>/dev/null`"
+      dirs="`ls -dr ${dirname}/libboost_${j}*.so 2>/dev/null`"
       if test -n "${dirs}"; then
-          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
+          libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.so::"`"
         ac_cv_path_boost_extra_lib="${ac_cv_path_boost_extra_lib} -l${libname}"
       else
         extra_missing_libs="${extra_missing_libs} $j"