diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-27 16:55:46 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-27 16:55:46 +0000 |
commit | c99c729780a23d75aefb9ff73511892f1969f32a (patch) | |
tree | 3a4ddec7d4e6d5d261b7dda8e514b46cae3cf109 /configure | |
parent | [w3m-dev 02572] _peekURL() bug (diff) | |
download | w3m-c99c729780a23d75aefb9ff73511892f1969f32a.tar.gz w3m-c99c729780a23d75aefb9ff73511892f1969f32a.zip |
[w3m-dev 02571]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.21 2001/11/26 09:59:16 ukai Exp $ +# $Id: configure,v 1.22 2001/11/27 17:00:41 ukai Exp $ # Configuration. # @@ -1271,8 +1271,12 @@ cat > _zmachdep.c << EOF #include <unistd.h> main() { +#ifdef MAXPATHLEN char path[MAXPATHLEN]; getcwd(path,MAXPATHLEN); +#else + gwtcwd(NULL, 0); +#endif } EOF if $cc $cflags -o _zmachdep _zmachdep.c > /dev/null 2>&1 |