Mercurial > hg > octave-image
changeset 140:b85c1b772608
Don't append to LIBS when checking for a function in a library
author | pkienzle |
---|---|
date | Tue, 01 Mar 2005 16:33:33 +0000 |
parents | 256a463543f6 |
children | 2c86ab7530f5 |
files | configure.add |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.add +++ b/configure.add @@ -9,7 +9,7 @@ AC_DEFINE(have_jpeg) AC_CHECK_HEADER(jpeglib.h, have_jpeg=yes, have_jpeg=no) if test $have_jpeg = yes ; then - AC_CHECK_LIB(jpeg, jpeg_std_error, have_jpeg=yes, have_jpeg=no) + OF_CHECK_LIB(jpeg, jpeg_std_error, have_jpeg=yes, have_jpeg=no) if test $have_jpeg = no ; then STATUS="libjpeg not found" else @@ -24,7 +24,7 @@ AC_DEFINE(have_png) AC_CHECK_HEADER(png.h, have_png=yes, have_png=no) if test $have_png = yes ; then - AC_CHECK_LIB(png, png_set_sig_bytes, have_png=yes, have_png=no) + OF_CHECK_LIB(png, png_set_sig_bytes, have_png=yes, have_png=no) if test $have_png = no ; then STATUS="$STATUS, libpng not found" else