Check-in Number:
|
551 | |
Date: |
2001-Jul-20 13:05:54 (local)
2001-Jul-20 11:05:54 (UTC) |
User: | simons |
Branch: | |
Comment: |
Check whether libnsl has to be linked for the xdr_xxx() routines. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/xds/configure.ac 1.2 -> 1.3
--- configure.ac 2001/07/20 10:56:01 1.2
+++ configure.ac 2001/07/20 11:05:54 1.3
@@ -1,6 +1,6 @@
dnl configure.in -- Process this file with autoconf to produce a configure script.
-AC_INIT(libxds, [$Revision: 1.2 $])
+AC_INIT(libxds, [$Revision: 1.3 $])
dnl Get rid of the lousy -g and -O defaults in CFLAGS.
dnl
@@ -68,6 +68,11 @@
)
AC_SUBST([xds_int64_t])
+dnl Find the library containing the xdr_xxx() functions.
+dnl
+AC_CHECK_LIB(nsl, xdrmem_create, [xdr_lib=-lnsl])
+AC_SUBST([xdr_lib])
+
dnl Write results.
dnl
AC_OUTPUT(xds.h Makefile regression-tests/Makefile)
|
|