summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-01-05 22:15:47 +0000
committerMartin Baulig <martin@src.gnome.org>1999-01-05 22:15:47 +0000
commit614c9bede8a5ec1017c5695bfee70a08458d38aa (patch)
treebcddb12884c2609589f95e78c9ba25cdef290933 /support
parentad718b30797bc9d0db86392fbff55dc244a6f04c (diff)
downloadgnome-common-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.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/gnomesupport.awk b/support/gnomesupport.awk
index e529be5..69b94df 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";