aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gperf-check.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gperf-check.m4')
-rw-r--r--macros/gperf-check.m479
1 files changed, 0 insertions, 79 deletions
diff --git a/macros/gperf-check.m4 b/macros/gperf-check.m4
deleted file mode 100644
index 1b73d3f19d..0000000000
--- a/macros/gperf-check.m4
+++ /dev/null
@@ -1,79 +0,0 @@
-dnl
-dnl AC_PROG_GPERF (MINIMUM-VERSION)
-dnl
-dnl Check for availability of gperf.
-dnl Abort if not found or if current version is not up to par.
-dnl
-
-AC_DEFUN([AC_PROG_GPERF],[
- AC_PATH_PROG(GPERF, gperf, no)
- if test "$GPERF" = no; then
- AC_MSG_ERROR(Could not find gperf)
- fi
- min_gperf_version=ifelse([$1], ,2.7,$1)
- AC_MSG_CHECKING(for gperf - version >= $min_gperf_version)
- gperf_major_version=`$GPERF --version | \
- sed 's/GNU gperf \([[0-9]]*\).\([[0-9]]*\)/\1/'`
- gperf_minor_version=`$GPERF --version | \
- sed 's/GNU gperf \([[0-9]]*\).\([[0-9]]*\)/\2/'`
- no_gperf=""
-dnl
-dnl Now check if the installed gperf is sufficiently new.
-dnl
- AC_TRY_RUN([
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-static char*
-my_strdup (char *str)
-{
- char *new_str;
-
- if (str)
- {
- new_str = malloc ((strlen (str) + 1) * sizeof(char));
- strcpy (new_str, str);
- }
- else
- new_str = NULL;
-
- return new_str;
-}
-
-int
-main ()
-{
- char *tmp_version;
-
- int major;
- int minor;
-
- /* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = my_strdup("$min_gperf_version");
- if (sscanf(tmp_version, "%d.%d", &major, &minor) != 2) {
- printf ("%s, bad version string\n", "$min_gperf_version");
- exit (1);
- }
-
- if (($gperf_major_version > major) ||
- (($gperf_major_version == major) && ($gperf_minor_version >= minor))) {
- return 0;
- } else {
- printf ("\n");
- printf ("*** An old version of gperf ($gperf_major_version.$gperf_minor_version) was found.\n");
- printf ("*** You need a version of gperf newer than %d.%d.%d. The latest version of\n",
- major, minor);
- printf ("*** gperf is always available from ftp://ftp.gnu.org.\n");
- printf ("***\n");
- return 1;
- }
-}
-],,no_gperf=yes,[/bin/true])
- if test "x$no_gperf" = x ; then
- AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
- fi
-
-])
ort, which is no longer used.kris2003-07-314-516/+0 * update x11-toolkits/sdl_gui:daichi2003-07-312-7/+6 * Chase the GtkGLExt shared lib version.marcus2003-07-313-3/+3 * Update to 1.0.2.marcus2003-07-313-8/+11 * Release maintainership of ports due to personal technical difficulties.naddy2003-07-312-2/+2 * *grrr* COMMENT needs to be overrideable too.arved2003-07-313-3/+3 * Make PORTREVISION overwritable by slave ports.arved2003-07-313-3/+3 * Update to 2.2.3.marcus2003-07-304-8/+9 * Let be hohest: I really don't have a time now to properly maintain allsobomax2003-07-2913-13/+13 * Update KDE to the latest official release, KDE 3.1.3lofi2003-07-293-18/+87 * Add PREFIX as include and lib path during configureoliver2003-07-292-4/+4 * - libchiper is been depreciated in CURRENT,dinoex2003-07-291-1/+4 * Add libxfce4gui 3.99.2,oliver2003-07-295-0/+78 * Fix build with GCC 3.x. Since this presents an API change, bump PORTREVISION.marcus2003-07-282-0/+12 * Don't wrap <assert.h> in #ifdef __FreeBSD__ because it'skrion2003-07-271-7/+5 * - link with libcipherdinoex2003-07-271-0/+2 * update paragui to 1.0.4oliver2003-07-274-16/+22 * - update to 0.8.8dinoex2003-07-263-46/+55 * - update to 0.8.8dinoex2003-07-263-8/+13 * - flat layoutdinoex2003-07-261-6/+6 * Fix building under -CURRENT (gcc 3.3)osa2003-07-241-0/+26 * - update 8.4.4dinoex2003-07-242-3/+3 * - Use Tab to navigate forward through interface elements. Notice that Shift-T...dinoex2003-07-242-1/+11 * Add tktable 2.8, a table/matrix widget extension to tk/tcl.oliver2003-07-236-0/+100 * Committed. Thanks!krion2003-07-231-0/+12 * Fix build with GCC 3.3.1. Bump PORTREVISION since the header change willmarcus2003-07-234-0/+24 * * Update to 2.2.5marcus2003-07-228-8/+12 * Update to 2.2.4.marcus2003-07-2212-12/+88 * update x11-toolkits/gtkmathview: build on 5.xdaichi2003-07-162-14/+8 * Chase checksum, due to xfce4 update to RC1.olgeni2003-07-162-1/+2 * Remove eazel-themes as it depends on sawfish.marcus2003-07-169-355/+0 * Update to 1.2.1.marcus2003-07-164-15/+6 * fix x11-toolkits/gtkmathview: do not use -lgnugetopt directorydaichi2003-07-151-2/+0 * update x11-toolkits/viewklass:daichi2003-07-151-2/+7 * update x11-toolkits/gtkmathview: 0.3.0 -> 0.4.2daichi2003-07-156-12/+97 * Unbreak lacking of the gtktextview.disable_scroll_on_focus elementnork2003-07-141-0/+11 * get rid of libgnugetopt dependency for -CURRENT,sf2003-07-141-4/+6 * * Update to 0.2marcus2003-07-143-141/+211 * From the PR:alex2003-07-131-0/+22 * Fix dependency.nork2003-07-121-4/+1 * The port distfile contains bogus config.sub and config.guess symlinkskris2003-07-111-1/+3 * o Updated documentationnork2003-07-1112-34/+124 * Update to 1.99.8.adamw2003-07-113-3/+3 * Update to 2.2.2.adamw2003-07-113-3/+3 * Update to 1.2.6.adamw2003-07-102-3/+3 * PR:foxfair2003-07-105-0/+45 * PR:foxfair2003-07-105-0/+42 * Pass Maintainership to Erik Greenwald.arved2003-07-091-1/+1 * Don't build and install examples by default. This cuts build time byadamw2003-07-088-944/+1000 * Update master site--fenner's survey showed the old one has not been working.trevor2003-07-061-1/+2 * patch x11-toolkits/slingshot:daichi2003-07-042-1/+18 * Update to 0.4.0.marcus2003-07-013-3/+7 * libtool uber-patchade2003-06-275-14/+27 * Add pkg-message.tom2003-06-271-0/+4 * Add port soqt, Qt GUI component toolkit library for Coin.arved2003-06-265-0/+66 * x11-toolkits/php-gtk: Fix build dependencydaichi2003-06-232-2/+4 * Unbreak by updating to 0.24arved2003-06-234-50/+48 * Update to gnustep-1.7.1 / gui-8.7dinoex2003-06-216-4/+259 * Change the LATEST_LINK to make this port easier to find.marcus2003-06-204-4/+4 * Add a LATEST_LINK to better differentiate this port from the GNOME 1 version.marcus2003-06-201-0/+1 * Fix the buildkris2003-06-191-2/+8 * - Unbroke xview on -current machinedaichi2003-06-197-6/+344 * Remove a patch that is no longer needed.marcus2003-06-191-7/+0 * Add libgnomeprintui to USE_GNOME to fix build.adamw2003-06-191-1/+1 * Update to 2.2.1.3.adamw2003-06-193-2/+8 * OK, so apparently certain parts of the control center system look foradamw2003-06-182-104/+109 * Install themes files into proper locations.adamw2003-06-182-153/+154 * Add configure script.nork2003-06-182-0/+40 * - apply last patch again.dinoex2003-06-181-1/+1 * - Fix an empty dir when compliled with WITH_GNUSTEP_DEVELdinoex2003-06-181-0/+1 * - Update to 0.8.6dinoex2003-06-185-416/+831 * Fix dependencies and Cleanup pkg-plist.nork2003-06-186-52/+64 * Stop building and installing the Gorilla libraries, which to renderadamw2003-06-172-214/+4 * - Update URLdinoex2003-06-173-3/+3 * Add gnomemm, a meta-port for building all the GNOME 2 C++ bindings.marcus2003-06-164-0/+37 * Add libgnomeuimm, the C++ bindings for libgnomeui.marcus2003-06-1613-0/+239 * Add libbonobouimm, the C++ bindings for libbonoboui.marcus2003-06-169-0/+125 * Update to 0.3.0.adamw2003-06-133-3/+29 * Add gnome-themes-extras-0.1, some extras themes and iconsets foradamw2003-06-136-0/+837 * - remove empty dirsdinoex2003-06-131-0/+3 * Change to my FreeBSD.org addresserwin2003-06-134-4/+4 * Fix LD_LIBRARY_PATH to include any local additions.will2003-06-133-3/+3 * Remove REINPLACE commands that were rolled into gnomehack.adamw2003-06-1211-44/+0 * Upgrade to version 2.1.1.olgeni2003-06-123-13/+22 * Update to 1.99.7.marcus2003-06-114-13/+10 * Update to 0.10.29.marcus2003-06-113-5/+4 * * Update to 2.2.2marcus2003-06-116-20/+14 * Update to 1.2.3.marcus2003-06-113-4/+2 * - remove empty dirsdinoex2003-06-101-0/+2 * The nongnu.org site appears to be flaky -- add MASTER_SITE_LOCAL tomikeh2003-06-101-1/+3 * Use ghc --numeric-version.obraun2003-06-101-2/+1 * Remove ghc's package.conf.old.obraun2003-06-102-1/+5 * Remove ghc's package.conf.old.obraun2003-06-102-1/+8 * o Fix MASTER_SITESerwin2003-06-092-3/+2 * Project page moved to savannah.nongnu.org and the release file wasmikeh2003-06-092-4/+2 * REST IN PEACEwill2003-06-092-2/+2 * Correct the path to the icon themes. This should restore people's icons.marcus2003-06-072-1/+2 * gtk2hs is a GTK2 binding for Haskell.obraun2003-06-065-0/+174 * Fix wxgtk gtk12 or gtk20 detection codelioux2003-06-054-8/+8 * Add a layer that enable this port to build with a wxgtk port builtlioux2003-06-054-12/+80 * Move inclusion of bsd.port.pre.mk later in the file for conditional BROKENkris2003-06-054-23/+23 * Update to 2.2.1.adamw2003-06-055-70/+24 * Mark BROKEN on all versions, not just 5.xkris2003-06-051-5/+1 * Add checksums for Python-2.2.3perky2003-06-041-0/+1 * Slave port for GNUstep backend (gnustep-back)dinoex2003-06-042-0/+21 * - Update for Option WITH_GNUSTEP_LIBARTdinoex2003-06-032-10/+114 * Update to 2.2.2.marcus2003-06-033-8/+14 * Remove ${PTHREAD_LIBS} from LDFLAGS since this will cause linking issuesmarcus2003-06-031-1/+2 * MFkde-freebsd Repositoryarved2003-06-026-21/+60 * Remove MAINTAINER, as per his request:naddy2003-06-023-3/+3 * Drop maintainership.naddy2003-06-023-3/+3 * Update to 1.2.2.marcus2003-06-014-14/+25 * - Add WITH_GNUSTEP_DEVELdinoex2003-06-012-107/+108 * - Add WITH_GNUSTEP_DEVELdinoex2003-06-012-584/+587 * - change WITH_* => WANT_*dinoex2003-06-011-1/+1 * * Make GNOME support optional [1]marcus2003-06-013-15/+25 * Update to 2.2.3.marcus2003-06-018-8/+8 * Update to 2.2.2.marcus2003-06-013-3/+6 * Update to 1.99.6.marcus2003-06-014-10/+12 * - patch for option WITH_GNUSTEP_LIBART=yesdinoex2003-05-231-0/+77 * Update to 0.2.1.marcus2003-05-237-40/+16 * Update the comment and description to mention the other libraries formarcus2003-05-228-8/+16 * Update to 2.2.2.marcus2003-05-2216-92/+64 * - Update to 8.4.3dinoex2003-05-212-2/+2 * Update to 2.2.2.marcus2003-05-203-4/+45 * Update to KDE 3.1.2lioux2003-05-2024-483/+576 * Update to 1.0.0arved2003-05-193-2/+3 * Unbreak: add a missing dependency on Motif.petef2003-05-182-8/+2 * BROKEN on 5.1: bad C++kris2003-05-181-0/+4 * BROKEN on 5.1: configure failskris2003-05-184-1/+19 * BROKEN on 5.1: does not compilekris2003-05-181-1/+7 * BROKEN on 5.1: bad C++kris2003-05-181-1/+7 * BROKEN on 5.1: bad C++kris2003-05-182-2/+14 * Update to 0.99.1.adamw2003-05-183-5/+2 * Update to 1.0.0.adamw2003-05-184-15/+2 * Use gnometarget.marcus2003-05-151-1/+1 * - use configures --includedirdinoex2003-05-142-5/+5 * - use configures --includedirdinoex2003-05-142-5/+5 * - cleanup makefiledinoex2003-05-141-3/+2 * Update to 1.2.2.marcus2003-05-132-2/+2 * Update to 0.10.28.marcus2003-05-134-2/+17 * Retire fltk-xunicode since the maintenance had been discontinued.knu2003-05-122-18/+0 * Unbreak: update to 1.1.25.petef2003-05-106-18/+58 * Upgrade to PyQT 3.5nbm2003-05-103-62/+10 * add py-gtkextra 0.22ijliao2003-05-095-0/+39 * Convert to new GNOME infrastructure.marcus2003-05-091-1/+1 * Update to 0.73.marcus2003-05-095-9/+9 * Update to 2.2.4.marcus2003-05-083-2/+4 * Re-add gtksourceview under the x11-toolkits category. Gtksourceview ismarcus2003-05-089-0/+116 * Update to 1.99.4.marcus2003-05-072-2/+2 * BROKEN: Does not compilekris2003-05-071-0/+2 * BROKEN: Does not compilekris2003-05-071-0/+2 * BROKEN: DOes not compilekris2003-05-061-0/+2 * BROKEN: Bad pkg-plistkris2003-05-061-0/+2 * BROKEN: Does not compilekris2003-05-064-0/+8 * BROKEN: Does not fetchkris2003-05-061-0/+2 * BROKEN: Does not configurekris2003-05-062-0/+4 * BROKEN: Does not compilekris2003-05-061-0/+2 * Add freeglut 1.3, an alternative to the OpenGL Utility Toolkit (GLUT) library.anholt2003-05-0610-0/+218 * Add a missing dependency on gtk20.marcus2003-05-051-1/+2 * Fix build on -STABLE.marcus2003-05-041-0/+11 * Remove a leftover directory.marcus2003-05-041-0/+1 * Use USE_GNOME.nork2003-05-031-2/+2 * Update to 0.99.0.nork2003-05-033-4/+4 * Update to 0.99.0.nork2003-05-032-2/+2 * Link executables with -pthread so that they can work with threaded librariesmarcus2003-05-036-6/+50 * Add guile-gobject, GUILE beings for core GNOME 2 libraries.marcus2003-05-028-0/+134 * Fix build with guile-1.6.4.marcus2003-05-021-0/+120 * Update to 0.31.marcus2003-05-026-25/+47 * Run the pkg-install script even if BATCH is defined. These scripts aremarcus2003-04-301-1/+1 * Update to 0.10.27.marcus2003-04-304-12/+8 * Convert to new GNOME infrastructure.marcus2003-04-274-8/+4 * Update to 1.0.22.knu2003-04-2712-12/+2396 * Fix typo in last commit.kuriyama2003-04-25