# HG changeset patch # User David Grundberg # Date 1250608983 14400 # Node ID 41a74dcd14dfe9929c6cc57dd8f4cb728c53ba77 # Parent d0239bddf621984fbb94fb4d0fb84679085848d6 Clear QHULL_LIBS etc on errors. Interpret --without-qhull etc correctly. diff -r d0239bddf621 -r 41a74dcd14df ChangeLog --- a/ChangeLog Mon Aug 17 19:52:18 2009 -0400 +++ b/ChangeLog Tue Aug 18 11:23:03 2009 -0400 @@ -1,3 +1,8 @@ +2009-08-18 David Grundberg + + * aclocal.m4 (OCTAVE_CHECK_LIBRARY): Clear QHULL_LIBS etc on + errors. Interpret --without-qhull etc correctly. + 2009-08-17 John W. Eaton * mkoctfile.in, mkoctfile.cc.in (FFTW3_LDFLAGS, FFTW3_LIBS, diff -r d0239bddf621 -r 41a74dcd14df aclocal.m4 --- a/aclocal.m4 Mon Aug 17 19:52:18 2009 -0400 +++ b/aclocal.m4 Tue Aug 18 11:23:03 2009 -0400 @@ -449,6 +449,9 @@ m4_toupper([$1])_LIBS= case $with_$1 in + no) + m4_toupper([$1])_LIBS= + ;; yes | "") m4_toupper([$1])_LIBS="-l$1" ;; @@ -474,7 +477,7 @@ octave_$1_ok=no AC_MSG_CHECKING([for $5 in $m4_toupper([$1])_LIBS]) AC_LINK_IFELSE([AC_LANG_CALL([], [$5])], - [octave_$1_ok=yes], [m4_toupper([$1])_LIBS=""]) + [octave_$1_ok=yes]) AC_MSG_RESULT($octave_$1_ok) if test $octave_$1_ok = yes; then m4_ifblank([$8], [ @@ -492,6 +495,7 @@ AC_SUBST([TEXINFO_]m4_toupper([$1])) if test -n "$warn_$1"; then AC_MSG_WARN($warn_$1) + m4_toupper([$1])_LIBS= fi ]) dnl