Mercurial > octave-nkf
diff aclocal.m4 @ 9231:8a5a04b6c46b
Fixes confgure script for QHULL detection and add dependency on user32 [Win32]
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 21 May 2009 18:30:30 +0100 |
parents | 224634b2e6e3 |
children | 4af6e29449c1 |
line wrap: on
line diff
--- a/aclocal.m4 Thu May 21 18:19:46 2009 +0100 +++ b/aclocal.m4 Thu May 21 18:30:30 2009 +0100 @@ -968,7 +968,11 @@ AC_CACHE_VAL(octave_cv_lib_qhull_ok, [ save_LIBS="$LIBS" - LIBS="$LIBS -lqhull -lm" + LIBS="$LIBS -lqhull" + case $host in + *-mingw*|*-msdosmsvc*) ;; + *) LIBS="$LIBS -lm" ;; + esac AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <stdio.h> #include <qhull/qhull.h>