13 |
AC_CHECK_TOOL(LD, ld) |
AC_CHECK_TOOL(LD, ld) |
14 |
AC_CHECK_TOOL(AR, ar) |
AC_CHECK_TOOL(AR, ar) |
15 |
AC_CHECK_TOOL(RANLIB, ranlib) |
AC_CHECK_TOOL(RANLIB, ranlib) |
16 |
AC_CHECK_TOOL(RIG, rig) |
AC_CHECK_TOOL(RIG, rig, no) |
17 |
|
if test x"$RIG" = x"no"; then |
18 |
|
AC_MSG_ERROR([no rig found |
19 |
|
*** You must install rig before trying to configure rtmk]) |
20 |
|
fi |
21 |
|
|
22 |
dnl Checks for features in the compiler |
dnl Checks for features in the compiler |
23 |
AC_C_CONST |
AC_C_CONST |
103 |
AC_SUBST(LD) |
AC_SUBST(LD) |
104 |
AC_SUBST(IN_BOCHS) |
AC_SUBST(IN_BOCHS) |
105 |
|
|
106 |
AC_CONFIG_SUBDIRS(${TARGET_ARCH} rig) |
AC_CONFIG_SUBDIRS(${TARGET_ARCH}) |
107 |
AC_LINK_FILES(include/rtmk/${TARGET_ARCH}, include/rtmk/machine) |
AC_LINK_FILES(include/rtmk/${TARGET_ARCH}, include/rtmk/machine) |
108 |
AC_OUTPUT([Makefile libkern/Makefile include/Makefile include/rtmk/Makefile |
AC_OUTPUT([Makefile libkern/Makefile include/Makefile include/rtmk/Makefile |
109 |
include/rtmk/i386/Makefile include/rtmk/ppc/Makefile doc/Makefile config/Makefile |
include/rtmk/i386/Makefile include/rtmk/ppc/Makefile doc/Makefile config/Makefile |