FWIW, I checked in a patch to check for srandom() and disable (by returning POPT_ERROR_BADOPERATION) if HAVE_SRANDOM was not defined when popt was built.
I think we both agree that popt not building if srandom() is not present is a flaw no matter whether its solved by disabling POPT_ARGFLAG_RANDOM or by adding gnulib either internally/externally. hth 73 de Jeff ______________________________________________________________________ POPT Library http://rpm5.org Developer Communication List popt-devel@rpm5.org