X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=07eb2497511bac1c16e66ecf2a910b49d19c95a5;hb=4c0a414c5f83270ded3deb66036f77ae754e4555;hp=d760f340af3c5c40b76658830f07419f9239c5db;hpb=dfdbd757b3e51e2fb52df8c6144af26562d44e75;p=catta diff --git a/configure.ac b/configure.ac index d760f34..07eb249 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], @@ -339,7 +346,6 @@ src/Makefile include/Makefile tests/Makefile examples/Makefile -m4/Makefile ]) AC_OUTPUT