@@ -98,7 +98,7 @@ AC_ARG_ENABLE([hardening],
98
98
99
99
AC_ARG_ENABLE ( [ ccache] ,
100
100
[ AS_HELP_STRING ( [ --enable-ccache] ,
101
- [ enable building with ccache (default is yes if ccache is found)] ) ] ,
101
+ [ use ccache for building (default is yes if ccache is found)] ) ] ,
102
102
[ use_ccache=$enableval] ,
103
103
[ use_ccache=auto] )
104
104
494
494
495
495
BITCOIN_QT_PATH_PROGS([ PROTOC] , [ protoc] ,$protoc_bin_path)
496
496
497
- AC_MSG_CHECKING ( [ if bitcoind should be enabled ] )
497
+ AC_MSG_CHECKING ( [ whether to build bitcoind ] )
498
498
AM_CONDITIONAL([ BUILD_BITCOIND] , [ test x$build_bitcoind = xyes] )
499
499
AC_MSG_RESULT ( $build_bitcoind )
500
500
501
- AC_MSG_CHECKING ( [ if bitcoin-cli should be enabled ] )
501
+ AC_MSG_CHECKING ( [ whether to build bitcoin-cli] )
502
502
AM_CONDITIONAL([ BUILD_BITCOIN_CLI] , [ test x$build_bitcoin_cli = xyes] )
503
503
AC_MSG_RESULT ( $build_bitcoin_cli )
504
504
@@ -508,7 +508,7 @@ BITCOIN_QT_CONFIGURE([$use_pkgconfig], [qt4])
508
508
509
509
if test x$use_ipv6 = xyes; then
510
510
dnl Check for ipv6 build requirements
511
- AC_MSG_CHECKING ( for IPV6 build support )
511
+ AC_MSG_CHECKING ( for operating system IPv6 support )
512
512
AC_TRY_LINK ( [
513
513
#if defined(_WINDOWS)
514
514
#include <winsock2.h>
@@ -523,18 +523,17 @@ if test x$use_ipv6 = xyes; then
523
523
struct sockaddr_in6 addr;
524
524
#endif
525
525
int temp = socket(AF_INET6, SOCK_STREAM, 0);] ,
526
- [ AC_MSG_RESULT ( yes ) ; have_ipv6=yes; AC_DEFINE ( HAVE_IPV6 , 1 , [ Define this symbol if you have ipv6 build support] ) ] ,
526
+ [ AC_MSG_RESULT ( yes ) ; have_ipv6=yes; AC_DEFINE ( HAVE_IPV6 , 1 , [ Define this symbol if you have operating system IPv6 support] ) ] ,
527
527
[ AC_MSG_RESULT ( no ) ] ; have_ipv6=no )
528
528
fi
529
529
AC_LANG_POP
530
530
531
531
if test "x$use_ccache" != "xno"; then
532
- AC_MSG_CHECKING ( if ccache should be enabled )
532
+ AC_MSG_CHECKING ( if ccache should be used )
533
533
if test x$CCACHE = x; then
534
534
if test "x$use_ccache" = "xyes"; then
535
535
AC_MSG_ERROR ( [ ccache not found.] ) ;
536
536
else
537
- AC_MSG_NOTICE ( [ ccache not found. Falling back to default CC] )
538
537
use_ccache=no
539
538
fi
540
539
else
@@ -556,40 +555,40 @@ else
556
555
fi
557
556
558
557
dnl enable ipv6 support
559
- AC_MSG_CHECKING ( [ if ipv6 should be enabled ] )
558
+ AC_MSG_CHECKING ( [ whether to build with support for IPv6 ] )
560
559
if test x$have_ipv6 = xno; then
561
560
if test x$use_ipv6 = xyes; then
562
- AC_MSG_ERROR ( "ipv6 requested but cannot be built. use -- disable-ipv6" )
561
+ AC_MSG_ERROR ( [ IPv6 requested, but cannot be built. use --disable-ipv6] )
563
562
fi
564
563
AC_MSG_RESULT ( no )
565
564
else
566
565
if test x$use_ipv6 = xyes; then
567
566
AC_MSG_RESULT ( yes )
568
- AC_DEFINE ( [ USE_IPV6] ,[ 1] ,[ Define if ipv6 support should be compiled in] )
567
+ AC_DEFINE ( [ USE_IPV6] ,[ 1] ,[ Define if IPv6 support should be compiled in] )
569
568
else
570
569
AC_MSG_RESULT ( no )
571
570
fi
572
571
fi
573
572
574
573
dnl enable upnp support
575
- AC_MSG_CHECKING ( [ if upnp should be enabled ] )
574
+ AC_MSG_CHECKING ( [ whether to build with support for UPnP ] )
576
575
if test x$have_miniupnpc = xno; then
577
576
if test x$use_upnp = xyes; then
578
- AC_MSG_ERROR ( "upnp requested but cannot be built. use -- without-miniupnpc" )
577
+ AC_MSG_ERROR ( "UPnP requested but cannot be built. use -- without-miniupnpc" )
579
578
fi
580
579
AC_MSG_RESULT ( no )
581
580
else
582
581
if test x$use_upnp != xno; then
583
582
AC_MSG_RESULT ( yes )
584
- AC_MSG_CHECKING ( [ if upnp should be on by default] )
583
+ AC_MSG_CHECKING ( [ whether to build with UPnP enabled by default] )
585
584
use_upnp=yes
586
585
upnp_setting=0
587
586
if test x$use_upnp_default != xno; then
588
587
use_upnp_default=yes
589
588
upnp_setting=1
590
589
fi
591
590
AC_MSG_RESULT ( $use_upnp_default )
592
- AC_DEFINE_UNQUOTED ( [ USE_UPNP] ,[ $upnp_setting] ,[ Define to 1 for upnp runtime support ] )
591
+ AC_DEFINE_UNQUOTED ( [ USE_UPNP] ,[ $upnp_setting] ,[ UPnP support not compiled if undefined, otherwise value (0 or 1) determines default state ] )
593
592
if test x$TARGET_OS = xwindows; then
594
593
CPPFLAGS="$CPPFLAGS -DSTATICLIB"
595
594
fi
@@ -602,14 +601,14 @@ dnl these are only used when qt is enabled
602
601
if test x$bitcoin_enable_qt != xno; then
603
602
BUILD_QT=qt
604
603
dnl enable dbus support
605
- AC_MSG_CHECKING ( [ if dbus should be enabled ] )
604
+ AC_MSG_CHECKING ( [ whether to build GUI with support for D-Bus ] )
606
605
if test x$bitcoin_enable_qt_dbus != xno; then
607
606
AC_DEFINE ( [ USE_DBUS] ,[ 1] ,[ Define if dbus support should be compiled in] )
608
607
fi
609
608
AC_MSG_RESULT ( $bitcoin_enable_qt_dbus )
610
609
611
610
dnl enable qr support
612
- AC_MSG_CHECKING ( [ if qr should be enabled ] )
611
+ AC_MSG_CHECKING ( [ whether to build GUI with support for QR codes ] )
613
612
if test x$have_qrencode = xno; then
614
613
if test x$use_qr == xyes; then
615
614
AC_MSG_ERROR ( "QR support requested but cannot be built. use -- without-qrencode" )
@@ -629,16 +628,21 @@ if test x$bitcoin_enable_qt != xno; then
629
628
AC_MSG_WARN ( "xgettext is required to update qt translations" )
630
629
fi
631
630
632
- if test x$use_tests = xyes; then
631
+ AC_MSG_CHECKING ( [ whether to build test_bitcoin-qt] )
632
+ if test x$use_tests$bitcoin_enable_qt_test = xyesyes; then
633
+ AC_MSG_RESULT ( [ yes] )
633
634
BUILD_TEST_QT="test"
634
- if test x$bitcoin_enable_qt_test != xyes; then
635
- AC_MSG_ERROR ( "Qt Test lib not found. Use -- disable-tests or -- without-gui." )
636
- fi
635
+ else
636
+ AC_MSG_RESULT ( [ no] )
637
637
fi
638
638
fi
639
639
640
+ AC_MSG_CHECKING ( [ whether to build test_bitcoin] )
640
641
if test x$use_tests = xyes; then
642
+ AC_MSG_RESULT ( [ yes] )
641
643
BUILD_TEST="test"
644
+ else
645
+ AC_MSG_RESULT ( [ no] )
642
646
fi
643
647
644
648
if test "x$use_tests$build_bitcoind$use_qt" = "xnonono"; then
0 commit comments