tags 344744 +patch
thanks

With the attached patch 'gnuradio-core' can be compiled on amd64.

The patch changes the configure script so that 'lib64' is not
used if the /lib64 directory is a symlink. 

This will prevent the use of lib64 on Debian (and Gentoo) but not on 
other distributions where /lib64 is a real directory instead of a symlink.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnuradio-core-2.6/config/gr_x86_64.m4 
./config/gr_x86_64.m4
--- ../tmp-orig/gnuradio-core-2.6/config/gr_x86_64.m4   2005-11-20 
06:06:28.000000000 +0000
+++ ./config/gr_x86_64.m4       2005-12-28 14:12:15.000000000 +0000
@@ -29,7 +29,7 @@
   if test "$host_cpu" = "x86_64"; then
     AC_MSG_CHECKING([libdir for lib64 suffix])
     t=${libdir##*/lib}
-    if test "$t" != 64; then
+    if test "$t" != 64 && ! test -L /lib64; then
       libdir=${libdir}64
       AC_MSG_RESULT([no. Setting libdir to $libdir])
     else
diff -urN ../tmp-orig/gnuradio-core-2.6/configure ./configure
--- ../tmp-orig/gnuradio-core-2.6/configure     2005-12-09 19:47:42.000000000 
+0000
+++ ./configure 2005-12-28 14:12:31.000000000 +0000
@@ -2058,7 +2058,7 @@
     echo "$as_me:$LINENO: checking libdir for lib64 suffix" >&5
 echo $ECHO_N "checking libdir for lib64 suffix... $ECHO_C" >&6
     t=${libdir##*/lib}
-    if test "$t" != 64; then
+    if test "$t" != 64 && ! test -L /lib64; then
       libdir=${libdir}64
       echo "$as_me:$LINENO: result: no. Setting libdir to $libdir" >&5
 echo "${ECHO_T}no. Setting libdir to $libdir" >&6


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to