diff --git a/CMakeLists.txt b/CMakeLists.txt index b01ef6275..0dbb39225 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,11 +88,6 @@ else() set(FISH_IN_TREE_BUILD FALSE) endif() -# Set up config.h -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config_cmake.h.in - ${CMAKE_CURRENT_BINARY_DIR}/config.h) -include_directories(${CMAKE_CURRENT_BINARY_DIR}) - # Set up the machinery around FISH-BUILD-VERSION-FILE # This defines the FBVF variable. include(Version) diff --git a/config_cmake.h.in b/config_cmake.h.in deleted file mode 100644 index d0028e08e..000000000 --- a/config_cmake.h.in +++ /dev/null @@ -1,22 +0,0 @@ -/* Define to 1 if you have the `gettext' function. */ -#cmakedefine HAVE_GETTEXT 1 - -/* Define to 1 if the status that wait returns and WEXITSTATUS expects is signal and then ret instead of the other way around. */ -#cmakedefine HAVE_WAITSTATUS_SIGNAL_RET 1 - -/* Define to 1 if the _nl_msg_cat_cntr symbol is exported. */ -#cmakedefine HAVE__NL_MSG_CAT_CNTR 1 - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "https://github.com/fish-shell/fish-shell/issues" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "fish" - -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -/* The size of wchar_t in bits. */ -#define WCHAR_T_BITS ${WCHAR_T_BITS} diff --git a/src/libc.c b/src/libc.c index 6440878ac..d4a983ae1 100644 --- a/src/libc.c +++ b/src/libc.c @@ -1,5 +1,3 @@ -#include "config.h" - #include #include #include