-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
38 lines (28 loc) · 903 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
36
37
38
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT(ipnet, 0.1, [email protected])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
LT_INIT
AC_ARG_ENABLE([hellolib],
[ --disable-hellolib do not build hellolib],
[case "${enableval}" in
yes) have_hellolib=true ;;
no) have_hellolib=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-hellolib]) ;;
esac],
[have_hellolib=true])
AM_CONDITIONAL([HAVE_HELLOLIB], [test x$have_hellolib = xtrue])
# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile
src/Makefile
])
AC_OUTPUT