As it turns out, the 'magic' libuuid/bsd uuid check just checks outside buildtree altogether for the uuid_generate. So we just hardcode it. --- a/genconfig.sh +++ b/genconfig.sh @@ -367,12 +367,7 @@ case $FW in esac # UUID API -if grep uuid_create /usr/include/uuid.h > /dev/null 2>&1 ; then - echo "#define BSD_UUID" >> ${CONFIGFILE} -fi -if grep uuid_generate /usr/include/uuid/uuid.h > /dev/null 2>&1 ; then - echo "#define LIB_UUID" >> ${CONFIGFILE} -fi +echo "#define LIB_UUID" >> ${CONFIGFILE} # set V6SOCKETS_ARE_V6ONLY to 0 if it was not set above if [ -z "$V6SOCKETS_ARE_V6ONLY" ] ; then