Ticket #75: avahi-cxxcheck.2.patch
| File avahi-cxxcheck.2.patch, 0.6 KB (added by tedp, 5 years ago) |
|---|
-
configure.ac
56 56 # libtool stuff 57 57 AC_PROG_LIBTOOL 58 58 59 AC_CACHE_CHECK([whether the C++ compiler works], [avahi_cv_sys_cxx_works], [ 60 AC_LANG_PUSH([C++]) 61 AC_COMPILE_IFELSE([int main() { }], [avahi_cv_sys_cxx_works=yes], 62 [avahi_cv_sys_cxx_works=no]) 63 AC_LANG_POP([C++]) 64 ]) 65 [ if [ "x$avahi_cv_sys_cxx_works" = "xno" ]; then ] 66 AC_MSG_FAILURE([The C++ compiler does not work]) 67 [ fi ] 68 59 69 ACX_PTHREAD(,AC_MSG_ERROR([Missing POSIX Threads support])) 60 70 61 71 #
