Index: /trunk/psLib/configure.ac
===================================================================
--- /trunk/psLib/configure.ac	(revision 3557)
+++ /trunk/psLib/configure.ac	(revision 3558)
@@ -199,6 +199,6 @@
 AC_CHECK_LIB(mx,sqrtf,
   [PSLIB_LIBS="${PSLIB_LIBS=} -lmx"])
-AC_CHECK_LIB(c,atoll,
-  [PSLIB_LIBS="${PSLIB_LIBS=} -lc"])
+AC_CHECK_FUNC(atoll, [],
+  [AC_MSG_ERROR([The C99 function, atoll, is required; update your compiler?])])
 
 DOXYGEN="doxygen Doxyfile"
