810 |
# Martyn Johnson says this is needed for Ultrix, if the X |
# Martyn Johnson says this is needed for Ultrix, if the X |
811 |
# libraries were built with DECnet support. And Karl Berry says |
# libraries were built with DECnet support. And Karl Berry says |
812 |
# the Alpha needs dnet_stub (dnet does not exist). |
# the Alpha needs dnet_stub (dnet does not exist). |
813 |
AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"]) |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
814 |
|
AC_TRY_LINK_FUNC(XOpenDisplay, , |
815 |
|
[AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"]) |
816 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
817 |
AC_CHECK_LIB(dnet_stub, dnet_ntoa, |
AC_CHECK_LIB(dnet_stub, dnet_ntoa, |
818 |
[X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"]) |
[X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"]) |
819 |
fi |
fi]) |
820 |
|
LIBS="$ac_xsave_LIBS" |
821 |
|
|
822 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
823 |
# to get the SysV transport functions. |
# to get the SysV transport functions. |