X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=configure.ac;h=d10459334a480418368661aaf0df3f40c76f80dc;hp=d760f340af3c5c40b76658830f07419f9239c5db;hb=fee04eb63d0692a20d314ce10a23915d2726141f;hpb=d973ebcca85078aeb8d6f790795b75c8a8b863b8 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],