configure.ac
changeset 2505 1bb471764ab8
parent 2390 8450951a8e2d
child 2568 046c055217f6
equal deleted inserted replaced
45:873dd3567591 46:e242654fb853
     1 dnl Process this file with autoconf to produce a configure script.
     1 dnl Process this file with autoconf to produce a configure script.
       
     2 
       
     3 dnl Version information.
       
     4 m4_define([lemon_version_major], [0])
       
     5 m4_define([lemon_version_minor], [6])
       
     6 m4_define([lemon_version_micro], [90])
       
     7 m4_define([lemon_version_nano], [])
       
     8 m4_define([lemon_version_tag], [svn])
       
     9 m4_define([lemon_svn_revision], [m4_normalize(esyscmd([svn info |grep ^Revision |cut -d ' ' -f 2]))])
       
    10 m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [svn], [[_]lemon_version_tag()[]lemon_svn_revision()], [[_]lemon_version_tag()])])
       
    11 
     2 AC_PREREQ([2.59])
    12 AC_PREREQ([2.59])
     3 AC_INIT([LEMON], [svnhead], [etik-ol@cs.elte.hu], [lemon])
    13 AC_INIT([LEMON], [lemon_version()], [etik-ol@cs.elte.hu], [lemon])
     4 AC_CONFIG_AUX_DIR([build-aux])
    14 AC_CONFIG_AUX_DIR([build-aux])
     5 AC_CONFIG_MACRO_DIR([m4])
    15 AC_CONFIG_MACRO_DIR([m4])
     6 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
    16 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
     7 AC_CONFIG_SRCDIR([lemon/list_graph.h])
    17 AC_CONFIG_SRCDIR([lemon/list_graph.h])
     8 AC_CONFIG_HEADERS([config.h lemon/config.h])
    18 AC_CONFIG_HEADERS([config.h lemon/config.h])