# Configure paths for Bonobo # Miguel de Icaza, 99-04-12 # Stolen from Chris Lahey 99-2-5 # stolen from Manish Singh again # stolen back from Frank Belew # stolen from Manish Singh # Shamelessly stolen from Owen Taylor dnl AM_PATH_BONOBO ([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl Test for Bonobo, and define BONOBO_CFLAGS and BONOBO_LIBS dnl AC_DEFUN([AM_PATH_BONOBO], [ dnl dnl Get the cflags and libraries from the gnome-config script dnl AC_ARG_WITH(bonobo-prefix,[ --with-bonobo-prefix=PFX Prefix where Bonobo is installed (optional)], bonobo_prefix="$withval", bonobo_prefix="") AC_ARG_WITH(bonobo-exec-prefix,[ --with-bonobo-exec-prefix=PFX Exec prefix where Bonobo is installed (optional)], bonobo_exec_prefix="$withval", bonobo_exec_prefix="") AC_ARG_ENABLE(bonobotest, [ --disable-bonobotest Do not try to compile and run a test Bonobo program], , enable_bonobotest=yes) if test x$bonobo_exec_prefix != x ; then bonobo_args="$bonobo_args --exec-prefix=$bonobo_exec_prefix" if test x${GNOME_CONFIG+set} != xset ; then GNOME_CONFIG=$bonobo_exec_prefix/bin/gnome-config fi fi if test x$bonobo_prefix != x ; then bonobo_args="$bonobo_args --prefix=$bonobo_prefix" if test x${GNOME_CONFIG+set} != xset ; then GNOME_CONFIG=$bonobo_prefix/bin/gnome-config fi fi AC_PATH_PROG(GNOME_CONFIG, gnome-config, no) min_bonobo_version=ifelse([$1], ,0.1.0,$1) AC_MSG_CHECKING(for BONOBO - version >= $min_bonobo_version) no_bonobo="" if test "$GNOME_CONFIG" = "no" ; then no_bonobo=yes else BONOBO_CFLAGS=`$GNOME_CONFIG $bonoboconf_args --cflags bonobo` BONOBO_LIBS=`$GNOME_CONFIG $bonoboconf_args --libs bonobo` bonobo_major_version=`$GNOME_CONFIG $bonobo_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` bonobo_minor_version=`$GNOME_CONFIG $bonobo_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` bonobo_micro_version=`$GNOME_CONFIG $bonobo_config_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` if test "x$enable_bonobotest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $BONOBO_CFLAGS" LIBS="$LIBS $BONOBO_LIBS" dnl dnl Now check if the installed BONOBO is sufficiently new. (Also sanity dnl checks the results of gnome-config to some extent dnl rm -f conf.bonobotest AC_TRY_RUN([ #include #include #include #include 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 () { int major, minor, micro; char *tmp_version; system ("touch conf.bonobotest"); gnome_object_get_type (); return 0; } ],, no_bonobo=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_bonobo" = x ; then AC_MSG_RESULT(yes) ifelse([$2], , :, [$2]) else AC_MSG_RESULT(no) if test "$GNOME_CONFIG" = "no" ; then echo "*** The gnome-config script installed by GNOME-LIBS could not be found" echo "*** If BONOBO was installed in PREFIX, make sure PREFIX/bin is in" echo "*** your path, or set the GNOME_CONFIG environment variable to the" echo "*** full path to gnome-config." else if test -f conf.bonobotest ; then : else echo "*** Could not run BONOBO test program, checking why..." CFLAGS="$CFLAGS $BONOBO_CFLAGS" LIBS="$LIBS $BONOBO_LIBS" AC_TRY_LINK([ #include #include ], [ return 0; ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding BONOBO or finding the wrong" echo "*** version of BONOBO. If it is not finding BONOBO, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means BONOBO was incorrectly installed" echo "*** or that you have moved BONOBO since it was installed. In the latter case, you" echo "*** may want to edit the gnome-config script: $GNOME_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi BONOBO_CFLAGS="" BONOBO_LIBS="" ifelse([$3], , :, [$3]) fi AC_SUBST(BONOBO_CFLAGS) AC_SUBST(BONOBO_LIBS) rm -f conf.bonobotest ]) AC_DEFUN([BONOBO_CHECK], [ AM_PATH_BONOBO(0.1.0,,[AC_MSG_ERROR(BONOBO not found)]) ]) 21d14a5ad74e48cbb745ac7f9e97'>refslogtreecommitdiffstats
path: root/net
Commit message (Expand)AuthorAgeFilesLines
* Update to 1.2.8. Seemarcus2010-05-093-5/+5
* Grab it under perl@az2010-05-081-1/+1
* - Update to 0.711sahil2010-05-083-9/+5
* - Update to 20100503sylvio2010-05-083-9/+8
* Set net/isc-dhcp30-* as DEPRECATED. It's EOL by authors.wxs2010-05-072-8/+17
* Welcome net/isc-dhcp41-server, net/isc-dhcp41-client and net/isc-dhcp41-relaywxs2010-05-0721-0/+1475
* - Update to 0.29jadawin2010-05-052-4/+4
* Add net/p5-Net-Appliance-Session 1.36, a Perl module that helpstobez2010-05-055-0/+82
* Add net/p5-Net-Appliance-Phrasebook 1.8, a Perl module thattobez2010-05-055-0/+56
* - Update to 1.0.1wen2010-05-052-4/+4
* Add net/p5-Net-IRR 0.08, a Perl module that provides an interface to thetobez2010-05-055-0/+38
* - Update to 2.00.1wen2010-05-052-4/+4
* - Update to 3.6.0wen2010-05-056-14/+10
* - Set PORTSCOUT varpgollucci2010-05-051-0/+2
* - Update to 1.22.2garga2010-05-053-22/+21
* - Update to 1.06.39garga2010-05-052-5/+4
* - Fix build againist xorg75fluffy2010-05-041-1/+3
* - Mark BROKEN: incomplete dependenciespav2010-05-041-0/+2
* Add conflict with ekiga (2.x)kwm2010-05-041-1/+3
* Add conflict with ekiga3.kwm2010-05-041-1/+3
* - Mark BROKEN: does not buildpav2010-05-041-0/+2
* - Update to 0.7.3avl2010-05-033-5/+7
* - Update to 0.7.5avl2010-05-033-5/+5
* - cleanup extra linesdinoex2010-05-031-2/+0
* - cleanout old patchesdinoex2010-05-032-27/+0
* - update to 0.9.9dinoex2010-05-032-7/+11
* 2010-04-30 audio/py-flac: has been marked IGNORE for past 24 monthsmiwi2010-05-027-150/+0
* - Fix build after xorg upgrademiwi2010-05-021-0/+13
* - Assign some ports to apache@pgollucci2010-04-301-1/+1
* - Assign some ports to apache@pgollucci2010-04-291-1/+1
* - Send my ruby- ports to ruby@pgollucci2010-04-281-1/+1
* - Re-assign all my rubygem-* ports to ruby@pgollucci2010-04-282-2/+2
* Update to 2.4.22delphij2010-04-283-4/+5
* - Update to 1.012clsung2010-04-272-4/+4
* - Take maintainership.sylvio2010-04-261-1/+1
* . Update to 1.4.3.glewis2010-04-263-4/+17
* Reset bg1tpt@gmail.com due to maintainer-timeouts and no response tolinimon2010-04-2610-10/+10
* . Print a more appropriate name for the service being started.glewis2010-04-251-2/+2
* - Update to 20100407sylvio2010-04-254-8/+8
* Bunny is an AMQP (Advanced Message Queuing Protocol) client, written in Ruby,miwi2010-04-244-0/+43
* Update to 2010.04.09.nork2010-04-242-4/+4
* - PHP 5.2 slave portdinoex2010-04-242-0/+15
* - PHP 5.2 slave portdinoex2010-04-244-0/+85
* - PHP 5.2 slave portdinoex2010-04-241-0/+1
* - PHP 5.2 slave portdinoex2010-04-242-0/+15
* Update to 0.47az2010-04-232-4/+4
* - Update to 2.61sahil2010-04-234-8/+8
* Add babeld 0.98, a distance-vector routing protocol.rene2010-04-236-0/+84
* - Update to 2.12clsung2010-04-222-4/+4
* - Update to 3.12000clsung2010-04-223-13/+20
* - Update to 2.20clsung2010-04-222-4/+4
* - Update to 1.16clsung2010-04-222-5/+4
* - Update to 1.25clsung2010-04-222-4/+4
* Mark as broken on ia64.linimon2010-04-221-0/+4
* - Update to 0.12sylvio2010-04-223-6/+7
* - Update x264 to shared library version 85mm2010-04-211-2/+2
* Attempt to unbreak on sparc64wxs2010-04-211-1/+1
* AnyEvent::Twitter::Stream - Receive Twitter streaming API in an event loopsahil2010-04-215-0/+40
* Reassign ports from andrey@kostenko.name to perl@ due to lack of time.linimon2010-04-201-1/+1
* Switch to use newer GMP version.ale2010-04-192-4/+4
* - Add shutdown keyword.kuriyama2010-04-163-1/+3
* - Take maintainership.kuriyama2010-04-162-3/+31
* - Upgrade to 1.27.kuriyama2010-04-162-4/+4
* - Update MASTER_SITESsahil2010-04-161-3/+3
* - Update to 1.1.0amdmi32010-04-153-26/+43
* Update to 0.58.tobez2010-04-152-4/+4
* - Take over from maintainer.wxs2010-04-131-1/+1
* - Correct libsnmp major version in LIB_DEPENDS.wxs2010-04-111-1/+1
* - If radiusd_flags did not contain -d all arguments would be incorrectly addedwxs2010-04-112-2/+5
* Update to 4.7.20100410.hrs2010-04-1017-321/+813
* - Update to 1.4.4sylvio2010-04-102-4/+4
* Net::Traceroute::PurePerl implements traceroute(1) functionality forwen2010-04-085-0/+43
* - aims to simplify the basic interactions with the Cassandra database.sylvio2010-04-085-0/+62
* - Chase libpcap shlib change.wxs2010-04-082-2/+4
* - Update to 4.1.1wxs2010-04-083-15/+9
* - Update to 1.1.1. It now installs libpcap.so.1 instead of libpcap.so.3.wxs2010-04-085-94/+31
* - Update WWWwen2010-04-072-1/+3
* - Upgraded to 1.06glarkin2010-04-062-5/+4
* re-assign back to ports@pgollucci2010-04-052-3/+3
* - Update to 0.25itetcu2010-04-052-6/+5
* - Update to 1.54itetcu2010-04-052-4/+4
* Enable the use of OPTIONS.marcus2010-04-051-16/+9
* Update to 2010.04.01nork2010-04-042-4/+4
* . Update to 1.4.2.glewis2010-04-043-27/+4
* . The main dgd port already creates the 'mud' user and group, so don'tglewis2010-04-043-55/+0
* . Split the kernel mudlib out of the main dgd port and into its ownglewis2010-04-0413-1141/+1090
* Chase the ftp/curl shlib version bump.roam2010-04-0316-28/+31
* - Update to 0.22itetcu2010-04-033-5/+7
* - Update to 1.53itetcu2010-04-032-5/+5
* - Unbreak on 9.0-CURRENT by fixing utmpx.h support.sylvio2010-04-032-4/+20
* - Update to 1.4.3pav2010-04-023-24/+4
* sslh lets one accept both HTTPS and SSH connections on the same port. It makespav2010-04-025-0/+60
* A superdaemon for hot-deploying server programs.kuriyama2010-04-025-0/+39
* Mark as broken on ia64 and powerpc.linimon2010-04-011-0/+4
* Also broken on powerpc.linimon2010-04-011-2/+2
* Also not for powerpc.linimon2010-04-011-1/+1
* Also broken on powerpc.linimon2010-04-011-2/+2
* Mark as broken on powerpc.linimon2010-04-011-1/+7
* Mark as broken on ia64 and powerpc as well as sparc64.linimon2010-04-012-4/+4
* Attempt to fix build on powerpc.linimon2010-04-011-1/+1
* - Mark IGNORE on amd64 unless WITHOUT_X11 is selected, instead of faking thatpav2010-03-311-4/+5
* Update to 0.53.tobez2010-03-312-4/+4
* - Update to 11.100.158406tabthorpe2010-03-313-25/+16
* - Fix path to perl binary [1]mm2010-03-302-33/+72
* - Update to 0.73mm2010-03-302-6/+4
* - Update to 1.7gahr2010-03-304-26/+31
* A Perl module for using Google Spreadsheets API.wen2010-03-295-0/+61
* Net::Google::DataAPI is base implementations for modules to negotiatewen2010-03-295-0/+72
* s#${RC_SUBR}#/etc/rc.subr/dougb2010-03-291-1/+1
* Update to 2010.03.16.nork2010-03-292-4/+4
* - update to 1.4.1dinoex2010-03-28