72 |
|
|
73 |
AC_MSG_CHECKING([for static GNU C library]) |
AC_MSG_CHECKING([for static GNU C library]) |
74 |
static_libc=libc.a |
static_libc=libc.a |
|
echo $host_os |
|
75 |
case $host_os in |
case $host_os in |
76 |
gnu*) |
gnu*) |
|
echo HALLO |
|
77 |
# On the GNU/Hurd, libc.a is a linker script, the real C library |
# On the GNU/Hurd, libc.a is a linker script, the real C library |
78 |
# can be found in libcrt.a instead. |
# can be found in libcrt.a instead. But fall back on libc.a for |
79 |
static_libc=libcrt.a |
# cheap cross-compilation. |
80 |
|
libcrta=`$CC -print-file-name=libcrt.a` |
81 |
|
if test "x$libcrta" != "xlibcrt.a"; then |
82 |
|
static_libc=libcrt.a |
83 |
|
fi |
84 |
;; |
;; |
85 |
esac |
esac |
86 |
STATIC_GLIBC=`$CC -print-file-name=$static_libc` |
STATIC_GLIBC=`$CC -print-file-name=$static_libc` |
155 |
m4_include([libpthread/headers.m4]) |
m4_include([libpthread/headers.m4]) |
156 |
m4_include([wortel/headers.m4]) |
m4_include([wortel/headers.m4]) |
157 |
|
|
158 |
|
# Check for libc and components using it. |
159 |
|
|
160 |
|
AC_ARG_WITH([libc], |
161 |
|
[ --with-libc compile with the GNU C library (see libc/README)]) |
162 |
|
AM_CONDITIONAL(WITH_LIBC, test x"${with_libc-no}" != xno) |
163 |
|
|
164 |
|
|
165 |
if test "x$missing_progs" != "x"; then |
if test "x$missing_progs" != "x"; then |
166 |
AC_MSG_ERROR([The following programs were not found:$missing_progs]) |
AC_MSG_ERROR([The following programs were not found:$missing_progs]) |
167 |
fi |
fi |
187 |
physmem/Makefile |
physmem/Makefile |
188 |
task/Makefile |
task/Makefile |
189 |
deva/Makefile |
deva/Makefile |
190 |
|
libc/Makefile |
191 |
ruth/Makefile |
ruth/Makefile |
192 |
doc/Makefile]) |
doc/Makefile]) |
193 |
AC_OUTPUT |
AC_OUTPUT |