diff --git a/Makefile.am.common b/Makefile.am.common index 7c8b280..9586e15 100644 --- a/Makefile.am.common +++ b/Makefile.am.common @@ -1,2 +1,4 @@ AM_CPPFLAGS = -I$(top_srcdir)/include AM_CPPFLAGS += -DOPENSSL_NO_ASM +AM_CPPFLAGS += -DHAVE_CRYPTODEV +AM_CPPFLAGS += -DLIBRESSL_INTERNAL diff --git a/configure.ac b/configure.ac index 549f303..2e00982 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_CONFIG_MACRO_DIR([m4]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS") -CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" +CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign" case $target_os in *darwin*) @@ -36,7 +36,6 @@ AC_PROG_CC AC_PROG_LIBTOOL AC_PROG_CC_STDC AM_PROG_CC_C_O -AC_PROG_LN_S AC_CHECK_FUNC(strlcpy,[AC_SEARCH_LIBS(strlcpy,, [NO_STRLCPY=], [NO_STRLCPY=yes])], [NO_STRLCPY=yes]) diff --git a/update.sh b/update.sh index a775a1a..3fc5d07 100755 --- a/update.sh +++ b/update.sh @@ -413,6 +413,6 @@ crypto_excludes=( source links for i in $MLINKS; do IFS=","; set $i; unset IFS - echo " \$(LN_S) -f \$(DESTDIR)\$(mandir)/man3/$1 \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am + echo " ln -f \$(DESTDIR)\$(mandir)/man3/$1 \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am done )