summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
...
* Backout all changes related to using kernel for linkdetectStephen Hemminger2008-06-201-12/+0
| | | | | | | | Having kernel cleanup FIB was not ideal for a couple reasons: 1. It still generates lots of netlink events if there are lots of static routes. 2. Kernel changes were not accepted in mainline kernel "do it in userspace"
* Change how link-detect is configured in buildStephen Hemminger2008-05-271-6/+12
| | | | | Rather that looking for /proc/sys/net/ipv4/conf, use --enable-linkdetect flag to configure.
* Turn on kernel link-detectStephen Hemminger2008-05-221-0/+6
| | | | | If interface has link-detect enabled, try and turn on link-detect in the kernel.
* Merge branch 'glendale' into hollywoodrbalocca2008-04-261-10/+0
|\
| * Don't build watchlinkStephen Hemminger2008-04-251-10/+0
| | | | | | | | | | Watchlink is no longer needed, and if it was used it would interfere with other route management. Therefore don't build it.
* | TCP MD5SIG patchMichael H. Warfield2008-04-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from http://www.gossamer-threads.com/lists/quagga/dev/15611 [clear_shim] Re: [quagga-users 9315] New md5 signature patch for bgp... quagga_md5_bsd_linux_v9.diff Remove Highlighting [In reply to] mhw at wittsend ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Jan 28, 2008, 12:55 PM And, of course, the moment I send off a patch against 0.99.9 and claim it should patch the CVS, I find out it does not. Post #2 of 3 (192 views) On Mon, 2008-01-28 at 14:50 -0500, Michael H. Warfield wrote: Permalink > Hello all! > Building on the efforts of Leigh Brown and the earlier works on an MD5 > signature patch for bgpd, I've incorporated the autoconf efforts by > Sargun Dhillon on top of my own changes for IPv6 along with filling in a > few missing spots in the autoconf stuff myself. Leigh had released a v7 > and I subsequently released a v8 patch for md5 signatures for Linux and > BSD to deal with conflicts with IPv6. This is now a v9 patch > incorporating some of the changes from Sargun and adding a few of my own > to complete the autoconf changes. > This patch is still against 0.99.9 but should patch cleanly against > CVS. Attached is the patch against CVS. It does NOT have a patch for config.h.in (that was a mistake on my part, it's not in CVS, it's generated but it's not regenerated if you are working from the releases and don't rerun autoheader) and fixes a problem with a header file and some alignments. [cl] > This adds a configure option, --enable-tcp-md5, to enable tcp md5 [cl] > signatures. This is not qualified against the operating system on which > it is being built. The patch should work on BSD and Linux. Other > operation systems are a crap shoot. I don't know. I presume some other > errors will occur on other operating systems which do not support MD5 > signatures in this manner. Since they're not supported now, this is no > great loss. Someone might want to test this in other environments, > though, and enhance it for those other environments. > > Attached... > > quagga_md5_bsd_linux_v9.diff > > http://www.wittsend.com/mhw/md5sig/quagga_md5_bsd_linux_v9.diff > > Is there anything left that needs to be done before this can be > committed to CVS? Can someone with commit privs please do the honors? Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw[at]WittsEnd.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it! Attachments: [unknown] quagga_cvs_md5_bsd_linux_v9.diff (18.4 KB) <http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=1184;list=quagga> [unknown] signature.asc (0.30 KB) <http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=1185;list=quagga> Signed-off-by: Tom Grennan <tgrennan@vyatta.com>
* | Merge branch 'upstream' into hollywoodTom Grennan2008-04-101-0/+16
|\ \ | |/ |/| | | | | | | | | Conflicts: ChangeLog zebra/zebra_rib.c
| * [link-detect] Improve BSD support.ajs2008-01-111-3/+12
| | | | | | | | | | | | 2008-01-11 Ingo Flaschberger <if@xip.at> * configure.ac: Improve HAVE_BSD_LINK_DETECT test.
| * [link-detect] Try to get BSD link-detect to work properly.ajs2008-01-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Ingo Flaschberger <if@xip.at> * configure.ac: Define HAVE_BSD_LINK_DETECT if <net/if_media.h> is present. * lib/zebra.h: If HAVE_BSD_LINK_DETECT is defined, include <net/if_media.h>. * zebra/ioctl.c: (if_get_flags) If HAVE_BSD_LINK_DETECT, use the SIOCGIFMEDIA ioctl to ascertain link state. * zebra/kernel_socket.c: (bsd_linkdetect_translate) New function to map the ifm_data.ifi_link_state value into the IFF_RUNNING flag. (ifm_read) Call bsd_linkdetect_translate to fix the IFF_RUNNING flag before calling if_flags_update.
* | Added quagga like features to watchlink pgm: standard pid file creation and ↵Michael Larson2008-01-101-3/+2
| | | | | | | | | | | | background option. Also corrected compile flags for watchlink
* | packaging and make rules for base vyatta-quagga project to build watchlinkMichael Larson2008-01-101-1/+18
|/
* [release] bump to 0.99.9upstream/0.99.9debian/0.99.9-1debian/0.99.9paul2007-09-071-1/+1
| | | | | | 2007-09-07 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump version to 0.99.9
* [isisd] Add support for Solaris DLPIpaul2007-08-071-0/+29
| | | | | | | | | | 2007-08-07 James Carlson <james.d.carlson@sun.com> * configure.ac: Added support for separate link-layer access mechanisms in isisd. * isis_network.c: split up into isis_bpf.c, isis_dlpi.c, and isis_pfpacket.c, selected by autoconf, and added DLPI support. * (general) Fixed to allow compilation and use on Solaris.
* Add --enable-solaris to descend into solaris-specific build directory.gdt2007-08-021-0/+10
| | | | | | While it doesn't take a long time to build, this is currently the only thing in the tree that doesn't work with BSD make, and there's no reason to build solaris package control files on other systems.
* 2007-07-27 Paul Jakma <paul.jakma@sun.com>paul2007-07-271-1/+1
| | | | * configure.ac: Bump version to 0.99.8
* 2007-06-25 Hasso Tepper <hasso@quagga.net>hasso2007-06-251-1/+1
| | | | * configure.ac: Fix typo so it compiles again on BSD systems.
* [build] configure needs to check for struct icmphdr for IRDPpaul2007-06-221-7/+14
| | | | | | | | 2007-06-22 Paul Jakma <paul.jakma@sun.com> * configure.ac: IRDP also depends on struct icmphdr, enabling only on in_pktinfo breaks when an OS acquires pktinfo, as Solaris NV has. Reported by Jim Carlson.
* [autoconf] Fix missing space character in previous commitpaul2007-05-101-1/+1
|
* [autoconf] GNU_SOURCE can be defined twice, through AC_FUNC_STRNLENpaul2007-05-101-5/+9
| | | | | | | | | | 2007-05-10 Paul Jakma <paul.jakma@sun.com> * configure.ac: Use AC_GNU_SOURCE to define _GNU_SOURCE, rather than having lib/zebra.h do it. AC_FUNC_STRNLEN has side-effects with latest autoconf, use AC_CHECK_FUNC on strnlen instead. * lib/zebra.h: Don't try define _GNU_SOURCE, autoconf should do it.
* [autoconf] add back check for inet_atonpaul2007-05-101-1/+1
| | | | | | | 2007-05-10 Paul Jakma <paul.jakma@sun.com> * configure.ac: Add back check for inet_aton, which got dropped somehow in previous jumbo patch.
* [autoconf] bugs 162,303,178: Fix 'present but can not be compiled' warningspaul2007-05-101-219/+231
| | | | | | | | | | | | | | | | | | | | | | | | 2007-05-09 Paul Jakma <paul.jakma@sun.com> * configure.ac: sys/conf.h depends on sys/param.h, at least on FBSD 6.2. (bug #363) Should check for in_pktinfo for IRDP 2006-05-27 Paul Jakma <paul.jakma@sun.com> * configure.ac: General cleanup of header and type checks, introducing an internal define, QUAGGA_INCLUDES, to build up a list of stuff to include so as to avoid 'present but cant be compiled' warnings. Misc additional checks of things missing according to autoscan. Add LIBM, for bgpd's use of libm, so as to avoid burdening LIBS, and all the binaries, with libm linkage. Remove the bad practice of using m4 changequote(), just quote the []'s in the case statements properly. This should fix bugs 162, 303 and 178. * */*.{c,h}: Update all HAVE_* to the standard autoconf namespaced HAVE_* defines. I.e. HAVE_SA_LEN -> HAVE_STRUCT_SOCKADDR_SA_LEN, * bgpd/Makefile.am: Add LIBM to bgpd's LDADD, for pow().
* [build] Improve portability by invoking gcc with -std=gnu99 instead of -std=c99ajs2007-04-301-1/+1
| | | | | | | 2007-04-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * configure.ac: Change gcc CFLAGS from '-std=c99' to '-std=gnu99' to improve portability.
* [0.99] Version bump to 0.99.7quagga.0.99.7.releasepaul2007-04-291-1/+1
| | | | | | 2007-04-29 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump to 0.99.7
* use generic sed test so this works on autoconf 2.59gdt2007-02-061-1/+4
|
* Better comment explaining that GNU awk is really required.gdt2007-02-061-1/+2
|
* add AC_PROC_SEDgdt2007-02-031-0/+2
|
* [0.99] Bump version to 0.99.6quagga.0.99.6.releasepaul2006-12-081-1/+1
| | | | | | 2006-12-08 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump to 0.99.6
* [0.99] version bump to 0.99.5quagga.0.99.5.releasepaul2006-08-271-1/+1
| | | | | | 2006-08-27 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump to 0.99.5
* [lib] Add support for Sun libc printstack to zlog_backtrace_sigsafepaul2006-05-281-8/+12
| | | | | | | | | | | | | | 2006-05-28 Paul Jakma <paul.jakma@sun.com> * configure.ac: Check for Sun libc printstack(), add a general HAVE_STACK_TRACE define for lib/log.c, if any supported stack symbol dumping function is found (glibc backtrace/sun libc printstack). * log.c: (general) Add support for Sun libc printstack(). (hex_append) make the cpp conditional on general HAVE_STACK_TRACE define. (zlog_backtrace_sigsafe) Ditto. Add printstack() version of the the DUMP macro in this function.
* [build] Update SOS CFLAGS and add check for GNU Make in configure.acpaul2006-05-281-3/+25
| | | | | | | | | 2006-05-28 Paul Jakma <paul.jakma@sun.com> * configure.ac: Update SOS CFLAGS, Xt shouldn't be used and enable debug options. Add a check for GNU Make and warn the user if it does not appear to be the make used.
* [0.99] Version bump to 0.99.4paul2006-05-101-1/+1
| | | | | | 2006-05-10 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump to 0.99.4
* [lib/memory] Add mallinfo supportpaul2006-03-301-0/+18
| | | | | | | | | | | | | | | | | | | 2006-02-15 Paul Jakma <paul.jakma@sun.com> * configure.ac: Check for mallinfo, being careful to link test so we can detect things like umem being used (which doesn't provide a mallinfo). * lib/memory.c: (mtype_memstr) new helper function to return human friendly string for a byte count. (mtype_stats_alloc) new function, for users to retrieve number of objects allocated. (show_memory_mallinfo) New function, show mallinfo statistics if available. (show_memory_all_cmd) Call show_memory_mallinfo, if mallinfo is available. * lib/memory.h: Export mtype_memstr and mtype_stats_alloc. Provide a define for a reasonable buffer size for mtype_memstr.
* [build system] cleanup --enable-snmp by removing ucd-snmp cruftpaul2006-01-311-88/+23
| | | | | | | | | 2006-01-31 Paul Jakma <paul.jakma@sun.com> * configure.ac: Cleanup the hideous {net,ucd}-snmp section by removing ucd-snmp. Hence fixing detection where net-snmp is installed in /usr/local (Boris Kovalenko reported the problem).
* [version] bump configure.ac version number to 0.99.3paul2006-01-191-1/+1
| | | | | | | 2006-01-19 Paul Jakma <paul.jakma@sun.com> * configure.ac: Bump to 0.99.3 * doc/quagga.info: update auto-built file.
* [build] Set default CFLAGS for SunPro, rationalise CFLAGS defaults.paul2005-11-261-25/+48
| | | | | | | | 2005-11-26 Paul Jakma <paul.jakma@sun.com> * configure.ac: Collect together CFLAGS based on compiler detected a bit. Recognise and set default CFLAGS for SunPro / SOS10.
* [bug #231] check and include stdint.h, also add std=c99 to gcc CFLAGSpaul2005-11-141-2/+2
| | | | | | | | 2005-11-14 Paul Jakma <paul.jakma@sun.com> * configure.ac: Tell gcc we like C99. [bug #231] Check and test for stdint.h. * lib/zebra.h: [bug #231] include stdint, if its there.
* 2005-11-11 Paul Jakma <paul.jakma@sun.com>paul2005-11-111-1/+1
| | | | | * NEWS: Update. * configure.ac: Bump to 0.99.2
* 2005-09-29 Paul Jakma <paul.jakma@sun.com>paul2005-09-291-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add the test for Solaris least-privileges. Set defines for whether capabilities are supported and whether of the linux or solaris variety. Add missing-prototypes, missing-declarations, char-subscripts and cast-qual warnings to default cflags, cause Hasso enjoys warnings, and we really should clean the remaining ones up. (ie isisd..). * (*/*main.c) Update the zebra_capabilities_t arrays in the various daemons to match the changes made in lib/privs.h. * zebra.h: Solaris capabilities requires priv.h to be included. * privs.{c,h}: Add support for Solaris Least-Privileges. privs.h: Reduce some of the abstract capabilities, which do not have rough equivalents on both systems. Rename the net related caps to _NET, as they should have been in first place. (zprivs_terminate) should take the zebra_privs_t as argument so that it can update change pointer. Add an additional privilege state, ZPRIVS_UNKNOWN. * privs.c: (various capability functions) Add Solaris privileges variants. (zprivs_state) Use privs.c specific generic types to represent various capability/privilege related types, so that each can be typedef'd as appropriate on each platform. (zprivs_null_state) static added, to hold the state the null method should report (should be raised by default, and LOWERED if zprivs_terminate has been called) (zprivs_state_null) Report back the zprivs_null_state. (cap_map) Make it able to map abstract capability to multiple system capabilities. (zcaps2sys) Map to abstract capabilities to multiple system privileges/capabilities. (zprivs_init) move capability related init to seperate function, zprivs_caps_init. (zprivs_terminate) ditto, moved to zprivs_caps_terminate. Set the change_state callback to the NULL state, so the user can continue to run and use the callbacks.
* * configure.ac: Test existance of strndup.hasso2005-09-191-1/+1
| | | | * lib/str.[ch]: Add strndup() from glibc.
* 2005-08-25 Paul Jakma <paul@jakma.org>paul2005-08-251-6/+13
| | | | | | | | | | | * configure.ac: Add -fno-omit-frame-pointer after -Os in default cflags, just to be sure. Fedora's readline library does not itself link to termcap, hence we must pass the result of termcap tests in via OTHER-LIBRARIES argument, otherwise the test of main in readline will fail due to missing termcap systems. On systems like Debian, -ltermcap is not needed for the readline test, because libreadline already links to it.
* * configure.ac, vtysh/Makefile.am: Only vtysh needs to be linkedhasso2005-08-251-7/+8
| | | | against libreadline and friends.
* * configure.ac: Actually test whether libc has IPv6 support.hasso2005-06-301-0/+12
| | | | [backport candidate]
* - revert the commenting of touch doc/quagga.info, wont work becausepaul2005-05-131-1/+1
| | | | | defines.texi is autogenerated every configure time so it will always be newer than quagga.info, and hence require quagga.info to be built. drat.
* 2005-05-13 Paul Jakma <paul.jakma@sun.com>paul2005-05-131-1/+1
| | | | | | | | | * configure.ac: Comment out the touch doc/quagga.info hack. I'm hoping it's not needed anymore, cause it breaks out of tree builds which i've become fond of.. Plus I think we sorted out most of the original problems (updated texinfo.tex, moved the version info to an autogenerated by automake version.texi). Dist users most definitely wont be affected.
* 2005-05-07 Yar Tikhiy <yar@comp.chem.msu.su>paul2005-05-071-4/+22
| | | | | | | | * configure.ac: Check for OSes which support passing ifindex in struct ip_mreq. * lib/sockopt.c: Add support for BSD style ifindex in ip_mreq. * ospfd/ospf_network.c: Log ifindex on multicast membership leave/join events.
* 2005-04-29 Paul Jakma <paul.jakma@sun.com>quagga.0.99.1.releasepaul2005-04-291-1/+1
| | | | | | * NEWS: Added some more 0.99 news. * configure.ac: bump to 0.99.1 (0.99.0 was never released except via CVS snapshots)
* 2005-04-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-04-161-0/+10
| | | | | | | | | | | | | | | | | | | * configure.ac: Added AC_ARG_ENABLE(time-check). By default, warning messages will now be printed for threads or commands that take longer than 5 seconds, but this configure argument can be used to disable the checks or change the threshold. * thread.h (thread_consumed_time): Declare new function to calculate elapsed microseconds. * thread.c (thread_consumed_time): Must be global not static so we can call it from lib/vty.c:vty_command. (thread_should_yield): Surround with `#if 0' to make clear that this function is not currently being used anywhere. (thread_call): If CONSUMED_TIME_CHECK is defined, print a CPU HOG warning message if the thread takes more than CONSUMED_TIME_CHECK microseconds. * vty.c (vty_command): If CONSUMED_TIME_CHECK is defined, print a CPU HOG warning message if the command takes more than CONSUMED_TIME_CHECK microseconds.
* 2005-04-16 Paul Jakma <paul.jakma@sun.com>paul2005-04-161-0/+4
| | | | * configure.ac: check for gawk, needed to build memtypes.h
* 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>nonblocking.zclient.beforeajs2005-04-111-7/+8
| | | | | | * configure.ac: Move AC_CANONICAL_* stuff before AM_INIT_AUTOMAKE to eliminate warning message about AC_ARG_PROGRAM being called before AC_CANONICAL_TARGET.
* 2005-04-11 Paul Jakma <paul.jakma@sun.com>paul2005-04-111-3/+11
| | | | | | | | | * configure.ac: Call AC_CANONICAL_{BUILD,TARGET} macros. Target isnt set otherwise, afaict. AC_SUBST enable_{user,group,vty_group} and quagga_statedir - the Solaris package bits for one need this. configure the solaris/ Makefile. * Makefile.am: solaris is a subdir - unconditional or else it wont be included in non-solaris made dists.