summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-12 09:10:34 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-12 09:10:34 +0100
commitbe52045f38cae47545abf927fd0038cd5d5202f8 (patch)
tree11d7a09f8b56c02c011782d133b3109118f26b10 /configure.ac
parent7f52bcb2d804a2f6df924f0174ef106362c55533 (diff)
Changing build a bit
But a rewrite will be needed to get it clearer and faster.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 16 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 32333d9..e6e8ae9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,10 @@
1m4_define([v_rev], m4_esyscmd([(svnversion "." | grep -v exported || echo 0) | tr -d ' MSP\n'])) 1m4_define([v_maj], [1])
2m4_define([v_min], [0])
3m4_define([v_mic], [1])
4m4_define([v_ver], [v_maj.v_min.v_mic])
2 5
3AC_INIT([Smman], [1.0], [guillaume.friloux@asp64.com]) 6
7AC_INIT([Smman], [v_ver], [guillaume.friloux@aspfrance.com])
4 8
5AC_PREREQ(2.01) 9AC_PREREQ(2.01)
6AC_CONFIG_SRCDIR([configure.ac]) 10AC_CONFIG_SRCDIR([configure.ac])
@@ -13,12 +17,14 @@ AC_PROG_LIBTOOL
13AC_CONFIG_MACRO_DIR([m4]) 17AC_CONFIG_MACRO_DIR([m4])
14 18
15dnl we just have set the version info, then: 19dnl we just have set the version info, then:
16version_number=1.0 20version_number=v_ver
17revision_number="v_rev"
18AC_SUBST(version_number) 21AC_SUBST(version_number)
19AC_SUBST(revision_number)
20 22
23GCC_STACK_PROTECT_LIB
24GCC_STACK_PROTECT_CC
21AC_PROG_CC 25AC_PROG_CC
26AM_PROG_CC_C_O
27AC_PROG_MKDIR_P
22 28
23AC_CONFIG_FILES([ 29AC_CONFIG_FILES([
24Makefile 30Makefile
@@ -44,7 +50,11 @@ echo
44echo " eina.........: ${have_eina}" 50echo " eina.........: ${have_eina}"
45echo " ecore........: ${have_ecore}" 51echo " ecore........: ${have_ecore}"
46echo " curl.........: ${have_curl}" 52echo " curl.........: ${have_curl}"
47echo
48echo " prefix.......: $prefix" 53echo " prefix.......: $prefix"
49echo 54echo
55echo "Build Options:"
56echo " CPPFLAGS.....: $CPPFLAGS"
57echo " CFLAGS.......: $CFLAGS"
58echo " LDFLAGS......: $LDFLAGS"
59echo
50 60