Riccardo Mottola <[email protected]> wrote: > Hi, > > in the maze of libcairo upgrade, which I'd like on solaris 9 too, I got > entangled in fontconfig. > > I got this: > checking for lstat... yes > checking for posix_fadvise... no > checking for scandir... configure: error: > *** No scandir function available. > gmake[1]: *** > [configure-work/build-isa-sparcv8/fontconfig-2.11.0/configure] Error 1 > gmake[1]: Leaving directory `/home/rmottola/opencsw/fontconfig/trunk' > > > did you guys already had experience with scandir during solaris 8/9 > times? Apparently there is the UCB version, while later it was moved > directly into libc.
scandir() was not part of the POSIX standard before 2008. A program that requires scandir() is written in a portable way should be fixed inline instead of trying to find a workaround. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'
