The code base extensively uses `getenv` without checking the `HAVE_GETENV` macro
this detection supplies. This is not a problem because `getenv` is provided as
far back as C89, and can be guaranteed to exist on all platforms for which
Graphviz currently compiles, as we require C99.
check_function_exists( dl_iterate_phdr HAVE_DL_ITERATE_PHDR )
check_function_exists( drand48 HAVE_DRAND48 )
check_function_exists( getpagesize HAVE_GETPAGESIZE )
-check_function_exists( getenv HAVE_GETENV )
check_function_exists( lrand48 HAVE_LRAND48 )
check_function_exists( setenv HAVE_SETENV )
check_function_exists( setmode HAVE_SETMODE )
#cmakedefine HAVE_DL_ITERATE_PHDR
#cmakedefine HAVE_DRAND48
#cmakedefine HAVE_GETPAGESIZE
-#cmakedefine HAVE_GETENV
#cmakedefine HAVE_LRAND48
#cmakedefine HAVE_SETENV
#cmakedefine HAVE_SETMODE
# -----------------------------------
# Checks for library functions
-AC_CHECK_FUNCS([lrand48 drand48 srand48 setmode setenv getenv \
+AC_CHECK_FUNCS([lrand48 drand48 srand48 setmode setenv \
getpagesize \
ftruncate lseek64 stat64 select dl_iterate_phdr])
/* Define if the GD library supports XPM */
/* #undef HAVE_GD_XPM */
-/* Define to 1 if you have the `getenv' function. */
-#define HAVE_GETENV 1
-
/* Define if you have the glade library */
#define HAVE_GLADE 1