… | |
… | |
85 | |
85 | |
86 | dnl png has a dependency in some cases on libz - if we have it, can't really |
86 | dnl png has a dependency in some cases on libz - if we have it, can't really |
87 | dnl be harmful to link it in. |
87 | dnl be harmful to link it in. |
88 | AC_CHECK_LIB(z, main, AC_DEFINE(HAVE_LIBZ,[],[Define if libz is available]) X11LIBS="$X11LIBS -lz", , $X11LIBS ) |
88 | AC_CHECK_LIB(z, main, AC_DEFINE(HAVE_LIBZ,[],[Define if libz is available]) X11LIBS="$X11LIBS -lz", , $X11LIBS ) |
89 | |
89 | |
90 | dnl Misc libraries. |
|
|
91 | AC_CHECK_LIB(crypt, main) |
|
|
92 | AC_CHECK_LIB(des, des_crypt) |
|
|
93 | |
|
|
94 | dnl Checks for header files. |
|
|
95 | AC_CHECK_HEADERS(crypt.h des.h) |
|
|
96 | |
|
|
97 | dnl Checks for typedefs, structures, and compiler characteristics. |
90 | dnl Checks for typedefs, structures, and compiler characteristics. |
98 | AC_C_INLINE |
91 | AC_C_INLINE |
99 | |
92 | |
100 | AC_CHECK_SIZEOF(long) |
93 | AC_CHECK_SIZEOF(long) |
101 | AC_CHECK_SIZEOF(long long) |
94 | AC_CHECK_SIZEOF(long long) |