dnl GNOME_SUPPORT_CHECKS dnl Check for various support functions needed by the standard dnl Gnome libraries. Sets LIBOBJS, might define some macros. dnl This should only be used when building the Gnome libs; dnl Gnome clients should not need this macro. AC_DEFUN([GNOME_SUPPORT_CHECKS],[ # we need an `awk' to build `gnomesupport.h' AC_REQUIRE([AC_PROG_AWK]) # this should go away soon need_gnome_support=yes save_LIBOBJS="$LIBOBJS" LIBOBJS= AC_CHECK_FUNCS(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o") # for `scandir' AC_HEADER_DIRENT # copied from `configure.in' of `libiberty' vars="program_invocation_short_name program_invocation_name sys_errlist" for v in $vars; do AC_MSG_CHECKING([for $v]) AC_CACHE_VAL(gnome_cv_var_$v, [AC_TRY_LINK([int *p;], [extern int $v; p = &$v;], [eval "gnome_cv_var_$v=yes"], [eval "gnome_cv_var_$v=no"])]) if eval "test \"`echo '$gnome_cv_var_'$v`\" = yes"; then AC_MSG_RESULT(yes) n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` AC_DEFINE_UNQUOTED($n) else AC_MSG_RESULT(no) fi done AC_REPLACE_FUNCS(memmove mkstemp scandir strcasecmp strerror strndup strnlen) AC_REPLACE_FUNCS(strtok_r strtod strtol strtoul vasprintf vsnprintf) AC_CHECK_FUNCS(realpath,,LIBOBJS="$LIBOBJS canonicalize.o") # to include `error.c' error.c has some HAVE_* checks AC_CHECK_FUNCS(vprintf doprnt strerror_r) AM_FUNC_ERROR_AT_LINE # This is required if we declare setreuid () and setregid (). AC_TYPE_UID_T # see if we need to declare some functions. Solaris is notorious for # putting functions into the `libc' but not listing them in the headers AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h dirent.h) GCC_NEED_DECLARATIONS(gethostname setreuid setregid getpagesize) GCC_NEED_DECLARATION(scandir,[ #ifdef HAVE_DIRENT_H #include #endif ]) # Turn our LIBOBJS into libtool objects. This is gross, but it # requires changes to autoconf before it goes away. LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/.lo/g'` AC_SUBST(need_gnome_support) AC_SUBST(LTLIBOBJS) LIBOBJS="$save_LIBOBJS" AM_CONDITIONAL(BUILD_GNOME_SUPPORT, test "$need_gnome_support" = yes) ]) pm_and_yarn/devel/electron4/files/lodash.merge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/lang
Commit message (Expand)AuthorAgeFilesLines
* - Update to 0.7.2ashish2016-04-103-3/+4
* Update to the 20160403 development snapshot of GCC 6.gerald2016-04-102-3/+3
* - Update to 1.45sunpoet2016-04-092-3/+6
* Bump PORTREVISION.ganbold2016-04-091-1/+1
* Add configtest support for php-fpm rc script.ganbold2016-04-091-1/+12
* This port should compile on powerpc.cy2016-04-092-6/+0
* Previously this port used library files packaged in the distributioncy2016-04-093-2/+40
* lang/seed7: update to 05_20160330gahr2016-04-082-3/+3
* Missed these updates in r410093.cy2016-04-072-56/+8
* The port fails to extract due to different types of extract suffixes.cy2016-04-072-3/+3
* lang/rust: unbreak non-poudriere build after r412305jbeich2016-04-071-10/+10
* Update to 2.071.0.cy2016-04-072-7/+13
* - Switch to options helpersamdmi32016-04-051-9/+8
* Update Erlang 18 ports to version 18.3.1.olgeni2016-04-058-14/+42
* Now that the bug in llvm37 is fixed [1], clover can be enabled again onkwm2016-04-041-4/+1
* Update lang/elixir-mode.el to version 2.2.9.olgeni2016-04-042-3/+3
* Update to v5.23.9-43-gef66793.mat2016-04-043-6/+6
* Fix manual build of Perl modules when Perl has been cross compiled.mat2016-04-044-4/+28
* lang/php70: update 7.0.4 -> 7.0.5junovitch2016-04-032-3/+3
* lang/php56: update 5.6.19 -> 5.6.20junovitch2016-04-032-3/+3
* lang/php55: update 5.5.33 -> 5.5.34junovitch2016-04-032-3/+3
* lang/parrot: 7.9.0 -> 8.1.0pi2016-04-033-3/+24
* Update to the 20160329 snapshot of GCC 5. A fair number of fixesgerald2016-04-032-3/+3
* Update to the 20160327 development snapshot of GCC 6.gerald2016-04-032-3/+3
* lang/rust-nightly: better rebase r412407 against r412305jbeich2016-04-021-2/+0
* lang/rust: enslave lang/rust-nightlyjbeich2016-04-023-167/+34
* Add two patches from upstream to support llvm37. And switch to using llvm37kwm2016-04-024-3/+2204
* Update lang/gambit-c to version 4.8.5.olgeni2016-04-023-4/+4
* Unbreak fetchantoine2016-04-022-4/+1
* Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.mat2016-04-01190-642/+642
* Fixup some whitespace at the beginning of lines problems.mat2016-04-012-2/+2
* Update lang/elixir to version 1.2.4.olgeni2016-04-013-6/+15
* lang/rust: apply minor stylejbeich2016-04-012-18/+10
* lang/rust: unblock DragonFly buildjbeich2016-04-012-0/+6
* lang/rust-nightly: Update to 1.9.0.20160318dumbbell2016-03-303-51/+99
* Make sure that ODBC is actually built in lang/erlang-runtime16olgeni2016-03-292-0/+10
* Upgrade lang/erlang-runtime18 to version 18.3.olgeni2016-03-292-29/+15
* Upgrade Erlang 18 ports to version 18.3.olgeni2016-03-296-52/+32
* Exclude libclc (and thus OpenCL) on 10.1 i386.kwm2016-03-291-1/+4
* - Update to 0.23.5amdmi32016-03-292-3/+8
* - Convert to USES=metaportamdmi32016-03-292-18/+2
* Update to v5.23.9-30-g4caf7d8.mat2016-03-283-7/+7
* Fix staging error on systems where security/sudo is presentriggs2016-03-281-0/+28
* - Update security/gnutls to 3.4.10.tijl2016-03-271-5/+3
* Re-enable build with ports LLVM by non-default OPTIONriggs2016-03-251-6/+8
* Fix packaging on armv6 by enabling profiling libraries.madpilot2016-03-252-8/+12
* lang/pypy: Restore build on DF (requires same ucontext fix as FBSD)marino2016-03-241-1/+1
* lang/expect: fix configuration phase fs violationmarino2016-03-221-0/+1
* Update to the 20160320 development snapshot of GCC 6.gerald2016-03-222-3/+3
* Merge cloudabi-clang with cloudabi-toolchain and install more useful tools.ed2016-03-223-58/+0
* Extend the Binutils ports to allow deletion of specific tools.ed2016-03-221-1/+14
* - Update to 1.04sunpoet2016-03-222-3/+3
* Update to v5.23.9-7-gd1fa969.mat2016-03-216-10/+12
* lang/pypy: update to 5.0.1.dbn2016-03-213-5/+5
* lang/gcc6-aux: Fix build on FreeBSD i386marino2016-03-201-0/+9
* Update to the 20160315 snapshot of GCC 5.gerald2016-03-202-3/+3
* lang/pypy: unbreak build on amd64.dbn2016-03-201-4/+9
* lang/pypy: fix build on i386.dbn2016-03-201-0/+10
* lang/expect: update to 5.45.3, bump PORTREVISION on dependent portsgahr2016-03-195-90/+531
* lang/gcc-aux: deprecate, set expiration for 15 May 2016marino2016-03-161-0/+3
* Rebase gnatdroid to gcc6-aux (6.0), add support for MARSHMELLOWmarino2016-03-1610-50/+56
* lang/gcc6-aux: Add forgotten patch (gnatdroid support)marino2016-03-161-0/+19
* lang/gcc6-aux: Upgrade version 20160306 => 20160313marino2016-03-16