From 504b32f61be6bc8a1e08f9c8a75ab0ac1e89681b Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 15 May 2016 19:36:19 +0000 Subject: configure: drop fwprintf test fwprintf would segfault on DragonFly BSD 1.4.0, released in January 2006. This was fixed by DragonFly BSD 1.4.4, released in April 2006. It seems unlikely that anyone is still running a ten-year-old, unsupported version, and hoping that fish will continue to build. I've checked this in virtual machines. Work on #2999. --- configure.ac | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'configure.ac') 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 - #include - #include - #include - ], - [ - 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( -- cgit v1.2.3