aboutsummaryrefslogtreecommitdiffstats
path: root/macros/need-declaration.m4
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1999-01-06 09:45:20 +0800
committerRaja R Harinath <harinath@src.gnome.org>1999-01-06 09:45:20 +0800
commitc107b53ebbc014c8b42d4046714e9849d307703f (patch)
tree325d6ac96c176bb20d88346161336afc66ca4b68 /macros/need-declaration.m4
parent6462909737e9f0e4fa22b17b3e986d03bd9ed175 (diff)
downloadgsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.tar
gsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.tar.gz
gsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.tar.bz2
gsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.tar.lz
gsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.tar.xz
gsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.tar.zst
gsoc2013-evolution-c107b53ebbc014c8b42d4046714e9849d307703f.zip
Include dirent.h before checking whether `scandir' needs to be declared.
* gnome-support.m4: Include dirent.h before checking whether `scandir' needs to be declared. * need-declaration.m4: Revert unlogged change. svn path=/trunk/; revision=580
Diffstat (limited to 'macros/need-declaration.m4')
-rw-r--r--macros/need-declaration.m43
1 files changed, 0 insertions, 3 deletions
diff --git a/macros/need-declaration.m4 b/macros/need-declaration.m4
index eea5bcd640..d5b7bc66d5 100644
--- a/macros/need-declaration.m4
+++ b/macros/need-declaration.m4
@@ -18,9 +18,6 @@ AC_CACHE_VAL(gcc_cv_decl_needed_$1,
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_DIRENT_H
-#include <dirent.h>
-#endif
$2],
[char *(*pfn) = (char *(*)) $1],
eval "gcc_cv_decl_needed_$1=no", eval "gcc_cv_decl_needed_$1=yes")])