[maemo-commits] [maemo-commits] r18042 - projects/haf/trunk/maemo-launcher
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Apr 9 10:05:26 EEST 2009
- Previous message: [maemo-commits] r18041 - projects/connectivity/maemo-bluez-compat/trunk/src
- Next message: [maemo-commits] r18043 - projects/haf/trunk/maemo-launcher/launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: makarhun Date: 2009-04-09 10:05:22 +0300 (Thu, 09 Apr 2009) New Revision: 18042 Modified: projects/haf/trunk/maemo-launcher/configure.ac Log: fix wide stdc++ linkage Modified: projects/haf/trunk/maemo-launcher/configure.ac =================================================================== --- projects/haf/trunk/maemo-launcher/configure.ac 2009-04-09 07:05:10 UTC (rev 18041) +++ projects/haf/trunk/maemo-launcher/configure.ac 2009-04-09 07:05:22 UTC (rev 18042) @@ -14,6 +14,7 @@ AM_MAINTAINER_MODE AC_PROG_CC +AC_PROG_CXX AC_PROG_CPP AC_PROG_LN_S AC_PROG_MAKE_SET @@ -103,6 +104,7 @@ QtDBus QtGui " + if test x$qt_booster = xtrue then @@ -110,23 +112,24 @@ $BOOSTER_QT_DEPENDS ]) -fi +fi AC_ARG_ENABLE([cpp-booster], - [AS_HELP_STRING([--enable-cpp-booster], - [link with libstdc++ to reduce runtime linker time])], - [case "${enableval}" in - (yes) cpp_booster=true ;; - (no) cpp_booster=false ;; - (*) AC_MSG_ERROR([bad value ${enableval} for --enable-cpp-booster]) ;; - esac], [cpp_booster=false]) + [AS_HELP_STRING([--enable-cpp-booster], + [link with libstdc++ to reduce runtime linker time])], + [case "${enableval}" in + (yes) cpp_booster=true ;; + (no) cpp_booster=false ;; + (*) AC_MSG_ERROR([bad value ${enableval} for --enable-cpp-booster]) ;; + esac], [cpp_booster=false]) AM_CONDITIONAL([USE_CPP_BOOSTER], [test x$cpp_booster = xtrue]) +# This is a hack.. if test x$cpp_booster = xtrue then - -AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(gdu requires libstdc++)) - +GLIBS=$LIBS +AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(gdu configure option requires libstdc++)) +LIBS=$GLIBS fi #
- Previous message: [maemo-commits] r18041 - projects/connectivity/maemo-bluez-compat/trunk/src
- Next message: [maemo-commits] r18043 - projects/haf/trunk/maemo-launcher/launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]