]> git.lyx.org Git - lyx.git/blobdiff - config/lyxinclude.m4
String cosmetics
[lyx.git] / config / lyxinclude.m4
index c742c2eb25c796ca38448959075ee181582e3f1e..20b7f94817feca212ab32d3e47794f009a9bcc3a 100644 (file)
@@ -210,9 +210,9 @@ AC_ARG_ENABLE(concept-checks,
         enable_concept_checks=no;
     fi;])
 
-AC_ARG_ENABLE(profiling,
-  AC_HELP_STRING([--enable-profiling],[enable profiling]),,
-  enable_profiling=no;)
+AC_ARG_ENABLE(gprof,
+  AC_HELP_STRING([--enable-gprof],[enable profiling using gprof]),,
+  enable_gprof=no;)
 
 ### set up optimization
 AC_ARG_ENABLE(optimization,
@@ -264,7 +264,7 @@ if test x$GXX = xyes; then
         CFLAGS="-g $CFLAGS"
        CXXFLAGS="-g $CXXFLAGS"
     fi
-    if test x$enable_profiling = xyes ; then
+    if test x$enable_gprof = xyes ; then
         CFLAGS="-pg $CFLAGS"
         CXXFLAGS="-pg $CXXFLAGS"
         LDFLAGS="-pg $LDFLAGS"
@@ -581,7 +581,7 @@ dnl Called like LYX_CHECK_DEF(name, header, codesnippet)
 dnl Defines HAVE_DEF_{NAME}
 AC_DEFUN([LYX_CHECK_DEF],
 [LYX_AH_CHECK_DEF($1, $2)
- AC_MSG_CHECKING([if $1 is defined by header $2])
+ AC_MSG_CHECKING([whether $1 is defined by header $2])
  AC_TRY_COMPILE([#include <$2>], [$3],
      lyx_have_def_name=yes,
      lyx_have_def_name=no)