[Lunar-commits] r17418 - moonbase/trunk/libs/glibc
Jaime Buffery
nestu at lunar-linux.org
Tue Nov 22 17:51:19 UTC 2005
Author: nestu
Date: 2005-11-22 17:51:19 +0000 (Tue, 22 Nov 2005)
New Revision: 17418
Modified:
moonbase/trunk/libs/glibc/BUILD
Log:
if kernel-headers-2.6 are installed, used them; in any other case, default to where /usr/src/linux points to
Modified: moonbase/trunk/libs/glibc/BUILD
===================================================================
--- moonbase/trunk/libs/glibc/BUILD 2005-11-22 16:34:06 UTC (rev 17417)
+++ moonbase/trunk/libs/glibc/BUILD 2005-11-22 17:51:19 UTC (rev 17418)
@@ -20,11 +20,17 @@
mkdir -p $INSTALL_ROOT &&
cd $INSTALL_ROOT
+ if module_installed kernel-headers-2.6 ; then
+ KERNEL_HEADERS="/usr/include"
+ else
+ KERNEL_HEADERS="/usr/src/linux/include"
+ fi
+
../configure --host=$BUILD \
--build=$BUILD \
--enable-add-ons=linuxthreads \
--with-elf \
- --with-headers=/usr/src/linux/include \
+ --with-headers=${KERNEL_HEADERS} \
--with-gd=no \
--without-__thread \
--without-cvs \
More information about the Lunar-commits
mailing list