From 2e4d9fb126beba5177d9b58a6ecf2f2bfdb560ae Mon Sep 17 00:00:00 2001 From: aurel32 Date: Tue, 8 Apr 2008 06:01:02 +0000 Subject: Braille device support (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4173 c046a42c-6fe2-441c-8c8c-71466251a162 --- configure | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 85cb68a4ad..eaa52ffcd2 100755 --- a/configure +++ b/configure @@ -286,6 +286,8 @@ for opt do ;; --disable-kqemu) kqemu="no" ;; + --disable-brlapi) brlapi="no" + ;; --enable-profiler) profiler="yes" ;; --enable-cocoa) cocoa="yes" ; coreaudio="yes" ; sdl="no" @@ -416,6 +418,7 @@ echo " --enable-alsa enable ALSA audio driver" echo " --enable-esd enable EsoundD audio driver" echo " --enable-fmod enable FMOD audio driver" echo " --enable-dsound enable DirectSound audio driver" +echo " --disable-brlapi disable BrlAPI" echo " --disable-vnc-tls disable TLS encryption for VNC server" echo " --disable-curses disable curses output" echo " --enable-system enable all system emulation targets" @@ -673,6 +676,20 @@ EOF fi fi +########################################## +# BrlAPI probe + +if test -z "$brlapi" ; then + brlapi=no +cat > $TMPC << EOF +#include +int main( void ) { return brlapi__openConnection (NULL, NULL, NULL); } +EOF + if $cc -o $TMPE ${OS_CFLAGS} $TMPC -lbrlapi 2> /tmp/qemu-$$-brlapi.log ; then + brlapi=yes + fi # brlapi compile test +fi # -z $brlapi + ########################################## # curses probe @@ -770,6 +787,7 @@ if test -n "$sparc_cpu"; then echo "Target Sparc Arch $sparc_cpu" fi echo "kqemu support $kqemu" +echo "brlapi support $brlapi" echo "Documentation $build_docs" [ ! -z "$uname_release" ] && \ echo "uname -r $uname_release" @@ -1001,6 +1019,11 @@ if test "$curses" = "yes" ; then echo "CONFIG_CURSES=yes" >> $config_mak echo "CURSES_LIBS=-lcurses" >> $config_mak fi +if test "$brlapi" = "yes" ; then + echo "CONFIG_BRLAPI=yes" >> $config_mak + echo "#define CONFIG_BRLAPI 1" >> $config_h + echo "BRLAPI_LIBS=-lbrlapi" >> $config_mak +fi # XXX: suppress that if [ "$bsd" = "yes" ] ; then -- cgit v1.2.1