Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > by-pkgid > 0b1e5f181a223221afd607cec2fc6f94 > files > 1

xca-0.6.4-4mdv2009.0.src.rpm

--- xca-0.6.4/configure	2007-08-13 11:55:50.000000000 -0700
+++ xca-0.6.4/configure.new	2007-12-27 15:41:29.000000000 -0800
@@ -105,11 +105,15 @@
   for dir in ${DIRS};  do
     for dbn in $@; do
       for suffix in so dylib obj a; do
-        for lib in lib out; do
+        for lib in lib lib64 out; do
           if test -r "${dir}/${lib}/lib${dbn}.${suffix}"; then
             add_lib "${dir}/${lib}" "${dbn}" "${suffix}"
 	    echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}"
             return 0
+          elif test -r "${dir}/${lib}/lib64${dbn}.${suffix}"; then
+            add_lib "${dir}/${lib}" "${dbn}" "${suffix}"
+	    echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}"
+            return 0
 	  fi
 	done
       done