[Gstreamer-bugs] [Bug 99815] Changed - gstreamer should use ISO __VAR_ARGS__
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Fri Nov 29 02:04:16 PST 2002
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=99815
Changed by uraeus at linuxrising.org.
--- shadow/99815 Fri Nov 29 04:48:37 2002
+++ shadow/99815.tmp.30671 Fri Nov 29 05:04:16 2002
@@ -180,6 +180,33 @@
--acconfig.h starts below--
#undef HAVE_FUNC
#undef HAVE_PRETTY_FUNCTION
#undef HAVE_FUNCTION
+
+------- Additional Comments From Uraeus at linuxrising.org 2002-11-29 05:04 -------
+I got another suggestion to change relevant section to (what is your
+opinion on this:
+ AC_DEFINE(HAVE_FUNC,1,[defined if gcc have HAVE_FUNC)])
+else
+ AC_MSG_CHECKING(whether $GCC implements __PRETTY_FUNCTION__)
+ AC_CACHE_VAL(have_pretty_function,
+ [AC_TRY_LINK([#include <stdio.h>],[printf("%s",
+__PRETTY_FUNCTION__);],
+ have_pretty_function=yes,
+ have_pretty_function=no)])
+ AC_MSG_RESULT($have_pretty_function)
+ if test "$have_pretty_function" = yes; then
+ AC_DEFINE(HAVE_PRETTY_FUNCTION,1,[defined if gcc have
+HAVE_PRETTY_FUNCTION)])
+ else
+ AC_MSG_CHECKING(whether $GCC implements __FUNCTION__)
+ AC_CACHE_VAL(have_function,
+ [AC_TRY_LINK([#include <stdio.h>],[printf("%s",
+__FUNCTION__);],
+ have_function=yes,
+ have_function=no)])
+ AC_MSG_RESULT($have_function)
+ if test "$have_function" = yes; then
+ AC_DEFINE(HAVE_FUNCTION,1,[defined if gcc have
+HAVE_FUNCTION)])
More information about the Gstreamer-bugs
mailing list