-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
Fedora Core 3
-
67dcf89760af14e65e2c62ebba513c987086b355
When I configure Qt on this older Linux system, I see this:
-------8<-------
user@host:/tmp/qt-everywhere-opensource-src-4.7.0/_build$ ../configure
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
o
Preparing build tree...
xargs: invalid option – I
Usage: xargs [-0prtx] [-E eof-str] [-e[eof-str]] [-I replace-str]
[-i[replace-str]] [-L max-lines] [-l[max-lines]] [-n max-args]
[-s max-chars] [-P max-procs] [--null] [--eof[=eof-str]]
[-replace[=replace-str]] [-max-lines[=max-lines]] [--interactive]
[--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]
[--max-args=max-args] [--no-run-if-empty] [--version] [--help]
[command [initial-arguments]]
Report bugs to <bug-findutils@gnu.org>.
This is the Qt for Linux/X11 Open Source Edition.
------->8-------
There are two things of note going on here:
- The old xargs(1) usage info and man page state that it accepts the -I option, but the program doesn't;
- The new (current) xargs(1) man page states that -i and --replace are deprecated in favor of -I.
I thus submit the attached patch, which punts the whole issue by using "while read" instead.