summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-13 11:19:40 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-13 11:19:40 +0100
commit02a8661864a46f83287cf07320635743191b2b92 (patch)
treef2c58baa0af0289a0e9e93c54459de3a23eb6682 /configure.ac
parent99db593250aa02e957135966f501c8a49d33513f (diff)
Rework build, move libconf to lib folder.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 14 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 7c59dc7..aaec67f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ m4_define([v_min], [0])
3m4_define([v_mic], [1]) 3m4_define([v_mic], [1])
4m4_define([v_ver], [v_maj.v_min.v_mic]) 4m4_define([v_ver], [v_maj.v_min.v_mic])
5 5
6AC_INIT([smman], [v_ver], [guillaume.friloux@aspfrance.com]) 6AC_INIT([smman], [v_ver], [kuri@efl.so])
7 7
8AC_PREREQ(2.01) 8AC_PREREQ(2.01)
9AC_CONFIG_SRCDIR([configure.ac]) 9AC_CONFIG_SRCDIR([configure.ac])
@@ -46,8 +46,17 @@ Makefile
46doc/Makefile 46doc/Makefile
47]) 47])
48 48
49BIN_REQUIRES="eina ecore ecore-file libcurl" 49build_libs=
50PKG_CHECK_MODULES(BIN, [$BIN_REQUIRES], [build_smman=yes], [build_smman=no]) 50LIBS_REQUIRES="eina"
51PKG_CHECK_MODULES(LIBS, [$LIBS_REQUIRES], [build_libs=yes], [build_libs=no])
52
53build_smman=
54if test "x${build_libs}" = "xyes"; then
55 BIN_REQUIRES="eina ecore ecore-file libcurl"
56 PKG_CHECK_MODULES(BIN, [$BIN_REQUIRES], [build_smman=yes], [build_smman=no])
57else
58 build_smman=no
59fi
51 60
52AC_DEFINE(_LARGEFILE64_SOURCE, 1, "Needed for 64 bit on 32") 61AC_DEFINE(_LARGEFILE64_SOURCE, 1, "Needed for 64 bit on 32")
53AC_DEFINE(_LARGEFILE_SOURCE, 1, "Needed for 64 bit on 32") 62AC_DEFINE(_LARGEFILE_SOURCE, 1, "Needed for 64 bit on 32")
@@ -69,7 +78,8 @@ echo "------------------------------------------------------------------------"
69echo 78echo
70echo "Configuration Options Summary:" 79echo "Configuration Options Summary:"
71echo 80echo
72echo " deps.........: ${build_smman}" 81echo " libs.........: ${build_libs}"
82echo " smman........: ${build_smman}"
73echo " prefix.......: ${prefix}" 83echo " prefix.......: ${prefix}"
74echo " tests........: ${enable_tests} (Coverage: ${efl_enable_coverage})" 84echo " tests........: ${enable_tests} (Coverage: ${efl_enable_coverage})"
75echo 85echo