Mercurial > vim
comparison src/auto/configure @ 28321:58ecd574b132 v8.2.4686
patch 8.2.4686: configure doesn't find the Motif library with Cygwin
Commit: https://github.com/vim/vim/commit/b471690fad5f40f74aca488b13669641fb2b9de1
Author: Kelvin Lee <kiyolee@gmail.com>
Date: Mon Apr 4 17:20:01 2022 +0100
patch 8.2.4686: configure doesn't find the Motif library with Cygwin
Problem: Configure doesn't find the Motif library with Cygwin.
Solution: Check for libXm.dll.a. (Kelvin Lee, closes https://github.com/vim/vim/issues/10077)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Apr 2022 18:30:03 +0200 |
parents | 6312a35b254a |
children | b90bca860b5a |
comparison
equal
deleted
inserted
replaced
28320:e96740baf1b4 | 28321:58ecd574b132 |
---|---|
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10211 $as_echo "no" >&6; } | 10211 $as_echo "no" >&6; } |
10212 | 10212 |
10213 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" | 10213 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" |
10214 | 10214 |
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Motif GUI libs" >&5 | 10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Motif GUI libs" >&5 |
10216 $as_echo_n "checking for location of Motif GUI libs... " >&6; } | 10216 $as_echo_n "checking for location of Motif GUI libs... " >&6; } |
10217 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" | 10217 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" |
10218 GUI_LIB_LOC= | 10218 GUI_LIB_LOC= |
10219 for try in $gui_libs; do | 10219 for try in $gui_libs; do |
10220 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do | 10220 for libtry in "$try"/libXm.a "$try"/libXm.dll.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do |
10221 if test -f "$libtry"; then | 10221 if test -f "$libtry"; then |
10222 GUI_LIB_LOC=$try | 10222 GUI_LIB_LOC=$try |
10223 fi | 10223 fi |
10224 done | 10224 done |
10225 done | 10225 done |