aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHolger Schroeder <holger.schroeder.ext@basyskom.de>2010-03-10 13:39:14 +0100
committerHolger Schroeder <holger.schroeder.ext@basyskom.de>2010-03-10 13:39:14 +0100
commit938ebce91a91109a78ca6c6acacdba4e8bf6bcbc (patch)
treee3c91e7064cb55548a96e06ab43a54d145e61db3 /configure
parent99deebf0609be29756e6ba231668f1637116ee17 (diff)
Changes: add n900 branch to master
RevBy: Armin Berres
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32
1 files changed, 27 insertions, 5 deletions
diff --git a/configure b/configure
index bd729d90..daf9fbe3 100755
--- a/configure
+++ b/configure
@@ -69,6 +69,7 @@ HAVE_CONTEXTSUBSCRIBER=no
HAVE_GCONF=no
HAVE_GSTREAMER=no
HAVE_DBUS=no
+HAVE_N900=no
OPT_SHADOW=maybe
@@ -209,6 +210,9 @@ while [ "$#" -gt 0 ]; do
plainqt)
CFG_BUILD_PLAINQT="yes"
;;
+ n900)
+ HAVE_N900="yes"
+ ;;
h|help)
if [ "$VAL" = "yes" ]; then
OPT_HELP="$VAL"
@@ -369,6 +373,8 @@ Additional options:
-benchmarks ........ Build the benchmarks.
-plainqt ........... Build the Plain Qt style plugin.
+ -n900 .............. Build libdui for the N900 device.
+
EOF
exit 0
@@ -441,6 +447,10 @@ if [ "$HAVE_DBUS" = "yes" ]; then
DUICONFIG_DEPS="$DUICONFIG_DEPS HAVE_DBUS"
fi
+if [ "$HAVE_N900" = "yes" ]; then
+ DUICONFIG_DEPS="$DUICONFIG_DEPS HAVE_N900"
+fi
+
cat >>"$DUICONFIG.tmp" <<EOF
# Autogenerated by configure script
@@ -581,7 +591,9 @@ $QMAKE_BIN "$relpath/projects.pro" $QMAKE_CONFIG $QMAKE_SWITCHES
# give feedback on configuration
#-------------------------------------------------------------------------------
-echo -e "\n\nOptional build dependencies found:"
+echo ""
+echo ""
+echo "Optional build dependencies found:"
echo "ICU ...................... $HAVE_ICU"
echo "Context Subscriber 1.0 ... $HAVE_CONTEXTSUBSCRIBER"
@@ -591,9 +603,13 @@ echo "DBus (incl. QtDBus) ...... $HAVE_DBUS"
if [ "$CFG_DEV" = "yes" ]; then
- echo -e "\n\nEnabling DirectUI developer's build\n"
+ echo ""
+ echo ""
+ echo "Enabling DirectUI developer's build"
+ echo ""
else
- echo -e "\n"
+ echo ""
+ echo ""
fi
echo "DirectUI framework build configuration:"
@@ -608,7 +624,12 @@ echo "Benchmarks .......... $CFG_BUILD_BENCHMARKS"
echo "Plain Qt support .... $CFG_BUILD_PLAINQT"
echo "Tests ............... $CFG_BUILD_TESTS"
-echo
+if [ "$HAVE_N900" = "yes" ]; then
+ echo ""
+ echo "Building for Maemo 5 on N900"
+fi
+
+echo ""
echo libdui is now configured for building. Just run \'make\'.
if [ "$relpath" = "$DUI_INSTALL_PREFIX" ]; then
echo Once everything is built, libdui is installed.
@@ -618,4 +639,5 @@ else
echo libdui will be installed into $DUI_INSTALL_PREFIX
fi
-echo -e "\n"
+echo ""
+echo ""