This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
AC_INIT(packedobjects, 0.5.6, jmoore@zedstar.org) |
| 2 |
AM_INIT_AUTOMAKE |
| 3 |
AC_CONFIG_SRCDIR([src/]) |
| 4 |
AM_CONFIG_HEADER([src/config.h]) |
| 5 |
|
| 6 |
AC_DEFINE([PROGNAME],["packedobjects"],["packedobjects extension for guile"]) |
| 7 |
|
| 8 |
# --enable-debug flag |
| 9 |
AC_ARG_ENABLE(debug, |
| 10 |
[ --enable-debug Turn on debugging [[default=no]]], |
| 11 |
enable_debug="$enableval", |
| 12 |
enable_debug=no) |
| 13 |
|
| 14 |
if test x$enable_debug = xyes ; then |
| 15 |
AC_DEFINE([DEBUG_MODE], [], [true]) |
| 16 |
fi |
| 17 |
|
| 18 |
# get site location |
| 19 |
GUILE_SITE_DIR |
| 20 |
|
| 21 |
# check for guile |
| 22 |
PKG_CHECK_MODULES([GUILE], [guile-2.0]) |
| 23 |
|
| 24 |
# Checks for programs. |
| 25 |
AC_PROG_CC |
| 26 |
|
| 27 |
# Checks for header files. |
| 28 |
AC_HEADER_STDC |
| 29 |
|
| 30 |
# Checks for typedefs, structures, and compiler characteristics. |
| 31 |
AC_C_CONST |
| 32 |
AC_TYPE_SIZE_T |
| 33 |
|
| 34 |
# Checks for library functions. |
| 35 |
AC_FUNC_MALLOC |
| 36 |
|
| 37 |
AC_CONFIG_FILES([Makefile src/Makefile]) |
| 38 |
|
| 39 |
# just create shared library |
| 40 |
AC_DISABLE_STATIC |
| 41 |
AC_PROG_LIBTOOL |
| 42 |
|
| 43 |
AC_CONFIG_MACRO_DIR([m4]) |
| 44 |
|
| 45 |
AC_OUTPUT |