Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211679 Details for
Bug 294366
games-emulation/snes9x fails to configure after autoconf 2.65
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix arithmetic right shift detection in configure script
snes9x-1.51-config2.patch (text/plain), 1.66 KB, created by
Matthew Dombroski
on 2009-12-01 11:02:36 UTC
(
hide
)
Description:
Fix arithmetic right shift detection in configure script
Filename:
MIME Type:
Creator:
Matthew Dombroski
Created:
2009-12-01 11:02:36 UTC
Size:
1.66 KB
patch
obsolete
>diff -rua snes9x-1.51-src-orig/configure.in snes9x-1.51-src/configure.in >--- snes9x-1.51-src-orig/configure.in 2009-12-01 23:50:49.581586050 +1300 >+++ snes9x-1.51-src/configure.in 2009-12-01 23:46:24.938959125 +1300 >@@ -20,7 +20,7 @@ > > SYSDEFINES='' > >-AC_DEFUN([AC_S9X_DEFINE], >+AC_DEFUN([AC_S9X_DEFINE_DEPRECATED], > AC_DEFINE($1, $2, $3) > SYSDEFINES="$SYSDEFINES"' -D$1') > >@@ -115,7 +115,8 @@ > ]) > > if test $ac_cv_type_$1 = no; then >- AC_S9X_DEFINE($1,$2) >+ AC_DEFINE($1, $2) >+ SYSDEFINES="$SYSDEFINES"' -D$1' > AC_MSG_RESULT(no) > else > AC_MSG_RESULT(yes) >@@ -652,13 +653,14 @@ > i>>=1; > return(i<0?0:1); > } >-],ac_cv_my_sar_$1=yes,ac_cv_my_sar_$1=no,ac_cv_my_sar_%1=no) >+],ac_cv_my_sar_$1=yes, ac_cv_my_sar_$1=no, ac_cv_my_sar_$1=no) > ]) > >-if test $ac_cv_my_sar_$1 = no; then >+if test x$ac_cv_my_sar_$1 = xno; then > AC_MSG_RESULT(no) > else >- AC_S9X_DEFINE(RIGHTSHIFT_$1_IS_SAR) >+ AC_DEFINE(RIGHTSHIFT_$1_IS_SAR) >+ SYSDEFINES="$SYSDEFINES"' -DRIGHTSHIFT_$1_IS_SAR' > AC_MSG_RESULT(yes) > fi > ]) >@@ -681,11 +683,16 @@ > AC_MY_CHECK_SAR(int16) > AC_MY_CHECK_SAR(int32) > AC_MY_CHECK_SAR(int64) >-if test $ac_cv_my_sar_int8 = yes && \ >- test $ac_cv_my_sar_int16 = yes && \ >- test $ac_cv_my_sar_int32 = yes && \ >- test $ac_cv_my_sar_int64 = yes ; then >- AC_S9X_DEFINE(RIGHTSHIFT_IS_SAR) >+AC_MSG_CHECKING([if rightshift is arithmetic]) >+if test x$ac_cv_my_sar_int8 = xyes && \ >+ test x$ac_cv_my_sar_int16 = xyes && \ >+ test x$ac_cv_my_sar_int32 = xyes && \ >+ test x$ac_cv_my_sar_int64 = xyes ; then >+ AC_DEFINE(RIGHTSHIFT_IS_SAR) >+ SYSDEFINES="$SYSDEFINES"' -DRIGHTSHIFT_IS_SAR' >+ AC_MSG_RESULT(yes) >+else >+ AC_MSG_RESULT(no) > fi > > dnl Check accept. Thoughly.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 294366
:
211033
| 211679