Mercurial > emacs
view autogen.sh @ 85680:a927843fe12d
Add a wrapper for getenv so it also checks the registry on Windows.
Suggestion and algorithm by Eli Zaretskii.
Code partially based on w32_get_resource and init_environment (w32.c).
(egetenv): New wrapper for getenv.
(get_current_dir_name, decode_options, get_server_config, set_local_socket,
set_socket, main): Use egetenv, not getenv.
(w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 26 Oct 2007 15:46:22 +0000 |
parents | 156cffa89b1b |
children | 4c90ffeb71c5 7b9e6639caa3 |
line wrap: on
line source
#!/bin/sh echo "Please read INSTALL.CVS for instructions on how to build Emacs from CVS." # Exit with failure, since people may have generic build scripts that # try things like "autogen.sh && ./configure && make". exit 1 # arch-tag: a123408c-fada-4bf7-98a0-a786cff918f0