]> granicus.if.org Git - graphviz/commitdiff
remove build system detection of _NSGetEnviron() and crt_externs.h
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 22 Sep 2020 02:51:49 +0000 (19:51 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 29 Sep 2020 00:24:56 +0000 (17:24 -0700)
Neither of these are used any more.

cmake/config_checks.cmake
config-cmake.h.in
configure.ac
windows/include/config.h

index df8fee7d105b36f7444196463c05dce79c651cb7..aa241caa60710fb594cf6a914d68685c30893bac 100644 (file)
@@ -1,7 +1,6 @@
 # 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             )
@@ -23,7 +22,6 @@ check_include_file( X11/Xaw/Text.h      HAVE_X11_XAW_TEXT_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    )
index 3b320e1b0725e7194ba0c6e62e77412a5860b454..ff98abbc3ee0a01a73a703ded5c6bfe9e3d6c914 100644 (file)
@@ -1,5 +1,4 @@
 // Include headers
-#cmakedefine HAVE_CRT_EXTERNS_H
 #cmakedefine HAVE_FCNTL_H
 #cmakedefine HAVE_MALLOC_H
 #cmakedefine HAVE_SEARCH_H
@@ -20,7 +19,6 @@
 #cmakedefine HAVE_X11_XAW_TEXT_H
 
 // Functions
-#cmakedefine HAVE__NSGETENVIRON
 #cmakedefine HAVE_DRAND48
 #cmakedefine HAVE_CBRT
 #cmakedefine HAVE_GETPAGESIZE
index 9b7768427c532a698f1be7aec696444877dbe0e3..f2f02d1f9223e62ea10d831effe5e5f6e97a0229 100644 (file)
@@ -437,7 +437,7 @@ AC_CHECK_HEADERS( \
        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
@@ -459,7 +459,7 @@ LIBS=$save_LIBS
 
 # 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])
index ea8a091f65d8e9b1b7b0d059ebb2dd5c7d6f9a12..7051c52d26b072ead2687349bf80fb6fd663bb67 100644 (file)
@@ -41,9 +41,6 @@
 /* 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