File: configure.scan

package info (click to toggle)
bb 1.2-3.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,156 kB
  • ctags: 3,358
  • sloc: ansic: 43,441; sh: 152; makefile: 64; asm: 36
file content (45 lines) | stat: -rw-r--r-- 1,225 bytes parent folder | download | duplicates (4)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(mikdos/mirq.c)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET

dnl Checks for libraries.
dnl Replace `main' with a function in -lX11:
AC_CHECK_LIB(X11, main)
dnl Replace `main' with a function in -laa:
AC_CHECK_LIB(aa, main)
dnl Replace `main' with a function in -lgpm:
AC_CHECK_LIB(gpm, main)
dnl Replace `main' with a function in -lgus:
AC_CHECK_LIB(gus, main)
dnl Replace `main' with a function in -llzo:
AC_CHECK_LIB(lzo, main)
dnl Replace `main' with a function in -lm:
AC_CHECK_LIB(m, main)
dnl Replace `main' with a function in -lncurses:
AC_CHECK_LIB(ncurses, main)
dnl Replace `main' with a function in -lslang:
AC_CHECK_LIB(slang, main)

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/ioctl.h sys/time.h unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME

dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(ftime gettimeofday select strdup strstr strtol)

AC_OUTPUT(mikunix/makefile mikdos/makefile makefile)