On Aug 28 10:21:41, m...@mansr.com wrote: > Jan Stary <h...@stare.cz> writes: > > > On Aug 27 11:21:58, h...@stare.cz wrote: > >> Testing on NetBSD 8.0, with the latest commits > >> to the new-build branch pulled in. > > > > With ./configure CPPFLAGS=-I/usr/pkg/include LDFLAGS=-L/usr/pkg/lib > > the external libraries are detected, with the exception of png: > > > > checking for png.h... yes > > checking for png_set_rows in -lpng... no > > > > The problem is that the png library, > > as installed by the NetBSD packaging system, > > is /usr/pkg/lib/libpng16.so, not /usr/pkg/lib/libpng.so > > (the header is /usr/pkg/include/png.h). > > I will not attempt to guess what alternative names libraries might have > been installed under. If you've renamed things, it's on you to inform > the build system of the new name. Like this: > > $ ./configure --with-png=png16
That results in checking for png.h... yes checking for png_set_rows in -lpng16... no $ nm /usr/pkg/lib/libpng16.so | grep png_set_rows 000000000001d6f2 T png_set_rows ./configure --help says --with-png Use png (YES/no/*) What does the '*' stand for? Is there a difference between YES and yes? (Some other options have 'yes' instead of 'YES'.) Does the capitalizing mean it's the default? If so, do the options without capitalized values have no defualt? _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel