Incorporate patch #7628 for building outside of source tree. Check for locale en-US.

This commit is contained in:
R. Bernstein
2011-12-05 07:51:43 -05:00
parent 8d43aaca4d
commit 2fea51593b
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ if BUILD_CD_PARANOIA
paranoiaheaders = cdda.h cdtext.h
endif
cdio_config.h: $(top_srcdir)/config.h
cdio_config.h: $(top_builddir)/config.h
echo '#ifndef __CDIO_CONFIG_H__' > cdio_config.h
echo '#define __CDIO_CONFIG_H__' >> cdio_config.h
cat $(top_builddir)/config.h >>cdio_config.h

View File

@@ -56,7 +56,7 @@
#endif
#ifdef ENABLE_NLS
#include <locale.h>
# include <locale.h>
# include <libintl.h>
# define _(String) dgettext ("cdinfo", String)
#else

View File

@@ -21,7 +21,7 @@ SKIP_TEST_EXITCODE=77
# Some output changes depending on TZ and locale. Set this so we get known
# results
TZ=CUT
LC_TIME='en_US'
LC_TIME=$(locale -a | grep 'en_US' &2>/dev/null)
export TZ LC_TIME
check_result() {