aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-08 06:01:02 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-08 06:01:02 +0000
commit2e4d9fb126beba5177d9b58a6ecf2f2bfdb560ae (patch)
treed0791532b9f9dc042d6beb2b268da5e93c3b17f1 /configure
parent88cb0a02b78415429ac354d5880ab2b08321c22b (diff)
Braille device support
(Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4173 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure23
1 files changed, 23 insertions, 0 deletions
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"
@@ -674,6 +677,20 @@ EOF
fi
##########################################
+# BrlAPI probe
+
+if test -z "$brlapi" ; then
+ brlapi=no
+cat > $TMPC << EOF
+#include <brlapi.h>
+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
if test "$curses" = "yes" ; then
@@ -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