"Scott C. Best" wrote: > But now I need to consider how to detect the glibc version...
This should do it... GLIBC_VERSION=$(basename /lib/libc-*.so .so) GLIBC_VERSION=${GLIBC_VERSION##*-} ...or better yet, follow that with: GLIBC_MAJOR_VERSION=${GLIBC_VERSION%%.?} > Here's how I keep them straight: there are basically > two things an open-source license speaks towards: can the code > be combined with non-open code; can modifications be taken > private into closed apps. The GPL says no to both. The LGPL > says yes to the first, no to the second. The BSD license says > yes to both. > Playing fast and loose here, but AFAIK that's a good > rule of thumb(s). Of course, there are MORE things than that. One of the most important: GPL is "viral" in that any code that uses GPL-licensed code MUST be GPL licensed; BSD licenses don't have that. The X Consortium caused quite a stir when they tried to take X into the commercial realm as a proprietary private product - which they could do under their license. Under a GPL license, they couldn't do that. _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel