comparison configure @ 22715:363c84953547

check that definition of prototype of sysi86(int, void*) doesn't conflict; fixed compilation in opensolaris
author nicodvb
date Sun, 18 Mar 2007 22:18:11 +0000
parents 88b877974c8c
children 65edb9a9c710
comparison
equal deleted inserted replaced
22714:97ad9cecc6d9 22715:363c84953547
3588 EOF 3588 EOF
3589 _sysi86=no 3589 _sysi86=no
3590 cc_check && _sysi86=yes 3590 cc_check && _sysi86=yes
3591 if test "$_sysi86" = yes ; then 3591 if test "$_sysi86" = yes ; then
3592 _def_sysi86='#define HAVE_SYSI86 1' 3592 _def_sysi86='#define HAVE_SYSI86 1'
3593 cat > $TMPC << EOF
3594 #include <sys/sysi86.h>
3595 int main (void) { int sysi86(int, void*); sysi86(0); return 0; }
3596 EOF
3597 cc_check && _def_sysi86_iv='#define HAVE_SYSI86_iv 1'
3593 else 3598 else
3594 _def_sysi86='#undef HAVE_SYSI86' 3599 _def_sysi86='#undef HAVE_SYSI86'
3595 fi 3600 fi
3596 echores "$_sysi86" 3601 echores "$_sysi86"
3597 fi #if sunos 3602 fi #if sunos
7930 int setenv(const char *name, const char *val, int overwrite); 7935 int setenv(const char *name, const char *val, int overwrite);
7931 #endif 7936 #endif
7932 7937
7933 /* Define this if your system has sysi86 */ 7938 /* Define this if your system has sysi86 */
7934 $_def_sysi86 7939 $_def_sysi86
7940 $_def_sysi86_iv
7935 7941
7936 /* Define this if your system has pthreads */ 7942 /* Define this if your system has pthreads */
7937 $_def_pthreads 7943 $_def_pthreads
7938 7944
7939 /* Define this if you enabled thread support for libavcodec */ 7945 /* Define this if you enabled thread support for libavcodec */