GNOME Bugzilla – Bug 517895
nas plugin no longer builds (configure.ac error)
Last modified: 2008-02-22 05:48:13 UTC
Hi, configure.ac no longer checks for presence of X11 headers / libs, but the nassink plugin configure.ac snippit reads: dnl *** nas *** translit(dnm, m, l) AM_CONDITIONAL(USE_NAS, true) AG_GST_CHECK_FEATURE(NAS, [nas plug-in], nassink, [ HAVE_NAS="no" if test "x$HAVE_X" = "xyes"; then save_cppflags=$CFLAGS CPPFLAGS="$CPPFLAGS $X_CFLAGS" AG_GST_CHECK_LIBHEADER(NAS, audio, AuOpenServer, $X_LIBS, audio/audiolib.h, NAS_LIBS="$X_LIBS -laudio" NAS_CFLAGS="$X_CFLAGS") CPPFLAGS="$save_cppflags" fi AC_SUBST(NAS_CFLAGS) AC_SUBST(NAS_LIBS) ]) Notice the check for HAVE_X, the removal of the check for X makes it impossible to build the nassink. Workaround, do: export HAVE_X=yes export X_LIBS=-lX11 Before running ./configure
You're right, we should still check for X for NAS. I wonder why NAS needs X... well, will fix after freeze :) Thanks for reporting.
2008-02-22 Sebastian Dröge <slomo@circular-chaos.org> * configure.ac: Check for X for the nas plugin to make it possible to build it again. Fixes bug #517895.