| Age | Commit message (Collapse) | Author | 
 | 
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
 | 
 | 
The autoconf version can just loop forever, abort instead.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
As found in the GNU autoconf archive
https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
Using `\s` to match whitespace is not portable, use `[[:space:]]`
instead.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
Only the embed version includes necessary linker flags to link
with libpython.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
 | 
 | 
The file m4/ax_lua.m4 needs to be a part of distribution, but it is not
inluded in the git repository by default becuase .gitignore file has a
wildcard for all *.m4 files, while individual files that must _not_ be
ignored are listed one by one as exceptions. ax_lua.m4 needs to be added
to this list of exceptions too.
One failure scenario is when you put a snapshot of the source tree in a
new git repository (e.g. the one used for a local CI/CD), this file is
not included in the repository, and subsequently build fails.
This commit adds the exception into m4/.gitignore file
Signed-off-by: Eugene Crosser <crosser@average.org>
 | 
 | 
Signed-off-by: Christian Hopps <chopps@labn.net>
 | 
 | 
The preprocessor is something configure can invoke.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
aka the "put shit into a subdirectory" option
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
One of the configure-time test programs produces a warning with
gcc 9 (at least), so it fails if -Werror is enabled. Fix that.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
 | 
 | 
This way we can find every python from 3.8 further
Signed-off-by: Michal Ruprich <michalruprich@gmail.com>
 | 
 | 
Also try explicit 3.9 & 3.10.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
Fixes detection of python on OpenBSD
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
 | 
 | 
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>
 | 
 | 
In python-3.8, the --embed needs to be added to pythonX.Y-config
Signed-off-by: Michal Ruprich <michalruprich@gmail.com>
 | 
 | 
Signed-off-by: David Lamparter <equinox@diac24.net>
 | 
 | 
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>
 | 
 | 
Signed-off-by: David Lamparter <equinox@diac24.net>
 | 
 | 
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>
 | 
 | 
The variable name is not exactly the most helpful thing there.
Signed-off-by: David Lamparter <equinox@diac24.net>
 | 
 | 
Signed-off-by: David Lamparter <equinox@diac24.net>
 | 
 | 
Flatten {m4,pkgsrc,python,redhat,snapcraft}/Makefile.am into the main
one.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
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>
 | 
 | 
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
 | 
 | 
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
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>
 | 
 | 
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>
 | 
 | 
 | 
 | 
* ChangeLog: Add back a dummy, top-level ChangeLog
	* m4/Makefile.am: remove ChangeLog from EXTRA_DIST, why it was
	  listed there, who knows.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
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.
 | 
 | 
with CVS trees.
 | 
 | 
 | 
 | 
* 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.)
 | 
 | 
* *.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.
 |