21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
AS_HELP_STRING([--with-ixemul], [build with ixemul]))
dnl Used to disable checking for -pedantic on some platforms where it's broken
check_pedantic="yes"
case "$host" in
m68k-*-amigaos*)
OBJCFLAGS="$OBJCFLAGS -noixemul"
LDFLAGS="$LDFLAGS -noixemul"
enable_shared="no"
enable_threads="no"
enable_sockets="no"
enable_files="yes" # Required for reading ENV:
ac_cv_snprintf_useful_ret="yes"
|
>
|
>
>
>
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
AS_HELP_STRING([--with-ixemul], [build with ixemul]))
dnl Used to disable checking for -pedantic on some platforms where it's broken
check_pedantic="yes"
case "$host" in
m68k-*-amigaos*)
AS_IF([test x"$OBJCFLAGS" != x""], [
OBJCFLAGS="$OBJCFLAGS -noixemul"
], [
OBJCFLAGS="-O2 -g -noixemul"
])
LDFLAGS="$LDFLAGS -noixemul"
enable_shared="no"
enable_threads="no"
enable_sockets="no"
enable_files="yes" # Required for reading ENV:
ac_cv_snprintf_useful_ret="yes"
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
;;
powerpc-*-amigaos*)
enable_shared="no"
enable_threads="no"
;;
*-morphos*)
AS_IF([test x"$with_ixemul" != x"yes"], [
OBJCFLAGS="$OBJCFLAGS -noixemul"
LDFLAGS="$LDFLAGS -noixemul"
enable_files="yes" # Required for reading ENV:
AC_SUBST(NOIXEMUL, -noixemul)
AC_SUBST(OBJFW_RT_AMIGA_LIB, objfw_rt.library)
AC_SUBST(OBJFW_RT_AMIGA_LINKLIB, libobjfw_rt.linklib.a)
AC_SUBST(OBJFW_RT_INLINE_H, ObjFW_RT_inline.h)
|
>
|
>
>
>
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
;;
powerpc-*-amigaos*)
enable_shared="no"
enable_threads="no"
;;
*-morphos*)
AS_IF([test x"$with_ixemul" != x"yes"], [
AS_IF([test x"$OBJCFLAGS" != x""], [
OBJCFLAGS="$OBJCFLAGS -noixemul"
], [
OBJCFLAGS="-O2 -g -noixemul"
])
LDFLAGS="$LDFLAGS -noixemul"
enable_files="yes" # Required for reading ENV:
AC_SUBST(NOIXEMUL, -noixemul)
AC_SUBST(OBJFW_RT_AMIGA_LIB, objfw_rt.library)
AC_SUBST(OBJFW_RT_AMIGA_LINKLIB, libobjfw_rt.linklib.a)
AC_SUBST(OBJFW_RT_INLINE_H, ObjFW_RT_inline.h)
|
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
;;
*-psp-*)
AS_IF([test x"$DEVKITPSP" = x""], [
AC_MSG_ERROR(
[DEVKITPSP is not set! Please set DEVKITPSP.])
])
OBJCFLAGS="$OBJCFLAGS -G0"
CPPFLAGS="$CPPFLAGS -I$DEVKITPSP/psp/sdk/include"
LDFLAGS="$LDFLAGS -G0"
LIBS="$LIBS -L$DEVKITPSP/psp/sdk/lib -lpspdebug -lpspdisplay"
LIBS="$LIBS -lpspge -lpspctrl -lpspsdk -lc -lpspnet"
LIBS="$LIBS -lpspnet_inet -lpspnet_apctl -lpspnet_resolver"
LIBS="$LIBS -lpsputility -lpspuser -lpspkernel -lgcc -lpsplibc"
enable_shared="no"
|
>
|
>
>
>
|
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
;;
*-psp-*)
AS_IF([test x"$DEVKITPSP" = x""], [
AC_MSG_ERROR(
[DEVKITPSP is not set! Please set DEVKITPSP.])
])
AS_IF([test x"$OBJCFLAGS" != x""], [
OBJCFLAGS="$OBJCFLAGS -G0"
], [
OBJCFLAGS="-O2 -G0"
])
CPPFLAGS="$CPPFLAGS -I$DEVKITPSP/psp/sdk/include"
LDFLAGS="$LDFLAGS -G0"
LIBS="$LIBS -L$DEVKITPSP/psp/sdk/lib -lpspdebug -lpspdisplay"
LIBS="$LIBS -lpspge -lpspctrl -lpspsdk -lc -lpspnet"
LIBS="$LIBS -lpspnet_inet -lpspnet_apctl -lpspnet_resolver"
LIBS="$LIBS -lpsputility -lpspuser -lpspkernel -lgcc -lpsplibc"
enable_shared="no"
|