summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in91
1 files changed, 61 insertions, 30 deletions
diff --git a/configure.in b/configure.in
index 14dd51081..3c26e3d74 100644
--- a/configure.in
+++ b/configure.in
@@ -12,36 +12,6 @@ AC_CHECK_PROG(AR, ar, ar)
12AC_PATH_PROG(PERL, perl) 12AC_PATH_PROG(PERL, perl)
13AC_SUBST(PERL) 13AC_SUBST(PERL)
14 14
15# We may need these for entropy collection
16AC_PATH_PROG(PROG_LS, ls)
17AC_DEFINE_UNQUOTED(PROG_LS, "$PROG_LS")
18AC_PATH_PROG(PROG_NETSTAT, netstat)
19AC_DEFINE_UNQUOTED(PROG_NETSTAT, "$PROG_NETSTAT")
20AC_PATH_PROG(PROG_ARP, arp)
21AC_DEFINE_UNQUOTED(PROG_ARP, "$PROG_ARP")
22AC_PATH_PROG(PROG_IFCONFIG, ifconfig)
23AC_DEFINE_UNQUOTED(PROG_IFCONFIG, "$PROG_IFCONFIG")
24AC_PATH_PROG(PROG_PS, ps)
25AC_DEFINE_UNQUOTED(PROG_PS, "$PROG_PS")
26AC_PATH_PROG(PROG_W, w)
27AC_DEFINE_UNQUOTED(PROG_W, "$PROG_W")
28AC_PATH_PROG(PROG_WHO, who)
29AC_DEFINE_UNQUOTED(PROG_WHO, "$PROG_WHO")
30AC_PATH_PROG(PROG_LAST, last)
31AC_DEFINE_UNQUOTED(PROG_LAST, "$PROG_LAST")
32AC_PATH_PROG(PROG_LASTLOG, lastlog)
33AC_DEFINE_UNQUOTED(PROG_LASTLOG, "$PROG_LASTLOG")
34AC_PATH_PROG(PROG_DF, df)
35AC_DEFINE_UNQUOTED(PROG_DF, "$PROG_DF")
36AC_PATH_PROG(PROG_VMSTAT, vmstat)
37AC_DEFINE_UNQUOTED(PROG_VMSTAT, "$PROG_VMSTAT")
38AC_PATH_PROG(PROG_UPTIME, uptime)
39AC_DEFINE_UNQUOTED(PROG_UPTIME, "$PROG_UPTIME")
40AC_PATH_PROG(PROG_IPCS, ipcs)
41AC_DEFINE_UNQUOTED(PROG_UPTIME, "$PROG_UPTIME")
42AC_PATH_PROG(PROG_TAIL, tail)
43AC_DEFINE_UNQUOTED(PROG_TAIL, "$PROG_TAIL")
44
45if test -z "$LD" ; then 15if test -z "$LD" ; then
46 LD=$CC 16 LD=$CC
47fi 17fi
@@ -662,6 +632,67 @@ AC_ARG_WITH(egd-pool,
662 ] 632 ]
663) 633)
664 634
635if test -z "$RANDOM_POOL" -a -z "$EGD_SOCKET" ; then
636 # Use these commands to collect entropy
637 AC_PATH_PROG(PROG_LS, ls)
638 AC_PATH_PROG(PROG_NETSTAT, netstat)
639 AC_PATH_PROG(PROG_ARP, arp)
640 AC_PATH_PROG(PROG_IFCONFIG, ifconfig)
641 AC_PATH_PROG(PROG_PS, ps)
642 AC_PATH_PROG(PROG_W, w)
643 AC_PATH_PROG(PROG_WHO, who)
644 AC_PATH_PROG(PROG_LAST, last)
645 AC_PATH_PROG(PROG_LASTLOG, lastlog)
646 AC_PATH_PROG(PROG_DF, df)
647 AC_PATH_PROG(PROG_VMSTAT, vmstat)
648 AC_PATH_PROG(PROG_UPTIME, uptime)
649 AC_PATH_PROG(PROG_IPCS, ipcs)
650 AC_PATH_PROG(PROG_TAIL, tail)
651 AC_PATH_PROG(PROG_LS, ls)
652 if test ! -z "$PROG_LS" ; then
653 AC_DEFINE_UNQUOTED(PROG_LS, "$PROG_LS")
654 fi
655 if test ! -z "$PROG_NETSTAT" ; then
656 AC_DEFINE_UNQUOTED(PROG_NETSTAT, "$PROG_NETSTAT")
657 fi
658 if test ! -z "$PROG_ARP" ; then
659 AC_DEFINE_UNQUOTED(PROG_ARP, "$PROG_ARP")
660 fi
661 if test ! -z "$PROG_IFCONFIG" ; then
662 AC_DEFINE_UNQUOTED(PROG_IFCONFIG, "$PROG_IFCONFIG")
663 fi
664 if test ! -z "$PROG_PS" ; then
665 AC_DEFINE_UNQUOTED(PROG_PS, "$PROG_PS")
666 fi
667 if test ! -z "$PROG_W" ; then
668 AC_DEFINE_UNQUOTED(PROG_W, "$PROG_W")
669 fi
670 if test ! -z "$PROG_WHO" ; then
671 AC_DEFINE_UNQUOTED(PROG_WHO, "$PROG_WHO")
672 fi
673 if test ! -z "$PROG_LAST" ; then
674 AC_DEFINE_UNQUOTED(PROG_LAST, "$PROG_LAST")
675 fi
676 if test ! -z "$PROG_LASTLOG" ; then
677 AC_DEFINE_UNQUOTED(PROG_LASTLOG, "$PROG_LASTLOG")
678 fi
679 if test ! -z "$PROG_DF" ; then
680 AC_DEFINE_UNQUOTED(PROG_DF, "$PROG_DF")
681 fi
682 if test ! -z "$PROG_VMSTAT" ; then
683 AC_DEFINE_UNQUOTED(PROG_VMSTAT, "$PROG_VMSTAT")
684 fi
685 if test ! -z "$PROG_UPTIME" ; then
686 AC_DEFINE_UNQUOTED(PROG_UPTIME, "$PROG_UPTIME")
687 fi
688 if test ! -z "$PROG_UPTIME" ; then
689 AC_DEFINE_UNQUOTED(PROG_UPTIME, "$PROG_UPTIME")
690 fi
691 if test ! -z "$PROG_TAIL" ; then
692 AC_DEFINE_UNQUOTED(PROG_TAIL, "$PROG_TAIL")
693 fi
694fi
695
665AC_ARG_WITH(catman, 696AC_ARG_WITH(catman,
666 [ --with-catman=man|cat Install preformatted manpages[no]], 697 [ --with-catman=man|cat Install preformatted manpages[no]],
667 [ 698 [