-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfigure.ac
More file actions
29 lines (27 loc) · 816 Bytes
/
configure.ac
File metadata and controls
29 lines (27 loc) · 816 Bytes
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([libeot],[0.01],[brennanv@email.arizona.edu])
AM_INIT_AUTOMAKE([1.11 subdir-objects foreign dist-bzip2 dist-xz -Wall -Werror])
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug],
[enable debugging, default: no]),
[case "${enableval}" in
yes) debug=true ;;
no) debug=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;;
esac],
[debug=false])
AM_CONDITIONAL(DEBUG, test x"$debug" = x"true")
OLD_CFLAGS=$CFLAGS
AC_PROG_CC
AM_PROG_CC_C_O
CFLAGS=$OLD_CFLAGS
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile \
libeot.pc \
])
AC_PROG_RANLIB
AM_PROG_AR
LT_INIT([disable-static])
AC_OUTPUT