-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
62 lines (49 loc) · 1.82 KB
/
configure.ac
File metadata and controls
62 lines (49 loc) · 1.82 KB
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.72])
AC_INIT([libkorsengine], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([src/gameObject3D.h])
AC_CONFIG_HEADERS([config.h])
# DRE 2022 - I added missed Automake inclusion because Michael Kerrisk's project because he didn't have the .am file.\
# The command option dist-bzip2 makes this into a distribution and uses bzip2 to compress the project Logger-1.0.tar.bz2 \
# tarballs for sending outside as separately self-configuring initialized projects.
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])
# DRE 2022 - I added missed AC_CONFIG_MACRO_DIRS that describes remake m4 files (m4 is the engine within Autoconf and Automake).
AC_CONFIG_MACRO_DIRS([m4])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# DRE 2022 - I added missed LT_INIT which initializes autoconf and automake to create libraries - all these tools are \
# singular so you don't need them until you do.
LT_INIT
# Checks for libraries.
# FIXME: Replace 'main' with a function in '-lm':
AC_CHECK_LIB([m], [main])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h stdint.h strings.h sys/ioctl.h sys/param.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT16_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_INT8_T
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T
AC_CHECK_TYPES([ptrdiff_t])
# Checks for library functions.
AC_FUNC_FSEEKO
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_FUNC_STRTOD
AC_CHECK_FUNCS([clock_gettime floor getcwd gettimeofday memchr memmove memset pow select sqrt strcasecmp strchr strcspn strrchr strspn strstr strtol strtoul])
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT