X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=d10459334a480418368661aaf0df3f40c76f80dc;hb=fee04eb63d0692a20d314ce10a23915d2726141f;hp=d760f340af3c5c40b76658830f07419f9239c5db;hpb=dfdbd757b3e51e2fb52df8c6144af26562d44e75;p=catta diff --git a/configure.ac b/configure.ac index d760f34..d104593 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,13 @@ AC_CHECK_MEMBER([struct in_pktinfo.ipi_spec_dst], [], [[#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],