configure.ac

changeset 56
ed65f8c73fb2
parent 52
02816cd75edc
child 57
68018eac46c3
equal deleted inserted replaced
55:b19e73926a28 56:ed65f8c73fb2
21 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 21 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 23
24 AC_PREREQ([2.69]) 24 AC_PREREQ([2.69])
25 AC_INIT(cline, 1.1, universe@uap-core.de) 25 AC_INIT(cline, 1.1, universe@uap-core.de)
26 AC_CONFIG_SRCDIR([src/cline.c])
27 AC_CONFIG_HEADERS([config.h])
28 AM_INIT_AUTOMAKE 26 AM_INIT_AUTOMAKE
29 27
30 # Conditionals 28 # Conditionals
31 AC_ARG_ENABLE([debug], 29 AC_ARG_ENABLE([debug],
32 [ --enable-debug Turn on debugging], 30 [ --enable-debug Turn on debugging],
55 # Checks for library functions. 53 # Checks for library functions.
56 AC_FUNC_MALLOC 54 AC_FUNC_MALLOC
57 AC_FUNC_REALLOC 55 AC_FUNC_REALLOC
58 AC_CHECK_FUNCS([memset regcomp strcasecmp strchr]) 56 AC_CHECK_FUNCS([memset regcomp strcasecmp strchr])
59 57
60 AC_OUTPUT(Makefile src/Makefile) 58 # What shall be generated
59 AC_CONFIG_HEADERS([config.h])
60 AC_CONFIG_FILES([Makefile src/Makefile test/Makefile])
61
62 # Just do it!
63 AC_OUTPUT

mercurial