File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -8346,9 +8346,9 @@ $as_echo "no" >&6; }
83468346
83478347 GUI_LIB_LOC=" ` echo $GUI_LIB_LOC | sed ' s%-L%%g' ` "
83488348
8349- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for location of Motif GUI libs" >&5
8349+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for location of Motif GUI libs" >&5
83508350$as_echo_n " checking for location of Motif GUI libs... " >&6 ; }
8351- 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 "
8351+ 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 "
83528352 GUI_LIB_LOC=
83538353 for try in $gui_libs ; do
83548354 for libtry in " $try " /libXm.a " $try " /libXm.so* " $try " /libXm.sl " $try " /libXm.dylib; do
@@ -8358,7 +8358,9 @@ $as_echo_n "checking for location of Motif GUI libs... " >&6; }
83588358 done
83598359 done
83608360 if test -n " $GUI_LIB_LOC " ; then
8361- if test " $GUI_LIB_LOC " = /usr/lib; then
8361+ if test " $GUI_LIB_LOC " = /usr/lib \
8362+ -o " $GUI_LIB_LOC " = /usr/lib/i386-linux-gnu \
8363+ -o " $GUI_LIB_LOC " = /usr/lib/x86_64-linux-gnu; then
83628364 GUI_LIB_LOC=
83638365 { $as_echo " $as_me :${as_lineno-$LINENO } : result: in default path" >&5
83648366$as_echo " in default path" >&6 ; }
Original file line number Diff line number Diff line change @@ -2277,8 +2277,10 @@ if test -z "$SKIP_MOTIF"; then
22772277 dnl Remove "-L" from before $GUI_LIB_LOC if it's there
22782278 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
22792279
2280+ dnl Ubuntu has libXm.so in /usr/lib/i386-linux-gnu and elsewhere. The
2281+ dnl linker will figure out which one to use, we only check if one exists.
22802282 AC_MSG_CHECKING(for location of Motif GUI libs)
2281- 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"
2283+ 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"
22822284 GUI_LIB_LOC=
22832285 for try in $gui_libs; do
22842286 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
@@ -2289,7 +2291,9 @@ if test -z "$SKIP_MOTIF"; then
22892291 done
22902292 if test -n "$GUI_LIB_LOC"; then
22912293 dnl Remove /usr/lib, it causes trouble on some systems
2292- if test "$GUI_LIB_LOC" = /usr/lib; then
2294+ if test "$GUI_LIB_LOC" = /usr/lib \
2295+ -o "$GUI_LIB_LOC" = /usr/lib/i386-linux-gnu \
2296+ -o "$GUI_LIB_LOC" = /usr/lib/x86_64-linux-gnu; then
22932297 GUI_LIB_LOC=
22942298 AC_MSG_RESULT(in default path)
22952299 else
Original file line number Diff line number Diff line change @@ -728,6 +728,8 @@ static char *(features[]) =
728728
729729static int included_patches [] =
730730{ /* Add new patch number below this line */
731+ /**/
732+ 1216 ,
731733/**/
732734 1215 ,
733735/**/
You can’t perform that action at this time.
0 commit comments