Forum: NGINX Add user-friendly error to configure script when running in improper location

Posted by Andres G. Aragoneses (Guest)
on 2012-09-26 12:56
Attachment: nginx_simple_user_friendly_error.diff (362 Bytes)
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.