summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* tests: add initial support of unit testingValery Ivanov2022-03-121-0/+12
| | | | Signed-off-by: Valery Ivanov <ivalery111@gmail.com>
* configure: clang is a gnu compatible compilerJoachim Wiberg2021-07-201-1/+1
| | | | Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
* Fix some non-standard types to build with -std=c18Thomas Habets2019-10-211-1/+4
|
* Bump version for v1.3 release cycleJoachim Nilsson2019-10-191-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Update ChangeLog and bump version for v1.2 releasev1.2Joachim Nilsson2019-10-161-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Automate building of doc both from GIT and dist tarballJoachim Nilsson2019-10-151-0/+1
| | | | | | | | | From both GIT and dist tarball: - Build html and man automatically if enabled and doxygen is available - Install html and man if enabled and built successfully, skip otherwise Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Clean up generated man pages on distcheck and disable HTMLJoachim Nilsson2019-10-101-0/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Follow-up to c9c0de7: Make sure to generate doc/man/man1/MakefileJoachim Nilsson2019-10-101-0/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Restore distribution of generated man pagesJoachim Nilsson2019-10-101-0/+2
| | | | | | | | | - All generated content should be kept out of git - End users should not need to have doxygen installed - Manual pages should be included in dist tar/zip files, for downstream packagers and end-users Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Do not package or distribute map-pblock-typesSam Roberts2019-10-091-1/+0
|
* Bump version for v1.2-rc4v1.2-rc4Joachim Nilsson2019-10-091-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Check for FreeBSD pre-11 to detect SOCK_RAW behaviorJoachim Nilsson2019-10-081-7/+14
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* libnet-config.in: Restore old LIBNET_CONFIG_CFLAGS, for completenessJoachim Nilsson2019-10-071-0/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Revert "Remove libnet-config, replaced by pkg-config support"Joachim Nilsson2019-10-071-0/+1
| | | | | | | | This reverts the removal of libnet-config.in from commit b4063cc. The reason being it is easier to maintain it during a transitional period, for compatibility with existing projects. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Drop LIB@&t@OBJS + LTLIBOBJS computationJoachim Nilsson2019-10-061-18/+4
| | | | | | | | | "Nowadays the computation of LTLIBOBJS from LIBOBJS is performed automatically by autoconf ..." -- https://www.gnu.org/software/automake/manual/html_node/LTLIBOBJS.html Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Refactor if/case, m4sh:ificationJoachim Nilsson2019-10-061-114/+98
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Minor, cleanup and formattingJoachim Nilsson2019-10-061-40/+30
| | | | | | | | - Clean up unused variables/settings - Remove noisy non-m4 shell script that doesn't really test for anything - Fix formatting, too long lines and text formatting consistency Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Minor, update info for `./configure --version`Joachim Nilsson2019-10-061-2/+4
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Minor refactor, m4sh:ificationJoachim Nilsson2019-10-061-10/+3
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Minor, clean up formatting of configuration summaryJoachim Nilsson2019-10-061-16/+19
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Allow default CFLAGS="-O2 -g", use `make install-strip`Joachim Nilsson2019-10-061-4/+0
| | | | | | | | | | | | | We should not make assumptions about what are preferred CFLAGS. Let autoconf handle all that, unless the user has provided CFLAGS on the command line. Usually, when building a distribution package, you want debug symbols for a libnet-dbg (unstripped) and a libnet1 (stripped) package. Also, the user can always run `make install-strip` to get the stripped lib installed. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Minor, use # as comment instead of dnlJoachim Nilsson2019-10-061-38/+38
| | | | | | | | For noobs starting out with m4 'dnl' is one of the first questions. We can use '#' as comment char instead, which is a lot less intimidating, and (IMO) more readable. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Drop --enable-debug/--enable-fast, use CFLAGS insteadJoachim Nilsson2019-10-061-43/+0
| | | | | | | Simplify, it is recommended to not have implicit build flags and instead recommend users tweak CPPFLAGS and CFLAGS. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* configure: Revert to pre-1.2 behavior, don't build samples by defaultJoachim Nilsson2019-10-061-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Drop gratuitous EOF and end of fileJoachim Nilsson2019-10-061-2/+0
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Clean up documentation a bit; URLs, wording, personal details ...Joachim Nilsson2019-10-061-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Add missing required defines & libs to libnet.pc.inJoachim Nilsson2019-10-061-9/+9
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Remove __BSD_SOURCE and __FAVOR_BSD for Linux buildsJoachim Nilsson2019-10-051-5/+1
| | | | | | | __BSD_SOURCE has never existed, only _BSD_SOURCE __FAVOR_BSD is set when _BSD_SOURCE is defined Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Remove LIBNET_BSDISH_OS define, completely unused in source treeJoachim Nilsson2019-10-051-18/+4
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Remove all generated contentJoachim Nilsson2019-10-011-2/+0
| | | | | | | | Remove PDF and man pages from GIT and distribution. Generated content can be (re)created using doxygen, as it should. Also, the latest documentation is available online these days. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Remove html from dist, also remove from configure.acJoachim Nilsson2019-09-291-1/+0
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Relocate scripts/ to bin/ and .bat file to win32/Joachim Nilsson2019-09-291-13/+16
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Generate Doxyfile from configure script to handle out-of-tree buildsJoachim Nilsson2019-09-291-29/+10
| | | | | | | | | | - Relocate doc/libnet.doxygen.conf --> Doxgen.in - Clean up duplicate DX_INIT_DOXYGEN() from configure.ac - Simplify Makefile.am - Disable PDF and CHM files by default - ax_prog_doxygen.m4: Don't remove doc/ before building doc/ Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Fix doxygen buildJoachim Nilsson2019-09-281-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Always generate win32/Makefile, used for make dist targetJoachim Nilsson2019-09-281-1/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Merge branch 'master' of https://github.com/sgeto/libnet into sgeto-masterJoachim Nilsson2019-09-281-49/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore .travis.yml BUILD-FROM-GIT.txt Makefile.am Makefile.am.common Prepare acinclude.m4 autogen.sh configure.ac doc/html/Makefile.am doc/html/closed.png doc/html/globals_func.html doc/html/tab_s.png doc/libnet.doxygen.conf doc/man/Makefile.am doc/man/man3/Makefile.am doc/man/man3/libnet-functions.h.3 doc/man/man3/libnet-macros.h.3 include/libnet.h include/libnet/Makefile.am libnet/acinclude.m4 libnet/libnet-config.in libnet/m4/acinclude.m4 lua/Makefile lua/msvcbuild.bat sample/Makefile.am scripts/Push src/libnet_link_win32.c win32/Makefile.am
* configure.ac: Update project URLJoachim Nilsson2019-09-281-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Use standard autotools doxygen support.Barak A. Pearlmutter2019-09-281-1/+22
| | | | | | | | | | | | Generation of PDF doxygen documentation is enabled by default, can be disabled with $ ./configure --disable-doxygen-pdf This uses ax_prog_doxygen.m4 which is part of the GNU autoconf archive. A copy of /usr/share/aclocal/ax_prog_doxygen.m4 is put in m4/ This is invoked in configure.ac, and requires a macro in Makefile.am
* Include URL in configure.ac call to AC_INIT.Barak A. Pearlmutter2019-09-281-1/+1
|
* Add section header for header section to configure.ac.Barak A. Pearlmutter2019-09-281-0/+4
|
* Accept result of autoupdate.Barak A. Pearlmutter2019-09-281-5/+2
|
* Remove deprecated AM_MAINTAINER_MODE from configure.ac.Barak A. Pearlmutter2019-09-281-1/+0
| | | | | | | | | | | See www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html#maintainer_002dmode for the rationale. Summary: ... François Pinard pointed out several arguments against this ... macro ... Jim Meyering, the inventor of the AM_MAINTAINER_MODE macro was swayed by François’s arguments, and got rid of AM_MAINTAINER_MODE in all of his packages.
* Remove deprecated NO_SNPRINTFdohnuts2019-09-251-4/+2
|
* Remove libnet-config, replaced by pkg-config supportJoachim Nilsson2019-09-241-1/+1
| | | | | | Fixes https://github.com/libnet/libnet/issues/45 Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Add a libnet.pc for pkg-config, to replace libnet-configJoachim Nilsson2019-09-241-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Move libnet/ content to top of git repoSam Roberts2019-09-231-0/+321
1. Moved scripts into libnet/scripts/, moved debian/ into libnet/, and other top-level content into libnet/. 2. Moved libnet/* up to ./