File: configure.in

package info (click to toggle)
most 4.7-1.1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 436 kB
  • ctags: 368
  • sloc: ansic: 4,914; sh: 171; makefile: 110
file content (46 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
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
dnl -*- sh -*-
AC_INIT(src/most.c)
JD_INIT
JD_ANSI_CC

AC_PROG_MAKE_SET
AC_PROG_INSTALL

# determine X include and needed libs
AC_PATH_XTRA

#Check these header since they cause trouble
AC_CHECK_HEADERS( \
stdlib.h \
unistd.h \
memory.h \
malloc.h \
termios.h \
)

AC_HEADER_DIRENT

AC_TYPE_MODE_T
AC_TYPE_PID_T
AC_TYPE_UID_T

AC_CHECK_FUNCS(\
memset \
memcpy \
putenv \
getcwd \
)

JD_SET_OBJ_SRC_DIR
JD_TERMCAP
JD_FIND_SLANG
JD_GCC_WARNINGS
JD_GET_MODULES(src/modules.lis)
JD_CREATE_MODULE_ORULES

AC_CONFIG_HEADER(src/sysconf.h:src/config.hin)
AC_OUTPUT(Makefile src/Makefile)

JD_CREATE_ORULE(chkslang)
JD_APPEND_RULES(src/Makefile)