[PATCH] Add user-friendly error to configure script when running in improper location

Andres G. Aragoneses knocte at gmail.com
Wed Sep 26 10:56:34 UTC 2012


Here's a small patch to add a user-friendly error message.

I.e. if you run "cd auto; ./configure" instead of "./auto/configure", 
you get:

./configure: 10: .: Can't open auto/options

With this patch you now get:

No 'auto' subdir found, are you running this from the root dir?

Patch attached, please submit to svn.
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx_simple_user_friendly_error.diff
Type: text/x-patch
Size: 363 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120926/08511ea2/attachment.bin>


More information about the nginx mailing list