use libSgm with wxMotif if available, this seems to be useful under IRIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0beb873533
commit
e08ed3082a
@ -3155,6 +3155,10 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
|
|||||||
AC_MSG_ERROR([can't link a simple motif program])
|
AC_MSG_ERROR([can't link a simple motif program])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl this seems to be needed under IRIX and shouldn't do any harm
|
||||||
|
dnl elsewhere
|
||||||
|
AC_CHECK_LIB(Sgm, [SgCreateList], [libsgm_link=" -lSgm"])
|
||||||
|
|
||||||
save_CFLAGS=$CFLAGS
|
save_CFLAGS=$CFLAGS
|
||||||
CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
|
CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
|
||||||
AC_MSG_CHECKING([for Motif 2])
|
AC_MSG_CHECKING([for Motif 2])
|
||||||
@ -3194,7 +3198,7 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
|
|||||||
])
|
])
|
||||||
CFLAGS=$save_CFLAGS
|
CFLAGS=$save_CFLAGS
|
||||||
|
|
||||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
|
GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
|
||||||
TOOLKIT=MOTIF
|
TOOLKIT=MOTIF
|
||||||
GUIDIST=MOTIF_DIST
|
GUIDIST=MOTIF_DIST
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user