how to check for HAVE_FOO_PROTO ?

Alexander Neundorf neundorf at kde.org
Sat Jan 14 17:25:38 CET 2006


Hi,

in kdelibs/ there are configure checks for really a lot of stuff.
What does HAVE_FOO_PROTO mean ? (with FOO = GETHOSTNAME, INITGROUPS, MKDTEMP, 
MKSTEMP, RANDOM and others)
How should be tested for it ?

cmake has a check_function_exists(), which tries to compile and link a small 
executable calling this function. But what should be done for 
HAVE_FOO_PROTO ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list