summaryrefslogtreecommitdiffstats
path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: fix shell == mis-useDavid Lamparter2020-01-171-1/+1
| | | | | | | The "test" program uses =, not ==. A lot of shells accept == as an extension, but not all do and it's technically out of spec. Signed-off-by: David Lamparter <equinox@diac24.net>
* build: add check for python-3.8Michal Ruprich2019-08-141-1/+5
| | | | | | In python-3.8, the --embed needs to be added to pythonX.Y-config Signed-off-by: Michal Ruprich <michalruprich@gmail.com>
* build: refactor & revamp python autoconf logicDavid Lamparter2019-06-042-0/+285
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* build: fix Lua buildQuentin Young2019-05-101-0/+664
| | | | | | | | | | | | | | | | | | Each of Lua's major versions are incompatible with each other. Ubuntu, at least, does not provide a single liblua.so or /usr/include/lua; all SOs and headers are versioned, e.g. liblua5.3.so and /usr/include/lua5.3. There's already an m4 macro in the GNU collection to handle this situation, so let's use that. This allows building with Lua enabled to work on platforms other than Fedora. * Move lib/lua.[ch] -> lib/frrlua.[ch] to prevent path conflicts * Fix configure.ac search for proper CPP and linker flags * Add Lua include path to AM_CPPFLAGS * Update vtysh/extract.pl.in Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: spelchekDavid Lamparter2018-10-251-1/+1
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* build: add --enable-static-bin optionDavid Lamparter2018-10-012-0/+19
| | | | | | | | | This option can be used to get statically linked binaries. Note: libfrr.la is removed from modules' library dependency list. This is intentional and explained in a comment in lib/subdir.am. Signed-off-by: David Lamparter <equinox@diac24.net>
* build: make pkgconfig configure output usefulDavid Lamparter2018-09-081-1/+1
| | | | | | The variable name is not exactly the most helpful thing there. Signed-off-by: David Lamparter <equinox@diac24.net>
* *: cleanup .gitignore filesDavid Lamparter2018-09-081-6/+6
| | | | Signed-off-by: David Lamparter <equinox@diac24.net>
* build: non-recursive auxiliary directoriesDavid Lamparter2017-07-311-1/+0
| | | | | | | Flatten {m4,pkgsrc,python,redhat,snapcraft}/Makefile.am into the main one. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: find & use threading libraryDavid Lamparter2017-03-312-1/+334
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: include copy of pkg.m4, fix invocationDavid Lamparter2017-01-181-0/+214
| | | | | | | | | | | pkg.m4 will be missing on systems that don't have pkg-config installed; this renders the point of the configure check moot which is to find pkg-config... Also, PKG_PROG_PKG_CONFIG should be invoked unconditionally as described in https://autotools.io/pkgconfig/pkg_check_modules.html Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: check if the LibXML perl module is availableRenato Westphal2017-01-091-0/+77
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* build: check flex >= 2.5.20 is availableDavid Lamparter2016-12-161-0/+177
| | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: fix "pragma weak" mixupsDavid Lamparter2013-02-091-13/+9
| | | | | | | | | | | | | Not only was there a minor typo in the "pragma weak" preprocessor checks, but also were the tests not behaving as needed - they only indicated support for the /first/ method of implementing weak aliases, which on Linux is __attribute__ and not #pragma. * m4/ax_sys_weak_alias.m4: set defines for _all_ weak alias methods * zebra/kernel_null.c: fix typo Cc: Doug VanLeuven <roamdad@sonic.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* testzebra: pragma weak: detect systems with weak alias and provide alternativeDoug VanLeuven2013-01-111-0/+337
| | | | | | | | | | | | | | | | | LLVM clang does not support #pragma weak (bug 3679) on OS X. There are other systems where the #pragma weak has varying syntax. Added m4 file from the autoconf archives: http://www.gnu.org/software/autoconf-archive/ax_sys_weak_alias.html Fix up zebra/*_null.c files to use #pragma weak alias or stub functions if not available. It's incomplete in that the different format #pragma enable easier fixes on need. Tested on 64bit OS X 10.7, FreeBSD 9.0 amd64 & i386 (32bit) using gcc & clang. Tested on linux 64bit. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* build: delete .cvsignore filesDenis Ovsienko2011-12-131-4/+0
|
* [trivia] Make 'make dist' happy about ChangeLog expungePaul Jakma2008-08-231-1/+1
| | | | | | * ChangeLog: Add back a dummy, top-level ChangeLog * m4/Makefile.am: remove ChangeLog from EXTRA_DIST, why it was listed there, who knows.
* [administrivia] Git should ignore backup files and .loT filesPaul Jakma2008-08-221-0/+3
|
* [trivia] Remove ChangeLog files, as this data is now maintained in SCMPaul Jakma2008-08-221-16/+0
|
* [administrivia] Add .gitignore files, based on .cvsignores.Paul Jakma2008-08-221-0/+4
|
* remove crufty m4 files from 2004. With the files, autoheader (2.61)Greg Troxel2007-02-038-6874/+6
| | | | | | | | bombs on NetBSD. (Without, all is ok. We may need workarounds, but first we should identify minimum tool versions and figure out what's still wrong.) ok'd by paul.
* - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use archpaul2004-11-021-0/+2
| | | | with CVS trees.
* Ignore generated files.hasso2004-09-011-0/+2
|
* 2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-08-312-0/+7
| | | | | | | * 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-19 Paul Jakma <paul@dishone.st>paul2004-08-198-0/+6896
* *.m4: import of libtool CVS m4 autoconf files. These only configure libtool support for languages where configure has already called AC_PROG_<lang>, less fragile. * README.txt: doc file for contents of this directory.