-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
35 lines (28 loc) · 1015 Bytes
/
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
# configure.ac - Used with autoconf to create configure script
# This script is part of ultragetopt, see COPYING for licensing details
# Initialize and configure
AC_INIT([ultragetopt], [0.6.2], [Kevin Locke <[email protected]>])
AC_CONFIG_SRCDIR([ultragetopt.c])
# AC_CONFIG_HEADER([src/config.h])
AC_CONFIG_FILES([Makefile])
AM_INIT_AUTOMAKE
LT_INIT([win32-dll])
# Checks for programs.
AC_PROG_CC
# Checks for header files.
#AC_HEADER_STDC
#AC_CHECK_HEADERS([stdarg.h stdlib.h string.h])
AC_CHECK_HEADERS([strings.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for libraries.
# Checks for library functions.
# Note: Could add replacements and get more advanced here but need
# ultragetopt.c to work in standard build systems with little fuss
#AC_REPLACE_FUNCS([strcasecmp strncasecmp])
AC_CHECK_FUNCS([strchr index], [break])
AC_CHECK_FUNCS([strcasecmp _stricmp], [break])
AC_CHECK_FUNCS([strncasecmp _strnicmp], [break])
AC_OUTPUT