ALT Linux repositórios
Group :: Editores
RPM: jed
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: jed-multilib.patch
Download
Download
--- jed-0.99-18/autoconf/aclocal.m4.moo 2006-06-05 17:10:49.000000000 -0400
+++ jed-0.99-18/autoconf/aclocal.m4 2006-06-05 17:11:45.000000000 -0400
@@ -195,7 +195,7 @@
JD_Search_Dirs="$JD_Search_Dirs \
$jd_prefix_incdir,$jd_prefix_libdir \
- $HOME/include,$HOME/lib"
+ $HOME/include,$HOME/lib64"
if test -n "$ARCH"
then
@@ -208,10 +208,10 @@
# version.
JD_Search_Dirs="$JD_Search_Dirs \
- /usr/local/include,/usr/local/lib \
- /usr/include,/usr/lib \
- /usr/include/$1,/usr/lib \
- /usr/include/$1,/usr/lib/$1"
+ /usr/local/include,/usr/local/lib64 \
+ /usr/include,/usr/lib64 \
+ /usr/include/$1,/usr/lib64 \
+ /usr/include/$1,/usr/lib64/$1"
echo looking for the JD_UP_NAME library
@@ -267,7 +267,7 @@
JD_UP_NAME[]_INC=""
fi
-if test "[$]JD_UP_NAME[]_LIB" = "-L/usr/lib"
+if test "[$]JD_UP_NAME[]_LIB" = "-L/usr/lib64"
then
JD_UP_NAME[]_LIB=""
RPATH_[]JD_UP_NAME=""
@@ -707,7 +707,7 @@
jd_with_$1_library=""
AC_ARG_WITH($1,
- [ --with-$1=DIR Use DIR/lib and DIR/include for $1],
+ [ --with-$1=DIR Use DIR/lib64 and DIR/include for $1],
[jd_with_$1_arg=$withval], [jd_with_$1_arg=unspecified])
case "x$jd_with_$1_arg" in
@@ -723,7 +723,7 @@
;;
*)
jd_$1_include_dir="$jd_with_$1_arg"/include
- jd_$1_library_dir="$jd_with_$1_arg"/lib
+ jd_$1_library_dir="$jd_with_$1_arg"/lib64
;;
esac
@@ -815,15 +815,15 @@
then
lib_library_dirs="\
$jd_prefix_libdir \
- /usr/local/lib \
- /usr/local/lib/$1 \
- /usr/local/$1/lib \
- /usr/lib \
- /usr/lib/$1 \
- /usr/$1/lib \
- /opt/lib \
- /opt/lib/$1 \
- /opt/$1/lib"
+ /usr/local/lib64 \
+ /usr/local/lib64/$1 \
+ /usr/local/$1/lib64 \
+ /usr/lib64 \
+ /usr/lib64/$1 \
+ /usr/$1/lib64 \
+ /opt/lib64 \
+ /opt/lib64/$1 \
+ /opt/$1/lib64"
for X in $lib_library_dirs
do
@@ -843,10 +843,10 @@
if test "$jd_with_$1_library" = "yes"
then
AC_MSG_RESULT(yes: $jd_$1_library_dir and $jd_$1_include_dir)
- dnl# Avoid using /usr/lib and /usr/include because of problems with
+ dnl# Avoid using /usr/lib64 and /usr/include because of problems with
dnl# gcc on some solaris systems.
JD_ARG1[]_LIB=-L$jd_$1_library_dir
- if test "X$jd_$1_library_dir" = "X/usr/lib"
+ if test "X$jd_$1_library_dir" = "X/usr/lib64"
then
JD_ARG1[]_LIB=""
else