diff options
author | Martin Baulig <martin@src.gnome.org> | 1999-01-05 22:15:47 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-01-05 22:15:47 +0000 |
commit | 614c9bede8a5ec1017c5695bfee70a08458d38aa (patch) | |
tree | bcddb12884c2609589f95e78c9ba25cdef290933 /support | |
parent | ad718b30797bc9d0db86392fbff55dc244a6f04c (diff) | |
download | shared-mime-info-614c9bede8a5ec1017c5695bfee70a08458d38aa.tar.gz |
Applied patch for DG/UX from Marc J. Fraioli:
* macros/gnome-support.m4: Check whether we need to declare scandir ().
* support/gnomesupport.awk: Declare scandir () if necessary.
svn path=/trunk/; revision=558
Diffstat (limited to 'support')
-rw-r--r-- | support/gnomesupport.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/gnomesupport.awk b/support/gnomesupport.awk index e529be52..69b94dfe 100644 --- a/support/gnomesupport.awk +++ b/support/gnomesupport.awk @@ -84,7 +84,7 @@ END { print "int mkstemp (char */*template*/);"; } - if (!def["HAVE_SCANDIR"]) { + if (!def["HAVE_SCANDIR"] || def["NEED_DECLARATION_SCANDIR"]) { print ""; print "/* Scan the directory DIR, calling SELECTOR on each directory"; print " entry. Entries for which SELECTOR returns nonzero are"; |