summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure: abort when pkg-config isn't foundUwe Kleine-König2018-05-171-0/+1
| | | | | | | | | | | | | | | | When pkg-config isn't installed ./configure fails in the end with: error: Cannot find ncurses library. way after checking for pkg-config... no . Instead break immediatly if pkg-config isn't found to make it easier for people installing ptxdist to diagnose the actual problem. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: Add more checks, recommended by autoscanClemens Gruber2017-11-161-0/+25
| | | | | | | | | Checks recommended by autoscan (taken from configure.scan) Only the PROG checks were ommitted, because of the already existing GNU tools checks. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: Use pkg-config for ncurses detectionClemens Gruber2017-11-161-7/+20
| | | | | | | | | | | Use pkg-config to detect ncurses instead of AC_SEARCH_LIBS. We still have a --with-ncurses option to prepend the search path of the ncurses headers. The CFLAGS from pkg-config are always appended, as they not only contain -I but also -D flags. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: clarify doc generationMichael Olbrich2016-09-021-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add support for mktemp-gnu toolKirill Smirnov2016-06-141-1/+1
| | | | | | | This fixes configure on Slackware. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* generate basic man-pageMichael Olbrich2015-12-031-0/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* docs: extract ptxdist version when building the documentationMichael Olbrich2015-12-031-1/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Add documentation supportJuergen Borleis2015-12-031-0/+9
| | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* Try to handle the version number to identify the PTXdist releaseJuergen Borleis2015-12-031-0/+2
| | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* configure: update needed bash versionptxdist-2015.09.0Michael Olbrich2015-09-231-2/+2
| | | | | | | At least bash version 4.2 is needed for 'exec {readfd}< "${fifo}"' in scripts/lib/ptxd_make_serialize.sh Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: search for GNU touchMichael Olbrich2014-11-131-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: sort coreutils checksMichael Olbrich2014-11-131-9/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: consolidate compiler checksAndreas Bießmann2014-04-231-15/+5
| | | | | | | | | Remove redundant check for GCC and move compiler checks to the beginning. Before the AC_HEADERS_STDC checked for compilers implicitly and later on we checked again explicitly for them. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: search for GNU lnAndreas Bießmann2014-04-211-0/+1
| | | | | | | | | Commit e9b63339f6377df5d15feb4bd0685bb49a675593 broke ptxdist on machines with BSD ln in $PATH. The introduced -T switch is not known to BSD variant and therefore the ln command stops with error. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: search for GNU mktempAndreas Bießmann2014-04-211-6/+1
| | | | | | | | | | | | | | | | | | | | Commit d35a034a99d4bd6053dfe4bd9b1e2169b951430e broke ptxdist on machines with BSD mktemp in $PATH. The introduced -t switch is different in BSD variants and therefore the resulting path is somethink like ---8<--- % mktemp -t -d ptxdist.XXXXXX /var/folders/mp/g80tgyd55bbc9vqjp9zd20600000gp/T/-d.bQehko2k ptxdist.gaZrCM --->8--- which is obviously wrong. Prevent that by providing always the GNU mktemp variant in $PATH. Also remove the now redundant check for installed mktemp. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: use Python instead python everywhereAlexander Aring2014-04-211-5/+5
| | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: check for python2 binary as wellAlexander Aring2014-04-211-1/+1
| | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: add check for python 2.x versionAlexander Aring2014-04-211-0/+12
| | | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> [mol: change check message] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Buildsystem: clarify configure's error messageJuergen Beisert2013-08-071-1/+1
| | | | | | | The current configure's error message is confusing as it seems to request for a patch instead for the patch tool. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* configure.ac: change regex for sed versionptxdist-2013.01.0Alexander Aring2013-01-081-1/+1
| | | | | | | | | | | | | | | | | Change regex for sed version in configure.ac. This regex will match only on the first line and doesn't look for a 'version' pattern which is not available in sed version 4.2.2. The new regex will match in the first line of 'sed --version' in a pattern which starts with random character sequence(or zero) followed by whitespace character and several digits of pattern x.x....x which x is a number. This pattern will be save in the SED_VERSION variable. Signed-off-by: Alexander Aring <alex.aring@gmail.com> [mkl: add match for GNU in regex] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* configure.ac: ask python for the path to its MakefileMichael Olbrich2012-12-111-2/+2
| | | | | | | The old check fails on multi-arch distributions because the Makefile is in .../config-<gnu-triple>/ instead of .../config/ Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'tty' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-6/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Find: ensure the 'file' command is always foundJuergen Beisert2012-06-131-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'xargs' is from findutils. So, handle it like all other findutils toolsJuergen Beisert2012-06-131-13/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'cat' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-6/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'dirname' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-6/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* 'sort' is from coreutils. So, handle it like all other coreutil toolsJuergen Beisert2012-06-131-6/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Don't check for 'readlink' twiceJuergen Beisert2012-06-131-6/+0
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Don't check for 'install' twiceJuergen Beisert2012-06-131-6/+0
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Fix: use the 'find' utility which was already detected as the correct oneJuergen Beisert2012-06-131-1/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Don't check for 'find' twiceJuergen Beisert2012-06-131-6/+0
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Sed: prefer the GNU sed tool to do the configure jobJuergen Beisert2012-06-131-1/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Core CPU count detection: do not rely on a fixed path to the 'sysctl' toolJuergen Beisert2012-06-131-0/+3
| | | | | | | | Using a fix path is a bad idea. Lets 'configure' search for the tool and use it as is. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: remove executable bitMarc Kleine-Budde2012-05-081-0/+0
| | | | | | | In patch "bb25319 configure.ac: Check for GNU find" the executable bit of configure.ac was set, this patch removes this. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* configure.ac: Check for GNU findBernhard Walle2012-04-081-0/+1
| | | | | | | | | | | | One of the specialities of GNU find over BSD find is that you can omit the path before providing options. This means that "find -name bla" is equivalent with "find . -name bla". Busybox exposes that behaviour. So check for GNU find to be on the safe side, and also add the symlink in the installation directory once we found it. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: Improve curses searchingLadislav Michl2012-03-141-16/+7
| | | | | | | | | | This is a resend of an older patch: http://www.mail-archive.com/ptxdist@pengutronix.de/msg03400.html Cygwin-1.7 places curses headers into /usr/include/ncurses. Tested on Debian, MinGW with pdcurses and Cygwin. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: Check for GNU readlinkBernhard Walle2012-03-131-0/+1
| | | | | | | | | | | | | | | | ptxdist heavily uses "readlink -f" which only works with GNU readlink. So add the usual check here. However, because "readlink -f" is also used before the symlinks in the ptxdist directory is added to the PATH, that "readlink -f" call is replaced by a bash-only implementation. This one is inspired from http://mailman.archlinux.org/pipermail/pacman-dev/2009-February/008130.html. Tested on Mac OS 10.7. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> [mol: fixed some more quoting] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: Check for GNU tarBernhard Walle2012-03-061-22/+19
| | | | | | | | | | | | | ptxd_make_world_extract uses the option --remove-files which is a GNU extension to tar. Because GNU tar is not in GNU coreutils, I changed the GNU_COREUTILS macro to GNU_TOOL and added a second parameter: the package where the tool is found. I think that's better than providing a new macro just for GNU tar. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: Check for GNU mknodBernhard Walle2012-03-061-0/+1
| | | | | | | | We need that because scripts/lib/ptxd_make_xpkg_pkg.sh uses the -m parameter of mknod which doesn't exist in BSD mknod. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU mkdir checkAndreas Bießmann2012-02-081-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU chown checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU stat checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU rmdir checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU install checkAndreas Bießmann2012-01-191-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure: add GNU coreutils version of cpAndreas Bießmann2012-01-041-0/+1
| | | | | | | Some places require GNU version of cp, add a link to sufficient version. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add python to environmentAndreas Bießmann2011-12-021-1/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add awk to environmentAndreas Bießmann2011-12-021-0/+1
| | | | | Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* configure.ac: add check for GNU coreutilsAndreas Bießmann2011-12-021-0/+14
| | | | | | | | | Some scripts require GNU coreutils (especially the -- argument split is problematical on some BSD systems). This patch adds a macro to detect GNU coreutils version of these tools. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [autoconf] be stricter when looking for ncursesMichael Olbrich2010-12-231-1/+21
| | | | | | | | | Some distributions seem to have /usr/include/ncurses.h but the other headers are in /usr/include/ncurses/. This makes sure that menu.h is found as well and adds an option to configure with --with-ncurses=/usr/include/ncurses/. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: enable building nconf and add option to use itMichael Olbrich2010-11-171-0/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>