diff configure.in @ 2:819937ea6359

Added doxygen tags and compile scripts
author Jamie Bullock <jamie@postlude.co.uk>
date Wed, 04 Oct 2006 18:19:25 +0000
parents b8f2448f7207
children 46efa5536d04
line wrap: on
line diff
--- a/configure.in	Mon Oct 02 14:18:15 2006 +0000
+++ b/configure.in	Wed Oct 04 18:19:25 2006 +0000
@@ -1,8 +1,5 @@
 AC_PREREQ(2.13)
-AC_INIT(src/libxtract.c)
-
-PACKAGE=libxtract
-VERSION=0.1.0
+AC_INIT([libxtract], [0.10], [bugs@postlude.co.uk])
 
 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
 AM_CONFIG_HEADER(config.h)
@@ -16,6 +13,8 @@
 #                           else with_vector=no ; fi ], with_vector=no)
 
 AC_CHECK_HEADERS([math.h])
+AC_CHECK_PROG([DOXYGEN], [doxygen], [doc], [])
+AC_SUBST(DOXYGEN)
 
 AC_ARG_ENABLE(vector, 
               [  --enable-vector    Turn fft-based vector processing on],
@@ -38,4 +37,6 @@
 
 AM_CONDITIONAL(BUILD_VECTOR, test "x${vector}" = 'xtrue')
 
-AC_OUTPUT(Makefile src/Makefile xtract/Makefile)
+AC_CONFIG_FILES([doc/documentation.doxygen])
+
+AC_OUTPUT(Makefile src/Makefile xtract/Makefile doc/Makefile)