# SunOS 4.1.3 does not have strerror and atexit
AC_REPLACE_FUNCS(strerror atexit)
+LYX_CHECK_DECL_HDRS(mkstemp,[unistd.h stdlib.h])
+
### and now some special lyx flags.
AC_ARG_ENABLE(assertions,
[ --enable-assertions add runtime sanity checks in the program],,
src/frontends/support/Makefile \
src/frontends/xforms/Makefile \
src/frontends/kde/Makefile \
+ src/frontends/kde/moc/Makefile \
+ src/frontends/kde/dlg/Makefile \
+ src/frontends/kde/dlg/moc/Makefile \
src/frontends/gnome/Makefile \
], [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])