diff --git a/Makefile.am b/Makefile.am
index 7fb5997..1f8f7ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,10 +6,13 @@ CLEANFILES =
include_HEADERS =
lib_LTLIBRARIES =
+AM_CPPFLAGS = ${local_cppflags}
+AM_LDFLAGS = ${local_ldflags}
+
if DEBUG
-AM_CFLAGS = -O0 -ggdb -pipe -W -Wall -Werror
+AM_CFLAGS = -O0 -ggdb -W -Wall -Werror
else
-AM_CFLAGS = -O2 -pipe -W -Wall -Werror
+AM_CFLAGS = -O2 -DNDEBUG -W -Wall -Werror
endif
lib_LTLIBRARIES += librtbuf.la
@@ -25,15 +28,17 @@ include_HEADERS += \
rtbuf_fun.h \
rtbuf.h
+if ENABLE_RTBUF
bin_PROGRAMS += rtbuf
-rtbuf_LDADD = -lrtbuf
+rtbuf_LDADD = ${RTBUF_LIBS} librtbuf.la
rtbuf_SOURCES = \
rtbuf_lib.c \
rtbuf_cli.c
include_HEADERS += \
rtbuf_lib.h
-rtbuf: librtbuf.la
+endif
+if ENABLE_SIGNAL
rtbuf_signal_type: rtbuf_signal_type.c rtbuf_signal.h
${CC} ${CFLAGS} ${CPPFLAGS} -o rtbuf_signal_type rtbuf_signal_type.c
rtbuf_signal_type.h: rtbuf_signal_type
@@ -41,7 +46,7 @@ rtbuf_signal_type.h: rtbuf_signal_type
CLEANFILES += rtbuf_signal_type rtbuf_signal_type.h
lib_LTLIBRARIES += librtbuf_signal.la
-librtbuf_signal_la_LIBADD = -lm
+librtbuf_signal_la_LIBADD = ${SIGNAL_LIBS}
librtbuf_signal_la_SOURCES = \
rtbuf_music.c \
rtbuf_signal.c \
@@ -54,7 +59,9 @@ include_HEADERS += \
rtbuf_music.h \
rtbuf_signal.h \
rtbuf_signal_type.h
+endif
+if ENABLE_SNDIO
rtbuf_sndio_type: rtbuf_sndio_type.c rtbuf_sndio.h
${CC} ${CFLAGS} ${CPPFLAGS} -o rtbuf_sndio_type rtbuf_sndio_type.c
rtbuf_sndio_type.h: rtbuf_sndio_type
@@ -62,7 +69,7 @@ rtbuf_sndio_type.h: rtbuf_sndio_type
CLEANFILES += rtbuf_sndio_type rtbuf_sndio_type.h
lib_LTLIBRARIES += librtbuf_sndio.la
-librtbuf_sndio_la_LIBADD = -lsndio
+librtbuf_sndio_la_LIBADD = ${SNDIO_LIBS}
librtbuf_sndio_la_SOURCES = \
rtbuf_sndio.c \
rtbuf_sndio_input.c \
@@ -71,14 +78,19 @@ librtbuf_sndio_la_SOURCES = \
include_HEADERS += \
rtbuf_sndio.h \
rtbuf_sndio_type.h
+endif
+if ENABLE_GLFW
lib_LTLIBRARIES += librtbuf_glfw3.la
-librtbuf_glfw3_la_LIBADD = -lglfw
+librtbuf_glfw3_la_CPPFLAGS = ${X11_CPPFLAGS}
+librtbuf_glfw3_la_LDFLAGS = ${X11_LDFLAGS}
+librtbuf_glfw3_la_LIBADD = ${GLFW_LIBS}
librtbuf_glfw3_la_SOURCES = \
rtbuf_glfw3.c \
rtbuf_music.c
include_HEADERS += \
rtbuf_glfw3.h
+endif
deps_headers = ${include_HEADERS}
deps_sources = \
diff --git a/Makefile.in b/Makefile.in
index fdbb16a..6ff95af 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -90,7 +90,28 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-bin_PROGRAMS = rtbuf$(EXEEXT)
+bin_PROGRAMS = $(am__EXEEXT_1)
+@ENABLE_RTBUF_TRUE@am__append_1 = rtbuf
+@ENABLE_RTBUF_TRUE@am__append_2 = \
+@ENABLE_RTBUF_TRUE@ rtbuf_lib.h
+
+@ENABLE_SIGNAL_TRUE@am__append_3 = rtbuf_signal_type rtbuf_signal_type.h
+@ENABLE_SIGNAL_TRUE@am__append_4 = librtbuf_signal.la
+@ENABLE_SIGNAL_TRUE@am__append_5 = \
+@ENABLE_SIGNAL_TRUE@ rtbuf_music.h \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal.h \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_type.h
+
+@ENABLE_SNDIO_TRUE@am__append_6 = rtbuf_sndio_type rtbuf_sndio_type.h
+@ENABLE_SNDIO_TRUE@am__append_7 = librtbuf_sndio.la
+@ENABLE_SNDIO_TRUE@am__append_8 = \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio.h \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio_type.h
+
+@ENABLE_GLFW_TRUE@am__append_9 = librtbuf_glfw3.la
+@ENABLE_GLFW_TRUE@am__append_10 = \
+@ENABLE_GLFW_TRUE@ rtbuf_glfw3.h
+
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/build-aux/m4/libtool.m4 \
@@ -102,7 +123,8 @@ am__aclocal_m4_deps = $(top_srcdir)/build-aux/m4/libtool.m4 \
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
- $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
+ $(am__configure_deps) $(am__include_HEADERS_DIST) \
+ $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
@@ -146,22 +168,46 @@ 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 =
-librtbuf_glfw3_la_DEPENDENCIES =
-am_librtbuf_glfw3_la_OBJECTS = rtbuf_glfw3.lo rtbuf_music.lo
+am__DEPENDENCIES_1 =
+@ENABLE_GLFW_TRUE@librtbuf_glfw3_la_DEPENDENCIES = \
+@ENABLE_GLFW_TRUE@ $(am__DEPENDENCIES_1)
+am__librtbuf_glfw3_la_SOURCES_DIST = rtbuf_glfw3.c rtbuf_music.c
+@ENABLE_GLFW_TRUE@am_librtbuf_glfw3_la_OBJECTS = \
+@ENABLE_GLFW_TRUE@ librtbuf_glfw3_la-rtbuf_glfw3.lo \
+@ENABLE_GLFW_TRUE@ librtbuf_glfw3_la-rtbuf_music.lo
librtbuf_glfw3_la_OBJECTS = $(am_librtbuf_glfw3_la_OBJECTS)
-librtbuf_signal_la_DEPENDENCIES =
-am_librtbuf_signal_la_OBJECTS = rtbuf_music.lo rtbuf_signal.lo \
- rtbuf_signal_sinus.lo rtbuf_signal_square.lo \
- rtbuf_signal_adsr.lo rtbuf_signal_synth.lo
+librtbuf_glfw3_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+ $(AM_CFLAGS) $(CFLAGS) $(librtbuf_glfw3_la_LDFLAGS) $(LDFLAGS) \
+ -o $@
+@ENABLE_GLFW_TRUE@am_librtbuf_glfw3_la_rpath = -rpath $(libdir)
+@ENABLE_SIGNAL_TRUE@librtbuf_signal_la_DEPENDENCIES = \
+@ENABLE_SIGNAL_TRUE@ $(am__DEPENDENCIES_1)
+am__librtbuf_signal_la_SOURCES_DIST = rtbuf_music.c rtbuf_signal.c \
+ rtbuf_signal_sinus.c rtbuf_signal_square.c rtbuf_signal_adsr.c \
+ rtbuf_signal_synth.c rtbuf_signal_type.h
+@ENABLE_SIGNAL_TRUE@am_librtbuf_signal_la_OBJECTS = rtbuf_music.lo \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal.lo rtbuf_signal_sinus.lo \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_square.lo \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_adsr.lo rtbuf_signal_synth.lo
librtbuf_signal_la_OBJECTS = $(am_librtbuf_signal_la_OBJECTS)
-librtbuf_sndio_la_DEPENDENCIES =
-am_librtbuf_sndio_la_OBJECTS = rtbuf_sndio.lo rtbuf_sndio_input.lo \
- rtbuf_sndio_output.lo
+@ENABLE_SIGNAL_TRUE@am_librtbuf_signal_la_rpath = -rpath $(libdir)
+@ENABLE_SNDIO_TRUE@librtbuf_sndio_la_DEPENDENCIES = \
+@ENABLE_SNDIO_TRUE@ $(am__DEPENDENCIES_1)
+am__librtbuf_sndio_la_SOURCES_DIST = rtbuf_sndio.c rtbuf_sndio_input.c \
+ rtbuf_sndio_output.c rtbuf_sndio_type.h
+@ENABLE_SNDIO_TRUE@am_librtbuf_sndio_la_OBJECTS = rtbuf_sndio.lo \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio_input.lo rtbuf_sndio_output.lo
librtbuf_sndio_la_OBJECTS = $(am_librtbuf_sndio_la_OBJECTS)
+@ENABLE_SNDIO_TRUE@am_librtbuf_sndio_la_rpath = -rpath $(libdir)
+@ENABLE_RTBUF_TRUE@am__EXEEXT_1 = rtbuf$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
-am_rtbuf_OBJECTS = rtbuf_lib.$(OBJEXT) rtbuf_cli.$(OBJEXT)
+am__rtbuf_SOURCES_DIST = rtbuf_lib.c rtbuf_cli.c
+@ENABLE_RTBUF_TRUE@am_rtbuf_OBJECTS = rtbuf_lib.$(OBJEXT) \
+@ENABLE_RTBUF_TRUE@ rtbuf_cli.$(OBJEXT)
rtbuf_OBJECTS = $(am_rtbuf_OBJECTS)
-rtbuf_DEPENDENCIES =
+@ENABLE_RTBUF_TRUE@rtbuf_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+@ENABLE_RTBUF_TRUE@ librtbuf.la
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
@@ -199,14 +245,20 @@ am__v_CCLD_1 =
SOURCES = $(librtbuf_la_SOURCES) $(librtbuf_glfw3_la_SOURCES) \
$(librtbuf_signal_la_SOURCES) $(librtbuf_sndio_la_SOURCES) \
$(rtbuf_SOURCES)
-DIST_SOURCES = $(librtbuf_la_SOURCES) $(librtbuf_glfw3_la_SOURCES) \
- $(librtbuf_signal_la_SOURCES) $(librtbuf_sndio_la_SOURCES) \
- $(rtbuf_SOURCES)
+DIST_SOURCES = $(librtbuf_la_SOURCES) \
+ $(am__librtbuf_glfw3_la_SOURCES_DIST) \
+ $(am__librtbuf_signal_la_SOURCES_DIST) \
+ $(am__librtbuf_sndio_la_SOURCES_DIST) \
+ $(am__rtbuf_SOURCES_DIST)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__include_HEADERS_DIST = symbol.h rtbuf_defs.h rtbuf_type.h \
+ rtbuf_fun.h rtbuf.h rtbuf_lib.h rtbuf_music.h rtbuf_signal.h \
+ rtbuf_signal_type.h rtbuf_sndio.h rtbuf_sndio_type.h \
+ rtbuf_glfw3.h
HEADERS = $(include_HEADERS)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
@@ -283,6 +335,7 @@ ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
+GLFW_LIBS = @GLFW_LIBS@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
@@ -315,9 +368,12 @@ PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
+RTBUF_LIBS = @RTBUF_LIBS@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
+SIGNAL_LIBS = @SIGNAL_LIBS@
+SNDIO_LIBS = @SNDIO_LIBS@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
@@ -373,48 +429,51 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I build-aux/m4
-CLEANFILES = rtbuf_signal_type rtbuf_signal_type.h rtbuf_sndio_type \
- rtbuf_sndio_type.h dependencies.mk.1 dependencies.mk.2
+CLEANFILES = $(am__append_3) $(am__append_6) dependencies.mk.1 \
+ dependencies.mk.2
include_HEADERS = symbol.h rtbuf_defs.h rtbuf_type.h rtbuf_fun.h \
- rtbuf.h rtbuf_lib.h rtbuf_music.h rtbuf_signal.h \
- rtbuf_signal_type.h rtbuf_sndio.h rtbuf_sndio_type.h \
- rtbuf_glfw3.h
-lib_LTLIBRARIES = librtbuf.la librtbuf_signal.la librtbuf_sndio.la \
- librtbuf_glfw3.la
-@DEBUG_FALSE@AM_CFLAGS = -O2 -pipe -W -Wall -Werror
-@DEBUG_TRUE@AM_CFLAGS = -O0 -ggdb -pipe -W -Wall -Werror
+ rtbuf.h $(am__append_2) $(am__append_5) $(am__append_8) \
+ $(am__append_10)
+lib_LTLIBRARIES = librtbuf.la $(am__append_4) $(am__append_7) \
+ $(am__append_9)
+AM_CPPFLAGS = ${local_cppflags}
+AM_LDFLAGS = ${local_ldflags}
+@DEBUG_FALSE@AM_CFLAGS = -O2 -DNDEBUG -W -Wall -Werror
+@DEBUG_TRUE@AM_CFLAGS = -O0 -ggdb -W -Wall -Werror
librtbuf_la_SOURCES = \
symbol.c \
rtbuf_type.c \
rtbuf_fun.c \
rtbuf.c
-rtbuf_LDADD = -lrtbuf
-rtbuf_SOURCES = \
- rtbuf_lib.c \
- rtbuf_cli.c
-
-librtbuf_signal_la_LIBADD = -lm
-librtbuf_signal_la_SOURCES = \
- rtbuf_music.c \
- rtbuf_signal.c \
- rtbuf_signal_sinus.c \
- rtbuf_signal_square.c \
- rtbuf_signal_adsr.c \
- rtbuf_signal_synth.c \
- rtbuf_signal_type.h
-
-librtbuf_sndio_la_LIBADD = -lsndio
-librtbuf_sndio_la_SOURCES = \
- rtbuf_sndio.c \
- rtbuf_sndio_input.c \
- rtbuf_sndio_output.c \
- rtbuf_sndio_type.h
-
-librtbuf_glfw3_la_LIBADD = -lglfw
-librtbuf_glfw3_la_SOURCES = \
- rtbuf_glfw3.c \
- rtbuf_music.c
+@ENABLE_RTBUF_TRUE@rtbuf_LDADD = ${RTBUF_LIBS} librtbuf.la
+@ENABLE_RTBUF_TRUE@rtbuf_SOURCES = \
+@ENABLE_RTBUF_TRUE@ rtbuf_lib.c \
+@ENABLE_RTBUF_TRUE@ rtbuf_cli.c
+
+@ENABLE_SIGNAL_TRUE@librtbuf_signal_la_LIBADD = ${SIGNAL_LIBS}
+@ENABLE_SIGNAL_TRUE@librtbuf_signal_la_SOURCES = \
+@ENABLE_SIGNAL_TRUE@ rtbuf_music.c \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal.c \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_sinus.c \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_square.c \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_adsr.c \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_synth.c \
+@ENABLE_SIGNAL_TRUE@ rtbuf_signal_type.h
+
+@ENABLE_SNDIO_TRUE@librtbuf_sndio_la_LIBADD = ${SNDIO_LIBS}
+@ENABLE_SNDIO_TRUE@librtbuf_sndio_la_SOURCES = \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio.c \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio_input.c \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio_output.c \
+@ENABLE_SNDIO_TRUE@ rtbuf_sndio_type.h
+
+@ENABLE_GLFW_TRUE@librtbuf_glfw3_la_CPPFLAGS = ${X11_CPPFLAGS}
+@ENABLE_GLFW_TRUE@librtbuf_glfw3_la_LDFLAGS = ${X11_LDFLAGS}
+@ENABLE_GLFW_TRUE@librtbuf_glfw3_la_LIBADD = ${GLFW_LIBS}
+@ENABLE_GLFW_TRUE@librtbuf_glfw3_la_SOURCES = \
+@ENABLE_GLFW_TRUE@ rtbuf_glfw3.c \
+@ENABLE_GLFW_TRUE@ rtbuf_music.c
deps_headers = ${include_HEADERS}
deps_sources = \
@@ -519,13 +578,13 @@ librtbuf.la: $(librtbuf_la_OBJECTS) $(librtbuf_la_DEPENDENCIES) $(EXTRA_librtbuf
$(AM_V_CCLD)$(LINK) -rpath $(libdir) $(librtbuf_la_OBJECTS) $(librtbuf_la_LIBADD) $(LIBS)
librtbuf_glfw3.la: $(librtbuf_glfw3_la_OBJECTS) $(librtbuf_glfw3_la_DEPENDENCIES) $(EXTRA_librtbuf_glfw3_la_DEPENDENCIES)
- $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(librtbuf_glfw3_la_OBJECTS) $(librtbuf_glfw3_la_LIBADD) $(LIBS)
+ $(AM_V_CCLD)$(librtbuf_glfw3_la_LINK) $(am_librtbuf_glfw3_la_rpath) $(librtbuf_glfw3_la_OBJECTS) $(librtbuf_glfw3_la_LIBADD) $(LIBS)
librtbuf_signal.la: $(librtbuf_signal_la_OBJECTS) $(librtbuf_signal_la_DEPENDENCIES) $(EXTRA_librtbuf_signal_la_DEPENDENCIES)
- $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(librtbuf_signal_la_OBJECTS) $(librtbuf_signal_la_LIBADD) $(LIBS)
+ $(AM_V_CCLD)$(LINK) $(am_librtbuf_signal_la_rpath) $(librtbuf_signal_la_OBJECTS) $(librtbuf_signal_la_LIBADD) $(LIBS)
librtbuf_sndio.la: $(librtbuf_sndio_la_OBJECTS) $(librtbuf_sndio_la_DEPENDENCIES) $(EXTRA_librtbuf_sndio_la_DEPENDENCIES)
- $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(librtbuf_sndio_la_OBJECTS) $(librtbuf_sndio_la_LIBADD) $(LIBS)
+ $(AM_V_CCLD)$(LINK) $(am_librtbuf_sndio_la_rpath) $(librtbuf_sndio_la_OBJECTS) $(librtbuf_sndio_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
@@ -576,16 +635,21 @@ clean-binPROGRAMS:
echo " rm -f" $$list; \
rm -f $$list
+rtbuf$(EXEEXT): $(rtbuf_OBJECTS) $(rtbuf_DEPENDENCIES) $(EXTRA_rtbuf_DEPENDENCIES)
+ @rm -f rtbuf$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(rtbuf_OBJECTS) $(rtbuf_LDADD) $(LIBS)
+
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librtbuf_glfw3_la-rtbuf_glfw3.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librtbuf_glfw3_la-rtbuf_music.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf_cli.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf_fun.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf_glfw3.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf_lib.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf_music.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rtbuf_signal.Plo@am__quote@
@@ -620,6 +684,20 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
+librtbuf_glfw3_la-rtbuf_glfw3.lo: rtbuf_glfw3.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librtbuf_glfw3_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT librtbuf_glfw3_la-rtbuf_glfw3.lo -MD -MP -MF $(DEPDIR)/librtbuf_glfw3_la-rtbuf_glfw3.Tpo -c -o librtbuf_glfw3_la-rtbuf_glfw3.lo `test -f 'rtbuf_glfw3.c' || echo '$(srcdir)/'`rtbuf_glfw3.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/librtbuf_glfw3_la-rtbuf_glfw3.Tpo $(DEPDIR)/librtbuf_glfw3_la-rtbuf_glfw3.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtbuf_glfw3.c' object='librtbuf_glfw3_la-rtbuf_glfw3.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librtbuf_glfw3_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o librtbuf_glfw3_la-rtbuf_glfw3.lo `test -f 'rtbuf_glfw3.c' || echo '$(srcdir)/'`rtbuf_glfw3.c
+
+librtbuf_glfw3_la-rtbuf_music.lo: rtbuf_music.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librtbuf_glfw3_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT librtbuf_glfw3_la-rtbuf_music.lo -MD -MP -MF $(DEPDIR)/librtbuf_glfw3_la-rtbuf_music.Tpo -c -o librtbuf_glfw3_la-rtbuf_music.lo `test -f 'rtbuf_music.c' || echo '$(srcdir)/'`rtbuf_music.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/librtbuf_glfw3_la-rtbuf_music.Tpo $(DEPDIR)/librtbuf_glfw3_la-rtbuf_music.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtbuf_music.c' object='librtbuf_glfw3_la-rtbuf_music.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librtbuf_glfw3_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o librtbuf_glfw3_la-rtbuf_music.lo `test -f 'rtbuf_music.c' || echo '$(srcdir)/'`rtbuf_music.c
+
mostlyclean-libtool:
-rm -f *.lo
@@ -1011,17 +1089,16 @@ uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
.PRECIOUS: Makefile
-rtbuf: librtbuf.la
-rtbuf_signal_type: rtbuf_signal_type.c rtbuf_signal.h
- ${CC} ${CFLAGS} ${CPPFLAGS} -o rtbuf_signal_type rtbuf_signal_type.c
-rtbuf_signal_type.h: rtbuf_signal_type
- ./rtbuf_signal_type > rtbuf_signal_type.h
+@ENABLE_SIGNAL_TRUE@rtbuf_signal_type: rtbuf_signal_type.c rtbuf_signal.h
+@ENABLE_SIGNAL_TRUE@ ${CC} ${CFLAGS} ${CPPFLAGS} -o rtbuf_signal_type rtbuf_signal_type.c
+@ENABLE_SIGNAL_TRUE@rtbuf_signal_type.h: rtbuf_signal_type
+@ENABLE_SIGNAL_TRUE@ ./rtbuf_signal_type > rtbuf_signal_type.h
-rtbuf_sndio_type: rtbuf_sndio_type.c rtbuf_sndio.h
- ${CC} ${CFLAGS} ${CPPFLAGS} -o rtbuf_sndio_type rtbuf_sndio_type.c
-rtbuf_sndio_type.h: rtbuf_sndio_type
- ./rtbuf_sndio_type > rtbuf_sndio_type.h
+@ENABLE_SNDIO_TRUE@rtbuf_sndio_type: rtbuf_sndio_type.c rtbuf_sndio.h
+@ENABLE_SNDIO_TRUE@ ${CC} ${CFLAGS} ${CPPFLAGS} -o rtbuf_sndio_type rtbuf_sndio_type.c
+@ENABLE_SNDIO_TRUE@rtbuf_sndio_type.h: rtbuf_sndio_type
+@ENABLE_SNDIO_TRUE@ ./rtbuf_sndio_type > rtbuf_sndio_type.h
dependencies.mk: ${deps_headers} ${deps_sources}
${CC} ${CPPFLAGS} ${CFLAGS} -M ${deps_sources} > dependencies.mk.1
diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1
index 035dce8..2336a80 100644
--- a/autom4te.cache/output.1
+++ b/autom4te.cache/output.1
@@ -638,6 +638,18 @@ LTLIBOBJS
LIB@&t@OBJS
DEBUG_FALSE
DEBUG_TRUE
+ENABLE_GLFW_FALSE
+ENABLE_GLFW_TRUE
+GLFW_LIBS
+ENABLE_SNDIO_FALSE
+ENABLE_SNDIO_TRUE
+SNDIO_LIBS
+ENABLE_SIGNAL_FALSE
+ENABLE_SIGNAL_TRUE
+SIGNAL_LIBS
+ENABLE_RTBUF_FALSE
+ENABLE_RTBUF_TRUE
+RTBUF_LIBS
CPP
OTOOL64
OTOOL
@@ -762,6 +774,7 @@ enable_fast_install
with_gnu_ld
with_sysroot
enable_libtool_lock
+enable_signal
enable_debug
'
ac_precious_vars='build_alias
@@ -1402,6 +1415,7 @@ Optional Features:
--enable-fast-install@<:@=PKGS@:>@
optimize for fast installation @<:@default=yes@:>@
--disable-libtool-lock avoid locking (might break parallel builds)
+ --enable-signal enable building librtbuf_signal, default: yes
--enable-debug enable debugging, default: yes
Optional Packages:
@@ -12250,6 +12264,14 @@ CC="$lt_save_CC"
+if test -d /usr/local/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+fi
+if test -d /usr/local/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+fi
+
+enable_rtbuf=true
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cli_init in -lcli" >&5
$as_echo_n "checking for cli_init in -lcli... " >&6; }
if ${ac_cv_lib_cli_cli_init+:} false; then :
@@ -12287,14 +12309,11 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cli_cli_init" >&5
$as_echo "$ac_cv_lib_cli_cli_init" >&6; }
if test "x$ac_cv_lib_cli_cli_init" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBCLI 1
-_ACEOF
-
- LIBS="-lcli $LIBS"
-
+ RTBUF_LIBS="$RTBUF_LIBS -lcli"
else
- as_fn_error $? "missing cli library" "$LINENO" 5
+ if test x"$enable_rtbuf" = x"true"; then
+ as_fn_error $? "missing libcli for rtbuf\"" "$LINENO" 5
+ fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
@@ -12334,17 +12353,84 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBPTHREAD 1
+ RTBUF_LIBS="$RTBUF_LIBS -lpthread"
+else
+ if test x"$enable_rtbuf" = x"true"; then
+ as_fn_error $? "missing libpthread for rtbuf\"" "$LINENO" 5
+ fi
+fi
+
+
+ if test x"$enable_rtbuf" = x"true"; then
+ ENABLE_RTBUF_TRUE=
+ ENABLE_RTBUF_FALSE='#'
+else
+ ENABLE_RTBUF_TRUE='#'
+ ENABLE_RTBUF_FALSE=
+fi
+
+
+enable_signal=true
+SIGNAL_LIBS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* 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 sin ();
+int
+main ()
+{
+return sin ();
+ ;
+ return 0;
+}
_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_sin=yes
+else
+ ac_cv_lib_m_sin=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+ SIGNAL_LIBS="$SIGNAL_LIBS -lm"
+fi
+
+@%:@ Check whether --enable-signal was given.
+if test "${enable_signal+set}" = set; then :
+ enableval=$enable_signal; case "${enableval}" in
+ no) enable_signal=false ;;
+ esac
+fi
- LIBS="-lpthread $LIBS"
+ if test x"$enable_signal" = x"true"; then
+ ENABLE_SIGNAL_TRUE=
+ ENABLE_SIGNAL_FALSE='#'
else
- as_fn_error $? "missing pthread library" "$LINENO" 5
+ ENABLE_SIGNAL_TRUE='#'
+ ENABLE_SIGNAL_FALSE=
fi
+enable_sndio=false
+SNDIO_LIBS=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sio_open in -lsndio" >&5
$as_echo_n "checking for sio_open in -lsndio... " >&6; }
if ${ac_cv_lib_sndio_sio_open+:} false; then :
@@ -12382,17 +12468,29 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sndio_sio_open" >&5
$as_echo "$ac_cv_lib_sndio_sio_open" >&6; }
if test "x$ac_cv_lib_sndio_sio_open" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBSNDIO 1
-_ACEOF
+ enable_sndio=true
+ SNDIO_LIBS=-lsndio
+fi
- LIBS="-lsndio $LIBS"
+ if test x"$enable_sndio" = x"true"; then
+ ENABLE_SNDIO_TRUE=
+ ENABLE_SNDIO_FALSE='#'
else
- as_fn_error $? "missing sndio library" "$LINENO" 5
+ ENABLE_SNDIO_TRUE='#'
+ ENABLE_SNDIO_FALSE=
fi
+if test -d /usr/X11R6/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
+fi
+if test -d /usr/X11R6/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
+fi
+
+enable_glfw=false
+GLFW_LIBS=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glfwSwapBuffers in -lglfw" >&5
$as_echo_n "checking for glfwSwapBuffers in -lglfw... " >&6; }
if ${ac_cv_lib_glfw_glfwSwapBuffers+:} false; then :
@@ -12430,14 +12528,17 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glfw_glfwSwapBuffers" >&5
$as_echo "$ac_cv_lib_glfw_glfwSwapBuffers" >&6; }
if test "x$ac_cv_lib_glfw_glfwSwapBuffers" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBGLFW 1
-_ACEOF
+ enable_glfw=true
+ GLFW_LIBS=-lglfw
+fi
- LIBS="-lglfw $LIBS"
+ if test x"$enable_glfw" = x"true"; then
+ ENABLE_GLFW_TRUE=
+ ENABLE_GLFW_FALSE='#'
else
- as_fn_error $? "missing glfw3 library" "$LINENO" 5
+ ENABLE_GLFW_TRUE='#'
+ ENABLE_GLFW_FALSE=
fi
@@ -12446,10 +12547,10 @@ fi
@%:@ Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then :
enableval=$enable_debug; case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5;;
- esac
+ yes) debug=true ;;
+ no) debug=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5;;
+ esac
else
debug=true
fi
@@ -12602,6 +12703,22 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${ENABLE_RTBUF_TRUE}" && test -z "${ENABLE_RTBUF_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_RTBUF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_SIGNAL_TRUE}" && test -z "${ENABLE_SIGNAL_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_SIGNAL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_SNDIO_TRUE}" && test -z "${ENABLE_SNDIO_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_SNDIO\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_GLFW_TRUE}" && test -z "${ENABLE_GLFW_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_GLFW\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
as_fn_error $? "conditional \"DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -14838,3 +14955,9 @@ fi
cat dependencies.mk >> Makefile
+
+echo "Building status :"
+echo " rtbuf $enable_rtbuf"
+echo " signal $enable_signal"
+echo " sndio $enable_sndio"
+echo " glfw $enable_glfw"
diff --git a/autom4te.cache/output.2 b/autom4te.cache/output.2
index 035dce8..2336a80 100644
--- a/autom4te.cache/output.2
+++ b/autom4te.cache/output.2
@@ -638,6 +638,18 @@ LTLIBOBJS
LIB@&t@OBJS
DEBUG_FALSE
DEBUG_TRUE
+ENABLE_GLFW_FALSE
+ENABLE_GLFW_TRUE
+GLFW_LIBS
+ENABLE_SNDIO_FALSE
+ENABLE_SNDIO_TRUE
+SNDIO_LIBS
+ENABLE_SIGNAL_FALSE
+ENABLE_SIGNAL_TRUE
+SIGNAL_LIBS
+ENABLE_RTBUF_FALSE
+ENABLE_RTBUF_TRUE
+RTBUF_LIBS
CPP
OTOOL64
OTOOL
@@ -762,6 +774,7 @@ enable_fast_install
with_gnu_ld
with_sysroot
enable_libtool_lock
+enable_signal
enable_debug
'
ac_precious_vars='build_alias
@@ -1402,6 +1415,7 @@ Optional Features:
--enable-fast-install@<:@=PKGS@:>@
optimize for fast installation @<:@default=yes@:>@
--disable-libtool-lock avoid locking (might break parallel builds)
+ --enable-signal enable building librtbuf_signal, default: yes
--enable-debug enable debugging, default: yes
Optional Packages:
@@ -12250,6 +12264,14 @@ CC="$lt_save_CC"
+if test -d /usr/local/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+fi
+if test -d /usr/local/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+fi
+
+enable_rtbuf=true
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cli_init in -lcli" >&5
$as_echo_n "checking for cli_init in -lcli... " >&6; }
if ${ac_cv_lib_cli_cli_init+:} false; then :
@@ -12287,14 +12309,11 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cli_cli_init" >&5
$as_echo "$ac_cv_lib_cli_cli_init" >&6; }
if test "x$ac_cv_lib_cli_cli_init" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBCLI 1
-_ACEOF
-
- LIBS="-lcli $LIBS"
-
+ RTBUF_LIBS="$RTBUF_LIBS -lcli"
else
- as_fn_error $? "missing cli library" "$LINENO" 5
+ if test x"$enable_rtbuf" = x"true"; then
+ as_fn_error $? "missing libcli for rtbuf\"" "$LINENO" 5
+ fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
@@ -12334,17 +12353,84 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBPTHREAD 1
+ RTBUF_LIBS="$RTBUF_LIBS -lpthread"
+else
+ if test x"$enable_rtbuf" = x"true"; then
+ as_fn_error $? "missing libpthread for rtbuf\"" "$LINENO" 5
+ fi
+fi
+
+
+ if test x"$enable_rtbuf" = x"true"; then
+ ENABLE_RTBUF_TRUE=
+ ENABLE_RTBUF_FALSE='#'
+else
+ ENABLE_RTBUF_TRUE='#'
+ ENABLE_RTBUF_FALSE=
+fi
+
+
+enable_signal=true
+SIGNAL_LIBS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* 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 sin ();
+int
+main ()
+{
+return sin ();
+ ;
+ return 0;
+}
_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_sin=yes
+else
+ ac_cv_lib_m_sin=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+ SIGNAL_LIBS="$SIGNAL_LIBS -lm"
+fi
+
+@%:@ Check whether --enable-signal was given.
+if test "${enable_signal+set}" = set; then :
+ enableval=$enable_signal; case "${enableval}" in
+ no) enable_signal=false ;;
+ esac
+fi
- LIBS="-lpthread $LIBS"
+ if test x"$enable_signal" = x"true"; then
+ ENABLE_SIGNAL_TRUE=
+ ENABLE_SIGNAL_FALSE='#'
else
- as_fn_error $? "missing pthread library" "$LINENO" 5
+ ENABLE_SIGNAL_TRUE='#'
+ ENABLE_SIGNAL_FALSE=
fi
+enable_sndio=false
+SNDIO_LIBS=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sio_open in -lsndio" >&5
$as_echo_n "checking for sio_open in -lsndio... " >&6; }
if ${ac_cv_lib_sndio_sio_open+:} false; then :
@@ -12382,17 +12468,29 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sndio_sio_open" >&5
$as_echo "$ac_cv_lib_sndio_sio_open" >&6; }
if test "x$ac_cv_lib_sndio_sio_open" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBSNDIO 1
-_ACEOF
+ enable_sndio=true
+ SNDIO_LIBS=-lsndio
+fi
- LIBS="-lsndio $LIBS"
+ if test x"$enable_sndio" = x"true"; then
+ ENABLE_SNDIO_TRUE=
+ ENABLE_SNDIO_FALSE='#'
else
- as_fn_error $? "missing sndio library" "$LINENO" 5
+ ENABLE_SNDIO_TRUE='#'
+ ENABLE_SNDIO_FALSE=
fi
+if test -d /usr/X11R6/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
+fi
+if test -d /usr/X11R6/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
+fi
+
+enable_glfw=false
+GLFW_LIBS=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glfwSwapBuffers in -lglfw" >&5
$as_echo_n "checking for glfwSwapBuffers in -lglfw... " >&6; }
if ${ac_cv_lib_glfw_glfwSwapBuffers+:} false; then :
@@ -12430,14 +12528,17 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glfw_glfwSwapBuffers" >&5
$as_echo "$ac_cv_lib_glfw_glfwSwapBuffers" >&6; }
if test "x$ac_cv_lib_glfw_glfwSwapBuffers" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBGLFW 1
-_ACEOF
+ enable_glfw=true
+ GLFW_LIBS=-lglfw
+fi
- LIBS="-lglfw $LIBS"
+ if test x"$enable_glfw" = x"true"; then
+ ENABLE_GLFW_TRUE=
+ ENABLE_GLFW_FALSE='#'
else
- as_fn_error $? "missing glfw3 library" "$LINENO" 5
+ ENABLE_GLFW_TRUE='#'
+ ENABLE_GLFW_FALSE=
fi
@@ -12446,10 +12547,10 @@ fi
@%:@ Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then :
enableval=$enable_debug; case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5;;
- esac
+ yes) debug=true ;;
+ no) debug=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5;;
+ esac
else
debug=true
fi
@@ -12602,6 +12703,22 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${ENABLE_RTBUF_TRUE}" && test -z "${ENABLE_RTBUF_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_RTBUF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_SIGNAL_TRUE}" && test -z "${ENABLE_SIGNAL_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_SIGNAL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_SNDIO_TRUE}" && test -z "${ENABLE_SNDIO_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_SNDIO\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_GLFW_TRUE}" && test -z "${ENABLE_GLFW_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_GLFW\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
as_fn_error $? "conditional \"DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -14838,3 +14955,9 @@ fi
cat dependencies.mk >> Makefile
+
+echo "Building status :"
+echo " rtbuf $enable_rtbuf"
+echo " signal $enable_signal"
+echo " sndio $enable_sndio"
+echo " glfw $enable_glfw"
diff --git a/autom4te.cache/requests b/autom4te.cache/requests
index a47e058..528b7ee 100644
--- a/autom4te.cache/requests
+++ b/autom4te.cache/requests
@@ -44,186 +44,186 @@
'configure.ac'
],
{
- 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
- '_LT_AC_TRY_DLOPEN_SELF' => 1,
- 'm4_include' => 1,
+ 'AC_LTDL_SHLIBEXT' => 1,
'LT_PROG_RC' => 1,
- '_LT_PROG_FC' => 1,
- 'AC_PATH_MAGIC' => 1,
- 'LT_PATH_LD' => 1,
- '_LT_AC_SYS_COMPILER' => 1,
- 'LT_AC_PROG_EGREP' => 1,
'_AM_DEPENDENCIES' => 1,
+ 'AM_RUN_LOG' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+ '_LT_LIBOBJ' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AC_PROG_NM' => 1,
+ 'LT_PATH_LD' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'LT_LIB_DLLOAD' => 1,
+ 'LT_FUNC_DLSYM_USCORE' => 1,
+ 'AC_LTDL_SHLIBPATH' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
- '_AM_PROG_CC_C_O' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
'AC_LTDL_SYSSEARCHPATH' => 1,
- 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
- 'LT_INIT' => 1,
- 'AC_ENABLE_STATIC' => 1,
- 'AM_MISSING_PROG' => 1,
- 'AC_DEFUN' => 1,
- 'AC_LIBTOOL_DLOPEN_SELF' => 1,
- 'LT_SYS_DLOPEN_SELF' => 1,
- '_AM_IF_OPTION' => 1,
- 'LTVERSION_VERSION' => 1,
- 'AC_LIBTOOL_F77' => 1,
- '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
- 'AC_LIBTOOL_GCJ' => 1,
- '_LT_AC_LANG_F77_CONFIG' => 1,
- 'AC_LIBTOOL_PICMODE' => 1,
- 'AC_LTDL_ENABLE_INSTALL' => 1,
- 'AC_LTDL_OBJDIR' => 1,
- 'LT_SYS_DLSEARCH_PATH' => 1,
- 'AC_LIBTOOL_OBJDIR' => 1,
- '_AM_SET_OPTION' => 1,
+ 'AC_ENABLE_SHARED' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- '_LT_CC_BASENAME' => 1,
- 'AC_LIBTOOL_PROG_CC_C_O' => 1,
- '_LT_REQUIRED_DARWIN_CHECKS' => 1,
- 'gl_FUNC_ARGZ' => 1,
- 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
- 'AM_SANITY_CHECK' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_LIB_LTDL' => 1,
'AM_SET_LEADING_DOT' => 1,
- 'AC_LIBTOOL_DLOPEN' => 1,
- 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
- 'AC_LTDL_SHLIBPATH' => 1,
- '_LT_AC_LOCK' => 1,
- 'AC_PROG_NM' => 1,
- 'AM_RUN_LOG' => 1,
- 'AC_PROG_LD_GNU' => 1,
- 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
- 'AC_LIBTOOL_RC' => 1,
- 'AM_DISABLE_SHARED' => 1,
- '_LT_PROG_CXX' => 1,
- 'LT_SYS_MODULE_PATH' => 1,
- 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
- 'AC_CHECK_LIBM' => 1,
- 'AC_ENABLE_SHARED' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
'LT_AC_PROG_GCJ' => 1,
- 'AC_LTDL_SYMBOL_USCORE' => 1,
- 'LT_OUTPUT' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'LT_LANG' => 1,
- 'AM_ENABLE_STATIC' => 1,
- '_LT_AC_CHECK_DLFCN' => 1,
- '_LT_AC_SYS_LIBPATH_AIX' => 1,
- 'AC_LIBTOOL_LINKER_OPTION' => 1,
- 'AC_LIBTOOL_COMPILER_OPTION' => 1,
- 'AC_DISABLE_SHARED' => 1,
- '_LT_AC_FILE_LTDLL_C' => 1,
- 'gl_PREREQ_ARGZ' => 1,
- 'LTSUGAR_VERSION' => 1,
- 'LTOPTIONS_VERSION' => 1,
- 'include' => 1,
- 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
- '_LT_AC_LANG_C_CONFIG' => 1,
- 'AM_SET_DEPDIR' => 1,
- 'LT_AC_PROG_RC' => 1,
- 'AC_LIBTOOL_CONFIG' => 1,
- 'LT_SYS_MODULE_EXT' => 1,
'AM_PROG_LIBTOOL' => 1,
- '_AC_PROG_LIBTOOL' => 1,
+ 'AC_LIBTOOL_PICMODE' => 1,
+ 'LT_AC_PROG_RC' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ 'LTOBSOLETE_VERSION' => 1,
+ '_LT_AC_LANG_CXX_CONFIG' => 1,
+ 'AC_LTDL_PREOPEN' => 1,
+ 'LTDL_INSTALLABLE' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
+ 'AM_MISSING_PROG' => 1,
'LT_WITH_LTDL' => 1,
- '_AM_CONFIG_MACRO_DIRS' => 1,
- '_LT_WITH_SYSROOT' => 1,
- 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
- 'AM_PROG_LD' => 1,
- 'LT_CMD_MAX_LEN' => 1,
- '_LT_LINKER_OPTION' => 1,
- '_LT_AC_SHELL_INIT' => 1,
- 'AC_LTDL_SHLIBEXT' => 1,
- 'AM_PROG_AR' => 1,
- 'AC_CONFIG_MACRO_DIR' => 1,
- '_LT_COMPILER_BOILERPLATE' => 1,
- 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
- 'AC_DISABLE_FAST_INSTALL' => 1,
- 'AM_PROG_INSTALL_STRIP' => 1,
- 'AC_LIBTOOL_CXX' => 1,
- 'AC_LTDL_DLSYM_USCORE' => 1,
- 'LT_LIB_DLLOAD' => 1,
- 'LT_PROG_GCJ' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ 'LT_SYS_DLOPEN_SELF' => 1,
+ '_LT_AC_LANG_GCJ' => 1,
+ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
'_LT_AC_PROG_CXXCPP' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ 'AC_LIBTOOL_F77' => 1,
+ 'AC_LIB_LTDL' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+ 'LTDL_INIT' => 1,
+ '_LT_PROG_ECHO_BACKSLASH' => 1,
'_LT_AC_LANG_CXX' => 1,
- '_LT_AC_LANG_RC_CONFIG' => 1,
- 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
'AC_LTDL_DLLIB' => 1,
- 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
- 'AC_PATH_TOOL_PREFIX' => 1,
- 'AM_DEP_TRACK' => 1,
- 'LTDL_CONVENIENCE' => 1,
- '_LTDL_SETUP' => 1,
- 'AC_PROG_LD_RELOAD_FLAG' => 1,
- 'AC_LIBLTDL_CONVENIENCE' => 1,
- '_LT_AC_LANG_CXX_CONFIG' => 1,
- '_AM_SET_OPTIONS' => 1,
- '_LT_AC_LANG_GCJ_CONFIG' => 1,
+ 'AC_LTDL_OBJDIR' => 1,
+ 'AC_PATH_MAGIC' => 1,
+ 'AC_CONFIG_MACRO_DIR' => 1,
+ 'AU_DEFUN' => 1,
+ '_LT_PROG_FC' => 1,
+ 'AC_CHECK_LIBM' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+ '_LT_PROG_LTMAIN' => 1,
'_AM_PROG_TAR' => 1,
- 'LT_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AM_DISABLE_SHARED' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ 'AM_PROG_AR' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ '_LT_LINKER_BOILERPLATE' => 1,
+ '_LT_LINKER_OPTION' => 1,
+ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ '_LT_AC_LANG_C_CONFIG' => 1,
+ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+ '_LT_WITH_SYSROOT' => 1,
'AM_SILENT_RULES' => 1,
- 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
- 'AM_ENABLE_SHARED' => 1,
- '_AC_AM_CONFIG_HEADER_HOOK' => 1,
- '_LT_AC_LANG_F77' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'AC_LIBTOOL_RC' => 1,
+ 'LTOPTIONS_VERSION' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ '_LT_AC_CHECK_DLFCN' => 1,
+ 'gl_PREREQ_ARGZ' => 1,
+ 'AC_LTDL_DLSYM_USCORE' => 1,
'AC_PROG_LD' => 1,
- 'LTOBSOLETE_VERSION' => 1,
- 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
+ 'LT_SYS_MODULE_EXT' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ 'AC_PROG_LD_RELOAD_FLAG' => 1,
+ 'LT_PATH_NM' => 1,
+ '_LT_PROG_CXX' => 1,
+ 'LT_LIB_M' => 1,
+ '_LT_REQUIRED_DARWIN_CHECKS' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ '_LT_PREPARE_SED_QUOTE_VARS' => 1,
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- 'AC_DEFUN_ONCE' => 1,
- '_LT_AC_LANG_GCJ' => 1,
- 'AM_PROG_NM' => 1,
- 'LT_FUNC_DLSYM_USCORE' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'AM_MISSING_HAS_RUN' => 1,
- '_LT_LINKER_BOILERPLATE' => 1,
- 'LT_AC_PROG_SED' => 1,
- 'AC_LIBTOOL_WIN32_DLL' => 1,
- '_LT_COMPILER_OPTION' => 1,
- 'LTDL_INSTALLABLE' => 1,
'AC_PROG_EGREP' => 1,
- 'AC_LIBTOOL_FC' => 1,
- '_m4_warn' => 1,
- 'AC_DISABLE_STATIC' => 1,
- 'AC_LTDL_PREOPEN' => 1,
+ 'AM_PROG_LD' => 1,
+ 'LT_SYS_DLSEARCH_PATH' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+ 'AC_LTDL_ENABLE_INSTALL' => 1,
+ '_AM_SET_OPTION' => 1,
+ '_LT_AC_LOCK' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
+ 'LT_AC_PROG_EGREP' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AM_SUBST_NOTMAKE' => 1,
- 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
- 'AU_DEFUN' => 1,
- 'AC_WITH_LTDL' => 1,
+ 'AM_MAKE_INCLUDE' => 1,
+ 'AC_LIBLTDL_CONVENIENCE' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AM_DEP_TRACK' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
'LT_SUPPORTED_TAG' => 1,
- 'LT_SYS_SYMBOL_USCORE' => 1,
- '_LT_LIBOBJ' => 1,
+ 'AC_WITH_LTDL' => 1,
+ '_LT_COMPILER_OPTION' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ 'LT_LANG' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
'AM_DISABLE_STATIC' => 1,
- 'AM_MAKE_INCLUDE' => 1,
'_LT_PROG_F77' => 1,
- 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
- 'AM_CONDITIONAL' => 1,
- 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
- 'LT_LIB_M' => 1,
- 'm4_pattern_forbid' => 1,
- 'LTDL_INIT' => 1,
- 'AM_AUX_DIR_EXPAND' => 1,
- 'AC_LIBLTDL_INSTALLABLE' => 1,
'm4_pattern_allow' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ 'LTSUGAR_VERSION' => 1,
+ '_AM_IF_OPTION' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'LT_CMD_MAX_LEN' => 1,
+ 'AC_DEFUN_ONCE' => 1,
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
- '_LT_PROG_LTMAIN' => 1,
- 'LT_PATH_NM' => 1,
- 'LT_PROG_GO' => 1,
- 'AC_LIBTOOL_SETUP' => 1,
+ 'LTVERSION_VERSION' => 1,
+ '_AM_PROG_CC_C_O' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
+ 'LT_SYS_SYMBOL_USCORE' => 1,
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ 'LT_INIT' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'LT_SYS_MODULE_PATH' => 1,
+ 'LT_OUTPUT' => 1,
+ '_AM_CONFIG_MACRO_DIRS' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ 'AC_LIBLTDL_INSTALLABLE' => 1,
+ 'LT_PROG_GCJ' => 1,
+ '_LT_AC_LANG_GCJ_CONFIG' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ 'AM_ENABLE_SHARED' => 1,
+ 'include' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
+ 'AC_LIBTOOL_OBJDIR' => 1,
+ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+ '_LT_CC_BASENAME' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ 'AC_DEFUN' => 1,
+ 'AC_LIBTOOL_FC' => 1,
+ '_m4_warn' => 1,
+ 'LTDL_CONVENIENCE' => 1,
'_LT_AC_TAGVAR' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
+ 'm4_include' => 1,
+ 'AM_PROG_NM' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
'_LT_PATH_TOOL_PREFIX' => 1,
- 'AM_PROG_INSTALL_SH' => 1,
- 'AC_DEPLIBS_CHECK_METHOD' => 1,
- '_LT_PREPARE_SED_QUOTE_VARS' => 1,
- '_AM_MANGLE_OPTION' => 1,
- 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
'AC_ENABLE_FAST_INSTALL' => 1,
- '_LT_PROG_ECHO_BACKSLASH' => 1,
- '_AM_AUTOCONF_VERSION' => 1
+ 'gl_FUNC_ARGZ' => 1,
+ '_LTDL_SETUP' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ 'AC_LTDL_SYMBOL_USCORE' => 1,
+ 'LT_PROG_GO' => 1,
+ 'AC_LIBTOOL_CONFIG' => 1,
+ 'LT_SYS_DLOPEN_DEPLIBS' => 1
}
], 'Autom4te::Request' ),
bless( [
@@ -240,65 +240,65 @@
'configure.ac'
],
{
- 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
- 'AM_GNU_GETTEXT' => 1,
- 'm4_pattern_forbid' => 1,
- '_AM_MAKEFILE_INCLUDE' => 1,
- 'AM_PROG_FC_C_O' => 1,
- 'AM_CONDITIONAL' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_SUBST_TRACE' => 1,
- '_m4_warn' => 1,
- '_AM_COND_ENDIF' => 1,
- 'AC_CONFIG_HEADERS' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
- 'LT_SUPPORTED_TAG' => 1,
+ 'AC_CANONICAL_SYSTEM' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
+ 'm4_pattern_forbid' => 1,
'LT_INIT' => 1,
- 'AC_CONFIG_SUBDIRS' => 1,
- '_AM_COND_IF' => 1,
- 'AM_PROG_F77_C_O' => 1,
- 'AM_MAKEFILE_INCLUDE' => 1,
'AC_FC_FREEFORM' => 1,
- 'AM_PROG_MOC' => 1,
'sinclude' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'AM_MAKEFILE_INCLUDE' => 1,
+ 'AC_FC_PP_DEFINE' => 1,
'_AM_SUBST_NOTMAKE' => 1,
- 'AC_FC_SRCEXT' => 1,
- 'AM_NLS' => 1,
- 'm4_include' => 1,
- 'AM_PROG_MKDIR_P' => 1,
- 'AC_CANONICAL_TARGET' => 1,
- 'AM_ENABLE_MULTILIB' => 1,
- 'AC_CONFIG_LINKS' => 1,
- 'AC_SUBST' => 1,
- 'AC_INIT' => 1,
+ 'AC_SUBST_TRACE' => 1,
'AM_MAINTAINER_MODE' => 1,
- 'AM_PATH_GUILE' => 1,
+ 'AM_PROG_MOC' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AM_GNU_GETTEXT' => 1,
+ 'AC_INIT' => 1,
+ 'AM_PROG_F77_C_O' => 1,
+ 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+ 'AC_CONFIG_SUBDIRS' => 1,
'AC_CONFIG_AUX_DIR' => 1,
+ 'm4_pattern_allow' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AH_OUTPUT' => 1,
+ '_AM_COND_IF' => 1,
+ 'AC_CONFIG_HEADERS' => 1,
+ '_AM_COND_ENDIF' => 1,
'_LT_AC_TAGCONFIG' => 1,
- 'AM_XGETTEXT_OPTION' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'AM_PROG_CXX_C_O' => 1,
+ 'm4_include' => 1,
+ 'AC_SUBST' => 1,
+ 'AM_PATH_GUILE' => 1,
+ '_m4_warn' => 1,
+ 'AC_CANONICAL_TARGET' => 1,
+ 'AC_FC_PP_SRCEXT' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AM_ENABLE_MULTILIB' => 1,
'AC_CANONICAL_BUILD' => 1,
- 'AM_POT_TOOLS' => 1,
- 'AC_LIBSOURCE' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
+ 'AC_CONFIG_FILES' => 1,
'AM_PROG_AR' => 1,
- 'AC_CANONICAL_SYSTEM' => 1,
+ 'AM_XGETTEXT_OPTION' => 1,
+ 'AC_FC_SRCEXT' => 1,
+ 'AC_LIBSOURCE' => 1,
'm4_sinclude' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
+ '_AM_MAKEFILE_INCLUDE' => 1,
+ 'AC_CONFIG_LINKS' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
+ 'AM_PROG_FC_C_O' => 1,
'AC_CANONICAL_HOST' => 1,
- 'AM_SILENT_RULES' => 1,
- 'AC_DEFINE_TRACE_LITERAL' => 1,
- 'AH_OUTPUT' => 1,
- 'AC_FC_PP_SRCEXT' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
'include' => 1,
- 'm4_pattern_allow' => 1,
- 'AC_FC_PP_DEFINE' => 1,
'_AM_COND_ELSE' => 1,
- 'AC_CONFIG_FILES' => 1
+ 'AM_PROG_CXX_C_O' => 1,
+ 'AM_NLS' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AM_POT_TOOLS' => 1,
+ 'AC_DEFINE_TRACE_LITERAL' => 1
}
], 'Autom4te::Request' ),
bless( [
@@ -342,186 +342,186 @@
'configure.ac'
],
{
+ 'AM_SANITY_CHECK' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'LT_AC_PROG_RC' => 1,
'AC_LIBTOOL_PICMODE' => 1,
- 'AC_LTDL_ENABLE_INSTALL' => 1,
- 'LT_SYS_DLSEARCH_PATH' => 1,
- 'AC_LTDL_OBJDIR' => 1,
- '_AM_SET_OPTION' => 1,
- 'AC_LIBTOOL_OBJDIR' => 1,
- '_LT_CC_BASENAME' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ 'LT_AC_PROG_GCJ' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- 'gl_FUNC_ARGZ' => 1,
- '_LT_REQUIRED_DARWIN_CHECKS' => 1,
- 'AC_LIBTOOL_PROG_CC_C_O' => 1,
- 'AM_SANITY_CHECK' => 1,
- 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
- 'AC_LIBTOOL_DLOPEN' => 1,
'AM_SET_LEADING_DOT' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_LIB_LTDL' => 1,
- '_AM_IF_OPTION' => 1,
- 'LTVERSION_VERSION' => 1,
- 'AC_LIBTOOL_F77' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
- '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
- '_LT_AC_LANG_F77_CONFIG' => 1,
- 'AC_LIBTOOL_GCJ' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- '_AM_PROG_CC_C_O' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ 'AC_ENABLE_SHARED' => 1,
'AC_LTDL_SYSSEARCHPATH' => 1,
- 'AC_ENABLE_STATIC' => 1,
- 'LT_INIT' => 1,
- 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
- 'AC_DEFUN' => 1,
'AM_MISSING_PROG' => 1,
- 'AC_LIBTOOL_DLOPEN_SELF' => 1,
- 'LT_SYS_DLOPEN_SELF' => 1,
- 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
- '_LT_AC_TRY_DLOPEN_SELF' => 1,
- 'm4_include' => 1,
- 'LT_PROG_RC' => 1,
- '_LT_AC_SYS_COMPILER' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'LTDL_INSTALLABLE' => 1,
+ 'AC_LTDL_PREOPEN' => 1,
+ 'LTOBSOLETE_VERSION' => 1,
+ '_LT_AC_LANG_CXX_CONFIG' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ 'AC_PROG_NM' => 1,
'LT_PATH_LD' => 1,
- '_LT_PROG_FC' => 1,
- 'AC_PATH_MAGIC' => 1,
- 'LT_AC_PROG_EGREP' => 1,
- 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+ 'AM_CONDITIONAL' => 1,
+ '_LT_LIBOBJ' => 1,
+ 'AM_RUN_LOG' => 1,
'_AM_DEPENDENCIES' => 1,
- '_LT_WITH_SYSROOT' => 1,
- '_AM_CONFIG_MACRO_DIRS' => 1,
- 'LT_CMD_MAX_LEN' => 1,
- '_LT_LINKER_OPTION' => 1,
- 'AM_PROG_LD' => 1,
- 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+ 'LT_PROG_RC' => 1,
'AC_LTDL_SHLIBEXT' => 1,
- '_LT_AC_SHELL_INIT' => 1,
- 'AM_PROG_AR' => 1,
- 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
- '_LT_COMPILER_BOILERPLATE' => 1,
- 'AC_CONFIG_MACRO_DIR' => 1,
- 'AM_PROG_INSTALL_STRIP' => 1,
- 'AC_LTDL_DLSYM_USCORE' => 1,
- 'AC_LIBTOOL_CXX' => 1,
- 'AC_DISABLE_FAST_INSTALL' => 1,
- 'include' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AC_LTDL_SHLIBPATH' => 1,
+ 'LT_FUNC_DLSYM_USCORE' => 1,
+ 'LT_LIB_DLLOAD' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'AC_LIBTOOL_RC' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ 'AM_SILENT_RULES' => 1,
+ '_LT_WITH_SYSROOT' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
'_LT_AC_LANG_C_CONFIG' => 1,
- 'AM_SET_DEPDIR' => 1,
- 'LT_AC_PROG_RC' => 1,
'LT_SYS_MODULE_EXT' => 1,
- 'AC_LIBTOOL_CONFIG' => 1,
- 'AM_PROG_LIBTOOL' => 1,
- '_AC_PROG_LIBTOOL' => 1,
- 'LT_WITH_LTDL' => 1,
- 'LT_AC_PROG_GCJ' => 1,
- 'AC_LTDL_SYMBOL_USCORE' => 1,
- 'LT_OUTPUT' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'AM_ENABLE_STATIC' => 1,
- '_LT_AC_CHECK_DLFCN' => 1,
- 'LT_LANG' => 1,
- 'AC_LIBTOOL_LINKER_OPTION' => 1,
- '_LT_AC_SYS_LIBPATH_AIX' => 1,
- 'LTSUGAR_VERSION' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
+ 'AC_PROG_LD' => 1,
+ 'AC_LTDL_DLSYM_USCORE' => 1,
'gl_PREREQ_ARGZ' => 1,
- 'AC_LIBTOOL_COMPILER_OPTION' => 1,
- '_LT_AC_FILE_LTDLL_C' => 1,
- 'AC_DISABLE_SHARED' => 1,
+ '_LT_AC_CHECK_DLFCN' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
'LTOPTIONS_VERSION' => 1,
- 'AC_LTDL_SHLIBPATH' => 1,
- '_LT_AC_LOCK' => 1,
- 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
- 'AC_PROG_NM' => 1,
- 'AC_PROG_LD_GNU' => 1,
- 'AC_LIBTOOL_RC' => 1,
+ '_LT_PROG_FC' => 1,
+ 'AU_DEFUN' => 1,
+ 'AC_PATH_MAGIC' => 1,
+ 'AC_CONFIG_MACRO_DIR' => 1,
+ 'AC_LTDL_OBJDIR' => 1,
+ '_LT_AC_LANG_CXX' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
+ 'AC_LTDL_DLLIB' => 1,
+ '_LT_PROG_ECHO_BACKSLASH' => 1,
+ 'LTDL_INIT' => 1,
+ 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AC_LIB_LTDL' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ '_LT_AC_PROG_CXXCPP' => 1,
+ 'AC_LIBTOOL_F77' => 1,
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
- 'AM_RUN_LOG' => 1,
- '_LT_PROG_CXX' => 1,
- 'AM_DISABLE_SHARED' => 1,
- 'LT_SYS_MODULE_PATH' => 1,
+ '_LT_AC_LANG_GCJ' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ 'LT_SYS_DLOPEN_SELF' => 1,
+ 'LT_WITH_LTDL' => 1,
+ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ '_LT_LINKER_OPTION' => 1,
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ '_LT_LINKER_BOILERPLATE' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ 'AM_PROG_AR' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ 'AM_DISABLE_SHARED' => 1,
+ '_LT_PROG_LTMAIN' => 1,
+ '_AM_PROG_TAR' => 1,
'AC_CHECK_LIBM' => 1,
- 'AC_ENABLE_SHARED' => 1,
- '_LT_AC_LANG_F77' => 1,
- '_AC_AM_CONFIG_HEADER_HOOK' => 1,
- 'AM_ENABLE_SHARED' => 1,
- 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
- 'AC_PROG_LD' => 1,
- 'LTOBSOLETE_VERSION' => 1,
- 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
- 'AM_PROG_NM' => 1,
- 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
'AC_DEFUN_ONCE' => 1,
- '_LT_AC_LANG_GCJ' => 1,
- 'AM_MISSING_HAS_RUN' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'LT_FUNC_DLSYM_USCORE' => 1,
- '_LT_LINKER_BOILERPLATE' => 1,
- 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
- 'AC_PATH_TOOL_PREFIX' => 1,
- 'AM_DEP_TRACK' => 1,
- 'LTDL_CONVENIENCE' => 1,
- '_LTDL_SETUP' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'LT_CMD_MAX_LEN' => 1,
+ '_AM_IF_OPTION' => 1,
+ 'm4_pattern_allow' => 1,
+ 'LTSUGAR_VERSION' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ '_LT_PROG_F77' => 1,
+ 'AM_DISABLE_STATIC' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'LT_INIT' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'LT_SYS_SYMBOL_USCORE' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ '_AM_PROG_CC_C_O' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'LTVERSION_VERSION' => 1,
+ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'LT_SYS_DLSEARCH_PATH' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+ 'AC_LTDL_ENABLE_INSTALL' => 1,
+ 'AM_PROG_LD' => 1,
+ 'AC_PROG_EGREP' => 1,
+ '_LT_PREPARE_SED_QUOTE_VARS' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ '_LT_REQUIRED_DARWIN_CHECKS' => 1,
+ 'LT_LIB_M' => 1,
+ 'LT_PATH_NM' => 1,
'AC_PROG_LD_RELOAD_FLAG' => 1,
+ '_LT_PROG_CXX' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ 'LT_LANG' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ '_LT_COMPILER_OPTION' => 1,
+ 'AC_WITH_LTDL' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
+ 'AM_DEP_TRACK' => 1,
+ 'AM_SUBST_NOTMAKE' => 1,
'AC_LIBLTDL_CONVENIENCE' => 1,
- '_AM_PROG_TAR' => 1,
- '_LT_AC_LANG_GCJ_CONFIG' => 1,
- '_AM_SET_OPTIONS' => 1,
- '_LT_AC_LANG_CXX_CONFIG' => 1,
- 'AM_SILENT_RULES' => 1,
- 'LT_SYS_DLOPEN_DEPLIBS' => 1,
- '_LT_AC_LANG_CXX' => 1,
- '_LT_AC_LANG_RC_CONFIG' => 1,
- 'AC_LTDL_DLLIB' => 1,
- 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
- 'LT_LIB_DLLOAD' => 1,
- 'LT_PROG_GCJ' => 1,
- '_LT_AC_PROG_CXXCPP' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
- 'AC_LIBTOOL_SETUP' => 1,
- '_LT_AC_TAGVAR' => 1,
+ 'AM_MAKE_INCLUDE' => 1,
'AM_AUTOMAKE_VERSION' => 1,
- 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'LT_AC_PROG_EGREP' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
+ '_LT_AC_LOCK' => 1,
'_LT_PATH_TOOL_PREFIX' => 1,
- 'AM_PROG_INSTALL_SH' => 1,
- '_LT_PREPARE_SED_QUOTE_VARS' => 1,
- '_AM_AUTOCONF_VERSION' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AM_PROG_NM' => 1,
+ 'm4_include' => 1,
+ '_LT_AC_TAGVAR' => 1,
+ 'AC_LIBTOOL_CONFIG' => 1,
+ 'LT_SYS_DLOPEN_DEPLIBS' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ 'AC_LTDL_SYMBOL_USCORE' => 1,
+ 'LT_PROG_GO' => 1,
+ '_LTDL_SETUP' => 1,
+ 'gl_FUNC_ARGZ' => 1,
'AC_ENABLE_FAST_INSTALL' => 1,
- '_LT_PROG_ECHO_BACKSLASH' => 1,
- '_AM_MANGLE_OPTION' => 1,
- 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
- 'm4_pattern_allow' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
+ 'AC_LIBTOOL_OBJDIR' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ 'include' => 1,
+ 'AM_ENABLE_SHARED' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ '_LT_AC_LANG_GCJ_CONFIG' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
'AC_LIBLTDL_INSTALLABLE' => 1,
- 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
- '_LT_PROG_LTMAIN' => 1,
- 'LT_PATH_NM' => 1,
- 'LT_PROG_GO' => 1,
+ 'LT_PROG_GCJ' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ '_AM_CONFIG_MACRO_DIRS' => 1,
+ 'LT_OUTPUT' => 1,
+ 'LT_SYS_MODULE_PATH' => 1,
+ 'LTDL_CONVENIENCE' => 1,
'_m4_warn' => 1,
- 'AC_LTDL_PREOPEN' => 1,
- 'AM_SUBST_NOTMAKE' => 1,
- 'AC_DISABLE_STATIC' => 1,
- 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
- 'LT_SUPPORTED_TAG' => 1,
- 'LT_SYS_SYMBOL_USCORE' => 1,
- 'AC_WITH_LTDL' => 1,
- 'AU_DEFUN' => 1,
- 'AM_MAKE_INCLUDE' => 1,
- '_LT_PROG_F77' => 1,
- 'AM_DISABLE_STATIC' => 1,
- '_LT_LIBOBJ' => 1,
+ 'AC_LIBTOOL_FC' => 1,
+ 'AC_DEFUN' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
- 'm4_pattern_forbid' => 1,
- 'AM_CONDITIONAL' => 1,
- 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
- 'LT_LIB_M' => 1,
- 'AM_AUX_DIR_EXPAND' => 1,
- 'LTDL_INIT' => 1,
- 'LT_AC_PROG_SED' => 1,
- 'AC_LIBTOOL_WIN32_DLL' => 1,
- '_LT_COMPILER_OPTION' => 1,
- 'LTDL_INSTALLABLE' => 1,
- 'AC_PROG_EGREP' => 1,
- 'AC_LIBTOOL_FC' => 1
+ '_LT_CC_BASENAME' => 1
}
], 'Autom4te::Request' ),
bless( [
@@ -560,177 +560,177 @@
'configure.ac'
],
{
- 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
- 'AM_SANITY_CHECK' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_LIB_LTDL' => 1,
- 'AM_SET_LEADING_DOT' => 1,
- 'AC_LIBTOOL_DLOPEN' => 1,
- '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- '_LT_CC_BASENAME' => 1,
- 'AC_LIBTOOL_PROG_CC_C_O' => 1,
- 'gl_FUNC_ARGZ' => 1,
- '_LT_REQUIRED_DARWIN_CHECKS' => 1,
- 'AC_LTDL_OBJDIR' => 1,
- 'LT_SYS_DLSEARCH_PATH' => 1,
- '_AM_SET_OPTION' => 1,
- 'AC_LIBTOOL_OBJDIR' => 1,
- 'AC_LIBTOOL_PICMODE' => 1,
- 'AC_LTDL_ENABLE_INSTALL' => 1,
- 'AC_LIBTOOL_GCJ' => 1,
- '_LT_AC_LANG_F77_CONFIG' => 1,
- 'AC_LIBTOOL_F77' => 1,
- '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
- 'LTVERSION_VERSION' => 1,
- '_AM_IF_OPTION' => 1,
- 'LT_SYS_DLOPEN_SELF' => 1,
- 'AC_LIBTOOL_DLOPEN_SELF' => 1,
- 'LT_INIT' => 1,
- 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
- 'AC_ENABLE_STATIC' => 1,
- 'AM_MISSING_PROG' => 1,
- 'AC_DEFUN' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_LTDL_SYSSEARCHPATH' => 1,
- 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
- '_AM_DEPENDENCIES' => 1,
'_LT_PROG_FC' => 1,
+ 'AU_DEFUN' => 1,
'AC_PATH_MAGIC' => 1,
- 'LT_PATH_LD' => 1,
- '_LT_AC_SYS_COMPILER' => 1,
- 'LT_AC_PROG_EGREP' => 1,
- 'LT_PROG_RC' => 1,
- 'm4_include' => 1,
- 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
- '_LT_AC_TRY_DLOPEN_SELF' => 1,
- '_LT_COMPILER_BOILERPLATE' => 1,
- 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
- 'AC_DISABLE_FAST_INSTALL' => 1,
- 'AC_LIBTOOL_CXX' => 1,
- 'AC_LTDL_DLSYM_USCORE' => 1,
- 'AM_PROG_INSTALL_STRIP' => 1,
- '_LT_AC_SHELL_INIT' => 1,
- 'AC_LTDL_SHLIBEXT' => 1,
- '_LT_WITH_SYSROOT' => 1,
- 'AM_PROG_LD' => 1,
+ 'AC_LTDL_OBJDIR' => 1,
+ '_LT_AC_LANG_CXX' => 1,
+ 'AC_LTDL_DLLIB' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
+ 'LTDL_INIT' => 1,
+ '_LT_PROG_ECHO_BACKSLASH' => 1,
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
- 'LT_CMD_MAX_LEN' => 1,
- '_LT_LINKER_OPTION' => 1,
+ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
+ 'AC_LIBTOOL_F77' => 1,
+ '_LT_AC_PROG_CXXCPP' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AC_LIB_LTDL' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ 'LT_SYS_DLOPEN_SELF' => 1,
'LT_WITH_LTDL' => 1,
- 'AC_LIBTOOL_CONFIG' => 1,
- 'LT_SYS_MODULE_EXT' => 1,
- 'AM_PROG_LIBTOOL' => 1,
- '_AC_PROG_LIBTOOL' => 1,
+ '_LT_AC_LANG_GCJ' => 1,
+ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ '_LT_LINKER_OPTION' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ '_LT_LINKER_BOILERPLATE' => 1,
+ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ 'AM_DISABLE_SHARED' => 1,
+ '_LT_PROG_LTMAIN' => 1,
+ '_AM_PROG_TAR' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+ 'AC_CHECK_LIBM' => 1,
'AM_SET_DEPDIR' => 1,
- 'LT_AC_PROG_RC' => 1,
- 'include' => 1,
- 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ 'AC_LIBTOOL_RC' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ '_LT_WITH_SYSROOT' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
'_LT_AC_LANG_C_CONFIG' => 1,
- 'AC_DISABLE_SHARED' => 1,
- 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ 'LT_SYS_MODULE_EXT' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
'gl_PREREQ_ARGZ' => 1,
- '_LT_AC_FILE_LTDLL_C' => 1,
- 'LTSUGAR_VERSION' => 1,
- 'LTOPTIONS_VERSION' => 1,
+ 'AC_LTDL_DLSYM_USCORE' => 1,
+ 'AC_PROG_LD' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
'_LT_AC_CHECK_DLFCN' => 1,
- 'AM_ENABLE_STATIC' => 1,
- 'LT_LANG' => 1,
- 'AC_LIBTOOL_LINKER_OPTION' => 1,
- '_LT_AC_SYS_LIBPATH_AIX' => 1,
- 'LT_OUTPUT' => 1,
- 'LT_AC_PROG_GCJ' => 1,
- 'AC_LTDL_SYMBOL_USCORE' => 1,
- 'LT_SYS_MODULE_PATH' => 1,
- 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
- 'AC_CHECK_LIBM' => 1,
- 'AC_ENABLE_SHARED' => 1,
- 'AM_DISABLE_SHARED' => 1,
- '_LT_PROG_CXX' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
+ 'LTOPTIONS_VERSION' => 1,
+ 'AC_PROG_NM' => 1,
+ 'LT_PATH_LD' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+ '_LT_LIBOBJ' => 1,
+ 'AM_CONDITIONAL' => 1,
'AM_RUN_LOG' => 1,
- 'AC_PROG_LD_GNU' => 1,
- 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
- 'AC_LIBTOOL_RC' => 1,
- 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ 'AC_LTDL_SHLIBEXT' => 1,
+ '_AM_DEPENDENCIES' => 1,
+ 'LT_PROG_RC' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
'AC_LTDL_SHLIBPATH' => 1,
- '_LT_AC_LOCK' => 1,
- 'AC_PROG_NM' => 1,
- 'AC_PROG_LIBTOOL' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'LT_LIB_DLLOAD' => 1,
'LT_FUNC_DLSYM_USCORE' => 1,
- 'AM_MISSING_HAS_RUN' => 1,
- '_LT_LINKER_BOILERPLATE' => 1,
- 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- '_LT_AC_LANG_GCJ' => 1,
- 'AC_DEFUN_ONCE' => 1,
- 'AM_PROG_NM' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ 'LT_AC_PROG_RC' => 1,
+ 'AC_LIBTOOL_PICMODE' => 1,
+ 'LT_AC_PROG_GCJ' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
+ 'AC_LTDL_SYSSEARCHPATH' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ 'AC_ENABLE_SHARED' => 1,
+ 'AM_MISSING_PROG' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
+ 'AC_LTDL_PREOPEN' => 1,
+ 'LTDL_INSTALLABLE' => 1,
'LTOBSOLETE_VERSION' => 1,
- 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
- 'AM_ENABLE_SHARED' => 1,
- '_LT_AC_LANG_F77' => 1,
- '_AC_AM_CONFIG_HEADER_HOOK' => 1,
- 'AC_PROG_LD' => 1,
'_LT_AC_LANG_CXX_CONFIG' => 1,
- '_AM_SET_OPTIONS' => 1,
- '_AM_PROG_TAR' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ 'AC_LIBTOOL_OBJDIR' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
+ 'AM_ENABLE_SHARED' => 1,
+ 'include' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ 'LT_PROG_GCJ' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ 'AC_LIBLTDL_INSTALLABLE' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
'_LT_AC_LANG_GCJ_CONFIG' => 1,
- 'LT_SYS_DLOPEN_DEPLIBS' => 1,
- '_LTDL_SETUP' => 1,
- 'AC_PROG_LD_RELOAD_FLAG' => 1,
- 'AC_LIBLTDL_CONVENIENCE' => 1,
+ 'LT_OUTPUT' => 1,
+ 'LT_SYS_MODULE_PATH' => 1,
+ '_m4_warn' => 1,
'LTDL_CONVENIENCE' => 1,
- 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
- 'AM_DEP_TRACK' => 1,
- 'AC_PATH_TOOL_PREFIX' => 1,
- 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
- 'AC_LTDL_DLLIB' => 1,
- '_LT_AC_LANG_CXX' => 1,
- '_LT_AC_LANG_RC_CONFIG' => 1,
- 'LT_PROG_GCJ' => 1,
- '_LT_AC_PROG_CXXCPP' => 1,
- 'AM_PROG_MKDIR_P' => 1,
- 'LT_LIB_DLLOAD' => 1,
- '_LT_PREPARE_SED_QUOTE_VARS' => 1,
- '_AM_MANGLE_OPTION' => 1,
- 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
- 'AC_ENABLE_FAST_INSTALL' => 1,
- '_LT_PROG_ECHO_BACKSLASH' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'AM_PROG_INSTALL_SH' => 1,
+ 'AC_LIBTOOL_FC' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ 'AC_DEFUN' => 1,
+ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+ '_LT_CC_BASENAME' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
'_LT_PATH_TOOL_PREFIX' => 1,
- 'AC_DEPLIBS_CHECK_METHOD' => 1,
- 'AC_LIBTOOL_SETUP' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AM_PROG_NM' => 1,
'_LT_AC_TAGVAR' => 1,
+ 'm4_include' => 1,
+ 'AC_LIBTOOL_CONFIG' => 1,
+ 'LT_SYS_DLOPEN_DEPLIBS' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ 'AC_LTDL_SYMBOL_USCORE' => 1,
'LT_PROG_GO' => 1,
+ '_LTDL_SETUP' => 1,
+ 'gl_FUNC_ARGZ' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
+ 'AC_ENABLE_FAST_INSTALL' => 1,
+ 'AC_LTDL_ENABLE_INSTALL' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'LT_SYS_DLSEARCH_PATH' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+ 'AM_PROG_LD' => 1,
+ 'AC_PROG_EGREP' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ '_LT_PREPARE_SED_QUOTE_VARS' => 1,
+ '_LT_REQUIRED_DARWIN_CHECKS' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ '_LT_PROG_CXX' => 1,
+ 'AC_PROG_LD_RELOAD_FLAG' => 1,
'LT_PATH_NM' => 1,
- 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
- '_LT_PROG_LTMAIN' => 1,
- 'AC_LIBLTDL_INSTALLABLE' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_CONDITIONAL' => 1,
'LT_LIB_M' => 1,
- 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
- 'm4_pattern_forbid' => 1,
- 'LTDL_INIT' => 1,
- 'AM_AUX_DIR_EXPAND' => 1,
- '_LT_LIBOBJ' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ '_LT_COMPILER_OPTION' => 1,
+ 'LT_LANG' => 1,
+ 'AC_WITH_LTDL' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AM_MAKE_INCLUDE' => 1,
+ 'AC_LIBLTDL_CONVENIENCE' => 1,
+ 'AM_DEP_TRACK' => 1,
+ 'LT_AC_PROG_EGREP' => 1,
+ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ '_LT_AC_LOCK' => 1,
+ 'AC_DEFUN_ONCE' => 1,
+ 'LT_CMD_MAX_LEN' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'LTSUGAR_VERSION' => 1,
+ 'm4_pattern_allow' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ '_AM_IF_OPTION' => 1,
'_LT_PROG_F77' => 1,
'AM_DISABLE_STATIC' => 1,
- 'AM_MAKE_INCLUDE' => 1,
- 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
- 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
- 'AC_WITH_LTDL' => 1,
- 'AU_DEFUN' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
+ 'LT_INIT' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
'LT_SYS_SYMBOL_USCORE' => 1,
- 'LT_SUPPORTED_TAG' => 1,
- '_m4_warn' => 1,
- 'AC_LTDL_PREOPEN' => 1,
- 'AC_DISABLE_STATIC' => 1,
- 'AC_LIBTOOL_FC' => 1,
- 'AC_PROG_EGREP' => 1,
- '_LT_COMPILER_OPTION' => 1,
- 'AC_LIBTOOL_WIN32_DLL' => 1,
- 'LTDL_INSTALLABLE' => 1,
- 'LT_AC_PROG_SED' => 1
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
+ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+ 'LTVERSION_VERSION' => 1
}
], 'Autom4te::Request' )
);
diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1
index 629059a..90e5306 100644
--- a/autom4te.cache/traces.1
+++ b/autom4te.cache/traces.1
@@ -581,56 +581,88 @@ m4trace:configure.ac:14: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you h
@%:@undef HAVE_UNISTD_H])
m4trace:configure.ac:14: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
m4trace:configure.ac:14: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_LIBCLI], [/* Define to 1 if you have the `cli\' library (-lcli). */
-@%:@undef HAVE_LIBCLI])
-m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCLI])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_LIBCLI$])
-m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_LIBPTHREAD], [/* Define to 1 if you have the `pthread\' library (-lpthread). */
-@%:@undef HAVE_LIBPTHREAD])
-m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPTHREAD])
-m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE_LIBPTHREAD$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_LIBSNDIO], [/* Define to 1 if you have the `sndio\' library (-lsndio). */
-@%:@undef HAVE_LIBSNDIO])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSNDIO])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_LIBSNDIO$])
-m4trace:configure.ac:24: -1- AH_OUTPUT([HAVE_LIBGLFW], [/* Define to 1 if you have the `glfw\' library (-lglfw). */
-@%:@undef HAVE_LIBGLFW])
-m4trace:configure.ac:24: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGLFW])
-m4trace:configure.ac:24: -1- m4_pattern_allow([^HAVE_LIBGLFW$])
-m4trace:configure.ac:37: -1- AM_CONDITIONAL([DEBUG], [test x"$debug" = x"true"])
-m4trace:configure.ac:37: -1- AC_SUBST([DEBUG_TRUE])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([DEBUG_TRUE])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^DEBUG_TRUE$])
-m4trace:configure.ac:37: -1- AC_SUBST([DEBUG_FALSE])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([DEBUG_FALSE])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^DEBUG_FALSE$])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
-m4trace:configure.ac:39: -1- AC_CONFIG_FILES([Makefile])
-m4trace:configure.ac:41: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:41: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:41: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:41: -1- AC_SUBST([am__EXEEXT_TRUE])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:41: -1- AC_SUBST([am__EXEEXT_FALSE])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([top_build_prefix])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.ac:41: -1- AC_SUBST_TRACE([MKDIR_P])
-m4trace:configure.ac:41: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
+m4trace:configure.ac:33: -1- AC_SUBST([RTBUF_LIBS])
+m4trace:configure.ac:33: -1- AC_SUBST_TRACE([RTBUF_LIBS])
+m4trace:configure.ac:33: -1- m4_pattern_allow([^RTBUF_LIBS$])
+m4trace:configure.ac:34: -1- AM_CONDITIONAL([ENABLE_RTBUF], [test x"$enable_rtbuf" = x"true"])
+m4trace:configure.ac:34: -1- AC_SUBST([ENABLE_RTBUF_TRUE])
+m4trace:configure.ac:34: -1- AC_SUBST_TRACE([ENABLE_RTBUF_TRUE])
+m4trace:configure.ac:34: -1- m4_pattern_allow([^ENABLE_RTBUF_TRUE$])
+m4trace:configure.ac:34: -1- AC_SUBST([ENABLE_RTBUF_FALSE])
+m4trace:configure.ac:34: -1- AC_SUBST_TRACE([ENABLE_RTBUF_FALSE])
+m4trace:configure.ac:34: -1- m4_pattern_allow([^ENABLE_RTBUF_FALSE$])
+m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([ENABLE_RTBUF_TRUE])
+m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([ENABLE_RTBUF_FALSE])
+m4trace:configure.ac:45: -1- AC_SUBST([SIGNAL_LIBS])
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SIGNAL_LIBS])
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIGNAL_LIBS$])
+m4trace:configure.ac:46: -1- AM_CONDITIONAL([ENABLE_SIGNAL], [test x"$enable_signal" = x"true"])
+m4trace:configure.ac:46: -1- AC_SUBST([ENABLE_SIGNAL_TRUE])
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([ENABLE_SIGNAL_TRUE])
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ENABLE_SIGNAL_TRUE$])
+m4trace:configure.ac:46: -1- AC_SUBST([ENABLE_SIGNAL_FALSE])
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([ENABLE_SIGNAL_FALSE])
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ENABLE_SIGNAL_FALSE$])
+m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([ENABLE_SIGNAL_TRUE])
+m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([ENABLE_SIGNAL_FALSE])
+m4trace:configure.ac:53: -1- AC_SUBST([SNDIO_LIBS])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([SNDIO_LIBS])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^SNDIO_LIBS$])
+m4trace:configure.ac:54: -1- AM_CONDITIONAL([ENABLE_SNDIO], [test x"$enable_sndio" = x"true"])
+m4trace:configure.ac:54: -1- AC_SUBST([ENABLE_SNDIO_TRUE])
+m4trace:configure.ac:54: -1- AC_SUBST_TRACE([ENABLE_SNDIO_TRUE])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^ENABLE_SNDIO_TRUE$])
+m4trace:configure.ac:54: -1- AC_SUBST([ENABLE_SNDIO_FALSE])
+m4trace:configure.ac:54: -1- AC_SUBST_TRACE([ENABLE_SNDIO_FALSE])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^ENABLE_SNDIO_FALSE$])
+m4trace:configure.ac:54: -1- _AM_SUBST_NOTMAKE([ENABLE_SNDIO_TRUE])
+m4trace:configure.ac:54: -1- _AM_SUBST_NOTMAKE([ENABLE_SNDIO_FALSE])
+m4trace:configure.ac:68: -1- AC_SUBST([GLFW_LIBS])
+m4trace:configure.ac:68: -1- AC_SUBST_TRACE([GLFW_LIBS])
+m4trace:configure.ac:68: -1- m4_pattern_allow([^GLFW_LIBS$])
+m4trace:configure.ac:69: -1- AM_CONDITIONAL([ENABLE_GLFW], [test x"$enable_glfw" = x"true"])
+m4trace:configure.ac:69: -1- AC_SUBST([ENABLE_GLFW_TRUE])
+m4trace:configure.ac:69: -1- AC_SUBST_TRACE([ENABLE_GLFW_TRUE])
+m4trace:configure.ac:69: -1- m4_pattern_allow([^ENABLE_GLFW_TRUE$])
+m4trace:configure.ac:69: -1- AC_SUBST([ENABLE_GLFW_FALSE])
+m4trace:configure.ac:69: -1- AC_SUBST_TRACE([ENABLE_GLFW_FALSE])
+m4trace:configure.ac:69: -1- m4_pattern_allow([^ENABLE_GLFW_FALSE$])
+m4trace:configure.ac:69: -1- _AM_SUBST_NOTMAKE([ENABLE_GLFW_TRUE])
+m4trace:configure.ac:69: -1- _AM_SUBST_NOTMAKE([ENABLE_GLFW_FALSE])
+m4trace:configure.ac:82: -1- AM_CONDITIONAL([DEBUG], [test x"$debug" = x"true"])
+m4trace:configure.ac:82: -1- AC_SUBST([DEBUG_TRUE])
+m4trace:configure.ac:82: -1- AC_SUBST_TRACE([DEBUG_TRUE])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^DEBUG_TRUE$])
+m4trace:configure.ac:82: -1- AC_SUBST([DEBUG_FALSE])
+m4trace:configure.ac:82: -1- AC_SUBST_TRACE([DEBUG_FALSE])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^DEBUG_FALSE$])
+m4trace:configure.ac:82: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
+m4trace:configure.ac:82: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
+m4trace:configure.ac:84: -1- AC_CONFIG_FILES([Makefile])
+m4trace:configure.ac:86: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:86: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:86: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:86: -1- AC_SUBST([am__EXEEXT_TRUE])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:86: -1- AC_SUBST([am__EXEEXT_FALSE])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:86: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
diff --git a/autom4te.cache/traces.2 b/autom4te.cache/traces.2
index d706262..8e38242 100644
--- a/autom4te.cache/traces.2
+++ b/autom4te.cache/traces.2
@@ -9278,22 +9278,42 @@ m4trace:configure.ac:14: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.ac:14: -1- m4_pattern_allow([^CPP$])
m4trace:configure.ac:14: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.ac:14: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_LIBCLI$])
-m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE_LIBPTHREAD$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_LIBSNDIO$])
-m4trace:configure.ac:24: -1- m4_pattern_allow([^HAVE_LIBGLFW$])
-m4trace:configure.ac:37: -1- AM_CONDITIONAL([DEBUG], [test x"$debug" = x"true"])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^DEBUG_TRUE$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^DEBUG_FALSE$])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:41: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:41: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:41: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
-m4trace:configure.ac:41: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
-m4trace:configure.ac:41: -1- _LT_PROG_LTMAIN
+m4trace:configure.ac:33: -1- m4_pattern_allow([^RTBUF_LIBS$])
+m4trace:configure.ac:34: -1- AM_CONDITIONAL([ENABLE_RTBUF], [test x"$enable_rtbuf" = x"true"])
+m4trace:configure.ac:34: -1- m4_pattern_allow([^ENABLE_RTBUF_TRUE$])
+m4trace:configure.ac:34: -1- m4_pattern_allow([^ENABLE_RTBUF_FALSE$])
+m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([ENABLE_RTBUF_TRUE])
+m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([ENABLE_RTBUF_FALSE])
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIGNAL_LIBS$])
+m4trace:configure.ac:46: -1- AM_CONDITIONAL([ENABLE_SIGNAL], [test x"$enable_signal" = x"true"])
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ENABLE_SIGNAL_TRUE$])
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ENABLE_SIGNAL_FALSE$])
+m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([ENABLE_SIGNAL_TRUE])
+m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([ENABLE_SIGNAL_FALSE])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^SNDIO_LIBS$])
+m4trace:configure.ac:54: -1- AM_CONDITIONAL([ENABLE_SNDIO], [test x"$enable_sndio" = x"true"])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^ENABLE_SNDIO_TRUE$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^ENABLE_SNDIO_FALSE$])
+m4trace:configure.ac:54: -1- _AM_SUBST_NOTMAKE([ENABLE_SNDIO_TRUE])
+m4trace:configure.ac:54: -1- _AM_SUBST_NOTMAKE([ENABLE_SNDIO_FALSE])
+m4trace:configure.ac:68: -1- m4_pattern_allow([^GLFW_LIBS$])
+m4trace:configure.ac:69: -1- AM_CONDITIONAL([ENABLE_GLFW], [test x"$enable_glfw" = x"true"])
+m4trace:configure.ac:69: -1- m4_pattern_allow([^ENABLE_GLFW_TRUE$])
+m4trace:configure.ac:69: -1- m4_pattern_allow([^ENABLE_GLFW_FALSE$])
+m4trace:configure.ac:69: -1- _AM_SUBST_NOTMAKE([ENABLE_GLFW_TRUE])
+m4trace:configure.ac:69: -1- _AM_SUBST_NOTMAKE([ENABLE_GLFW_FALSE])
+m4trace:configure.ac:82: -1- AM_CONDITIONAL([DEBUG], [test x"$debug" = x"true"])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^DEBUG_TRUE$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^DEBUG_FALSE$])
+m4trace:configure.ac:82: -1- _AM_SUBST_NOTMAKE([DEBUG_TRUE])
+m4trace:configure.ac:82: -1- _AM_SUBST_NOTMAKE([DEBUG_FALSE])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:86: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:86: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
+m4trace:configure.ac:86: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:86: -1- _LT_PROG_LTMAIN
diff --git a/config.h.in b/config.h.in
index 2529144..423fcf8 100644
--- a/config.h.in
+++ b/config.h.in
@@ -6,18 +6,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
-/* Define to 1 if you have the `cli' library (-lcli). */
-#undef HAVE_LIBCLI
-
-/* Define to 1 if you have the `glfw' library (-lglfw). */
-#undef HAVE_LIBGLFW
-
-/* Define to 1 if you have the `pthread' library (-lpthread). */
-#undef HAVE_LIBPTHREAD
-
-/* Define to 1 if you have the `sndio' library (-lsndio). */
-#undef HAVE_LIBSNDIO
-
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
diff --git a/configure b/configure
index 7d342a7..e541c6b 100755
--- a/configure
+++ b/configure
@@ -638,6 +638,18 @@ LTLIBOBJS
LIBOBJS
DEBUG_FALSE
DEBUG_TRUE
+ENABLE_GLFW_FALSE
+ENABLE_GLFW_TRUE
+GLFW_LIBS
+ENABLE_SNDIO_FALSE
+ENABLE_SNDIO_TRUE
+SNDIO_LIBS
+ENABLE_SIGNAL_FALSE
+ENABLE_SIGNAL_TRUE
+SIGNAL_LIBS
+ENABLE_RTBUF_FALSE
+ENABLE_RTBUF_TRUE
+RTBUF_LIBS
CPP
OTOOL64
OTOOL
@@ -762,6 +774,7 @@ enable_fast_install
with_gnu_ld
with_sysroot
enable_libtool_lock
+enable_signal
enable_debug
'
ac_precious_vars='build_alias
@@ -1402,6 +1415,7 @@ Optional Features:
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
+ --enable-signal enable building librtbuf_signal, default: yes
--enable-debug enable debugging, default: yes
Optional Packages:
@@ -12250,6 +12264,14 @@ CC="$lt_save_CC"
+if test -d /usr/local/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+fi
+if test -d /usr/local/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+fi
+
+enable_rtbuf=true
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cli_init in -lcli" >&5
$as_echo_n "checking for cli_init in -lcli... " >&6; }
if ${ac_cv_lib_cli_cli_init+:} false; then :
@@ -12287,14 +12309,11 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cli_cli_init" >&5
$as_echo "$ac_cv_lib_cli_cli_init" >&6; }
if test "x$ac_cv_lib_cli_cli_init" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCLI 1
-_ACEOF
-
- LIBS="-lcli $LIBS"
-
+ RTBUF_LIBS="$RTBUF_LIBS -lcli"
else
- as_fn_error $? "missing cli library" "$LINENO" 5
+ if test x"$enable_rtbuf" = x"true"; then
+ as_fn_error $? "missing libcli for rtbuf\"" "$LINENO" 5
+ fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
@@ -12334,17 +12353,84 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBPTHREAD 1
+ RTBUF_LIBS="$RTBUF_LIBS -lpthread"
+else
+ if test x"$enable_rtbuf" = x"true"; then
+ as_fn_error $? "missing libpthread for rtbuf\"" "$LINENO" 5
+ fi
+fi
+
+
+ if test x"$enable_rtbuf" = x"true"; then
+ ENABLE_RTBUF_TRUE=
+ ENABLE_RTBUF_FALSE='#'
+else
+ ENABLE_RTBUF_TRUE='#'
+ ENABLE_RTBUF_FALSE=
+fi
+
+
+enable_signal=true
+SIGNAL_LIBS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* 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 sin ();
+int
+main ()
+{
+return sin ();
+ ;
+ return 0;
+}
_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_sin=yes
+else
+ ac_cv_lib_m_sin=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+ SIGNAL_LIBS="$SIGNAL_LIBS -lm"
+fi
+
+# Check whether --enable-signal was given.
+if test "${enable_signal+set}" = set; then :
+ enableval=$enable_signal; case "${enableval}" in
+ no) enable_signal=false ;;
+ esac
+fi
- LIBS="-lpthread $LIBS"
+ if test x"$enable_signal" = x"true"; then
+ ENABLE_SIGNAL_TRUE=
+ ENABLE_SIGNAL_FALSE='#'
else
- as_fn_error $? "missing pthread library" "$LINENO" 5
+ ENABLE_SIGNAL_TRUE='#'
+ ENABLE_SIGNAL_FALSE=
fi
+enable_sndio=false
+SNDIO_LIBS=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sio_open in -lsndio" >&5
$as_echo_n "checking for sio_open in -lsndio... " >&6; }
if ${ac_cv_lib_sndio_sio_open+:} false; then :
@@ -12382,17 +12468,29 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sndio_sio_open" >&5
$as_echo "$ac_cv_lib_sndio_sio_open" >&6; }
if test "x$ac_cv_lib_sndio_sio_open" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBSNDIO 1
-_ACEOF
+ enable_sndio=true
+ SNDIO_LIBS=-lsndio
+fi
- LIBS="-lsndio $LIBS"
+ if test x"$enable_sndio" = x"true"; then
+ ENABLE_SNDIO_TRUE=
+ ENABLE_SNDIO_FALSE='#'
else
- as_fn_error $? "missing sndio library" "$LINENO" 5
+ ENABLE_SNDIO_TRUE='#'
+ ENABLE_SNDIO_FALSE=
fi
+if test -d /usr/X11R6/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
+fi
+if test -d /usr/X11R6/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
+fi
+
+enable_glfw=false
+GLFW_LIBS=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glfwSwapBuffers in -lglfw" >&5
$as_echo_n "checking for glfwSwapBuffers in -lglfw... " >&6; }
if ${ac_cv_lib_glfw_glfwSwapBuffers+:} false; then :
@@ -12430,14 +12528,17 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glfw_glfwSwapBuffers" >&5
$as_echo "$ac_cv_lib_glfw_glfwSwapBuffers" >&6; }
if test "x$ac_cv_lib_glfw_glfwSwapBuffers" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBGLFW 1
-_ACEOF
+ enable_glfw=true
+ GLFW_LIBS=-lglfw
+fi
- LIBS="-lglfw $LIBS"
+ if test x"$enable_glfw" = x"true"; then
+ ENABLE_GLFW_TRUE=
+ ENABLE_GLFW_FALSE='#'
else
- as_fn_error $? "missing glfw3 library" "$LINENO" 5
+ ENABLE_GLFW_TRUE='#'
+ ENABLE_GLFW_FALSE=
fi
@@ -12446,10 +12547,10 @@ fi
# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then :
enableval=$enable_debug; case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5;;
- esac
+ yes) debug=true ;;
+ no) debug=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5;;
+ esac
else
debug=true
fi
@@ -12602,6 +12703,22 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${ENABLE_RTBUF_TRUE}" && test -z "${ENABLE_RTBUF_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_RTBUF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_SIGNAL_TRUE}" && test -z "${ENABLE_SIGNAL_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_SIGNAL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_SNDIO_TRUE}" && test -z "${ENABLE_SNDIO_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_SNDIO\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_GLFW_TRUE}" && test -z "${ENABLE_GLFW_FALSE}"; then
+ as_fn_error $? "conditional \"ENABLE_GLFW\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
as_fn_error $? "conditional \"DEBUG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -14838,3 +14955,9 @@ fi
cat dependencies.mk >> Makefile
+
+echo "Building status :"
+echo " rtbuf $enable_rtbuf"
+echo " signal $enable_signal"
+echo " sndio $enable_sndio"
+echo " glfw $enable_glfw"
diff --git a/configure.ac b/configure.ac
index 905257f..9b22653 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,31 +12,82 @@ AC_PROG_CC
LT_INIT
-AC_CHECK_LIB([cli], [cli_init],,
- AC_MSG_ERROR(missing cli library))
-AC_CHECK_LIB([pthread], [pthread_create],,
- AC_MSG_ERROR(missing pthread library))
+if test -d /usr/local/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+fi
+if test -d /usr/local/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+fi
-AC_CHECK_LIB([sndio], [sio_open],,
- AC_MSG_ERROR(missing sndio library))
+enable_rtbuf=true
+AC_CHECK_LIB([cli], [cli_init],
+ [RTBUF_LIBS="$RTBUF_LIBS -lcli"],
+ [if test x"$enable_rtbuf" = x"true"; then
+ AC_MSG_ERROR([missing libcli for rtbuf"])
+ fi])
+AC_CHECK_LIB([pthread], [pthread_create],
+ [RTBUF_LIBS="$RTBUF_LIBS -lpthread"],
+ [if test x"$enable_rtbuf" = x"true"; then
+ AC_MSG_ERROR([missing libpthread for rtbuf"])
+ fi])
+AC_SUBST([RTBUF_LIBS])
+AM_CONDITIONAL([ENABLE_RTBUF], [test x"$enable_rtbuf" = x"true"])
-AC_CHECK_LIB([glfw], [glfwSwapBuffers],,
- AC_MSG_ERROR(missing glfw3 library))
+enable_signal=true
+SIGNAL_LIBS=
+AC_CHECK_LIB([m], [sin], [SIGNAL_LIBS="$SIGNAL_LIBS -lm"])
+AC_ARG_ENABLE(signal,
+ AS_HELP_STRING([--enable-signal],
+ [enable building librtbuf_signal, default: yes]),
+ [case "${enableval}" in
+ no) enable_signal=false ;;
+ esac])
+AC_SUBST([SIGNAL_LIBS])
+AM_CONDITIONAL([ENABLE_SIGNAL], [test x"$enable_signal" = x"true"])
+
+enable_sndio=false
+SNDIO_LIBS=
+AC_CHECK_LIB([sndio], [sio_open],
+ [enable_sndio=true
+ SNDIO_LIBS=-lsndio])
+AC_SUBST([SNDIO_LIBS])
+AM_CONDITIONAL([ENABLE_SNDIO], [test x"$enable_sndio" = x"true"])
+
+if test -d /usr/X11R6/include; then
+ CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
+fi
+if test -d /usr/X11R6/lib; then
+ LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
+fi
+
+enable_glfw=false
+GLFW_LIBS=
+AC_CHECK_LIB([glfw], [glfwSwapBuffers],
+ [enable_glfw=true
+ GLFW_LIBS=-lglfw])
+AC_SUBST([GLFW_LIBS])
+AM_CONDITIONAL([ENABLE_GLFW], [test x"$enable_glfw" = x"true"])
AC_PREFIX_DEFAULT([~/.rtbuf])
AC_ARG_ENABLE(debug,
-AS_HELP_STRING([--enable-debug],
- [enable debugging, default: yes]),
- [case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]);;
- esac],
- [debug=true])
-AM_CONDITIONAL(DEBUG, test x"$debug" = x"true")
+ AS_HELP_STRING([--enable-debug],
+ [enable debugging, default: yes]),
+ [case "${enableval}" in
+ yes) debug=true ;;
+ no) debug=false ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]);;
+ esac],
+ [debug=true])
+AM_CONDITIONAL([DEBUG], [test x"$debug" = x"true"])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
cat dependencies.mk >> Makefile
+
+echo "Building status :"
+echo " rtbuf $enable_rtbuf"
+echo " signal $enable_signal"
+echo " sndio $enable_sndio"
+echo " glfw $enable_glfw"