Changes in configure.ac [120a28c3:3fcbdca1]
- File:
-
- 1 edited
-
configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r120a28c3 r3fcbdca1 94 94 # skip the target hosts 95 95 \'--with-target-hosts=*) ;; 96 97 # skip gprofiler for libcfa98 \'--enable-gprofiler=*) ;;99 \'--disable-gprofiler) ;;100 96 101 97 # append all other arguments to the sub configure arguments … … 129 125 target_hosts=$withval, target_hosts=${default_target}) 130 126 131 AC_ARG_ENABLE(gprofiler,132 [ --enable-gprofiler whether or not to enable gprofiler tools (if available)],133 enable_gprofiler=$enableval, enable_gprofiler=yes)134 135 127 AC_SUBST(TARGET_HOSTS, ${target_hosts}) 136 128 … … 200 192 201 193 AC_CHECK_LIB([profiler], [ProfilingIsEnabledForAllThreads], [HAVE_LIBPROFILER=1], [HAVE_LIBPROFILER=0]) 202 AM_CONDITIONAL([WITH_LIBPROFILER], [test " x$enable_gprofiler" = "xyes" -a "$HAVE_LIBPROFILER" -eq 1])194 AM_CONDITIONAL([WITH_LIBPROFILER], [test "$HAVE_LIBPROFILER" -eq 1]) 203 195 204 196 AC_CHECK_LIB([tcmalloc], [malloc], [HAVE_LIBTCMALLOC=1], [HAVE_LIBTCMALLOC=0]) 205 AM_CONDITIONAL([WITH_LIBTCMALLOC], [test " x$enable_gprofiler" = "xyes" -a "$HAVE_LIBTCMALLOC" -eq 1])197 AM_CONDITIONAL([WITH_LIBTCMALLOC], [test "$HAVE_LIBTCMALLOC" -eq 1]) 206 198 207 199 # Checks for header files.
Note:
See TracChangeset
for help on using the changeset viewer.