From: Philippe E. <ph...@us...> - 2002-07-02 22:07:17
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv13295 Modified Files: ChangeLog configure.in Log Message: fix compile error with kernel <= 2.2.17 Phil Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.535 retrieving revision 1.536 diff -u -d -r1.535 -r1.536 --- ChangeLog 1 Jul 2002 19:58:49 -0000 1.535 +++ ChangeLog 2 Jul 2002 22:07:12 -0000 1.536 @@ -1,5 +1,10 @@ 2002-07-01 Philippe Elie <ph...@wa...> + * configure.in: + * module/compat.h: fix compile error with kernel <= 2.2.17 + +2002-07-01 Philippe Elie <ph...@wa...> + * TODO: minor upadte * configure.in: support 2.5.20 Index: configure.in =================================================================== RCS file: /cvsroot/oprofile/oprofile/configure.in,v retrieving revision 1.96 retrieving revision 1.97 diff -u -d -r1.96 -r1.97 --- configure.in 1 Jul 2002 19:58:50 -0000 1.96 +++ configure.in 2 Jul 2002 22:07:12 -0000 1.97 @@ -102,9 +102,13 @@ AX_KERNEL_VERSION(2, 2, 10, <=, AC_MSG_RESULT("ok"), AC_MSG_ERROR("check html documentation install section")) dnl Check if we need to build the module with extra flags -dnl FIXME this fix 2.5.19 build but perhaps its not the right way -AC_MSG_CHECKING("wether module compilation need -DMODULE") +dnl FIXME this fix 2.5.19 and 2.5.20 build but perhaps its not the right way +AC_MSG_CHECKING([whether module compilation need -DMODULE]) AX_KERNEL_VERSION(2, 5, 19, >=, AC_MSG_RESULT("no"), AC_MSG_RESULT("yes"); EXTRA_CFLAGS_MODULE="$EXTRA_CFLAGS_MODULE -DMODULE") + +dnl linux/spinlock.h added at some point in past +AC_CHECK_FILE("$KINC"/linux/spinlock.h, EXTRA_CFLAGS_MODULE="$EXTRA_CFLAGS_MODULE -DHAVE_LINUX_SPINLOCK_HEADER") + AC_SUBST(EXTRA_CFLAGS_MODULE) # FIXME: use config.h for the -D things ... |