[MPlayer-cvslog] CVS: main configure,1.1183,1.1184
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sun Apr 30 23:17:33 CEST 2006
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv24766
Modified Files:
configure
Log Message:
Add a check for sysi86() on Solaris systems, solving a build failure on Solaris
10 x86 to avoid using a local declaration that is no longer compatible.
patch by "Derek E. Lewis", dlewis $$@$$ solnetworks %%.%% net
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1183
retrieving revision 1.1184
diff -u -r1.1183 -r1.1184
--- configure 27 Apr 2006 19:06:25 -0000 1.1183
+++ configure 30 Apr 2006 21:17:30 -0000 1.1184
@@ -3380,6 +3380,23 @@
echores "$_setenv"
+if sunos; then
+echocheck "sysi86()"
+cat > $TMPC << EOF
+#include <sys/sysi86.h>
+int main (void) { sysi86(0); return 0; }
+EOF
+_sysi86=no
+cc_check && _sysi86=yes
+if test "$_sysi86" = yes ; then
+ _def_sysi86='#define HAVE_SYSI86 1'
+else
+ _def_sysi86='#undef HAVE_SYSI86'
+fi
+echores "$_sysi86"
+fi
+
+
echocheck "sys/sysinfo.h"
cat > $TMPC << EOF
#include <sys/sysinfo.h>
@@ -7701,6 +7718,9 @@
int setenv(const char *name, const char *val, int overwrite);
#endif
+/* Define this if your system has sysi86 */
+$_def_sysi86
+
/* Define this if your system has pthreads */
$_def_pthreads
More information about the MPlayer-cvslog
mailing list