blob: 351f87cab5c4b32d6128e9b9c05015c9fe704918 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001Subject: explicitly disable replacing getopt
2
3Explicitly disable replacing getopt to avoid compilation error like below.
4
5 xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
6
7Upstream-Status: Inappropriate [workaround]
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9---
10 m4/getopt.m4 | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/m4/getopt.m4 b/m4/getopt.m4
14index 3ebc7b7..8934426 100644
15--- a/m4/getopt.m4
16+++ b/m4/getopt.m4
17@@ -22,8 +22,8 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX],
18 fi
19 ])
20 if test $REPLACE_GETOPT = 1; then
21- dnl Arrange for getopt.h to be created.
22- gl_GETOPT_SUBSTITUTE_HEADER
23+ dnl Explicitly disable replacing getopt
24+ :
25 fi
26 ])
27
28--
292.11.0
30