From 2887a0dbad4b95695cd20fe930046eda80d67bbf Mon Sep 17 00:00:00 2001 From: Luis Diaz Mas Date: Mon, 7 Aug 2017 18:57:42 +0200 Subject: [PATCH] Remove unused HAVE_VPRINTF variable --- config/CMakeChecks.txt | 5 +---- config/config.h.cmake | 3 --- config/config.h.in | 3 --- include/exiv2/exv_msvc.h | 3 --- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/config/CMakeChecks.txt b/config/CMakeChecks.txt index 2ac6b590..22524af7 100644 --- a/config/CMakeChecks.txt +++ b/config/CMakeChecks.txt @@ -73,8 +73,6 @@ check_include_file( "inttypes.h" have_inttypes_h ) check_include_file( "wchar.h" HAVE_WCHAR_H ) check_include_file( "regex.h" HAVE_REGEX ) -check_function_exists( vprintf HAVE_VPRINTF ) - # time.h and sys/time.h can be included in the same file CHECK_C_SOURCE_COMPILES( "#include #include @@ -87,8 +85,7 @@ IF( NOT MSVC ) SET( HAVE_PID_T TRUE ) ENDIF( NOT MSVC ) -SET( EXV_SYMBOLS HAVE_VPRINTF - HAVE_WCHAR_H +SET( EXV_SYMBOLS HAVE_WCHAR_H HAVE_XMP_TOOLKIT HAVE_REGEX UNICODE_PATH diff --git a/config/config.h.cmake b/config/config.h.cmake index 2ec4e32c..1f71f327 100644 --- a/config/config.h.cmake +++ b/config/config.h.cmake @@ -110,9 +110,6 @@ /* Define to 1 if you have the header file. */ #cmakedefine EXV_HAVE_UNISTD_H 1 -/* Define to 1 if you have the `vprintf' function. */ -#cmakedefine EXV_HAVE_VPRINTF 1 - /* Define to 1 if you have the header file. */ #cmakedefine EXV_HAVE_WCHAR_H 1 diff --git a/config/config.h.in b/config/config.h.in index 2fecef23..c25cc12c 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -101,9 +101,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H -/* Define to 1 if you have the `vprintf' function. */ -#undef HAVE_VPRINTF - /* Define to 1 if you have the header file. */ #undef HAVE_WCHAR_H diff --git a/include/exiv2/exv_msvc.h b/include/exiv2/exv_msvc.h index b985ffb6..89728b71 100644 --- a/include/exiv2/exv_msvc.h +++ b/include/exiv2/exv_msvc.h @@ -110,9 +110,6 @@ /* Define to 1 if you have the header file. */ /* #undef EXV_HAVE_UNISTD_H */ -/* Define to 1 if you have the `vprintf' function. */ -#define EXV_HAVE_VPRINTF 1 - /* Define to 1 if you have the header file. */ /* #undef EXV_HAVE_WCHAR_H */