"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "config.in" between
bed-3.0.0.src.tar.xz and bed-3.0.1.src.tar.xz

About: bed is an adjustable data format binary editor.

config.in  (bed-3.0.0.src.tar.xz):config.in  (bed-3.0.1.src.tar.xz)
#@configure_input@ #@configure_input@
ifneq ($(INCLUDEDCONFIG),yes) ifneq ($(INCLUDEDCONFIG),yes)
PROGRAMC=@PROGRAMC@
PROGRAMLD=@PROGRAMLD@
CPPFLAGS=@CPPFLAGS@ CPPFLAGS=@CPPFLAGS@
GXXVERSION=@GXXVERSION@ GXXVERSION=@GXXVERSION@
CFLAGS=$(CPPFLAGS) @CFLAGS@ -std=$(GXXVERSION) CFLAGS=$(CPPFLAGS) @CFLAGS@
CXXFLAGS=$(CPPFLAGS) @CXXFLAGS@ -std=$(GXXVERSION) CXXFLAGS=$(CPPFLAGS) @CXXFLAGS@ -std=$(GXXVERSION)
LDFLAGS= @LDFLAGS@ -std=$(GXXVERSION) LDFLAGS= @LDFLAGS@ #-std=$(GXXVERSION)
CFLAGS+= -Wall #-Wno-write-strings -Wno-char-subscripts CFLAGS+= -Wall #-Wno-write-strings -Wno-char-subscripts
CXXFLAGS+= -Wall #-Wno-write-strings -Wno-char-subscripts
LDFLAGS+= LDFLAGS+=
EXTRALIBS=@EXTRALIBS@ EXTRALIBS=@EXTRALIBS@
OTHERLIBS=@LIBS@ OTHERLIBS=@LIBS@
export GNUSTRIP=@GNUSTRIP@ export GNUSTRIP=@GNUSTRIP@
BEDSRCDIR=@abs_srcdir@
ifeq ($(BEDSRCDIR),)
export BEDSRCDIR=@abs_srcdir@
endif
REGEX_DIR=$(BEDSRCDIR)/regex-0.13
#include $(BEDSRCDIR)/prognames.mk #include $(BEDSRCDIR)/prognames.mk
INCLUDEDCONFIG=yes INCLUDEDCONFIG=yes
export LC_ALL=POSIX export LC_ALL=POSIX
# test,sed,sort,grep etc should produce exactly the intented output. # test,sed,sort,grep etc should produce exactly the intented output.
# Data access don't work anymore if e.g. sort order is changed # Data access don't work anymore if e.g. sort order is changed
# and some idiot made sort (Mandrake 7.2) produce different sort order # and some idiot made sort (Mandrake 7.2) produce different sort order
# depending on locale. try # depending on locale. try
#LC_ALL=nl sort #LC_ALL=nl sort
#aA #aA
#AB #AB
export MAN2HTML=@MAN2HTML@ export MAN2HTML=@MAN2HTML@
export LOWVERSION=@LOWVERSION@ #export LOWVERSION=@LOWVERSION@
export MIDVERSION=@MIDVERSION@ #export MIDVERSION=@MIDVERSION@
export UPVERSION=@UPVERSION@ #export UPVERSION=@UPVERSION@
export VERSION=@VERSION@ export VERSION=@PACKAGE_VERSION@
export PROGRAM=bed export PROGRAM=bed
SYSTEM=@SYSTEM@ SYSTEM=@SYSTEM@
export WINDOWS=@WINDOWS@ export WINDOWS=@WINDOWS@
export HOST_CPU=@host_cpu@ export HOST_CPU=@host_cpu@
export HOST_OS=@host_os@ export HOST_OS=@host_os@
HOSTCONF=@HOSTCONF@ HOSTCONF=@HOSTCONF@
HOST_ALIAS=@HOST_ALIAS@ HOST_ALIAS=@HOST_ALIAS@
export HOSTEXEEXT=@EXEEXT@ export HOSTEXEEXT=@EXEEXT@
export EXEEXT=$(HOSTEXEEXT)
include $(BEDSRCDIR)/build include $(BEDSRCDIR)/build
CYGWIN=@CYGWIN@ CYGWIN=@CYGWIN@
HAVE_MAGIC_H=@HAVE_MAGIC_H@ HAVE_MAGIC_H=@HAVE_MAGIC_H@
export HAS_RE_SEARCH=@HAS_RE_SEARCH@ export HAS_RE_SEARCH=@HAS_RE_SEARCH@
export CONFFILE=$(PROGRAM)rc export CONFFILE=$(PROGRAM)rc
export CONFLASTDIR=$(PROGRAM)-$(VERSION) export CONFLASTDIR=$(PROGRAM)-$(VERSION)
export ROOTDIR= export ROOTDIR=
HAS_APPLICATIONS=@HAS_APPLICATIONS@ HAS_APPLICATIONS=@HAS_APPLICATIONS@
LN_S=@LN_S@ LN_S=@LN_S@
HAVE_LN_R=@HAVE_LN_R@
# compile support for the use of plugins. Needs libdl # compile support for the use of plugins. Needs libdl
# if CONFIG_PLUGIN=n then GIVE=.. in plugin/examples/Makefile determines # if CONFIG_PLUGIN=n then GIVE=.. in plugin/examples/Makefile determines
# which plugins are linked in instead # which plugins are linked in instead
DL_LIBRARY=@DLLIBS@ DL_LIBRARY=@DLLIBS@
CONFIG_PLUGIN=@CONFIG_PLUGIN@ CONFIG_PLUGIN=@CONFIG_PLUGIN@
USE_RE2=@USE_RE2@ USE_RE2=@USE_RE2@
ifeq ($(USE_RE2),1) ifeq ($(USE_RE2),1)
CFLAGS+=-DUSE_RE2=1 CFLAGS+=-DUSE_RE2=1
CXXFLAGS+=-DUSE_RE2=1
EXTRALIBS+=@LIBRE2@ @THREADSLIB@ EXTRALIBS+=@LIBRE2@ @THREADSLIB@
endif endif
USE_HYPERSCAN=@USE_HYPERSCAN@ USE_HYPERSCAN=@USE_HYPERSCAN@
ifeq ($(USE_HYPERSCAN),1) ifeq ($(USE_HYPERSCAN),1)
CFLAGS+=-DUSE_HYPERSCAN=1 CFLAGS+=-DUSE_HYPERSCAN=1
CXXFLAGS+=-DUSE_HYPERSCAN=1
EXTRALIBS+=@LIBHS@ EXTRALIBS+=@LIBHS@
endif endif
ifneq ($(HAS_RE_SEARCH),y) ifneq ($(HAS_RE_SEARCH),y)
OBJECTS=regex.o OBJECTS=$(REGEX_DIR)/regex.o
endif endif
DYNAMICCURSES=@DYNAMICCURSES@ DYNAMICCURSES=@DYNAMICCURSES@
STATICCURSES=@STATICCURSES@ STATICCURSES=@STATICCURSES@
CURSESLIB=-l@CURSESLIB@ CURSESLIB=-l@CURSESLIB@
CFLAGS+=-DCURSESTYPE=@CURSESLIB@ -DCURSES=1 CFLAGS+=-DCURSESTYPE=@CURSESLIB@ -DCURSES=1
CXXFLAGS+=-DCURSESTYPE=@CURSESLIB@ -DCURSES=1
# user threads to go on while making a searchlist. # user threads to go on while making a searchlist.
# Adds instability, but is also the most widely used. # Adds instability, but is also the most widely used.
# Not tried with win95 requires ReadFile with offset in OVERLAPPED # Not tried with win95 requires ReadFile with offset in OVERLAPPED
CONFIG_THREADS=@CONFIG_THREADS@ CONFIG_THREADS=@CONFIG_THREADS@
THREADSLIB=@THREADSLIB@ THREADSLIB=@THREADSLIB@
ifneq ($(WINDOWS),yes) ifneq ($(WINDOWS),yes)
# The user of the program is unix minded # The user of the program is unix minded
FULLUNIX=y FULLUNIX=y
else else
CFLAGS+=-D_WIN32=1 -DWindows=1 -DUSE_WINFILE CFLAGS+=-D_WIN32=1 -DWindows=1 -DUSE_WINFILE
CXXFLAGS+=-D_WIN32=1 -DWindows=1 -DUSE_WINFILE
FULLUNIX=n FULLUNIX=n
CONFIG_PLUGIN=n CONFIG_PLUGIN=n
#export BIOSDISK=y #export BIOSDISK=y
#set to y if you want to to use raw disk edit under win95/98/ME #set to y if you want to to use raw disk edit under win95/98/ME
CYGWINDLL=@CYGWINDLL@ CYGWINDLL=@CYGWINDLL@
# >= 1007 no support for Windows 95/98/ME anymore so # >= 1007 no support for Windows 95/98/ME anymore so
# shouldn't be defined -DBIOSDISK -DRUNONWIN95=1 # shouldn't be defined -DBIOSDISK -DRUNONWIN95=1
ifeq ($(shell if test 0$(CYGWINDLL) -ge 01007;then echo nowin95;else echo win95 ;fi),nowin95) ifeq ($(shell if test 0$(CYGWINDLL) -ge 01007;then echo nowin95;else echo win95 ;fi),nowin95)
export BIOSDISK=n export BIOSDISK=n
endif endif
ifeq ($(BIOSDISK),y) ifeq ($(BIOSDISK),y)
CFLAGS+= -DBIOSDISK -DRUNONWIN95=1 CFLAGS+= -DBIOSDISK -DRUNONWIN95=1
CXXFLAGS+= -DBIOSDISK -DRUNONWIN95=1
CONFIG_THREADS=n CONFIG_THREADS=n
endif endif
endif endif
ifeq ($(FULLUNIX),y) ifeq ($(FULLUNIX),y)
#LINK some useful 'plugins' in main program instead of dynamic linkage? #LINK some useful 'plugins' in main program instead of dynamic linkage?
CONFIG_LINKINPLUGINS=@CONFIG_LINKINPLUGINS@ CONFIG_LINKINPLUGINS=@CONFIG_LINKINPLUGINS@
prefix=@prefix@ prefix=@prefix@
datarootdir = @datarootdir@ datarootdir = @datarootdir@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
bindir=@bindir@ bindir=@bindir@
datadir=@datadir@ datadir=@datadir@
mandir=@mandir@ mandir=@mandir@
libdir=@libdir@ libdir=@libdir@
LDFLAGS+=-Xlinker -rpath=$(libdir)
TEMPDIR=$(prefix)/tmp TEMPDIR=$(prefix)/tmp
CFLAGS+=-DTEMPDIR=\"$(TEMPDIR)\" CFLAGS+=-DTEMPDIR=\"$(TEMPDIR)\"
CXXFLAGS+=-DTEMPDIR=\"$(TEMPDIR)\"
export MANDIR=$(mandir)/man1 export MANDIR=$(mandir)/man1
ifneq ($(WINDOWS),yes) ifneq ($(WINDOWS),yes)
export CONFDIR=$(libdir)/$(CONFLASTDIR) export CONFDIR=$(libdir)/$(CONFLASTDIR)
HAS_X=y HAS_X=y
else else
# bed under CYGWIN uses windows find file # bed under CYGWIN uses windows find file
export CONFDIR=$(datadir)/$(PROGRAM) export CONFDIR=$(datadir)/$(PROGRAM)
TEMPDIR=$(prefix)/tmp TEMPDIR=$(prefix)/tmp
endif endif
export CONFDIRLINK=$(datadir)/$(PROGRAM) export CONFDIRLINK=$(datadir)/$(PROGRAM)
skipping to change at line 143 skipping to change at line 161
bindir=$(prefix)/Windows bindir=$(prefix)/Windows
datadir=$(prefix)/Program\ Files datadir=$(prefix)/Program\ Files
mandir=$(CONFDIR) mandir=$(CONFDIR)
export MANDIR=$(CONFDIR) export MANDIR=$(CONFDIR)
export CONFDIR=$(datadir)/$(PROGRAM) export CONFDIR=$(datadir)/$(PROGRAM)
export CONFDIRLINK=$(datadir)/$(PROGRAM) export CONFDIRLINK=$(datadir)/$(PROGRAM)
PERSCONFFILE=~/.$(CONFFILE) PERSCONFFILE=~/.$(CONFFILE)
#BEDRCBINFILE="bedrc-bin" #give only last part in MS Windows is placed in %APPD ATA% if DEFAULTBEDRCBIN not defined #BEDRCBINFILE="bedrc-bin" #give only last part in MS Windows is placed in %APPD ATA% if DEFAULTBEDRCBIN not defined
GLOBALCONFFILE=$(datadir)/bed/bedrc GLOBALCONFFILE=$(datadir)/bed/bedrc
CFLAGS+=-DNCURSES_BED=\"$(CONFDIR)/bedn.exe\" -DNCURSES_BEDENV=\"BEDN\" CFLAGS+=-DNCURSES_BED=\"$(CONFDIR)/bedn.exe\" -DNCURSES_BEDENV=\"BEDN\"
CXXFLAGS+=-DNCURSES_BED=\"$(CONFDIR)/bedn.exe\" -DNCURSES_BEDENV=\"BEDN\"
endif endif
ifeq ($(SYSTEM),Android) ifeq ($(SYSTEM),Android)
PERSCONFFILE=/sdcard/.$(CONFFILE) PERSCONFFILE=/sdcard/.$(CONFFILE)
endif endif
CFLAGS+= -DPERSCONFFILE=\"$(PERSCONFFILE)\" CFLAGS+= -DPERSCONFFILE=\"$(PERSCONFFILE)\"
CXXFLAGS+= -DPERSCONFFILE=\"$(PERSCONFFILE)\"
ifneq ($(DEFAULTBEDRCBIN),) ifneq ($(DEFAULTBEDRCBIN),)
CFLAGS+= -DDEFAULTBEDRCBIN=\"$(DEFAULTBEDRCBIN)\" CFLAGS+= -DDEFAULTBEDRCBIN=\"$(DEFAULTBEDRCBIN)\"
CXXFLAGS+= -DDEFAULTBEDRCBIN=\"$(DEFAULTBEDRCBIN)\"
else else
ifneq ($(BEDRCBINFILE),) ifneq ($(BEDRCBINFILE),)
CFLAGS+=-DBEDRCBINFILE=\"$(BEDRCBINFILE)\" CFLAGS+=-DBEDRCBINFILE=\"$(BEDRCBINFILE)\"
CXXFLAGS+=-DBEDRCBINFILE=\"$(BEDRCBINFILE)\"
endif endif
endif endif
CFLAGS+= -DGLOBALCONFFILE=\"$(GLOBALCONFFILE)\" CFLAGS+= -DGLOBALCONFFILE=\"$(GLOBALCONFFILE)\"
CXXFLAGS+= -DGLOBALCONFFILE=\"$(GLOBALCONFFILE)\"
export EXEPROGRAM=bed$(EXEEXT) export EXEPROGRAM=bed$(HOSTEXEEXT)
#HAS_MAKEDEPEND=@HAS_MAKEDEPEND@ #HAS_MAKEDEPEND=@HAS_MAKEDEPEND@
export BASEDIR=$(prefix) export BASEDIR=$(prefix)
export XPROGRAM=x$(PROGRAM) export XPROGRAM=x$(PROGRAM)
export BINDIR=$(bindir) export BINDIR=$(bindir)
export CONFVAR=BEDRC export CONFVAR=BEDRC
#s/AC_SUBST(\(.*\))/\1=@\1@ #s/AC_SUBST(\(.*\))/\1=@\1@
ICONPATH=/usr/share/icons ICONPATH=/usr/share/icons
MENUPATH=/usr/lib/menu MENUPATH=/usr/lib/menu
KDEMENU=/usr/share/applnk KDEMENU=/usr/share/applnk
GNOMEMENU=/usr/share/gnome/apps GNOMEMENU=/usr/share/gnome/apps
BEDMENU=Editors BEDMENU=Editors
XBEDMENU=Utilities XBEDMENU=Utilities
XMENUNAME="bed - binary editor" XMENUNAME="bed - binary editor"
MENUNAME="BED - BINARY EDITOR" MENUNAME="BED - BINARY EDITOR"
DEFINES_H=$(BEDSRCDIR)/src/defines.h DEFINES_H=$(BEDSRCDIR)/src/defines.h
CFLAGS+= @DEFS@ @EXTRAFLAGS@ -imacros $(DEFINES_H) CFLAGS+= @DEFS@ @EXTRAFLAGS@ -imacros $(DEFINES_H)
CXXFLAGS+= @DEFS@ @EXTRAFLAGS@ -imacros $(DEFINES_H)
#CONFIG_XBED=@CONFIG_XBED@ #CONFIG_XBED=@CONFIG_XBED@
CONFIG_XBED=n CONFIG_XBED=n
NRXVT=@NRXVT@ NRXVT=@NRXVT@
RXVT=@RXVT@ RXVT=@RXVT@
CONFIG_PROGMAN=@CONFIG_PROGMAN@ CONFIG_PROGMAN=@CONFIG_PROGMAN@
CROSS_COMPILING=@CROSS_COMPILING@ CROSS_COMPILING=@CROSS_COMPILING@
CC=@CC@ CC=@CC@
CXX=@CXX@ CXX=@CXX@
GXX=$(CXX) GXX=$(CXX)
GCC=$(CC) GCC=$(CC)
TOBUILDCC=@TOBUILDCC@ TOBUILDCC=@TOBUILDCC@
TOBUILDCXX=@TOBUILDCXX@ TOBUILDCXX=@TOBUILDCXX@
HAS_X=@HAS_X@ HAS_X=@HAS_X@
X_CFLAGS=@X_CFLAGS@ X_CFLAGS=@X_CFLAGS@
X_LIBS=@X_LIBS@ X_LIBS=@X_LIBS@
X_EXTRA_LIBS=@X_EXTRA_LIBS@ -lxcb -lXau -lXdmcp #X_EXTRA_LIBS=@X_EXTRA_LIBS@ -lxcb -lXau -lXdmcp
X_EXTRA_LIBS=@X_EXTRA_LIBS@ -lxcb -lXau
X_PRE_LIBS=@X_PRE_LIBS@ X_PRE_LIBS=@X_PRE_LIBS@
PDCURSES=@PDCURSES@ PDCURSES=@PDCURSES@
HAS_FILE := $(shell $(BEDSRCDIR)/has_file)
USES_ELF=@USES_ELF@ USES_ELF=@USES_ELF@
ELFSIZE=@ELFSIZE@ ELFSIZE=@ELFSIZE@
HAS_NROFF=@HAS_NROFF@ HAS_NROFF=@HAS_NROFF@
# *** spaces and tabs matter!!!! *** # *** spaces and tabs matter!!!! ***
#configuration options: #configuration options:
# link static=y # link static=y
CONFIG_STATIC=n CONFIG_STATIC=n
skipping to change at line 285 skipping to change at line 310
ifneq ($(WINDOWS),yes) ifneq ($(WINDOWS),yes)
#ifeq ($(HAS_X),y) #ifeq ($(HAS_X),y)
LINKINDYN+=title.plug #putselect.plug switchsize.plug rxvt.plug LINKINDYN+=title.plug #putselect.plug switchsize.plug rxvt.plug
# OTHERLIBS+= $(THREADSLIB) #for putselect.plug # OTHERLIBS+= $(THREADSLIB) #for putselect.plug
#endif #endif
endif endif
ifeq ($(FULLUNIX),y) ifeq ($(FULLUNIX),y)
UNIXPLUGINS=y UNIXPLUGINS=y
endif endif
ifeq ($(UNIXPLUGINS),y) ifeq ($(UNIXPLUGINS),y)
LINKINDYN+=disass.plug filter.plug #LINKINDYN+=disass.plug filter.plug
LINKINDYN+=filter.plug
endif endif
ifeq ($(HAVE_MAGIC_H),1) ifeq ($(HAVE_MAGIC_H),1)
LINKINDYN+= magic.plug LINKINDYN+= magic.plug
OTHERLIBS+= -lmagic #-lz OTHERLIBS+= -lmagic #-lz
REMOVEPLUG+= file.plug
else else
REMOVEPLUG+= magic.plug
ifeq ($(HAS_FILE),y) ifeq ($(HAS_FILE),y)
LINKINDYN+= file.plug LINKINDYN+= file.plug
endif endif
endif endif
ifeq ($(UNIXPLUGINS),y) ifeq ($(UNIXPLUGINS),y)
ifeq ($(USES_ELF),y) ifeq ($(USES_ELF),y)
LINKINDYN+=index2table.plug #LINKINDYN+=index2table.plug
endif endif
ifeq ($(ELFSIZE),32) ifeq ($(ELFSIZE),32)
LINKINDYN+=elftables32.plug #LINKINDYN+=elftables32.plug
endif endif
endif endif
endif endif
ifeq ($(WINDOWS),yes) ifeq ($(WINDOWS),yes)
LINKIN+=clipboard.plug title.plug LINKIN+=clipboard.plug title.plug
ifeq (@CURSESLIB@,ncurses) ifeq (@CURSESLIB@,ncurses)
LINKINDYN+=rxvt.plug LINKINDYN+=rxvt.plug
endif endif
endif endif
endif # MINIMAL endif # MINIMAL
LINKIN+=edit.plug # if left out edit src/menu.h LINKIN+=edit.plug # if left out edit src/menu.h
INLINKLIB=inlink.a INLINKLIB=inlink.a
#CFLAGS+=-DVERSION=\"$(VERSION)\" -DPROGRAM=\"$(PROGRAM)\" -DCONFDIR=\"$(CONFDI R)\" -DCONFDIRLINK=\"$(CONFDIRLINK)\" -DBINDIR=\"$(BINDIR)\" -DCONFVAR=\"$(CONFV AR)\" -DCONFFILE=\"$(CONFFILE)\" #CFLAGS+=-DVERSION=\"$(VERSION)\" -DPROGRAM=\"$(PROGRAM)\" -DCONFDIR=\"$(CONFDI R)\" -DCONFDIRLINK=\"$(CONFDIRLINK)\" -DBINDIR=\"$(BINDIR)\" -DCONFVAR=\"$(CONFV AR)\" -DCONFFILE=\"$(CONFFILE)\"
CFLAGS+= -DVERSION=\"$(VERSION)\" -DPROGRAM=\"$(PROGRAM)\" -DCONFDIR=\"$(CONFDI R)\" -DCONFDIRLINK=\"$(CONFDIRLINK)\" -DBINDIR=\"$(BINDIR)\" -DCONFVAR=\"$(CONFV AR)\" -DCONFFILE=\"$(CONFFILE)\" CFLAGS+= -DVERSION=\"$(VERSION)\" -DPROGRAM=\"$(PROGRAM)\" -DCONFDIR=\"$(CONFDI R)\" -DCONFDIRLINK=\"$(CONFDIRLINK)\" -DBINDIR=\"$(BINDIR)\" -DCONFVAR=\"$(CONFV AR)\" -DCONFFILE=\"$(CONFFILE)\"
CXXFLAGS+= -DVERSION=\"$(VERSION)\" -DPROGRAM=\"$(PROGRAM)\" -DCONFDIR=\"$(CONF DIR)\" -DCONFDIRLINK=\"$(CONFDIRLINK)\" -DBINDIR=\"$(BINDIR)\" -DCONFVAR=\"$(CON FVAR)\" -DCONFFILE=\"$(CONFFILE)\"
INLINKALL=$(LINKIN) $(LINKINDYN) INLINKALL=$(LINKIN) $(LINKINDYN)
ifeq ($(CROSS_COMPILING),no)
TOBUILDCXXFLAGS=$(CXXFLAGS)
TOBUILDCFLAGS=$(CFLAGS)
TOBUILDLDFLAGS=$(LDFLAGS)
endif
endif endif
 End of changes. 34 change blocks. 
14 lines changed or deleted 48 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)