Patch : libtinymail-camel configure.ac



This patch fixs a build issue, in the maemo integration framework.
In the latest scratchbox -
scratchbox-core 1.0.8, scratchbox-libs 1.0.8,scratchbox-toolchain-cs2005q3.2-glibc2.5-arm 
1.0.7.2,
scratchbox-devkit-debian 1.0.8, scratchbox-devkit-cputransp 1.0.2, scratchbox-devkit-perl 1.0.4
Tinymail build was stopped with the error :
Running automake-1.7...
configure.ac: installing `./mkinstalldirs'
configure.ac : installing `./missing'
configure.ac:36: installing `./config.guess'
configure.ac:36: installing `./config.sub'
configure.ac:36: required file `./ltmain.sh' not found
camel/Makefile.am: installing `./depcomp'
make: *** [config.status] Error 1
The reason was that the ltmain.sh for the libtinymail-camel was created and dumped into the root folder of tinymail. therefore the ltmain.sh file was not found, even though libtoolize ran successfully.

I have added :
 AC_INIT([camel-lite],[1.0],[http://tinymail.org/])
+AC_CONFIG_AUX_DIR(.)
 AC_CONFIG_SRCDIR(camel/camel- object.c)

to the configure,ac file of libtinymail-camel, specifying that the ltmain.sh file will put in the current directory itself rather than, "../.." as it was doing.

Philip can you test this change with other platforms that tinymail is used with, so as to confirm if the  patch can be committed, else we can create a new configure.ac.maemo, so that the integration script renames "configure.ac.maemo" to "configure.ac" before starting the build process for the maemo integration.

Thanks
vivek
Index: libtinymail-camel/camel-lite/configure.ac
===================================================================
--- libtinymail-camel/camel-lite/configure.ac	(revision 2680)
+++ libtinymail-camel/camel-lite/configure.ac	(working copy)
@@ -1,4 +1,5 @@
 AC_INIT([camel-lite],[1.0],[http://tinymail.org/])
+AC_CONFIG_AUX_DIR(.)
 AC_CONFIG_SRCDIR(camel/camel-object.c)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]