@@ -152,13 +152,13 @@ case "$enable_pcp" in
152152 AC_CHECK_HEADERS (
153153 [ pcp/pmapi.h] ,
154154 [ my_htop_platform=pcp] ,
155- [ AC_MSG_ERROR ( [ can not find PCP header file] ) ]
155+ [ AC_MSG_ERROR ( [ cannot find PCP header file] ) ]
156156 )
157157 AC_SEARCH_LIBS (
158158 [ pmNewContext] ,
159159 [ pcp] ,
160160 [ ] ,
161- [ AC_MSG_ERROR ( [ can not find PCP library] ) ]
161+ [ AC_MSG_ERROR ( [ cannot find PCP library] ) ]
162162 )
163163 AC_DEFINE ( [ HTOP_PCP] , [ 1] , [ Define if building pcp-htop binary.] )
164164 AC_CONFIG_FILES ( [ pcp-htop.5] )
@@ -192,7 +192,7 @@ AC_CHECK_HEADERS(
192192 unistd.h \
193193 ] ,
194194 [ ] ,
195- [ AC_MSG_ERROR ( [ can not find required generic header files] ) ]
195+ [ AC_MSG_ERROR ( [ cannot find required generic header files] ) ]
196196)
197197
198198AC_HEADER_MAJOR
@@ -340,7 +340,7 @@ AC_LINK_IFELSE(
340340 ] ,
341341 [
342342 AC_MSG_RESULT ( no )
343- AC_MSG_ERROR ( [ can not find required macros: NAN, isgreater() and isgreaterequal()] )
343+ AC_MSG_ERROR ( [ cannot find required macros: NAN, isgreater() and isgreaterequal()] )
344344 ]
345345)
346346
@@ -362,40 +362,40 @@ AC_COMPILE_IFELSE(
362362# Checks for generic library functions.
363363# ----------------------------------------------------------------------
364364
365- AC_SEARCH_LIBS ( [ ceil] , [ m] , [ ] , [ AC_MSG_ERROR ( [ can not find required function ceil()] ) ] )
365+ AC_SEARCH_LIBS ( [ ceil] , [ m] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function ceil()] ) ] )
366366
367367if test "$my_htop_platform" = dragonflybsd; then
368- AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ can not find required function kvm_open()] ) ] )
369- AC_SEARCH_LIBS ( [ getdevs] , [ devstat] , [ ] , [ AC_MSG_ERROR ( [ can not find required function getdevs()] ) ] )
368+ AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function kvm_open()] ) ] )
369+ AC_SEARCH_LIBS ( [ getdevs] , [ devstat] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function getdevs()] ) ] )
370370fi
371371
372372if test "$my_htop_platform" = freebsd; then
373373 if test "$enable_static" = yes; then
374- AC_SEARCH_LIBS ( [ elf_version] , [ elf] , [ ] , [ AC_MSG_ERROR ( [ can not find required function elf_version()] ) ] )
374+ AC_SEARCH_LIBS ( [ elf_version] , [ elf] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function elf_version()] ) ] )
375375 fi
376- AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ can not find required function kvm_open()] ) ] )
377- AC_SEARCH_LIBS ( [ devstat_checkversion] , [ devstat] , [ ] , [ AC_MSG_ERROR ( [ can not find required function devstat_checkversion()] ) ] )
376+ AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function kvm_open()] ) ] )
377+ AC_SEARCH_LIBS ( [ devstat_checkversion] , [ devstat] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function devstat_checkversion()] ) ] )
378378fi
379379
380380if test "$my_htop_platform" = linux; then
381381 if test "$enable_static" != yes; then
382- AC_SEARCH_LIBS ( [ dlopen] , [ dl dld] , [ ] , [ AC_MSG_ERROR ( [ can not find required function dlopen()] ) ] )
382+ AC_SEARCH_LIBS ( [ dlopen] , [ dl dld] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function dlopen()] ) ] )
383383 fi
384384fi
385385
386386if test "$my_htop_platform" = netbsd; then
387- AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ can not find required function kvm_open()] ) ] )
388- AC_SEARCH_LIBS ( [ prop_dictionary_get] , [ prop] , [ ] , [ AC_MSG_ERROR ( [ can not find required function prop_dictionary_get()] ) ] )
387+ AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function kvm_open()] ) ] )
388+ AC_SEARCH_LIBS ( [ prop_dictionary_get] , [ prop] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function prop_dictionary_get()] ) ] )
389389fi
390390
391391if test "$my_htop_platform" = openbsd; then
392- AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ can not find required function kvm_open()] ) ] )
392+ AC_SEARCH_LIBS ( [ kvm_open] , [ kvm] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function kvm_open()] ) ] )
393393fi
394394
395395if test "$my_htop_platform" = solaris; then
396- AC_SEARCH_LIBS ( [ kstat_open] , [ kstat] , [ ] , [ AC_MSG_ERROR ( [ can not find required function kstat_open()] ) ] )
397- AC_SEARCH_LIBS ( [ Pgrab_error] , [ proc] , [ ] , [ AC_MSG_ERROR ( [ can not find required function Pgrab_error()] ) ] )
398- AC_SEARCH_LIBS ( [ free] , [ malloc] , [ ] , [ AC_MSG_ERROR ( [ can not find required function free()] ) ] )
396+ AC_SEARCH_LIBS ( [ kstat_open] , [ kstat] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function kstat_open()] ) ] )
397+ AC_SEARCH_LIBS ( [ Pgrab_error] , [ proc] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function Pgrab_error()] ) ] )
398+ AC_SEARCH_LIBS ( [ free] , [ malloc] , [ ] , [ AC_MSG_ERROR ( [ cannot find required function free()] ) ] )
399399fi
400400
401401# Optional Section
828828fi
829829
830830if test "$have_curses_header" = no; then
831- AC_MSG_ERROR ( [ can not find required curses header file] )
831+ AC_MSG_ERROR ( [ cannot find required curses header file] )
832832elif test "$have_term_header" = no; then
833- AC_MSG_ERROR ( [ can not find required term header file] )
833+ AC_MSG_ERROR ( [ cannot find required term header file] )
834834fi
835835
836836CFLAGS="-I$srcdir $CFLAGS"
@@ -872,7 +872,7 @@ if test "$enable_static" = yes; then
872872fi
873873if test "$my_htop_platform" = "solaris"; then
874874 # On OmniOS /usr/include/sys/regset.h redefines ERR to 13 - \r, breaking the Enter key.
875- # Since ncurses macros use the ERR macro, we can not use another name.
875+ # Since ncurses macros use the ERR macro, we cannot use another name.
876876 AC_DEFINE ( [ ERR] , [ (-1)] , [ Predefine ncurses macro.] )
877877fi
878878AC_CHECK_FUNCS ( [ set_escdelay] )
@@ -1009,7 +1009,7 @@ case "$enable_unwind" in
10091009 if htop_search_header_dir libunwind.h "/usr/include/libunwind"; then
10101010 AC_DEFINE ( [ HAVE_LIBUNWIND_H] , 1 , [ Define to 1 if you have the <libunwind.h> header file.] )
10111011 elif test "$enable_unwind" = yes; then
1012- AC_MSG_ERROR ( [ can not find required header file libunwind.h] )
1012+ AC_MSG_ERROR ( [ cannot find required header file libunwind.h] )
10131013 else
10141014 enable_unwind=no
10151015 fi
@@ -1082,7 +1082,7 @@ if test "$enable_unwind" != no; then
10821082 [
10831083 AC_MSG_RESULT ( [ no] )
10841084 if test "$enable_unwind" = yes; then
1085- AC_MSG_FAILURE ( [ can not link with libunwind] )
1085+ AC_MSG_FAILURE ( [ cannot link with libunwind] )
10861086 else
10871087 LIBS=$htop_save_LIBS
10881088 enable_unwind=no
@@ -1184,8 +1184,8 @@ case "$enable_hwloc" in
11841184 LIBS="$LIBS $HWLOC_LIBS"
11851185 AC_DEFINE ( [ HAVE_LIBHWLOC] , [ 1] , [ Define to 1 if you have the 'hwloc' library (-lhwloc).] )
11861186 ] , [
1187- AC_CHECK_LIB ( [ hwloc] , [ hwloc_get_proc_cpubind] , [ ] , [ AC_MSG_ERROR ( [ can not find required library libhwloc] ) ] )
1188- AC_CHECK_HEADERS ( [ hwloc.h] , [ ] , [ AC_MSG_ERROR ( [ can not find require header file hwloc.h] ) ] )
1187+ AC_CHECK_LIB ( [ hwloc] , [ hwloc_get_proc_cpubind] , [ ] , [ AC_MSG_ERROR ( [ cannot find required library libhwloc] ) ] )
1188+ AC_CHECK_HEADERS ( [ hwloc.h] , [ ] , [ AC_MSG_ERROR ( [ cannot find require header file hwloc.h] ) ] )
11891189 ]
11901190 )
11911191 ;;
@@ -1298,8 +1298,8 @@ case "$enable_capabilities" in
12981298 AC_CHECK_HEADERS ( [ sys/capability.h] , [ ] , [ enable_capabilities=no] )
12991299 ;;
13001300 yes)
1301- AC_CHECK_LIB ( [ cap] , [ cap_init] , [ ] , [ AC_MSG_ERROR ( [ can not find required library libcap] ) ] )
1302- AC_CHECK_HEADERS ( [ sys/capability.h] , [ ] , [ AC_MSG_ERROR ( [ can not find required header file sys/capability.h] ) ] )
1301+ AC_CHECK_LIB ( [ cap] , [ cap_init] , [ ] , [ AC_MSG_ERROR ( [ cannot find required library libcap] ) ] )
1302+ AC_CHECK_HEADERS ( [ sys/capability.h] , [ ] , [ AC_MSG_ERROR ( [ cannot find required header file sys/capability.h] ) ] )
13031303 ;;
13041304 *)
13051305 AC_MSG_ERROR ( [ bad value '$enable_capabilities' for --enable-capabilities] )
@@ -1372,7 +1372,7 @@ case "$enable_delayacct" in
13721372 [ ] ,
13731373 [
13741374 if test "$enable_delayacct" = yes; then
1375- AC_MSG_ERROR ( [ can not find required header files netlink/attr.h, netlink/handlers.h, netlink/msg.h] )
1375+ AC_MSG_ERROR ( [ cannot find required header files netlink/attr.h, netlink/handlers.h, netlink/msg.h] )
13761376 fi
13771377 enable_delayacct=no
13781378 ]
@@ -1435,9 +1435,9 @@ case "$enable_sensors" in
14351435 ;;
14361436 yes)
14371437 if test "$enable_static" = yes; then
1438- AC_CHECK_LIB ( [ sensors] , [ sensors_init] , [ ] , [ AC_MSG_ERROR ( [ can not find required library libsensors] ) ] )
1438+ AC_CHECK_LIB ( [ sensors] , [ sensors_init] , [ ] , [ AC_MSG_ERROR ( [ cannot find required library libsensors] ) ] )
14391439 fi
1440- AC_CHECK_HEADERS ( [ sensors/sensors.h] , [ ] , [ AC_MSG_ERROR ( [ can not find required header file sensors/sensors.h] ) ] )
1440+ AC_CHECK_HEADERS ( [ sensors/sensors.h] , [ ] , [ AC_MSG_ERROR ( [ cannot find required header file sensors/sensors.h] ) ] )
14411441 ;;
14421442 *)
14431443 AC_MSG_ERROR ( [ bad value '$enable_sensors' for --enable-sensors] )
0 commit comments