diff options
author | Andreas Schwab <schwab@suse.de> | 2000-08-09 09:10:26 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2000-08-09 09:10:26 +0000 |
commit | 580ca83f5f52e7ac66638448d80f68631f0683bf (patch) | |
tree | cbe907df2ad87dafa47311cbcab42a9513ceed75 /configure.in | |
parent | 2bbc70d5da0ea7dc46ee4a3e87566d2cc18ff995 (diff) | |
download | glibc-580ca83f5f52e7ac66638448d80f68631f0683bf.zip glibc-580ca83f5f52e7ac66638448d80f68631f0683bf.tar.gz glibc-580ca83f5f52e7ac66638448d80f68631f0683bf.tar.bz2 |
* configure.in: Add `-lm' when checking for libgd. * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during linking.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index ef52035..3bd422e 100644 --- a/configure.in +++ b/configure.in @@ -1243,7 +1243,7 @@ CFLAGS="$CFLAGS $libgd_include" old_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $libgd_ldflags" old_LIBS="$LIBS" -LIBS="$LIBS -lgd -lpng -lz" +LIBS="$LIBS -lgd -lpng -lz -lm" AC_TRY_LINK([#include <gd.h>], [gdImagePng (0, 0)], LIBGD=yes, LIBGD=no) CFLAGS="$old_CFLAGS" LDFLAGS="$old_LDFLAGS" |