1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- configure.in.orig 2006-05-07 04:59:45.000000000 +0300
+++ configure.in 2006-05-07 05:28:24.000000000 +0300
@@ -15,8 +15,8 @@
-----------------------------------------------------------------
"
-#ac_qmake_lflags="-static"
-#AC_SUBST(ac_qmake_lflags)
+ac_qmake_lflags="${LDFLAGS}"
+AC_SUBST(ac_qmake_lflags)
# static build
@@ -38,8 +38,9 @@
AC_DEFINE_UNQUOTED(CONFIG_PREFIX, ["$ac_prefix"], [Default installation prefix.])
-AC_ARG_ENABLE(profile, [ --enable-profile enable profile info (default=no)], [useProfile="yes"], [useProfile="no"])
+AC_ARG_ENABLE(profile, [ --enable-profile enable profile info (default=no)], [useProfile=$enableval])
if test "x$useProfile" = "xyes"; then
+ echo " * Profile mode enabled."
ac_qmake_cflags="-pg"
ac_qmake_cxxflags="-pg"
ac_qmake_lflags="-pg"
@@ -49,9 +50,9 @@
fi
dnl Enable debugging argument option.
-AC_ARG_ENABLE(debug, [ --enable-debug enable debugging (default=no)], [ac_debug="debug"], [ac_debug="release"])
+AC_ARG_ENABLE(debug, [ --enable-debug enable debugging (default=no)], [debug_enabled=$enableval])
AC_SUBST(ac_debug)
-if test "x$ac_debug" = "xdebug"; then
+if test "x$ac_debug" = "xyes"; then
AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])
features_list="${features_list} (Debug)"
echo " * Debug mode enabled."
|