1
2
3
4
5
6
7
8
|
AC_INIT(ObjFW, 0.9-dev, js@heap.zone)
BUILDSYS_INIT
AS_IF([test configure.ac -nt configure], [
AC_MSG_ERROR([configure.ac is newer than configure! Run autoreconf!])
])
AC_CONFIG_SRCDIR(src)
|
|
|
1
2
3
4
5
6
7
8
|
AC_INIT(ObjFW, 0.90, js@heap.zone)
BUILDSYS_INIT
AS_IF([test configure.ac -nt configure], [
AC_MSG_ERROR([configure.ac is newer than configure! Run autoreconf!])
])
AC_CONFIG_SRCDIR(src)
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
*-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_MORPHOS_LIB, objfw-rt.library)
])
enable_shared="no"
enable_threads="no"
;;
*-msdosdjgpp*)
enable_shared="no"
|
<
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
*-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)
])
enable_shared="no"
enable_threads="no"
;;
*-msdosdjgpp*)
enable_shared="no"
|
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
|
AC_DEFINE(HAVE_SELECT, 1,
[Whether we have select() or similar])
AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M,
"OFKernelEventObserver_select.m")
])
;;
esac
AC_MSG_CHECKING(for getaddrinfo)
AC_TRY_COMPILE([
#include <stddef.h>
#ifdef OF_HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
|
>
>
>
>
>
>
|
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
|
AC_DEFINE(HAVE_SELECT, 1,
[Whether we have select() or similar])
AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M,
"OFKernelEventObserver_select.m")
])
;;
esac
AS_IF([test x"$with_wii" = x"yes"], [
AC_DEFINE(HAVE_SELECT, 1, [Whether we have select() or similar])
AC_SUBST(OFKERNELEVENTOBSERVER_SELECT_M,
"OFKernelEventObserver_select.m")
])
AC_MSG_CHECKING(for getaddrinfo)
AC_TRY_COMPILE([
#include <stddef.h>
#ifdef OF_HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
|