summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-04-01 20:13:40 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-04-01 20:13:40 +0000
commitd989abb2aae425a4388218439f16637722be254a (patch)
treecf1e064cad08441564be319f305ed4866a670056 /legacy/evil/configure.ac
parent31f73712f3107de758a5892ee95815bc891d7107 (diff)
* configure.ac:
move version management at the beginning * src/bin/evil_suite.c: * src/bin/evil_test_dlfcn.c: * src/bin/evil_test_environment.c: * src/bin/evil_test_gettimeofday.c: * src/bin/evil_test_link.c: * src/bin/evil_test_mkstemp.c: * src/bin/evil_test_pipe.c: * src/bin/evil_test_realpath.c: * src/lib/Evil.h: * src/lib/Makefile.am: * src/lib/evil_errno.c: * src/lib/evil_main.c: * src/lib/evil_main.h: * src/lib/evil_unistd.c: * src/lib/evil_unistd.h: * src/lib/evil_util.c: fix warnings SVN revision: 47669
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac31
1 files changed, 19 insertions, 12 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
index 116db4f5bd..9088a86b02 100644
--- a/legacy/evil/configure.ac
+++ b/legacy/evil/configure.ac
@@ -1,12 +1,25 @@
1 1
2AC_INIT([evil], [0.0.1], [enlightenment-devel@lists.sourceforge.net]) 2### Version
3
4m4_define([evil_version_major], [0])
5m4_define([evil_version_minor], [0])
6m4_define([evil_version_micro], [1])
7
8m4_define([evil_version],
9 [evil_version_major.evil_version_minor.evil_version_micro])
10
11m4_define([lt_rev], m4_eval(evil_version_major + evil_version_minor))
12m4_define([lt_cur], evil_version_micro)
13m4_define([lt_age], evil_version_minor)
14
15AC_INIT([evil], [evil_version], [enlightenment-devel@lists.sourceforge.net])
3AC_PREREQ([2.52]) 16AC_PREREQ([2.52])
4AC_CONFIG_SRCDIR([configure.ac]) 17AC_CONFIG_SRCDIR([configure.ac])
5AC_CONFIG_MACRO_DIR([m4]) 18AC_CONFIG_MACRO_DIR([m4])
6AC_CONFIG_HEADERS([config.h]) 19AC_CONFIG_HEADERS([config.h])
7AC_CANONICAL_HOST 20AC_CANONICAL_HOST
8 21
9dnl If the host is not Windows, or is ceGCC, we exit 22### If the host is not Windows, or is ceGCC, we exit
10case "$host_os" in 23case "$host_os" in
11 cegcc*) 24 cegcc*)
12 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...]) 25 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...])
@@ -21,15 +34,9 @@ esac
21AM_INIT_AUTOMAKE([1.6 dist-bzip2]) 34AM_INIT_AUTOMAKE([1.6 dist-bzip2])
22m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 35m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
23 36
24AC_LIBTOOL_WIN32_DLL 37LT_INIT([win32-dll])
25define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
26AC_PROG_LIBTOOL
27 38
28VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'` 39version_info="lt_rev:lt_cur:lt_age"
29VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
30VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
31SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
32version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
33AC_SUBST(version_info) 40AC_SUBST(version_info)
34 41
35 42
@@ -76,7 +83,7 @@ AC_C_CONST
76AC_C___ATTRIBUTE__ 83AC_C___ATTRIBUTE__
77 84
78win32_cppflags="-DEFL_EVIL_BUILD" 85win32_cppflags="-DEFL_EVIL_BUILD"
79win32_cflags="-Wall -W -Wshadow" 86win32_cflags="-Wall -Wextra -Wshadow -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -pedantic"
80win32_cxxflags="" 87win32_cxxflags=""
81have_wince="no" 88have_wince="no"
82case "$host_os" in 89case "$host_os" in
@@ -123,7 +130,7 @@ echo
123echo 130echo
124echo 131echo
125echo "------------------------------------------------------------------------" 132echo "------------------------------------------------------------------------"
126echo "$PACKAGE_NAME $PACKAGE_VERSION $PACKAGE_TARNAME" 133echo "$PACKAGE_NAME $PACKAGE_VERSION"
127echo "------------------------------------------------------------------------" 134echo "------------------------------------------------------------------------"
128echo 135echo
129echo "Configuration Options Summary:" 136echo "Configuration Options Summary:"