equal
deleted
inserted
replaced
366 ) |
366 ) |
367 |
367 |
368 if test "x${cycles}" = "x1"; then |
368 if test "x${cycles}" = "x1"; then |
369 AC_DEFINE([EC_HAVE_CYCLES], [1], [Use CPU timestamp counter]) |
369 AC_DEFINE([EC_HAVE_CYCLES], [1], [Use CPU timestamp counter]) |
370 fi |
370 fi |
|
371 |
|
372 #------------------------------------------------------------------------------ |
|
373 # Command-line tool |
|
374 #----------------------------------------------------------------------------- |
|
375 |
|
376 AC_ARG_ENABLE([tool], |
|
377 AS_HELP_STRING([--enable-tool], |
|
378 [Build command-line tool (default: yes)]), |
|
379 [ |
|
380 case "${enableval}" in |
|
381 yes) tool=1 |
|
382 ;; |
|
383 no) tool=0 |
|
384 ;; |
|
385 *) AC_MSG_ERROR([Invalid value for --enable-tool]) |
|
386 ;; |
|
387 esac |
|
388 ], |
|
389 [tool=1] |
|
390 ) |
|
391 |
|
392 AM_CONDITIONAL(BUILD_TOOL, test "x$tool" = "x1") |
371 |
393 |
372 #------------------------------------------------------------------------------ |
394 #------------------------------------------------------------------------------ |
373 # Userspace library generation |
395 # Userspace library generation |
374 #------------------------------------------------------------------------------ |
396 #------------------------------------------------------------------------------ |
375 |
397 |