]> git.lyx.org Git - features.git/commitdiff
define HAVE_MODE_T if the compiler supports the mode_t type.
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 20 Nov 2006 09:12:09 +0000 (09:12 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 20 Nov 2006 09:12:09 +0000 (09:12 +0000)
This repairs lyx::support::chmod().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15995 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac

index cf5b12b9feffd9cfbf77ce75c8882f4670858bac..d6ab6510eeabe96bf1469e6eaa887f0c9ba16947 100644 (file)
@@ -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