From: Georg Baum Date: Mon, 20 Nov 2006 09:12:09 +0000 (+0000) Subject: define HAVE_MODE_T if the compiler supports the mode_t type. X-Git-Tag: 1.6.10~11811 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f966f2d1b7f1c0baa212ba798160288b4208d989;p=features.git define HAVE_MODE_T if the compiler supports the mode_t type. This repairs lyx::support::chmod(). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15995 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/configure.ac b/configure.ac index cf5b12b9fe..d6ab6510ee 100644 --- a/configure.ac +++ b/configure.ac @@ -236,7 +236,7 @@ AC_HEADER_STAT AC_HEADER_TIME # some standard types -AC_TYPE_MODE_T +AC_CHECK_TYPE(mode_t,[AC_DEFINE(HAVE_MODE_T, 1, [Define this to 1 if your compiler supports the mode_t type.])]) AC_TYPE_OFF_T AC_TYPE_PID_T AC_TYPE_SIGNAL