Incorporate patch #7628 for building outside of source tree. Check for locale en-US.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
#include <locale.h>
|
||||
# include <locale.h>
|
||||
# include <libintl.h>
|
||||
# define _(String) dgettext ("cdinfo", String)
|
||||
#else
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user