Hi Reuben, > I have made two installations of gnulib in a project, because I am using > both relocatable-prog and relocatable-lib-lgpl. > > I have different modules installed for each, of course. > > I just had a problem where my library would not compile, because it was > missing setlocale_null.h. GNULIB_SETLOCALE_NULL was indeed set to 1 by > configure. > > The "library gnulib" uses only "locale", which does not depend on > setloacle-null, while the "program gnulib" uses "quote", which does. > > I was able to work around this by adding "setlocale" to the library gnulib > (I could not use "quote", as that is a GPL module); but have I done > something wrong here? I can't see how I would fix this in general without > having two configure scripts… Having two separate configure scripts is undesirable, because that would increase the total configure time of the package (and people have already complained about the configure time). The same problem is seen also in GNU gettext and in GNU poke. I'm fixing it through the attached patch set. So, you can now remove 'setlocale' from the modules of your library again. Bruno