1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-16 06:25:24 +00: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_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])

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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