From: <jc...@fe...> - 2003-02-28 14:34:54
|
On Friday 28 February 2003 13:51, Rafael Laboissiere wrote: | * Christophe TROESTLER <deb...@ti...> [2003-02-28 13:49]: | > Wouldn't the better solution be that the author of libnn agrees to | > merge the patch in his sources? Has this been asked? I sent him the patch, but he didn't show much interest. He is using "triangle", which he thinks is more robust than Qhull, and would have to maintain code he is not familiar with. | Probably, but there will be still the problem of asking the users to | build and install libnn in their system. I think that this is the | most important concern. If we integrate libnn in our source tree, I | can quickly generate a Makefile.am with Libtool support for it. | | Actually, it is already done. Here is the Makefile.am: | | lib_LTLIBRARIES = libnn.la | libnn_la_SOURCES = delaunay.c hash.c istack.c linear.c minell.c \ | nnai.c nnpi.c nncommon.c triangle.c | libnn_la_LDFLAGS = -version 0:0:0 -lm | AM_CPPFLAGS = -I. -DME_UTIL -DTRILIBRARY hmm, I was thinking to put the new libraries object files into libplplot, to easy the linking of users apps. But if we install libnn and libcsa the user can use the libraries independently. What do you think about this? Joao | And here is the configure.ac: | | AC_INIT(nn.h) | AC_CONFIG_HEADERS(nnconfig.h) | AM_INIT_AUTOMAKE(nn, 1.23) | AM_PROG_CC_STDC | AM_PROG_LIBTOOL | AC_OUTPUT(Makefile) | | This will produce the libraries libnn.a and libnn.so.0.0.0 |