Diff

Differences From Artifact [af02db7477]:

To Artifact [dc10e35060]:


    28     28   LIBS="${SAVE_LIBS}"
    29     29   
    30     30   dnl Find zlib
    31     31   AC_ARG_WITH(zlib, AC_HELP_STRING([--with-zlib], [directory containing zlib]), [
    32     32   	CFLAGS="${CFLAGS} -I${with_zlib}/include -I${with_zlib}"
    33     33   	LDFLAGS="${LDFLAGS} -L${with_zlib}/lib -L${with_zlib}"
    34     34   ])
    35         -AC_SEARCH_LIBS(inflate, z zlib,, [ AC_MSG_WARN([Couldn't find inflate (normally in zlib)!]) ])
           35  +DC_DO_STATIC_LINK_LIB(zlib, -lz,, [
           36  +	DC_DO_STATIC_LINK_LIB(zlib, -lzlib,, [
           37  +		AC_SEARCH_LIBS(inflate, z zlib,, [
           38  +			AC_MSG_WARN([Couldn't find inflate (normally in zlib)!])
           39  +		])
           40  +	])
           41  +])
    36     42   
    37     43   dnl Produce output
    38     44   AC_OUTPUT(Makefile)