Diff

Differences From Artifact [4d0c0e3f42]:

To Artifact [ebb33ac593]:


    18     18   ])
    19     19   
    20     20   dnl Determine how to create static archives on this platform
    21     21   AC_CHECK_TOOL(AR, ar)
    22     22   AC_CHECK_TOOL(RANLIB, ranlib)
    23     23   
    24     24   dnl Check for all required headers
    25         -AC_CHECK_HEADERS(arpa/inet.h inttypes.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/socket.h sys/types.h sys/un.h unistd.h pthread.h,,[
           25  +AC_CHECK_HEADERS(arpa/inet.h inttypes.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/socket.h sys/types.h sys/un.h unistd.h pthread.h zlib.h,,[
    26     26   	AC_WARN([Required header missing, compilation will likely fail.])
    27     27   ], [
    28     28   #ifdef HAVE_ARPA_INET_H
    29     29   #  include <arpa/inet.h>
    30     30   #endif
    31     31   #ifdef HAVE_INTTYPES_H
    32     32   #  include <inttypes.h>
................................................................................
    57     57   #endif
    58     58   #ifdef HAVE_UNISTD_H
    59     59   #  include <unistd.h>
    60     60   #endif
    61     61   #ifdef HAVE_PTHREAD_H
    62     62   #  include <pthread.h>
    63     63   #endif
           64  +#ifdef HAVE_ZLIB_H
           65  +#  include <zlib.h>
           66  +#endif
    64     67   ])
    65     68   
    66     69   dnl Check for PC/SC headers and libraries
    67     70   DC_PCSC
           71  +
           72  +dnl Check for ZLIB libraries
           73  +AC_CHECK_LIB(z, uncompress)
    68     74   
    69     75   dnl Upate LDFLAGS to include setting the run-time linker path to the same as our compile-time linker
    70     76   DC_SYNC_RPATH
    71     77   
    72     78   dnl If we updated LIBOBJS, update SHLIBOBJS -- must be last.
    73     79   DC_SYNC_SHLIBOBJS
    74     80   
    75     81   dnl Produce Makefile
    76     82   AC_OUTPUT(Makefile)