1 --- grace-5.1.25/ac-tools/configure.in.orig 2020-11-16 22:05:32.498722746 +0100
2 +++ grace-5.1.25/ac-tools/configure.in 2020-11-22 07:51:32.951230746 +0100
7 -AC_SEARCH_LIBS(xdrstdio_create, nsl rpc xdr rpclib, XDR_LIB=$mdw_cv_lib_xdrstdio_create, XDR_LIB="NONE")
8 +AC_SEARCH_LIBS(xdrstdio_create, tirpc nsl rpc xdr rpclib, XDR_LIB=$ac_res, XDR_LIB="NONE")
10 if test "${XDR_LIB}" = "NONE"; then
12 AC_MSG_RESULT(--> No XDR library found; grconvert will not be built)
14 + if test "${XDR_LIB}" = "-ltirpc"; then
15 + CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc"
17 grconvert_dir="grconvert"
20 dnl **** Check for dlopen() interface
21 dnl (Linux, SunOS-[4,5], OSF, IRIX, AIX-4, UnixWare, ...)
22 -AC_SEARCH_LIBS(dlopen, dl, [DL_LIB=$mdw_cv_lib_dlopen; AC_DEFINE(HAVE_DLOPEN)], DL_LIB="NONE")
23 +AC_SEARCH_LIBS(dlopen, dl, [DL_LIB=$ac_res; AC_DEFINE(HAVE_DLOPEN)], DL_LIB="NONE")
25 if test "${DL_LIB}" != "NONE"; then
26 dnl **** Old implementations of dlopen() don't have RTLD_NOW