-
Notifications
You must be signed in to change notification settings - Fork 5
/
configure.ac
119 lines (98 loc) · 3.38 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([apigenome], [0.2.0], [hmkang@umich.edu])
AC_CONFIG_SRCDIR([config.h])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
#perl
AC_CHECK_PROG(PERL_CHECK,perl,yes)
if test x"$PERL_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install perl before installing.])
fi
#gs
AC_CHECK_PROG(GS_CHECK,gs,yes)
if test x"$GS_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install gs before installing.])
fi
#Rscript
AC_CHECK_PROG(RSCRIPT_CHECK,Rscript,yes)
if test x"$RSCRIPT_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install latest version of R before installing.])
fi
#R
AC_CHECK_PROG(R_CHECK,R,yes)
if test x"$R_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install latest version of R before installing.])
fi
#grep
AC_CHECK_PROG(GREP_CHECK,grep,yes)
if test x"$GREP_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install grep before installing.])
fi
#mv
AC_CHECK_PROG(MV_CHECK,mv,yes)
if test x"$MV_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install mv before installing.])
fi
#rm
AC_CHECK_PROG(RM_CHECK,rm,yes)
if test x"$RM_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install rm before installing.])
fi
#make
AC_CHECK_PROG(MAKE_CHECK,make,yes)
if test x"$MAKE_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install make before installing.])
fi
#cat
AC_CHECK_PROG(CAT_CHECK,cat,yes)
if test x"$CAT_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install cat from GNU coreutils at http://ftp.gnu.org/gnu/coreutils/ before installing.])
fi
#cut
AC_CHECK_PROG(CUT_CHECK,cut,yes)
if test x"$CUT_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install cut from GNU coreutils at http://ftp.gnu.org/gnu/coreutils/ before installing.])
fi
#dirname
AC_CHECK_PROG(DIRNAME_CHECK,dirname,yes)
if test x"$DIRNAME_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install dirname from GNU coreutils at http://ftp.gnu.org/gnu/coreutils/ before installing.])
fi
#head
AC_CHECK_PROG(HEAD_CHECK,head,yes)
if test x"$HEAD_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install head from GNU coreutils at http://ftp.gnu.org/gnu/coreutils/ before installing.])
fi
#mkdir
AC_CHECK_PROG(MKDIR_CHECK,mkdir,yes)
if test x"$MKDIR_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install mkdir from GNU coreutils at http://ftp.gnu.org/gnu/coreutils/ before installing.])
fi
#sort
AC_CHECK_PROG(SORT_CHECK,sort,yes)
if test x"$SORT_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install sort from GNU coreutils at http://ftp.gnu.org/gnu/coreutils/ before installing.])
fi
#zcat
AC_CHECK_PROG(ZCAT_CHECK,zcat,yes)
if test x"$ZCAT_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install zcat from zlib package at http://www.zlib.net/ before installing.])
fi
#groff
AC_CHECK_PROG(GROFF_CHECK,groff,yes)
if test x"$GROFF_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install groff at ftp://ftp.gnu.org/gnu/groff/ before installing.])
fi
#pfbtops
AC_CHECK_PROG(PFBTOPS_CHECK,pfbtops,yes)
if test x"$PFBTOPS_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install pfbtops from groff package at ftp://ftp.gnu.org/gnu/groff/ before installing.])
fi
#gnuplot
AC_CHECK_PROG(GNUPLOT_CHECK,gnuplot,yes)
if test x"$GNUPLOT_CHECK" != x"yes" ; then
AC_MSG_ERROR([Please install gnuplot at http://sourceforge.net/projects/gnuplot/files/ before installing.])
fi
AC_OUTPUT(Makefile scripts/Makefile data/Makefile)