Ignore:
Timestamp:
15/12/2007 17:02:55 (4 years ago)
Author:
chris
Message:

Fix definition of dirfd(x) macro (autoconf doesn't like defining macros
with parameters).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r1993 r1998  
    166166 
    167167AC_CHECK_DECLS([optreset],,, [[#include <getopt.h>]]) 
    168 AC_CHECK_DECL([dirfd], 
    169         [], 
    170         AC_DEFINE([dirfd(x)], [(x)->d_fd], [dirfd() replacement for Solaris]), 
    171         [ 
     168AC_CHECK_DECLS([dirfd],,, 
     169        [[ 
    172170                #include <getopt.h> 
    173171                #include <dirent.h> 
    174         ]) 
     172        ]]) 
    175173 
    176174AC_HEADER_TIME 
Note: See TracChangeset for help on using the changeset viewer.