]> git.deb.at Git - pkg/abook.git/blobdiff - configure
Initial japanese translation (TAKAHASHI Tamotsu).
[pkg/abook.git] / configure
index 7290f16064350247dfa4d2d5f2fcbba096a9bf2b..b5bc7ce48554b1cb0ab2226ddc23dc8fd127d9e9 100755 (executable)
--- a/configure
+++ b/configure
@@ -10189,7 +10189,15 @@ _ACEOF
 
 
 
-localedir="$ac_default_prefix/share/locale"
+
+
+
+       abook_localedir="$datadir/locale"
+       abook_localedir=`(      test "x$prefix" = xNONE && prefix="$ac_default_prefix"
+               eval echo \""$abook_localedir"\"        )`
+
+localedir="\$(datadir)/locale"
+
 
 # Check whether --with-localedir or --without-localedir was given.
 if test "${with_localedir+set}" = set; then
@@ -10197,13 +10205,13 @@ if test "${with_localedir+set}" = set; then
 
 fi;
 if test "x$with_localedir" != "x"; then
+       abook_localedir="$with_localedir"
        localedir="$with_localedir"
-elif test "x${prefix}" != "xNONE"; then
-       localedir="$prefix/share/locale"
 fi
 
+
 cat >>confdefs.h <<_ACEOF
-#define LOCALEDIR "$localedir"
+#define LOCALEDIR "$abook_localedir"
 _ACEOF
 
 
@@ -11676,7 +11684,8 @@ fi
 
 
 
-for ac_header in unistd.h locale.h sys/ioctl.h
+
+for ac_header in unistd.h locale.h sys/ioctl.h iconv.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then