How to change spatialite version of build?

9 views
Skip to first unread message

Thomas Larsen Wessel

unread,
Jul 11, 2024, 12:37:02 PM (5 days ago) Jul 11
to SpatiaLite Users
I downloaded source and made a few changes before building. I would like to be able to tell, at runtime, which version is loaded. If it's my own version, or the stock version. 

I believe I can just change a variable, from 5.1.0 to "myversion-1" (or 100.0.0), and then run "select spatialite_version();". I tried changing relevant variables in a handful of files, but when I run configure, those values are overwritten. 

Could someone please tell me what file/variable to edit? :)

a.fu...@lqt.it

unread,
Jul 12, 2024, 12:36:05 AM (4 days ago) Jul 12
to spatiali...@googlegroups.com
Hi Thomas,

1. open with some text editor the "configure.ac" file

2. in the very first lines look for the AC_INIT macro;
its second argument is the version string identifying
the current build.

3. correct it, then save and exit

4. now run the autoreconf command
this will update all build scripts and any related stuff

5. and finally go as usual by calling
./configure
make

bye Sandro

Thomas Larsen Wessel

unread,
Jul 14, 2024, 4:02:23 PM (2 days ago) Jul 14
to spatiali...@googlegroups.com
That worked :) Thanks. 
(I did not know of the autoreconf command)

--
You received this message because you are subscribed to the Google Groups "SpatiaLite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spatialite-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spatialite-users/a80c4b1e27e36a9d06ff8ae3934eb793%40lqt.it.
Reply all
Reply to author
Forward
0 new messages