Support installation, troubles with music btw

This commit is contained in:
Alexandre Moine 2015-08-09 22:36:13 +02:00
parent eb0a9a8fe2
commit 91eb928c29
7 changed files with 178 additions and 5919 deletions

120
Makefile
View File

@ -95,16 +95,17 @@ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(dist_doc_DATA) $(am__DIST_COMMON)
$(am__configure_deps) $(dist_doc_DATA) $(dist_hyperrogue_DATA) \
$(dist_music_DATA) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" \
"$(DESTDIR)$(hyperroguedir)"
"$(DESTDIR)$(hyperroguedir)" "$(DESTDIR)$(musicdir)"
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
am_hyperrogue_OBJECTS = hyper.$(OBJEXT)
am_hyperrogue_OBJECTS = hyperrogue-hyper.$(OBJEXT)
hyperrogue_OBJECTS = $(am_hyperrogue_OBJECTS)
hyperrogue_LDADD = $(LDADD)
am_langen_OBJECTS = langen.$(OBJEXT)
@ -126,6 +127,10 @@ DEFAULT_INCLUDES = -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
am__v_lt_1 =
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
AM_V_CXX = $(am__v_CXX_$(V))
@ -173,7 +178,7 @@ am__uninstall_files_from_dir = { \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
DATA = $(dist_doc_DATA) $(hyperrogue_DATA)
DATA = $(dist_doc_DATA) $(dist_hyperrogue_DATA) $(dist_music_DATA)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
@ -235,10 +240,10 @@ DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EGREP = /usr/bin/grep -E
EXEEXT =
GREP = /bin/grep
INSTALL = /bin/install -c
GREP = /usr/bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
@ -248,7 +253,7 @@ LIBOBJS =
LIBS = -lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/nobrakal/Documents/hyperrogue-git/missing makeinfo
MKDIR_P = /bin/mkdir -p
MKDIR_P = /usr/bin/mkdir -p
OBJEXT = o
PACKAGE = hyperrogue
PACKAGE_BUGREPORT =
@ -306,11 +311,20 @@ top_build_prefix =
top_builddir = .
top_srcdir = .
hyperroguedir = $(datadir)/hyperrogue
hyperrogue_DATA = music/hr3-caves.ogg music/hr3-graveyard.ogg music/hr3-jungle.ogg music/hr3-motion.ogg music/hr3-crossroads.ogg music/hr3-hell.ogg music/hr3-laboratory.ogg music/hr3-rlyeh.ogg music/hr3-desert.ogg music/hr3-icyland.ogg music/hr3-mirror.ogg hyperrogue hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_hyperrogue_DATA = hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_doc_DATA = README.md
BUILT_SOURCES = language-data.cpp graph.cpp
hyperrogue_SOURCES = hyper.cpp
# Some definitions used in graph.cpp
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\"
# Musicdir
musicdir = $(datadir)/hyperrogue/music
dist_music_DATA = music/hr3-caves.ogg music/hr3-desert.ogg music/hr3-hell.ogg music/hr3-jungle.ogg music/hr3-mirror.ogg music/hr3-rlyeh.ogg music/hr3-crossroads.ogg music/hr3-graveyard.ogg music/hr3-icyland.ogg music/hr3-laboratory.ogg music/hr3-motion.ogg
langen_SOURCES = langen.cpp
# First target made
BUILT_SOURCES = language-data.cpp graph.cpp
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
@ -409,7 +423,7 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
include ./$(DEPDIR)/hyper.Po
include ./$(DEPDIR)/hyperrogue-hyper.Po
include ./$(DEPDIR)/langen.Po
.cpp.o:
@ -425,6 +439,20 @@ include ./$(DEPDIR)/langen.Po
# $(AM_V_CXX)source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
hyperrogue-hyper.o: hyper.cpp
$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hyperrogue-hyper.o -MD -MP -MF $(DEPDIR)/hyperrogue-hyper.Tpo -c -o hyperrogue-hyper.o `test -f 'hyper.cpp' || echo '$(srcdir)/'`hyper.cpp
$(AM_V_at)$(am__mv) $(DEPDIR)/hyperrogue-hyper.Tpo $(DEPDIR)/hyperrogue-hyper.Po
# $(AM_V_CXX)source='hyper.cpp' object='hyperrogue-hyper.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(AM_V_CXX_no)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hyperrogue-hyper.o `test -f 'hyper.cpp' || echo '$(srcdir)/'`hyper.cpp
hyperrogue-hyper.obj: hyper.cpp
$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hyperrogue-hyper.obj -MD -MP -MF $(DEPDIR)/hyperrogue-hyper.Tpo -c -o hyperrogue-hyper.obj `if test -f 'hyper.cpp'; then $(CYGPATH_W) 'hyper.cpp'; else $(CYGPATH_W) '$(srcdir)/hyper.cpp'; fi`
$(AM_V_at)$(am__mv) $(DEPDIR)/hyperrogue-hyper.Tpo $(DEPDIR)/hyperrogue-hyper.Po
# $(AM_V_CXX)source='hyper.cpp' object='hyperrogue-hyper.obj' libtool=no \
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(AM_V_CXX_no)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hyperrogue-hyper.obj `if test -f 'hyper.cpp'; then $(CYGPATH_W) 'hyper.cpp'; else $(CYGPATH_W) '$(srcdir)/hyper.cpp'; fi`
install-dist_docDATA: $(dist_doc_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
@ -446,9 +474,9 @@ uninstall-dist_docDATA:
@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
install-hyperrogueDATA: $(hyperrogue_DATA)
install-dist_hyperrogueDATA: $(dist_hyperrogue_DATA)
@$(NORMAL_INSTALL)
@list='$(hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
@list='$(dist_hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(hyperroguedir)'"; \
$(MKDIR_P) "$(DESTDIR)$(hyperroguedir)" || exit 1; \
@ -462,11 +490,32 @@ install-hyperrogueDATA: $(hyperrogue_DATA)
$(INSTALL_DATA) $$files "$(DESTDIR)$(hyperroguedir)" || exit $$?; \
done
uninstall-hyperrogueDATA:
uninstall-dist_hyperrogueDATA:
@$(NORMAL_UNINSTALL)
@list='$(hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
@list='$(dist_hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(hyperroguedir)'; $(am__uninstall_files_from_dir)
install-dist_musicDATA: $(dist_music_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_music_DATA)'; test -n "$(musicdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(musicdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(musicdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(musicdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(musicdir)" || exit $$?; \
done
uninstall-dist_musicDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_music_DATA)'; test -n "$(musicdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(musicdir)'; $(am__uninstall_files_from_dir)
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
@ -695,7 +744,7 @@ check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS) $(DATA)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(hyperroguedir)"; do \
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(hyperroguedir)" "$(DESTDIR)$(musicdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
@ -732,8 +781,8 @@ maintainer-clean-generic:
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \
mostlyclean-am
clean-am: clean-binPROGRAMS clean-generic clean-local \
clean-noinstPROGRAMS mostlyclean-am
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
@ -754,7 +803,8 @@ info: info-am
info-am:
install-data-am: install-dist_docDATA install-hyperrogueDATA
install-data-am: install-dist_docDATA install-dist_hyperrogueDATA \
install-dist_musicDATA
install-dvi: install-dvi-am
@ -802,36 +852,40 @@ ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \
uninstall-hyperrogueDATA
uninstall-dist_hyperrogueDATA uninstall-dist_musicDATA
.MAKE: all check install install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-cscope clean-generic \
clean-binPROGRAMS clean-cscope clean-generic clean-local \
clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am dist \
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
dist-xz dist-zip distcheck distclean distclean-compile \
distclean-generic distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-binPROGRAMS install-data \
install-data-am install-dist_docDATA install-dvi \
install-data-am install-dist_docDATA \
install-dist_hyperrogueDATA install-dist_musicDATA install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-hyperrogueDATA install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am uninstall-binPROGRAMS uninstall-dist_docDATA \
uninstall-hyperrogueDATA
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-dist_docDATA uninstall-dist_hyperrogueDATA \
uninstall-dist_musicDATA
.PRECIOUS: Makefile
# Generation of language-data.cpp
language-data.cpp: langen
./langen > language-data.cpp
graph.cpp: hyper.cpp
sed -i 's+./hyperrogue-music.txt+$(pkgdatadir)/hyperrogue-music.txt+g' graph.cpp
sed -i 's+./TTF_OpenFont("DejaVuSans-Bold.ttf", siz);+TTF_OpenFont("$(pkgdatadir)/DejaVuSans-Bold.ttf", siz);+g' graph.cpp
# Local clean rules
clean-local:
rm -rf language-data.cpp
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -1,10 +1,17 @@
# Hyperrogue binairy rules
bin_PROGRAMS = hyperrogue
hyperroguedir = $(datadir)/hyperrogue
hyperrogue_DATA = music/hr3-caves.ogg music/hr3-graveyard.ogg music/hr3-jungle.ogg music/hr3-motion.ogg music/hr3-crossroads.ogg music/hr3-hell.ogg music/hr3-laboratory.ogg music/hr3-rlyeh.ogg music/hr3-desert.ogg music/hr3-icyland.ogg music/hr3-mirror.ogg hyperrogue hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_hyperrogue_DATA = hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_doc_DATA = README.md
hyperrogue_SOURCES = hyper.cpp
# Some definitions used in graph.cpp
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\"
# Musicdir
musicdir=$(datadir)/hyperrogue/music
dist_music_DATA = music/hr3-caves.ogg music/hr3-desert.ogg music/hr3-hell.ogg music/hr3-jungle.ogg music/hr3-mirror.ogg music/hr3-rlyeh.ogg music/hr3-crossroads.ogg music/hr3-graveyard.ogg music/hr3-icyland.ogg music/hr3-laboratory.ogg music/hr3-motion.ogg
# Langen binary rules
noinst_PROGRAMS = langen
langen_SOURCES = langen.cpp

View File

@ -95,16 +95,17 @@ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(dist_doc_DATA) $(am__DIST_COMMON)
$(am__configure_deps) $(dist_doc_DATA) $(dist_hyperrogue_DATA) \
$(dist_music_DATA) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" \
"$(DESTDIR)$(hyperroguedir)"
"$(DESTDIR)$(hyperroguedir)" "$(DESTDIR)$(musicdir)"
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
am_hyperrogue_OBJECTS = hyper.$(OBJEXT)
am_hyperrogue_OBJECTS = hyperrogue-hyper.$(OBJEXT)
hyperrogue_OBJECTS = $(am_hyperrogue_OBJECTS)
hyperrogue_LDADD = $(LDADD)
am_langen_OBJECTS = langen.$(OBJEXT)
@ -126,6 +127,10 @@ DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
am__v_lt_1 =
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
AM_V_CXX = $(am__v_CXX_@AM_V@)
@ -173,7 +178,7 @@ am__uninstall_files_from_dir = { \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
DATA = $(dist_doc_DATA) $(hyperrogue_DATA)
DATA = $(dist_doc_DATA) $(dist_hyperrogue_DATA) $(dist_music_DATA)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
@ -306,9 +311,16 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
hyperroguedir = $(datadir)/hyperrogue
hyperrogue_DATA = music/hr3-caves.ogg music/hr3-graveyard.ogg music/hr3-jungle.ogg music/hr3-motion.ogg music/hr3-crossroads.ogg music/hr3-hell.ogg music/hr3-laboratory.ogg music/hr3-rlyeh.ogg music/hr3-desert.ogg music/hr3-icyland.ogg music/hr3-mirror.ogg hyperrogue hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_hyperrogue_DATA = hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_doc_DATA = README.md
hyperrogue_SOURCES = hyper.cpp
# Some definitions used in graph.cpp
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\"
# Musicdir
musicdir = $(datadir)/hyperrogue/music
dist_music_DATA = music/hr3-caves.ogg music/hr3-desert.ogg music/hr3-hell.ogg music/hr3-jungle.ogg music/hr3-mirror.ogg music/hr3-rlyeh.ogg music/hr3-crossroads.ogg music/hr3-graveyard.ogg music/hr3-icyland.ogg music/hr3-laboratory.ogg music/hr3-motion.ogg
langen_SOURCES = langen.cpp
# First target made
@ -411,7 +423,7 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hyper.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hyperrogue-hyper.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/langen.Po@am__quote@
.cpp.o:
@ -427,6 +439,20 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
hyperrogue-hyper.o: hyper.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hyperrogue-hyper.o -MD -MP -MF $(DEPDIR)/hyperrogue-hyper.Tpo -c -o hyperrogue-hyper.o `test -f 'hyper.cpp' || echo '$(srcdir)/'`hyper.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hyperrogue-hyper.Tpo $(DEPDIR)/hyperrogue-hyper.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hyper.cpp' object='hyperrogue-hyper.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hyperrogue-hyper.o `test -f 'hyper.cpp' || echo '$(srcdir)/'`hyper.cpp
hyperrogue-hyper.obj: hyper.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hyperrogue-hyper.obj -MD -MP -MF $(DEPDIR)/hyperrogue-hyper.Tpo -c -o hyperrogue-hyper.obj `if test -f 'hyper.cpp'; then $(CYGPATH_W) 'hyper.cpp'; else $(CYGPATH_W) '$(srcdir)/hyper.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hyperrogue-hyper.Tpo $(DEPDIR)/hyperrogue-hyper.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='hyper.cpp' object='hyperrogue-hyper.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hyperrogue_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hyperrogue-hyper.obj `if test -f 'hyper.cpp'; then $(CYGPATH_W) 'hyper.cpp'; else $(CYGPATH_W) '$(srcdir)/hyper.cpp'; fi`
install-dist_docDATA: $(dist_doc_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
@ -448,9 +474,9 @@ uninstall-dist_docDATA:
@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
install-hyperrogueDATA: $(hyperrogue_DATA)
install-dist_hyperrogueDATA: $(dist_hyperrogue_DATA)
@$(NORMAL_INSTALL)
@list='$(hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
@list='$(dist_hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(hyperroguedir)'"; \
$(MKDIR_P) "$(DESTDIR)$(hyperroguedir)" || exit 1; \
@ -464,11 +490,32 @@ install-hyperrogueDATA: $(hyperrogue_DATA)
$(INSTALL_DATA) $$files "$(DESTDIR)$(hyperroguedir)" || exit $$?; \
done
uninstall-hyperrogueDATA:
uninstall-dist_hyperrogueDATA:
@$(NORMAL_UNINSTALL)
@list='$(hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
@list='$(dist_hyperrogue_DATA)'; test -n "$(hyperroguedir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(hyperroguedir)'; $(am__uninstall_files_from_dir)
install-dist_musicDATA: $(dist_music_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_music_DATA)'; test -n "$(musicdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(musicdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(musicdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(musicdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(musicdir)" || exit $$?; \
done
uninstall-dist_musicDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_music_DATA)'; test -n "$(musicdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(musicdir)'; $(am__uninstall_files_from_dir)
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
@ -697,7 +744,7 @@ check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS) $(DATA)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(hyperroguedir)"; do \
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(hyperroguedir)" "$(DESTDIR)$(musicdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
@ -756,7 +803,8 @@ info: info-am
info-am:
install-data-am: install-dist_docDATA install-hyperrogueDATA
install-data-am: install-dist_docDATA install-dist_hyperrogueDATA \
install-dist_musicDATA
install-dvi: install-dvi-am
@ -804,7 +852,7 @@ ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \
uninstall-hyperrogueDATA
uninstall-dist_hyperrogueDATA uninstall-dist_musicDATA
.MAKE: all check install install-am install-strip
@ -816,16 +864,17 @@ uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \
distclean-generic distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-binPROGRAMS install-data \
install-data-am install-dist_docDATA install-dvi \
install-data-am install-dist_docDATA \
install-dist_hyperrogueDATA install-dist_musicDATA install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-hyperrogueDATA install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am uninstall-binPROGRAMS uninstall-dist_docDATA \
uninstall-hyperrogueDATA
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-dist_docDATA uninstall-dist_hyperrogueDATA \
uninstall-dist_musicDATA
.PRECIOUS: Makefile

View File

@ -1,815 +0,0 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by hyperrogue configure 6.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --no-create --no-recursion
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost.localdomain
uname -m = x86_64
uname -r = 4.0.8-300.fc22.x86_64
uname -s = Linux
uname -v = #1 SMP Fri Jul 10 21:04:56 UTC 2015
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2284: checking for a BSD-compatible install
configure:2352: result: /bin/install -c
configure:2363: checking whether build environment is sane
configure:2418: result: yes
configure:2569: checking for a thread-safe mkdir -p
configure:2608: result: /bin/mkdir -p
configure:2615: checking for gawk
configure:2631: found /bin/gawk
configure:2642: result: gawk
configure:2653: checking whether make sets $(MAKE)
configure:2675: result: yes
configure:2704: checking whether make supports nested variables
configure:2721: result: yes
configure:2909: checking for g++
configure:2925: found /bin/g++
configure:2936: result: g++
configure:2963: checking for C++ compiler version
configure:2972: g++ --version >&5
g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2983: $? = 0
configure:2972: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)
configure:2983: $? = 0
configure:2972: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:2983: $? = 1
configure:2972: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:2983: $? = 1
configure:3003: checking whether the C++ compiler works
configure:3025: g++ conftest.cpp >&5
configure:3029: $? = 0
configure:3077: result: yes
configure:3080: checking for C++ compiler default output file name
configure:3082: result: a.out
configure:3088: checking for suffix of executables
configure:3095: g++ -o conftest conftest.cpp >&5
configure:3099: $? = 0
configure:3121: result:
configure:3143: checking whether we are cross compiling
configure:3151: g++ -o conftest conftest.cpp >&5
configure:3155: $? = 0
configure:3162: ./conftest
configure:3166: $? = 0
configure:3181: result: no
configure:3186: checking for suffix of object files
configure:3208: g++ -c conftest.cpp >&5
configure:3212: $? = 0
configure:3233: result: o
configure:3237: checking whether we are using the GNU C++ compiler
configure:3256: g++ -c conftest.cpp >&5
configure:3256: $? = 0
configure:3265: result: yes
configure:3274: checking whether g++ accepts -g
configure:3294: g++ -c -g conftest.cpp >&5
configure:3294: $? = 0
configure:3335: result: yes
configure:3369: checking for style of include used by make
configure:3397: result: GNU
configure:3423: checking dependency style of g++
configure:3534: result: gcc3
configure:3597: checking for gcc
configure:3613: found /bin/gcc
configure:3624: result: gcc
configure:3853: checking for C compiler version
configure:3862: gcc --version >&5
gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3873: $? = 0
configure:3862: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=c++98 --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)
configure:3873: $? = 0
configure:3862: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3873: $? = 1
configure:3862: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3873: $? = 1
configure:3877: checking whether we are using the GNU C compiler
configure:3896: gcc -c conftest.c >&5
configure:3896: $? = 0
configure:3905: result: yes
configure:3914: checking whether gcc accepts -g
configure:3934: gcc -c -g conftest.c >&5
configure:3934: $? = 0
configure:3975: result: yes
configure:3992: checking for gcc option to accept ISO C89
configure:4055: gcc -c -g -O2 conftest.c >&5
configure:4055: $? = 0
configure:4068: result: none needed
configure:4093: checking whether gcc understands -c and -o together
configure:4115: gcc -c conftest.c -o conftest2.o
configure:4118: $? = 0
configure:4115: gcc -c conftest.c -o conftest2.o
configure:4118: $? = 0
configure:4130: result: yes
configure:4149: checking dependency style of gcc
configure:4260: result: gcc3
configure:4279: checking for main in -lGL
configure:4298: gcc -o conftest -g -O2 conftest.c -lGL >&5
configure:4298: $? = 0
configure:4307: result: yes
configure:4321: checking for main in -lSDL
configure:4340: gcc -o conftest -g -O2 conftest.c -lSDL -lGL >&5
configure:4340: $? = 0
configure:4349: result: yes
configure:4363: checking for main in -lSDL_gfx
configure:4382: gcc -o conftest -g -O2 conftest.c -lSDL_gfx -lSDL -lGL >&5
configure:4382: $? = 0
configure:4391: result: yes
configure:4405: checking for main in -lSDL_mixer
configure:4424: gcc -o conftest -g -O2 conftest.c -lSDL_mixer -lSDL_gfx -lSDL -lGL >&5
configure:4424: $? = 0
configure:4433: result: yes
configure:4447: checking for main in -lSDL_ttf
configure:4466: gcc -o conftest -g -O2 conftest.c -lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL >&5
configure:4466: $? = 0
configure:4475: result: yes
configure:4495: checking how to run the C preprocessor
configure:4526: gcc -E conftest.c
configure:4526: $? = 0
configure:4540: gcc -E conftest.c
conftest.c:16:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4540: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "hyperrogue"
| #define PACKAGE_TARNAME "hyperrogue"
| #define PACKAGE_VERSION "6.6"
| #define PACKAGE_STRING "hyperrogue 6.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "hyperrogue"
| #define VERSION "6.6"
| #define HAVE_LIBGL 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_GFX 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_TTF 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4565: result: gcc -E
configure:4585: gcc -E conftest.c
configure:4585: $? = 0
configure:4599: gcc -E conftest.c
conftest.c:16:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4599: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "hyperrogue"
| #define PACKAGE_TARNAME "hyperrogue"
| #define PACKAGE_VERSION "6.6"
| #define PACKAGE_STRING "hyperrogue 6.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "hyperrogue"
| #define VERSION "6.6"
| #define HAVE_LIBGL 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_GFX 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_TTF 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4628: checking for grep that handles long lines and -e
configure:4686: result: /bin/grep
configure:4691: checking for egrep
configure:4753: result: /bin/grep -E
configure:4758: checking for ANSI C header files
configure:4778: gcc -c -g -O2 conftest.c >&5
configure:4778: $? = 0
configure:4851: gcc -o conftest -g -O2 conftest.c -lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL >&5
configure:4851: $? = 0
configure:4851: ./conftest
configure:4851: $? = 0
configure:4862: result: yes
configure:4875: checking for sys/types.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for sys/stat.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for stdlib.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for string.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for memory.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for strings.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for inttypes.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for stdint.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4875: checking for unistd.h
configure:4875: gcc -c -g -O2 conftest.c >&5
configure:4875: $? = 0
configure:4875: result: yes
configure:4890: checking for stdlib.h
configure:4890: result: yes
configure:4890: checking for unistd.h
configure:4890: result: yes
configure:4902: checking SDL/SDL.h usability
configure:4902: gcc -c -g -O2 conftest.c >&5
configure:4902: $? = 0
configure:4902: result: yes
configure:4902: checking SDL/SDL.h presence
configure:4902: gcc -E conftest.c
configure:4902: $? = 0
configure:4902: result: yes
configure:4902: checking for SDL/SDL.h
configure:4902: result: yes
configure:4917: checking SDL/SDL_mixer.h usability
configure:4917: gcc -c -g -O2 conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking SDL/SDL_mixer.h presence
configure:4917: gcc -E conftest.c
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for SDL/SDL_mixer.h
configure:4917: result: yes
configure:4931: checking SDL/SDL_ttf.h usability
configure:4931: gcc -c -g -O2 conftest.c >&5
configure:4931: $? = 0
configure:4931: result: yes
configure:4931: checking SDL/SDL_ttf.h presence
configure:4931: gcc -E conftest.c
configure:4931: $? = 0
configure:4931: result: yes
configure:4931: checking for SDL/SDL_ttf.h
configure:4931: result: yes
configure:4945: checking for stdbool.h that conforms to C99
configure:5012: gcc -c -g -O2 conftest.c >&5
configure:5012: $? = 0
configure:5019: result: yes
configure:5021: checking for _Bool
configure:5021: gcc -c -g -O2 conftest.c >&5
configure:5021: $? = 0
configure:5021: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:67:20: error: expected expression before ')' token
if (sizeof ((_Bool)))
^
configure:5021: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "hyperrogue"
| #define PACKAGE_TARNAME "hyperrogue"
| #define PACKAGE_VERSION "6.6"
| #define PACKAGE_STRING "hyperrogue 6.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "hyperrogue"
| #define VERSION "6.6"
| #define HAVE_LIBGL 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_GFX 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_TTF 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SDL_SDL_H 1
| #define HAVE_SDL_SDL_MIXER_H 1
| #define HAVE_SDL_SDL_TTF_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((_Bool)))
| return 0;
| ;
| return 0;
| }
configure:5021: result: yes
configure:5032: checking for inline
configure:5048: gcc -c -g -O2 conftest.c >&5
configure:5048: $? = 0
configure:5056: result: inline
configure:5074: checking for size_t
configure:5074: gcc -c -g -O2 conftest.c >&5
configure:5074: $? = 0
configure:5074: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:5074: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "hyperrogue"
| #define PACKAGE_TARNAME "hyperrogue"
| #define PACKAGE_VERSION "6.6"
| #define PACKAGE_STRING "hyperrogue 6.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "hyperrogue"
| #define VERSION "6.6"
| #define HAVE_LIBGL 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_GFX 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_TTF 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SDL_SDL_H 1
| #define HAVE_SDL_SDL_MIXER_H 1
| #define HAVE_SDL_SDL_TTF_H 1
| #define HAVE__BOOL 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5074: result: yes
configure:5090: checking for memset
configure:5090: gcc -o conftest -g -O2 conftest.c -lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL >&5
conftest.c:55:6: warning: conflicting types for built-in function 'memset'
char memset ();
^
configure:5090: $? = 0
configure:5090: result: yes
configure:5090: checking for sqrt
configure:5090: gcc -o conftest -g -O2 conftest.c -lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL >&5
conftest.c:56:6: warning: conflicting types for built-in function 'sqrt'
char sqrt ();
^
/bin/ld: /tmp/ccrzkW4c.o: undefined reference to symbol 'sqrt@@GLIBC_2.2.5'
/usr/lib64/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
configure:5090: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "hyperrogue"
| #define PACKAGE_TARNAME "hyperrogue"
| #define PACKAGE_VERSION "6.6"
| #define PACKAGE_STRING "hyperrogue 6.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "hyperrogue"
| #define VERSION "6.6"
| #define HAVE_LIBGL 1
| #define HAVE_LIBSDL 1
| #define HAVE_LIBSDL_GFX 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_TTF 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SDL_SDL_H 1
| #define HAVE_SDL_SDL_MIXER_H 1
| #define HAVE_SDL_SDL_TTF_H 1
| #define HAVE__BOOL 1
| #define HAVE_MEMSET 1
| /* end confdefs.h. */
| /* Define sqrt to an innocuous variant, in case <limits.h> declares sqrt.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define sqrt innocuous_sqrt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char sqrt (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef sqrt
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sqrt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_sqrt || defined __stub___sqrt
| choke me
| #endif
|
| int
| main ()
| {
| return sqrt ();
| ;
| return 0;
| }
configure:5090: result: no
configure:5090: checking for strstr
configure:5090: gcc -o conftest -g -O2 conftest.c -lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL >&5
conftest.c:56:6: warning: conflicting types for built-in function 'strstr'
char strstr ();
^
configure:5090: $? = 0
configure:5090: result: yes
configure:5247: checking that generated files are newer than configure
configure:5253: result: done
configure:5280: creating ./config.status
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_memset=yes
ac_cv_func_sqrt=no
ac_cv_func_strstr=yes
ac_cv_header_SDL_SDL_h=yes
ac_cv_header_SDL_SDL_mixer_h=yes
ac_cv_header_SDL_SDL_ttf_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_GL_main=yes
ac_cv_lib_SDL_gfx_main=yes
ac_cv_lib_SDL_main=yes
ac_cv_lib_SDL_mixer_main=yes
ac_cv_lib_SDL_ttf_main=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_type__Bool=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/nobrakal/Documents/hyperrogue-git/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /home/nobrakal/Documents/hyperrogue-git/missing autoconf'
AUTOHEADER='${SHELL} /home/nobrakal/Documents/hyperrogue-git/missing autoheader'
AUTOMAKE='${SHELL} /home/nobrakal/Documents/hyperrogue-git/missing automake-1.15'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"hyperrogue\" -DPACKAGE_TARNAME=\"hyperrogue\" -DPACKAGE_VERSION=\"6.6\" -DPACKAGE_STRING=\"hyperrogue\ 6.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hyperrogue\" -DVERSION=\"6.6\" -DHAVE_LIBGL=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_GFX=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SDL_SDL_H=1 -DHAVE_SDL_SDL_MIXER_H=1 -DHAVE_SDL_SDL_TTF_H=1 -DHAVE__BOOL=1 -DHAVE_MEMSET=1 -DHAVE_STRSTR=1'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lSDL_ttf -lSDL_mixer -lSDL_gfx -lSDL -lGL '
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/nobrakal/Documents/hyperrogue-git/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
PACKAGE='hyperrogue'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='hyperrogue'
PACKAGE_STRING='hyperrogue 6.6'
PACKAGE_TARNAME='hyperrogue'
PACKAGE_URL=''
PACKAGE_VERSION='6.6'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='6.6'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/nobrakal/Documents/hyperrogue-git/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "hyperrogue"
#define PACKAGE_TARNAME "hyperrogue"
#define PACKAGE_VERSION "6.6"
#define PACKAGE_STRING "hyperrogue 6.6"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "hyperrogue"
#define VERSION "6.6"
#define HAVE_LIBGL 1
#define HAVE_LIBSDL 1
#define HAVE_LIBSDL_GFX 1
#define HAVE_LIBSDL_MIXER 1
#define HAVE_LIBSDL_TTF 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SDL_SDL_H 1
#define HAVE_SDL_SDL_MIXER_H 1
#define HAVE_SDL_SDL_TTF_H 1
#define HAVE__BOOL 1
#define HAVE_MEMSET 1
#define HAVE_STRSTR 1
configure: exit 0
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by hyperrogue config.status 6.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on localhost.localdomain
config.status:784: creating Makefile
config.status:956: executing depfiles commands

File diff suppressed because it is too large Load Diff

View File

@ -214,8 +214,14 @@ void loadfont(int siz) {
if(!font[siz]) {
font[siz] = TTF_OpenFont("DejaVuSans-Bold.ttf", siz);
if (font[siz] == NULL) {
printf("error: Font file not found\n");
exit(1);
// Destination set by ./configure
#ifdef FONTDESTDIR
font[siz] = TTF_OpenFont(FONTDESTDIR, siz);
#endif
if (font[siz] == NULL) {
printf("error: Font file not found\n");
exit(1);
}
}
}
}
@ -3611,6 +3617,10 @@ void initgraph() {
loadMusicInfo(musicfile)
|| loadMusicInfo("./hyperrogue-music.txt")
|| loadMusicInfo("music/hyperrogue-music.txt")
// Destination set by ./configure
#ifdef MUSICDESTDIR
|| loadMusicInfo(MUSICDESTDIR)
#endif
#ifdef FHS
|| loadMusicInfo("/usr/share/hyperrogue/hyperrogue-music.txt")
|| loadMusicInfo(s0 + getenv("HOME") + "/.hyperrogue-music.txt")

File diff suppressed because it is too large Load Diff