summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorkuri igen <kuri@e4.enlightenment.org>2011-01-25 15:45:51 +0100
committerkuri igen <kuri@e4.enlightenment.org>2011-01-25 15:45:51 +0100
commitc2a6bb5b1a4ae437e11231ee637db262f78eb571 (patch)
tree426c0d60d5b551cb833db4463f6aa5bd1c43ec7f /configure.ac
Ajout des fichiers du projet smman
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac50
1 files changed, 50 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..32333d9
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,50 @@
1m4_define([v_rev], m4_esyscmd([(svnversion "." | grep -v exported || echo 0) | tr -d ' MSP\n']))
2
3AC_INIT([Smman], [1.0], [guillaume.friloux@asp64.com])
4
5AC_PREREQ(2.01)
6AC_CONFIG_SRCDIR([configure.ac])
7
8AM_INIT_AUTOMAKE([1.6 dist-bzip2])
9
10define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
11define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
12AC_PROG_LIBTOOL
13AC_CONFIG_MACRO_DIR([m4])
14
15dnl we just have set the version info, then:
16version_number=1.0
17revision_number="v_rev"
18AC_SUBST(version_number)
19AC_SUBST(revision_number)
20
21AC_PROG_CC
22
23AC_CONFIG_FILES([
24Makefile
25doc/Makefile
26src/Makefile
27src/bin/Makefile
28])
29
30
31PKG_CHECK_MODULES([eina], [eina], [have_eina="yes"], [have_eina="no"])
32PKG_CHECK_MODULES([ecore], [ecore ecore-file], [have_ecore="yes"], [have_ecore="no"])
33PKG_CHECK_MODULES([libcurl], [libcurl], [have_curl="yes"], [have_curl="no"])
34AC_OUTPUT
35
36echo
37echo
38echo "------------------------------------------------------------------------"
39echo "$PACKAGE_NAME $PACKAGE_VERSION"
40echo "------------------------------------------------------------------------"
41echo
42echo "Configuration Options Summary:"
43echo
44echo " eina.........: ${have_eina}"
45echo " ecore........: ${have_ecore}"
46echo " curl.........: ${have_curl}"
47echo
48echo " prefix.......: $prefix"
49echo
50