X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=07eb2497511bac1c16e66ecf2a910b49d19c95a5;hb=08ac450b42b7533e97c02c02bbbef8946b9582fb;hp=c5314af0e042c63e3d4e698a9e8696b8a9fa74ec;hpb=6ce8abeff8a93a7defcad963737eafc1fc7856c2;p=catta diff --git a/configure.ac b/configure.ac index c5314af..07eb249 100644 --- a/configure.ac +++ b/configure.ac @@ -59,13 +59,20 @@ fi AC_CHECK_DECL(_WIN32) AM_CONDITIONAL([WINDOWS], [ test "x$ac_cv_have_decl__WIN32" = "xyes" ]) if test "x$ac_cv_have_decl__WIN32" = "xyes" ; then - CPPFLAGS="$CPPFLAGS -I`pwd`/include/compat/windows" + CPPFLAGS="$CPPFLAGS -I`pwd`/src/compat/windows/include" fi AC_CHECK_MEMBER([struct in_pktinfo.ipi_spec_dst], AC_DEFINE([HAVE_IPI_SPEC_DST], [], [struct in_pktinfo has ipi_spec_dst member]), [], [[#include ]]) +# iOS stuff +AC_CHECK_DECL(__APPLE__) +AM_CONDITIONAL([APPLE], [ test "x$ac_cv_have_decl___APPLE__" = "xyes" ]) +if test "x$ac_cv_have_decl___APPLE__" = "xyes" ; then + CPPFLAGS="$CPPFLAGS -I`pwd`/src/compat/ios/include" +fi + # -fstack-protector AC_ARG_ENABLE([stack-protector], [AS_HELP_STRING([--disable-stack-protector], @@ -339,7 +346,6 @@ src/Makefile include/Makefile tests/Makefile examples/Makefile -m4/Makefile ]) AC_OUTPUT