@@ -30,8 +30,6 @@ AC_CONFIG_FILES([
30
30
fixtures/Makefile
31
31
fixtures/multiboot2_bin_examples_gen.c
32
32
include/Makefile
33
- libc/Makefile
34
- libc/include/Makefile
35
33
include/kernaux/version.h
36
34
tests/Makefile
37
35
tests/test_multiboot2_header_print.c
@@ -62,7 +60,6 @@ AC_ARG_ENABLE([checks-all], AS_HELP_STRING([--enable-checks-all], [ena
62
60
AC_ARG_ENABLE ( [ checks-cppcheck] , AS_HELP_STRING ( [ --enable-checks-cppcheck] , [ enable cppcheck] ) )
63
61
AC_ARG_ENABLE ( [ checks-pthreads] , AS_HELP_STRING ( [ --enable-checks-pthreads] , [ enable tests that require pthreads] ) )
64
62
AC_ARG_ENABLE ( [ checks-python] , AS_HELP_STRING ( [ --enable-checks-python] , [ enable tests that require Python 3 with YAML and Jinja2] ) )
65
- AC_ARG_ENABLE ( [ split-libc] , AS_HELP_STRING ( [ --enable-split-libc] , [ split off libc] ) )
66
63
67
64
dnl Features (with parameter)
68
65
AC_ARG_ENABLE ( [ pkg-config] , AS_HELP_STRING ( [ --enable-pkg-config@<:@ =PATH@:>@ ] , [ install pkg-config files @<:@ PATH='${libdir}/pkgconfig'@:>@ ] ) )
@@ -86,9 +83,6 @@ AC_ARG_WITH( [printf], AS_HELP_STRING([--without-printf], [wit
86
83
AC_ARG_WITH ( [ printf-fmt] , AS_HELP_STRING ( [ --without-printf-fmt] , [ without printf format parser] ) )
87
84
AC_ARG_WITH ( [ units] , AS_HELP_STRING ( [ --without-units] , [ without measurement units utils] ) )
88
85
89
- dnl Packages (disabled by default)
90
- AC_ARG_WITH ( [ libc] , AS_HELP_STRING ( [ --with-libc] , [ with libc replacement] ) )
91
-
92
86
93
87
94
88
# ###############
@@ -151,7 +145,6 @@ AS_IF([test "$enable_checks_all" = yes], [enable_checks_all=yes], [ena
151
145
AS_IF ( [ test "$enable_checks_cppcheck" = yes] , [ enable_checks_cppcheck=yes] , [ enable_checks_cppcheck=no] )
152
146
AS_IF ( [ test "$enable_checks_pthreads" = yes] , [ enable_checks_pthreads=yes] , [ enable_checks_pthreads=no] )
153
147
AS_IF ( [ test "$enable_checks_python" = yes] , [ enable_checks_python=yes] , [ enable_checks_python=no] )
154
- AS_IF ( [ test "$enable_split_libc" = yes] , [ enable_split_libc=yes] , [ enable_split_libc=no] )
155
148
156
149
dnl Features (with parameter)
157
150
AS_IF ( [ test "$enable_pkg_config" = yes] , [ enable_pkg_config='${libdir}/pkgconfig'] )
@@ -176,9 +169,6 @@ AS_IF([test "$with_printf" = no ], [with_printf=no], [wit
176
169
AS_IF ( [ test "$with_printf_fmt" = no ] , [ with_printf_fmt=no] , [ with_printf_fmt=yes] )
177
170
AS_IF ( [ test "$with_units" = no ] , [ with_units=no] , [ with_units=yes] )
178
171
179
- dnl Packages (disabled by default)
180
- AS_IF ( [ test "$with_libc" = yes] , [ with_libc=yes] , [ with_libc=no] )
181
-
182
172
183
173
184
174
# ############
@@ -187,8 +177,6 @@ AS_IF([test "$with_libc" = yes], [with_libc=yes], [wit
187
177
188
178
AS_IF ( [ test "$enable_checks" = yes -a "$enable_freestanding" = yes] , AC_MSG_ERROR ( [ can not build freestanding tests] ) )
189
179
AS_IF ( [ test "$enable_fixtures" = yes -a "$enable_freestanding" = yes] , AC_MSG_ERROR ( [ can not build freestanding fixtures] ) )
190
- AS_IF ( [ test "$enable_checks" = yes -a "$with_libc" = yes] , AC_MSG_ERROR ( [ can not use package `libc' with tests] ) )
191
- AS_IF ( [ test "$enable_fixtures" = yes -a "$with_libc" = yes] , AC_MSG_ERROR ( [ can not use package `libc' with fixtures] ) )
192
180
193
181
AS_IF ( [ test "$with_printf" = yes -a "$with_ntoa" = no] , AC_MSG_ERROR ( [ package `printf' requires package `ntoa'] ) )
194
182
AS_IF ( [ test "$with_printf" = yes -a "$with_printf_fmt" = no] , AC_MSG_ERROR ( [ package `printf' requires package `printf-fmt'] ) )
@@ -220,7 +208,6 @@ AM_CONDITIONAL([ENABLE_CHECKS], [test "$enable_checks" = yes])
220
208
AM_CONDITIONAL([ ENABLE_CHECKS_CPPCHECK] , [ test "$enable_checks_cppcheck" = yes] )
221
209
AM_CONDITIONAL([ ENABLE_CHECKS_PTHREADS] , [ test "$enable_checks_pthreads" = yes] )
222
210
AM_CONDITIONAL([ ENABLE_CHECKS_PYTHON] , [ test "$enable_checks_python" = yes] )
223
- AM_CONDITIONAL([ ENABLE_SPLIT_LIBC] , [ test "$enable_split_libc" = yes] )
224
211
225
212
dnl Features (with parameter)
226
213
AM_CONDITIONAL([ ENABLE_PKG_CONFIG] , [ test ! -z "$enable_pkg_config"] )
@@ -242,9 +229,6 @@ AM_CONDITIONAL([WITH_PRINTF], [test "$with_printf" = yes])
242
229
AM_CONDITIONAL([ WITH_PRINTF_FMT] , [ test "$with_printf_fmt" = yes] )
243
230
AM_CONDITIONAL([ WITH_UNITS] , [ test "$with_units" = yes] )
244
231
245
- dnl Packages (disabled by default)
246
- AM_CONDITIONAL([ WITH_LIBC] , [ test "$with_libc" = yes] )
247
-
248
232
dnl Packages (virtual)
249
233
AM_CONDITIONAL([ WITH_ARCH_X86] , [ test "$with_arch_i386" = yes -o "$with_arch_x86_64" = yes] )
250
234
@@ -275,7 +259,6 @@ AS_IF([test "$enable_checks" = yes], [AC_DEFINE([ENABLE_CHECKS],
275
259
AS_IF ( [ test "$enable_checks_cppcheck" = yes] , [ AC_DEFINE ( [ ENABLE_CHECKS_CPPCHECK] , [ 1] , [ enabled cppcheck] ) ] )
276
260
AS_IF ( [ test "$enable_checks_pthreads" = yes] , [ AC_DEFINE ( [ ENABLE_CHECKS_PTHREADS] , [ 1] , [ enabled tests that require pthreads] ) ] )
277
261
AS_IF ( [ test "$enable_checks_python" = yes] , [ AC_DEFINE ( [ ENABLE_CHECKS_PYTHON] , [ 1] , [ enabled tests that require Python 3 with YAML and Jinja2] ) ] )
278
- AS_IF ( [ test "$enable_split_libc" = yes] , [ AC_DEFINE ( [ ENABLE_SPLIT_LIBC] , [ 1] , [ split off libc] ) ] )
279
262
280
263
dnl Packages (enabled by default)
281
264
AS_IF ( [ test "$with_arch_i386" = yes] , [ AC_DEFINE ( [ WITH_ARCH_I386] , [ 1] , [ with architecture i386] ) ] )
@@ -294,9 +277,6 @@ AS_IF([test "$with_printf" = yes], [AC_DEFINE([WITH_PRINTF],
294
277
AS_IF ( [ test "$with_printf_fmt" = yes] , [ AC_DEFINE ( [ WITH_PRINTF_FMT] , [ 1] , [ with printf format parser] ) ] )
295
278
AS_IF ( [ test "$with_units", = yes] , [ AC_DEFINE ( [ WITH_UNITS] , [ 1] , [ with measurement units utils] ) ] )
296
279
297
- dnl Packages (disabled by default)
298
- AS_IF ( [ test "$with_libc" = yes] , [ AC_DEFINE ( [ WITH_LIBC] , [ 1] , [ with libc replacement] ) ] )
299
-
300
280
dnl Packages (virtual)
301
281
AS_IF ( [ test "$with_arch_i386" = yes] , [ AC_DEFINE ( [ WITH_ARCH_X86] , [ 1] , [ with architecture x86] ) ] )
302
282
AS_IF ( [ test "$with_arch_x86_64" = yes] , [ AC_DEFINE ( [ WITH_ARCH_X86] , [ 1] , [ with architecture x86] ) ] )
0 commit comments