summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-04-12 16:24:03 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-12 16:24:03 +0100
commit01967f5b1042b375b38098eceaf31671902c8dbb (patch)
treefb0f636a7310e4028e22049158b54b87cf96c86d /src/auto
parentac6cd31afcbdd08bfa92ca33f7d4ce5773ba4353 (diff)
patch 9.0.1445: openSUSE: configure doesn't find the Motif libraryv9.0.1445
Problem: openSUSE: configure doesn't find the Motif library. (Tony Mechelynck) Solution: Also search in /usr/lib64.
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 57e498fc6a..77d2f5e657 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -10216,9 +10216,9 @@ $as_echo "no" >&6; }
GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Motif GUI libs" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Motif GUI libs" >&5
$as_echo_n "checking for location of Motif GUI libs... " >&6; }
- 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"
+ gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` /usr/lib64 /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
GUI_LIB_LOC=
for try in $gui_libs; do
for libtry in "$try"/libXm.a "$try"/libXm.dll.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
@@ -10228,7 +10228,8 @@ $as_echo_n "checking for location of Motif GUI libs... " >&6; }
done
done
if test -n "$GUI_LIB_LOC"; then
- if test "$GUI_LIB_LOC" = /usr/lib \
+ if test "$GUI_LIB_LOC" = /usr/lib \
+ -o "$GUI_LIB_LOC" = /usr/lib64 \
-o "$GUI_LIB_LOC" = /usr/lib/i386-linux-gnu \
-o "$GUI_LIB_LOC" = /usr/lib/x86_64-linux-gnu; then
GUI_LIB_LOC=