1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Also search for -lgpfs which is available as GPL in GPFS PTF8

This commit is contained in:
Volker Lendecke 2008-12-10 18:17:59 +01:00
parent b37684ffce
commit 3c93c96fd0

View File

@ -1052,6 +1052,20 @@ if test x"$samba_cv_HAVE_GPFS" = x"yes"; then
fi
LIBS="$save_LIBS"
printf "%s" "checking for GPFS libs (with 3.2.1 PTF8 available as GPL)... "
save_LIBS="$LIBS"
LIBS="$LIBS -lgpfs"
AC_TRY_LINK([#include <gpfs.h>],
[gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)],
samba_cv_HAVE_GPFS=yes,
samba_cv_HAVE_GPFS=no)
echo $samba_cv_HAVE_GPFS
if test x"$samba_cv_HAVE_GPFS" = x"yes"; then
AC_DEFINE(HAVE_GPFS,1,[Whether GPFS GPL libs are available])
default_shared_modules="$default_shared_modules vfs_gpfs"
fi
LIBS="$save_LIBS"
#############################################
# check if building on Isilon OneFS
printf "%s" "checking for Isilon OneFS... "