Martin Spott wrote: > The OpenAL check already happens in SimGear - this is the place where > it doesn't work. I tried several things, including removal of the > whole "FreeBSD -lpthread cheat clause", but I still didn't succeed. > So I'll stick to the manual 'correction' until I understand - at least > partially - how automake/autoconf works. This might take some time :-)
This change would serve FreeBSD. Does it make any sense, does it break other platforms ? --- configure.ac.original Thu Oct 21 14:19:05 2004 +++ configure.ac Thu Nov 18 20:13:07 2004 @@ -167,8 +167,8 @@ AC_CHECK_HEADER(pthread.h) AC_CHECK_LIB(pthread, pthread_exit) if test "x$ac_cv_lib_pthread_pthread_exit" = "xyes" -a "x$ac_cv_header_pthread_h" = "xyes"; then - CXXFLAGS="$CXXFLAGS -D_REENTRANT" - CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT -lpthread" + CFLAGS="$CFLAGS -D_REENTRANT -lpthread" fi if test "x$ac_cv_lib_pthread_pthread_exit" != "xyes" -a "x$ac_cv_header_pthread_h" = "xyes"; then dnl FreeBSD: System has pthread.h, but -lpthread library check Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d