equal
deleted
inserted
replaced
13 #------------------------------------------------------------------------------ |
13 #------------------------------------------------------------------------------ |
14 # Global |
14 # Global |
15 #------------------------------------------------------------------------------ |
15 #------------------------------------------------------------------------------ |
16 |
16 |
17 AC_PROG_CXX |
17 AC_PROG_CXX |
|
18 AC_PROG_LIBTOOL |
18 |
19 |
19 #------------------------------------------------------------------------------ |
20 #------------------------------------------------------------------------------ |
20 # Linux sources |
21 # Linux sources |
21 #------------------------------------------------------------------------------ |
22 #------------------------------------------------------------------------------ |
22 |
23 |
365 ) |
366 ) |
366 |
367 |
367 if test "x${cycles}" = "x1"; then |
368 if test "x${cycles}" = "x1"; then |
368 AC_DEFINE([EC_HAVE_CYCLES], [1], [Use CPU timestamp counter]) |
369 AC_DEFINE([EC_HAVE_CYCLES], [1], [Use CPU timestamp counter]) |
369 fi |
370 fi |
|
371 |
|
372 #------------------------------------------------------------------------------ |
|
373 # Userspace library generation |
|
374 #------------------------------------------------------------------------------ |
|
375 |
|
376 AC_ARG_ENABLE([userlib], |
|
377 AS_HELP_STRING([--enable-userlib], |
|
378 [Generation of the userspace library (default: yes)]), |
|
379 [ |
|
380 case "${enableval}" in |
|
381 yes) userlib=1 |
|
382 ;; |
|
383 no) userlib=0 |
|
384 ;; |
|
385 *) AC_MSG_ERROR([Invalid value for --enable-userlib]) |
|
386 ;; |
|
387 esac |
|
388 ], |
|
389 [userlib=1] |
|
390 ) |
|
391 |
|
392 AM_CONDITIONAL(ENABLE_USERLIB, test "x$userlib" = "x1") |
370 |
393 |
371 #------------------------------------------------------------------------------ |
394 #------------------------------------------------------------------------------ |
372 |
395 |
373 AC_CONFIG_FILES([ |
396 AC_CONFIG_FILES([ |
374 Doxyfile |
397 Doxyfile |
381 examples/Makefile |
404 examples/Makefile |
382 examples/mini/Kbuild |
405 examples/mini/Kbuild |
383 examples/mini/Makefile |
406 examples/mini/Makefile |
384 examples/rtai/Kbuild |
407 examples/rtai/Kbuild |
385 examples/rtai/Makefile |
408 examples/rtai/Makefile |
|
409 examples/user/Makefile |
386 include/Makefile |
410 include/Makefile |
|
411 lib/Makefile |
387 master/Kbuild |
412 master/Kbuild |
388 master/Makefile |
413 master/Makefile |
389 script/Makefile |
414 script/Makefile |
390 script/init.d/Makefile |
415 script/init.d/Makefile |
391 script/init.d/ethercat |
416 script/init.d/ethercat |