aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: Check that patch supports --no-backup-if-mismatchChris Packham2022-01-101-0/+6
| | | | | | | | | BSD patch does not support --no-backup-if-mismatch. When we detect patch check that it supports the option we use. Fixes: #1577 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* linux: Add dependency on rsync for Linux >= 5.3Chris Packham2021-11-301-0/+4
| | | | | | | | | | | As of Linux v5.3 rsync is used as part of the build process. Add Linux 5.3 as a milestone, configure detection of rsync and a dependency on rsync for Linux 5.3 and newer. Add a comment in so that users can tell why they can't select a newer version. Fixes #1628 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* configure.ac: Silence make output when building ct-ngChris Packham2021-02-011-0/+1
| | | | | | Set AM_SILENT_RULES([yes]) to reduce the verbosity from make by default. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add picolibc support [v2]Keith Packard2020-09-011-0/+8
| | | | | | | | | | | | This adds support for using picolibc instead of newlib on embedded systems. Signed-off-by: Keith Packard <keithp@keithp.com> v2: Add check for meson and ninja Sync option default values with current picolibc defaults Remove xtensa sys header file install as those aren't in picolibc
* Allow GNU gettext v0.19.7, which is in Ubuntu 16.04 LTSJoachim Nilsson2019-05-211-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* CentOS6 cannot use newer GDB releasesAlexey Neyman2019-03-051-0/+3
| | | | | | | | | ... 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>
* Meet our new companion tool, bisonAlexey Neyman2019-03-041-1/+6
| | | | | | | Which is here courtesy of CentOS6, which only has bison 2.4 - while new glibc requires 2.7. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman2019-03-021-0/+22
| | | | | | | | | | | | - 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>
* Make lzip an optional dependencyAlexey Neyman2019-02-281-1/+12
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Check for lzip (some archives are lzipped)Alexey Neyman2019-02-131-0/+1
| | | | | | | | Ideally, we should just skip the archives for which we don't have the utilities; let's leave it until I convert the "trivial checks" part of crosstool-NG.sh into a separate configure script. Signed-off-by: Alexey Neyman <stilor@att.net>
* added the version 5 to the check of bash versionsStephan Conrad2019-01-151-1/+1
| | | | Signed-off-by: Stephan Conrad <stephan@conrad.pics>
* Consider it success if DoForceRmdir removes only the contentAlexey Neyman2018-12-011-2/+0
| | | | | | Fixes #929. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add DTC as a companion toolAlexey Neyman2018-11-281-0/+3
| | | | | | (needed for cross-gdb targeting the moxie-* targets) Signed-off-by: Alexey Neyman <stilor@att.net>
* Still need to check for libtool presenceAlexey Neyman2018-11-091-2/+2
| | | | | | ... as kconfig depends on it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add an override for bisonRoman Bolshakov2018-11-071-1/+1
| | | | | | | | glibc build requires GNU bison >= 2.7 but Apple ships bison 2.3. If we provide an override for GNU bison it should be possible to use a version from homebrew. Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
* Add a "which" dependency into the configure scriptAnton Maklakov2018-11-051-0/+1
|
* Accept any libtool versionAlexey Neyman2018-10-271-1/+1
| | | | | | | ct-ng will build its own version if a recent enough version is not detected. Signed-off-by: Alexey Neyman <stilor@att.net>
* Check for `file` presence (missing in default CentOS7)Alexey Neyman2018-10-221-0/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use git-version-gen to generate version infoAlexey Neyman2018-06-061-9/+1
| | | | | Suggested-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* Add checking for *sum and unzipAlexey Neyman2018-04-291-10/+24
| | | | | | | Also improve logging (add an ability to log commands/files/environment variables to config.log) Signed-off-by: Alexey Neyman <stilor@att.net>
* Add compatibility with automake < 1.14Anton Maklakov2018-04-271-0/+2
| | | | | | | | | As we support CentOS, for example, we have a problem there automake: warnings are treated as errors kconfig/Makefile.am:26: warning: compiling 'lxdialog/checklist.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac' autoreconf: automake failed with exit status: 1
* Require libtool be presentAlexey Neyman2018-04-151-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Lintian warnings cleanupAlexey Neyman2018-04-071-6/+7
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Install bash completion into new locationAlexey Neyman2018-04-071-18/+10
| | | | | | /share/bash-completion/completions rather than /etc/bash_completion.d Signed-off-by: Alexey Neyman <stilor@att.net>
* Conditionally install bash completionAlexey Neyman2018-04-071-0/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* User manual installationAlexey Neyman2018-04-071-2/+10
| | | | | | ... when running from a release tarball. Signed-off-by: Alexey Neyman <stilor@att.net>
* Cannot ignore 'make install' with automakeAlexey Neyman2018-04-071-17/+1
| | | | | | | | | | | | | | | | | | | | Automake does not allow us to place the hooks before its generated actions, and does not allow us to check MAKECMDGOALS, and does not support a mechanism for disabling make install (such as noinst_SUBDIRS, requested a few times on automake mailing list). The only way I could preserve the current behavior is to have a GNUmakefile wrapper that will convert MAKECMDGOAL into a variable unknown to automake - which seems too convoluted a solution for the problem being solved. Hence the approach is to not override anything for --enable-local. It is now fully handled by selecting different values for CT_xxx_DIR in ct-ng.in; but at the build-system level, all the variables remain the same. We just don't support 'make install' in that case anymore; but the ct-ng in the working copy can be used after a regular 'make' (or 'make all'). Help message for --enable-local updated accordingly. Signed-off-by: Alexey Neyman <stilor@att.net>
* Restore --enable-local useAlexey Neyman2018-04-071-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Kill gperf vestigesAlexey Neyman2018-04-071-0/+1
| | | | | | Generate paths.sh by configure, do away with paths.mk. Signed-off-by: Alexey Neyman <stilor@att.net>
* Install "pure data" directoriesAlexey Neyman2018-04-071-1/+5
| | | | | | ... and update .gitignore. Survives 'make distcheck'. Signed-off-by: Alexey Neyman <stilor@att.net>
* Enable mconf buildAlexey Neyman2018-04-071-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix install --strip-program check after mergeAlexey Neyman2018-04-071-26/+2
| | | | | | 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-3/+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-20/+23
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove special handling of dpkg-buildflagsAlexey Neyman2018-04-071-2/+0
| | | | | | | | Instead, just honor CFLAGS/CPPFLAGS/LDFLAGS as they're passed down from configure. This brings the build process in compliance with the recommended practices. Signed-off-by: Alexey Neyman <stilor@att.net>
* Get rid of sub{lib,doc}dirAlexey Neyman2018-04-071-7/+5
| | | | | | | | | They don't make sense - using same ct-ng won't work with different versions, so they cannot coexist in the same prefix. Also localize other configure variables so that their usage is easier to track. Signed-off-by: Alexey Neyman <stilor@att.net>
* Simplify the macro for checking stat flavor a bitAlexey Neyman2018-04-071-9/+7
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use autoconfig-archve/automake testsAlexey Neyman2018-04-071-49/+52
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Split local helper macros into separate m4'sAlexey Neyman2018-04-071-232/+67
| | | | | | ... which are then picked up via aclocal. Signed-off-by: Alexey Neyman <stilor@att.net>
* Ncurses fixes for 6.1Alexey Neyman2018-01-291-0/+17
| | | | | | | | | | | - Update to 20180129 - Throw in --disable-db-install if database is disabled; otherwise 'make install' tries to run tic which is not built. - Select appropriate strip utility for the host; otherwise non-x86 architectures fail to install (unless --disable-stripping is also added) Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #784 from bmwiedemann/dateAlexey Neyman2017-09-181-3/+7
|\ | | | | Allow for reproducible builds
| * Allow to override build dateBernhard M. Wiedemann2017-07-211-3/+7
| | | | | | | | | | | | | | | | | | in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. This date call is designed to work with both GNU date and BSD date.
* | Fix typoAlexey Neyman2017-09-031-1/+1
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix debuild warnings/errorsAlexey Neyman2017-06-071-1/+3
| | | | | | | | | | | | | | | | | | | | - Update .gitignore, do not place .gitignore into directories installed in bulk - Remove executable permissions and shebangs from the scripts that are supposed to be invoked only via ct-ng frontent; prepend them with $(bash). Despite what showSamples.sh said, it already has some bashisms. - Remove --with autotools-dev and override dh_update_autotools_config to avoid having config.{sub,guess} clobbered with older versions - Install bash completion where Debian (now) expects it - Update man page to use .\" as the comment delimiter, instead of undefined macro (."); also, minor text edits. - Install kconfig.mk without execute permission. - Remove shell wrappers from 170-localedef-fix-trampoline.patch, we do not use that for applying patches - Revoke execute permissions on 210-expat.sh - Get flags from dpkg-buildflags if available Signed-off-by: Alexey Neyman <stilor@att.net>
* Generate config/configure.in directlyAlexey Neyman2017-04-221-5/+4
| | | | | | | | from configure rather than substitute it from Makefile. Eventually we might want to get rid of configure.in completely, doing on-the-fly checks at the time of `ct-ng build`, but that is left for another day. Signed-off-by: Alexey Neyman <stilor@att.net>
* Check for ggrep/gegrep in configureAlexey Neyman2017-03-081-0/+4
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Use configure to find the processor countDan McGregor2017-03-011-0/+9
| | | | | | | | configure.ac now finds how to count the CPUs in a system. Currently the getconf method and sysctl methods are supported. Adding more is easy enough. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
* Require xz to be presentAlexey Neyman2017-02-271-8/+1
| | | | | | | | Some software starts to adopt xz-only distribution (strace, gcc-linaro, ...). Better that than deal with cryptic errors like "cannot find strace-.tar.bz2". Signed-off-by: Alexey Neyman <stilor@att.net>
* Sed version may be reported differentlyAlexey Neyman2017-02-271-1/+1
| | | | | | Either "GNU sed, version" or "gsed (GNU sed)". Signed-off-by: Alexey Neyman <stilor@att.net>
* Require GNU sedAlexey Neyman2017-02-261-19/+13
| | | | | | | | | | | | After much struggling with macos (BSD) sed and even getting everything work in crosstool-ng itself, I had to abandon that because some components rely on GNU syntax. Specifically, GNU libc uses '/.../{H;g}' (note absense of the separator after 'g'). So, revert the -r/-E detection and check for sed's being of GNU origin. MacOS people, sorry, but you'd have to install GNU sed. Signed-off-by: Alexey Neyman <stilor@att.net>