On 16 Sep 2013 14:41, "Paul Schutte" wrote: > > Hi Rich, > > Thanks. Just wanted to get confirmation in case I missed something. > > I guess systemd was written with only linux in mind and therefore used a lot of glibc specific stuff. > > I found a lot of other portability problems since sending this message. > > It won't be easy to make systemd work (To me in any case). Given that portability is a stated non goal getting anything upstream may be difficult for this project... > Regards > Paul > > > > On Mon, Sep 16, 2013 at 2:50 PM, Rich Felker wrote: >> >> On Sun, Sep 15, 2013 at 10:57:20PM +0200, Paul Schutte wrote: >> > Hi, >> > >> > I have hit the next stumbling block (show stopper): >> > >> > src/shared/util.c: In function 'glob_exists': >> > src/shared/util.c:4376:36: error: 'GLOB_BRACE' undeclared (first use in >> > this function) >> > src/shared/util.c:4376:36: note: each undeclared identifier is reported >> > only once for each function it appears in >> > >> > >> > I see this is and non-standard posix extension. I guess that is it for >> > systemd for now then. >> >> The correct action for programs that need GNU functionality like this >> is to include their own copy of the GNU function (usually as part of >> gnulib) and use it if the system does not have it. >> >> In the case of GLOB_BRACE and the other GNU extensions to >> glob/fnmatch, it's not clear to me that they admit an efficient >> in-place implementation, and I doubt they do. That's why musl does not >> support them. >> >> Rich > >