mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-10 06:31:13 +00:00
Check for OpenSSL headers/libraries
This commit is contained in:
parent
c2c1236cbe
commit
37df0d52bb
14
configure.ac
14
configure.ac
@ -156,7 +156,7 @@ AC_ARG_ENABLE([audio], AS_HELP_STRING([--disable-audio], [Disable emulator audio
|
||||
], [
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
])
|
||||
])
|
||||
], [
|
||||
AC_MSG_WARN([Could not find OpenAL headers, sound will be disabled])
|
||||
])
|
||||
@ -177,6 +177,18 @@ dnl Debugger & classic interface ...
|
||||
AC_ARG_ENABLE([debugger], AS_HELP_STRING([--disable-debugger], [Disable 6502 debugging console]), [], [
|
||||
AC_DEFINE(DEBUGGER, 1, [Enable 6502 debugger module])
|
||||
META_O="src/meta/debug.o src/meta/debugger.o src/meta/opcodes.o"
|
||||
|
||||
AC_CHECK_HEADER(openssl/sha.h, [
|
||||
AC_SEARCH_LIBS(SHA1, crypto, [
|
||||
AC_DEFINE(HAVE_OPENSSL, 1, [Use OpenSSL])
|
||||
], [
|
||||
AC_MSG_WARN([Could not find OpenSSL libraries, certain functionality will be disabled])
|
||||
], [])
|
||||
], [
|
||||
AC_MSG_WARN([Could not find openssl/sha.h header])
|
||||
], [
|
||||
#include <openssl/sha.h>
|
||||
])
|
||||
])
|
||||
AC_SUBST(META_O)
|
||||
|
||||
|
BIN
disks/testvm1.dsk.gz
Normal file
BIN
disks/testvm1.dsk.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user