Changeset 12430
- Timestamp:
- Mar 12, 2007, 7:15:35 PM (19 years ago)
- Location:
- trunk/psLib
- Files:
-
- 2 edited
-
configure.ac (modified) (2 diffs)
-
src/math/psMD5.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r12417 r12430 134 134 CFLAGS=${CFLAGS} ${CFITSIO_CFLAGS} 135 135 LDFLAGS=${LDFLAGS} ${CFITSIO_LDFLAGS} 136 137 dnl Solaris needs to suck in these symbols from unusual locations 138 AC_SEARCH_LIBS([gethostbyname], [nsl]) 139 AC_SEARCH_LIBS([socket], [socket]) 136 140 137 141 AC_CHECK_HEADERS([fitsio.h],[], … … 431 435 432 436 AC_CHECK_HEADERS([openssl/md5.h],[], 433 [AC_MSG_ERROR([SSL headers not found. Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])] 437 [AC_CHECK_HEADERS([sys/md5.h],[], 438 [AC_MSG_ERROR([SSL headers not found. Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])] 439 )] 434 440 ) 435 441 AC_CHECK_LIB(crypto,MD5,[], -
trunk/psLib/src/math/psMD5.c
r11616 r12430 5 5 #include <stdio.h> 6 6 #include <string.h> 7 8 #ifdef HAVE_SYS_MD5_H 9 // Seems to be the case for Solaris 10 #include <sys/md5.h> 11 #else 12 // Seems to be the case for most others 7 13 #include <openssl/md5.h> 14 #endif // HAVE_SYS_MD5_H 15 8 16 9 17 #include "psAssert.h"
Note:
See TracChangeset
for help on using the changeset viewer.
