DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1890
Version: 2.0-current


Johannes Hofmann had a hunch that Solaris 10 comes with a proper scandir
function and it turnes out that he's right:

--- a/configure.in      Sat Jun 28 10:54:24 2008 +0200
+++ b/configure.in      Fri Jul 04 20:32:07 2008 +0200
@@ -324,7 +324,7 @@ AC_CHECK_HEADER(sys/select.h,AC_DEFINE(H
 AC_CHECK_HEADER(sys/select.h,AC_DEFINE(HAVE_SYS_SELECT_H))
 AC_CHECK_HEADER(sys/stdtypes.h,AC_DEFINE(HAVE_SYS_SELECT_H))
 AC_CHECK_FUNC(scandir,[
-    if test "$uname" = SunOS -o "$uname" = QNX; then
+    if test "$uname" = QNX; then
         AC_MSG_WARN(Not using $uname scandir emulation function.)
     else
         AC_DEFINE(HAVE_SCANDIR)

This solves this issue. You might want to check uname -r, but I know too
little about autoconf to provide a proper patch.


Link: http://www.fltk.org/str.php?L1890
Version: 2.0-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to