| | |
| | | # Process this file with autoconf to produce a configure script. |
| | | |
| | | AC_PREREQ([2.67]) |
| | | AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) |
| | | AC_INIT([trisurf_ng], [1.0], [samo.penic@fe.uni-lj.si]) |
| | | AC_CONFIG_SRCDIR([config.h.in]) |
| | | AC_CONFIG_HEADERS([config.h]) |
| | | AM_INIT_AUTOMAKE |
| | | # Checks for programs. |
| | | AC_PROG_CC |
| | | |
| | | LT_INIT |
| | | AC_PROG_LIBTOOL |
| | | # Checks for libraries. |
| | | # FIXME: Replace `main' with a function in `-lconfuse': |
| | | AC_CHECK_LIB([confuse], [cfg_parse]) |
| | |
| | | |
| | | dnl Check if we have enable debug support. |
| | | AC_MSG_CHECKING(whether to enable debugging) |
| | | debug_default="yes" |
| | | debug_default="no" |
| | | AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging |
| | | [default=$debug_default]],, enable_debug=$debug_default) |
| | | dnl Yes, shell scripts can be used |
| | |
| | | AC_CHECK_FUNCS([pow sqrt strndup]) |
| | | |
| | | AC_CONFIG_FILES([Makefile |
| | | src/Makefile]) |
| | | src/Makefile |
| | | src/plugins/Makefile |
| | | ]) |
| | | AC_OUTPUT |