diff options
-rw-r--r-- | configure.ac | 35 | ||||
-rw-r--r-- | src/fallback.cpp | 4 |
2 files changed, 0 insertions, 39 deletions
diff --git a/configure.ac b/configure.ac index 5907be3e..e50258b0 100644 --- a/configure.ac +++ b/configure.ac @@ -405,41 +405,6 @@ AC_LINK_IFELSE( ) -# -# If we have a fwprintf in libc, test that it actually works. As of -# March 2006, it is broken under DragonFly BSD. -# - -if test "$ac_cv_func_fwprintf" = yes; then - - AC_MSG_CHECKING([if fwprintf is broken]) - AC_RUN_IFELSE( - [ - AC_LANG_PROGRAM( - [ - #include <stdlib.h> - #include <stdio.h> - #include <locale.h> - #include <wchar.h> - ], - [ - setlocale( LC_ALL, "" ); - fwprintf( stderr, L"%ls%ls", L"", L"fish:" ); - ] - ) - ], - [ - AC_MSG_RESULT(no) - ], - [ - AC_MSG_RESULT([yes]) - AC_DEFINE([HAVE_BROKEN_FWPRINTF], [1], [Define to 1 one if the implemented fwprintf is broken]) - ] - ) - -fi - - # Check for _nl_msg_cat_cntr symbol AC_MSG_CHECKING([for _nl_msg_cat_cntr symbol]) AC_TRY_LINK( diff --git a/src/fallback.cpp b/src/fallback.cpp index f5638e81..92c3e1fc 100644 --- a/src/fallback.cpp +++ b/src/fallback.cpp @@ -94,10 +94,6 @@ char *tparm_solaris_kludge(char *str, ...) { #define INTERNAL_FWPRINTF 1 #endif -#ifdef HAVE_BROKEN_FWPRINTF -#define INTERNAL_FWPRINTF 1 -#endif - #ifdef INTERNAL_FWPRINTF /// Internal function for the wprintf fallbacks. USed to write the specified number of spaces. |