[Nut-upsdev] nut_check_os.m4

Charles Lepple clepple at gmail.com
Sun Jan 4 15:52:30 UTC 2009


In m4/nut_check_os.m4, there is the following section:

         # FIXME
         if test -z "$dist_cv_build_flavor" ; then
             dist_cv_build_flavor=$(dist_get_flavor "$(${CC-cc}  
$CFLAGS -v 2>&1 | grep 'gcc version')")
         fi

There is no dist_get_flavor command on OS X (or other systems, I  
suspect) so I am wondering if it is OK to just redirect stderr to / 
dev/null?

Also, is there a good way to disable this file until we actually need  
it?

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsdev mailing list