X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/e13318db101cd40f5b96a76f0810a079714db10d..f72de1ee756e59988c9c9bb49df42f513aa9dca1:/configure.ac diff --git a/configure.ac b/configure.ac index 142b854a..af083714 100644 --- a/configure.ac +++ b/configure.ac @@ -240,11 +240,10 @@ AC_CHECK_TYPE([socklen_t], [], ]) dnl The maths library. -mdw_ORIG_LIBS=$LIBS LIBS= +mdw_ORIG_LIBS=$LIBS LIBS=$CATACOMB_LIBS AC_SEARCH_LIBS([log], [m]) AC_SEARCH_LIBS([sqrt], [m]) -AC_SUBST([MATHLIBS], [$LIBS]) -LIBS=$mdw_ORIG_LIBS +CATACOMB_LIBS=$LIBS LIBS=$mdw_ORIG_LIBS dnl Logging is weird under Termux. Unfortunately, it involves macros, so we dnl have to do this the hard way.