From a71d278498ffef2051c8430dd67795a157b8290e Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Mon, 7 Jun 2004 21:29:10 +0000 Subject: Disable nls support if glib is pre 2.4 (OSX) git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1379 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/Makefile.am | 2 +- src/ncmpc.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 79822f029..0554098b9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,7 +11,7 @@ AM_CPPFLAGS = $(GLIB_CFLAGS) -DLOCALE_DIR=\""$(datadir)/locale"\" -DSYSCONFDIR=\ ncmpc_headers = libmpdclient.h mpc.h options.h conf.h command.h screen.h \ screen_utils.h screen_play.h screen_file.h screen_search.h \ - screen_clock.h screen_help.h list_window.h colors.h support.h \ + screen_help.h list_window.h colors.h support.h \ wreadln.h ncmpc.h ncmpc_SOURCES = libmpdclient.c main.c mpc.c options.c conf.c command.c \ diff --git a/src/ncmpc.h b/src/ncmpc.h index bc6c9136a..2708aac50 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -12,8 +12,10 @@ #endif /* i18n */ -#ifdef ENABLE_NLS +#ifdef HAVE_LOCALE_H #include +#endif +#ifdef ENABLE_NLS #include #include #else -- cgit v1.2.3