File tree 7 files changed +18
-18
lines changed
7 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ m4_include([m4.include/mc-get-fs-info.m4])
11
11
m4_include ( [ m4.include/mc-with-x.m4] )
12
12
m4_include ( [ m4.include/mc-use-termcap.m4] )
13
13
m4_include ( [ m4.include/mc-with-screen.m4] )
14
- m4_include ( [ m4.include/mc-with-edit.m4] )
14
+ m4_include ( [ m4.include/mc-with-internal- edit.m4] )
15
15
m4_include ( [ m4.include/mc-subshell.m4] )
16
16
m4_include ( [ m4.include/mc-background.m4] )
17
17
m4_include ( [ m4.include/ac-glib.m4] )
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ dnl ############################################################################
383
383
dnl MC options
384
384
dnl ############################################################################
385
385
386
- MC_WITH_EDIT
386
+ MC_WITH_INTERNAL_EDIT
387
387
388
388
dnl Diff viewer support.
389
389
AC_ARG_WITH ( [ diff_viewer] ,
@@ -478,7 +478,7 @@ AC_SUBST(LIBS)
478
478
AM_CONDITIONAL(USE_NLS, [ test x"$USE_NLS" = xyes] )
479
479
AM_CONDITIONAL(USE_MAINTAINER_MODE, [ test x"$USE_MAINTAINER_MODE" = xyes] )
480
480
AM_CONDITIONAL(USE_SCREEN_SLANG, [ test x"$with_screen" = xslang] )
481
- AM_CONDITIONAL(USE_EDIT , [ test x"$use_edit " = xyes ] )
481
+ AM_CONDITIONAL(USE_INTERNAL_EDIT , [ test x"$use_internal_edit " = xyes ] )
482
482
AM_CONDITIONAL(USE_ASPELL, [ test x"$enable_aspell" = xyes ] )
483
483
AM_CONDITIONAL(USE_DIFF, [ test -n "$use_diff"] )
484
484
AM_CONDITIONAL(CHARSET, [ test -n "$have_charset"] )
Original file line number Diff line number Diff line change 1
1
dnl
2
2
dnl Internal editor support.
3
3
dnl
4
- AC_DEFUN ( [ MC_WITH_EDIT ] , [
4
+ AC_DEFUN ( [ MC_WITH_INTERNAL_EDIT ] , [
5
5
6
- AC_ARG_WITH ( [ edit] , AS_HELP_STRING ( [ --with-edit] , [ Enable internal editor @<:@ yes@:>@ ] ) )
6
+ AC_ARG_WITH ( [ internal_edit] ,
7
+ AS_HELP_STRING ( [ --with-internal-edit] , [ Enable internal editor @<:@ yes@:>@ ] ) )
7
8
8
- if test x$with_edit != xno; then
9
+ if test x$with_internal_edit != xno; then
9
10
AC_DEFINE ( USE_INTERNAL_EDIT , 1 , [ Define to enable internal editor] )
10
- use_edit =yes
11
+ use_internal_edit =yes
11
12
AC_MSG_NOTICE ( [ using internal editor] )
13
+ edit_msg="yes"
12
14
else
13
- use_edit =no
15
+ use_internal_edit =no
14
16
edit_msg="no"
15
17
fi
16
18
@@ -27,7 +29,7 @@ AC_DEFUN([MC_WITH_EDIT], [
27
29
[ enable_aspell=no]
28
30
)
29
31
30
- if test x$with_edit != xno -a x$enable_aspell != xno; then
32
+ if test x$with_internal_edit != xno -a x$enable_aspell != xno; then
31
33
AC_CHECK_HEADERS ( [ aspell.h] , [ ] , [
32
34
AC_ERROR ([ Could not find aspell development headers] )
33
35
] , [ ] )
@@ -40,7 +42,5 @@ AC_DEFUN([MC_WITH_EDIT], [
40
42
enable_aspell=no
41
43
AC_MSG_NOTICE ( [ aspell support is disabled because gmodule support is not available] )
42
44
fi
43
- else
44
- edit_msg="yes"
45
45
fi
46
46
] )
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ SYNTAXFILES = \
79
79
yum-repo.syntax \
80
80
yxx.syntax
81
81
82
- if USE_EDIT
82
+ if USE_INTERNAL_EDIT
83
83
syntaxdir = $(pkgdatadir ) /syntax
84
84
syntax_DATA = $(SYNTAX_OUT ) \
85
85
$(SYNTAXFILES )
Original file line number Diff line number Diff line change 1
1
SUBDIRS = filemanager man2hlp vfs viewer
2
2
3
- if USE_EDIT
3
+ if USE_INTERNAL_EDIT
4
4
SUBDIRS += editor
5
5
endif
6
6
@@ -29,7 +29,7 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
29
29
30
30
bin_PROGRAMS = mc
31
31
32
- if USE_EDIT
32
+ if USE_INTERNAL_EDIT
33
33
EDITLIB = editor/libedit.la
34
34
endif
35
35
@@ -90,7 +90,7 @@ EXTRA_DIST = $(SRC_maintainer) $(SRC_charset)
90
90
91
91
install-exec-hook :
92
92
$(MAKE ) install_mcview
93
- if USE_EDIT
93
+ if USE_INTERNAL_EDIT
94
94
$(MAKE) install_mcedit
95
95
endif
96
96
if USE_DIFF
@@ -111,7 +111,7 @@ install_mcdiff:
111
111
112
112
uninstall-hook :
113
113
rm -f $(DESTDIR )$(bindir ) /$(binprefix ) /mcview
114
- if USE_EDIT
114
+ if USE_INTERNAL_EDIT
115
115
rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcedit
116
116
endif
117
117
if USE_DIFF
Original file line number Diff line number Diff line change 1
1
EXTRA_DIST =
2
2
3
- if USE_EDIT
3
+ if USE_INTERNAL_EDIT
4
4
noinst_LTLIBRARIES = libedit.la
5
5
else
6
6
noinst_LTLIBRARIES =
Original file line number Diff line number Diff line change 1
1
SUBDIRS = . filemanager
2
2
3
- if USE_EDIT
3
+ if USE_INTERNAL_EDIT
4
4
SUBDIRS += editor
5
5
endif
6
6
You can’t perform that action at this time.
0 commit comments