1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

configure automake with nostdinc

the current directoryh won't be added to the compiler's -I path
This commit is contained in:
Ailin Nemui 2021-02-02 00:24:34 +01:00
parent c108cae02f
commit e7f3946583
23 changed files with 24 additions and 1 deletions

View File

@ -5,7 +5,7 @@ AC_PREREQ(2.50)
AC_CONFIG_HEADERS([irssi-config.h]) AC_CONFIG_HEADERS([irssi-config.h])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.9 no-define foreign subdir-objects]) AM_INIT_AUTOMAKE([1.9 no-define foreign subdir-objects nostdinc])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libcore.a noinst_LIBRARIES = libcore.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-DSYSCONFDIR=\""$(sysconfdir)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \
-DMODULEDIR=\""$(libdir)/irssi/modules"\" -DMODULEDIR=\""$(libdir)/irssi/modules"\"

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libfe_common_core.a noinst_LIBRARIES = libfe_common_core.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-DHELPDIR=\""$(datadir)/irssi/help"\" \ -DHELPDIR=\""$(datadir)/irssi/help"\" \
-DTHEMESDIR=\""$(datadir)/irssi/themes"\" -DTHEMESDIR=\""$(datadir)/irssi/themes"\"

View File

@ -3,6 +3,7 @@ SUBDIRS = dcc notifylist
noinst_LIBRARIES = libfe_common_irc.a noinst_LIBRARIES = libfe_common_irc.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-DHELPDIR=\""$(datadir)/irssi/help"\" \ -DHELPDIR=\""$(datadir)/irssi/help"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" -DSYSCONFDIR=\""$(sysconfdir)"\"

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libfe_irc_dcc.a noinst_LIBRARIES = libfe_irc_dcc.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-DHELPDIR=\""$(datadir)/irssi/help"\" \ -DHELPDIR=\""$(datadir)/irssi/help"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" -DSYSCONFDIR=\""$(sysconfdir)"\"

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libfe_irc_notifylist.a noinst_LIBRARIES = libfe_irc_notifylist.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-DHELPDIR=\""$(datadir)/irssi/help"\" \ -DHELPDIR=\""$(datadir)/irssi/help"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" -DSYSCONFDIR=\""$(sysconfdir)"\"

View File

@ -6,6 +6,7 @@ bin_PROGRAMS = irssi-fuzz server-fuzz
CCLD=$(CXX) $(CXXFLAGS) CCLD=$(CXX) $(CXXFLAGS)
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
irssi_fuzz_DEPENDENCIES = @COMMON_LIBS@ irssi_fuzz_DEPENDENCIES = @COMMON_LIBS@

View File

@ -4,6 +4,7 @@ bin_PROGRAMS = theme-load-fuzz
CCLD=$(CXX) $(CXXFLAGS) CCLD=$(CXX) $(CXXFLAGS)
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
LDADD = \ LDADD = \

View File

@ -4,6 +4,7 @@ bin_PROGRAMS = event-get-params-fuzz
CCLD=$(CXX) $(CXXFLAGS) CCLD=$(CXX) $(CXXFLAGS)
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
LDADD = \ LDADD = \

View File

@ -1,6 +1,7 @@
bin_PROGRAMS = botti bin_PROGRAMS = botti
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
botti_DEPENDENCIES = @COMMON_NOUI_LIBS@ botti_DEPENDENCIES = @COMMON_NOUI_LIBS@

View File

@ -1,6 +1,7 @@
bin_PROGRAMS = irssi bin_PROGRAMS = irssi
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
irssi_DEPENDENCIES = \ irssi_DEPENDENCIES = \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_core.a noinst_LIBRARIES = libirc_core.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
-DSYSCONFDIR=\""$(sysconfdir)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_dcc.a noinst_LIBRARIES = libirc_dcc.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
libirc_dcc_a_SOURCES = \ libirc_dcc_a_SOURCES = \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_flood.a noinst_LIBRARIES = libirc_flood.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
libirc_flood_a_SOURCES = \ libirc_flood_a_SOURCES = \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_notifylist.a noinst_LIBRARIES = libirc_notifylist.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
libirc_notifylist_a_SOURCES = \ libirc_notifylist_a_SOURCES = \

View File

@ -2,6 +2,7 @@ moduledir = $(libdir)/irssi/modules
module_LTLIBRARIES = libirc_proxy.la module_LTLIBRARIES = libirc_proxy.la
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
libirc_proxy.a: libirc_proxy.a:

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirssi_config.a noinst_LIBRARIES = libirssi_config.a
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
libirssi_config_a_SOURCES = \ libirssi_config_a_SOURCES = \

View File

@ -8,6 +8,7 @@ EXTRA_LTLIBRARIES = \
libotr_core_static.la libotr_core_static.la
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
$(OTR_CFLAGS) $(OTR_CFLAGS)

View File

@ -15,6 +15,8 @@ perl-core.lo: irssi-core.pl.h
perl-signals.lo: perl-signals-list.h perl-signals.lo: perl-signals-list.h
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(builddir) \
$(GLIB_CFLAGS) \ $(GLIB_CFLAGS) \
-DSCRIPTDIR=\""$(datadir)/irssi/scripts"\" \ -DSCRIPTDIR=\""$(datadir)/irssi/scripts"\" \
-DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \ -DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=fe-common/core PACKAGE_STRING=fe-common/core
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
test_programs = test-formats test_programs = test-formats

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=fe-text PACKAGE_STRING=fe-text
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)
test_programs = test-paste-join-multiline test_programs = test-paste-join-multiline

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=irc/core PACKAGE_STRING=irc/core
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
-DSYSCONFDIR=\""$(sysconfdir)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=irc/flood PACKAGE_STRING=irc/flood
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_builddir) \
-DSYSCONFDIR=\""$(sysconfdir)"\" \ -DSYSCONFDIR=\""$(sysconfdir)"\" \
$(GLIB_CFLAGS) $(GLIB_CFLAGS)