[M3devel] SYSTEM_LIBS, quake, ./configure
Olaf Wagner
wagner at elegosoft.com
Thu Aug 20 17:07:37 CEST 2009
Quoting Dragiša Durić <dragisha at m3w.org>:
> In this ticket, https://projects.elego.de/cm3/ticket/1048, cvsup problem
> with libz on some systems is described. But, that problem is bigger than
> this - whole C portability issue.
>
> We need quake standardized way for locating (or not allocating:) system
> libraries. That way, it'll be possible to have Modula-3 programs and
> libraries which depend on C libraries like.... expat, tidy, mysqlclient,
> sqlite... distributed as wide as cm3 is.
>
> This is solvable with some quake magic?
This kind of configure-function was part of the old CM3 installer,
but has become unused now, because Jay insists that it is unnecessary.
I don't think this should be a quake function executed at compile time.
Interfaces to a well-known set of system libraries are contained in
the config files.
A quake definition of such a function would necessarily be system-
dependent, as it would need to know about all standard locations to
search on a certain platform. Or search all known locations, but then
the problem of resolving multiple hits comes up...
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list