Diff

Differences From Artifact [ebb33ac593]:

To Artifact [0ec6a4dc40]:


    16     16   ACX_PTHREAD(, [
    17     17   	AC_WARN([Can't figure out how to compile with pthreads support, run-time will likely fail.])
    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  +
           24  +dnl Determine how to strip executables
           25  +AC_CHECK_TOOL(STRIP, strip)
    23     26   
    24     27   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 zlib.h,,[
           28  +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 limits.h,,[
    26     29   	AC_WARN([Required header missing, compilation will likely fail.])
    27     30   ], [
    28     31   #ifdef HAVE_ARPA_INET_H
    29     32   #  include <arpa/inet.h>
    30     33   #endif
    31     34   #ifdef HAVE_INTTYPES_H
    32     35   #  include <inttypes.h>
................................................................................
    57     60   #endif
    58     61   #ifdef HAVE_UNISTD_H
    59     62   #  include <unistd.h>
    60     63   #endif
    61     64   #ifdef HAVE_PTHREAD_H
    62     65   #  include <pthread.h>
    63     66   #endif
           67  +#ifdef HAVE_LIMITS_H
           68  +#  include <limits.h>
           69  +#endif
    64     70   #ifdef HAVE_ZLIB_H
    65     71   #  include <zlib.h>
    66     72   #endif
    67     73   ])
    68     74   
    69     75   dnl Check for PC/SC headers and libraries
    70     76   DC_PCSC