root/trunk/matml/src/ternary/configure.in

Revision 513, 1.2 kB (checked in by powell, 2 years ago)

Bumped version for next release

Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(ternary.c)
3
4AM_CONFIG_HEADER(config.h)
5AM_INIT_AUTOMAKE(ternary, 0.6.0)
6RELEASE_DATE="when it's ready"
7AC_SUBST(RELEASE_DATE)
8
9dnl This is needed by autogen.sh, but messes up aclocal 1.5!  (The nerve...)
10dnl AM_ACLOCAL_INCLUDE(macros)
11
12AM_MAINTAINER_MODE
13
14dnl Checks for compilers
15AC_PROG_CC
16AC_ISC_POSIX
17AC_STDC_HEADERS
18AC_C_INLINE
19AM_PROG_CC_C_O
20AM_PROG_LIBTOOL
21
22dnl Geomview check
23AC_PATH_PROG(GEOMVIEW, geomview, no)
24dnl  AC_MSG_ERROR([Cannot find geomview which ternary requires; you can download it at http://www.geomview.org/ or install the geomview .deb package.]))
25AM_CONDITIONAL(USING_GEOMVIEW, test x$GEOMVIEW != xno)
26
27AC_CHECK_LIB(qhull, qh_qhull, QHULL_LIBS="-lqhull",
28  AC_MSG_ERROR([Cannot find qhull library which ternary requires; you can download it at http://www.qhull.org/ or install the libqhull-dev .deb package.]))
29
30MATH_BLASLAPACK_CHECKS
31
32dnl Glade GUI library and libgnomeui checks
33PKG_CHECK_MODULES(GNOMEUI, libglade-2.0 libgnomeui-2.0)
34AM_CONDITIONAL(GNOMEUI_EXISTS, test x$gnomeui_exists != xno)
35
36dnl Documentation tools
37CXREF_LATEX_CHECKS
38
39dnl Output
40AC_OUTPUT(Makefile ternary.tex ternary.html Ternary.desktop)
Note: See TracBrowser for help on using the browser.