Update of /cvsroot/alsa/alsa-driver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29522
Modified Files: configure.in Log Message: Added CONFIG_HAVE_DUMP_STACK check Index: configure.in =================================================================== RCS file: /cvsroot/alsa/alsa-driver/configure.in,v retrieving revision 1.222 retrieving revision 1.223 diff -u -r1.222 -r1.223 --- configure.in 3 Feb 2004 11:01:23 -0000 1.222 +++ configure.in 3 Feb 2004 12:27:30 -0000 1.223 @@ -388,6 +388,20 @@ eval $boolvar="$boolchk" ]) +dnl Check if symbol is exported +AC_DEFUN([CHECK_EXPORTED], [ + AC_MSG_CHECKING(for exported symbol $2) + ac_save_CFLAGS="$CFLAGS" + boolchk="" + if grep EXPORT_SYMBOL "$CONFIG_SND_KERNELDIR/kernel/ksyms.c" | grep "$2" > /dev/null; then + AC_MSG_RESULT("yes");boolchk="y" + AC_DEFINE($1) + else + AC_MSG_RESULT("no");boolchk="", + fi + eval $boolvar="$boolchk" +]) + if test "$kversion.$kpatchlevel" = "2.6"; then NEW_KBUILD=y AC_SUBST(NEW_KBUILD) @@ -455,6 +469,14 @@ CHECK_KERNEL_HEADER(linux/pmu.h, [#include <asm/pmu.h> ]) +dnl Check for dump_stack +if test "$kversion.$kpatchlevel" = "2.6"; then + CONFIG_HAVE_DUMP_STACK="y" + AC_DEFINE(CONFIG_HAVE_DUMP_STACK) +else + CHECK_EXPORTED(CONFIG_HAVE_DUMP_STACK, dump_stack) +fi + dnl Check for modversions... CHECK_KERNEL_CONFIG(CONFIG_MODVERSIONS, [kernel module symbol versions]) CONFIG_SND_MVERSION=$CONFIG_MODVERSIONS ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog