Changeset 3788 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Apr 13, 2005, 10:27:59 AM (20 years ago)
- Location:
- orxonox/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure
r3592 r3788 870 870 differently on the many modules of orxonox. 871 871 --enable-sub-projects also builds the subProjects while make from srcdir 872 --enable-profile builds orxonox with profiling support 872 873 --enable-documentation also builds the sDocumentation while make from 873 874 srcdir … … 4031 4032 4032 4033 4034 #-------------------# 4035 # Profiling Enabled # 4036 #-------------------# 4037 def_profiling=no 4038 echo "$as_me:$LINENO: checking if Profiling should be enabled" >&5 4039 echo $ECHO_N "checking if Profiling should be enabled... $ECHO_C" >&6 4040 # Check whether --enable-profile or --disable-profile was given. 4041 if test "${enable_profile+set}" = set; then 4042 enableval="$enable_profile" 4043 def_profiling=yes 4044 fi; 4045 if test x$def_profiling = xyes; then 4046 4047 4048 if test x$def_sub_projects = xyes; then 4049 SUB_PROJECTS_TRUE= 4050 SUB_PROJECTS_FALSE='#' 4051 else 4052 SUB_PROJECTS_TRUE='#' 4053 SUB_PROJECTS_FALSE= 4054 fi 4055 4056 echo "yes" 4057 CXXFLAGS="$CXXFLAGS -pg" 4058 fi 4059 if test x$def_profiling = xno; then 4060 echo "no" 4061 fi 4062 4063 4033 4064 #----------------------# 4034 4065 # Documentation-enable # … … 8349 8380 Usually this means the macro was only invoked conditionally." >&5 8350 8381 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 8382 Usually this means the macro was only invoked conditionally." >&2;} 8383 { (exit 1); exit 1; }; } 8384 fi 8385 if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then 8386 { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. 8387 Usually this means the macro was only invoked conditionally." >&5 8388 echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. 8351 8389 Usually this means the macro was only invoked conditionally." >&2;} 8352 8390 { (exit 1); exit 1; }; } -
orxonox/trunk/configure.ac
r3592 r3788 172 172 AM_CONDITIONAL(SUB_PROJECTS, test x$def_sub_projects = xyes) 173 173 174 #-------------------# 175 # Profiling Enabled # 176 #-------------------# 177 def_profiling=no 178 AC_MSG_CHECKING([if Profiling should be enabled]) 179 AC_ARG_ENABLE([profile], 180 AC_HELP_STRING( [--enable-profile], 181 [builds orxonox with profiling support]), [def_profiling=yes]) 182 if test x$def_profiling = xyes; then 183 AM_CONDITIONAL(SUB_PROJECTS, test x$def_sub_projects = xyes) 184 echo "yes" 185 CXXFLAGS="$CXXFLAGS -pg" 186 fi 187 if test x$def_profiling = xno; then 188 echo "no" 189 fi 190 191 174 192 #----------------------# 175 193 # Documentation-enable #
Note: See TracChangeset
for help on using the changeset viewer.