summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2005-04-162005-04-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* 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-162005-04-16 Paul Jakma <paul.jakma@sun.com>paul
* configure.ac: check for gawk, needed to build memtypes.h
2005-04-112005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* 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-112005-04-11 Paul Jakma <paul.jakma@sun.com>paul
* 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.
2005-04-102005-04-10 Paul Jakma <paul.jakma@sun.com>paul
* configure.ac: Fix host string recognition for Solaris Nevada aka solaris2.10.1, and hopefully future such strings.
2005-04-072005-04-07 Paul Jakma <paul.jakma@sun.com>paul
* (global): Fix up list loops to match changes in lib/linklist, and some basic auditing of usage. * configure.ac: define QUAGGA_NO_DEPRECATED_INTERFACES * HACKING: Add notes about deprecating interfaces and commands. * lib/linklist.h: Add usage comments. Rename getdata macro to listgetdata. Rename nextnode to listnextnode and fix its odd behaviour to be less dangerous. Make listgetdata macro assert node is not null, NULL list entries should be bug condition. ALL_LIST_ELEMENTS, new macro, forward-referencing macro for use with for loop, Suggested by Jim Carlson of Sun. Add ALL_LIST_ELEMENTS_RO for cases which obviously do not need the "safety" of previous macro. LISTNODE_ADD and DELETE macros renamed to ATTACH, DETACH, to distinguish from the similarly named functions, and reflect their effect better. Add a QUAGGA_NO_DEPRECATED_INTERFACES define guarded section with the old defines which were modified above, for backwards compatibility - guarded to prevent Quagga using it.. * lib/linklist.c: fix up for linklist.h changes. * ospf6d/ospf6_abr.c: (ospf6_abr_examin_brouter) change to a single scan of the area list, rather than scanning all areas first for INTER_ROUTER and then again for INTER_NETWORK. According to 16.2, the scan should be area specific anyway, and further ospf6d does not seem to implement 16.3 anyway.
2005-04-03 * configure.ac: Fix AC_LANG_SOURCE usage. It needs double squarehasso
brackets around source. Single ones broke square brackets in the code (arrays).
2005-04-03 * configure.ac: Use AC_RUN_IFELSE instead of obsolete AC_TRY_RUN macrohasso
and define action for cross-compiling. [backport candidate]
2005-04-02 * configure.ac: Add --enable-isis-topology to enable isisd topologyhasso
generator code. * isisd/Makefile.am: Variables to handle conditonal compiling of topology generator code. * isisd/isis_lsp.c: lsppdu_realloc() is used by topology generator. * isisd/isisd.c: Rename show_isis_topology_cmd to not conflict the one in the isis_spf.c. * isisd/isisd.h: Remove TOPOLOGY_GENERATE define, it will be defined in toplevel config.h if topology generator is enabled. * isisd/topology/Makefile.am: Handle the libtoolized Quagga libraries.
2005-04-022005-04-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Add strnlen to AC_CHECK_FUNCS. * zebra.h: Should include str.h to pick up missing functions. * str.h: Declare strnlen if needed. * str.c: Do not include str.h since zebra.h now includes it. (strnlen) New function.
2005-03-28 * configure.ac, */Makefile.am: Fix previous commit. SNMP includeshasso
must be after lib/ includes in some systems. Introduce SNMP_INCLUDES for that.
2005-03-27 * configure.ac: Fix most of "Presents But Cannot Compiled" warningshasso
about various headers. CFLAGS is not correct place to specify includes, INCLUDES is for that.
2005-03-27 * configure.ac: Add Intel compiler (icc) support. Although Intelhasso
tries really hard to make icc look like gcc, there are some differences. It's very verbose with -Wall and it doesn't support the individual -W options. We are going to ignore some of these warnings.
2005-03-252005-03-25 Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>vincent
* Extensions to Neighbor Discovery for Mobile IPv6
2005-03-122005-03-12 Paul Jakma <paul.jakma@sun.com>paul
* configure.ac: Solaris 8 can use the newer lifreq based methods too, allows IPv6.
2005-02-19 * configure.ac: Fix Linux detection. Host types like i686-pc-linuxhasso
didn't match the pattern. Fixes bugzilla #150. [backport candidate]
2005-01-242005-01-24 Paul Jakma <paul@dishone.st>paul
* configure.ac: Bump version to 0.99.0 * doc/quagga.info: Version bump (autogenerated)
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Test for header file <ucontext.h> (for use in signal processing). * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to pass additional siginfo_t and ucontext_t arguments to core_handler and exit_handler. (core_handler,exit_handler) Now invoked with 3 arguments (using SA_SIGINFO). Pass additional info to zlog_signal. (program_counter) New function to find program counter in ucontext_t, needs to be enhanced to support more platforms (currently works only on Linux/x86). * log.h: Change the zlog_signal prototype to add new arguments siginfo_t * and program_counter. * log.c: (zlog_signal) Add new arguments siginfo and program_counter. Include si_addr and program counter (if non-NULL) in message. And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since that is now used to render the si_addr and PC pointers.
2005-01-122005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: If configure is invoked with --enable-snmp, but the configure script is unable to find SNMP support on the platform, then configure should give an error message and exit.
2005-01-072005-01-07 Paul Jakma <paul@dishone.st>paul
* configure.ac: Bump version to 0.98.0 * doc/quagga.info: Version bump (autogenerated)
2005-01-052005-01-05 Paul Jakma <paul@dishone.st>paul
* configure.ac: Bump version to 0.97.5 * doc/quagga.info: autogenerated, version bump.
2005-01-04minor fix to HAVE_BROKEN_CMSG_FIRSTHDR support: use AC_MSG_CHECKINGgdt
etc. so configure output shows the choice we made. (Andrew: please recheck on a buggy system; it configures/compiles fine on NetBSD.)
2005-01-042005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Added test for broken CMSG_FIRSTHDR macro (relevant for Solaris 8 and unpatched Solaris 9, don't know whether other platforms are affected). * zebra.h: Define ZCMSG_FIRSTHDR appropriately based on whether config.h indicates HAVE_BROKEN_CMSG_FIRSTHDR (as determined by the configure test program). * sockopt.c: (getsockopt_cmsg_data) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * ripngd.c: (ripng_recv_packet) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
2004-12-292004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Add new option --enable-gcc-rdynamic to link with -rdynamic.
2004-12-232004-12-23 Paul Jakma <paul@dishone.st>paul
configure.ac: Bump version to 0.97.4 doc/quagga.info: ditto (autogenerated file)
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* configure.ac: Add a define for DAEMON_VTY_DIR in config.h.
2004-12-222004-12-22 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs
* {configure.ac,Makefile.am}: Build watchquagga by default.
2004-11-19Make quagga.info in cvs actually useful for those who haven't latesthasso
makeinfo: * Don't attempt to generate it after every ./configure. * Don't remove it while cleaning up.
2004-11-12- urg, fix the missing close bracket from previous commitpaul
2004-11-122004-11-12 Paul Jakma <paul@dishone.st>paul
* configure.ac: Fix AC_CONFIG_FILES, the chmod seems to run for every input file, should be only be for vtysh/extract.pl, so that should be a seperate AC_CONFIG_FILES.
2004-11-082004-11-08 Paul Jakma <paul@dishone.st>paul
* configure.ac: bump version to 0.97.3, release imminent.
2004-11-072004-11-06 Paul Jakma <paul@dishone.st>paul
* configure.ac: Arguments to AC_OUTPUT is deprecated, use AC_CONFIG_FILES instead. Rearrange the order slightly to put the Makefiles first (silly aesthetic thing, dont know why I had to do this ;) ). Add doc/defines.texi to the list. * NEWS: bgp route-server support added, refer to docs. * update-autotools: call automake with --add-missing and --copy, former is important for obvious reasons, latter for dist files, and --gnu to enable whatever extra goodness checks. * {depcomp, install-sh, missing}: removed, auto-generated files.
2004-10-222004-10-23 Paul Jakma <paul@dishone.st>paul
* configure.ac: bump version to 0.97.2, release imminent.
2004-10-222004-10-22 Paul Jakma <paul@dishone.st>paul
* configure.ac: fix up enable help alignment slightly Add --enable-gcc-ultra-verbose to set various gcc warnings which should one day be fixed but are not serious problems or which could be false-positives.
2004-10-112004-10-11 Paul Jakma <paul@dishone.st>paul
* bump version to 0.97.1, release imminent.
2004-10-072004-10-07 Paul Jakma <paul@dishone.st>paul
* bump version to 0.97.0, release imminent.
2004-10-072004-10-07 Greg Troxel <gdt@sunpal7.mit.edu>gdt
* configure.ac: remove -Wpacked; 2.95.3 doesn't support it.
2004-10-05Even my time is limited :).hasso
2004-09-302004-09-30 Paul Jakma <paul@dishone.st>paul
* Update default CFLAGS for gcc to keep Hasso busy.
2004-09-13Disable isisd compiling by default. It compiles only in Linux and FreeBSDhasso
and works only in Linux ;(.
2004-09-132004-09-13 Paul Jakma <paul@dishone.st>paul
* configure.ac: capitalise the package name. autoconf lowercases it for PACKAGE_TARNAME. * lib/command.c: Update the copyright string in the default motd.
2004-08-312004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt
* Makefile.am (EXTRA_DIST): New - just has EXTRA_DIST. (Using a directory in EXTRA_DIST in the parent was causing 'make dist' to fail.) (Now m4/Makefile* is first-class and included from top level.)
2004-08-312004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt
* Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir.
2004-08-27Add start/stop scripts for the rc.d framework used bygdt
pkgsrc (NetBSD and others). Contributed by Miles Nordin.
2004-08-26It hurts my eye every time configure finishes job :).hasso
2004-08-192004-08-19 Paul Jakma <paul@dishone.st>paul
* Makefile.am: add m4 directory to EXTRA_DIST, and define ACLOCAL_AMFLAGS to have aclocal pull in m4/ * configure.ac: AM_PROG_LIBTOOL should be AC_PROG_LIBTOOL * update-autotools: print a warning that this script is deprecated
2004-07-262004-07-26 Paul Jakma <paul@dishone.st>paul
* configure.ac: reenable tests/Makefile * tests/Makefile.am: automake file for tests dir * tests/.cvsignore: update
2004-07-23(somewhat unrelated cleanups, but all are very minor)gdt
2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com> * */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir -lfoo", to avoid linking against installed libraries from a previous version. * {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared library version number to be 0.0 * configure.ac: remove spurious , so extract.pl is chmod'd +x. * HACKING: explain shared library versioning rules
2004-07-222004-07-22 Paul Jakma <paul@dishone.st>paul
* configure.ac: modify default CFLAGS to be compiler agnostic build Makefile for tests/ subdir.
2004-06-30Add libtool support.gdt
libzebra and libospfapiclient are now built shared, and linked shared with the daemons. This reduces the memory needed when running multiple daemons; each daemon is at least 150k smaller. Static libraries are still built, and libtool should use them on platforms which don't have shared libaries. As with autoconf, the user of a distribution does not need libtool; one just needs that to build from CVS. libospf.a is still a non-shared library, and still installed, not because that makese sense, but because I don't understand why it is the way it is now. Note that the tree was tagged 'libtool-before' just before this commit.