Files

12 lines
489 B
Diff
Raw Permalink Normal View History

2013-01-13 00:28:01 +00:00
--- a/m4/id3_cxx.m4.orig 2013-01-12 16:23:24.000000000 -0800
+++ b/m4/id3_cxx.m4 2013-01-12 16:23:52.000000000 -0800
@@ -81,7 +81,7 @@ AC_DEFUN(ID3_CXX_PORTABILITY,[
dnl Check whether we have bool
AC_MSG_CHECKING(whether C++ has bool)
- AC_TRY_RUN([main() { bool b1=true; bool b2=false; }],
+ AC_TRY_RUN([int main() { bool b1=true; bool b2=false; return 0; }],
[ AC_MSG_RESULT(yes) ],
[ AC_MSG_RESULT(no)
AC_DEFINE(CXX_HAS_NO_BOOL) ],