Neither of these are used any more.
# Header checks
include(CheckIncludeFile)
-check_include_file( crt_externs.h HAVE_CRT_EXTERNS_H )
check_include_file( fcntl .h HAVE_FCNTL_H )
check_include_file( search.h HAVE_SEARCH_H )
check_include_file( stat.h HAVE_STAT_H )
# Function checks
include(CheckFunctionExists)
-check_function_exists( _NSGetEnviron HAVE__NSGETENVIRON )
check_function_exists( drand48 HAVE_DRAND48 )
check_function_exists( cbrt HAVE_CBRT )
check_function_exists( getpagesize HAVE_GETPAGESIZE )
// Include headers
-#cmakedefine HAVE_CRT_EXTERNS_H
#cmakedefine HAVE_FCNTL_H
#cmakedefine HAVE_MALLOC_H
#cmakedefine HAVE_SEARCH_H
#cmakedefine HAVE_X11_XAW_TEXT_H
// Functions
-#cmakedefine HAVE__NSGETENVIRON
#cmakedefine HAVE_DRAND48
#cmakedefine HAVE_CBRT
#cmakedefine HAVE_GETPAGESIZE
unistd.h strings.h stat.h vfork.h \
sys/time.h sys/types.h sys/select.h sys/socket.h \
sys/stat.h sys/mman.h sys/vfork.h \
- sys/ioctl.h sys/inotify.h crt_externs.h)
+ sys/ioctl.h sys/inotify.h)
# Internationalization macros
# AM_GNU_GETTEXT
# Checks for library functions
AC_CHECK_FUNCS([lrand48 drand48 srand48 setmode setenv getenv \
- cbrt vsnprintf _NSGetEnviron mallopt mallinfo mstats getpagesize \
+ cbrt vsnprintf mallopt mallinfo mstats getpagesize \
ftruncate lseek64 stat64 vfork unlink waitpid select])
AC_REPLACE_FUNCS([strcasestr])
/* Define to 1 if you have the `cbrt' function. */
//#define HAVE_CBRT 1
-/* Define to 1 if you have the <crt_externs.h> header file. */
-/* #undef HAVE_CRT_EXTERNS_H */
-
/* Define to 1 if you have the `deflateBound' function. */
/* #undef HAVE_DEFLATEBOUND */
/* Define to 1 if the system has the type `_Bool'. */
#define HAVE__BOOL 1
-/* Define to 1 if you have the `_NSGetEnviron' function. */
-/* #undef HAVE__NSGETENVIRON */
-
/* Define as const if the declaration of iconv() needs const. */
#define ICONV_CONST const