2006-09-11 Stefan Jahn <stefan@lkcc.org>

* configure.ac:  Don't link using "-s" on MacOSX since it drops lazy
        dynamic symbol information.  Also checking for {moc|uic|lrelease|
        lupdate}-qt3 programs.  Added some more paths for Qt headers and
        libraries.


git-svn-id: https://qucs.svn.sourceforge.net/svnroot/qucs/trunk@985 b5b04e8c-4942-46c9-ab4f-83783d557d1c
This commit is contained in:
raimi 2006-09-12 06:41:21 +00:00
parent edaaea195a
commit 1c537a3829
3 changed files with 21 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2006-09-11 Stefan Jahn <stefan@lkcc.org>
* configure.ac: Don't link using "-s" on MacOSX since it drops lazy
dynamic symbol information. Also checking for {moc|uic|lrelease|
lupdate}-qt3 programs. Added some more paths for Qt headers and
libraries.
2006-09-01 Stefan Jahn <stefan@lkcc.org>
* configure.ac: Released version 0.0.10 and bumped up to version

2
NEWS
View File

@ -26,6 +26,8 @@ files.
Version 0.0.11
--------------
* translation into Czech
Version 0.0.10
--------------

View File

@ -38,11 +38,14 @@ if test "$enable_debug" = yes; then
QT_DEF=""
else
AC_DEFINE(NDEBUG, 1, [Define if debug code should be suppressed.])
QT_DEF="-DQT_NO_DEBUG"
QT_DEF="-DQT_NO_DEBUG -DQT_NO_CHECK"
if test "x$GCC" = xyes; then
CFLAGS="`echo $CFLAGS | sed -e 's/\-g //g'`"
CXXFLAGS="`echo $CXXFLAGS | sed -e 's/\-g //g'`"
LDFLAGS="$LDFLAGS -s"
case $host_os in
*darwin*) LDFLAGS="$LDFLAGS" ;;
*) LDFLAGS="$LDFLAGS -s" ;;
esac
fi
fi
unset enable_debug
@ -88,12 +91,12 @@ dnl Release specific. Uncomment these as required.
AC_SUBST(RELEASEDIRS)
dnl Check for language support.
AC_PATH_PROG(LRELEASE, lrelease, :, [$QTDIR/bin:$PATH])
AC_PATH_PROG(LUPDATE, lupdate, :, [$QTDIR/bin:$PATH])
AC_PATH_PROGS(LRELEASE, lrelease-qt3 lrelease, :, [$QTDIR/bin:$PATH])
AC_PATH_PROGS(LUPDATE, lupdate-qt3 lupdate, :, [$QTDIR/bin:$PATH])
dnl Check for MOC/UIC support.
AC_PATH_PROG(MOC, moc, :, [$QTDIR/bin:$PATH])
AC_PATH_PROG(UIC, uic, :, [$QTDIR/bin:$PATH])
AC_PATH_PROGS(MOC, moc-qt3 moc, :, [$QTDIR/bin:$PATH])
AC_PATH_PROGS(UIC, uic-qt3 uic, :, [$QTDIR/bin:$PATH])
if test "$MOC" = ":"; then
AC_MSG_WARN([
The $PACKAGE package needs the 'Qt Meta Object Compiler' to compile properly.
@ -119,7 +122,8 @@ QT_VER=2
AC_MSG_CHECKING([for Qt headers])
paths="$QTDIR/include /usr/local/qt/include /usr/include/qt /usr/include/qt3 \
/usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/X11/qt \
/usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/X11R6/include"
/usr/X11R6/include/qt /usr/X11R6/include /sw/include/qt \
/usr/X11R6/include/qt2"
for path in $paths; do
if test -f "$path/qapplication.h"; then
QT_INCLUDES=$path
@ -179,7 +183,7 @@ AC_MSG_RESULT([checking for Qt... $QT_VER ($QT_MTS)])
AC_MSG_CHECKING([for Qt library])
paths="$QTDIR/lib $QTDIR/lib64 /usr/local/qt/lib /usr/lib/qt /usr/lib \
/usr/X11R6/lib/X11/qt /usr/X11R6/lib/X11/qt /usr/X11R6/lib/qt \
/usr/X11R6/lib/qt2 /usr/X11R6/lib /usr/lib64/qt"
/usr/X11R6/lib /sw/lib /usr/lib64/qt /usr/X11R6/lib/qt2"
AC_LANG(C++)
for path in $paths; do
save_LIBS="$LIBS"