On Mon, 09 Aug 2010 16:51:48 -0400, Jeremy Huntwork <[email protected]> wrote: > On 8/9/10 12:04 PM, Matthew Burgess wrote: >> Thanks Jeremy. Could you confirm the following sed has the same affect > please? >> >> sed -i -e 's/struct_rdx" "/&#include<bits\/types.h>\n/' configure > > Nope, but this does: > > sed -i 's...@#include <sys\/user.h>@#include <bits\/types.h>\n&@' configure > > Yours was only catching one instance of the <sys/user.h> include, but > the patch would place <bits/types.h> before all of them.
Right, I misunderstood how the configure.ac construct was going to expand so only applied it to one of the occurrences. I'll add your version during my next series of commits. I've created ticket 2734 to act as a reminder. Thanks, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
