Hi Michael, * Michael Schulz wrote on Sun, Nov 06, 2005 at 04:12:39PM CET: > > bin_PROGRAMS = moll moll_fb *snip* > moll_fb_SOURCES = $(moll_SOURCES) \ > fb_view.m fb_view.h \ > fb_display.m \ > fb_resize.m \ > fb_bmp.m \ > fb_png.m \ > fb_gif.m \ > fb_jpeg.m > > moll_fb_LIBS = $(LIBS) $(LIBS_IMAGE)
Educated guess: this should be moll_fb_LDADD = $(LIBS_IMAGE) right? No need to add $(LIBS), they are added by default anyway. > EXTRA_DIST = $(moll_fb_SOURCES) This line should not be necessary at all. > The varible $(moll_fb_LIBS) seems to have only $(LIBS). > $(LIBS_IMAGE) was defined in configure.ac with AC_SUBST(-lpng -lungif > -ljpeg). Typo in your mail? That should be AC_SUBST([LIBS_IMAGE], [-lpng -lungif -ljpeg]) but most likely you'd want to add a couple of tests with AC_CHECK_LIB for availability of the libraries. If you don't know how to do this, be sure to read the docs and look at how other packages do this. Cheers, Ralf
