Enlightenment CVS committal Author : doursse Project : e17 Module : libs/esmart
Dir : e17/libs/esmart Modified Files: configure.in Log Message: autostuff improvements: * use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE and check the required minimal versions. * add bzipped distribution archive * add AC_LIBTOOL_WIN32_DLL * forbid libtool to check fortran and c++ compilers * compute libtool versioning from the version of the package * pass the directories based on ${prefix} to the preoprocessor with the -D option * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS * remove useless -L flags in *_la_LDFLAGS * remove Makefile.in on maintainer-clean rule =================================================================== RCS file: /cvs/e/e17/libs/esmart/configure.in,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- configure.in 26 Aug 2007 14:33:40 -0000 1.28 +++ configure.in 11 Nov 2007 11:05:06 -0000 1.29 @@ -1,7 +1,10 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(configure.in) -AM_INIT_AUTOMAKE(esmart, 0.9.0.011) +AC_INIT(esmart, 0.9.0.011, [EMAIL PROTECTED]) +AC_PREREQ(2.52) +AC_CONFIG_SRCDIR(configure.in) + +AM_INIT_AUTOMAKE(1.6 dist-bzip2) AM_CONFIG_HEADER(src/config.h) AC_ISC_POSIX @@ -10,11 +13,20 @@ AC_HEADER_STDC AC_C_BIGENDIAN AC_C_CONST -AM_ENABLE_SHARED -AM_PROG_LIBTOOL -dnl Use -Wall if we have gcc. - +AC_LIBTOOL_WIN32_DLL +define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl +define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl +AC_PROG_LIBTOOL + +VMAJ=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $1);}'` +VMIN=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $2);}'` +VMIC=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $3);}'` +SNAP=`echo $PACKAGE_VERSION | awk -F . '{printf("%s", $4);}'` +version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN" +AC_SUBST(version_info) + + dnl Set PACKAGE_DATA_DIR in config.h. if test "x${prefix}" = "xNONE"; then AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", [Shared Data Directory]) @@ -31,16 +43,6 @@ fi AC_DEFINE_UNQUOTED(CONTAINER_PLUGIN_DIR, "${container_plugin_dir}", [Container Plugin Directory]) -AC_SUBST(CONTAINER_PLUGIN_DIR) - -changequote(,)dnl -if test "x$GCC" = "xyes"; then - case " $CFLAGS " in - *[\ \ ]-Wall[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wall " ;; - esac -fi -changequote([,])dnl # evas is required by all of the modules anyway :) requirements="evas" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs