Changeset 7418
- Timestamp:
- Dec 16, 2008, 9:56:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r7379 r7418 46 46 AC_PROG_CXX 47 47 if test "x$GCC" = "xyes" ; then 48 CFLAGS="- g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops"49 CXXFLAGS="- g -Wall -Wformat-security -W -O3 -funroll-loops"48 CFLAGS="-Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement" 49 CXXFLAGS="-Wall -Wformat-security -W" 50 50 fi 51 51 … … 91 91 dnl ---------------------------------------------------------------------------- 92 92 dnl 93 dnl debugging support 94 AC_ARG_ENABLE([debug], 95 AS_HELP_STRING([--enable-debug],[build with debugging support]),, 96 [enable_debug=no]) 97 if test "x$enable_debug" = "xyes" ; then 98 CFLAGS+=" -g " 99 CXXFLAGS+=" -g " 100 else 101 CFLAGS+=" -O3 -funroll-loops -DNDEBUG " 102 CXXFLAGS+=" -O3 -funroll-loops -DNDEBUG " 103 fi 104 105 106 dnl ---------------------------------------------------------------------------- 107 dnl 93 108 dnl libevent fun 94 109 … … 111 126 [have_gtk=no]) 112 127 AC_ARG_ENABLE([gtk], 113 A C_HELP_STRING([--enable-gtk],[build gtk client]),128 AS_HELP_STRING([--enable-gtk],[build gtk client]), 114 129 [want_gtk=${enableval}], 115 130 [want_gtk=${have_gtk}]) … … 203 218 build_wx=no 204 219 AC_ARG_ENABLE([wx], 205 A C_HELP_STRING([--enable-wx],[build wxWidgets client]),220 AS_HELP_STRING([--enable-wx],[build wxWidgets client]), 206 221 [want_wx=${enableval}], 207 222 [want_wx=no]) … … 261 276 262 277 AC_ARG_ENABLE([cli], 263 [A C_HELP_STRING([--enable-cli],[build command-line client])],278 [AS_HELP_STRING([--enable-cli],[build command-line client])], 264 279 [build_cli=${enableval}], 265 280 [build_cli="yes"]) … … 267 282 268 283 AC_ARG_ENABLE([mac], 269 [A C_HELP_STRING([--enable-mac],[build OS X client])],284 [AS_HELP_STRING([--enable-mac],[build OS X client])], 270 285 [build_mac=${enableval}], 271 286 [build_mac=${have_darwin}]) … … 273 288 274 289 AC_ARG_ENABLE([daemon], 275 [A C_HELP_STRING([--enable-daemon],[build daemon])],290 [AS_HELP_STRING([--enable-daemon],[build daemon])], 276 291 [build_daemon=${enableval}], 277 292 [build_daemon="yes"]) … … 316 331 Source code location: ${srcdir} 317 332 Compiler: ${CXX} 333 Debugging support ${enable_debug} 318 334 Build Command-Line client: ${build_cli} 319 335 Build Daemon: ${build_daemon}
Note: See TracChangeset
for help on using the changeset viewer.