aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
blob: 823a4434f028e9422ccf808992a3ee3eeef18e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Library lmfit:
#   Levenberg-Marquardt least squares fitting
# 
# File configure.ac:
#   Input for the build process using GNU autotools.
# 
# Copyright:
#   (C) 2013 Joachim Wuttke, Forschungszentrum Jülich GmbH
# 
# Licence:
#   FreeBSD. See ../COPYING.
# 
# Website:
#   http://apps.jcns.fz-juelich.de/lmfit

AC_INIT([lmfit], [6:1], [http://apps.jcns.fz-juelich.de/lmfit])

# standard configuration for shared libraries
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE([foreign]) # don't insert GNU standard blabla
LT_INIT([disable-static])
AM_MAINTAINER_MODE([disable]) # work around rebuild rules

AC_PROG_CC_C99
AC_SUBST(AM_CFLAGS,"-O3 -g -pedantic -Wall -Werror")
AC_CONFIG_HEADERS([config.h]) # to avoid endless -D options
AC_HEADER_STDC

# consistency check: is source code present?
AC_CONFIG_SRCDIR([lib/lmmin.c], [demo/curve1.c])

# make these Makefiles
AC_CONFIG_FILES([Makefile lib/Makefile test/Makefile man/Makefile demo/Makefile lmfit.pc])
AC_OUTPUT