mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
1135ce461d
* src/json.c (Fjson__available_p): Remove. * lisp/subr.el (json-available-p): Always return t. * admin/nt/dist-build/build-dep-zips.py: * configure.ac: * doc/lispref/text.texi (Parsing JSON): * java/INSTALL: * java/org/gnu/emacs/EmacsNative.java (EmacsNative): * lisp/term/w32-win.el (dynamic-library-alist): * m4/ndk-build.m4 (ndk_INIT): * msdos/sed1v2.inp: * nt/INSTALL: * nt/INSTALL.W64: * src/Makefile.in: * src/emacs.c (main): * src/lisp.h: Remove JSON configuration options and references to it and Jansson from documentation and build files. * etc/NEWS: Announce.
300 lines
10 KiB
Plaintext
300 lines
10 KiB
Plaintext
# -sed1v2.inp-----------------------------------------------------------
|
|
# Configuration script for src/Makefile under DJGPP v2.x
|
|
# ----------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 1996-1997, 1999-2024 Free Software Foundation, Inc.
|
|
#
|
|
# This file is part of GNU Emacs.
|
|
#
|
|
# This file is free software; as a special exception, the author gives
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
# modifications, as long as this notice is preserved.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
#
|
|
# ----------------------------------------------------------------------
|
|
s/^[ \f\t][ \f\t]*$//
|
|
s/^ / /
|
|
s/\.h\.in/.h-in/
|
|
/^SHELL *=/s/^/# /
|
|
/^srcdir *=/s/@[^@\n]*@/./
|
|
/^top_srcdir *=/s/@[^@\n]*@/../
|
|
/^CC *=/s/@[^@\n]*@/gcc -std=gnu99/
|
|
/^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
|
|
/^ALL_CFLAGS *=/s/@[^@\n]*@//g
|
|
/^ALL_CFLAGS *=/s/ -I\.//g
|
|
/^CPPFLAGS *=/s|@[^@\n]*@|-I../msdos|
|
|
/^LDFLAGS *=/s/@[^@\n]*@//
|
|
/^LIBOBJS *=/s/@[^@\n]*@//
|
|
/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
|
|
/^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@//
|
|
/^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@//
|
|
/^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
|
|
/^PNG_CFLAGS *=/s/@PNG_CFLAGS@//
|
|
/^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
|
|
/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
|
|
/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
|
|
#/^LD_SWITCH_X_SITE *=/s/@LD_SWITCH_X_SITE@//
|
|
/^LD_SWITCH_SYSTEM_TEMACS *=/s/@LD_SWITCH_SYSTEM_TEMACS@//
|
|
/^LD_SWITCH_X_SITE_AUX *=/s/@LD_SWITCH_X_SITE_AUX@//
|
|
/^LD_SWITCH_X_SITE_AUX_RPATH *=/s/@LD_SWITCH_X_SITE_AUX_RPATH@//
|
|
/^LD_SWITCH_X_SITE_RPATH *=/s/@LD_SWITCH_X_SITE_RPATH@//
|
|
/^LD_SWITCH_SYSTEM *=/s/@LD_SWITCH_SYSTEM@//
|
|
/^LIBS_SYSTEM *=/s/@LIBS_SYSTEM@//
|
|
/^LIB_GCC *=/s/@LIB_GCC@//
|
|
/^LIB_STANDARD *=/s/@LIB_STANDARD@//
|
|
/^LIB_MATH *=/s/@LIB_MATH@/-lm/
|
|
/^LIB_PTHREAD *=/s/@LIB_PTHREAD@//
|
|
/^LIB_ACL *=/s/@LIB_ACL@//
|
|
/^EUIDACCESS_LIBGEN *=/s/@EUIDACCESS_LIBGEN@//
|
|
/^NANOSLEEP_LIB *=/s/@NANOSLEEP_LIB@//
|
|
s/ *@LIBTIFF@//
|
|
s/ *@LIBJPEG@//
|
|
s/ *@LIBPNG@//
|
|
s/ *@LIBGI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s/@LIBMODULES@//
|
|
/^MODULES_OBJ *=/s/@MODULES_OBJ@//
|
|
/^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@//
|
|
/^LIBSYSTEMD_LIBS *=/s/@LIBSYSTEMD_LIBS@//
|
|
/^LIBSYSTEMD_CFLAGS *=/s/@LIBSYSTEMD_CFLAGS@//
|
|
/^CLOCK_TIME_LIB *=/s/@[^@\n]*@//g
|
|
/^LIB_TIMER_TIME *=/s/@[^@\n]*@//g
|
|
/^LIB_EXECINFO *=/s/@[^@\n]*@//g
|
|
/^LIBGNUTLS_LIBS *=/s/@[^@\n]*@//
|
|
/^LIBGNUTLS_CFLAGS *=/s/@[^@\n]*@//
|
|
/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
|
|
/^START_FILES *=/s/@START_FILES@//
|
|
/^OTHER_FILES *=/s/@OTHER_FILES@//
|
|
/^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/
|
|
/^FONT_OBJ *=/s/@FONT_OBJ@//
|
|
/^LIBGPM *=/s/@LIBGPM@//
|
|
/^LIBZ *=/s/@LIBZ@//
|
|
/^EXEEXT *=/s/@EXEEXT@/.exe/
|
|
/^MKDIR_P *=/s/@MKDIR_P@/gmkdir -p/
|
|
/^OLDXMENU *=/s/@OLDXMENU@/nothing/
|
|
/^LIBXMENU *=/s/@LIBXMENU@//
|
|
/^LIBX_OTHER *=/s/@LIBX_OTHER@//
|
|
/^XRANDR_LIBS *=/s/@XRANDR_LIBS@//
|
|
/^XRANDR_CFLAGS *=/s/@XRANDR_CFLAGS@//
|
|
/^XINERAMA_LIBS *=/s/@XINERAMA_LIBS@//
|
|
/^XINERAMA_CFLAGS *=/s/@XINERAMA_CFLAGS@//
|
|
/^HYBRID_MALLOC *=/s/@HYBRID_MALLOC@//
|
|
/^GMALLOC_OBJ *=/s/@GMALLOC_OBJ@/gmalloc.o/
|
|
/^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/
|
|
/^F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
|
/^ADDSECTION *=/s/@ADDSECTION@//
|
|
/^AM_DEFAULT_VERBOSITY *=/s/@AM_DEFAULT_VERBOSITY@/1/
|
|
/^[Aa][Mm]_/s/@AM_V@/$(V)/
|
|
/^[Aa][Mm]_/s/@AM_DEFAULT_V@/$(AM_DEFAULT_VERBOSITY)/
|
|
/^AUTO_DEPEND *=/s/@AUTO_DEPEND@/yes/
|
|
/^PAXCTL_dumped *=/s/=.*$/=/
|
|
/^PAXCTL_notdumped *=/s/=.*$/=/
|
|
/^DUMPING *=/s/@DUMPING@/unexec/
|
|
/^ANDROID_OBJ *=/s/@ANDROID_OBJ@//
|
|
/^ANDROID_LIBS *=/s/@ANDROID_LIBS@//
|
|
/^ANDROID_LDFLAGS *=/s/@ANDROID_LDFLAGS@//
|
|
/^ANDROID_BUILD_CFLAGS *=/s/@ANDROID_BUILD_CFLAGS@//
|
|
/^LIBGMP_CFLAGS *=/s/@LIBGMP_CFLAGS@//
|
|
/^SQLITE3_CFLAGS *=/s/@SQLITE3_CFLAGS@//
|
|
/^LIBSELINUX_CFLAGS *=/s/@LIBSELINUX_CFLAGS@//
|
|
/^XCONFIGURE *=/s/@XCONFIGURE@//
|
|
/^[ \t]*MAKE_PDUMPER_FINGERPRINT = *$/c\
|
|
MAKE_PDUMPER_FINGERPRINT =
|
|
# While this variable is named abs_top_builddir, the distinction is
|
|
# only relevant when Emacs is undergoing cross-compilation.
|
|
/^abs_top_builddir =*/s/@abs_top_builddir@/../
|
|
s/\$(abs_top_builddir)\/src\/lisp.mk/lisp.mk/
|
|
/^lisp\.mk:/,/^$/c\
|
|
lisp.mk: $(lispsource)/loadup.el\
|
|
@rm -f $@\
|
|
${AM_V_GEN}printf 'shortlisp = \\\\\\n' > $@\
|
|
${AM_V_GEN}sed -n 's/^[ \t]*(load "\\([^"]*\\)".*/\\1/p' $< | sed -e "s/\$\$/.elc \\\\/" -e "s/\\.el\\.elc/.el/" >> $@\
|
|
${AM_V_GEN}djecho "" >> $@
|
|
|
|
#"
|
|
|
|
/^ [ ]*\$(AM_V_at)\$(libsrc)\/make-docfile -d/s!make-docfile!make-docfile -o $(etc)/DOC!
|
|
/ > \$(etc)\/DOC *$/s/ >.*$//
|
|
/^\$(etc)\/DOC/,/^$/{
|
|
/^$/i\
|
|
cd ../src
|
|
}
|
|
/^ [ ]*\$(AM_V_GLOBALS)\$(libsrc)\/make-docfile.*>.*globals.tmp/s!make-docfile!make-docfile -o globals.tmp!
|
|
/^ [ ]*\$(AM_V_GLOBALS)\$(libsrc)\/make-doc/s!>.*$!!
|
|
/^\$(libsrc)\/make-docfile\$(EXEEXT): /i\
|
|
cd ../src
|
|
/^ if test -f/,/^ fi$/c\
|
|
command.com /c if exist .gdbinit rm -f _gdbinit
|
|
/^ *ifneq (\$(PAXCTL_notdumped),)/,/^ *endif/d
|
|
/^ *ifneq (\$(PAXCTL_dumped),)/,/^ *endif/d
|
|
/^ *ln /s/ln /cp /
|
|
/^ fi/d
|
|
/ifeq (\$(HAVE_NATIVE_COMP):\$(NATIVE_DISABLED),yes:)/,/endif/d
|
|
/^ *\$(RUN_TEMACS) /i\
|
|
stubedit temacs.exe minstack=1024k
|
|
/^ *LC_ALL=C \$(RUN_TEMACS)/i\
|
|
stubedit temacs.exe minstack=1024k
|
|
/^ *LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
|
|
/-batch .* -l loadup/a\
|
|
stubify emacs\
|
|
stubedit emacs.exe minstack=3072k
|
|
s/ @true *$/ @rem/
|
|
s/^ [^ ]*move-if-change / update /
|
|
/^ [^ ]*echo[ ][ ]*timestamp/s/echo /djecho /
|
|
/^ .*djecho timestamp/a\
|
|
@rm -f globals.tmp
|
|
/^ mv \.\/\.gdbinit/d
|
|
/^ if test -f/,/^ fi$/c\
|
|
command.com /c if exist .gdbinit rm -f _gdbinit
|
|
/^ #/d
|
|
/^ @: /d
|
|
/^ -\{0,1\} *ln /s/ln /cp /
|
|
/^[ ]touch /s/touch/djecho $@ >/
|
|
s/bootstrap-emacs/b-emacs/
|
|
/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
|
|
s/echo.*buildobj.lst/dj&/
|
|
/ --load loadup bootstrap/a\
|
|
stubify emacs
|
|
/^ mv -f emacs/a\
|
|
stubedit b-emacs.exe minstack=3072k\
|
|
djecho bootlisp > bootlisp
|
|
/^ -\{0,1\}rm -f/s/\\#/#/
|
|
/^ echo.* buildobj.h/s|echo |djecho |
|
|
/^buildobj\.h:/,/^ *\$(AM_V_at)mv /{
|
|
/^ *\$(AM_V_GEN)for /,/mv \$@.tmp \$@/c\
|
|
djecho "$(ALLOBJS)" | sed -e 's/^ */"/' -e 's/ *$$/"/' -e 's/ */", "/g' >>$@
|
|
}
|
|
# Remove or replace dependencies we cannot have
|
|
/^\.PRECIOUS: /s!\.\./config.status !!
|
|
/^\.\.\/config.status: /,/^ /d
|
|
/^Makefile: /s!\.\./config.status !!
|
|
# Make the GCC command line fit one screen line
|
|
/^[ ][ ]*\$(GNUSTEP_CFLAGS)/d
|
|
/^[ ][ ]*\$(LIBGNUTLS_CFLAGS)/d
|
|
/^[ ][ ]*\$(LIBSYSTEMD_CFLAGS)/d
|
|
/^[ ][ ]*\$(XRANDR_CFLAGS)/d
|
|
/^[ ][ ]*\$(WEBKIT_CFLAGS)/d
|
|
/^[ ][ ]*\$(SETTINGS_CFLAGS)/d
|
|
s/\$(LIBOTF_CFLAGS) \$(M17N_FLT_CFLAGS) //
|
|
s/ \$(C_SWITCH_X_SITE)//
|
|
s/ \$(DBUS_CFLAGS)//
|
|
s/ \$(PNG_CFLAGS) //
|
|
s| -I\$(srcdir)/\.\./lib||
|
|
s| -I\$(top_srcdir)/lib||
|
|
s| -I\. -I\$(srcdir)| -I.|
|
|
/^ *test "X/d
|
|
/\$(CC) -o \$@.tmp/s/\$@.tmp/\$@/
|
|
/mv \$@.tmp \$@/d
|
|
/^top_builddir =*/s/@top_builddir@/../
|