Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From c591da4a361496eec93625cf8c4f89bddfedaca7 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Sun, 7 Feb 2021 16:02:36 +0800 |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 4 | Subject: [PATCH] Workaround error with autoconf 2.7 |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 5 | |
| 6 | While using autoconf 2.7, the AM_MISSING_PROG caused unexpected error: |
| 7 | ... |
| 8 | configure.ac: error: required file 'missing' not found |
| 9 | ... |
| 10 | |
| 11 | Since these tools were explicitly added by autotools bbclass, |
| 12 | remove the testing to workaround the error with autoconf 2.7 |
| 13 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 14 | Upstream-Status: Inappropriate [embedded specific] |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 15 | |
| 16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 17 | --- |
| 18 | configure.ac | 8 -------- |
| 19 | 1 file changed, 8 deletions(-) |
| 20 | |
| 21 | diff --git a/configure.ac b/configure.ac |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 22 | index 263098f7fd..fc296832d8 100644 |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 23 | --- a/configure.ac |
| 24 | +++ b/configure.ac |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 25 | @@ -878,14 +878,6 @@ fi |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 26 | |
| 27 | AC_PATH_PROG(RUSERS, rusers, /usr/bin/rusers) |
| 28 | |
| 29 | -dnl # |
| 30 | -dnl # FIXME This is truly gross. |
| 31 | -dnl # |
| 32 | -missing_dir=`cd $ac_aux_dir && pwd` |
| 33 | -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) |
| 34 | -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) |
| 35 | -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) |
| 36 | - |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 37 | AC_PATH_PROG(DIRNAME,dirname) |
| 38 | AC_PATH_PROG(GREP,grep) |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 39 | |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 40 | -- |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 41 | 2.25.1 |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 42 | |