blob: 823a4434f028e9422ccf808992a3ee3eeef18e9b [file] [log] [blame]
Erik Staats809aa5b2017-04-03 09:39:01 -07001# Library lmfit:
2# Levenberg-Marquardt least squares fitting
3#
4# File configure.ac:
5# Input for the build process using GNU autotools.
6#
7# Copyright:
8# (C) 2013 Joachim Wuttke, Forschungszentrum Jülich GmbH
9#
10# Licence:
11# FreeBSD. See ../COPYING.
12#
13# Website:
14# http://apps.jcns.fz-juelich.de/lmfit
15
16AC_INIT([lmfit], [6:1], [http://apps.jcns.fz-juelich.de/lmfit])
17
18# standard configuration for shared libraries
19AC_CONFIG_AUX_DIR([build-aux])
20AC_CONFIG_MACRO_DIR([m4])
21
22AM_INIT_AUTOMAKE([foreign]) # don't insert GNU standard blabla
23LT_INIT([disable-static])
24AM_MAINTAINER_MODE([disable]) # work around rebuild rules
25
26AC_PROG_CC_C99
27AC_SUBST(AM_CFLAGS,"-O3 -g -pedantic -Wall -Werror")
28AC_CONFIG_HEADERS([config.h]) # to avoid endless -D options
29AC_HEADER_STDC
30
31# consistency check: is source code present?
32AC_CONFIG_SRCDIR([lib/lmmin.c], [demo/curve1.c])
33
34# make these Makefiles
35AC_CONFIG_FILES([Makefile lib/Makefile test/Makefile man/Makefile demo/Makefile lmfit.pc])
36AC_OUTPUT