dnl GNOME_VFS_CHECKS dnl Check for various functions needed by libvfs. dnl This has various effects: dnl Sets GNOME_VFS_LIBS to libraries required dnl Sets termnet to true or false depending on whether it is required. dnl If yes, defines USE_TERMNET. dnl Sets vfs_flags to "pretty" list of vfs implementations we include. dnl Sets shell variable use_vfs to yes (default, --with-vfs) or dnl "no" (--without-vfs). dnl Calls AC_SUBST(mcserv), which is either empty or "mcserv". dnl Private define AC_DEFUN([GNOME_WITH_VFS],[ dnl FIXME: network checks should probably be in their own macro. AC_CHECK_LIB(nsl, t_accept) AC_CHECK_LIB(socket, socket) have_socket=no AC_CHECK_FUNCS(socket, have_socket=yes) if test $have_socket = no; then # socket is not in the default libraries. See if it's in some other. for lib in bsd socket inet; do AC_CHECK_LIB($lib, socket, [ LIBS="$LIBS -l$lib" have_socket=yes AC_DEFINE(HAVE_SOCKET) break]) done fi have_gethostbyname=no AC_CHECK_FUNC(gethostbyname, have_gethostbyname=yes) if test $have_gethostbyname = no; then # gethostbyname is not in the default libraries. See if it's in some other. for lib in bsd socket inet; do AC_CHECK_LIB($lib, gethostbyname, [LIBS="$LIBS -l$lib"; have_gethostbyname=yes; break]) done fi vfs_flags="tarfs" use_net_code=false if test $have_socket = yes; then AC_STRUCT_LINGER AC_CHECK_FUNCS(pmap_set, , [ AC_CHECK_LIB(rpc, pmap_set, [ LIBS="-lrpc $LIBS" AC_DEFINE(HAVE_PMAP_SET) ])]) AC_CHECK_FUNCS(pmap_getport pmap_getmaps rresvport) dnl add for source routing support setsockopt AC_CHECK_HEADERS(rpc/pmap_clnt.h) vfs_flags="$vfs_flags, mcfs, ftpfs, fish" use_net_code=true fi dnl dnl Samba support dnl smbfs="" SAMBAFILES="" AC_ARG_WITH(samba, [--with-samba Support smb virtual file system],[ if test "x$withval != xno"; then AC_DEFINE(WITH_SMBFS) vfs_flags="$vfs_flags, smbfs" smbfs="smbfs.o" SAMBAFILES="\$(SAMBAFILES)" fi ]) AC_SUBST(smbfs) AC_SUBST(SAMBAFILES) dnl dnl The termnet support dnl termnet=false AC_ARG_WITH(termnet, [--with-termnet If you want a termified net support],[ if test x$withval = xyes; then AC_DEFINE(USE_TERMNET) termnet=true fi ]) TERMNET="" AC_DEFINE(USE_VFS) if $use_net_code; then AC_DEFINE(USE_NETCODE) fi mcserv= if test $have_socket = yes; then mcserv="mcserv" if $termnet; then TERMNET="-ltermnet" fi fi AC_SUBST(TERMNET) AC_SUBST(mcserv) dnl FIXME: dnl GNOME_VFS_LIBS= ]) AC_DEFUN([GNOME_VFS_CHECKS],[ use_vfs=yes AC_ARG_WITH(vfs, [--with-vfs Compile with the VFS code], use_vfs=$withval ) case $use_vfs in yes) GNOME_WITH_VFS;; no) use_vfs=no;; *) use_vfs=no;; dnl Should we issue a warning? esac ]) /devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/www/cppcms
Commit message (Expand)AuthorAgeFilesLines
* Provide more descriptive error messages for ports failing on powerpc64.linimon2017-04-301-2/+2
* - Fix shebangsmiwi2017-04-241-2/+3
* Remove all USE_OPENSSL occurrences.mat2017-03-151-2/+1
* Remove BROKEN_FreeBSD_9sunpoet2017-01-011-2/+0
* devel/icu: update to 58.1jbeich2016-11-201-1/+1
* - Update devel/icu to 57.1.tijl2016-09-241-1/+1
* Bump PORTREVISION for the icu revert.mat2016-07-071-1/+1
* devel/icu: bump PORTREVISION on dependent portsgahr2016-07-061-1/+1
* - Fix trailing whitespace in pkg-descrs, categories [p-x]*amdmi32016-05-191-2/+2
* many ports: mark broken on powerpc64swills2016-04-221-0/+2
* Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-011-3/+3
* - Mark BROKEN on 9.x:amdmi32015-06-241-0/+2
* - Add empty directory to plistamdmi32015-05-251-0/+1
* Update icu to 55.1bapt2015-04-241-1/+1
* Use python 2 meta port.kevlo2015-04-141-1/+1
* - Add missing dependency on USES=pythonkevlo2015-04-111-4/+4