Remove -I/usr/local/include and -L/usr/local/lib

libsodium doesn't have any dependency on 3rd party libs.
This commit is contained in:
Frank Denis 2013-07-07 19:18:03 -07:00
parent 34fe1205ac
commit f66ab14d7f

View File

@ -138,14 +138,6 @@ AC_SUBST(LIBTOOL_DEPS)
AC_ARG_VAR([AR], [path to the ar utility]) AC_ARG_VAR([AR], [path to the ar utility])
AC_CHECK_TOOL([AR], [ar], [ar]) AC_CHECK_TOOL([AR], [ar], [ar])
AS_IF([test -d /usr/local/include], [
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
])
AS_IF([test -d /usr/local/lib], [
LDFLAGS="$LDFLAGS -L/usr/local/lib"
])
dnl Checks for headers dnl Checks for headers
AC_CHECK_HEADERS([emmintrin.h], [], [], [ AC_CHECK_HEADERS([emmintrin.h], [], [], [
#pragma GCC target("sse2") #pragma GCC target("sse2")