Changeset c9a6e18 in git for configure.ac


Ignore:
Timestamp:
29/06/19 03:07:43 (4 months ago)
Author:
Olly Betts <olly@…>
Branches:
master
Children:
9fe70e44
Parents:
41cd172
git-author:
Olly Betts <olly@…> (29/06/19 03:06:19)
git-committer:
Olly Betts <olly@…> (29/06/19 03:07:43)
Message:

Dereference symlinks when testing for file/directory

The code was carefully using lstat() where available to try to do
this, but that's backwards - regular stat() dereferences a symlink
and lstat() doesn't!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r41cd172 rc9a6e18  
    252252dnl check for strcasecmp here as well as below - this one is to get
    253253dnl HAVE_STRCASECMP defined if appropriate (for img.c)
    254 AC_CHECK_FUNCS([popen getpwuid lround strcasecmp hypot lstat mmap])
     254AC_CHECK_FUNCS([popen getpwuid lround strcasecmp hypot mmap])
    255255
    256256dnl difftime seems to be an ANSI invention
Note: See TracChangeset for help on using the changeset viewer.