OLD | NEW |
1 # -*- Autoconf -*- | 1 # -*- Autoconf -*- |
2 # Process this file with autoconf to produce a configure script. | 2 # Process this file with autoconf to produce a configure script. |
3 | 3 |
4 ############################################################################### | 4 ############################################################################### |
5 # | 5 # |
6 # Author: Lasse Collin | 6 # Author: Lasse Collin |
7 # | 7 # |
8 # This file has been put into the public domain. | 8 # This file has been put into the public domain. |
9 # You can do whatever you want with this file. | 9 # You can do whatever you want with this file. |
10 # | 10 # |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 | 409 |
410 echo | 410 echo |
411 gl_POSIX_SHELL | 411 gl_POSIX_SHELL |
412 if test -z "$POSIX_SHELL" ; then | 412 if test -z "$POSIX_SHELL" ; then |
413 AC_MSG_ERROR([No POSIX conforming shell (sh) was found.]) | 413 AC_MSG_ERROR([No POSIX conforming shell (sh) was found.]) |
414 fi | 414 fi |
415 | 415 |
416 echo | 416 echo |
417 echo "Initializing Automake:" | 417 echo "Initializing Automake:" |
418 | 418 |
419 AM_INIT_AUTOMAKE([1.10 foreign tar-v7 filename-length-max=99]) | 419 # Automake 1.10 should still be enough but you need to omit serial-tests. |
| 420 dnl AM_INIT_AUTOMAKE([1.10 foreign tar-v7 filename-length-max=99]) |
| 421 AM_INIT_AUTOMAKE([1.12 foreign tar-v7 filename-length-max=99 serial-tests]) |
420 AC_PROG_LN_S | 422 AC_PROG_LN_S |
421 | 423 |
422 AC_PROG_CC_C99 | 424 AC_PROG_CC_C99 |
423 if test x$ac_cv_prog_cc_c99 = xno ; then | 425 if test x$ac_cv_prog_cc_c99 = xno ; then |
424 AC_MSG_ERROR([No C99 compiler was found.]) | 426 AC_MSG_ERROR([No C99 compiler was found.]) |
425 fi | 427 fi |
426 | 428 |
427 AM_PROG_CC_C_O | 429 AM_PROG_CC_C_O |
428 AM_PROG_AS | 430 AM_PROG_AS |
429 AC_USE_SYSTEM_EXTENSIONS | 431 AC_USE_SYSTEM_EXTENSIONS |
(...skipping 23 matching lines...) Expand all Loading... |
453 # libs as shared. | 455 # libs as shared. |
454 AM_CONDITIONAL([COND_SHARED], [test "x$enable_shared" != xno]) | 456 AM_CONDITIONAL([COND_SHARED], [test "x$enable_shared" != xno]) |
455 | 457 |
456 | 458 |
457 ############################################################################### | 459 ############################################################################### |
458 # Checks for libraries. | 460 # Checks for libraries. |
459 ############################################################################### | 461 ############################################################################### |
460 | 462 |
461 echo | 463 echo |
462 echo "Initializing gettext:" | 464 echo "Initializing gettext:" |
463 AM_GNU_GETTEXT_VERSION([0.16.1]) | 465 AM_GNU_GETTEXT_VERSION([0.18]) |
464 AM_GNU_GETTEXT([external]) | 466 AM_GNU_GETTEXT([external]) |
465 | 467 |
466 ############################################################################### | 468 ############################################################################### |
467 # Checks for header files. | 469 # Checks for header files. |
468 ############################################################################### | 470 ############################################################################### |
469 | 471 |
470 echo | 472 echo |
471 echo "System headers and functions:" | 473 echo "System headers and functions:" |
472 | 474 |
473 # There is currently no workarounds in this package if some of | 475 # There is currently no workarounds in this package if some of |
(...skipping 17 matching lines...) Expand all Loading... |
491 AC_TYPE_UINT16_T | 493 AC_TYPE_UINT16_T |
492 AC_TYPE_INT32_T | 494 AC_TYPE_INT32_T |
493 AC_TYPE_UINT32_T | 495 AC_TYPE_UINT32_T |
494 AC_TYPE_INT64_T | 496 AC_TYPE_INT64_T |
495 AC_TYPE_UINT64_T | 497 AC_TYPE_UINT64_T |
496 AC_TYPE_UINTPTR_T | 498 AC_TYPE_UINTPTR_T |
497 | 499 |
498 AC_CHECK_SIZEOF([size_t]) | 500 AC_CHECK_SIZEOF([size_t]) |
499 | 501 |
500 # The command line tool can copy high resolution timestamps if such | 502 # The command line tool can copy high resolution timestamps if such |
501 # information is availabe in struct stat. Otherwise one second accuracy | 503 # information is available in struct stat. Otherwise one second accuracy |
502 # is used. | 504 # is used. |
503 AC_CHECK_MEMBERS([ | 505 AC_CHECK_MEMBERS([ |
504 struct stat.st_atim.tv_nsec, | 506 struct stat.st_atim.tv_nsec, |
505 struct stat.st_atimespec.tv_nsec, | 507 struct stat.st_atimespec.tv_nsec, |
506 struct stat.st_atimensec, | 508 struct stat.st_atimensec, |
507 struct stat.st_uatime, | 509 struct stat.st_uatime, |
508 struct stat.st_atim.st__tim.tv_nsec]) | 510 struct stat.st_atim.st__tim.tv_nsec]) |
509 | 511 |
510 AC_SYS_LARGEFILE | 512 AC_SYS_LARGEFILE |
511 AC_C_BIGENDIAN | 513 AC_C_BIGENDIAN |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 # pointer although we don't modify anything through it. | 555 # pointer although we don't modify anything through it. |
554 # * -Wcast-align breaks optimized CRC32 and CRC64 implementation | 556 # * -Wcast-align breaks optimized CRC32 and CRC64 implementation |
555 # on some architectures (not on x86), where this warning is bogus, | 557 # on some architectures (not on x86), where this warning is bogus, |
556 # because we take care of correct alignment. | 558 # because we take care of correct alignment. |
557 # * -Winline, -Wdisabled-optimization, -Wunsafe-loop-optimizations | 559 # * -Winline, -Wdisabled-optimization, -Wunsafe-loop-optimizations |
558 # don't seem so useful here; at least the last one gives some | 560 # don't seem so useful here; at least the last one gives some |
559 # warnings which are not bugs. | 561 # warnings which are not bugs. |
560 for NEW_FLAG in \ | 562 for NEW_FLAG in \ |
561 -Wall \ | 563 -Wall \ |
562 -Wextra \ | 564 -Wextra \ |
| 565 -Wvla \ |
563 -Wformat=2 \ | 566 -Wformat=2 \ |
564 -Winit-self \ | 567 -Winit-self \ |
565 -Wmissing-include-dirs \ | 568 -Wmissing-include-dirs \ |
566 -Wstrict-aliasing \ | 569 -Wstrict-aliasing \ |
567 -Wfloat-equal \ | 570 -Wfloat-equal \ |
568 -Wundef \ | 571 -Wundef \ |
569 -Wshadow \ | 572 -Wshadow \ |
570 -Wpointer-arith \ | 573 -Wpointer-arith \ |
571 -Wbad-function-cast \ | 574 -Wbad-function-cast \ |
572 -Wwrite-strings \ | 575 -Wwrite-strings \ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 echo "Consider using --enable-assume-ram (if you didn't already)" | 652 echo "Consider using --enable-assume-ram (if you didn't already)" |
650 echo "or make a patch to add support for this operating system." | 653 echo "or make a patch to add support for this operating system." |
651 fi | 654 fi |
652 | 655 |
653 # Not threading yet so don't warn. | 656 # Not threading yet so don't warn. |
654 #if test x$tuklib_cv_cpucores_method = xunknown; then | 657 #if test x$tuklib_cv_cpucores_method = xunknown; then |
655 # echo | 658 # echo |
656 # echo "WARNING:" | 659 # echo "WARNING:" |
657 # echo "No supported method to detect the number of CPU cores." | 660 # echo "No supported method to detect the number of CPU cores." |
658 #fi | 661 #fi |
OLD | NEW |