Author: adrian.chadd
Date: Mon Jun 8 18:59:19 2009
New Revision: 14091
Added:
branches/LUSCA_HEAD/errors/error-categories.txt
Modified:
branches/LUSCA_HEAD/configure.in
Log:
The configure.in script was checking for the existance of an
ERR_ACCESS_DENIED page
in the error page subdireectory before automatically adding it to the list
of
default error page languages to install.
This broke when building the error page list including the new-school
template
generated error pages because they don't exist early enough for ./configure
to pick them up.
Instead, populate a text file with the default error pages.
This also has the side effect of not installing templates/ in the
destination
squid directory.
Modified: branches/LUSCA_HEAD/configure.in
==============================================================================
--- branches/LUSCA_HEAD/configure.in (original)
+++ branches/LUSCA_HEAD/configure.in Mon Jun 8 18:59:19 2009
@@ -803,12 +803,7 @@
done
ERR_LANGUAGES=$enableval
],[
- ERR_LANGUAGES=
- for l in $srcdir/errors/*; do
- if test -f $l/ERR_ACCESS_DENIED; then
- ERR_LANGUAGES="$ERR_LANGUAGES `basename $l`"
- fi
- done
+ ERR_LANGUAGES=`cat $srcdir/errors/error-categories.txt | grep -v ^#`
])
AC_SUBST(ERR_LANGUAGES)
Added: branches/LUSCA_HEAD/errors/error-categories.txt
==============================================================================
--- (empty file)
+++ branches/LUSCA_HEAD/errors/error-categories.txt Mon Jun 8 18:59:19 2009
@@ -0,0 +1 @@
+Armenian Azerbaijani Bulgarian Catalan Czech Danish Dutch English Estonian
Finnish French German Greek Hebrew Hungarian Italian Japanese Korean
Lithuanian Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian
Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish
Ukrainian-1251 Ukrainian-koi8-u Ukrainian-utf8
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---