comparison src/configure.in @ 2003:5d5cad78a838 v7.2.300

updated for version 7.2-300
author vimboss
date Tue, 17 Nov 2009 16:13:15 +0000
parents 1f53050b3868
children c58b9479e304
comparison
equal deleted inserted replaced
2002:071166147fc5 2003:5d5cad78a838
2853 fi 2853 fi
2854 else 2854 else
2855 AC_MSG_RESULT(yes) 2855 AC_MSG_RESULT(yes)
2856 fi 2856 fi
2857 2857
2858 dnl make sure the FD_CLOEXEC flag for fcntl()'s F_SETFD command is known
2859 AC_MSG_CHECKING(for FD_CLOEXEC)
2860 AC_TRY_COMPILE(
2861 [#if HAVE_FCNTL_H
2862 # include <fcntl.h>
2863 #endif],
2864 [ int flag = FD_CLOEXEC;],
2865 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_FD_CLOEXEC),
2866 AC_MSG_RESULT(not usable))
2867
2858 dnl rename needs to be checked separately to work on Nextstep with cc 2868 dnl rename needs to be checked separately to work on Nextstep with cc
2859 AC_MSG_CHECKING(for rename) 2869 AC_MSG_CHECKING(for rename)
2860 AC_TRY_LINK([#include <stdio.h>], [rename("this", "that")], 2870 AC_TRY_LINK([#include <stdio.h>], [rename("this", "that")],
2861 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_RENAME), 2871 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_RENAME),
2862 AC_MSG_RESULT(no)) 2872 AC_MSG_RESULT(no))