Trying to build ConsoleKit-0.3.0 on OS X 10.4 (darwin8.11.0), I can ./configure && make, and nothing looks bad until: >gcc -g -O2 -o test-vt-monitor ck-vt-monitor.o test-vt-monitor.o -L/sw/lib /sw/lib/libdbus-glib-1.dylib /sw/lib/libdbus-1.dylib /sw/lib/libgobject-2.0.dylib /sw/lib/libgthread-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lc ./.libs/libck.a >/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: >_ck_get_active_console_num >_ck_get_max_num_consoles >collect2: ld returned 1 exit status ./configure only checks for which of the *supported* backends to use (freebsd, linux, solaris). If "none of the above", no back-end source is added to src/Makefile.am libck_la_SOURCES, so of course those symbols aren't implemented anywhere. But that's only obvious because I looked at the sources and Makefile.am and configure.ac. Would be saner if ./configure gave a clear message ASAP if there's no backend implemented for the target platform until waiting for a cryptic compiler failure.
Created attachment 20755 [details] [review] Error if no backend for target host
Sorry for the delay and thanks for the patch. I've committed this to master now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.