0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

undo extra changes in src/Makefile

This commit is contained in:
Bram Moolenaar 2019-07-28 14:17:56 +02:00
parent 8453807911
commit 2a9c9f6d89

View File

@ -405,7 +405,7 @@ CClink = $(CC)
# Set PATH environment variable to find lua or luajit executable. # Set PATH environment variable to find lua or luajit executable.
# This requires at least "normal" features, "tiny" and "small" don't work. # This requires at least "normal" features, "tiny" and "small" don't work.
#CONF_OPT_LUA = --enable-luainterp #CONF_OPT_LUA = --enable-luainterp
CONF_OPT_LUA = --enable-luainterp=dynamic #CONF_OPT_LUA = --enable-luainterp=dynamic
#CONF_OPT_LUA = --enable-luainterp --with-luajit #CONF_OPT_LUA = --enable-luainterp --with-luajit
#CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit #CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit
# Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr) # Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr)
@ -431,7 +431,7 @@ CONF_OPT_LUA = --enable-luainterp=dynamic
# When you get an error for a missing "perl.exp" file, try creating an empty # When you get an error for a missing "perl.exp" file, try creating an empty
# one: "touch perl.exp". # one: "touch perl.exp".
# This requires at least "normal" features, "tiny" and "small" don't work. # This requires at least "normal" features, "tiny" and "small" don't work.
CONF_OPT_PERL = --enable-perlinterp #CONF_OPT_PERL = --enable-perlinterp
#CONF_OPT_PERL = --enable-perlinterp=dynamic #CONF_OPT_PERL = --enable-perlinterp=dynamic
# PYTHON # PYTHON
@ -445,10 +445,10 @@ CONF_OPT_PERL = --enable-perlinterp
# dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available # dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available
# However, this may still cause problems, such as "import termios" failing. # However, this may still cause problems, such as "import termios" failing.
# Build two separate versions of Vim in that case. # Build two separate versions of Vim in that case.
CONF_OPT_PYTHON = --enable-pythoninterp #CONF_OPT_PYTHON = --enable-pythoninterp
#CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7 #CONF_OPT_PYTHON = --enable-pythoninterp --with-python-command=python2.7
#CONF_OPT_PYTHON = --enable-pythoninterp=dynamic #CONF_OPT_PYTHON = --enable-pythoninterp=dynamic
CONF_OPT_PYTHON3 = --enable-python3interp #CONF_OPT_PYTHON3 = --enable-python3interp
#CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6 #CONF_OPT_PYTHON3 = --enable-python3interp --with-python3-command=python3.6
#CONF_OPT_PYTHON3 = --enable-python3interp=dynamic #CONF_OPT_PYTHON3 = --enable-python3interp=dynamic
@ -458,14 +458,14 @@ CONF_OPT_PYTHON3 = --enable-python3interp
# Note: you need the development package (e.g., ruby1.9.1-dev on Ubuntu). # Note: you need the development package (e.g., ruby1.9.1-dev on Ubuntu).
# This requires at least "normal" features, "tiny" and "small" don't work. # This requires at least "normal" features, "tiny" and "small" don't work.
#CONF_OPT_RUBY = --enable-rubyinterp #CONF_OPT_RUBY = --enable-rubyinterp
CONF_OPT_RUBY = --enable-rubyinterp=dynamic #CONF_OPT_RUBY = --enable-rubyinterp=dynamic
#CONF_OPT_RUBY = --enable-rubyinterp --with-ruby-command=ruby1.9.1 #CONF_OPT_RUBY = --enable-rubyinterp --with-ruby-command=ruby1.9.1
# TCL # TCL
# Uncomment this when you want to include the Tcl interface. # Uncomment this when you want to include the Tcl interface.
# First one is for static linking, second one for dynamic loading. # First one is for static linking, second one for dynamic loading.
#CONF_OPT_TCL = --enable-tclinterp #CONF_OPT_TCL = --enable-tclinterp
CONF_OPT_TCL = --enable-tclinterp=dynamic #CONF_OPT_TCL = --enable-tclinterp=dynamic
#CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4 #CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4
# CSCOPE # CSCOPE
@ -541,7 +541,7 @@ CONF_OPT_TCL = --enable-tclinterp=dynamic
#CONF_OPT_FEAT = --with-features=small #CONF_OPT_FEAT = --with-features=small
#CONF_OPT_FEAT = --with-features=normal #CONF_OPT_FEAT = --with-features=normal
#CONF_OPT_FEAT = --with-features=big #CONF_OPT_FEAT = --with-features=big
CONF_OPT_FEAT = --with-features=huge #CONF_OPT_FEAT = --with-features=huge
# COMPILED BY - For including a specific e-mail address for ":version". # COMPILED BY - For including a specific e-mail address for ":version".
#CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>" #CONF_OPT_COMPBY = "--with-compiledby=John Doe <JohnDoe@yahoo.com>"
@ -615,7 +615,7 @@ CONF_OPT_FEAT = --with-features=huge
# Use this with GCC to check for mistakes, unused arguments, etc. # Use this with GCC to check for mistakes, unused arguments, etc.
# Note: If you use -Wextra and get warnings in GTK code about function # Note: If you use -Wextra and get warnings in GTK code about function
# parameters, you can add -Wno-cast-function-type # parameters, you can add -Wno-cast-function-type
CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -Wno-cast-function-type -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
# Add -Wpedantic to find // comments and other C99 constructs. # Add -Wpedantic to find // comments and other C99 constructs.
# Better disable Perl and Python to avoid a lot of warnings. # Better disable Perl and Python to avoid a lot of warnings.
#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic -Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
@ -704,7 +704,7 @@ SANITIZER_LIBS = $(SANITIZER_CFLAGS)
# Configuration is in the .ccmalloc or ~/.ccmalloc file. # Configuration is in the .ccmalloc or ~/.ccmalloc file.
# Doesn't work very well, since memory linked to from global variables # Doesn't work very well, since memory linked to from global variables
# (in libraries) is also marked as leaked memory. # (in libraries) is also marked as leaked memory.
LEAK_CFLAGS = -DEXITFREE #LEAK_CFLAGS = -DEXITFREE
#LEAK_LIBS = -lccmalloc #LEAK_LIBS = -lccmalloc
# Uncomment this line to have Vim call abort() when an internal error is # Uncomment this line to have Vim call abort() when an internal error is