aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m474
1 files changed, 0 insertions, 74 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
deleted file mode 100644
index afead5f833..0000000000
--- a/macros/gnome-support.m4
+++ /dev/null
@@ -1,74 +0,0 @@
-dnl GNOME_SUPPORT_CHECKS
-dnl Check for various support functions needed by the standard
-dnl Gnome libraries. Sets LIBOBJS, might define some macros,
-dnl and will set the need_gnome_support shell variable to "yes"
-dnl or "no". Also sets up the Automake BUILD_GNOME_SUPPORT
-dnl conditional. This should only be used when building the Gnome
-dnl libs; Gnome clients should not need this macro.
-AC_DEFUN([GNOME_SUPPORT_CHECKS],[
- need_gnome_support=no
- save_LIBOBJS="$LIBOBJS"
- LIBOBJS=
-
- AC_CHECK_FUNCS(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o")
-
- # We check for argp_domain because we use it, and it appears only in
- # very recent versions of the argp library.
- AC_CACHE_CHECK([for working argp code], gnome_cv_argp, [
- AC_TRY_COMPILE([#include <argp.h>], [
- struct argp foo;
- extern char *foo2;
- foo.argp_domain = foo2;],
- gnome_cv_argp=yes,
- gnome_cv_argp=no)
-
- # It is possible to have the argp headers installed but not have
- # the code in the C library. At least, there have been reports of
- # this happening. So we check for this case explicitly.
- if test "$gnome_cv_argp" = yes; then
- AC_CHECK_FUNC(argp_parse,,gnome_cv_argp=no)
- fi])
-
- if test "$gnome_cv_argp" = no; then
- LIBOBJS="$LIBOBJS argp-ba.o argp-eexst.o argp-fmtstream.o argp-fs-xinl.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o argp-xinl.o"
- fi
-
- # This header enables some optimizations inside argp.
- AC_CHECK_HEADERS(linewrap.h)
- # for `scandir'
- AC_HEADER_DIRENT
-
- AC_CACHE_CHECK([for program_invocation_short_name], gnome_cv_short_name, [
- AC_TRY_LINK([#include <errno.h>],[
- char *foo = program_invocation_short_name],
- gnome_cv_short_name=yes, gnome_cv_short_name=no)])
- if test "$gnome_cv_short_name" = yes; then
- AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME)
- fi
-
- AC_CACHE_CHECK([for program_invocation_name], gnome_cv_invocation_name, [
- AC_TRY_LINK([#include <errno.h>],[
- char *foo = program_invocation_name],
- gnome_cv_invocation_name=yes, gnome_cv_invocation_name=no)])
- if test "$gnome_cv_invocation_name" = yes; then
- AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME)
- fi
-
- AC_CHECK_FUNCS(vsnprintf,,[
- AC_CHECK_FUNCS(__vsnprintf,
- LIBOBJS="$LIBOBJS easy-vsnprintf.o",
- LIBOBJS="$LIBOBJS vsnprintf.o")])
-
- AC_REPLACE_FUNCS(scandir strtok_r strcasecmp strndup strnlen vasprintf)
-
- if test "$LIBOBJS" != ""; then
- need_gnome_support=yes
- fi
- # 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(LTLIBOBJS)
-
- LIBOBJS="$save_LIBOBJS"
- AM_CONDITIONAL(BUILD_GNOME_SUPPORT, test "$need_gnome_support" = yes)
-])
4/cgit/cgit.cgi/freebsd-ports-gnome/commit/lang?h=mate-1.20&id=41262905733b3992a7779bd14c6a651a4396b330'>Update -devel to Python-2.4b2.perky2004-11-0721-42/+98 * Catch the 'cklatest' target up to changes on the MASTER_SITES.obrien2004-11-0612-52/+132 * Autogenerate the libexec portion of PLIST.obrien2004-11-0620-210/+80 * Don't depend on XLIB in case a build without X is requestedarved2004-11-052-2/+4 * Update to 0.58arved2004-11-053-4/+26 * We use emacs during the build to byte-compile the libraries.dd2004-11-041-0/+1 * Update to the 20041103 snapshot of GCC 3.3.5.gerald2004-11-042-13/+13 * Update to 0.9d.041103vs2004-11-042-4/+8 * Fix the build on 5.x. The 80387 status word from the last exceptionjdp2004-11-031-1/+1 * o Preliminary update to 8.1.022:marius2004-11-0311-733/+218 * - Update to 7.6.24pav2004-11-032-4/+4 * - Fix configure error from bad tarballsem2004-11-024-8/+35 * If -O[2-9] or -Os is in CFLAGS, override it with plain -O. The ezm3jdp2004-11-021-0/+5 * - allow to set TCLBASEdinoex2004-11-013-3/+9 * Complete the repo-copy of gcc34 to gcc40 and update to the 20041024gerald2004-10-311-0/+1 * Complete the repo-copy of gcc34 to gcc40 and update to the 20041024gerald2004-10-3150-620/+630 * Update to the 20041029 snapshot of GCC 3.4.3.gerald2004-10-314-26/+26 * Add tuareg-mode, an Emacs major mode for editing Caml codedd2004-10-284-0/+65 * - optimize reinplace to handle symlinked /usr/portsdinoex2004-10-283-10/+7 * - Mark only for i386, does not build on 64-bit archspav2004-10-281-0/+3 * - Fix bad source path in tclConfig.sh tkConfig.shdinoex2004-10-283-6/+12 * Remove the still-born GCC 3.5 port. There will be no FSF GCC version 3.5,obrien2004-10-286-260/+0 * Fix build on pointyhat.krion2004-10-271-0/+1 * Update to 0.9.7.1 and fix build on amd64krion2004-10-273-4/+22 * Update to 0.8.16.des2004-10-263-34/+291 * Update to the 20041015 snapshot of GCC 3.4.3.gerald2004-10-2224-168/+168 * - Reset maintainership to ports@FreeBSD.orgsergei2004-10-215-5/+5 * Add portugese/php_doc to SLAVEDIRSedwin2004-10-211-1/+1 * Update checksum. Tarball has been rerolled just containing an update to the A...obraun2004-10-211-2/+2 * Fix fetch breakage.jkoshy2004-10-201-3/+4 * - Update to 0.9d-041019pav2004-10-202-3/+3 * Update to the 20041013 snapshot.gerald2004-10-202-13/+13 * Upgrade to v208.jkoshy2004-10-203-195/+863 * Upgrade ghc to 6.2.2, remove BROKEN, make portlint a little bit happier.obraun2004-10-175-38/+34 * Fix the build on -stable. Older gcc doesn't like having the ALLOCATE mixed inanholt2004-10-171-0/+22 * Update to 7.1.042.netchild2004-10-172-3/+3 * Add p5-List-MoreUtil, an assorted collection of list/array utilitytobez2004-10-155-0/+60 * Add asn1c 0.9.4,krion2004-10-146-0/+138 * - drop maintainershipdinoex2004-10-141-1/+1 * Update to 2.10.tobez2004-10-132-4/+4 * - update to 0.84clsung2004-10-122-3/+3 * Drop maintainership to ports@FreeBSD.orgkrion2004-10-127-7/+7 * Drop maintainership.olgeni2004-10-122-2/+2 * Add "parallel" category.olgeni2004-10-122-2/+2 * Unbreak (disable HIPE build).olgeni2004-10-122-10/+2 * Sync with the latest version of the PHP documents.edwin2004-10-122-15/+15 * Update to version 8.1.5.linimon2004-10-122-3/+3 * - run ldconfig on the GNUstep dir onlydinoex2004-10-121-0/+5 * - cleanupdinoex2004-10-121-1/+1 * - Update to 20040924pav2004-10-124-42/+11 * Upgrade to 0.99.thierry2004-10-124-19/+32 * Update to 5.0.2 release:ale2004-10-128-18/+94 * Update to 4.3.9 release:ale2004-10-124-15/+46 * This port includes a 5.x binary that links to libm.so.2, which is partkris2004-10-111-5/+2 * Now builds on 5.xkris2004-09-291-4/+0 * ruby18_static builds on amd64kris2004-09-281-1/+1 * Now builds on amd64kris2004-09-281-2/+2 * BROKEN on 5.x: Broken pkg-plistkris2004-09-261-0/+4 * BROKEN on 5.x: Segfault during buildkris2004-09-261-0/+4 * BROKEN: Does not buildkris2004-09-261-0/+2 * BROKEN on 5.x: Coredump during buildkris2004-09-261-1/+7 * - Fix build on 5.3pav2004-09-251-0/+2 * - install manpages only if WITH_TCL80_MAN is definedleeym2004-09-221-2/+8 * - unbreak this port on 5.xleeym2004-09-226-20/+126 * BROKEN on 5.x: Does not compilekris2004-09-191-1/+7 * BROKEN on 5.x: Does not compilekris2004-09-191-0/+4 * BROKEN on 5.x: Does not compilekris2004-09-195-1/+23 * BROKEN on 5.x: Broken by changes to make(1)kris2004-09-191-1/+7 * Fix build on sparc64.marcus2004-09-131-2/+11 * - new option GNUSTEP_WITH_GCC34dinoex2004-09-101-15/+18 * Remove a false dependency if pgrep/pkill are included in the base system.thierry2004-09-071-1/+4 * Update to the 20040827 snapshot of GCC 3.4.2.gerald2004-09-0424-156/+156 * Fix location of pkgconfig-datavs2004-09-0424-24/+144 * Add distinfo for Python-2.4a3perky2004-09-043-12/+6 * Update to 2.4a3perky2004-09-0442-1120/+301 * Update to version 4.5.2krion2004-09-035-3/+67 * Update to version 19a.linimon2004-09-035-19/+28 * Update to the 20040901 snapshot of GCC 3.3.5.gerald2004-09-022-13/+13 * Update TenDRA to 4.20040902. Major changes are support for the Alphastefanf2004-09-026-880/+780 * Complete the repo-copy of gcc34 to gcc35 and update to the 20040829gerald2004-09-025-43/+44 * List gcov command.trevor2004-09-011-0/+1 * Add a missing patch needed with gcc version 3.4.2.thierry2004-08-301-0/+14 * Upgrade to v110.48.jkoshy2004-08-2915-467/+549 * - Don't hardcode shlib versionspav2004-08-292-1/+2 * Chase libaspell to aspell.16.thierry2004-08-293-3/+3 * Upgrade to 0.98a.thierry2004-08-273-2641/+5 * Work around stricter CPP in GCC >= 3.4.1.obraun2004-08-261-0/+11 * Update to 1.66krion2004-08-242-3/+3 * Slightly harder to deal with than ports/70328, but tweak tcl80 and tk80ade2004-08-241-0/+3 * Update to 5.0.1 release:ale2004-08-2310-48/+38 * Fix build with gcc-3.4krion2004-08-2312-0/+366 * Update to 2.41 and take maintainership. I hang out with the authors a lot, andanholt2004-08-223-4/+33 * Add mlton 20040227, an optimizing Standard ML compiler.thierry2004-08-215-0/+560 * - Introduce MASTER_SITE_OSSPpav2004-08-212-6/+4 * - Update to 5.42.1pav2004-08-212-6/+5 * Fix package build on 4-STABLE.perky2004-08-213-3/+3 * Update to 3.08.1krion2004-08-213-7/+14 * Fix build with gcc-3.4krion2004-08-211-0/+6 * - Add support for FreeBSD 6.perky2004-08-214-12/+549 * - Add support for FreeBSD 6.perky2004-08-2135-98/+4669 * - Add support for FreeBSD 6.perky2004-08-2115-48/+1656 * - Update to 1.63pav2004-08-212-4/+5 * Reset bouncing maintainer address (permanent error).linimon2004-08-201-1/+1 * Upgrade to 7.6.13.vanilla2004-08-202-3/+3 * Fix more hardcoding of imake-4 port directory to use X_IMAKE_PORT.anholt2004-08-191-1/+1 * Upgrade to 0.97a: bugs fix release + doc. reorganization.thierry2004-08-193-572/+469 * Oops. Needs libgmp.markm2004-08-191-0/+1 * Update to v 2.6.5.markm2004-08-1912-84/+42 * Make nqc compile with gcc 3.4.2.jhay2004-08-171-0/+18 * This is apparently no longer broken on 5.x.kris2004-08-171-7/+1 * Update lang/ruby16 to the latest snapshot as of 2004-07-28, fixingknu2004-08-172-10/+3 * - new options:dinoex2004-08-173-5/+29 * mark ignore when perl < 5.6ijliao2004-08-161-1/+7 * - Upgrade to 0.97;thierry2004-08-164-32/+34 * Fix build with gcc 3.4arved2004-08-163-0/+31 * Fix build on 4-stable.vanilla2004-08-152-0/+15 * Update to 8.0.046p050.1maho2004-08-152-3/+3 * Touch configure, because Makefile.in is patched after configure (patch-ac vsarved2004-08-141-0/+3 * Update to the 20040806 snapshot off GCC 3.4.gerald2004-08-1226-169/+169 * Handle ri document directories properly.knu2004-08-122-2036/+2047 * Update lang/ruby18 to 1.8.2-preview2.knu2004-08-124-25/+2136 * - Fix PATH problem with bsd.autotools.mkdinoex2004-08-121-3/+1 * Fix an incorrect distfile name for the Alpha.jdp2004-08-111-4/+1 * Add gnometarget to USE_GNOME, that's better way.vanilla2004-08-101-3/+1 * Update to 0.0.4krion2004-08-094-14/+25 * Add embryo, it's a C like scripting language used in parts of the Enlightenment.vanilla2004-08-085-0/+52 * Update to 0.3.2krion2004-08-082-3/+3 * Update to version 0.32.94krion2004-08-088-164/+186 * - Allow to disable IPv6 support [1]perky2004-08-076-6/+15 * - Update to 2.4a2perky2004-08-0735-371/+574 * Fix build with gcc-3.4.olgeni2004-08-051-0/+14 * note conflicts for amd64dinoex2004-08-041-1/+1 * Move devel/autoconf->devel/autoconf253 and devel/automake->devel/automake15ade2004-08-041-7/+12 * - Update to 0.44.0pav2004-08-043-185/+168 * -Update to 0.8.1.mezz2004-08-033-4/+4 * Upgrade to 0.96.thierry2004-08-035-30/+50 * Update to ezm3-1.2.jdp2004-08-034-51/+12 * Upgrade to 0.95.thierry2004-08-015-28/+47 * Update to 5.8.5.tobez2004-07-3025-1685/+2170 * Add new port for IronPython 0.6,perky2004-07-295-0/+69 * - Fix build with gcc-3.3:pav2004-07-292-0/+148 * Register extensions in etc/php/extensions.ini instead of etc/php.iniale2004-07-286-12/+6 * Enable default extensions when OPTIONSFILE is missing:ale2004-07-282-6/+25 * MFphp4: Fix compilation of wddx extension.ale2004-07-282-2/+8 * Back out my previous commit, two ports need guile's .la files.mezz2004-07-272-3/+8 * -Correct the GNU_CONFIGURE -> USE_LIBTOOL_VER=15 to avoid install the .la files.mezz2004-07-27