-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
configure.scan
50 lines (43 loc) · 1.3 KB
/
configure.scan
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.72])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([config.h])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_AR
AC_PROG_AWK
AC_PROG_YACC
AC_PROG_CC
AC_PROG_CPP
AC_PROG_LEX
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_OBJC
AC_PROG_OBJCXX
AC_PROG_RANLIB
# Checks for libraries.
# FIXME: Replace 'main' with a function in '-lintl':
AC_CHECK_LIB([intl], [main])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h inttypes.h mach/mach.h stdint.h sys/file.h sys/ioctl.h sys/param.h termios.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_INT32_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MALLOC
AC_CHECK_FUNCS([bzero memmove memset setenv strchr strerror strrchr strstr strtol strtoull])
AC_CONFIG_FILES([Makefile
bin/Makefile
bin/lib/tools/Makefile
htdocs/papers/libgdb2/Makefile
libcheckpoint/Makefile
macsbug/Makefile
macsbug/gdb_plugin_support/Makefile])
AC_CONFIG_SUBDIRS([src])
AC_OUTPUT