1 dnl ######################################################################
2 dnl check if need to turn on, off, or leave alone the NFS "noconn" option
3 AC_DEFUN([AMU_CHECK_NFS_SOCKET_CONNECTION],
5 AC_CACHE_CHECK(if to turn on/off noconn option,
6 ac_cv_nfs_socket_connection,
8 # set default to no-change
9 ac_cv_nfs_socket_connection=none
10 # select the correct style
13 ac_cv_nfs_socket_connection=noconn ;;
14 openbsd* | freebsd* | freebsdelf* )
15 ac_cv_nfs_socket_connection=conn ;;
19 case "$ac_cv_nfs_socket_connection" in
21 AC_DEFINE(USE_UNCONNECTED_NFS_SOCKETS)
24 AC_DEFINE(USE_CONNECTED_NFS_SOCKETS)
28 dnl ======================================================================