|
Karsten Hopp |
18efee |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
18efee |
Subject: Patch 7.3.1216
|
|
Karsten Hopp |
18efee |
Fcc: outbox
|
|
Karsten Hopp |
18efee |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
18efee |
Mime-Version: 1.0
|
|
Karsten Hopp |
18efee |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
18efee |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
18efee |
------------
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
Patch 7.3.1216
|
|
Karsten Hopp |
18efee |
Problem: Configure can't find Motif on Ubuntu.
|
|
Karsten Hopp |
18efee |
Solution: Search for libXm in /usr/lib/*-linux-gnu.
|
|
Karsten Hopp |
18efee |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
*** ../vim-7.3.1215/src/configure.in 2013-06-14 21:22:33.000000000 +0200
|
|
Karsten Hopp |
18efee |
--- src/configure.in 2013-06-17 20:15:13.000000000 +0200
|
|
Karsten Hopp |
18efee |
***************
|
|
Karsten Hopp |
18efee |
*** 2277,2284 ****
|
|
Karsten Hopp |
18efee |
dnl Remove "-L" from before $GUI_LIB_LOC if it's there
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
AC_MSG_CHECKING(for location of Motif GUI libs)
|
|
Karsten Hopp |
18efee |
! gui_libs="`echo $x_libraries|sed 's%/[^/][^/]*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
for try in $gui_libs; do
|
|
Karsten Hopp |
18efee |
for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
|
|
Karsten Hopp |
18efee |
--- 2277,2286 ----
|
|
Karsten Hopp |
18efee |
dnl Remove "-L" from before $GUI_LIB_LOC if it's there
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
+ dnl Ubuntu has libXm.so in /usr/lib/i386-linux-gnu and elsewhere. The
|
|
Karsten Hopp |
18efee |
+ dnl linker will figure out which one to use, we only check if one exists.
|
|
Karsten Hopp |
18efee |
AC_MSG_CHECKING(for location of Motif GUI libs)
|
|
Karsten Hopp |
18efee |
! gui_libs="`echo $x_libraries|sed 's%/[^/][^/]*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
for try in $gui_libs; do
|
|
Karsten Hopp |
18efee |
for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
|
|
Karsten Hopp |
18efee |
***************
|
|
Karsten Hopp |
18efee |
*** 2289,2295 ****
|
|
Karsten Hopp |
18efee |
done
|
|
Karsten Hopp |
18efee |
if test -n "$GUI_LIB_LOC"; then
|
|
Karsten Hopp |
18efee |
dnl Remove /usr/lib, it causes trouble on some systems
|
|
Karsten Hopp |
18efee |
! if test "$GUI_LIB_LOC" = /usr/lib; then
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
AC_MSG_RESULT(in default path)
|
|
Karsten Hopp |
18efee |
else
|
|
Karsten Hopp |
18efee |
--- 2291,2299 ----
|
|
Karsten Hopp |
18efee |
done
|
|
Karsten Hopp |
18efee |
if test -n "$GUI_LIB_LOC"; then
|
|
Karsten Hopp |
18efee |
dnl Remove /usr/lib, it causes trouble on some systems
|
|
Karsten Hopp |
18efee |
! if test "$GUI_LIB_LOC" = /usr/lib \
|
|
Karsten Hopp |
18efee |
! -o "$GUI_LIB_LOC" = /usr/lib/i386-linux-gnu \
|
|
Karsten Hopp |
18efee |
! -o "$GUI_LIB_LOC" = /usr/lib/x86_64-linux-gnu; then
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
AC_MSG_RESULT(in default path)
|
|
Karsten Hopp |
18efee |
else
|
|
Karsten Hopp |
18efee |
*** ../vim-7.3.1215/src/auto/configure 2013-06-14 21:22:33.000000000 +0200
|
|
Karsten Hopp |
18efee |
--- src/auto/configure 2013-06-17 20:15:17.000000000 +0200
|
|
Karsten Hopp |
18efee |
***************
|
|
Karsten Hopp |
18efee |
*** 8346,8354 ****
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Motif GUI libs" >&5
|
|
Karsten Hopp |
18efee |
$as_echo_n "checking for location of Motif GUI libs... " >&6; }
|
|
Karsten Hopp |
18efee |
! gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
for try in $gui_libs; do
|
|
Karsten Hopp |
18efee |
for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
|
|
Karsten Hopp |
18efee |
--- 8346,8354 ----
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Motif GUI libs" >&5
|
|
Karsten Hopp |
18efee |
$as_echo_n "checking for location of Motif GUI libs... " >&6; }
|
|
Karsten Hopp |
18efee |
! gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
for try in $gui_libs; do
|
|
Karsten Hopp |
18efee |
for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
|
|
Karsten Hopp |
18efee |
***************
|
|
Karsten Hopp |
18efee |
*** 8358,8364 ****
|
|
Karsten Hopp |
18efee |
done
|
|
Karsten Hopp |
18efee |
done
|
|
Karsten Hopp |
18efee |
if test -n "$GUI_LIB_LOC"; then
|
|
Karsten Hopp |
18efee |
! if test "$GUI_LIB_LOC" = /usr/lib; then
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: in default path" >&5
|
|
Karsten Hopp |
18efee |
$as_echo "in default path" >&6; }
|
|
Karsten Hopp |
18efee |
--- 8358,8366 ----
|
|
Karsten Hopp |
18efee |
done
|
|
Karsten Hopp |
18efee |
done
|
|
Karsten Hopp |
18efee |
if test -n "$GUI_LIB_LOC"; then
|
|
Karsten Hopp |
18efee |
! if test "$GUI_LIB_LOC" = /usr/lib \
|
|
Karsten Hopp |
18efee |
! -o "$GUI_LIB_LOC" = /usr/lib/i386-linux-gnu \
|
|
Karsten Hopp |
18efee |
! -o "$GUI_LIB_LOC" = /usr/lib/x86_64-linux-gnu; then
|
|
Karsten Hopp |
18efee |
GUI_LIB_LOC=
|
|
Karsten Hopp |
18efee |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: in default path" >&5
|
|
Karsten Hopp |
18efee |
$as_echo "in default path" >&6; }
|
|
Karsten Hopp |
18efee |
*** ../vim-7.3.1215/src/version.c 2013-06-17 19:26:29.000000000 +0200
|
|
Karsten Hopp |
18efee |
--- src/version.c 2013-06-17 20:06:50.000000000 +0200
|
|
Karsten Hopp |
18efee |
***************
|
|
Karsten Hopp |
18efee |
*** 730,731 ****
|
|
Karsten Hopp |
18efee |
--- 730,733 ----
|
|
Karsten Hopp |
18efee |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
18efee |
+ /**/
|
|
Karsten Hopp |
18efee |
+ 1216,
|
|
Karsten Hopp |
18efee |
/**/
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
--
|
|
Karsten Hopp |
18efee |
Married is a three ring circus:
|
|
Karsten Hopp |
18efee |
First comes the engagement ring.
|
|
Karsten Hopp |
18efee |
Then comes the wedding ring.
|
|
Karsten Hopp |
18efee |
Then comes the suffering.
|
|
Karsten Hopp |
18efee |
|
|
Karsten Hopp |
18efee |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
18efee |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
18efee |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
18efee |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|