summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-09 23:49:35 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-09 23:49:35 +0000
commit82ad2e8f5b9c80e6696d9298cda365c9ff6421a0 (patch)
tree0f242bf360b999463bf01f861d52280865adc994 /configure.ac
parentb8c4d119e2546cd2b52c69fc46e7752bedd93447 (diff)
downloadxine-lib-82ad2e8f5b9c80e6696d9298cda365c9ff6421a0.tar.gz
xine-lib-82ad2e8f5b9c80e6696d9298cda365c9ff6421a0.tar.bz2
Declare sysi86() function only if it's not declared already. Patch by Albert Lee.
CVS patchset: 8648 CVS date: 2007/03/09 23:49:35
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4418cb841..58b68a811 100644
--- a/configure.ac
+++ b/configure.ac
@@ -285,6 +285,11 @@ LIBS="$ac_save_LIBS"
AC_MSG_RESULT($have_recursive_mutex)
+AC_CHECK_DECL(sysi86,[
+ AC_DEFINE(HAVE_SYSI86,1,[Define this if the 'sysi86' function is declared in sys/sysi86.h])
+ ],,[
+#include <sys/sysi86.h>
+])
dnl ---------------------------------------------
dnl Windows ports checks