$NetBSD: patch-ab,v 1.7 2001/08/29 22:41:25 jlam Exp $ --- configure.in.orig Mon Jul 23 21:43:34 2001 +++ configure.in Sat Aug 18 19:57:49 2001 @@ -220,43 +220,18 @@ dnl List of supported locales dnl ------------------------- -supported_locales="cs de es et fr gl it ja ko nl no pt ru sv tr fi hr el pl ro da zh_TW.Big5 zh_CN sk bg hu" +supported_locales="cs de es et fr gl it ja ko nl no pt ru sv tr fi hr el pl ro da zh_CN sk bg hu" supported_wprefs_locales="pt hr fr ko ja cs zh_TW.Big5 es zh_CN fi it ru de bg hu sk" supported_wings_locales="sk" -for lang in $LINGUAS; do - ok=0 - for l in $supported_locales; do - if test "$l" = "$lang"; then - ok=1 - break - fi - done - if test "$ok" = 1; then - MOFILES="$MOFILES $lang.mo" - else - echo "Locale $lang is not supported." - fi - ok=0 - for l in $supported_wprefs_locales; do - if test "$l" = "$lang"; then - ok=1 - break - fi - done - if test "$ok" = 1; then - WPMOFILES="$WPMOFILES $lang.mo" - fi - ok=0 - for l in $supported_wings_locales; do - if test "$l" = "$lang"; then - ok=1 - break - fi - done - if test "$ok" = 1; then - WINGSMOFILES="$WINGSMOFILES $lang.mo" - fi +for lang in $supported_locales; do + MOFILES="$MOFILES $lang.mo" +done +for lang in $supported_wprefs_locales; do + WPMOFILES="$WPMOFILES $lang.mo" +done +for lang in $supported_wings_locales; do + WINGSMOFILES="$WINGSMOFILES $lang.mo" done @@ -732,8 +707,8 @@ fi fi -LIBRARY_SEARCH_PATH="$lib_search_path" -HEADER_SEARCH_PATH="$inc_search_path" +LIBRARY_SEARCH_PATH="-L${BUILDLINK_DIR}/lib -L${BUILDLINK_X11_DIR}/lib" +HEADER_SEARCH_PATH="-I${BUILDLINK_DIR}/include -I${BUILDLINK_X11_DIR}/include" AC_SUBST(LIBRARY_SEARCH_PATH) AC_SUBST(HEADER_SEARCH_PATH)