| 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 AC_MSG_ERROR([No C99 compiler was found.]) | 424 AC_MSG_ERROR([No C99 compiler was found.]) |
| 425 fi | 425 fi |
| 426 | 426 |
| 427 AM_PROG_CC_C_O | 427 AM_PROG_CC_C_O |
| 428 AM_PROG_AS | 428 AM_PROG_AS |
| 429 AC_USE_SYSTEM_EXTENSIONS | 429 AC_USE_SYSTEM_EXTENSIONS |
| 430 | 430 |
| 431 if test "x$enable_threads" = xyes; then | 431 if test "x$enable_threads" = xyes; then |
| 432 echo | 432 echo |
| 433 echo "Threading support:" | 433 echo "Threading support:" |
| 434 » ACX_PTHREAD | 434 » AX_PTHREAD |
| 435 LIBS="$LIBS $PTHREAD_LIBS" | 435 LIBS="$LIBS $PTHREAD_LIBS" |
| 436 AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" | 436 AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" |
| 437 » CC="$PTHREAD_CC" | 437 |
| 438 » dnl NOTE: PTHREAD_CC is ignored. It would be useful on AIX, but |
| 439 » dnl it's tricky to get it right together with AC_PROG_CC_C99. |
| 440 » dnl Thus, this is handled by telling the user in INSTALL to set |
| 441 » dnl the correct CC manually. |
| 438 fi | 442 fi |
| 439 | 443 |
| 440 echo | 444 echo |
| 441 echo "Initializing Libtool:" | 445 echo "Initializing Libtool:" |
| 442 LT_PREREQ([2.2]) | 446 LT_PREREQ([2.2]) |
| 443 LT_INIT([win32-dll]) | 447 LT_INIT([win32-dll]) |
| 444 LT_LANG([Windows Resource]) | 448 LT_LANG([Windows Resource]) |
| 445 | 449 |
| 446 # This is a bit wrong since it is possible to request that only some libs | 450 # This is a bit wrong since it is possible to request that only some libs |
| 447 # are built as shared. Using that feature isn't so common though, and this | 451 # are built as shared. Using that feature isn't so common though, and this |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 po/Makefile.in | 624 po/Makefile.in |
| 621 lib/Makefile | 625 lib/Makefile |
| 622 src/Makefile | 626 src/Makefile |
| 623 src/liblzma/liblzma.pc | 627 src/liblzma/liblzma.pc |
| 624 src/liblzma/Makefile | 628 src/liblzma/Makefile |
| 625 src/liblzma/api/Makefile | 629 src/liblzma/api/Makefile |
| 626 src/xz/Makefile | 630 src/xz/Makefile |
| 627 src/xzdec/Makefile | 631 src/xzdec/Makefile |
| 628 src/lzmainfo/Makefile | 632 src/lzmainfo/Makefile |
| 629 src/scripts/Makefile | 633 src/scripts/Makefile |
| 630 src/scripts/xzdiff | |
| 631 src/scripts/xzgrep | |
| 632 src/scripts/xzmore | |
| 633 src/scripts/xzless | |
| 634 tests/Makefile | 634 tests/Makefile |
| 635 debug/Makefile | 635 debug/Makefile |
| 636 ]) | 636 ]) |
| 637 AC_CONFIG_FILES([src/scripts/xzdiff], [chmod +x src/scripts/xzdiff]) |
| 638 AC_CONFIG_FILES([src/scripts/xzgrep], [chmod +x src/scripts/xzgrep]) |
| 639 AC_CONFIG_FILES([src/scripts/xzmore], [chmod +x src/scripts/xzmore]) |
| 640 AC_CONFIG_FILES([src/scripts/xzless], [chmod +x src/scripts/xzless]) |
| 637 | 641 |
| 638 AC_OUTPUT | 642 AC_OUTPUT |
| 639 | 643 |
| 640 # Some warnings | 644 # Some warnings |
| 641 if test x$tuklib_cv_physmem_method = xunknown; then | 645 if test x$tuklib_cv_physmem_method = xunknown; then |
| 642 echo | 646 echo |
| 643 echo "WARNING:" | 647 echo "WARNING:" |
| 644 echo "No supported method to detect the amount of RAM." | 648 echo "No supported method to detect the amount of RAM." |
| 645 echo "Consider using --enable-assume-ram (if you didn't already)" | 649 echo "Consider using --enable-assume-ram (if you didn't already)" |
| 646 echo "or make a patch to add support for this operating system." | 650 echo "or make a patch to add support for this operating system." |
| 647 fi | 651 fi |
| 648 | 652 |
| 649 # Not threading yet so don't warn. | 653 # Not threading yet so don't warn. |
| 650 #if test x$tuklib_cv_cpucores_method = xunknown; then | 654 #if test x$tuklib_cv_cpucores_method = xunknown; then |
| 651 # echo | 655 # echo |
| 652 # echo "WARNING:" | 656 # echo "WARNING:" |
| 653 # echo "No supported method to detect the number of CPU cores." | 657 # echo "No supported method to detect the number of CPU cores." |
| 654 #fi | 658 #fi |
| OLD | NEW |