avoid uic core dump

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10686 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-12-28 15:59:22 +00:00
parent 1a0a8cdea2
commit f1b11ec96f
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,15 @@
2005-12-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* qt.m4: use -nounload with uic if supported (uic can dump core
otherwise).
2005-12-23 Lars Gullik Bjonnes <larsbj@lyx.org>
* common.am (AUTOMAKE_OPTIONS): deleted, we now setupt am args
* common.am (AUTOMAKE_OPTIONS): deleted, we now setup am args
from configure.ac
* lyxinclude.m4: use AC_PACKAGE_VERSION instead of VERSION, use
AC_PROGLIB_TOOL instead of AM_PROG_LIBTOOL
AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL
2005-10-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>

View File

@ -49,6 +49,13 @@ AC_DEFUN([QT_FIND_UIC],
if test -z "$ac_uic" -a "$FATAL" = 1; then
AC_MSG_ERROR([uic binary not found in \$PATH or $qt_cv_dir/bin !])
fi
AC_MSG_CHECKING([whether uic supports -nounload])
if $ac_uic --help 2>&1 | grep nounload >/dev/null ; then
AC_MSG_RESULT([yes])
ac_uic="$ac_uic -nounload"
else
AC_MSG_RESULT([no])
fi
])
dnl Find the right moc in path/qt_cv_dir