svnno****@sourc*****
svnno****@sourc*****
Mon Jan 7 20:06:21 JST 2008
Revision: 3351 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3351 Author: kous Date: 2008-01-07 20:06:21 +0900 (Mon, 07 Jan 2008) Log Message: ----------- * macros/gecko.m4: checked nsWebProgressListener2::OnRefreshAttempted availability. forgot to commit... Modified Paths: -------------- kazehakase/trunk/macros/gecko.m4 Modified: kazehakase/trunk/macros/gecko.m4 =================================================================== --- kazehakase/trunk/macros/gecko.m4 2008-01-07 11:05:24 UTC (rev 3350) +++ kazehakase/trunk/macros/gecko.m4 2008-01-07 11:06:21 UTC (rev 3351) @@ -201,7 +201,22 @@ AC_MSG_RESULT([$result]) +AC_MSG_CHECKING([whether nsWebProgressListener2 has OnRefreshAttempted method]) +AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include <nsWebProgressListener2.h>]], + [[nsWebProgressListener2 *listener; + listener->OnRefreshAttempted;]] + )], + [AC_DEFINE([HAVE_NSWEBPROGRESSLISTENER2_ONREFRESHATTEMPTED],[1], + [Define if nsWebProgressListener2 has OnRefreshAttempted method]) + result=yes], + [result=no]) + +AC_MSG_RESULT([$result]) + + AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/content/nsICanvasRenderingContextInternal.h], [AC_DEFINE([HAVE_NSICANVASRENDERINGCONTEXTINTERNAL_H],[1],[Define if nsICanvasRenderingContextInternal.h exists])])