Remove vestiges of PowerPC support
It may still be supported for wxGTK, but we don't need to do anything special for it, so we don't need to define __POWERPC__, which was never used anyhow, neither.
This commit is contained in:
parent
e039d78ed3
commit
15e556e027
7 changed files with 1 additions and 63 deletions
|
|
@ -84,9 +84,6 @@
|
|||
/* NanoX (with wxX11) */
|
||||
#cmakedefine01 wxUSE_NANOX
|
||||
|
||||
/* PowerPC Darwin & Mac OS X */
|
||||
#cmakedefine __POWERPC__ 1
|
||||
|
||||
/* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
|
||||
#undef __Point__
|
||||
|
||||
|
|
|
|||
32
configure
vendored
32
configure
vendored
|
|
@ -23100,38 +23100,6 @@ if test "x$USE_AIX" = "x1"; then
|
|||
CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
|
||||
fi
|
||||
|
||||
case "${host}" in
|
||||
powerpc-*-darwin* )
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
|
||||
$as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
#ifndef __POWERPC__
|
||||
choke me for lack of PowerPC
|
||||
#endif
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
$as_echo "#define __POWERPC__ 1" >>confdefs.h
|
||||
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${host}" in
|
||||
*-*-darwin* )
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
|
||||
|
|
|
|||
15
configure.in
15
configure.in
|
|
@ -1426,21 +1426,6 @@ if test "x$USE_AIX" = "x1"; then
|
|||
CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
|
||||
fi
|
||||
|
||||
dnl This case is for PowerPC OS X vs. everything else
|
||||
case "${host}" in
|
||||
powerpc-*-darwin* )
|
||||
AC_MSG_CHECKING([if __POWERPC__ is already defined])
|
||||
AC_TRY_COMPILE([],[#ifndef __POWERPC__
|
||||
choke me for lack of PowerPC
|
||||
#endif
|
||||
],
|
||||
[AC_MSG_RESULT([yes])],
|
||||
[AC_MSG_RESULT([no])
|
||||
AC_DEFINE(__POWERPC__)
|
||||
])
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl This case is for OS X vs. everything else
|
||||
case "${host}" in
|
||||
*-*-darwin* )
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ compiler used.
|
|||
@itemdef{\__ALPHA__, DEC Alpha architecture}
|
||||
@itemdef{\__INTEL__, Intel i386 or compatible}
|
||||
@itemdef{\__IA64__, Intel 64 bit architecture}
|
||||
@itemdef{\__POWERPC__, Motorola Power PC}
|
||||
@itemdef{\__POWERPC__, Motorola Power PC (not supported any longer)}
|
||||
@endDefList
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -183,12 +183,6 @@
|
|||
#endif
|
||||
#endif /* ia64 */
|
||||
|
||||
#if defined(_M_MPPC) || defined(__PPC__) || defined(__ppc__)
|
||||
#ifndef __POWERPC__
|
||||
#define __POWERPC__
|
||||
#endif
|
||||
#endif /* alpha */
|
||||
|
||||
#if defined(_M_ALPHA) || defined(__AXP__)
|
||||
#ifndef __ALPHA__
|
||||
#define __ALPHA__
|
||||
|
|
|
|||
|
|
@ -87,9 +87,6 @@
|
|||
/* NanoX (with wxX11) */
|
||||
#define wxUSE_NANOX 0
|
||||
|
||||
/* PowerPC Darwin & Mac OS X */
|
||||
#undef __POWERPC__
|
||||
|
||||
/* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
|
||||
#undef __Point__
|
||||
|
||||
|
|
|
|||
|
|
@ -128,9 +128,6 @@ typedef pid_t GPid;
|
|||
/* NanoX (with wxX11) */
|
||||
#define wxUSE_NANOX 0
|
||||
|
||||
/* PowerPC Darwin & Mac OS X */
|
||||
#undef __POWERPC__
|
||||
|
||||
/* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
|
||||
#undef __Point__
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue