Basically the configure script cannot find the openssl header files.
What do you have under /Users/me/Desktop/MyProject/libs/openssl/
? By default you should have something like this:
├── include
│ └── openssl
│ ├── ssl.h
│ ├── ...
├── lib
│ ├── libssl.1.0.0.dylib
│ ├── libssl.a
│ ├── ...
That being said, is there any reason why you do not use the native Darwin SSL library (a.k.a Secure Transport)? As of version 7.27.0, libcurl now supports it natively which is particularly convenient.
You should definitely refer to this curl-ios-build-scripts project that provides a build system for libcurl that targets iOS/OSX and supports Darwin SSL.
If you need to stick with openssl, you can refer to the former version of this project that used to support it: see commit 92f40bc.