Summary:ASTERISK-18347: Configure --with-imap fails to handle relative paths
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2011-08-25 15:49:43Date Closed:2012-03-23 14:39:23
Versions:10.0.0-beta1 Frequency of
Environment:Fedora 14Attachments:
Description:The configure script checks for the include path specified by --with-imap relative to the location of the configure script, which is the parent directory of the apps/ directory.  However, if the path is relative to the location of the configure script, and that relative location is beneath the current location, then the Makefile in the apps/ directory will fail to find the header files needed for compilation.

Assume Asterisk is located at workspace/10
Assume IMAP libraries are installed at workspace/thirdparty/imap-2007f/

The path supplied to configure would be ../thirdparty/imap-2007f/

This will pass the configure script, but fail for the apps/Makefile.

Note that this is easily worked around if the path is not relative; however, the configure script / Makefiles should be able to handle this.