This has an air of déjà vu, maybe I've noticed it before. After sourcing the following script:
#!/bin/bash export CONF_OPT_ACL='--disable-acl' export CONF_OPT_GUI='--disable-gui' export CONF_OPT_PERL='--disable-perlinterp' export CONF_OPT_PYTHON='--disable-pythoninterp' export CONF_OPT_PYTHON3='--disable-python3interp' export CONF_OPT_TCL='--disable-tclinterp' export CONF_OPT_RUBY='--disable-rubyinterp' export CONF_OPT_LUA='--disable-luainterp' export CONF_OPT_MZSCHEME='--disable-mzschemeinterp' #export CONF_OPT_PLTHOME='--with-plthome=/usr/local/plt' export CONF_OPT_CSCOPE='--disable-cscope' export CONF_OPT_MULTIBYTE='--disable-multibyte' export CONF_OPT_FEAT='--with-features=tiny' export CONF_OPT_COMPBY='"[email protected]"' export CONF_ARGS='--with-vim-name=vi' and running "make reconfig", I get the following vi executable: ./vi --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 11 2016 02:58:46) Included patches: 1-2196 Compiled by [email protected] Tiny version without GUI. Features included (+) or not (-): +acl -farsi -mouse_netterm -tag_binary -arabic -file_in_path -mouse_sgr -tag_old_static -autocmd -find_in_path -mouse_sysmouse -tag_any_white -balloon_eval -float -mouse_urxvt -tcl -browse -folding -mouse_xterm -termguicolors +builtin_terms -footer -multi_byte +terminfo -byte_offset +fork() -multi_lang -termresponse -channel -gettext -mzscheme -textobjects -cindent -hangul_input -netbeans_intg -timers -clientserver -iconv -num64 -title -clipboard -insert_expand +packages -toolbar -cmdline_compl -job -path_extra -user_commands -cmdline_hist -jumplist -perl -vertsplit -cmdline_info -keymap -persistent_undo -virtualedit -comments -lambda -printer +visual -conceal -langmap -profile -visualextra -cryptv -libcall -python -viminfo -cscope -linebreak -python3 -vreplace -cursorbind -lispindent -quickfix +wildignore -cursorshape -listcmds -reltime -wildmenu -dialog -localmap -rightleft -windows -diff -lua -ruby +writebackup -digraphs -menu -scrollbind -X11 -dnd -mksession -signs -xfontset -ebcdic -modify_fname -smartindent -xim -emacs_tags -mouse -startuptime -xsmp -eval -mouse_dec -statusline -xterm_clipboard +ex_extra -mouse_gpm -sun_workshop +xterm_save -extra_search -mouse_jsbterm -syntax -xpm system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vi -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lgpm -ldl Notice the +acl near top left of the :version listing, despite the export CONF_OPT_ACL='--disable-acl' (which has taken effect, as "set|less", done in bash, shows). Here is the console output from the configure step (not the config.log which is longer): linux-2iyu:~/.build/vim/vim-hg/src/shadow-tiny # (make reconfig || echo 'exit status' $? ; date) 2>&1 |tee -a make.log rm -f auto/config.status auto/config.cache config.log auto/config.log rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk touch auto/config.h cp config.mk.dist auto/config.mk cd testdir; make -f Makefile clean make[1]: Entering directory '/root/.build/vim/vim-hg/src/testdir' rm -rf *.out *.failed *.res *.rej *.orig test.log messages test.out X* viminfo tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out valgrind.* make[1]: Leaving directory '/root/.build/vim/vim-hg/src/testdir' if test -d po; then \ cd po; make checkclean; \ fi make[1]: Entering directory '/root/.build/vim/vim-hg/src/shadow-tiny/po' rm -f *.ck make[1]: Leaving directory '/root/.build/vim/vim-hg/src/shadow-tiny/po' rm -f *.o objects/* core vi.core vi vim xxd/*.o rm -f xxd/xxd auto/osdef.h auto/pathdef.c auto/if_perl.c auto/gui_gtk_gresources.c auto/gui_gtk_gresources.h rm -f conftest* *~ auto/link.sed rm -f json_test memfile_test message_test rm -f runtime pixmaps rm -rf vi.app rm -rf mzscheme_base.c if test -d po; then \ cd po; make prefix=/usr/local clean; \ fi make[1]: Entering directory '/root/.build/vim/vim-hg/src/shadow-tiny/po' rm -f *.ck rm -f core core.* *.old.po *.mo *.pot sjiscorr make[1]: Leaving directory '/root/.build/vim/vim-hg/src/shadow-tiny/po' make -f Makefile config make[1]: Entering directory '/root/.build/vim/vim-hg/src/shadow-tiny' rm -f auto/config.cache if test "Xconfig" != "Xclean" \ -a "Xconfig" != "Xdistclean" \ -a "Xconfig" != "Xautoconf" \ -a "Xconfig" != "Xreconfig"; then \ GUI_INC_LOC="" GUI_LIB_LOC="" \ CC="" CPPFLAGS="" CFLAGS="" \ LDFLAGS="" srcdir="." \ ./configure --disable-gui \ \ --disable-perlinterp --disable-pythoninterp --disable-python3interp \ --disable-tclinterp --disable-rubyinterp \ --disable-cscope --disable-multibyte \ \ --with-features=tiny \ "[email protected]" --disable-acl \ \ --with-vim-name=vi --disable-mzschemeinterp \ --disable-luainterp \ ; \ fi configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu configure: creating cache auto/config.cache checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for library containing strerror... none required checking for gawk... gawk checking for strip... strip checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking --enable-fail-if-missing argument... no checking for recent clang version... no configure: checking for buggy tools... - sh is 'GNU bash, version 4.2.47(1)-release (x86_64-suse-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.' - probably OK. checking for BeOS... no checking for QNX... no checking for Darwin (Mac OS X)... no checking AvailabilityMacros.h usability... no checking AvailabilityMacros.h presence... no checking for AvailabilityMacros.h... no checking --with-local-dir argument... Defaulting to /usr/local checking --with-vim-name argument... vi checking --with-ex-name argument... Defaulting to ex checking --with-view-name argument... Defaulting to view checking --with-global-runtime argument... no checking --with-modified-by argument... no checking if character set is EBCDIC... no checking --disable-smack argument... no checking linux/xattr.h usability... yes checking linux/xattr.h presence... yes checking for linux/xattr.h... yes checking attr/xattr.h usability... yes checking attr/xattr.h presence... yes checking for attr/xattr.h... yes checking for XATTR_NAME_SMACKEXEC in linux/xattr.h... no checking --disable-selinux argument... no checking for is_selinux_enabled in -lselinux... no checking --with-features argument... tiny checking --with-compiledby argument... [email protected] checking --disable-xsmp argument... no checking --disable-xsmp-interact argument... no checking --enable-luainterp argument... no checking --enable-mzschemeinterp argument... no checking --enable-perlinterp argument... no checking --enable-pythoninterp argument... no checking --enable-python3interp argument... no checking --enable-tclinterp argument... no checking --enable-rubyinterp argument... no checking --enable-cscope argument... no checking --enable-workshop argument... no checking --disable-netbeans argument... cannot use NetBeans with tiny or small features checking --disable-channel argument... cannot use channels with tiny or small features checking --enable-multibyte argument... no checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... yes checking for _XdmcpAuthDoIt in -lXdmcp... yes checking for IceOpenConnection in -lICE... yes checking for XpmCreatePixmapFromData in -lXpm... yes checking if X11 header files implicitly declare return values... no checking size of wchar_t is 2 bytes... no checking --enable-gui argument... no GUI support checking X11/SM/SMlib.h usability... yes checking X11/SM/SMlib.h presence... yes checking for X11/SM/SMlib.h... yes checking for CYGWIN or MSYS environment... no checking whether toupper is broken... no checking whether __DATE__ and __TIME__ work... yes checking whether __attribute__((unused)) is allowed... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking for main in -lelf... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking stdint.h usability... yes checking stdint.h presence... yes checking for stdint.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking inttypes.h usability... yes checking inttypes.h presence... yes checking for inttypes.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking util/debug.h usability... no checking util/debug.h presence... no checking for util/debug.h... no checking util/msg18n.h usability... no checking util/msg18n.h presence... no checking for util/msg18n.h... no checking frame.h usability... no checking frame.h presence... no checking for frame.h... no checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking sys/access.h usability... no checking sys/access.h presence... no checking for sys/access.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for sys/ptem.h... no checking for sys/sysctl.h... yes checking for pthread_np.h... no checking strings.h usability... yes checking strings.h presence... yes checking for strings.h... yes checking if strings.h can be included after string.h... yes checking whether gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for uint32_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ino_t... yes checking for dev_t... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for rlim_t... yes checking for stack_t... yes checking whether stack_t has an ss_base field... no checking --with-tlib argument... empty: automatic terminal library selection checking for tgetent in -ltinfo... yes checking whether we talk terminfo... yes checking what tgetent() returns for an unknown terminal... zero checking whether termcap.h contains ospeed... yes checking whether termcap.h contains UP, BC and PC... yes checking whether tputs() uses outfuntype... no checking whether sys/select.h and sys/time.h may both be included... yes checking for /dev/ptc... no checking for SVR4 ptys... yes checking for ptyranges... don't know checking default tty permissions/group... can't determine - assume ptys are world accessible world checking return type of signal handlers... void checking for struct sigcontext... yes checking getcwd implementation is broken... no checking for bcmp... yes checking for fchdir... yes checking for fchown... yes checking for fsync... yes checking for getcwd... yes checking for getpseudotty... no checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for getrlimit... yes checking for gettimeofday... yes checking for getwd... yes checking for lstat... yes checking for memcmp... yes checking for memset... yes checking for mkdtemp... yes checking for nanosleep... yes checking for opendir... yes checking for putenv... yes checking for qsort... yes checking for readlink... yes checking for select... yes checking for setenv... yes checking for setpgid... yes checking for setsid... yes checking for sigaltstack... yes checking for sigstack... yes checking for sigset... yes checking for sigsetjmp... no checking for sigaction... yes checking for sigvec... yes checking for strcasecmp... yes checking for strerror... yes checking for strftime... yes checking for stricmp... no checking for strncasecmp... yes checking for strnicmp... no checking for strpbrk... yes checking for strtol... yes checking for tgetent... yes checking for towlower... yes checking for towupper... yes checking for iswupper... yes checking for usleep... yes checking for utime... yes checking for utimes... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for st_blksize... yes checking whether stat() ignores a trailing slash... no checking for iconv_open()... yes checking for nl_langinfo(CODESET)... yes checking for strtod in -lm... yes checking for strtod() and other floating point functions... yes checking for isinf()... yes checking for isnan()... yes checking --disable-acl argument... yes checking --disable-gpm argument... no checking for gpm... yes checking --disable-sysmouse argument... no checking for sysmouse... no checking for FD_CLOEXEC... yes checking for rename... yes checking for sysctl... not usable checking for sysinfo... yes checking for sysinfo.mem_unit... yes checking for sysconf... yes checking size of int... 4 checking size of long... 8 checking size of time_t... 8 checking size of off_t... 8 checking uint32_t is 32 bits... ok checking whether memmove handles overlaps... yes checking whether X_LOCALE needed... no checking whether Xutf8SetWMProperties() can be used... yes checking for _xpg4_setrunelocale in -lxpg4... no checking how to create tags... ctags -I INIT+ --fields=+S checking how to run man with a section nr... man -s checking --disable-nls argument... no checking for msgfmt... msgfmt checking for NLS... gettext() works checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen()... no checking for dlopen() in -ldl... yes checking for dlsym()... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for GCC 3 or later... yes checking whether we need -D_FORTIFY_SOURCE=1... yes checking linker --as-needed support... yes configure: updating cache auto/config.cache configure: creating auto/config.status config.status: creating auto/config.mk config.status: creating auto/config.h make[1]: Leaving directory '/root/.build/vim/vim-hg/src/shadow-tiny' make -f Makefile all make[1]: Entering directory '/root/.build/vim/vim-hg/src/shadow-tiny' ... Notice not only that configure is called with --disable-acl, but also that (near the end) it says "checking --disable-acl argument... yes"… then proceeds to build (with today's date) a vi executable having +acl compiled-in. The only mentions of ACL that I've found (so far) in configure's output files (other than the log) in auto are: ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=yes} in auto/config.cache ac_cs_config="'--disable-gui' '--disable-perlinterp' '--disable-pythoninterp' '--disable-python3interp' '--disable-tclinterp' '--disable-rubyinterp' '--disable-cscope' '--disable-multibyte' '--with-features=tiny' '[email protected]' '--disable-acl' '--with-vim-name=vi' '--disable-mzschemeinterp' '--disable-luainterp' '--srcdir=.' '--cache-file=auto/config.cache' 'CC=' 'CFLAGS=' 'LDFLAGS=' 'CPPFLAGS='" set X /bin/sh 'auto/configure' '--disable-gui' '--disable-perlinterp' '--disable-pythoninterp' '--disable-python3interp' '--disable-tclinterp' '--disable-rubyinterp' '--disable-cscope' '--disable-multibyte' '--with-features=tiny' '[email protected]' '--disable-acl' '--with-vim-name=vi' '--disable-mzschemeinterp' '--disable-luainterp' '--srcdir=.' '--cache-file=auto/config.cache' 'CC=' 'CFLAGS=' 'LDFLAGS=' 'CPPFLAGS=' $ac_configure_extra_args --no-create --no-recursion shift D["HAVE_SYS_ACL_H"]=" 1" in auto/config.status #define HAVE_SYS_ACL_H 1 and further down /* Define if you want to add support for ACL */ /* #undef HAVE_POSIX_ACL */ /* #undef HAVE_SOLARIS_ZFS_ACL */ /* #undef HAVE_SOLARIS_ACL */ /* #undef HAVE_AIX_ACL */ in auto/config.h So what did I do wrong? Is it really impossible to compile a Huge version with ACL and a Tiny one without it on the same system? Bset regards, Tony. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
