]> git.pld-linux.org Git - packages/grace.git/blob - grace-ac+tirpc.patch
- added ac+tirpc patch (autoconf fix + tirpc support)
[packages/grace.git] / grace-ac+tirpc.patch
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
3 @@ -515,18 +515,21 @@
4  fi
5  
6  dnl **** Check for XDR
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")
9  
10  if test "${XDR_LIB}" = "NONE"; then
11    XDR_LIB=
12    AC_MSG_RESULT(--> No XDR library found; grconvert will not be built)
13  else
14 +  if test "${XDR_LIB}" = "-ltirpc"; then
15 +    CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc"
16 +  fi
17    grconvert_dir="grconvert"
18  fi
19  
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")
24  
25  if test "${DL_LIB}" != "NONE"; then
26    dnl **** Old implementations of dlopen() don't have RTLD_NOW
This page took 0.111457 seconds and 3 git commands to generate.