1 # 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 Jlich GmbH 9 # 10 # Licence: 11 # FreeBSD. See ../COPYING. 12 # 13 # Website: 14 # http://apps.jcns.fz-juelich.de/lmfit 15 16 AC_INIT([lmfit], [6:1], [http://apps.jcns.fz-juelich.de/lmfit]) 17 18 # standard configuration for shared libraries 19 AC_CONFIG_AUX_DIR([build-aux]) 20 AC_CONFIG_MACRO_DIR([m4]) 21 22 AM_INIT_AUTOMAKE([foreign]) # don't insert GNU standard blabla 23 LT_INIT([disable-static]) 24 AM_MAINTAINER_MODE([disable]) # work around rebuild rules 25 26 AC_PROG_CC_C99 27 AC_SUBST(AM_CFLAGS,"-O3 -g -pedantic -Wall -Werror") 28 AC_CONFIG_HEADERS([config.h]) # to avoid endless -D options 29 AC_HEADER_STDC 30 31 # consistency check: is source code present? 32 AC_CONFIG_SRCDIR([lib/lmmin.c], [demo/curve1.c]) 33 34 # make these Makefiles 35 AC_CONFIG_FILES([Makefile lib/Makefile test/Makefile man/Makefile demo/Makefile lmfit.pc]) 36 AC_OUTPUT 37