~lttng/lttng-ust/lttng-ust

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Mathieu Desnoyers
  • Author(s): Michael Jeanson
  • Date: 2017-05-09 18:52:23 UTC
  • Revision ID: git-v1:093c3f9bbdda113147ab03be62aaa37bd1c786b4
Move m4 scripts to m4 dir

Harmonize build system configuration across our projects.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
m4_define([V_NAME], [[KeKriek]])
12
12
m4_define([V_DESC], [[From Brasserie Dunham, a sour mashed golden wheat ale fermented with local sour cherries from Tougas orchards. Fresh sweet cherry notes with some tartness, lively carbonation with a dry finish.]])
13
13
 
14
 
AC_INIT([lttng-ust], V_STRING, [mathieu dot desnoyers at efficios dot com])
 
14
AC_PREREQ(2.59)
 
15
AC_INIT([lttng-ust], V_STRING, [mathieu dot desnoyers at efficios dot com], [], [https://lttng.org])
15
16
 
16
17
# Following the numbering scheme proposed by libtool for the library version
17
18
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
27
28
AC_CONFIG_AUX_DIR([config])
28
29
AC_CANONICAL_TARGET
29
30
AC_CANONICAL_HOST
30
 
AC_CONFIG_MACRO_DIR([config])
 
31
AC_CONFIG_MACRO_DIR([m4])
31
32
AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip tar-ustar])
32
33
AM_MAINTAINER_MODE([enable])
33
34
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
61
62
])
62
63
 
63
64
AS_IF([test "x$libtool_fixup" = "xyes"], [
64
 
        libtool_m4="$srcdir/config/libtool.m4"
 
65
        libtool_m4="$srcdir/m4/libtool.m4"
65
66
        libtool_flag_pattern=".*link_all_deplibs\s*,\s*\$1\s*)"
66
67
        AC_MSG_CHECKING([for occurence(s) of link_all_deplibs = no in $libtool_m4])
67
68
        libtool_flag_pattern_count=$(grep -c "$libtool_flag_pattern\s*=\s*no" $libtool_m4)