aboutsummaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* m4/ctng_python.m4: Use AC_PATH_PROGS for full pathChris Packham2023-11-021-1/+1
| | | | | | | | | | | | | | | We use the information from various configure time checks to populate paths.sh. The paths used are all absolute except for the python binary. In the switch to a more comprehensive check for python by commit fa05153e ("Make checking for python more predictable.") we ended up using AC_CHECK_PROGS which checks for the program on the path and sets the variable to the name of the program. This makes python inconsistent with the other programs and seems to cause problems for MSYS2. Use AC_PATH_PROGS instead which does the same check but sets the variable to the absolute name of the program Fixes #2047 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* m4/ctng_python.m4: Fix up URLChris Packham2023-11-021-1/+1
| | | | | | Seems to be the victim of an overzealous search and replace. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Make checking for python more predictable.Bryan Hundven2023-03-162-0/+128
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Fix `--with-ncurses` not working on Arch LinuxPavel Grigorenko2022-11-211-0/+3
| | | | | | | | | | | | | Reverts the changes introduced to `m4/ax_with_curses_extra.m4` in 59b664806c55dc1e5878448be2536fe110944f62, which seem to make `cofigure` look only for `ncursesw/panel.h` and not consider `panel.h` as a candidate, thus causing `./configure` to fail with "error: panel library not found" on systems (such as Arch Linux) where ncurses headers are not put under the `ncursesw/` directory. Signed-off-by: Pavel Grigorenko <grigorenkopv@ya.ru>
* Update copied m4 files and READMEBryan Hundven2022-10-2712-318/+604
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Switch AC_PROG_YACC to AX_PROG_BISONBryan Hundven2022-10-271-0/+64
| | | | | | | AC_PROG_YACC is kinda buggy. Switch to AX_PROG_BISON from autoconf-archive. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Reapply b34137Alexey Neyman2019-03-141-0/+3
| | | | | | | ... which fixes <panel.h> detection on Alpine Linux (which has ncursesw but installs it into plain /usr/include). Signed-off-by: Alexey Neyman <stilor@att.net>
* CentOS6 cannot use newer GDB releasesAlexey Neyman2019-03-053-4/+949
| | | | | | | | | ... unless one retrofits it with a decent compiler instead of stock GCC 4.4. While here, sync up the ax_*.m4 with autoconf-archive. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman2019-03-021-2/+2
| | | | | | | | | | | | - Force building make as a companion tool if host make is older than 4.0 (CentOS 7 currently has 3.82) - Disable 2.29 as a choice if host python is older than 3.4 (CentOS 7 has 2.6 unless python from EPEL is installed) - Python2 emits its version information to STDERR. Ugh. While there, also use the detected host Python for GDB configuration. Signed-off-by: Alexey Neyman <stilor@att.net>
* Run version check via evalAlexey Neyman2019-01-281-1/+1
| | | | | | | | ... otherwise it fails for autoconf/automake; for some reason, newer Ubuntu 18.10 adds extra quoting around '${SHELL}' in $ac_cv_path_AUTOCONF. Signed-off-by: Alexey Neyman <stilor@att.net>
* Consider it success if DoForceRmdir removes only the contentAlexey Neyman2018-12-011-35/+0
| | | | | | Fixes #929. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add checking for *sum and unzipAlexey Neyman2018-04-294-16/+67
| | | | | | | Also improve logging (add an ability to log commands/files/environment variables to config.log) Signed-off-by: Alexey Neyman <stilor@att.net>
* modified ax_with_curses_extra.m4 to have better regocnition of <panel.h>Xavier Loose2018-04-141-0/+3
|
* Fix install --strip-program check after mergeAlexey Neyman2018-04-073-16/+49
| | | | | | Also, fix the use of AC_CACHE_CHECK in stat format checker. Signed-off-by: Alexey Neyman <stilor@att.net>
* Cleanup after rebase on master:Alexey Neyman2018-04-071-21/+0
| | | | | | gperf detection macros no longer needed, gperf is not used anymore. Signed-off-by: Alexey Neyman <stilor@att.net>
* WIP: autotoolizationAlexey Neyman2018-04-071-9/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Simplify the macro for checking stat flavor a bitAlexey Neyman2018-04-072-4/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use autoconfig-archve/automake testsAlexey Neyman2018-04-0714-2/+3168
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Split local helper macros into separate m4'sAlexey Neyman2018-04-079-0/+195
... which are then picked up via aclocal. Signed-off-by: Alexey Neyman <stilor@att.net>