]> granicus.if.org Git - graphviz/commitdiff
remove now unnecessary detection of str[n]casecmp
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 2 Aug 2020 02:03:16 +0000 (19:03 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 7 Aug 2020 14:00:28 +0000 (07:00 -0700)
Related to #1775.

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

index 75be64be9ceb23afafc6e34ffcaa843399d54d05..df8fee7d105b36f7444196463c05dce79c651cb7 100644 (file)
@@ -36,8 +36,6 @@ check_function_exists( setenv           HAVE_SETENV         )
 check_function_exists( setmode          HAVE_SETMODE        )
 check_function_exists( sincos           HAVE_SINCOS         )
 check_function_exists( srand48          HAVE_SRAND48        )
-check_function_exists( strcasecmp       HAVE_STRCASECMP     )
-check_function_exists( strncasecmp      HAVE_STRNCASECMP    )
 check_function_exists( vsnprintf        HAVE_VSNPRINTF      )
 
 # Type checks
index c2447627f846ed1d9ae0e84ed7c2f0a74ea8400d..3b320e1b0725e7194ba0c6e62e77412a5860b454 100644 (file)
@@ -33,8 +33,6 @@
 #cmakedefine HAVE_SETMODE
 #cmakedefine HAVE_SINCOS
 #cmakedefine HAVE_SRAND48
-#cmakedefine HAVE_STRCASECMP
-#cmakedefine HAVE_STRNCASECMP
 #cmakedefine HAVE_VSNPRINTF
 
 // Types
index 7cf96de8d3993cc31b5f40a92ba0db14db185d37..cc6c238a85dda73538ef0192670294eb65181ab8 100644 (file)
@@ -17,8 +17,6 @@ lib fesetenv -D_GNU_SOURCE fenv.h -lm
 lib lrand48
 lib srand48
 lib sincos
-lib strcasecmp
-lib strncasecmp
 
 hdr dlfcn
 hdr errno
index 2cb46095a6b6a465a00158130e67022d56a8ebe0..6c99463fdc0d1f62b170b27a946211be54448d91 100644 (file)
@@ -474,7 +474,7 @@ AC_CHECK_FUNCS([lrand48 drand48 srand48 setmode setenv getenv \
        cbrt vsnprintf _NSGetEnviron mallopt mallinfo mstats getpagesize \
   ftruncate lseek64 stat64 vfork unlink waitpid select])
 
-AC_REPLACE_FUNCS([strcasecmp strncasecmp strcasestr])
+AC_REPLACE_FUNCS([strcasestr])
 
 dnl -----------------------------------
 dnl libtool ltdl on-demand plugin loading
index df87daf1dd250b15d21627982eb95c2f9bd19bff..bd3a2eb2298868a223d62eb9b9b213a28c368daa 100644 (file)
 /* Define to 1 if you have the `srand48' function. */
 /* #undef HAVE_SRAND48 */
 
-/* Define to 1 if you have the `strcasecmp' function. */
-//#define HAVE_STRCASECMP 1
-
 /* Define to 1 if you have the <strings.h> header file. */
 //#define HAVE_STRINGS_H 1
 
-/* Define to 1 if you have the `strncasecmp' function. */
-//#define HAVE_STRNCASECMP 1
-
 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
    */
 /* #undef HAVE_SYS_DIR_H */