Based on Gisle Vanem's $HOME patch, we now attempt to find the home dir

in a slightly better way for more platforms. The $HOME is only used for
.curlrc atm, but the possible upcoming change of .netrc treatment may also
need the home dir.
This commit is contained in:
Daniel Stenberg
2003-11-07 17:17:15 +00:00
parent 3dd40cca9a
commit 8be602cdfd
5 changed files with 152 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ endif
curl_SOURCES = main.c hugehelp.c urlglob.c writeout.c setup.h \
config-win32.h config-mac.h config-vms.h config-riscos.h \
urlglob.h version.h writeout.h writeenv.c writeenv.h \
getpass.c getpass.h
getpass.c getpass.h homedir.c homedir.h
curl_LDADD = ../lib/libcurl.la
curl_DEPENDENCIES = ../lib/libcurl.la