-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigure.ac
45 lines (30 loc) · 1.09 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
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([NIEM JSON Specification],[0],[wr@gatech.edu],[niem-json-spec],[wr@gatech.edu])
AC_CONFIG_SRCDIR([Makefile.in])
#### Checks for programs.
# Autoconf standards
AC_PROG_INSTALL
AC_PROG_MKDIR_P
AC_PROG_SED
# unix stuff
AC_PATH_PROG(aspell,aspell)
test "x$[]$aspell" = "x" && AC_MSG_ERROR([aspell not found])
AC_PATH_PROG(bash,bash)
test "x$[]$bash" = "x" && AC_MSG_ERROR([bash not found])
AC_PATH_PROGS(cat,gcat cat)
test "x$[]$cat" = "x" && AC_MSG_ERROR([cat not found])
AC_PATH_PROGS(fgrep,gfgrep fgrep)
test "x$[]$fgrep" = "x" && AC_MSG_ERROR([fgrep not found])
AC_PATH_PROGS(m4,gm4 m4)
test "x$[]$m4" = "x" && AC_MSG_ERROR([m4 not found])
AC_PATH_PROGS(sort,gsort sort)
test "x$[]$sort" = "x" && AC_MSG_ERROR([sort not found])
# webb stuff
AC_PATH_PROG(process_doc,process-doc)
test "x$[]$process_doc" = "x" && AC_MSG_ERROR([process-doc not found])
### output & quit
AC_CONFIG_FILES([Makefile], [chmod 444 Makefile])
AC_CONFIG_FILES([run], [chmod 555 run])
AC_SUBST([config_files],$ac_config_files)
AC_OUTPUT