Imported Upstream version 0.9
Michael Biebl
15 years ago
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | SUBDIRS = src img po lib man doc |
149 | 157 | |
150 | 158 | EXTRA_DIST = config.rpath m4 |
832 | 832 | Usually this means the macro was only invoked conditionally.]) |
833 | 833 | fi])]) |
834 | 834 | |
835 | # gettext.m4 serial 20 (gettext-0.12) | |
836 | dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. | |
837 | dnl This file is free software, distributed under the terms of the GNU | |
838 | dnl General Public License. As a special exception to the GNU General | |
839 | dnl Public License, this file may be distributed as part of a program | |
840 | dnl that contains a configuration script generated by Autoconf, under | |
841 | dnl the same distribution terms as the rest of that program. | |
835 | # gettext.m4 serial 37 (gettext-0.14.4) | |
836 | dnl Copyright (C) 1995-2005 Free Software Foundation, Inc. | |
837 | dnl This file is free software; the Free Software Foundation | |
838 | dnl gives unlimited permission to copy and/or distribute it, | |
839 | dnl with or without modifications, as long as this notice is preserved. | |
842 | 840 | dnl |
843 | 841 | dnl This file can can be used in projects which are not available under |
844 | 842 | dnl the GNU General Public License or the GNU Library General Public |
899 | 897 | ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , |
900 | 898 | [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT |
901 | 899 | ])])])]) |
902 | define(gt_included_intl, ifelse([$1], [external], [no], [yes])) | |
903 | define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) | |
900 | define([gt_included_intl], ifelse([$1], [external], [no], [yes])) | |
901 | define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) | |
904 | 902 | |
905 | 903 | AC_REQUIRE([AM_PO_SUBDIRS])dnl |
906 | 904 | ifelse(gt_included_intl, yes, [ |
926 | 924 | AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) |
927 | 925 | ]) |
928 | 926 | |
927 | dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. | |
928 | gt_INTL_MACOSX | |
929 | ||
929 | 930 | dnl Set USE_NLS. |
930 | 931 | AM_NLS |
931 | 932 | |
972 | 973 | ], [])[extern int _nl_msg_cat_cntr; |
973 | 974 | extern int *_nl_domain_bindings;], |
974 | 975 | [bindtextdomain ("", ""); |
975 | return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], | |
976 | return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], | |
976 | 977 | gt_cv_func_gnugettext_libc=yes, |
977 | 978 | gt_cv_func_gnugettext_libc=no)]) |
978 | 979 | |
1006 | 1007 | #ifdef __cplusplus |
1007 | 1008 | "C" |
1008 | 1009 | #endif |
1009 | const char *_nl_expand_alias ();], | |
1010 | const char *_nl_expand_alias (const char *);], | |
1010 | 1011 | [bindtextdomain ("", ""); |
1011 | return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], | |
1012 | return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")], | |
1012 | 1013 | gt_cv_func_gnugettext_libintl=yes, |
1013 | 1014 | gt_cv_func_gnugettext_libintl=no) |
1014 | 1015 | dnl Now see whether libintl exists and depends on libiconv. |
1027 | 1028 | #ifdef __cplusplus |
1028 | 1029 | "C" |
1029 | 1030 | #endif |
1030 | const char *_nl_expand_alias ();], | |
1031 | const char *_nl_expand_alias (const char *);], | |
1031 | 1032 | [bindtextdomain ("", ""); |
1032 | return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], | |
1033 | return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")], | |
1033 | 1034 | [LIBINTL="$LIBINTL $LIBICONV" |
1034 | 1035 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
1035 | 1036 | gt_cv_func_gnugettext_libintl=yes |
1072 | 1073 | LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` |
1073 | 1074 | fi |
1074 | 1075 | |
1076 | CATOBJEXT= | |
1075 | 1077 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
1076 | 1078 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
1077 | 1079 | dnl Mark actions to use GNU gettext tools. |
1078 | 1080 | CATOBJEXT=.gmo |
1079 | 1081 | fi |
1080 | 1082 | ]) |
1083 | ||
1084 | if test -n "$INTL_MACOSX_LIBS"; then | |
1085 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
1086 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
1087 | dnl Some extra flags are needed during linking. | |
1088 | LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" | |
1089 | LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" | |
1090 | fi | |
1091 | fi | |
1081 | 1092 | |
1082 | 1093 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
1083 | 1094 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
1154 | 1165 | AC_SUBST(GENCAT) |
1155 | 1166 | |
1156 | 1167 | dnl For backward compatibility. Some Makefiles may be using this. |
1168 | INTLOBJS= | |
1157 | 1169 | if test "$USE_INCLUDED_LIBINTL" = yes; then |
1158 | 1170 | INTLOBJS="\$(GETTOBJS)" |
1159 | 1171 | fi |
1184 | 1196 | AC_REQUIRE([AM_MKINSTALLDIRS])dnl |
1185 | 1197 | AC_REQUIRE([AC_PROG_CC])dnl |
1186 | 1198 | AC_REQUIRE([AC_CANONICAL_HOST])dnl |
1199 | AC_REQUIRE([gt_GLIBC2])dnl | |
1187 | 1200 | AC_REQUIRE([AC_PROG_RANLIB])dnl |
1188 | 1201 | AC_REQUIRE([AC_ISC_POSIX])dnl |
1189 | 1202 | AC_REQUIRE([AC_HEADER_STDC])dnl |
1190 | 1203 | AC_REQUIRE([AC_C_CONST])dnl |
1204 | AC_REQUIRE([bh_C_SIGNED])dnl | |
1191 | 1205 | AC_REQUIRE([AC_C_INLINE])dnl |
1192 | 1206 | AC_REQUIRE([AC_TYPE_OFF_T])dnl |
1193 | 1207 | AC_REQUIRE([AC_TYPE_SIZE_T])dnl |
1208 | AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl | |
1209 | AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl | |
1210 | AC_REQUIRE([gt_TYPE_WCHAR_T])dnl | |
1211 | AC_REQUIRE([gt_TYPE_WINT_T])dnl | |
1212 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) | |
1213 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) | |
1214 | AC_REQUIRE([gt_TYPE_INTMAX_T]) | |
1215 | AC_REQUIRE([gt_PRINTF_POSIX]) | |
1194 | 1216 | AC_REQUIRE([AC_FUNC_ALLOCA])dnl |
1195 | 1217 | AC_REQUIRE([AC_FUNC_MMAP])dnl |
1196 | AC_REQUIRE([jm_GLIBC21])dnl | |
1218 | AC_REQUIRE([gl_GLIBC21])dnl | |
1197 | 1219 | AC_REQUIRE([gt_INTDIV0])dnl |
1198 | AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl | |
1220 | AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl | |
1199 | 1221 | AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl |
1200 | 1222 | AC_REQUIRE([gt_INTTYPES_PRI])dnl |
1201 | ||
1223 | AC_REQUIRE([gl_XSIZE])dnl | |
1224 | AC_REQUIRE([gt_INTL_MACOSX])dnl | |
1225 | ||
1226 | AC_CHECK_TYPE([ptrdiff_t], , | |
1227 | [AC_DEFINE([ptrdiff_t], [long], | |
1228 | [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) | |
1229 | ]) | |
1202 | 1230 | AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ |
1203 | 1231 | stdlib.h string.h unistd.h sys/param.h]) |
1204 | AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ | |
1205 | geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ | |
1206 | strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \ | |
1232 | AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \ | |
1233 | mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \ | |
1234 | strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \ | |
1207 | 1235 | __fsetlocking]) |
1236 | ||
1237 | dnl Use the _snprintf function only if it is declared (because on NetBSD it | |
1238 | dnl is defined as a weak alias of snprintf; we prefer to use the latter). | |
1239 | gt_CHECK_DECL(_snprintf, [#include <stdio.h>]) | |
1240 | gt_CHECK_DECL(_snwprintf, [#include <stdio.h>]) | |
1241 | ||
1242 | dnl Use the *_unlocked functions only if they are declared. | |
1243 | dnl (because some of them were defined without being declared in Solaris | |
1244 | dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built | |
1245 | dnl on Solaris 2.5.1 to run on Solaris 2.6). | |
1246 | dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. | |
1247 | gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>]) | |
1248 | gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>]) | |
1249 | gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>]) | |
1250 | ||
1251 | case $gt_cv_func_printf_posix in | |
1252 | *yes) HAVE_POSIX_PRINTF=1 ;; | |
1253 | *) HAVE_POSIX_PRINTF=0 ;; | |
1254 | esac | |
1255 | AC_SUBST([HAVE_POSIX_PRINTF]) | |
1256 | if test "$ac_cv_func_asprintf" = yes; then | |
1257 | HAVE_ASPRINTF=1 | |
1258 | else | |
1259 | HAVE_ASPRINTF=0 | |
1260 | fi | |
1261 | AC_SUBST([HAVE_ASPRINTF]) | |
1262 | if test "$ac_cv_func_snprintf" = yes; then | |
1263 | HAVE_SNPRINTF=1 | |
1264 | else | |
1265 | HAVE_SNPRINTF=0 | |
1266 | fi | |
1267 | AC_SUBST([HAVE_SNPRINTF]) | |
1268 | if test "$ac_cv_func_wprintf" = yes; then | |
1269 | HAVE_WPRINTF=1 | |
1270 | else | |
1271 | HAVE_WPRINTF=0 | |
1272 | fi | |
1273 | AC_SUBST([HAVE_WPRINTF]) | |
1208 | 1274 | |
1209 | 1275 | AM_ICONV |
1210 | 1276 | AM_LANGINFO_CODESET |
1211 | 1277 | if test $ac_cv_header_locale_h = yes; then |
1212 | AM_LC_MESSAGES | |
1278 | gt_LC_MESSAGES | |
1279 | fi | |
1280 | ||
1281 | if test -n "$INTL_MACOSX_LIBS"; then | |
1282 | CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers" | |
1213 | 1283 | fi |
1214 | 1284 | |
1215 | 1285 | dnl intl/plural.c is generated from intl/plural.y. It requires bison, |
1245 | 1315 | ]) |
1246 | 1316 | |
1247 | 1317 | |
1318 | dnl Checks for special options needed on MacOS X. | |
1319 | dnl Defines INTL_MACOSX_LIBS. | |
1320 | AC_DEFUN([gt_INTL_MACOSX], | |
1321 | [ | |
1322 | dnl Check for API introduced in MacOS X 10.2. | |
1323 | AC_CACHE_CHECK([for CFPreferencesCopyAppValue], | |
1324 | gt_cv_func_CFPreferencesCopyAppValue, | |
1325 | [gt_save_CPPFLAGS="$CPPFLAGS" | |
1326 | CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers" | |
1327 | gt_save_LIBS="$LIBS" | |
1328 | LIBS="$LIBS -framework CoreFoundation" | |
1329 | AC_TRY_LINK([#include <CFPreferences.h>], | |
1330 | [CFPreferencesCopyAppValue(NULL, NULL)], | |
1331 | [gt_cv_func_CFPreferencesCopyAppValue=yes], | |
1332 | [gt_cv_func_CFPreferencesCopyAppValue=no]) | |
1333 | CPPFLAGS="$gt_save_CPPFLAGS" | |
1334 | LIBS="$gt_save_LIBS"]) | |
1335 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then | |
1336 | AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, | |
1337 | [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) | |
1338 | fi | |
1339 | dnl Check for API introduced in MacOS X 10.3. | |
1340 | AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, | |
1341 | [gt_save_CPPFLAGS="$CPPFLAGS" | |
1342 | CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers" | |
1343 | gt_save_LIBS="$LIBS" | |
1344 | LIBS="$LIBS -framework CoreFoundation" | |
1345 | AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();], | |
1346 | [gt_cv_func_CFLocaleCopyCurrent=yes], | |
1347 | [gt_cv_func_CFLocaleCopyCurrent=no]) | |
1348 | CPPFLAGS="$gt_save_CPPFLAGS" | |
1349 | LIBS="$gt_save_LIBS"]) | |
1350 | if test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
1351 | AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, | |
1352 | [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) | |
1353 | fi | |
1354 | INTL_MACOSX_LIBS= | |
1355 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
1356 | INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" | |
1357 | fi | |
1358 | AC_SUBST([INTL_MACOSX_LIBS]) | |
1359 | ]) | |
1360 | ||
1361 | ||
1362 | dnl gt_CHECK_DECL(FUNC, INCLUDES) | |
1363 | dnl Check whether a function is declared. | |
1364 | AC_DEFUN([gt_CHECK_DECL], | |
1365 | [ | |
1366 | AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1, | |
1367 | [AC_TRY_COMPILE([$2], [ | |
1368 | #ifndef $1 | |
1369 | char *p = (char *) $1; | |
1370 | #endif | |
1371 | ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)]) | |
1372 | if test $ac_cv_have_decl_$1 = yes; then | |
1373 | gt_value=1 | |
1374 | else | |
1375 | gt_value=0 | |
1376 | fi | |
1377 | AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], | |
1378 | [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) | |
1379 | ]) | |
1380 | ||
1381 | ||
1248 | 1382 | dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) |
1249 | 1383 | AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) |
1250 | 1384 | |
1251 | # po.m4 serial 1 (gettext-0.12) | |
1252 | dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. | |
1253 | dnl This file is free software, distributed under the terms of the GNU | |
1254 | dnl General Public License. As a special exception to the GNU General | |
1255 | dnl Public License, this file may be distributed as part of a program | |
1256 | dnl that contains a configuration script generated by Autoconf, under | |
1257 | dnl the same distribution terms as the rest of that program. | |
1385 | # po.m4 serial 7 (gettext-0.14.3) | |
1386 | dnl Copyright (C) 1995-2005 Free Software Foundation, Inc. | |
1387 | dnl This file is free software; the Free Software Foundation | |
1388 | dnl gives unlimited permission to copy and/or distribute it, | |
1389 | dnl with or without modifications, as long as this notice is preserved. | |
1258 | 1390 | dnl |
1259 | 1391 | dnl This file can can be used in projects which are not available under |
1260 | 1392 | dnl the GNU General Public License or the GNU Library General Public |
1269 | 1401 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
1270 | 1402 | dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
1271 | 1403 | |
1404 | AC_PREREQ(2.50) | |
1405 | ||
1272 | 1406 | dnl Checks for all prerequisites of the po subdirectory. |
1273 | 1407 | AC_DEFUN([AM_PO_SUBDIRS], |
1274 | 1408 | [ |
1284 | 1418 | dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. |
1285 | 1419 | dnl The second test excludes FreeBSD msgfmt. |
1286 | 1420 | AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, |
1287 | [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && | |
1421 | [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && | |
1288 | 1422 | (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], |
1289 | 1423 | :) |
1290 | 1424 | AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) |
1293 | 1427 | dnl The first test excludes Solaris xgettext and early GNU xgettext versions. |
1294 | 1428 | dnl The second test excludes FreeBSD xgettext. |
1295 | 1429 | AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, |
1296 | [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && | |
1430 | [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && | |
1297 | 1431 | (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], |
1298 | 1432 | :) |
1299 | 1433 | dnl Remove leftover from FreeBSD xgettext call. |
1301 | 1435 | |
1302 | 1436 | dnl Search for GNU msgmerge 0.11 or newer in the PATH. |
1303 | 1437 | AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, |
1304 | [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :) | |
1438 | [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) | |
1305 | 1439 | |
1306 | 1440 | dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. |
1307 | 1441 | dnl Test whether we really found GNU msgfmt. |
1356 | 1490 | /*) top_srcdir="$ac_given_srcdir" ;; |
1357 | 1491 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
1358 | 1492 | esac |
1493 | # Treat a directory as a PO directory if and only if it has a | |
1494 | # POTFILES.in file. This allows packages to have multiple PO | |
1495 | # directories under different names or in different locations. | |
1359 | 1496 | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
1360 | 1497 | rm -f "$ac_dir/POTFILES" |
1361 | 1498 | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
1362 | 1499 | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
1363 | 1500 | POMAKEFILEDEPS="POTFILES.in" |
1364 | # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend | |
1501 | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend | |
1365 | 1502 | # on $ac_dir but don't depend on user-specified configuration |
1366 | 1503 | # parameters. |
1367 | 1504 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
1369 | 1506 | if test -n "$OBSOLETE_ALL_LINGUAS"; then |
1370 | 1507 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
1371 | 1508 | fi |
1372 | ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
1509 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
1373 | 1510 | # Hide the ALL_LINGUAS assigment from automake. |
1374 | 1511 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
1375 | 1512 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
1377 | 1514 | # The set of available languages was given in configure.in. |
1378 | 1515 | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
1379 | 1516 | fi |
1517 | # Compute POFILES | |
1518 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |
1519 | # Compute UPDATEPOFILES | |
1520 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |
1521 | # Compute DUMMYPOFILES | |
1522 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |
1523 | # Compute GMOFILES | |
1524 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |
1380 | 1525 | case "$ac_given_srcdir" in |
1381 | 1526 | .) srcdirpre= ;; |
1382 | 1527 | *) srcdirpre='$(srcdir)/' ;; |
1383 | 1528 | esac |
1384 | 1529 | POFILES= |
1385 | GMOFILES= | |
1386 | 1530 | UPDATEPOFILES= |
1387 | 1531 | DUMMYPOFILES= |
1532 | GMOFILES= | |
1388 | 1533 | for lang in $ALL_LINGUAS; do |
1389 | 1534 | POFILES="$POFILES $srcdirpre$lang.po" |
1390 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
1391 | 1535 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
1392 | 1536 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
1537 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
1393 | 1538 | done |
1394 | 1539 | # CATALOGS depends on both $ac_dir and the user's LINGUAS |
1395 | 1540 | # environment variable. |
1424 | 1569 | done |
1425 | 1570 | fi |
1426 | 1571 | test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
1427 | sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" | |
1572 | sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" | |
1428 | 1573 | for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
1429 | 1574 | if test -f "$f"; then |
1430 | 1575 | case "$f" in |
1438 | 1583 | esac |
1439 | 1584 | done], |
1440 | 1585 | [# Capture the value of obsolete ALL_LINGUAS because we need it to compute |
1441 | # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it | |
1586 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it | |
1442 | 1587 | # from automake. |
1443 | 1588 | eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
1444 | 1589 | # Capture the value of LINGUAS because we need it to compute CATALOGS. |
1446 | 1591 | ]) |
1447 | 1592 | ]) |
1448 | 1593 | |
1449 | # nls.m4 serial 1 (gettext-0.12) | |
1450 | dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. | |
1451 | dnl This file is free software, distributed under the terms of the GNU | |
1452 | dnl General Public License. As a special exception to the GNU General | |
1453 | dnl Public License, this file may be distributed as part of a program | |
1454 | dnl that contains a configuration script generated by Autoconf, under | |
1455 | dnl the same distribution terms as the rest of that program. | |
1594 | dnl Postprocesses a Makefile in a directory containing PO files. | |
1595 | AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], | |
1596 | [ | |
1597 | # When this code is run, in config.status, two variables have already been | |
1598 | # set: | |
1599 | # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, | |
1600 | # - LINGUAS is the value of the environment variable LINGUAS at configure | |
1601 | # time. | |
1602 | ||
1603 | changequote(,)dnl | |
1604 | # Adjust a relative srcdir. | |
1605 | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` | |
1606 | ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" | |
1607 | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` | |
1608 | # In autoconf-2.13 it is called $ac_given_srcdir. | |
1609 | # In autoconf-2.50 it is called $srcdir. | |
1610 | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" | |
1611 | case "$ac_given_srcdir" in | |
1612 | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; | |
1613 | /*) top_srcdir="$ac_given_srcdir" ;; | |
1614 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; | |
1615 | esac | |
1616 | ||
1617 | # Find a way to echo strings without interpreting backslash. | |
1618 | if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then | |
1619 | gt_echo='echo' | |
1620 | else | |
1621 | if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then | |
1622 | gt_echo='printf %s\n' | |
1623 | else | |
1624 | echo_func () { | |
1625 | cat <<EOT | |
1626 | $* | |
1627 | EOT | |
1628 | } | |
1629 | gt_echo='echo_func' | |
1630 | fi | |
1631 | fi | |
1632 | ||
1633 | # A sed script that extracts the value of VARIABLE from a Makefile. | |
1634 | sed_x_variable=' | |
1635 | # Test if the hold space is empty. | |
1636 | x | |
1637 | s/P/P/ | |
1638 | x | |
1639 | ta | |
1640 | # Yes it was empty. Look if we have the expected variable definition. | |
1641 | /^[ ]*VARIABLE[ ]*=/{ | |
1642 | # Seen the first line of the variable definition. | |
1643 | s/^[ ]*VARIABLE[ ]*=// | |
1644 | ba | |
1645 | } | |
1646 | bd | |
1647 | :a | |
1648 | # Here we are processing a line from the variable definition. | |
1649 | # Remove comment, more precisely replace it with a space. | |
1650 | s/#.*$/ / | |
1651 | # See if the line ends in a backslash. | |
1652 | tb | |
1653 | :b | |
1654 | s/\\$// | |
1655 | # Print the line, without the trailing backslash. | |
1656 | p | |
1657 | tc | |
1658 | # There was no trailing backslash. The end of the variable definition is | |
1659 | # reached. Clear the hold space. | |
1660 | s/^.*$// | |
1661 | x | |
1662 | bd | |
1663 | :c | |
1664 | # A trailing backslash means that the variable definition continues in the | |
1665 | # next line. Put a nonempty string into the hold space to indicate this. | |
1666 | s/^.*$/P/ | |
1667 | x | |
1668 | :d | |
1669 | ' | |
1670 | changequote([,])dnl | |
1671 | ||
1672 | # Set POTFILES to the value of the Makefile variable POTFILES. | |
1673 | sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`" | |
1674 | POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` | |
1675 | # Compute POTFILES_DEPS as | |
1676 | # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) | |
1677 | POTFILES_DEPS= | |
1678 | for file in $POTFILES; do | |
1679 | POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" | |
1680 | done | |
1681 | POMAKEFILEDEPS="" | |
1682 | ||
1683 | if test -n "$OBSOLETE_ALL_LINGUAS"; then | |
1684 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" | |
1685 | fi | |
1686 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then | |
1687 | # The LINGUAS file contains the set of available languages. | |
1688 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
1689 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" | |
1690 | else | |
1691 | # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. | |
1692 | sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`" | |
1693 | ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` | |
1694 | fi | |
1695 | # Hide the ALL_LINGUAS assigment from automake. | |
1696 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' | |
1697 | # Compute POFILES | |
1698 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |
1699 | # Compute UPDATEPOFILES | |
1700 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |
1701 | # Compute DUMMYPOFILES | |
1702 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |
1703 | # Compute GMOFILES | |
1704 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |
1705 | # Compute PROPERTIESFILES | |
1706 | # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) | |
1707 | # Compute CLASSFILES | |
1708 | # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) | |
1709 | # Compute QMFILES | |
1710 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) | |
1711 | # Compute MSGFILES | |
1712 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) | |
1713 | # Compute RESOURCESDLLFILES | |
1714 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) | |
1715 | case "$ac_given_srcdir" in | |
1716 | .) srcdirpre= ;; | |
1717 | *) srcdirpre='$(srcdir)/' ;; | |
1718 | esac | |
1719 | POFILES= | |
1720 | UPDATEPOFILES= | |
1721 | DUMMYPOFILES= | |
1722 | GMOFILES= | |
1723 | PROPERTIESFILES= | |
1724 | CLASSFILES= | |
1725 | QMFILES= | |
1726 | MSGFILES= | |
1727 | RESOURCESDLLFILES= | |
1728 | for lang in $ALL_LINGUAS; do | |
1729 | POFILES="$POFILES $srcdirpre$lang.po" | |
1730 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" | |
1731 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" | |
1732 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
1733 | PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" | |
1734 | CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" | |
1735 | QMFILES="$QMFILES $srcdirpre$lang.qm" | |
1736 | frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` | |
1737 | MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" | |
1738 | frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` | |
1739 | RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" | |
1740 | done | |
1741 | # CATALOGS depends on both $ac_dir and the user's LINGUAS | |
1742 | # environment variable. | |
1743 | INST_LINGUAS= | |
1744 | if test -n "$ALL_LINGUAS"; then | |
1745 | for presentlang in $ALL_LINGUAS; do | |
1746 | useit=no | |
1747 | if test "%UNSET%" != "$LINGUAS"; then | |
1748 | desiredlanguages="$LINGUAS" | |
1749 | else | |
1750 | desiredlanguages="$ALL_LINGUAS" | |
1751 | fi | |
1752 | for desiredlang in $desiredlanguages; do | |
1753 | # Use the presentlang catalog if desiredlang is | |
1754 | # a. equal to presentlang, or | |
1755 | # b. a variant of presentlang (because in this case, | |
1756 | # presentlang can be used as a fallback for messages | |
1757 | # which are not translated in the desiredlang catalog). | |
1758 | case "$desiredlang" in | |
1759 | "$presentlang"*) useit=yes;; | |
1760 | esac | |
1761 | done | |
1762 | if test $useit = yes; then | |
1763 | INST_LINGUAS="$INST_LINGUAS $presentlang" | |
1764 | fi | |
1765 | done | |
1766 | fi | |
1767 | CATALOGS= | |
1768 | JAVACATALOGS= | |
1769 | QTCATALOGS= | |
1770 | TCLCATALOGS= | |
1771 | CSHARPCATALOGS= | |
1772 | if test -n "$INST_LINGUAS"; then | |
1773 | for lang in $INST_LINGUAS; do | |
1774 | CATALOGS="$CATALOGS $lang.gmo" | |
1775 | JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" | |
1776 | QTCATALOGS="$QTCATALOGS $lang.qm" | |
1777 | frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` | |
1778 | TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" | |
1779 | frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` | |
1780 | CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" | |
1781 | done | |
1782 | fi | |
1783 | ||
1784 | sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" | |
1785 | if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then | |
1786 | # Add dependencies that cannot be formulated as a simple suffix rule. | |
1787 | for lang in $ALL_LINGUAS; do | |
1788 | frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` | |
1789 | cat >> "$ac_file.tmp" <<EOF | |
1790 | $frobbedlang.msg: $lang.po | |
1791 | @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ | |
1792 | \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } | |
1793 | EOF | |
1794 | done | |
1795 | fi | |
1796 | if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then | |
1797 | # Add dependencies that cannot be formulated as a simple suffix rule. | |
1798 | for lang in $ALL_LINGUAS; do | |
1799 | frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` | |
1800 | cat >> "$ac_file.tmp" <<EOF | |
1801 | $frobbedlang/\$(DOMAIN).resources.dll: $lang.po | |
1802 | @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ | |
1803 | \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } | |
1804 | EOF | |
1805 | done | |
1806 | fi | |
1807 | if test -n "$POMAKEFILEDEPS"; then | |
1808 | cat >> "$ac_file.tmp" <<EOF | |
1809 | Makefile: $POMAKEFILEDEPS | |
1810 | EOF | |
1811 | fi | |
1812 | mv "$ac_file.tmp" "$ac_file" | |
1813 | ]) | |
1814 | ||
1815 | # nls.m4 serial 2 (gettext-0.14.3) | |
1816 | dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc. | |
1817 | dnl This file is free software; the Free Software Foundation | |
1818 | dnl gives unlimited permission to copy and/or distribute it, | |
1819 | dnl with or without modifications, as long as this notice is preserved. | |
1456 | 1820 | dnl |
1457 | 1821 | dnl This file can can be used in projects which are not available under |
1458 | 1822 | dnl the GNU General Public License or the GNU Library General Public |
1466 | 1830 | dnl Authors: |
1467 | 1831 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
1468 | 1832 | dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
1833 | ||
1834 | AC_PREREQ(2.50) | |
1469 | 1835 | |
1470 | 1836 | AC_DEFUN([AM_NLS], |
1471 | 1837 | [ |
1480 | 1846 | |
1481 | 1847 | AC_DEFUN([AM_MKINSTALLDIRS], |
1482 | 1848 | [ |
1849 | dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing. | |
1850 | m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])]) | |
1483 | 1851 | dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly |
1484 | 1852 | dnl find the mkinstalldirs script in another subdir but $(top_srcdir). |
1485 | 1853 | dnl Try to locate it. |
1496 | 1864 | AC_SUBST(MKINSTALLDIRS) |
1497 | 1865 | ]) |
1498 | 1866 | |
1499 | # progtest.m4 serial 3 (gettext-0.12) | |
1500 | dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. | |
1501 | dnl This file is free software, distributed under the terms of the GNU | |
1502 | dnl General Public License. As a special exception to the GNU General | |
1503 | dnl Public License, this file may be distributed as part of a program | |
1504 | dnl that contains a configuration script generated by Autoconf, under | |
1505 | dnl the same distribution terms as the rest of that program. | |
1867 | # progtest.m4 serial 4 (gettext-0.14.2) | |
1868 | dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. | |
1869 | dnl This file is free software; the Free Software Foundation | |
1870 | dnl gives unlimited permission to copy and/or distribute it, | |
1871 | dnl with or without modifications, as long as this notice is preserved. | |
1506 | 1872 | dnl |
1507 | 1873 | dnl This file can can be used in projects which are not available under |
1508 | 1874 | dnl the GNU General Public License or the GNU Library General Public |
1515 | 1881 | |
1516 | 1882 | dnl Authors: |
1517 | 1883 | dnl Ulrich Drepper <drepper@cygnus.com>, 1996. |
1884 | ||
1885 | AC_PREREQ(2.50) | |
1518 | 1886 | |
1519 | 1887 | # Search path for a program which passes the given test. |
1520 | 1888 | |
1565 | 1933 | test -z "$ac_dir" && ac_dir=. |
1566 | 1934 | for ac_exec_ext in '' $ac_executable_extensions; do |
1567 | 1935 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
1936 | echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD | |
1568 | 1937 | if [$3]; then |
1569 | 1938 | ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" |
1570 | 1939 | break 2 |
1588 | 1957 | AC_SUBST($1)dnl |
1589 | 1958 | ]) |
1590 | 1959 | |
1591 | # lib-prefix.m4 serial 2 (gettext-0.12) | |
1592 | dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. | |
1593 | dnl This file is free software, distributed under the terms of the GNU | |
1594 | dnl General Public License. As a special exception to the GNU General | |
1595 | dnl Public License, this file may be distributed as part of a program | |
1596 | dnl that contains a configuration script generated by Autoconf, under | |
1597 | dnl the same distribution terms as the rest of that program. | |
1960 | # lib-prefix.m4 serial 4 (gettext-0.14.2) | |
1961 | dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. | |
1962 | dnl This file is free software; the Free Software Foundation | |
1963 | dnl gives unlimited permission to copy and/or distribute it, | |
1964 | dnl with or without modifications, as long as this notice is preserved. | |
1598 | 1965 | |
1599 | 1966 | dnl From Bruno Haible. |
1600 | 1967 | |
1603 | 1970 | dnl require excessive bracketing. |
1604 | 1971 | ifdef([AC_HELP_STRING], |
1605 | 1972 | [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], |
1606 | [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) | |
1973 | [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) | |
1607 | 1974 | |
1608 | 1975 | dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed |
1609 | 1976 | dnl to access previously installed libraries. The basic assumption is that |
1661 | 2028 | if test "X$additional_includedir" = "X/usr/local/include"; then |
1662 | 2029 | if test -n "$GCC"; then |
1663 | 2030 | case $host_os in |
1664 | linux*) haveit=yes;; | |
2031 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
1665 | 2032 | esac |
1666 | 2033 | fi |
1667 | 2034 | fi |
1744 | 2111 | prefix="$acl_save_prefix" |
1745 | 2112 | ]) |
1746 | 2113 | |
1747 | # lib-link.m4 serial 4 (gettext-0.12) | |
1748 | dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. | |
1749 | dnl This file is free software, distributed under the terms of the GNU | |
1750 | dnl General Public License. As a special exception to the GNU General | |
1751 | dnl Public License, this file may be distributed as part of a program | |
1752 | dnl that contains a configuration script generated by Autoconf, under | |
1753 | dnl the same distribution terms as the rest of that program. | |
2114 | # lib-link.m4 serial 6 (gettext-0.14.3) | |
2115 | dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. | |
2116 | dnl This file is free software; the Free Software Foundation | |
2117 | dnl gives unlimited permission to copy and/or distribute it, | |
2118 | dnl with or without modifications, as long as this notice is preserved. | |
1754 | 2119 | |
1755 | 2120 | dnl From Bruno Haible. |
2121 | ||
2122 | AC_PREREQ(2.50) | |
1756 | 2123 | |
1757 | 2124 | dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and |
1758 | 2125 | dnl the libraries corresponding to explicit and implicit dependencies. |
1841 | 2208 | dnl hardcode_direct, hardcode_minus_L. |
1842 | 2209 | AC_DEFUN([AC_LIB_RPATH], |
1843 | 2210 | [ |
2211 | dnl Tell automake >= 1.10 to complain if config.rpath is missing. | |
2212 | m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) | |
1844 | 2213 | AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS |
1845 | 2214 | AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld |
1846 | 2215 | AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host |
2096 | 2465 | if test "X$additional_includedir" = "X/usr/local/include"; then |
2097 | 2466 | if test -n "$GCC"; then |
2098 | 2467 | case $host_os in |
2099 | linux*) haveit=yes;; | |
2468 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
2100 | 2469 | esac |
2101 | 2470 | fi |
2102 | 2471 | fi |
2145 | 2514 | if test "X$additional_libdir" = "X/usr/local/lib"; then |
2146 | 2515 | if test -n "$GCC"; then |
2147 | 2516 | case $host_os in |
2148 | linux*) haveit=yes;; | |
2517 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
2149 | 2518 | esac |
2150 | 2519 | fi |
2151 | 2520 | fi |
2296 | 2665 | done |
2297 | 2666 | ]) |
2298 | 2667 | |
2299 | # lib-ld.m4 serial 2 (gettext-0.12) | |
2668 | # lib-ld.m4 serial 3 (gettext-0.13) | |
2300 | 2669 | dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. |
2301 | dnl This file is free software, distributed under the terms of the GNU | |
2302 | dnl General Public License. As a special exception to the GNU General | |
2303 | dnl Public License, this file may be distributed as part of a program | |
2304 | dnl that contains a configuration script generated by Autoconf, under | |
2305 | dnl the same distribution terms as the rest of that program. | |
2670 | dnl This file is free software; the Free Software Foundation | |
2671 | dnl gives unlimited permission to copy and/or distribute it, | |
2672 | dnl with or without modifications, as long as this notice is preserved. | |
2306 | 2673 | |
2307 | 2674 | dnl Subroutines of libtool.m4, |
2308 | 2675 | dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision |
2312 | 2679 | AC_DEFUN([AC_LIB_PROG_LD_GNU], |
2313 | 2680 | [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, |
2314 | 2681 | [# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
2315 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
2316 | acl_cv_prog_gnu_ld=yes | |
2317 | else | |
2318 | acl_cv_prog_gnu_ld=no | |
2319 | fi]) | |
2682 | case `$LD -v 2>&1 </dev/null` in | |
2683 | *GNU* | *'with BFD'*) | |
2684 | acl_cv_prog_gnu_ld=yes ;; | |
2685 | *) | |
2686 | acl_cv_prog_gnu_ld=no ;; | |
2687 | esac]) | |
2320 | 2688 | with_gnu_ld=$acl_cv_prog_gnu_ld |
2321 | 2689 | ]) |
2322 | 2690 | |
2386 | 2754 | # Check to see if the program is GNU ld. I'd rather use --version, |
2387 | 2755 | # but apparently some GNU ld's only accept -v. |
2388 | 2756 | # Break only if it was the GNU/non-GNU ld that we prefer. |
2389 | if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
2390 | test "$with_gnu_ld" != no && break | |
2391 | else | |
2392 | test "$with_gnu_ld" != yes && break | |
2393 | fi | |
2757 | case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in | |
2758 | *GNU* | *'with BFD'*) | |
2759 | test "$with_gnu_ld" != no && break ;; | |
2760 | *) | |
2761 | test "$with_gnu_ld" != yes && break ;; | |
2762 | esac | |
2394 | 2763 | fi |
2395 | 2764 | done |
2396 | 2765 | IFS="$ac_save_ifs" |
2409 | 2778 | |
2410 | 2779 | # iconv.m4 serial AM4 (gettext-0.11.3) |
2411 | 2780 | dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. |
2412 | dnl This file is free software, distributed under the terms of the GNU | |
2413 | dnl General Public License. As a special exception to the GNU General | |
2414 | dnl Public License, this file may be distributed as part of a program | |
2415 | dnl that contains a configuration script generated by Autoconf, under | |
2416 | dnl the same distribution terms as the rest of that program. | |
2781 | dnl This file is free software; the Free Software Foundation | |
2782 | dnl gives unlimited permission to copy and/or distribute it, | |
2783 | dnl with or without modifications, as long as this notice is preserved. | |
2417 | 2784 | |
2418 | 2785 | dnl From Bruno Haible. |
2419 | 2786 | |
2511 | 2878 | fi |
2512 | 2879 | ]) |
2513 | 2880 | |
2881 | # glibc2.m4 serial 1 | |
2882 | dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. | |
2883 | dnl This file is free software; the Free Software Foundation | |
2884 | dnl gives unlimited permission to copy and/or distribute it, | |
2885 | dnl with or without modifications, as long as this notice is preserved. | |
2886 | ||
2887 | # Test for the GNU C Library, version 2.0 or newer. | |
2888 | # From Bruno Haible. | |
2889 | ||
2890 | AC_DEFUN([gt_GLIBC2], | |
2891 | [ | |
2892 | AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer, | |
2893 | ac_cv_gnu_library_2, | |
2894 | [AC_EGREP_CPP([Lucky GNU user], | |
2895 | [ | |
2896 | #include <features.h> | |
2897 | #ifdef __GNU_LIBRARY__ | |
2898 | #if (__GLIBC__ >= 2) | |
2899 | Lucky GNU user | |
2900 | #endif | |
2901 | #endif | |
2902 | ], | |
2903 | ac_cv_gnu_library_2=yes, | |
2904 | ac_cv_gnu_library_2=no) | |
2905 | ] | |
2906 | ) | |
2907 | AC_SUBST(GLIBC2) | |
2908 | GLIBC2="$ac_cv_gnu_library_2" | |
2909 | ] | |
2910 | ) | |
2911 | ||
2514 | 2912 | # isc-posix.m4 serial 2 (gettext-0.11.2) |
2515 | 2913 | dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. |
2516 | dnl This file is free software, distributed under the terms of the GNU | |
2517 | dnl General Public License. As a special exception to the GNU General | |
2518 | dnl Public License, this file may be distributed as part of a program | |
2519 | dnl that contains a configuration script generated by Autoconf, under | |
2520 | dnl the same distribution terms as the rest of that program. | |
2914 | dnl This file is free software; the Free Software Foundation | |
2915 | dnl gives unlimited permission to copy and/or distribute it, | |
2916 | dnl with or without modifications, as long as this notice is preserved. | |
2521 | 2917 | |
2522 | 2918 | # This file is not needed with autoconf-2.53 and newer. Remove it in 2005. |
2523 | 2919 | |
2538 | 2934 | ] |
2539 | 2935 | ) |
2540 | 2936 | |
2541 | # glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40) | |
2542 | dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. | |
2543 | dnl This file is free software, distributed under the terms of the GNU | |
2544 | dnl General Public License. As a special exception to the GNU General | |
2545 | dnl Public License, this file may be distributed as part of a program | |
2546 | dnl that contains a configuration script generated by Autoconf, under | |
2547 | dnl the same distribution terms as the rest of that program. | |
2937 | # signed.m4 serial 1 (gettext-0.10.40) | |
2938 | dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. | |
2939 | dnl This file is free software; the Free Software Foundation | |
2940 | dnl gives unlimited permission to copy and/or distribute it, | |
2941 | dnl with or without modifications, as long as this notice is preserved. | |
2942 | ||
2943 | dnl From Bruno Haible. | |
2944 | ||
2945 | AC_DEFUN([bh_C_SIGNED], | |
2946 | [ | |
2947 | AC_CACHE_CHECK([for signed], bh_cv_c_signed, | |
2948 | [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)]) | |
2949 | if test $bh_cv_c_signed = no; then | |
2950 | AC_DEFINE(signed, , | |
2951 | [Define to empty if the C compiler doesn't support this keyword.]) | |
2952 | fi | |
2953 | ]) | |
2954 | ||
2955 | # longlong.m4 serial 5 | |
2956 | dnl Copyright (C) 1999-2004 Free Software Foundation, Inc. | |
2957 | dnl This file is free software; the Free Software Foundation | |
2958 | dnl gives unlimited permission to copy and/or distribute it, | |
2959 | dnl with or without modifications, as long as this notice is preserved. | |
2960 | ||
2961 | dnl From Paul Eggert. | |
2962 | ||
2963 | # Define HAVE_LONG_LONG if 'long long' works. | |
2964 | ||
2965 | AC_DEFUN([gl_AC_TYPE_LONG_LONG], | |
2966 | [ | |
2967 | AC_CACHE_CHECK([for long long], ac_cv_type_long_long, | |
2968 | [AC_TRY_LINK([long long ll = 1LL; int i = 63;], | |
2969 | [long long llmax = (long long) -1; | |
2970 | return ll << i | ll >> i | llmax / ll | llmax % ll;], | |
2971 | ac_cv_type_long_long=yes, | |
2972 | ac_cv_type_long_long=no)]) | |
2973 | if test $ac_cv_type_long_long = yes; then | |
2974 | AC_DEFINE(HAVE_LONG_LONG, 1, | |
2975 | [Define if you have the 'long long' type.]) | |
2976 | fi | |
2977 | ]) | |
2978 | ||
2979 | # longdouble.m4 serial 1 (gettext-0.12) | |
2980 | dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. | |
2981 | dnl This file is free software; the Free Software Foundation | |
2982 | dnl gives unlimited permission to copy and/or distribute it, | |
2983 | dnl with or without modifications, as long as this notice is preserved. | |
2984 | ||
2985 | dnl From Bruno Haible. | |
2986 | dnl Test whether the compiler supports the 'long double' type. | |
2987 | dnl Prerequisite: AC_PROG_CC | |
2988 | ||
2989 | AC_DEFUN([gt_TYPE_LONGDOUBLE], | |
2990 | [ | |
2991 | AC_CACHE_CHECK([for long double], gt_cv_c_long_double, | |
2992 | [if test "$GCC" = yes; then | |
2993 | gt_cv_c_long_double=yes | |
2994 | else | |
2995 | AC_TRY_COMPILE([ | |
2996 | /* The Stardent Vistra knows sizeof(long double), but does not support it. */ | |
2997 | long double foo = 0.0; | |
2998 | /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ | |
2999 | int array [2*(sizeof(long double) >= sizeof(double)) - 1]; | |
3000 | ], , | |
3001 | gt_cv_c_long_double=yes, gt_cv_c_long_double=no) | |
3002 | fi]) | |
3003 | if test $gt_cv_c_long_double = yes; then | |
3004 | AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) | |
3005 | fi | |
3006 | ]) | |
3007 | ||
3008 | # wchar_t.m4 serial 1 (gettext-0.12) | |
3009 | dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. | |
3010 | dnl This file is free software; the Free Software Foundation | |
3011 | dnl gives unlimited permission to copy and/or distribute it, | |
3012 | dnl with or without modifications, as long as this notice is preserved. | |
3013 | ||
3014 | dnl From Bruno Haible. | |
3015 | dnl Test whether <stddef.h> has the 'wchar_t' type. | |
3016 | dnl Prerequisite: AC_PROG_CC | |
3017 | ||
3018 | AC_DEFUN([gt_TYPE_WCHAR_T], | |
3019 | [ | |
3020 | AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, | |
3021 | [AC_TRY_COMPILE([#include <stddef.h> | |
3022 | wchar_t foo = (wchar_t)'\0';], , | |
3023 | gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) | |
3024 | if test $gt_cv_c_wchar_t = yes; then | |
3025 | AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) | |
3026 | fi | |
3027 | ]) | |
3028 | ||
3029 | # wint_t.m4 serial 1 (gettext-0.12) | |
3030 | dnl Copyright (C) 2003 Free Software Foundation, Inc. | |
3031 | dnl This file is free software; the Free Software Foundation | |
3032 | dnl gives unlimited permission to copy and/or distribute it, | |
3033 | dnl with or without modifications, as long as this notice is preserved. | |
3034 | ||
3035 | dnl From Bruno Haible. | |
3036 | dnl Test whether <wchar.h> has the 'wint_t' type. | |
3037 | dnl Prerequisite: AC_PROG_CC | |
3038 | ||
3039 | AC_DEFUN([gt_TYPE_WINT_T], | |
3040 | [ | |
3041 | AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, | |
3042 | [AC_TRY_COMPILE([#include <wchar.h> | |
3043 | wint_t foo = (wchar_t)'\0';], , | |
3044 | gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) | |
3045 | if test $gt_cv_c_wint_t = yes; then | |
3046 | AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) | |
3047 | fi | |
3048 | ]) | |
3049 | ||
3050 | # inttypes_h.m4 serial 6 | |
3051 | dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. | |
3052 | dnl This file is free software; the Free Software Foundation | |
3053 | dnl gives unlimited permission to copy and/or distribute it, | |
3054 | dnl with or without modifications, as long as this notice is preserved. | |
3055 | ||
3056 | dnl From Paul Eggert. | |
3057 | ||
3058 | # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists, | |
3059 | # doesn't clash with <sys/types.h>, and declares uintmax_t. | |
3060 | ||
3061 | AC_DEFUN([gl_AC_HEADER_INTTYPES_H], | |
3062 | [ | |
3063 | AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, | |
3064 | [AC_TRY_COMPILE( | |
3065 | [#include <sys/types.h> | |
3066 | #include <inttypes.h>], | |
3067 | [uintmax_t i = (uintmax_t) -1;], | |
3068 | gl_cv_header_inttypes_h=yes, | |
3069 | gl_cv_header_inttypes_h=no)]) | |
3070 | if test $gl_cv_header_inttypes_h = yes; then | |
3071 | AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, | |
3072 | [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, | |
3073 | and declares uintmax_t. ]) | |
3074 | fi | |
3075 | ]) | |
3076 | ||
3077 | # stdint_h.m4 serial 5 | |
3078 | dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. | |
3079 | dnl This file is free software; the Free Software Foundation | |
3080 | dnl gives unlimited permission to copy and/or distribute it, | |
3081 | dnl with or without modifications, as long as this notice is preserved. | |
3082 | ||
3083 | dnl From Paul Eggert. | |
3084 | ||
3085 | # Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists, | |
3086 | # doesn't clash with <sys/types.h>, and declares uintmax_t. | |
3087 | ||
3088 | AC_DEFUN([gl_AC_HEADER_STDINT_H], | |
3089 | [ | |
3090 | AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, | |
3091 | [AC_TRY_COMPILE( | |
3092 | [#include <sys/types.h> | |
3093 | #include <stdint.h>], | |
3094 | [uintmax_t i = (uintmax_t) -1;], | |
3095 | gl_cv_header_stdint_h=yes, | |
3096 | gl_cv_header_stdint_h=no)]) | |
3097 | if test $gl_cv_header_stdint_h = yes; then | |
3098 | AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, | |
3099 | [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, | |
3100 | and declares uintmax_t. ]) | |
3101 | fi | |
3102 | ]) | |
3103 | ||
3104 | # intmax.m4 serial 2 (gettext-0.14.2) | |
3105 | dnl Copyright (C) 2002-2005 Free Software Foundation, Inc. | |
3106 | dnl This file is free software; the Free Software Foundation | |
3107 | dnl gives unlimited permission to copy and/or distribute it, | |
3108 | dnl with or without modifications, as long as this notice is preserved. | |
3109 | ||
3110 | dnl From Bruno Haible. | |
3111 | dnl Test whether the system has the 'intmax_t' type, but don't attempt to | |
3112 | dnl find a replacement if it is lacking. | |
3113 | ||
3114 | AC_DEFUN([gt_TYPE_INTMAX_T], | |
3115 | [ | |
3116 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) | |
3117 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) | |
3118 | AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, | |
3119 | [AC_TRY_COMPILE([ | |
3120 | #include <stddef.h> | |
3121 | #include <stdlib.h> | |
3122 | #if HAVE_STDINT_H_WITH_UINTMAX | |
3123 | #include <stdint.h> | |
3124 | #endif | |
3125 | #if HAVE_INTTYPES_H_WITH_UINTMAX | |
3126 | #include <inttypes.h> | |
3127 | #endif | |
3128 | ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)]) | |
3129 | if test $gt_cv_c_intmax_t = yes; then | |
3130 | AC_DEFINE(HAVE_INTMAX_T, 1, | |
3131 | [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.]) | |
3132 | fi | |
3133 | ]) | |
3134 | ||
3135 | # printf-posix.m4 serial 2 (gettext-0.13.1) | |
3136 | dnl Copyright (C) 2003 Free Software Foundation, Inc. | |
3137 | dnl This file is free software; the Free Software Foundation | |
3138 | dnl gives unlimited permission to copy and/or distribute it, | |
3139 | dnl with or without modifications, as long as this notice is preserved. | |
3140 | ||
3141 | dnl From Bruno Haible. | |
3142 | dnl Test whether the printf() function supports POSIX/XSI format strings with | |
3143 | dnl positions. | |
3144 | ||
3145 | AC_DEFUN([gt_PRINTF_POSIX], | |
3146 | [ | |
3147 | AC_REQUIRE([AC_PROG_CC]) | |
3148 | AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings], | |
3149 | gt_cv_func_printf_posix, | |
3150 | [ | |
3151 | AC_TRY_RUN([ | |
3152 | #include <stdio.h> | |
3153 | #include <string.h> | |
3154 | /* The string "%2$d %1$d", with dollar characters protected from the shell's | |
3155 | dollar expansion (possibly an autoconf bug). */ | |
3156 | static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; | |
3157 | static char buf[100]; | |
3158 | int main () | |
3159 | { | |
3160 | sprintf (buf, format, 33, 55); | |
3161 | return (strcmp (buf, "55 33") != 0); | |
3162 | }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, | |
3163 | [ | |
3164 | AC_EGREP_CPP(notposix, [ | |
3165 | #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ | |
3166 | notposix | |
3167 | #endif | |
3168 | ], gt_cv_func_printf_posix="guessing no", | |
3169 | gt_cv_func_printf_posix="guessing yes") | |
3170 | ]) | |
3171 | ]) | |
3172 | case $gt_cv_func_printf_posix in | |
3173 | *yes) | |
3174 | AC_DEFINE(HAVE_POSIX_PRINTF, 1, | |
3175 | [Define if your printf() function supports format strings with positions.]) | |
3176 | ;; | |
3177 | esac | |
3178 | ]) | |
3179 | ||
3180 | # glibc21.m4 serial 3 | |
3181 | dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. | |
3182 | dnl This file is free software; the Free Software Foundation | |
3183 | dnl gives unlimited permission to copy and/or distribute it, | |
3184 | dnl with or without modifications, as long as this notice is preserved. | |
2548 | 3185 | |
2549 | 3186 | # Test for the GNU C Library, version 2.1 or newer. |
2550 | 3187 | # From Bruno Haible. |
2551 | 3188 | |
2552 | AC_DEFUN([jm_GLIBC21], | |
3189 | AC_DEFUN([gl_GLIBC21], | |
2553 | 3190 | [ |
2554 | 3191 | AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, |
2555 | 3192 | ac_cv_gnu_library_2_1, |
2573 | 3210 | |
2574 | 3211 | # intdiv0.m4 serial 1 (gettext-0.11.3) |
2575 | 3212 | dnl Copyright (C) 2002 Free Software Foundation, Inc. |
2576 | dnl This file is free software, distributed under the terms of the GNU | |
2577 | dnl General Public License. As a special exception to the GNU General | |
2578 | dnl Public License, this file may be distributed as part of a program | |
2579 | dnl that contains a configuration script generated by Autoconf, under | |
2580 | dnl the same distribution terms as the rest of that program. | |
3213 | dnl This file is free software; the Free Software Foundation | |
3214 | dnl gives unlimited permission to copy and/or distribute it, | |
3215 | dnl with or without modifications, as long as this notice is preserved. | |
2581 | 3216 | |
2582 | 3217 | dnl From Bruno Haible. |
2583 | 3218 | |
2644 | 3279 | [Define if integer division by zero raises signal SIGFPE.]) |
2645 | 3280 | ]) |
2646 | 3281 | |
2647 | # uintmax_t.m4 serial 7 (gettext-0.12) | |
2648 | dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. | |
2649 | dnl This file is free software, distributed under the terms of the GNU | |
2650 | dnl General Public License. As a special exception to the GNU General | |
2651 | dnl Public License, this file may be distributed as part of a program | |
2652 | dnl that contains a configuration script generated by Autoconf, under | |
2653 | dnl the same distribution terms as the rest of that program. | |
3282 | # uintmax_t.m4 serial 9 | |
3283 | dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. | |
3284 | dnl This file is free software; the Free Software Foundation | |
3285 | dnl gives unlimited permission to copy and/or distribute it, | |
3286 | dnl with or without modifications, as long as this notice is preserved. | |
2654 | 3287 | |
2655 | 3288 | dnl From Paul Eggert. |
2656 | 3289 | |
2659 | 3292 | # Define uintmax_t to 'unsigned long' or 'unsigned long long' |
2660 | 3293 | # if it is not already defined in <stdint.h> or <inttypes.h>. |
2661 | 3294 | |
2662 | AC_DEFUN([jm_AC_TYPE_UINTMAX_T], | |
3295 | AC_DEFUN([gl_AC_TYPE_UINTMAX_T], | |
2663 | 3296 | [ |
2664 | AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) | |
2665 | AC_REQUIRE([jm_AC_HEADER_STDINT_H]) | |
2666 | if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then | |
2667 | AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) | |
3297 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) | |
3298 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) | |
3299 | if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then | |
3300 | AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) | |
2668 | 3301 | test $ac_cv_type_unsigned_long_long = yes \ |
2669 | 3302 | && ac_type='unsigned long long' \ |
2670 | 3303 | || ac_type='unsigned long' |
2677 | 3310 | fi |
2678 | 3311 | ]) |
2679 | 3312 | |
2680 | # inttypes_h.m4 serial 5 (gettext-0.12) | |
2681 | dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. | |
2682 | dnl This file is free software, distributed under the terms of the GNU | |
2683 | dnl General Public License. As a special exception to the GNU General | |
2684 | dnl Public License, this file may be distributed as part of a program | |
2685 | dnl that contains a configuration script generated by Autoconf, under | |
2686 | dnl the same distribution terms as the rest of that program. | |
3313 | # ulonglong.m4 serial 4 | |
3314 | dnl Copyright (C) 1999-2004 Free Software Foundation, Inc. | |
3315 | dnl This file is free software; the Free Software Foundation | |
3316 | dnl gives unlimited permission to copy and/or distribute it, | |
3317 | dnl with or without modifications, as long as this notice is preserved. | |
2687 | 3318 | |
2688 | 3319 | dnl From Paul Eggert. |
2689 | 3320 | |
2690 | # Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists, | |
2691 | # doesn't clash with <sys/types.h>, and declares uintmax_t. | |
2692 | ||
2693 | AC_DEFUN([jm_AC_HEADER_INTTYPES_H], | |
2694 | [ | |
2695 | AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h, | |
2696 | [AC_TRY_COMPILE( | |
2697 | [#include <sys/types.h> | |
2698 | #include <inttypes.h>], | |
2699 | [uintmax_t i = (uintmax_t) -1;], | |
2700 | jm_ac_cv_header_inttypes_h=yes, | |
2701 | jm_ac_cv_header_inttypes_h=no)]) | |
2702 | if test $jm_ac_cv_header_inttypes_h = yes; then | |
2703 | AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, | |
2704 | [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, | |
2705 | and declares uintmax_t. ]) | |
2706 | fi | |
2707 | ]) | |
2708 | ||
2709 | # stdint_h.m4 serial 3 (gettext-0.12) | |
2710 | dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. | |
2711 | dnl This file is free software, distributed under the terms of the GNU | |
2712 | dnl General Public License. As a special exception to the GNU General | |
2713 | dnl Public License, this file may be distributed as part of a program | |
2714 | dnl that contains a configuration script generated by Autoconf, under | |
2715 | dnl the same distribution terms as the rest of that program. | |
2716 | ||
2717 | dnl From Paul Eggert. | |
2718 | ||
2719 | # Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists, | |
2720 | # doesn't clash with <sys/types.h>, and declares uintmax_t. | |
2721 | ||
2722 | AC_DEFUN([jm_AC_HEADER_STDINT_H], | |
2723 | [ | |
2724 | AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h, | |
2725 | [AC_TRY_COMPILE( | |
2726 | [#include <sys/types.h> | |
2727 | #include <stdint.h>], | |
2728 | [uintmax_t i = (uintmax_t) -1;], | |
2729 | jm_ac_cv_header_stdint_h=yes, | |
2730 | jm_ac_cv_header_stdint_h=no)]) | |
2731 | if test $jm_ac_cv_header_stdint_h = yes; then | |
2732 | AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, | |
2733 | [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, | |
2734 | and declares uintmax_t. ]) | |
2735 | fi | |
2736 | ]) | |
2737 | ||
2738 | # ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40) | |
2739 | dnl Copyright (C) 1999-2002 Free Software Foundation, Inc. | |
2740 | dnl This file is free software, distributed under the terms of the GNU | |
2741 | dnl General Public License. As a special exception to the GNU General | |
2742 | dnl Public License, this file may be distributed as part of a program | |
2743 | dnl that contains a configuration script generated by Autoconf, under | |
2744 | dnl the same distribution terms as the rest of that program. | |
2745 | ||
2746 | dnl From Paul Eggert. | |
2747 | ||
2748 | AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], | |
3321 | # Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works. | |
3322 | ||
3323 | AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG], | |
2749 | 3324 | [ |
2750 | 3325 | AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, |
2751 | [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;], | |
3326 | [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;], | |
2752 | 3327 | [unsigned long long ullmax = (unsigned long long) -1; |
2753 | 3328 | return ull << i | ull >> i | ullmax / ull | ullmax % ull;], |
2754 | 3329 | ac_cv_type_unsigned_long_long=yes, |
2755 | 3330 | ac_cv_type_unsigned_long_long=no)]) |
2756 | 3331 | if test $ac_cv_type_unsigned_long_long = yes; then |
2757 | 3332 | AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, |
2758 | [Define if you have the unsigned long long type.]) | |
3333 | [Define if you have the 'unsigned long long' type.]) | |
2759 | 3334 | fi |
2760 | 3335 | ]) |
2761 | 3336 | |
2762 | 3337 | # inttypes.m4 serial 1 (gettext-0.11.4) |
2763 | 3338 | dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. |
2764 | dnl This file is free software, distributed under the terms of the GNU | |
2765 | dnl General Public License. As a special exception to the GNU General | |
2766 | dnl Public License, this file may be distributed as part of a program | |
2767 | dnl that contains a configuration script generated by Autoconf, under | |
2768 | dnl the same distribution terms as the rest of that program. | |
3339 | dnl This file is free software; the Free Software Foundation | |
3340 | dnl gives unlimited permission to copy and/or distribute it, | |
3341 | dnl with or without modifications, as long as this notice is preserved. | |
2769 | 3342 | |
2770 | 3343 | dnl From Paul Eggert. |
2771 | 3344 | |
2789 | 3362 | |
2790 | 3363 | # inttypes-pri.m4 serial 1 (gettext-0.11.4) |
2791 | 3364 | dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. |
2792 | dnl This file is free software, distributed under the terms of the GNU | |
2793 | dnl General Public License. As a special exception to the GNU General | |
2794 | dnl Public License, this file may be distributed as part of a program | |
2795 | dnl that contains a configuration script generated by Autoconf, under | |
2796 | dnl the same distribution terms as the rest of that program. | |
3365 | dnl This file is free software; the Free Software Foundation | |
3366 | dnl gives unlimited permission to copy and/or distribute it, | |
3367 | dnl with or without modifications, as long as this notice is preserved. | |
2797 | 3368 | |
2798 | 3369 | dnl From Bruno Haible. |
2799 | 3370 | |
2820 | 3391 | fi |
2821 | 3392 | ]) |
2822 | 3393 | |
3394 | # xsize.m4 serial 3 | |
3395 | dnl Copyright (C) 2003-2004 Free Software Foundation, Inc. | |
3396 | dnl This file is free software; the Free Software Foundation | |
3397 | dnl gives unlimited permission to copy and/or distribute it, | |
3398 | dnl with or without modifications, as long as this notice is preserved. | |
3399 | ||
3400 | AC_DEFUN([gl_XSIZE], | |
3401 | [ | |
3402 | dnl Prerequisites of lib/xsize.h. | |
3403 | AC_REQUIRE([gl_SIZE_MAX]) | |
3404 | AC_REQUIRE([AC_C_INLINE]) | |
3405 | AC_CHECK_HEADERS(stdint.h) | |
3406 | ]) | |
3407 | ||
3408 | # size_max.m4 serial 2 | |
3409 | dnl Copyright (C) 2003 Free Software Foundation, Inc. | |
3410 | dnl This file is free software; the Free Software Foundation | |
3411 | dnl gives unlimited permission to copy and/or distribute it, | |
3412 | dnl with or without modifications, as long as this notice is preserved. | |
3413 | ||
3414 | dnl From Bruno Haible. | |
3415 | ||
3416 | AC_DEFUN([gl_SIZE_MAX], | |
3417 | [ | |
3418 | AC_CHECK_HEADERS(stdint.h) | |
3419 | dnl First test whether the system already has SIZE_MAX. | |
3420 | AC_MSG_CHECKING([for SIZE_MAX]) | |
3421 | result= | |
3422 | AC_EGREP_CPP([Found it], [ | |
3423 | #include <limits.h> | |
3424 | #if HAVE_STDINT_H | |
3425 | #include <stdint.h> | |
3426 | #endif | |
3427 | #ifdef SIZE_MAX | |
3428 | Found it | |
3429 | #endif | |
3430 | ], result=yes) | |
3431 | if test -z "$result"; then | |
3432 | dnl Define it ourselves. Here we assume that the type 'size_t' is not wider | |
3433 | dnl than the type 'unsigned long'. | |
3434 | dnl The _AC_COMPUTE_INT macro works up to LONG_MAX, since it uses 'expr', | |
3435 | dnl which is guaranteed to work from LONG_MIN to LONG_MAX. | |
3436 | _AC_COMPUTE_INT([~(size_t)0 / 10], res_hi, | |
3437 | [#include <stddef.h>], result=?) | |
3438 | _AC_COMPUTE_INT([~(size_t)0 % 10], res_lo, | |
3439 | [#include <stddef.h>], result=?) | |
3440 | _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint, | |
3441 | [#include <stddef.h>], result=?) | |
3442 | if test "$fits_in_uint" = 1; then | |
3443 | dnl Even though SIZE_MAX fits in an unsigned int, it must be of type | |
3444 | dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. | |
3445 | AC_TRY_COMPILE([#include <stddef.h> | |
3446 | extern size_t foo; | |
3447 | extern unsigned long foo; | |
3448 | ], [], fits_in_uint=0) | |
3449 | fi | |
3450 | if test -z "$result"; then | |
3451 | if test "$fits_in_uint" = 1; then | |
3452 | result="$res_hi$res_lo"U | |
3453 | else | |
3454 | result="$res_hi$res_lo"UL | |
3455 | fi | |
3456 | else | |
3457 | dnl Shouldn't happen, but who knows... | |
3458 | result='~(size_t)0' | |
3459 | fi | |
3460 | fi | |
3461 | AC_MSG_RESULT([$result]) | |
3462 | if test "$result" != yes; then | |
3463 | AC_DEFINE_UNQUOTED([SIZE_MAX], [$result], | |
3464 | [Define as the maximum value of type 'size_t', if the system doesn't define it.]) | |
3465 | fi | |
3466 | ]) | |
3467 | ||
2823 | 3468 | # codeset.m4 serial AM1 (gettext-0.10.40) |
2824 | 3469 | dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. |
2825 | dnl This file is free software, distributed under the terms of the GNU | |
2826 | dnl General Public License. As a special exception to the GNU General | |
2827 | dnl Public License, this file may be distributed as part of a program | |
2828 | dnl that contains a configuration script generated by Autoconf, under | |
2829 | dnl the same distribution terms as the rest of that program. | |
3470 | dnl This file is free software; the Free Software Foundation | |
3471 | dnl gives unlimited permission to copy and/or distribute it, | |
3472 | dnl with or without modifications, as long as this notice is preserved. | |
2830 | 3473 | |
2831 | 3474 | dnl From Bruno Haible. |
2832 | 3475 | |
2844 | 3487 | fi |
2845 | 3488 | ]) |
2846 | 3489 | |
2847 | # lcmessage.m4 serial 3 (gettext-0.11.3) | |
2848 | dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. | |
2849 | dnl This file is free software, distributed under the terms of the GNU | |
2850 | dnl General Public License. As a special exception to the GNU General | |
2851 | dnl Public License, this file may be distributed as part of a program | |
2852 | dnl that contains a configuration script generated by Autoconf, under | |
2853 | dnl the same distribution terms as the rest of that program. | |
3490 | # lcmessage.m4 serial 4 (gettext-0.14.2) | |
3491 | dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc. | |
3492 | dnl This file is free software; the Free Software Foundation | |
3493 | dnl gives unlimited permission to copy and/or distribute it, | |
3494 | dnl with or without modifications, as long as this notice is preserved. | |
2854 | 3495 | dnl |
2855 | 3496 | dnl This file can can be used in projects which are not available under |
2856 | 3497 | dnl the GNU General Public License or the GNU Library General Public |
2866 | 3507 | |
2867 | 3508 | # Check whether LC_MESSAGES is available in <locale.h>. |
2868 | 3509 | |
2869 | AC_DEFUN([AM_LC_MESSAGES], | |
3510 | AC_DEFUN([gt_LC_MESSAGES], | |
2870 | 3511 | [ |
2871 | AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, | |
3512 | AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES, | |
2872 | 3513 | [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], |
2873 | am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) | |
2874 | if test $am_cv_val_LC_MESSAGES = yes; then | |
3514 | gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)]) | |
3515 | if test $gt_cv_val_LC_MESSAGES = yes; then | |
2875 | 3516 | AC_DEFINE(HAVE_LC_MESSAGES, 1, |
2876 | 3517 | [Define if your <locale.h> file defines LC_MESSAGES.]) |
2877 | 3518 | fi |
3103 | 3744 | # ----------------- |
3104 | 3745 | AC_DEFUN([_LT_VERSION_CHECK], |
3105 | 3746 | [AC_MSG_CHECKING([for correct ltmain.sh version]) |
3106 | if test -z "$ltmain"; then | |
3747 | if test "x$ltmain" = "x" ; then | |
3107 | 3748 | AC_MSG_RESULT(no) |
3108 | echo | |
3109 | echo "*** [Gentoo] sanity check failed! ***" | |
3110 | echo "*** \$ltmain is not defined, please check the patch for consistency! ***" | |
3111 | echo | |
3112 | exit 1 | |
3749 | AC_MSG_ERROR([ | |
3750 | ||
3751 | *** @<:@Gentoo@:>@ sanity check failed! *** | |
3752 | *** \$ltmain is not defined, please check the patch for consistency! *** | |
3753 | ]) | |
3113 | 3754 | fi |
3114 | 3755 | gentoo_lt_version="1.5.20" |
3115 | gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` | |
3116 | if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then | |
3756 | gentoo_ltmain_version=`grep '^@<:@ @:>@*VERSION=' $ltmain | sed -e 's|^@<:@ @:>@*VERSION=||'` | |
3757 | if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then | |
3117 | 3758 | AC_MSG_RESULT(no) |
3118 | echo | |
3119 | echo "*** [Gentoo] sanity check failed! ***" | |
3120 | echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***" | |
3121 | echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***" | |
3122 | echo | |
3123 | echo "Please run:" | |
3124 | echo | |
3125 | echo " libtoolize --copy --force" | |
3126 | echo | |
3127 | echo "if appropriate, please contact the maintainer of this" | |
3128 | echo "package (or your distribution) for help." | |
3129 | echo | |
3130 | exit 1 | |
3759 | AC_MSG_ERROR([ | |
3760 | ||
3761 | *** @<:@Gentoo@:>@ sanity check failed! *** | |
3762 | *** libtool.m4 and ltmain.sh have a version mismatch! *** | |
3763 | *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) *** | |
3764 | ||
3765 | Please run: | |
3766 | ||
3767 | libtoolize --copy --force | |
3768 | ||
3769 | if appropriate, please contact the maintainer of this | |
3770 | package (or your distribution) for help. | |
3771 | ]) | |
3131 | 3772 | else |
3132 | 3773 | AC_MSG_RESULT(yes) |
3133 | 3774 | fi |
4328 | 4969 | *) objformat=elf ;; |
4329 | 4970 | esac |
4330 | 4971 | fi |
4331 | version_type=freebsd-$objformat | |
4972 | # Handle Gentoo/FreeBSD as it was Linux | |
4973 | case $host_vendor in | |
4974 | gentoo) | |
4975 | version_type=linux ;; | |
4976 | *) | |
4977 | version_type=freebsd-$objformat ;; | |
4978 | esac | |
4979 | ||
4332 | 4980 | case $version_type in |
4333 | 4981 | freebsd-elf*) |
4334 | 4982 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
4338 | 4986 | freebsd-*) |
4339 | 4987 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
4340 | 4988 | need_version=yes |
4989 | ;; | |
4990 | linux) | |
4991 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
4992 | soname_spec='${libname}${release}${shared_ext}$major' | |
4993 | need_lib_prefix=no | |
4994 | need_version=no | |
4341 | 4995 | ;; |
4342 | 4996 | esac |
4343 | 4997 | shlibpath_var=LD_LIBRARY_PATH |
9149 | 9803 | AC_MSG_RESULT([$SED]) |
9150 | 9804 | ]) |
9151 | 9805 | |
9152 | ||
9153 | dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) | |
9154 | dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page | |
9155 | dnl also defines GSTUFF_PKG_ERRORS on error | |
9156 | AC_DEFUN(PKG_CHECK_MODULES, [ | |
9157 | succeeded=no | |
9158 | ||
9159 | if test -z "$PKG_CONFIG"; then | |
9160 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | |
9161 | fi | |
9162 | ||
9163 | if test "$PKG_CONFIG" = "no" ; then | |
9164 | echo "*** The pkg-config script could not be found. Make sure it is" | |
9165 | echo "*** in your path, or set the PKG_CONFIG environment variable" | |
9166 | echo "*** to the full path to pkg-config." | |
9167 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | |
9168 | else | |
9169 | PKG_CONFIG_MIN_VERSION=0.9.0 | |
9170 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
9171 | AC_MSG_CHECKING(for $2) | |
9172 | ||
9173 | if $PKG_CONFIG --exists "$2" ; then | |
9174 | AC_MSG_RESULT(yes) | |
9175 | succeeded=yes | |
9176 | ||
9177 | AC_MSG_CHECKING($1_CFLAGS) | |
9178 | $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` | |
9179 | AC_MSG_RESULT($$1_CFLAGS) | |
9180 | ||
9181 | AC_MSG_CHECKING($1_LIBS) | |
9182 | $1_LIBS=`$PKG_CONFIG --libs "$2"` | |
9183 | AC_MSG_RESULT($$1_LIBS) | |
9184 | else | |
9185 | $1_CFLAGS="" | |
9186 | $1_LIBS="" | |
9187 | ## If we have a custom action on failure, don't print errors, but | |
9188 | ## do set a variable so people can do so. | |
9189 | $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` | |
9190 | ifelse([$4], ,echo $$1_PKG_ERRORS,) | |
9191 | fi | |
9192 | ||
9193 | AC_SUBST($1_CFLAGS) | |
9194 | AC_SUBST($1_LIBS) | |
9195 | else | |
9196 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
9197 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
9198 | fi | |
9199 | fi | |
9200 | ||
9201 | if test $succeeded = yes; then | |
9202 | ifelse([$3], , :, [$3]) | |
9203 | else | |
9204 | ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) | |
9205 | fi | |
9206 | ]) | |
9207 | ||
9208 | ||
9209 | ||
9806 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | |
9807 | # | |
9808 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | |
9809 | # | |
9810 | # This program is free software; you can redistribute it and/or modify | |
9811 | # it under the terms of the GNU General Public License as published by | |
9812 | # the Free Software Foundation; either version 2 of the License, or | |
9813 | # (at your option) any later version. | |
9814 | # | |
9815 | # This program is distributed in the hope that it will be useful, but | |
9816 | # WITHOUT ANY WARRANTY; without even the implied warranty of | |
9817 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
9818 | # General Public License for more details. | |
9819 | # | |
9820 | # You should have received a copy of the GNU General Public License | |
9821 | # along with this program; if not, write to the Free Software | |
9822 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
9823 | # | |
9824 | # As a special exception to the GNU General Public License, if you | |
9825 | # distribute this file as part of a program that contains a | |
9826 | # configuration script generated by Autoconf, you may include it under | |
9827 | # the same distribution terms that you use for the rest of that program. | |
9828 | ||
9829 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | |
9830 | # ---------------------------------- | |
9831 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | |
9832 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | |
9833 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | |
9834 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl | |
9835 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
9836 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | |
9837 | fi | |
9838 | if test -n "$PKG_CONFIG"; then | |
9839 | _pkg_min_version=m4_ifval([$1], [$1], [0.9.0]) | |
9840 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | |
9841 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
9842 | AC_MSG_RESULT([yes]) | |
9843 | else | |
9844 | AC_MSG_RESULT([no]) | |
9845 | PKG_CONFIG="" | |
9846 | fi | |
9847 | ||
9848 | fi[]dnl | |
9849 | ])# PKG_PROG_PKG_CONFIG | |
9850 | ||
9851 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | |
9852 | # | |
9853 | # Check to see whether a particular set of modules exists. Similar | |
9854 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | |
9855 | # | |
9856 | # | |
9857 | # Similar to PKG_CHECK_MODULES, make sure that the first instance of | |
9858 | # this or PKG_CHECK_MODULES is called, or make sure to call | |
9859 | # PKG_CHECK_EXISTS manually | |
9860 | # -------------------------------------------------------------- | |
9861 | AC_DEFUN([PKG_CHECK_EXISTS], | |
9862 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | |
9863 | if test -n "$PKG_CONFIG" && \ | |
9864 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | |
9865 | m4_ifval([$2], [$2], [:]) | |
9866 | m4_ifvaln([$3], [else | |
9867 | $3])dnl | |
9868 | fi]) | |
9869 | ||
9870 | ||
9871 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | |
9872 | # --------------------------------------------- | |
9873 | m4_define([_PKG_CONFIG], | |
9874 | [if test -n "$PKG_CONFIG"; then | |
9875 | PKG_CHECK_EXISTS([$3], | |
9876 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], | |
9877 | [pkg_failed=yes]) | |
9878 | else | |
9879 | pkg_failed=untried | |
9880 | fi[]dnl | |
9881 | ])# _PKG_CONFIG | |
9882 | ||
9883 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | |
9884 | # [ACTION-IF-NOT-FOUND]) | |
9885 | # | |
9886 | # | |
9887 | # Note that if there is a possibility the first call to | |
9888 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | |
9889 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | |
9890 | # | |
9891 | # | |
9892 | # -------------------------------------------------------------- | |
9893 | AC_DEFUN([PKG_CHECK_MODULES], | |
9894 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | |
9895 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | |
9896 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | |
9897 | ||
9898 | pkg_failed=no | |
9899 | AC_MSG_CHECKING([for $1]) | |
9900 | ||
9901 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | |
9902 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | |
9903 | ||
9904 | if test $pkg_failed = yes; then | |
9905 | $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` | |
9906 | # Put the nasty error message in config.log where it belongs | |
9907 | echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD | |
9908 | ||
9909 | ifelse([$4], , [AC_MSG_ERROR(dnl | |
9910 | [Package requirements ($2) were not met. | |
9911 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
9912 | installed software in a non-standard prefix. | |
9913 | ||
9914 | Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables | |
9915 | to avoid the need to call pkg-config. See the pkg-config man page for | |
9916 | more details.])], | |
9917 | [$4]) | |
9918 | elif test $pkg_failed = untried; then | |
9919 | ifelse([$4], , [AC_MSG_FAILURE(dnl | |
9920 | [The pkg-config script could not be found or is too old. Make sure it | |
9921 | is in your PATH or set the PKG_CONFIG environment variable to the full | |
9922 | path to pkg-config. | |
9923 | ||
9924 | Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables | |
9925 | to avoid the need to call pkg-config. See the pkg-config man page for | |
9926 | more details. | |
9927 | ||
9928 | To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])], | |
9929 | [$4]) | |
9930 | else | |
9931 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | |
9932 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | |
9933 | AC_MSG_RESULT([yes]) | |
9934 | ifelse([$3], , :, [$3]) | |
9935 | fi[]dnl | |
9936 | ])# PKG_CHECK_MODULES | |
9937 |
3 | 3 | language is requested. */ |
4 | 4 | #undef ENABLE_NLS |
5 | 5 | |
6 | /* Hi ha la funcio acl_get_perm */ | |
6 | /* Enables user extended attributes support */ | |
7 | #undef ENABLE_USER_XATTR | |
8 | ||
9 | /* acl_get_perm is available */ | |
7 | 10 | #undef HAVE_ACL_GET_PERM |
8 | 11 | |
9 | /* Hi ha la funcio acl_get_perm_np */ | |
12 | /* acl_get_perm_np is available */ | |
10 | 13 | #undef HAVE_ACL_GET_PERM_NP |
11 | 14 | |
12 | 15 | /* Define to 1 if you have the <acl/libacl.h> header file. */ |
13 | 16 | #undef HAVE_ACL_LIBACL_H |
17 | ||
18 | /* Define to 1 if you have the <attr/xattr.h> header file. */ | |
19 | #undef HAVE_ATTR_XATTR_H | |
20 | ||
21 | /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the | |
22 | CoreFoundation framework. */ | |
23 | #undef HAVE_CFLOCALECOPYCURRENT | |
24 | ||
25 | /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in | |
26 | the CoreFoundation framework. */ | |
27 | #undef HAVE_CFPREFERENCESCOPYAPPVALUE | |
14 | 28 | |
15 | 29 | /* Define if the GNU dcgettext() function is already present or preinstalled. |
16 | 30 | */ |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.59 for eiciel 0.8.4. | |
2 | # Generated by GNU Autoconf 2.59 for eiciel 0.9. | |
3 | 3 | # |
4 | 4 | # Report bugs to <rofi@ya.com>. |
5 | 5 | # |
422 | 422 | # Identity of this package. |
423 | 423 | PACKAGE_NAME='eiciel' |
424 | 424 | PACKAGE_TARNAME='eiciel' |
425 | PACKAGE_VERSION='0.8.4' | |
426 | PACKAGE_STRING='eiciel 0.8.4' | |
425 | PACKAGE_VERSION='0.9' | |
426 | PACKAGE_STRING='eiciel 0.9' | |
427 | 427 | PACKAGE_BUGREPORT='rofi@ya.com' |
428 | 428 | |
429 | 429 | ac_unique_file="src/eiciel_standalone.cpp" |
464 | 464 | # include <unistd.h> |
465 | 465 | #endif" |
466 | 466 | |
467 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG GTKMM_CFLAGS GTKMM_LIBS NAUTILUS_EXTENSIONS_DIR llibreria_acl LIBOBJS LTLIBOBJS' | |
467 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG ac_pt_PKG_CONFIG GTKMM_CFLAGS GTKMM_LIBS NAUTILUS_EXTENSIONS_DIR ENABLE_USER_XATTR_TRUE ENABLE_USER_XATTR_FALSE llibreria_acl LIBOBJS LTLIBOBJS' | |
468 | 468 | ac_subst_files='' |
469 | 469 | |
470 | 470 | # Initialize some variables set by options. |
945 | 945 | ac_env_FFLAGS_value=$FFLAGS |
946 | 946 | ac_cv_env_FFLAGS_set=${FFLAGS+set} |
947 | 947 | ac_cv_env_FFLAGS_value=$FFLAGS |
948 | ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} | |
949 | ac_env_PKG_CONFIG_value=$PKG_CONFIG | |
950 | ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} | |
951 | ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG | |
952 | ac_env_GTKMM_CFLAGS_set=${GTKMM_CFLAGS+set} | |
953 | ac_env_GTKMM_CFLAGS_value=$GTKMM_CFLAGS | |
954 | ac_cv_env_GTKMM_CFLAGS_set=${GTKMM_CFLAGS+set} | |
955 | ac_cv_env_GTKMM_CFLAGS_value=$GTKMM_CFLAGS | |
956 | ac_env_GTKMM_LIBS_set=${GTKMM_LIBS+set} | |
957 | ac_env_GTKMM_LIBS_value=$GTKMM_LIBS | |
958 | ac_cv_env_GTKMM_LIBS_set=${GTKMM_LIBS+set} | |
959 | ac_cv_env_GTKMM_LIBS_value=$GTKMM_LIBS | |
948 | 960 | |
949 | 961 | # |
950 | 962 | # Report the --help message. |
953 | 965 | # Omit some internal or obsolete options to make the list less imposing. |
954 | 966 | # This message is too long to be a string in the A/UX 3.1 sh. |
955 | 967 | cat <<_ACEOF |
956 | \`configure' configures eiciel 0.8.4 to adapt to many kinds of systems. | |
968 | \`configure' configures eiciel 0.9 to adapt to many kinds of systems. | |
957 | 969 | |
958 | 970 | Usage: $0 [OPTION]... [VAR=VALUE]... |
959 | 971 | |
1014 | 1026 | System types: |
1015 | 1027 | --build=BUILD configure for building on BUILD [guessed] |
1016 | 1028 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1029 | --target=TARGET configure for building compilers for TARGET [HOST] | |
1017 | 1030 | _ACEOF |
1018 | 1031 | fi |
1019 | 1032 | |
1020 | 1033 | if test -n "$ac_init_help"; then |
1021 | 1034 | case $ac_init_help in |
1022 | short | recursive ) echo "Configuration of eiciel 0.8.4:";; | |
1035 | short | recursive ) echo "Configuration of eiciel 0.9:";; | |
1023 | 1036 | esac |
1024 | 1037 | cat <<\_ACEOF |
1025 | 1038 | |
1037 | 1050 | --enable-fast-install[=PKGS] |
1038 | 1051 | optimize for fast installation [default=yes] |
1039 | 1052 | --disable-libtool-lock avoid locking (might break parallel builds) |
1053 | --enable-user-attributes | |
1054 | Enables support for extended user attributes. This | |
1055 | is GNU/Linux specific. | |
1040 | 1056 | |
1041 | 1057 | Optional Packages: |
1042 | 1058 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1051 | 1067 | both] |
1052 | 1068 | --with-tags[=TAGS] |
1053 | 1069 | include additional configurations [automatic] |
1054 | --with-nautilus-extensions-dir=DIR Directory where nautilus extensions have to be | |
1070 | --with-nautilus-extensions-dir=DIR | |
1071 | Directory where nautilus extensions have to be | |
1055 | 1072 | installed (usually /usr/lib/nautilus/extensions-1.0) |
1056 | 1073 | |
1057 | 1074 | |
1068 | 1085 | CXXCPP C++ preprocessor |
1069 | 1086 | F77 Fortran 77 compiler command |
1070 | 1087 | FFLAGS Fortran 77 compiler flags |
1088 | PKG_CONFIG path to pkg-config utility | |
1089 | GTKMM_CFLAGS | |
1090 | C compiler flags for GTKMM, overriding pkg-config | |
1091 | GTKMM_LIBS linker flags for GTKMM, overriding pkg-config | |
1071 | 1092 | |
1072 | 1093 | Use these variables to override the choices made by `configure' or to help |
1073 | 1094 | it to find libraries and programs with nonstandard names/locations. |
1168 | 1189 | test -n "$ac_init_help" && exit 0 |
1169 | 1190 | if $ac_init_version; then |
1170 | 1191 | cat <<\_ACEOF |
1171 | eiciel configure 0.8.4 | |
1192 | eiciel configure 0.9 | |
1172 | 1193 | generated by GNU Autoconf 2.59 |
1173 | 1194 | |
1174 | 1195 | Copyright (C) 2003 Free Software Foundation, Inc. |
1182 | 1203 | This file contains any messages produced by compilers while |
1183 | 1204 | running configure, to aid debugging if configure makes a mistake. |
1184 | 1205 | |
1185 | It was created by eiciel $as_me 0.8.4, which was | |
1206 | It was created by eiciel $as_me 0.9, which was | |
1186 | 1207 | generated by GNU Autoconf 2.59. Invocation command line was |
1187 | 1208 | |
1188 | 1209 | $ $0 $@ |
1519 | 1540 | |
1520 | 1541 | |
1521 | 1542 | |
1522 | ||
1523 | ||
1524 | am__api_version="1.7" | |
1525 | 1543 | ac_aux_dir= |
1526 | 1544 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1527 | 1545 | if test -f $ac_dir/install-sh; then |
1547 | 1565 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1548 | 1566 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1549 | 1567 | |
1568 | # Make sure we can run config.sub. | |
1569 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
1570 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
1571 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
1572 | { (exit 1); exit 1; }; } | |
1573 | ||
1574 | echo "$as_me:$LINENO: checking build system type" >&5 | |
1575 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
1576 | if test "${ac_cv_build+set}" = set; then | |
1577 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1578 | else | |
1579 | ac_cv_build_alias=$build_alias | |
1580 | test -z "$ac_cv_build_alias" && | |
1581 | ac_cv_build_alias=`$ac_config_guess` | |
1582 | test -z "$ac_cv_build_alias" && | |
1583 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
1584 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
1585 | { (exit 1); exit 1; }; } | |
1586 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
1587 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
1588 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
1589 | { (exit 1); exit 1; }; } | |
1590 | ||
1591 | fi | |
1592 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
1593 | echo "${ECHO_T}$ac_cv_build" >&6 | |
1594 | build=$ac_cv_build | |
1595 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1596 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1597 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1598 | ||
1599 | ||
1600 | echo "$as_me:$LINENO: checking host system type" >&5 | |
1601 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
1602 | if test "${ac_cv_host+set}" = set; then | |
1603 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1604 | else | |
1605 | ac_cv_host_alias=$host_alias | |
1606 | test -z "$ac_cv_host_alias" && | |
1607 | ac_cv_host_alias=$ac_cv_build_alias | |
1608 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
1609 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
1610 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
1611 | { (exit 1); exit 1; }; } | |
1612 | ||
1613 | fi | |
1614 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
1615 | echo "${ECHO_T}$ac_cv_host" >&6 | |
1616 | host=$ac_cv_host | |
1617 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1618 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1619 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1620 | ||
1621 | ||
1622 | echo "$as_me:$LINENO: checking target system type" >&5 | |
1623 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | |
1624 | if test "${ac_cv_target+set}" = set; then | |
1625 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1626 | else | |
1627 | ac_cv_target_alias=$target_alias | |
1628 | test "x$ac_cv_target_alias" = "x" && | |
1629 | ac_cv_target_alias=$ac_cv_host_alias | |
1630 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | |
1631 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | |
1632 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | |
1633 | { (exit 1); exit 1; }; } | |
1634 | ||
1635 | fi | |
1636 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | |
1637 | echo "${ECHO_T}$ac_cv_target" >&6 | |
1638 | target=$ac_cv_target | |
1639 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
1640 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
1641 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
1642 | ||
1643 | ||
1644 | # The aliases save the names the user supplied, while $host etc. | |
1645 | # will get canonicalized. | |
1646 | test -n "$target_alias" && | |
1647 | test "$program_prefix$program_suffix$program_transform_name" = \ | |
1648 | NONENONEs,x,x, && | |
1649 | program_prefix=${target_alias}- | |
1650 | ||
1651 | ||
1652 | ||
1653 | am__api_version="1.7" | |
1550 | 1654 | # Find a good install program. We prefer a C program (faster), |
1551 | 1655 | # so one script is as good as another. But avoid the broken or |
1552 | 1656 | # incompatible versions: |
1796 | 1900 | |
1797 | 1901 | # Define the identity of the package. |
1798 | 1902 | PACKAGE='eiciel' |
1799 | VERSION='0.8.4' | |
1903 | VERSION='0.9' | |
1800 | 1904 | |
1801 | 1905 | |
1802 | 1906 | cat >>confdefs.h <<_ACEOF |
1924 | 2028 | |
1925 | 2029 | |
1926 | 2030 | |
2031 | ||
1927 | 2032 | MKINSTALLDIRS= |
1928 | 2033 | if test -n "$ac_aux_dir"; then |
1929 | 2034 | case "$ac_aux_dir" in |
2000 | 2105 | test -z "$ac_dir" && ac_dir=. |
2001 | 2106 | for ac_exec_ext in '' $ac_executable_extensions; do |
2002 | 2107 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
2003 | if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && | |
2108 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 | |
2109 | if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && | |
2004 | 2110 | (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
2005 | 2111 | ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
2006 | 2112 | break 2 |
2110 | 2216 | test -z "$ac_dir" && ac_dir=. |
2111 | 2217 | for ac_exec_ext in '' $ac_executable_extensions; do |
2112 | 2218 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
2113 | if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && | |
2219 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 | |
2220 | if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && | |
2114 | 2221 | (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
2115 | 2222 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
2116 | 2223 | break 2 |
2181 | 2288 | test -z "$ac_dir" && ac_dir=. |
2182 | 2289 | for ac_exec_ext in '' $ac_executable_extensions; do |
2183 | 2290 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
2184 | if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then | |
2291 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 | |
2292 | if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then | |
2185 | 2293 | ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
2186 | 2294 | break 2 |
2187 | 2295 | fi |
3343 | 3451 | fi |
3344 | 3452 | |
3345 | 3453 | |
3346 | # Make sure we can run config.sub. | |
3347 | $ac_config_sub sun4 >/dev/null 2>&1 || | |
3348 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | |
3349 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | |
3350 | { (exit 1); exit 1; }; } | |
3351 | ||
3352 | echo "$as_me:$LINENO: checking build system type" >&5 | |
3353 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | |
3354 | if test "${ac_cv_build+set}" = set; then | |
3355 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3356 | else | |
3357 | ac_cv_build_alias=$build_alias | |
3358 | test -z "$ac_cv_build_alias" && | |
3359 | ac_cv_build_alias=`$ac_config_guess` | |
3360 | test -z "$ac_cv_build_alias" && | |
3361 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | |
3362 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
3363 | { (exit 1); exit 1; }; } | |
3364 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | |
3365 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | |
3366 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | |
3367 | { (exit 1); exit 1; }; } | |
3368 | ||
3369 | fi | |
3370 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
3371 | echo "${ECHO_T}$ac_cv_build" >&6 | |
3372 | build=$ac_cv_build | |
3373 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
3374 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
3375 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
3376 | ||
3377 | ||
3378 | echo "$as_me:$LINENO: checking host system type" >&5 | |
3379 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | |
3380 | if test "${ac_cv_host+set}" = set; then | |
3381 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3382 | else | |
3383 | ac_cv_host_alias=$host_alias | |
3384 | test -z "$ac_cv_host_alias" && | |
3385 | ac_cv_host_alias=$ac_cv_build_alias | |
3386 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | |
3387 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | |
3388 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | |
3389 | { (exit 1); exit 1; }; } | |
3390 | ||
3391 | fi | |
3392 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
3393 | echo "${ECHO_T}$ac_cv_host" >&6 | |
3394 | host=$ac_cv_host | |
3395 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | |
3396 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | |
3397 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | |
3398 | ||
3399 | ||
3400 | 3454 | |
3401 | 3455 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
3402 | 3456 | if test "${with_gnu_ld+set}" = set; then |
3469 | 3523 | # Check to see if the program is GNU ld. I'd rather use --version, |
3470 | 3524 | # but apparently some GNU ld's only accept -v. |
3471 | 3525 | # Break only if it was the GNU/non-GNU ld that we prefer. |
3472 | if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | |
3473 | test "$with_gnu_ld" != no && break | |
3474 | else | |
3475 | test "$with_gnu_ld" != yes && break | |
3476 | fi | |
3526 | case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in | |
3527 | *GNU* | *'with BFD'*) | |
3528 | test "$with_gnu_ld" != no && break ;; | |
3529 | *) | |
3530 | test "$with_gnu_ld" != yes && break ;; | |
3531 | esac | |
3477 | 3532 | fi |
3478 | 3533 | done |
3479 | 3534 | IFS="$ac_save_ifs" |
3499 | 3554 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3500 | 3555 | else |
3501 | 3556 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
3502 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | |
3503 | acl_cv_prog_gnu_ld=yes | |
3504 | else | |
3505 | acl_cv_prog_gnu_ld=no | |
3506 | fi | |
3557 | case `$LD -v 2>&1 </dev/null` in | |
3558 | *GNU* | *'with BFD'*) | |
3559 | acl_cv_prog_gnu_ld=yes ;; | |
3560 | *) | |
3561 | acl_cv_prog_gnu_ld=no ;; | |
3562 | esac | |
3507 | 3563 | fi |
3508 | 3564 | echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 |
3509 | 3565 | echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 |
3510 | 3566 | with_gnu_ld=$acl_cv_prog_gnu_ld |
3567 | ||
3511 | 3568 | |
3512 | 3569 | |
3513 | 3570 | |
3756 | 3813 | if test "X$additional_includedir" = "X/usr/local/include"; then |
3757 | 3814 | if test -n "$GCC"; then |
3758 | 3815 | case $host_os in |
3759 | linux*) haveit=yes;; | |
3816 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
3760 | 3817 | esac |
3761 | 3818 | fi |
3762 | 3819 | fi |
3800 | 3857 | if test "X$additional_libdir" = "X/usr/local/lib"; then |
3801 | 3858 | if test -n "$GCC"; then |
3802 | 3859 | case $host_os in |
3803 | linux*) haveit=yes;; | |
3860 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
3804 | 3861 | esac |
3805 | 3862 | fi |
3806 | 3863 | fi |
3941 | 3998 | |
3942 | 3999 | |
3943 | 4000 | |
4001 | echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 | |
4002 | echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6 | |
4003 | if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then | |
4004 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4005 | else | |
4006 | gt_save_CPPFLAGS="$CPPFLAGS" | |
4007 | CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers" | |
4008 | gt_save_LIBS="$LIBS" | |
4009 | LIBS="$LIBS -framework CoreFoundation" | |
4010 | cat >conftest.$ac_ext <<_ACEOF | |
4011 | /* confdefs.h. */ | |
4012 | _ACEOF | |
4013 | cat confdefs.h >>conftest.$ac_ext | |
4014 | cat >>conftest.$ac_ext <<_ACEOF | |
4015 | /* end confdefs.h. */ | |
4016 | #include <CFPreferences.h> | |
4017 | int | |
4018 | main () | |
4019 | { | |
4020 | CFPreferencesCopyAppValue(NULL, NULL) | |
4021 | ; | |
4022 | return 0; | |
4023 | } | |
4024 | _ACEOF | |
4025 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4026 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
4027 | (eval $ac_link) 2>conftest.er1 | |
4028 | ac_status=$? | |
4029 | grep -v '^ *+' conftest.er1 >conftest.err | |
4030 | rm -f conftest.er1 | |
4031 | cat conftest.err >&5 | |
4032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4033 | (exit $ac_status); } && | |
4034 | { ac_try='test -z "$ac_c_werror_flag" | |
4035 | || test ! -s conftest.err' | |
4036 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4037 | (eval $ac_try) 2>&5 | |
4038 | ac_status=$? | |
4039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4040 | (exit $ac_status); }; } && | |
4041 | { ac_try='test -s conftest$ac_exeext' | |
4042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4043 | (eval $ac_try) 2>&5 | |
4044 | ac_status=$? | |
4045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4046 | (exit $ac_status); }; }; then | |
4047 | gt_cv_func_CFPreferencesCopyAppValue=yes | |
4048 | else | |
4049 | echo "$as_me: failed program was:" >&5 | |
4050 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4051 | ||
4052 | gt_cv_func_CFPreferencesCopyAppValue=no | |
4053 | fi | |
4054 | rm -f conftest.err conftest.$ac_objext \ | |
4055 | conftest$ac_exeext conftest.$ac_ext | |
4056 | CPPFLAGS="$gt_save_CPPFLAGS" | |
4057 | LIBS="$gt_save_LIBS" | |
4058 | fi | |
4059 | echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 | |
4060 | echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6 | |
4061 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then | |
4062 | ||
4063 | cat >>confdefs.h <<\_ACEOF | |
4064 | #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 | |
4065 | _ACEOF | |
4066 | ||
4067 | fi | |
4068 | echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 | |
4069 | echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6 | |
4070 | if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then | |
4071 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4072 | else | |
4073 | gt_save_CPPFLAGS="$CPPFLAGS" | |
4074 | CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers" | |
4075 | gt_save_LIBS="$LIBS" | |
4076 | LIBS="$LIBS -framework CoreFoundation" | |
4077 | cat >conftest.$ac_ext <<_ACEOF | |
4078 | /* confdefs.h. */ | |
4079 | _ACEOF | |
4080 | cat confdefs.h >>conftest.$ac_ext | |
4081 | cat >>conftest.$ac_ext <<_ACEOF | |
4082 | /* end confdefs.h. */ | |
4083 | #include <CFLocale.h> | |
4084 | int | |
4085 | main () | |
4086 | { | |
4087 | CFLocaleCopyCurrent(); | |
4088 | ; | |
4089 | return 0; | |
4090 | } | |
4091 | _ACEOF | |
4092 | rm -f conftest.$ac_objext conftest$ac_exeext | |
4093 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
4094 | (eval $ac_link) 2>conftest.er1 | |
4095 | ac_status=$? | |
4096 | grep -v '^ *+' conftest.er1 >conftest.err | |
4097 | rm -f conftest.er1 | |
4098 | cat conftest.err >&5 | |
4099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4100 | (exit $ac_status); } && | |
4101 | { ac_try='test -z "$ac_c_werror_flag" | |
4102 | || test ! -s conftest.err' | |
4103 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4104 | (eval $ac_try) 2>&5 | |
4105 | ac_status=$? | |
4106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4107 | (exit $ac_status); }; } && | |
4108 | { ac_try='test -s conftest$ac_exeext' | |
4109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4110 | (eval $ac_try) 2>&5 | |
4111 | ac_status=$? | |
4112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4113 | (exit $ac_status); }; }; then | |
4114 | gt_cv_func_CFLocaleCopyCurrent=yes | |
4115 | else | |
4116 | echo "$as_me: failed program was:" >&5 | |
4117 | sed 's/^/| /' conftest.$ac_ext >&5 | |
4118 | ||
4119 | gt_cv_func_CFLocaleCopyCurrent=no | |
4120 | fi | |
4121 | rm -f conftest.err conftest.$ac_objext \ | |
4122 | conftest$ac_exeext conftest.$ac_ext | |
4123 | CPPFLAGS="$gt_save_CPPFLAGS" | |
4124 | LIBS="$gt_save_LIBS" | |
4125 | fi | |
4126 | echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 | |
4127 | echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6 | |
4128 | if test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
4129 | ||
4130 | cat >>confdefs.h <<\_ACEOF | |
4131 | #define HAVE_CFLOCALECOPYCURRENT 1 | |
4132 | _ACEOF | |
4133 | ||
4134 | fi | |
4135 | INTL_MACOSX_LIBS= | |
4136 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then | |
4137 | INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" | |
4138 | fi | |
4139 | ||
4140 | ||
4141 | ||
4142 | ||
3944 | 4143 | echo "$as_me:$LINENO: checking whether NLS is requested" >&5 |
3945 | 4144 | echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 |
3946 | 4145 | # Check whether --enable-nls or --disable-nls was given. |
3986 | 4185 | main () |
3987 | 4186 | { |
3988 | 4187 | bindtextdomain ("", ""); |
3989 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings | |
4188 | return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings | |
3990 | 4189 | ; |
3991 | 4190 | return 0; |
3992 | 4191 | } |
4403 | 4602 | if test "X$additional_includedir" = "X/usr/local/include"; then |
4404 | 4603 | if test -n "$GCC"; then |
4405 | 4604 | case $host_os in |
4406 | linux*) haveit=yes;; | |
4605 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
4407 | 4606 | esac |
4408 | 4607 | fi |
4409 | 4608 | fi |
4447 | 4646 | if test "X$additional_libdir" = "X/usr/local/lib"; then |
4448 | 4647 | if test -n "$GCC"; then |
4449 | 4648 | case $host_os in |
4450 | linux*) haveit=yes;; | |
4649 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; | |
4451 | 4650 | esac |
4452 | 4651 | fi |
4453 | 4652 | fi |
4591 | 4790 | #ifdef __cplusplus |
4592 | 4791 | "C" |
4593 | 4792 | #endif |
4594 | const char *_nl_expand_alias (); | |
4793 | const char *_nl_expand_alias (const char *); | |
4595 | 4794 | int |
4596 | 4795 | main () |
4597 | 4796 | { |
4598 | 4797 | bindtextdomain ("", ""); |
4599 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) | |
4798 | return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") | |
4600 | 4799 | ; |
4601 | 4800 | return 0; |
4602 | 4801 | } |
4646 | 4845 | #ifdef __cplusplus |
4647 | 4846 | "C" |
4648 | 4847 | #endif |
4649 | const char *_nl_expand_alias (); | |
4848 | const char *_nl_expand_alias (const char *); | |
4650 | 4849 | int |
4651 | 4850 | main () |
4652 | 4851 | { |
4653 | 4852 | bindtextdomain ("", ""); |
4654 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) | |
4853 | return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("") | |
4655 | 4854 | ; |
4656 | 4855 | return 0; |
4657 | 4856 | } |
4709 | 4908 | fi |
4710 | 4909 | |
4711 | 4910 | |
4911 | ||
4912 | if test -n "$INTL_MACOSX_LIBS"; then | |
4913 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ | |
4914 | || test "$nls_cv_use_gnu_gettext" = "yes"; then | |
4915 | LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" | |
4916 | LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" | |
4917 | fi | |
4918 | fi | |
4712 | 4919 | |
4713 | 4920 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
4714 | 4921 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
6137 | 6344 | ;; |
6138 | 6345 | *-*-irix6*) |
6139 | 6346 | # Find out which ABI we are using. |
6140 | echo '#line 6141 "configure"' > conftest.$ac_ext | |
6347 | echo '#line 6348 "configure"' > conftest.$ac_ext | |
6141 | 6348 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6142 | 6349 | (eval $ac_compile) 2>&5 |
6143 | 6350 | ac_status=$? |
7036 | 7243 | |
7037 | 7244 | |
7038 | 7245 | # Provide some information about the compiler. |
7039 | echo "$as_me:7040:" \ | |
7246 | echo "$as_me:7247:" \ | |
7040 | 7247 | "checking for Fortran 77 compiler version" >&5 |
7041 | 7248 | ac_compiler=`set X $ac_compile; echo $2` |
7042 | 7249 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
8007 | 8214 | # |
8008 | 8215 | echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5 |
8009 | 8216 | echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6 |
8010 | if test -z "$ltmain"; then | |
8217 | if test "x$ltmain" = "x" ; then | |
8011 | 8218 | echo "$as_me:$LINENO: result: no" >&5 |
8012 | 8219 | echo "${ECHO_T}no" >&6 |
8013 | echo | |
8014 | echo "*** Gentoo sanity check failed! ***" | |
8015 | echo "*** \$ltmain is not defined, please check the patch for consistency! ***" | |
8016 | echo | |
8017 | exit 1 | |
8220 | { { echo "$as_me:$LINENO: error: | |
8221 | ||
8222 | *** [Gentoo] sanity check failed! *** | |
8223 | *** \$ltmain is not defined, please check the patch for consistency! *** | |
8224 | " >&5 | |
8225 | echo "$as_me: error: | |
8226 | ||
8227 | *** [Gentoo] sanity check failed! *** | |
8228 | *** \$ltmain is not defined, please check the patch for consistency! *** | |
8229 | " >&2;} | |
8230 | { (exit 1); exit 1; }; } | |
8018 | 8231 | fi |
8019 | 8232 | gentoo_lt_version="1.5.20" |
8020 | gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` | |
8021 | if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then | |
8233 | gentoo_ltmain_version=`grep '^[ ]*VERSION=' $ltmain | sed -e 's|^[ ]*VERSION=||'` | |
8234 | if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then | |
8022 | 8235 | echo "$as_me:$LINENO: result: no" >&5 |
8023 | 8236 | echo "${ECHO_T}no" >&6 |
8024 | echo | |
8025 | echo "*** Gentoo sanity check failed! ***" | |
8026 | echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***" | |
8027 | echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***" | |
8028 | echo | |
8029 | echo "Please run:" | |
8030 | echo | |
8031 | echo " libtoolize --copy --force" | |
8032 | echo | |
8033 | echo "if appropriate, please contact the maintainer of this" | |
8034 | echo "package (or your distribution) for help." | |
8035 | echo | |
8036 | exit 1 | |
8237 | { { echo "$as_me:$LINENO: error: | |
8238 | ||
8239 | *** [Gentoo] sanity check failed! *** | |
8240 | *** libtool.m4 and ltmain.sh have a version mismatch! *** | |
8241 | *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) *** | |
8242 | ||
8243 | Please run: | |
8244 | ||
8245 | libtoolize --copy --force | |
8246 | ||
8247 | if appropriate, please contact the maintainer of this | |
8248 | package (or your distribution) for help. | |
8249 | " >&5 | |
8250 | echo "$as_me: error: | |
8251 | ||
8252 | *** [Gentoo] sanity check failed! *** | |
8253 | *** libtool.m4 and ltmain.sh have a version mismatch! *** | |
8254 | *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) *** | |
8255 | ||
8256 | Please run: | |
8257 | ||
8258 | libtoolize --copy --force | |
8259 | ||
8260 | if appropriate, please contact the maintainer of this | |
8261 | package (or your distribution) for help. | |
8262 | " >&2;} | |
8263 | { (exit 1); exit 1; }; } | |
8037 | 8264 | else |
8038 | 8265 | echo "$as_me:$LINENO: result: yes" >&5 |
8039 | 8266 | echo "${ECHO_T}yes" >&6 |
8175 | 8402 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8176 | 8403 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8177 | 8404 | -e 's:$: $lt_compiler_flag:'` |
8178 | (eval echo "\"\$as_me:8179: $lt_compile\"" >&5) | |
8405 | (eval echo "\"\$as_me:8406: $lt_compile\"" >&5) | |
8179 | 8406 | (eval "$lt_compile" 2>conftest.err) |
8180 | 8407 | ac_status=$? |
8181 | 8408 | cat conftest.err >&5 |
8182 | echo "$as_me:8183: \$? = $ac_status" >&5 | |
8409 | echo "$as_me:8410: \$? = $ac_status" >&5 | |
8183 | 8410 | if (exit $ac_status) && test -s "$ac_outfile"; then |
8184 | 8411 | # The compiler can only warn and ignore the option if not recognized |
8185 | 8412 | # So say no if there are warnings other than the usual output. |
8437 | 8664 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8438 | 8665 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8439 | 8666 | -e 's:$: $lt_compiler_flag:'` |
8440 | (eval echo "\"\$as_me:8441: $lt_compile\"" >&5) | |
8667 | (eval echo "\"\$as_me:8668: $lt_compile\"" >&5) | |
8441 | 8668 | (eval "$lt_compile" 2>conftest.err) |
8442 | 8669 | ac_status=$? |
8443 | 8670 | cat conftest.err >&5 |
8444 | echo "$as_me:8445: \$? = $ac_status" >&5 | |
8671 | echo "$as_me:8672: \$? = $ac_status" >&5 | |
8445 | 8672 | if (exit $ac_status) && test -s "$ac_outfile"; then |
8446 | 8673 | # The compiler can only warn and ignore the option if not recognized |
8447 | 8674 | # So say no if there are warnings other than the usual output. |
8499 | 8726 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8500 | 8727 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8501 | 8728 | -e 's:$: $lt_compiler_flag:'` |
8502 | (eval echo "\"\$as_me:8503: $lt_compile\"" >&5) | |
8729 | (eval echo "\"\$as_me:8730: $lt_compile\"" >&5) | |
8503 | 8730 | (eval "$lt_compile" 2>out/conftest.err) |
8504 | 8731 | ac_status=$? |
8505 | 8732 | cat out/conftest.err >&5 |
8506 | echo "$as_me:8507: \$? = $ac_status" >&5 | |
8733 | echo "$as_me:8734: \$? = $ac_status" >&5 | |
8507 | 8734 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8508 | 8735 | then |
8509 | 8736 | # The compiler can only warn and ignore the option if not recognized |
9772 | 9999 | *) objformat=elf ;; |
9773 | 10000 | esac |
9774 | 10001 | fi |
9775 | version_type=freebsd-$objformat | |
10002 | # Handle Gentoo/FreeBSD as it was Linux | |
10003 | case $host_vendor in | |
10004 | gentoo) | |
10005 | version_type=linux ;; | |
10006 | *) | |
10007 | version_type=freebsd-$objformat ;; | |
10008 | esac | |
10009 | ||
9776 | 10010 | case $version_type in |
9777 | 10011 | freebsd-elf*) |
9778 | 10012 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
9782 | 10016 | freebsd-*) |
9783 | 10017 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
9784 | 10018 | need_version=yes |
10019 | ;; | |
10020 | linux) | |
10021 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
10022 | soname_spec='${libname}${release}${shared_ext}$major' | |
10023 | need_lib_prefix=no | |
10024 | need_version=no | |
9785 | 10025 | ;; |
9786 | 10026 | esac |
9787 | 10027 | shlibpath_var=LD_LIBRARY_PATH |
9938 | 10178 | libsuff= |
9939 | 10179 | case "$host_cpu" in |
9940 | 10180 | x86_64*) |
9941 | echo '#line 9942 "configure"' > conftest.$ac_ext | |
10181 | echo '#line 10182 "configure"' > conftest.$ac_ext | |
9942 | 10182 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9943 | 10183 | (eval $ac_compile) 2>&5 |
9944 | 10184 | ac_status=$? |
10802 | 11042 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10803 | 11043 | lt_status=$lt_dlunknown |
10804 | 11044 | cat > conftest.$ac_ext <<EOF |
10805 | #line 10806 "configure" | |
11045 | #line 11046 "configure" | |
10806 | 11046 | #include "confdefs.h" |
10807 | 11047 | |
10808 | 11048 | #if HAVE_DLFCN_H |
10900 | 11140 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10901 | 11141 | lt_status=$lt_dlunknown |
10902 | 11142 | cat > conftest.$ac_ext <<EOF |
10903 | #line 10904 "configure" | |
11143 | #line 11144 "configure" | |
10904 | 11144 | #include "confdefs.h" |
10905 | 11145 | |
10906 | 11146 | #if HAVE_DLFCN_H |
13155 | 13395 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13156 | 13396 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13157 | 13397 | -e 's:$: $lt_compiler_flag:'` |
13158 | (eval echo "\"\$as_me:13159: $lt_compile\"" >&5) | |
13398 | (eval echo "\"\$as_me:13399: $lt_compile\"" >&5) | |
13159 | 13399 | (eval "$lt_compile" 2>conftest.err) |
13160 | 13400 | ac_status=$? |
13161 | 13401 | cat conftest.err >&5 |
13162 | echo "$as_me:13163: \$? = $ac_status" >&5 | |
13402 | echo "$as_me:13403: \$? = $ac_status" >&5 | |
13163 | 13403 | if (exit $ac_status) && test -s "$ac_outfile"; then |
13164 | 13404 | # The compiler can only warn and ignore the option if not recognized |
13165 | 13405 | # So say no if there are warnings other than the usual output. |
13217 | 13457 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13218 | 13458 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13219 | 13459 | -e 's:$: $lt_compiler_flag:'` |
13220 | (eval echo "\"\$as_me:13221: $lt_compile\"" >&5) | |
13460 | (eval echo "\"\$as_me:13461: $lt_compile\"" >&5) | |
13221 | 13461 | (eval "$lt_compile" 2>out/conftest.err) |
13222 | 13462 | ac_status=$? |
13223 | 13463 | cat out/conftest.err >&5 |
13224 | echo "$as_me:13225: \$? = $ac_status" >&5 | |
13464 | echo "$as_me:13465: \$? = $ac_status" >&5 | |
13225 | 13465 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13226 | 13466 | then |
13227 | 13467 | # The compiler can only warn and ignore the option if not recognized |
13619 | 13859 | *) objformat=elf ;; |
13620 | 13860 | esac |
13621 | 13861 | fi |
13622 | version_type=freebsd-$objformat | |
13862 | # Handle Gentoo/FreeBSD as it was Linux | |
13863 | case $host_vendor in | |
13864 | gentoo) | |
13865 | version_type=linux ;; | |
13866 | *) | |
13867 | version_type=freebsd-$objformat ;; | |
13868 | esac | |
13869 | ||
13623 | 13870 | case $version_type in |
13624 | 13871 | freebsd-elf*) |
13625 | 13872 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
13629 | 13876 | freebsd-*) |
13630 | 13877 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
13631 | 13878 | need_version=yes |
13879 | ;; | |
13880 | linux) | |
13881 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
13882 | soname_spec='${libname}${release}${shared_ext}$major' | |
13883 | need_lib_prefix=no | |
13884 | need_version=no | |
13632 | 13885 | ;; |
13633 | 13886 | esac |
13634 | 13887 | shlibpath_var=LD_LIBRARY_PATH |
13785 | 14038 | libsuff= |
13786 | 14039 | case "$host_cpu" in |
13787 | 14040 | x86_64*) |
13788 | echo '#line 13789 "configure"' > conftest.$ac_ext | |
14041 | echo '#line 14042 "configure"' > conftest.$ac_ext | |
13789 | 14042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
13790 | 14043 | (eval $ac_compile) 2>&5 |
13791 | 14044 | ac_status=$? |
14649 | 14902 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
14650 | 14903 | lt_status=$lt_dlunknown |
14651 | 14904 | cat > conftest.$ac_ext <<EOF |
14652 | #line 14653 "configure" | |
14905 | #line 14906 "configure" | |
14653 | 14906 | #include "confdefs.h" |
14654 | 14907 | |
14655 | 14908 | #if HAVE_DLFCN_H |
14747 | 15000 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
14748 | 15001 | lt_status=$lt_dlunknown |
14749 | 15002 | cat > conftest.$ac_ext <<EOF |
14750 | #line 14751 "configure" | |
15003 | #line 15004 "configure" | |
14751 | 15004 | #include "confdefs.h" |
14752 | 15005 | |
14753 | 15006 | #if HAVE_DLFCN_H |
15632 | 15885 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
15633 | 15886 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15634 | 15887 | -e 's:$: $lt_compiler_flag:'` |
15635 | (eval echo "\"\$as_me:15636: $lt_compile\"" >&5) | |
15888 | (eval echo "\"\$as_me:15889: $lt_compile\"" >&5) | |
15636 | 15889 | (eval "$lt_compile" 2>conftest.err) |
15637 | 15890 | ac_status=$? |
15638 | 15891 | cat conftest.err >&5 |
15639 | echo "$as_me:15640: \$? = $ac_status" >&5 | |
15892 | echo "$as_me:15893: \$? = $ac_status" >&5 | |
15640 | 15893 | if (exit $ac_status) && test -s "$ac_outfile"; then |
15641 | 15894 | # The compiler can only warn and ignore the option if not recognized |
15642 | 15895 | # So say no if there are warnings other than the usual output. |
15694 | 15947 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
15695 | 15948 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15696 | 15949 | -e 's:$: $lt_compiler_flag:'` |
15697 | (eval echo "\"\$as_me:15698: $lt_compile\"" >&5) | |
15950 | (eval echo "\"\$as_me:15951: $lt_compile\"" >&5) | |
15698 | 15951 | (eval "$lt_compile" 2>out/conftest.err) |
15699 | 15952 | ac_status=$? |
15700 | 15953 | cat out/conftest.err >&5 |
15701 | echo "$as_me:15702: \$? = $ac_status" >&5 | |
15954 | echo "$as_me:15955: \$? = $ac_status" >&5 | |
15702 | 15955 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15703 | 15956 | then |
15704 | 15957 | # The compiler can only warn and ignore the option if not recognized |
16947 | 17200 | *) objformat=elf ;; |
16948 | 17201 | esac |
16949 | 17202 | fi |
16950 | version_type=freebsd-$objformat | |
17203 | # Handle Gentoo/FreeBSD as it was Linux | |
17204 | case $host_vendor in | |
17205 | gentoo) | |
17206 | version_type=linux ;; | |
17207 | *) | |
17208 | version_type=freebsd-$objformat ;; | |
17209 | esac | |
17210 | ||
16951 | 17211 | case $version_type in |
16952 | 17212 | freebsd-elf*) |
16953 | 17213 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
16957 | 17217 | freebsd-*) |
16958 | 17218 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
16959 | 17219 | need_version=yes |
17220 | ;; | |
17221 | linux) | |
17222 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
17223 | soname_spec='${libname}${release}${shared_ext}$major' | |
17224 | need_lib_prefix=no | |
17225 | need_version=no | |
16960 | 17226 | ;; |
16961 | 17227 | esac |
16962 | 17228 | shlibpath_var=LD_LIBRARY_PATH |
17113 | 17379 | libsuff= |
17114 | 17380 | case "$host_cpu" in |
17115 | 17381 | x86_64*) |
17116 | echo '#line 17117 "configure"' > conftest.$ac_ext | |
17382 | echo '#line 17383 "configure"' > conftest.$ac_ext | |
17117 | 17383 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
17118 | 17384 | (eval $ac_compile) 2>&5 |
17119 | 17385 | ac_status=$? |
17879 | 18145 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
17880 | 18146 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
17881 | 18147 | -e 's:$: $lt_compiler_flag:'` |
17882 | (eval echo "\"\$as_me:17883: $lt_compile\"" >&5) | |
18148 | (eval echo "\"\$as_me:18149: $lt_compile\"" >&5) | |
17883 | 18149 | (eval "$lt_compile" 2>conftest.err) |
17884 | 18150 | ac_status=$? |
17885 | 18151 | cat conftest.err >&5 |
17886 | echo "$as_me:17887: \$? = $ac_status" >&5 | |
18152 | echo "$as_me:18153: \$? = $ac_status" >&5 | |
17887 | 18153 | if (exit $ac_status) && test -s "$ac_outfile"; then |
17888 | 18154 | # The compiler can only warn and ignore the option if not recognized |
17889 | 18155 | # So say no if there are warnings other than the usual output. |
18141 | 18407 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
18142 | 18408 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
18143 | 18409 | -e 's:$: $lt_compiler_flag:'` |
18144 | (eval echo "\"\$as_me:18145: $lt_compile\"" >&5) | |
18410 | (eval echo "\"\$as_me:18411: $lt_compile\"" >&5) | |
18145 | 18411 | (eval "$lt_compile" 2>conftest.err) |
18146 | 18412 | ac_status=$? |
18147 | 18413 | cat conftest.err >&5 |
18148 | echo "$as_me:18149: \$? = $ac_status" >&5 | |
18414 | echo "$as_me:18415: \$? = $ac_status" >&5 | |
18149 | 18415 | if (exit $ac_status) && test -s "$ac_outfile"; then |
18150 | 18416 | # The compiler can only warn and ignore the option if not recognized |
18151 | 18417 | # So say no if there are warnings other than the usual output. |
18203 | 18469 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
18204 | 18470 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
18205 | 18471 | -e 's:$: $lt_compiler_flag:'` |
18206 | (eval echo "\"\$as_me:18207: $lt_compile\"" >&5) | |
18472 | (eval echo "\"\$as_me:18473: $lt_compile\"" >&5) | |
18207 | 18473 | (eval "$lt_compile" 2>out/conftest.err) |
18208 | 18474 | ac_status=$? |
18209 | 18475 | cat out/conftest.err >&5 |
18210 | echo "$as_me:18211: \$? = $ac_status" >&5 | |
18476 | echo "$as_me:18477: \$? = $ac_status" >&5 | |
18211 | 18477 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
18212 | 18478 | then |
18213 | 18479 | # The compiler can only warn and ignore the option if not recognized |
19476 | 19742 | *) objformat=elf ;; |
19477 | 19743 | esac |
19478 | 19744 | fi |
19479 | version_type=freebsd-$objformat | |
19745 | # Handle Gentoo/FreeBSD as it was Linux | |
19746 | case $host_vendor in | |
19747 | gentoo) | |
19748 | version_type=linux ;; | |
19749 | *) | |
19750 | version_type=freebsd-$objformat ;; | |
19751 | esac | |
19752 | ||
19480 | 19753 | case $version_type in |
19481 | 19754 | freebsd-elf*) |
19482 | 19755 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
19486 | 19759 | freebsd-*) |
19487 | 19760 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
19488 | 19761 | need_version=yes |
19762 | ;; | |
19763 | linux) | |
19764 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | |
19765 | soname_spec='${libname}${release}${shared_ext}$major' | |
19766 | need_lib_prefix=no | |
19767 | need_version=no | |
19489 | 19768 | ;; |
19490 | 19769 | esac |
19491 | 19770 | shlibpath_var=LD_LIBRARY_PATH |
19642 | 19921 | libsuff= |
19643 | 19922 | case "$host_cpu" in |
19644 | 19923 | x86_64*) |
19645 | echo '#line 19646 "configure"' > conftest.$ac_ext | |
19924 | echo '#line 19925 "configure"' > conftest.$ac_ext | |
19646 | 19925 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19647 | 19926 | (eval $ac_compile) 2>&5 |
19648 | 19927 | ac_status=$? |
20506 | 20785 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
20507 | 20786 | lt_status=$lt_dlunknown |
20508 | 20787 | cat > conftest.$ac_ext <<EOF |
20509 | #line 20510 "configure" | |
20788 | #line 20789 "configure" | |
20510 | 20789 | #include "confdefs.h" |
20511 | 20790 | |
20512 | 20791 | #if HAVE_DLFCN_H |
20604 | 20883 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
20605 | 20884 | lt_status=$lt_dlunknown |
20606 | 20885 | cat > conftest.$ac_ext <<EOF |
20607 | #line 20608 "configure" | |
20886 | #line 20887 "configure" | |
20608 | 20887 | #include "confdefs.h" |
20609 | 20888 | |
20610 | 20889 | #if HAVE_DLFCN_H |
21656 | 21935 | |
21657 | 21936 | |
21658 | 21937 | |
21659 | succeeded=no | |
21660 | ||
21661 | if test -z "$PKG_CONFIG"; then | |
21662 | # Extract the first word of "pkg-config", so it can be a program name with args. | |
21663 | set dummy pkg-config; ac_word=$2 | |
21938 | ||
21939 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
21940 | if test -n "$ac_tool_prefix"; then | |
21941 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | |
21942 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
21664 | 21943 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21665 | 21944 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
21666 | 21945 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
21685 | 21964 | done |
21686 | 21965 | done |
21687 | 21966 | |
21688 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | |
21689 | 21967 | ;; |
21690 | 21968 | esac |
21691 | 21969 | fi |
21699 | 21977 | echo "${ECHO_T}no" >&6 |
21700 | 21978 | fi |
21701 | 21979 | |
21980 | fi | |
21981 | if test -z "$ac_cv_path_PKG_CONFIG"; then | |
21982 | ac_pt_PKG_CONFIG=$PKG_CONFIG | |
21983 | # Extract the first word of "pkg-config", so it can be a program name with args. | |
21984 | set dummy pkg-config; ac_word=$2 | |
21985 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
21986 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
21987 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then | |
21988 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21989 | else | |
21990 | case $ac_pt_PKG_CONFIG in | |
21991 | [\\/]* | ?:[\\/]*) | |
21992 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | |
21993 | ;; | |
21994 | *) | |
21995 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
21996 | for as_dir in $PATH | |
21997 | do | |
21998 | IFS=$as_save_IFS | |
21999 | test -z "$as_dir" && as_dir=. | |
22000 | for ac_exec_ext in '' $ac_executable_extensions; do | |
22001 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
22002 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
22003 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
22004 | break 2 | |
21702 | 22005 | fi |
21703 | ||
21704 | if test "$PKG_CONFIG" = "no" ; then | |
21705 | echo "*** The pkg-config script could not be found. Make sure it is" | |
21706 | echo "*** in your path, or set the PKG_CONFIG environment variable" | |
21707 | echo "*** to the full path to pkg-config." | |
21708 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | |
21709 | else | |
21710 | PKG_CONFIG_MIN_VERSION=0.9.0 | |
21711 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
21712 | echo "$as_me:$LINENO: checking for gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" >&5 | |
21713 | echo $ECHO_N "checking for gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0... $ECHO_C" >&6 | |
21714 | ||
21715 | if $PKG_CONFIG --exists "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" ; then | |
21716 | echo "$as_me:$LINENO: result: yes" >&5 | |
22006 | done | |
22007 | done | |
22008 | ||
22009 | ;; | |
22010 | esac | |
22011 | fi | |
22012 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
22013 | ||
22014 | if test -n "$ac_pt_PKG_CONFIG"; then | |
22015 | echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 | |
22016 | echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 | |
22017 | else | |
22018 | echo "$as_me:$LINENO: result: no" >&5 | |
22019 | echo "${ECHO_T}no" >&6 | |
22020 | fi | |
22021 | ||
22022 | PKG_CONFIG=$ac_pt_PKG_CONFIG | |
22023 | else | |
22024 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |
22025 | fi | |
22026 | ||
22027 | fi | |
22028 | if test -n "$PKG_CONFIG"; then | |
22029 | _pkg_min_version=0.9.0 | |
22030 | echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 | |
22031 | echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 | |
22032 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
22033 | echo "$as_me:$LINENO: result: yes" >&5 | |
21717 | 22034 | echo "${ECHO_T}yes" >&6 |
21718 | succeeded=yes | |
21719 | ||
21720 | echo "$as_me:$LINENO: checking GTKMM_CFLAGS" >&5 | |
21721 | echo $ECHO_N "checking GTKMM_CFLAGS... $ECHO_C" >&6 | |
21722 | GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"` | |
21723 | echo "$as_me:$LINENO: result: $GTKMM_CFLAGS" >&5 | |
21724 | echo "${ECHO_T}$GTKMM_CFLAGS" >&6 | |
21725 | ||
21726 | echo "$as_me:$LINENO: checking GTKMM_LIBS" >&5 | |
21727 | echo $ECHO_N "checking GTKMM_LIBS... $ECHO_C" >&6 | |
21728 | GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"` | |
21729 | echo "$as_me:$LINENO: result: $GTKMM_LIBS" >&5 | |
21730 | echo "${ECHO_T}$GTKMM_LIBS" >&6 | |
21731 | else | |
21732 | GTKMM_CFLAGS="" | |
21733 | GTKMM_LIBS="" | |
21734 | ## If we have a custom action on failure, don't print errors, but | |
21735 | ## do set a variable so people can do so. | |
21736 | GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"` | |
21737 | echo $GTKMM_PKG_ERRORS | |
21738 | fi | |
21739 | ||
21740 | ||
21741 | ||
21742 | else | |
21743 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
21744 | echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
21745 | fi | |
21746 | fi | |
21747 | ||
21748 | if test $succeeded = yes; then | |
21749 | : | |
21750 | else | |
21751 | { { echo "$as_me:$LINENO: error: Library requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 | |
21752 | echo "$as_me: error: Library requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} | |
22035 | else | |
22036 | echo "$as_me:$LINENO: result: no" >&5 | |
22037 | echo "${ECHO_T}no" >&6 | |
22038 | PKG_CONFIG="" | |
22039 | fi | |
22040 | ||
22041 | fi | |
22042 | ||
22043 | pkg_failed=no | |
22044 | echo "$as_me:$LINENO: checking for GTKMM" >&5 | |
22045 | echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6 | |
22046 | ||
22047 | if test -n "$PKG_CONFIG"; then | |
22048 | if test -n "$PKG_CONFIG" && \ | |
22049 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0\"") >&5 | |
22050 | ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0") 2>&5 | |
22051 | ac_status=$? | |
22052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22053 | (exit $ac_status); }; then | |
22054 | pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" 2>/dev/null` | |
22055 | else | |
22056 | pkg_failed=yes | |
22057 | fi | |
22058 | else | |
22059 | pkg_failed=untried | |
22060 | fi | |
22061 | if test -n "$PKG_CONFIG"; then | |
22062 | if test -n "$PKG_CONFIG" && \ | |
22063 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0\"") >&5 | |
22064 | ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0") 2>&5 | |
22065 | ac_status=$? | |
22066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22067 | (exit $ac_status); }; then | |
22068 | pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0" 2>/dev/null` | |
22069 | else | |
22070 | pkg_failed=yes | |
22071 | fi | |
22072 | else | |
22073 | pkg_failed=untried | |
22074 | fi | |
22075 | ||
22076 | if test $pkg_failed = yes; then | |
22077 | GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0"` | |
22078 | # Put the nasty error message in config.log where it belongs | |
22079 | echo "$GTKMM_PKG_ERRORS" 1>&5 | |
22080 | ||
22081 | { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) were not met. | |
22082 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
22083 | installed software in a non-standard prefix. | |
22084 | ||
22085 | Alternatively you may set the GTKMM_CFLAGS and GTKMM_LIBS environment variables | |
22086 | to avoid the need to call pkg-config. See the pkg-config man page for | |
22087 | more details." >&5 | |
22088 | echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) were not met. | |
22089 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | |
22090 | installed software in a non-standard prefix. | |
22091 | ||
22092 | Alternatively you may set the GTKMM_CFLAGS and GTKMM_LIBS environment variables | |
22093 | to avoid the need to call pkg-config. See the pkg-config man page for | |
22094 | more details." >&2;} | |
21753 | 22095 | { (exit 1); exit 1; }; } |
21754 | fi | |
21755 | ||
22096 | elif test $pkg_failed = untried; then | |
22097 | { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it | |
22098 | is in your PATH or set the PKG_CONFIG environment variable to the full | |
22099 | path to pkg-config. | |
22100 | ||
22101 | Alternatively you may set the GTKMM_CFLAGS and GTKMM_LIBS environment variables | |
22102 | to avoid the need to call pkg-config. See the pkg-config man page for | |
22103 | more details. | |
22104 | ||
22105 | To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. | |
22106 | See \`config.log' for more details." >&5 | |
22107 | echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it | |
22108 | is in your PATH or set the PKG_CONFIG environment variable to the full | |
22109 | path to pkg-config. | |
22110 | ||
22111 | Alternatively you may set the GTKMM_CFLAGS and GTKMM_LIBS environment variables | |
22112 | to avoid the need to call pkg-config. See the pkg-config man page for | |
22113 | more details. | |
22114 | ||
22115 | To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. | |
22116 | See \`config.log' for more details." >&2;} | |
22117 | { (exit 1); exit 1; }; } | |
22118 | else | |
22119 | GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS | |
22120 | GTKMM_LIBS=$pkg_cv_GTKMM_LIBS | |
22121 | echo "$as_me:$LINENO: result: yes" >&5 | |
22122 | echo "${ECHO_T}yes" >&6 | |
22123 | : | |
22124 | fi | |
21756 | 22125 | |
21757 | 22126 | echo "$as_me:$LINENO: checking for nautilus extensions directory" >&5 |
21758 | 22127 | echo $ECHO_N "checking for nautilus extensions directory... $ECHO_C" >&6 |
21770 | 22139 | else |
21771 | 22140 | NAUTILUS_EXTENSIONS_DIR=$withval |
21772 | 22141 | |
21773 | echo $withval | |
22142 | echo "$as_me:$LINENO: result: $withval" >&5 | |
22143 | echo "${ECHO_T}$withval" >&6 | |
21774 | 22144 | fi |
21775 | 22145 | |
21776 | 22146 | |
21790 | 22160 | |
21791 | 22161 | fi; |
21792 | 22162 | |
21793 | ||
21794 | ||
21795 | for ac_header in sys/acl.h | |
22163 | enable_eua=no | |
22164 | echo "$as_me:$LINENO: checking for extended user attributes support" >&5 | |
22165 | echo $ECHO_N "checking for extended user attributes support... $ECHO_C" >&6 | |
22166 | # Check whether --enable-user-attributes or --disable-user-attributes was given. | |
22167 | if test "${enable_user_attributes+set}" = set; then | |
22168 | enableval="$enable_user_attributes" | |
22169 | ||
22170 | if test x$enableval = xyes -o x$enableval = x; | |
22171 | then | |
22172 | echo "$as_me:$LINENO: result: yes" >&5 | |
22173 | echo "${ECHO_T}yes" >&6 | |
22174 | enable_eua=yes | |
22175 | else | |
22176 | if test x$enableval = xno; | |
22177 | then | |
22178 | enable_eua=no | |
22179 | echo "$as_me:$LINENO: result: no" >&5 | |
22180 | echo "${ECHO_T}no" >&6 | |
22181 | else | |
22182 | { { echo "$as_me:$LINENO: error: This option can only be given 'yes' or 'no' values" >&5 | |
22183 | echo "$as_me: error: This option can only be given 'yes' or 'no' values" >&2;} | |
22184 | { (exit 1); exit 1; }; } | |
22185 | fi | |
22186 | fi | |
22187 | ||
22188 | ||
22189 | else | |
22190 | ||
22191 | case $target_os in | |
22192 | linux*) | |
22193 | enable_eua=yes | |
22194 | echo "$as_me:$LINENO: result: yes, since we are in GNU/Linux" >&5 | |
22195 | echo "${ECHO_T}yes, since we are in GNU/Linux" >&6 | |
22196 | ;; | |
22197 | *) | |
22198 | enable_eua=no | |
22199 | echo "$as_me:$LINENO: result: no, this does not seem to be GNU/Linux" >&5 | |
22200 | echo "${ECHO_T}no, this does not seem to be GNU/Linux" >&6 | |
22201 | ;; | |
22202 | esac | |
22203 | ||
22204 | ||
22205 | fi; | |
22206 | ||
22207 | if test x$enable_eua = xyes; | |
22208 | then | |
22209 | ||
22210 | ||
22211 | for ac_header in attr/xattr.h | |
21796 | 22212 | do |
21797 | 22213 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21798 | 22214 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21937 | 22353 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21938 | 22354 | _ACEOF |
21939 | 22355 | |
22356 | else | |
22357 | { { echo "$as_me:$LINENO: error: This header is mandatory for extended user attributes support" >&5 | |
22358 | echo "$as_me: error: This header is mandatory for extended user attributes support" >&2;} | |
22359 | { (exit 1); exit 1; }; } | |
21940 | 22360 | fi |
21941 | 22361 | |
21942 | 22362 | done |
21943 | 22363 | |
21944 | 22364 | |
21945 | ||
21946 | for ac_header in acl/libacl.h | |
22365 | cat >>confdefs.h <<\_ACEOF | |
22366 | #define ENABLE_USER_XATTR 1 | |
22367 | _ACEOF | |
22368 | ||
22369 | fi | |
22370 | ||
22371 | ||
22372 | if test x$enable_eua = xyes; then | |
22373 | ENABLE_USER_XATTR_TRUE= | |
22374 | ENABLE_USER_XATTR_FALSE='#' | |
22375 | else | |
22376 | ENABLE_USER_XATTR_TRUE='#' | |
22377 | ENABLE_USER_XATTR_FALSE= | |
22378 | fi | |
22379 | ||
22380 | ||
22381 | acl_headers=0 | |
22382 | ||
22383 | ||
22384 | for ac_header in sys/acl.h | |
21947 | 22385 | do |
21948 | 22386 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21949 | 22387 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
22088 | 22526 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
22089 | 22527 | _ACEOF |
22090 | 22528 | |
22529 | acl_headers=1 | |
22530 | ||
22091 | 22531 | fi |
22092 | 22532 | |
22093 | 22533 | done |
22094 | 22534 | |
22535 | ||
22536 | ||
22537 | for ac_header in acl/libacl.h | |
22538 | do | |
22539 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
22540 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
22541 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
22542 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
22543 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
22544 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
22545 | fi | |
22546 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
22547 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
22548 | else | |
22549 | # Is the header compilable? | |
22550 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
22551 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
22552 | cat >conftest.$ac_ext <<_ACEOF | |
22553 | /* confdefs.h. */ | |
22554 | _ACEOF | |
22555 | cat confdefs.h >>conftest.$ac_ext | |
22556 | cat >>conftest.$ac_ext <<_ACEOF | |
22557 | /* end confdefs.h. */ | |
22558 | $ac_includes_default | |
22559 | #include <$ac_header> | |
22560 | _ACEOF | |
22561 | rm -f conftest.$ac_objext | |
22562 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
22563 | (eval $ac_compile) 2>conftest.er1 | |
22564 | ac_status=$? | |
22565 | grep -v '^ *+' conftest.er1 >conftest.err | |
22566 | rm -f conftest.er1 | |
22567 | cat conftest.err >&5 | |
22568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22569 | (exit $ac_status); } && | |
22570 | { ac_try='test -z "$ac_cxx_werror_flag" | |
22571 | || test ! -s conftest.err' | |
22572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22573 | (eval $ac_try) 2>&5 | |
22574 | ac_status=$? | |
22575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22576 | (exit $ac_status); }; } && | |
22577 | { ac_try='test -s conftest.$ac_objext' | |
22578 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
22579 | (eval $ac_try) 2>&5 | |
22580 | ac_status=$? | |
22581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22582 | (exit $ac_status); }; }; then | |
22583 | ac_header_compiler=yes | |
22584 | else | |
22585 | echo "$as_me: failed program was:" >&5 | |
22586 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22587 | ||
22588 | ac_header_compiler=no | |
22589 | fi | |
22590 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
22591 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
22592 | echo "${ECHO_T}$ac_header_compiler" >&6 | |
22593 | ||
22594 | # Is the header present? | |
22595 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
22596 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
22597 | cat >conftest.$ac_ext <<_ACEOF | |
22598 | /* confdefs.h. */ | |
22599 | _ACEOF | |
22600 | cat confdefs.h >>conftest.$ac_ext | |
22601 | cat >>conftest.$ac_ext <<_ACEOF | |
22602 | /* end confdefs.h. */ | |
22603 | #include <$ac_header> | |
22604 | _ACEOF | |
22605 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
22606 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
22607 | ac_status=$? | |
22608 | grep -v '^ *+' conftest.er1 >conftest.err | |
22609 | rm -f conftest.er1 | |
22610 | cat conftest.err >&5 | |
22611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
22612 | (exit $ac_status); } >/dev/null; then | |
22613 | if test -s conftest.err; then | |
22614 | ac_cpp_err=$ac_cxx_preproc_warn_flag | |
22615 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | |
22616 | else | |
22617 | ac_cpp_err= | |
22618 | fi | |
22619 | else | |
22620 | ac_cpp_err=yes | |
22621 | fi | |
22622 | if test -z "$ac_cpp_err"; then | |
22623 | ac_header_preproc=yes | |
22624 | else | |
22625 | echo "$as_me: failed program was:" >&5 | |
22626 | sed 's/^/| /' conftest.$ac_ext >&5 | |
22627 | ||
22628 | ac_header_preproc=no | |
22629 | fi | |
22630 | rm -f conftest.err conftest.$ac_ext | |
22631 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
22632 | echo "${ECHO_T}$ac_header_preproc" >&6 | |
22633 | ||
22634 | # So? What about this header? | |
22635 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in | |
22636 | yes:no: ) | |
22637 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
22638 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
22639 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
22640 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
22641 | ac_header_preproc=yes | |
22642 | ;; | |
22643 | no:yes:* ) | |
22644 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
22645 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
22646 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
22647 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
22648 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
22649 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
22650 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
22651 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
22652 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
22653 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
22654 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
22655 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
22656 | ( | |
22657 | cat <<\_ASBOX | |
22658 | ## -------------------------- ## | |
22659 | ## Report this to rofi@ya.com ## | |
22660 | ## -------------------------- ## | |
22661 | _ASBOX | |
22662 | ) | | |
22663 | sed "s/^/$as_me: WARNING: /" >&2 | |
22664 | ;; | |
22665 | esac | |
22666 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
22667 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
22668 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
22669 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
22670 | else | |
22671 | eval "$as_ac_Header=\$ac_header_preproc" | |
22672 | fi | |
22673 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
22674 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
22675 | ||
22676 | fi | |
22677 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
22678 | cat >>confdefs.h <<_ACEOF | |
22679 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
22680 | _ACEOF | |
22681 | ||
22682 | acl_headers=1 | |
22683 | ||
22684 | fi | |
22685 | ||
22686 | done | |
22687 | ||
22688 | ||
22689 | if test x$acl_headers = x0; | |
22690 | then | |
22691 | { { echo "$as_me:$LINENO: error: No suitable headers for ACL support have been found" >&5 | |
22692 | echo "$as_me: error: No suitable headers for ACL support have been found" >&2;} | |
22693 | { (exit 1); exit 1; }; } | |
22694 | fi | |
22095 | 22695 | |
22096 | 22696 | echo "$as_me:$LINENO: checking for acl_get_perm_np" >&5 |
22097 | 22697 | echo $ECHO_N "checking for acl_get_perm_np... $ECHO_C" >&6 |
22382 | 22982 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
22383 | 22983 | Usually this means the macro was only invoked conditionally." >&5 |
22384 | 22984 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
22985 | Usually this means the macro was only invoked conditionally." >&2;} | |
22986 | { (exit 1); exit 1; }; } | |
22987 | fi | |
22988 | if test -z "${ENABLE_USER_XATTR_TRUE}" && test -z "${ENABLE_USER_XATTR_FALSE}"; then | |
22989 | { { echo "$as_me:$LINENO: error: conditional \"ENABLE_USER_XATTR\" was never defined. | |
22990 | Usually this means the macro was only invoked conditionally." >&5 | |
22991 | echo "$as_me: error: conditional \"ENABLE_USER_XATTR\" was never defined. | |
22385 | 22992 | Usually this means the macro was only invoked conditionally." >&2;} |
22386 | 22993 | { (exit 1); exit 1; }; } |
22387 | 22994 | fi |
22656 | 23263 | } >&5 |
22657 | 23264 | cat >&5 <<_CSEOF |
22658 | 23265 | |
22659 | This file was extended by eiciel $as_me 0.8.4, which was | |
23266 | This file was extended by eiciel $as_me 0.9, which was | |
22660 | 23267 | generated by GNU Autoconf 2.59. Invocation command line was |
22661 | 23268 | |
22662 | 23269 | CONFIG_FILES = $CONFIG_FILES |
22719 | 23326 | |
22720 | 23327 | cat >>$CONFIG_STATUS <<_ACEOF |
22721 | 23328 | ac_cs_version="\\ |
22722 | eiciel config.status 0.8.4 | |
23329 | eiciel config.status 0.9 | |
22723 | 23330 | configured by $0, generated by GNU Autoconf 2.59, |
22724 | 23331 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
22725 | 23332 | |
22819 | 23426 | # |
22820 | 23427 | |
22821 | 23428 | # Capture the value of obsolete ALL_LINGUAS because we need it to compute |
22822 | # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it | |
23429 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it | |
22823 | 23430 | # from automake. |
22824 | 23431 | eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
22825 | 23432 | # Capture the value of LINGUAS because we need it to compute CATALOGS. |
22933 | 23540 | s,@ECHO_N@,$ECHO_N,;t t |
22934 | 23541 | s,@ECHO_T@,$ECHO_T,;t t |
22935 | 23542 | s,@LIBS@,$LIBS,;t t |
23543 | s,@build@,$build,;t t | |
23544 | s,@build_cpu@,$build_cpu,;t t | |
23545 | s,@build_vendor@,$build_vendor,;t t | |
23546 | s,@build_os@,$build_os,;t t | |
23547 | s,@host@,$host,;t t | |
23548 | s,@host_cpu@,$host_cpu,;t t | |
23549 | s,@host_vendor@,$host_vendor,;t t | |
23550 | s,@host_os@,$host_os,;t t | |
23551 | s,@target@,$target,;t t | |
23552 | s,@target_cpu@,$target_cpu,;t t | |
23553 | s,@target_vendor@,$target_vendor,;t t | |
23554 | s,@target_os@,$target_os,;t t | |
22936 | 23555 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
22937 | 23556 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
22938 | 23557 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
22974 | 23593 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
22975 | 23594 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
22976 | 23595 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
22977 | s,@build@,$build,;t t | |
22978 | s,@build_cpu@,$build_cpu,;t t | |
22979 | s,@build_vendor@,$build_vendor,;t t | |
22980 | s,@build_os@,$build_os,;t t | |
22981 | s,@host@,$host,;t t | |
22982 | s,@host_cpu@,$host_cpu,;t t | |
22983 | s,@host_vendor@,$host_vendor,;t t | |
22984 | s,@host_os@,$host_os,;t t | |
23596 | s,@INTL_MACOSX_LIBS@,$INTL_MACOSX_LIBS,;t t | |
22985 | 23597 | s,@LIBICONV@,$LIBICONV,;t t |
22986 | 23598 | s,@LTLIBICONV@,$LTLIBICONV,;t t |
22987 | 23599 | s,@INTLLIBS@,$INTLLIBS,;t t |
23008 | 23620 | s,@ac_ct_F77@,$ac_ct_F77,;t t |
23009 | 23621 | s,@LIBTOOL@,$LIBTOOL,;t t |
23010 | 23622 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
23623 | s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t | |
23011 | 23624 | s,@GTKMM_CFLAGS@,$GTKMM_CFLAGS,;t t |
23012 | 23625 | s,@GTKMM_LIBS@,$GTKMM_LIBS,;t t |
23013 | 23626 | s,@NAUTILUS_EXTENSIONS_DIR@,$NAUTILUS_EXTENSIONS_DIR,;t t |
23627 | s,@ENABLE_USER_XATTR_TRUE@,$ENABLE_USER_XATTR_TRUE,;t t | |
23628 | s,@ENABLE_USER_XATTR_FALSE@,$ENABLE_USER_XATTR_FALSE,;t t | |
23014 | 23629 | s,@llibreria_acl@,$llibreria_acl,;t t |
23015 | 23630 | s,@LIBOBJS@,$LIBOBJS,;t t |
23016 | 23631 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
23631 | 24246 | /*) top_srcdir="$ac_given_srcdir" ;; |
23632 | 24247 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
23633 | 24248 | esac |
24249 | # Treat a directory as a PO directory if and only if it has a | |
24250 | # POTFILES.in file. This allows packages to have multiple PO | |
24251 | # directories under different names or in different locations. | |
23634 | 24252 | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
23635 | 24253 | rm -f "$ac_dir/POTFILES" |
23636 | 24254 | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
23637 | 24255 | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
23638 | 24256 | POMAKEFILEDEPS="POTFILES.in" |
23639 | # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend | |
24257 | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend | |
23640 | 24258 | # on $ac_dir but don't depend on user-specified configuration |
23641 | 24259 | # parameters. |
23642 | 24260 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
23644 | 24262 | if test -n "$OBSOLETE_ALL_LINGUAS"; then |
23645 | 24263 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
23646 | 24264 | fi |
23647 | ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
24265 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` | |
23648 | 24266 | # Hide the ALL_LINGUAS assigment from automake. |
23649 | 24267 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
23650 | 24268 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
23652 | 24270 | # The set of available languages was given in configure.in. |
23653 | 24271 | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
23654 | 24272 | fi |
24273 | # Compute POFILES | |
24274 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) | |
24275 | # Compute UPDATEPOFILES | |
24276 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) | |
24277 | # Compute DUMMYPOFILES | |
24278 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) | |
24279 | # Compute GMOFILES | |
24280 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) | |
23655 | 24281 | case "$ac_given_srcdir" in |
23656 | 24282 | .) srcdirpre= ;; |
23657 | 24283 | *) srcdirpre='$(srcdir)/' ;; |
23658 | 24284 | esac |
23659 | 24285 | POFILES= |
23660 | GMOFILES= | |
23661 | 24286 | UPDATEPOFILES= |
23662 | 24287 | DUMMYPOFILES= |
24288 | GMOFILES= | |
23663 | 24289 | for lang in $ALL_LINGUAS; do |
23664 | 24290 | POFILES="$POFILES $srcdirpre$lang.po" |
23665 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
23666 | 24291 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
23667 | 24292 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
24293 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" | |
23668 | 24294 | done |
23669 | 24295 | # CATALOGS depends on both $ac_dir and the user's LINGUAS |
23670 | 24296 | # environment variable. |
23699 | 24325 | done |
23700 | 24326 | fi |
23701 | 24327 | test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
23702 | sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" | |
24328 | sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" | |
23703 | 24329 | for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
23704 | 24330 | if test -f "$f"; then |
23705 | 24331 | case "$f" in |
0 | 0 | dnl Establim el nom del paquet, la versió i l'email de contacte |
1 | AC_INIT(eiciel, 0.8.4, rofi@ya.com) | |
1 | AC_INIT(eiciel, 0.9, rofi@ya.com) | |
2 | ||
3 | dnl On estem ? | |
4 | AC_CANONICAL_BUILD | |
5 | AC_CANONICAL_HOST | |
6 | AC_CANONICAL_TARGET | |
2 | 7 | |
3 | 8 | dnl Establim com a prerequisit Autoconf 2.59 |
4 | 9 | AC_PREREQ(2.57) |
37 | 42 | AC_MSG_CHECKING([for nautilus extensions directory]) |
38 | 43 | |
39 | 44 | AC_ARG_WITH(nautilus-extensions-dir, |
40 | [ --with-nautilus-extensions-dir=DIR Directory where nautilus extensions have to be | |
41 | installed (usually /usr/lib/nautilus/extensions-1.0)] | |
45 | AC_HELP_STRING([--with-nautilus-extensions-dir=DIR], [Directory where nautilus extensions have to be installed (usually /usr/lib/nautilus/extensions-1.0)]) | |
42 | 46 | , |
43 | 47 | [ |
44 | 48 | if test x$withval = xyes -o x$withval = xno; |
46 | 50 | AC_MSG_ERROR([If you specify --with-nautilus-extensions-dir you must set the directory. E.g.: --with-nautilus-extensions-dir=/usr/lib/nautilus/extensions-1.0]) |
47 | 51 | else |
48 | 52 | AC_SUBST(NAUTILUS_EXTENSIONS_DIR, [$withval]) |
49 | echo $withval | |
53 | AC_MSG_RESULT([$withval]) | |
50 | 54 | fi |
51 | 55 | ] |
52 | 56 | , |
61 | 65 | ] |
62 | 66 | ) |
63 | 67 | |
68 | enable_eua=no | |
69 | AC_MSG_CHECKING([for extended user attributes support]) | |
70 | AC_ARG_ENABLE(user-attributes, | |
71 | AC_HELP_STRING([--enable-user-attributes], [Enables support for extended user attributes. This is GNU/Linux specific.]), | |
72 | [ | |
73 | if test x$enableval = xyes -o x$enableval = x; | |
74 | then | |
75 | AC_MSG_RESULT([yes]) | |
76 | enable_eua=yes | |
77 | else | |
78 | if test x$enableval = xno; | |
79 | then | |
80 | enable_eua=no | |
81 | AC_MSG_RESULT([no]) | |
82 | else | |
83 | AC_MSG_ERROR([This option can only be given 'yes' or 'no' values]) | |
84 | fi | |
85 | fi | |
86 | ] | |
87 | , | |
88 | [ | |
89 | case $target_os in | |
90 | linux*) | |
91 | enable_eua=yes | |
92 | AC_MSG_RESULT([yes, since we are in GNU/Linux]) | |
93 | ;; | |
94 | *) | |
95 | enable_eua=no | |
96 | AC_MSG_RESULT([no, this does not seem to be GNU/Linux]) | |
97 | ;; | |
98 | esac | |
99 | ] | |
100 | ) | |
101 | ||
102 | if test x$enable_eua = xyes; | |
103 | then | |
104 | AC_CHECK_HEADERS([attr/xattr.h], [], AC_MSG_ERROR([This header is mandatory for extended user attributes support]), []) | |
105 | AC_DEFINE([ENABLE_USER_XATTR], [1], [Enables user extended attributes support]) | |
106 | fi | |
107 | AM_CONDITIONAL(ENABLE_USER_XATTR, test x$enable_eua = xyes) | |
108 | ||
64 | 109 | dnl Comprovem els headers |
65 | AC_CHECK_HEADERS([sys/acl.h], [], [], []) | |
110 | acl_headers=0 | |
66 | 111 | |
67 | AC_CHECK_HEADERS([acl/libacl.h], [], [], []) | |
112 | AC_CHECK_HEADERS([sys/acl.h], | |
113 | [ | |
114 | acl_headers=1 | |
115 | ], [], []) | |
116 | ||
117 | AC_CHECK_HEADERS([acl/libacl.h], | |
118 | [ | |
119 | acl_headers=1 | |
120 | ], [], []) | |
121 | ||
122 | if test x$acl_headers = x0; | |
123 | then | |
124 | AC_MSG_ERROR([No suitable headers for ACL support have been found]) | |
125 | fi | |
68 | 126 | |
69 | 127 | dnl Per a FreeBSD |
70 | 128 | AC_CHECK_FUNC([acl_get_perm_np], |
71 | [AC_DEFINE([HAVE_ACL_GET_PERM_NP], [], [Hi ha la funcio acl_get_perm_np])] | |
129 | [AC_DEFINE([HAVE_ACL_GET_PERM_NP], [], [acl_get_perm_np is available])] | |
72 | 130 | []) |
73 | 131 | |
74 | 132 | AC_SUBST(llibreria_acl, []) |
76 | 134 | dnl Comprovem si hi ha la llibreria d'ACL |
77 | 135 | AC_CHECK_LIB(acl, acl_get_perm, |
78 | 136 | [ |
79 | AC_DEFINE([HAVE_ACL_GET_PERM], [], [Hi ha la funcio acl_get_perm]) | |
137 | AC_DEFINE([HAVE_ACL_GET_PERM], [], [acl_get_perm is available]) | |
80 | 138 | AC_SUBST(llibreria_acl, [-lacl]) |
81 | 139 | ],) |
82 | 140 |
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | SUBDIRS = figures |
149 | 157 | |
150 | 158 | eicieldocdir = $(pkgdatadir)/doc/C |
1 | 1 | <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
2 | 2 | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ |
3 | 3 | <!ENTITY eiciel "Eiciel"> |
4 | <!ENTITY version "0.8.4"> | |
4 | <!ENTITY version "0.9"> | |
5 | 5 | ]> |
6 | 6 | <?yelp:chunk-depth 2?> |
7 | 7 | <article id="index" lang="en"> |
58 | 58 | </para> |
59 | 59 | |
60 | 60 | <sect2 id="que-son-acls"> |
61 | <title>What ACL are?</title> | |
61 | <title>What are ACL?</title> | |
62 | 62 | |
63 | 63 | <para> |
64 | 64 | Before explaining what ACLs are we have to see how traditional UNIX permissions work. |
172 | 172 | Consult your distribution documentation |
173 | 173 | </para> |
174 | 174 | </note> |
175 | </sect2> | |
176 | <sect2 id="what-is-ea"> | |
177 | <title>What are extended user attributes ?</title> | |
178 | <para> | |
179 | In the process of adding ACL support for GNU/Linux, developers decided to abstract them | |
180 | away in what were named <emphasis>extended attributes</emphasis>. These extended attributes | |
181 | are bits of additional information linked to files. They are used, for instance, to implement ACL or | |
182 | for storing <emphasis>security labels</emphasis> in SELinux. | |
183 | </para> | |
184 | <para> | |
185 | <emphasis>Extended user attributes</emphasis> brings to users the possibility of storing arbitrary chunks | |
186 | of data in their files. For instance, one could create a Revision attribute that would store the date | |
187 | of the last revision. | |
188 | </para> | |
175 | 189 | </sect2> |
176 | 190 | </sect1> |
177 | 191 | |
495 | 509 | |
496 | 510 | </sect2> |
497 | 511 | |
512 | <sect2 id="working-with-ea"> | |
513 | <title>Working with extended user attributes</title> | |
514 | <para> | |
515 | Extended user attributes are pairs of attributes and values that can be stored arbitrarily in files. | |
516 | For instance one could store the last Revision of a file or a brief Description. | |
517 | Eiciel allows to work with extended user attributes both in standalone application and Nautilus property | |
518 | page. | |
519 | </para> | |
520 | <sect3 id="add-ea"> | |
521 | <title>Adding an attribute</title> | |
522 | <para> | |
523 | You can add an attribute with <guibutton>Add</guibutton>. A default attribute name and value will be created. | |
524 | You can edit them by clicking on the attribute list. | |
525 | </para> | |
526 | </sect3> | |
527 | ||
528 | <sect3 id="remove-ea"> | |
529 | <title>Removing an attribute</title> | |
530 | <para> | |
531 | To remove an attribute, select it from the list and press <guibutton>Remove</guibutton>. | |
532 | </para> | |
533 | </sect3> | |
534 | ||
535 | <figure> | |
536 | <title>Extended user attributes</title> | |
537 | <screenshot> | |
538 | <imageobject> | |
539 | <imagedata fileref="figures/pantalla_ea.png" format="PNG"/> | |
540 | </imageobject> | |
541 | </screenshot> | |
542 | </figure> | |
543 | ||
544 | ||
545 | <warning> | |
546 | <para> | |
547 | Even if extended user attributes are <emphasis>encoding neutral</emphasis> all the data | |
548 | that can be introduced in Eiciel will be saved in UTF-8 charset. Remind this if you intend | |
549 | to manage these attributes with another application which might not be UTF-8 capable. | |
550 | Eiciel might not be useful if you store binary (non printable) data in your user | |
551 | attribute values. | |
552 | </para> | |
553 | </warning> | |
554 | ||
555 | </sect2> | |
556 | ||
498 | 557 | </sect1> |
499 | 558 | |
500 | 559 | <glossary> |
58 | 58 | </para> |
59 | 59 | |
60 | 60 | <sect2 id="que-son-acls"> |
61 | <title>What ACL are?</title> | |
61 | <title>What are ACL?</title> | |
62 | 62 | |
63 | 63 | <para> |
64 | 64 | Before explaining what ACLs are we have to see how traditional UNIX permissions work. |
172 | 172 | Consult your distribution documentation |
173 | 173 | </para> |
174 | 174 | </note> |
175 | </sect2> | |
176 | <sect2 id="what-is-ea"> | |
177 | <title>What are extended user attributes ?</title> | |
178 | <para> | |
179 | In the process of adding ACL support for GNU/Linux, developers decided to abstract them | |
180 | away in what were named <emphasis>extended attributes</emphasis>. These extended attributes | |
181 | are bits of additional information linked to files. They are used, for instance, to implement ACL or | |
182 | for storing <emphasis>security labels</emphasis> in SELinux. | |
183 | </para> | |
184 | <para> | |
185 | <emphasis>Extended user attributes</emphasis> brings to users the possibility of storing arbitrary chunks | |
186 | of data in their files. For instance, one could create a Revision attribute that would store the date | |
187 | of the last revision. | |
188 | </para> | |
175 | 189 | </sect2> |
176 | 190 | </sect1> |
177 | 191 | |
495 | 509 | |
496 | 510 | </sect2> |
497 | 511 | |
512 | <sect2 id="working-with-ea"> | |
513 | <title>Working with extended user attributes</title> | |
514 | <para> | |
515 | Extended user attributes are pairs of attributes and values that can be stored arbitrarily in files. | |
516 | For instance one could store the last Revision of a file or a brief Description. | |
517 | Eiciel allows to work with extended user attributes both in standalone application and Nautilus property | |
518 | page. | |
519 | </para> | |
520 | <sect3 id="add-ea"> | |
521 | <title>Adding an attribute</title> | |
522 | <para> | |
523 | You can add an attribute with <guibutton>Add</guibutton>. A default attribute name and value will be created. | |
524 | You can edit them by clicking on the attribute list. | |
525 | </para> | |
526 | </sect3> | |
527 | ||
528 | <sect3 id="remove-ea"> | |
529 | <title>Removing an attribute</title> | |
530 | <para> | |
531 | To remove an attribute, select it from the list and press <guibutton>Remove</guibutton>. | |
532 | </para> | |
533 | </sect3> | |
534 | ||
535 | <figure> | |
536 | <title>Extended user attributes</title> | |
537 | <screenshot> | |
538 | <imageobject> | |
539 | <imagedata fileref="figures/pantalla_ea.png" format="PNG"/> | |
540 | </imageobject> | |
541 | </screenshot> | |
542 | </figure> | |
543 | ||
544 | ||
545 | <warning> | |
546 | <para> | |
547 | Even if extended user attributes are <emphasis>encoding neutral</emphasis> all the data | |
548 | that can be introduced in Eiciel will be saved in UTF-8 charset. Remind this if you intend | |
549 | to manage these attributes with another application which might not be UTF-8 capable. | |
550 | Eiciel might not be useful if you store binary (non printable) data in your user | |
551 | attribute values. | |
552 | </para> | |
553 | </warning> | |
554 | ||
555 | </sect2> | |
556 | ||
498 | 557 | </sect1> |
499 | 558 | |
500 | 559 | <glossary> |
6 | 6 | permisos_acl.png \ |
7 | 7 | permisos_ugo.png \ |
8 | 8 | detall_mascara.png \ |
9 | pantalla_ea.png \ | |
9 | 10 | $(top_srcdir)/img/altres-default.png \ |
10 | 11 | $(top_srcdir)/img/altres.png \ |
11 | 12 | $(top_srcdir)/img/grup-acl-default.png \ |
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | eicieldocfiguresdir = $(pkgdatadir)/doc/C/figures |
149 | 157 | |
150 | 158 | dist_eicieldocfigures_DATA = \ |
154 | 162 | permisos_acl.png \ |
155 | 163 | permisos_ugo.png \ |
156 | 164 | detall_mascara.png \ |
165 | pantalla_ea.png \ | |
157 | 166 | $(top_srcdir)/img/altres-default.png \ |
158 | 167 | $(top_srcdir)/img/altres.png \ |
159 | 168 | $(top_srcdir)/img/grup-acl-default.png \ |
Binary diff not shown
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | SUBDIRS = C |
149 | 157 | subdir = doc |
150 | 158 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | eicieliconesdir = $(pkgdatadir)/img |
149 | 157 | |
150 | 158 | dist_eicielicones_DATA = altres-default.png \ |
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | EXTRA_DIST = gettext.h |
149 | 157 | subdir = lib |
150 | 158 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
60 | 60 | if test "X$LTCC" = X ; then |
61 | 61 | LTCC=${CC-gcc} |
62 | 62 | fi |
63 | # Same for EGREP, and just to be sure, do LTCC as well | |
64 | if test "x$EGREP" = x ; then | |
65 | EGREP=egrep | |
66 | fi | |
67 | if test "x$LTCC" = x ; then | |
68 | LTCC=${CC-gcc} | |
69 | fi | |
70 | 63 | |
71 | 64 | # Check that we have a working $echo. |
72 | 65 | if test "X$1" = X--no-reexec; then |
150 | 143 | execute_dlfiles= |
151 | 144 | lo2o="s/\\.lo\$/.${objext}/" |
152 | 145 | o2lo="s/\\.${objext}\$/.lo/" |
153 | ||
154 | if test -z "$max_cmd_len"; then | |
155 | i=0 | |
156 | testring="ABCD" | |
157 | new_result= | |
158 | ||
159 | # If test is not a shell built-in, we'll probably end up computing a | |
160 | # maximum length that is only half of the actual maximum length, but | |
161 | # we can't tell. | |
162 | while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ | |
163 | = "XX$testring") >/dev/null 2>&1 && | |
164 | new_result=`expr "X$testring" : ".*" 2>&1` && | |
165 | max_cmd_len="$new_result" && | |
166 | test $i != 17 # 1/2 MB should be enough | |
167 | do | |
168 | i=`expr $i + 1` | |
169 | testring="$testring$testring" | |
170 | done | |
171 | testring= | |
172 | # Add a significant safety factor because C++ compilers can tack on massive | |
173 | # amounts of additional arguments before passing them to the linker. | |
174 | # It appears as though 1/2 is a usable value. | |
175 | max_cmd_len=`expr $max_cmd_len \/ 2` | |
176 | fi | |
177 | 146 | |
178 | 147 | if test -z "$max_cmd_len"; then |
179 | 148 | i=0 |
287 | 256 | trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"` |
288 | 257 | # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc |
289 | 258 | extendcc=${host}-${CC} |
259 | # and sometimes libtool has CC=<OLDHOST>-gcc but user has CC=<NEWHOST>-gcc | |
260 | # (Gentoo-specific hack because we always export $CHOST) | |
261 | mungedcc=${CHOST-${host}}-${trimedcc} | |
290 | 262 | case "$@ " in |
291 | 263 | "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\ |
292 | 264 | "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*) |
294 | 266 | break ;; |
295 | 267 | "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\ |
296 | 268 | "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\ |
269 | "$mungedcc "* | " $mungedcc "* | "`$echo $mungedcc` "* | " `$echo $mungedcc` "*|\ | |
297 | 270 | " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) |
298 | 271 | # The compiler in the base compile command matches |
299 | 272 | # the one in the tagged configuration. |
5129 | 5102 | $echo >> $output "\ |
5130 | 5103 | if test \"\$libtool_execute_magic\" != \"$magic\"; then |
5131 | 5104 | # Run the actual program with our arguments. |
5105 | ||
5106 | # Make sure env LD_LIBRARY_PATH does not mess us up | |
5107 | if test -n \"\${LD_LIBRARY_PATH+set}\"; then | |
5108 | export LD_LIBRARY_PATH=\$progdir:\$LD_LIBRARY_PATH | |
5109 | fi | |
5132 | 5110 | " |
5133 | 5111 | case $host in |
5134 | 5112 | # Backslashes separate directories on plain windows |
61 | 61 | ECHO_N = @ECHO_N@ |
62 | 62 | ECHO_T = @ECHO_T@ |
63 | 63 | EGREP = @EGREP@ |
64 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
65 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 66 | EXEEXT = @EXEEXT@ |
65 | 67 | F77 = @F77@ |
66 | 68 | FFLAGS = @FFLAGS@ |
72 | 74 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 75 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 76 | INTLLIBS = @INTLLIBS@ |
77 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 78 | LDFLAGS = @LDFLAGS@ |
76 | 79 | LIBICONV = @LIBICONV@ |
77 | 80 | LIBINTL = @LIBINTL@ |
110 | 113 | ac_ct_F77 = @ac_ct_F77@ |
111 | 114 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 115 | ac_ct_STRIP = @ac_ct_STRIP@ |
116 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 117 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 118 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 119 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 148 | sbindir = @sbindir@ |
145 | 149 | sharedstatedir = @sharedstatedir@ |
146 | 150 | sysconfdir = @sysconfdir@ |
151 | target = @target@ | |
147 | 152 | target_alias = @target_alias@ |
153 | target_cpu = @target_cpu@ | |
154 | target_os = @target_os@ | |
155 | target_vendor = @target_vendor@ | |
148 | 156 | man_MANS = eiciel.1 |
149 | 157 | EXTRA_DIST = $(man_MANS) |
150 | 158 | subdir = man |
0 | 0 | # Fitxers per traduir |
1 | src/tipus_element_acl.hpp | |
2 | src/eiciel_container.hpp | |
3 | src/eiciel_standalone.cpp | |
4 | src/cellrenderer_acl.cpp | |
5 | src/llista_acl.hpp | |
6 | src/gestor_acl.cpp | |
7 | src/eiciel_main_controler.cpp | |
8 | src/eiciel_main_window.cpp | |
9 | src/cellrenderer_acl.hpp | |
10 | src/gestor_acl.hpp | |
11 | src/gestor_xattr.cpp | |
12 | src/eiciel_main_controler.hpp | |
13 | src/eiciel_main_window.hpp | |
14 | src/llista_participant.hpp | |
15 | src/eiciel_nautilus_page.cpp | |
1 | 16 | src/eiciel_container.cpp |
2 | src/eiciel_container.hpp | |
3 | src/eiciel_main_controler.cpp | |
4 | src/eiciel_main_controler.hpp | |
5 | src/eiciel_main_window.cpp | |
6 | src/eiciel_main_window.hpp | |
7 | src/eiciel_standalone.cpp | |
8 | src/gestor_acl.cpp | |
9 | src/gestor_acl.hpp | |
10 | src/llista_acl.hpp | |
11 | src/llista_participant.hpp | |
12 | src/tipus_element_acl.hpp | |
17 | src/gestor_xattr.hpp | |
13 | 18 | src/eiciel_nautilus_page.hpp |
14 | src/eiciel_nautilus_page.cpp | |
19 | src/llista_xattr.hpp | |
20 | src/eiciel_xattr_window.cpp | |
21 | src/eiciel_xattr_window.hpp | |
22 | src/eiciel_xattr_controler.cpp | |
23 | src/eiciel_xattr_controler.hpp |
4 | 4 | # |
5 | 5 | msgid "" |
6 | 6 | msgstr "" |
7 | "Project-Id-Version: Eiciel 0.4\n" | |
7 | "Project-Id-Version: Eiciel 0.9\n" | |
8 | 8 | "Report-Msgid-Bugs-To: Roger Ferrer Ibáñez <rofi@ya.com>\n" |
9 | "POT-Creation-Date: 2005-10-01 09:24+0200\n" | |
10 | "PO-Revision-Date: 2004-10-12 19:02+0200\n" | |
9 | "POT-Creation-Date: 2005-12-08 15:42+0100\n" | |
10 | "PO-Revision-Date: 2005-12-08 15:41+0100\n" | |
11 | 11 | "Last-Translator: Roger Ferrer Ibáñez <rofi@ya.com>\n" |
12 | 12 | "Language-Team: Catalan <ca@li.org>\n" |
13 | 13 | "MIME-Version: 1.0\n" |
14 | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
15 | 15 | "Content-Transfer-Encoding: 8bit\n" |
16 | 16 | |
17 | #: src/eiciel_container.cpp:23 | |
18 | msgid "<b>File name</b>" | |
19 | msgstr "<b>Nom de fitxer</b>" | |
17 | #: src/gestor_acl.cpp:50 src/gestor_xattr.cpp:34 | |
18 | msgid "Only regular files or directories supported" | |
19 | msgstr "Només es poden escollir fitxers ordinaris o directoris." | |
20 | 20 | |
21 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:175 | |
22 | msgid "No file opened" | |
23 | msgstr "No hi ha cap fitxer obert" | |
21 | #: src/gestor_acl.cpp:551 | |
22 | msgid "Textual representation of the ACL is wrong" | |
23 | msgstr "La representació textual de l'ACL és incorrecta" | |
24 | 24 | |
25 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:198 | |
26 | msgid "About..." | |
27 | msgstr "Quant a..." | |
28 | ||
29 | #: src/eiciel_container.cpp:115 | |
30 | msgid "Could not show the help file even if it was found" | |
31 | msgstr "No s'ha pogut mostrar l'ajuda tot i que s'ha trobat" | |
32 | ||
33 | #: src/eiciel_container.cpp:124 | |
34 | msgid "Help file not found" | |
35 | msgstr "No s'ha trobat el fitxer d'ajuda" | |
36 | ||
37 | #: src/eiciel_container.cpp:146 | |
38 | msgid "Choose a file or a directory" | |
39 | msgstr "Escull un fitxer o directori" | |
40 | ||
41 | #: src/eiciel_container.cpp:170 | |
42 | msgid "Could not open the file \"" | |
43 | msgstr "No es pot obrir el fitxer \"" | |
25 | #: src/gestor_acl.cpp:573 | |
26 | msgid "Default textual representation of the ACL is wrong" | |
27 | msgstr "La representació textual de l'ACL per omissió és incorrecta" | |
44 | 28 | |
45 | 29 | #: src/eiciel_main_controler.cpp:170 |
46 | 30 | msgid "Mask" |
94 | 78 | msgid "Also show system participants" |
95 | 79 | msgstr "Mostrar també participants del sistema" |
96 | 80 | |
97 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:121 | |
81 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:134 | |
82 | #: src/eiciel_container.cpp:60 | |
98 | 83 | msgid "Access Control List" |
99 | 84 | msgstr "Llista de control d'accés" |
100 | 85 | |
130 | 115 | "<span size=\"smaller\"><span foreground=\"#cc0000\" weight=\"bold\">!</span> " |
131 | 116 | "significa que el permís no és efectiu.</span>" |
132 | 117 | |
133 | #: src/gestor_acl.cpp:67 | |
134 | msgid "Only regular files or directories supported" | |
135 | msgstr "Només es poden escollir fitxers ordinaris o directoris." | |
118 | #: src/eiciel_nautilus_page.cpp:155 src/eiciel_container.cpp:68 | |
119 | msgid "Extended user attributes" | |
120 | msgstr "Atributs d'usuari estesos" | |
136 | 121 | |
137 | #: src/gestor_acl.cpp:568 | |
138 | msgid "Textual representation of the ACL is wrong" | |
139 | msgstr "La representació textual de l'ACL és incorrecta" | |
122 | #: src/eiciel_container.cpp:23 | |
123 | msgid "<b>File name</b>" | |
124 | msgstr "<b>Nom de fitxer</b>" | |
140 | 125 | |
141 | #: src/gestor_acl.cpp:590 | |
142 | msgid "Default textual representation of the ACL is wrong" | |
143 | msgstr "La representació textual de l'ACL per omissió és incorrecta" | |
126 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:216 | |
127 | msgid "No file opened" | |
128 | msgstr "No hi ha cap fitxer obert" | |
144 | 129 | |
145 | #~ msgid "Default User" | |
146 | #~ msgstr "Usuari per defecte" | |
130 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:224 | |
131 | msgid "About..." | |
132 | msgstr "Quant a..." | |
147 | 133 | |
148 | #~ msgid "Default Group" | |
149 | #~ msgstr "Grup per defecte" | |
134 | #: src/eiciel_container.cpp:127 | |
135 | msgid "Could not show the help file even if it was found" | |
136 | msgstr "No s'ha pogut mostrar l'ajuda tot i que s'ha trobat" | |
150 | 137 | |
151 | #~ msgid "(unknown)" | |
152 | #~ msgstr "(desconegut)" | |
138 | #: src/eiciel_container.cpp:136 | |
139 | msgid "Help file not found" | |
140 | msgstr "No s'ha trobat el fitxer d'ajuda" | |
153 | 141 | |
154 | #~ msgid "Cannot start libbonoboui. Aborting" | |
155 | #~ msgstr "No es pot iniciar libbonoboui. Avortant." | |
142 | #: src/eiciel_container.cpp:158 | |
143 | msgid "Choose a file or a directory" | |
144 | msgstr "Escull un fitxer o directori" | |
156 | 145 | |
157 | #~ msgid "Can't create bonobo control. Aborting" | |
158 | #~ msgstr "No es pot crear el control bonobo. Avortant." | |
146 | #: src/eiciel_container.cpp:178 | |
147 | msgid "Could not open the file \"" | |
148 | msgstr "No es pot obrir el fitxer \"" | |
159 | 149 | |
160 | #~ msgid "_Add" | |
161 | #~ msgstr "_Afegeix" | |
150 | #: src/eiciel_xattr_window.cpp:40 | |
151 | msgid "Name" | |
152 | msgstr "Nom" | |
162 | 153 | |
163 | #~ msgid "_Remove" | |
164 | #~ msgstr "_Suprimir" | |
154 | #: src/eiciel_xattr_window.cpp:52 | |
155 | msgid "Value" | |
156 | msgstr "Valor" | |
157 | ||
158 | #: src/eiciel_xattr_window.cpp:180 | |
159 | msgid "Could not rename attribute name: " | |
160 | msgstr "No es pot renombrar l'atribut: " | |
161 | ||
162 | #: src/eiciel_xattr_window.cpp:202 | |
163 | msgid "Could not change attribute value: " | |
164 | msgstr "No es pot canviar el valor de l'atribut: " | |
165 | ||
166 | #: src/eiciel_xattr_window.cpp:226 | |
167 | msgid "Could not remove attribute: " | |
168 | msgstr "No es pot eliminar l'atribut: " | |
169 | ||
170 | #: src/eiciel_xattr_window.cpp:245 src/eiciel_xattr_window.cpp:254 | |
171 | msgid "New attribute" | |
172 | msgstr "Atribut nou" | |
173 | ||
174 | #: src/eiciel_xattr_window.cpp:284 | |
175 | msgid "New value" | |
176 | msgstr "Nou valor" | |
177 | ||
178 | #: src/eiciel_xattr_window.cpp:299 | |
179 | msgid "Could not add attribute: " | |
180 | msgstr "No he pogut afegir l'atribut: " |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: de\n" |
9 | 9 | "Report-Msgid-Bugs-To: Roger Ferrer Ibáñez <rofi@ya.com>\n" |
10 | "POT-Creation-Date: 2005-10-01 09:24+0200\n" | |
11 | "PO-Revision-Date: 2005-09-08 05:39+0200\n" | |
10 | "POT-Creation-Date: 2005-12-08 15:42+0100\n" | |
11 | "PO-Revision-Date: 2005-12-08 15:39+0100\n" | |
12 | 12 | "Last-Translator: Michael Biebl <biebl@teco.edu>\n" |
13 | 13 | "Language-Team: deutsch <de@li.org>\n" |
14 | 14 | "MIME-Version: 1.0\n" |
16 | 16 | "Content-Transfer-Encoding: 8bit\n" |
17 | 17 | "X-Generator: KBabel 1.10.2\n" |
18 | 18 | |
19 | #: src/eiciel_container.cpp:23 | |
20 | msgid "<b>File name</b>" | |
21 | msgstr "<b>Datei</b>" | |
19 | #: src/gestor_acl.cpp:50 src/gestor_xattr.cpp:34 | |
20 | msgid "Only regular files or directories supported" | |
21 | msgstr "Nur reguläre Dateien oder Verzeichnisse werden unterstützt" | |
22 | 22 | |
23 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:175 | |
24 | msgid "No file opened" | |
25 | msgstr "Keine Datei geöffnet" | |
23 | #: src/gestor_acl.cpp:551 | |
24 | msgid "Textual representation of the ACL is wrong" | |
25 | msgstr "Textdarstellung der ACL ist falsch" | |
26 | 26 | |
27 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:198 | |
28 | msgid "About..." | |
29 | msgstr "Über..." | |
30 | ||
31 | #: src/eiciel_container.cpp:115 | |
32 | msgid "Could not show the help file even if it was found" | |
33 | msgstr "Konnte Hilfe Datei nicht anzeigen" | |
34 | ||
35 | #: src/eiciel_container.cpp:124 | |
36 | msgid "Help file not found" | |
37 | msgstr "Hilfe Datei nicht gefunden" | |
38 | ||
39 | #: src/eiciel_container.cpp:146 | |
40 | msgid "Choose a file or a directory" | |
41 | msgstr "Datei oder Verzeichnis öffnen" | |
42 | ||
43 | #: src/eiciel_container.cpp:170 | |
44 | msgid "Could not open the file \"" | |
45 | msgstr "Konnte Datei nicht öffnen \"" | |
27 | #: src/gestor_acl.cpp:573 | |
28 | msgid "Default textual representation of the ACL is wrong" | |
29 | msgstr "Standard Textdarstellung der ACL ist falsch" | |
46 | 30 | |
47 | 31 | #: src/eiciel_main_controler.cpp:170 |
48 | 32 | msgid "Mask" |
96 | 80 | msgid "Also show system participants" |
97 | 81 | msgstr "System Teilnehmer anzeigen" |
98 | 82 | |
99 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:121 | |
83 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:134 | |
84 | #: src/eiciel_container.cpp:60 | |
100 | 85 | msgid "Access Control List" |
101 | 86 | msgstr "Zugriffskontrollliste" |
102 | 87 | |
132 | 117 | "<span size=\"smaller\"><span foreground=\"#cc0000\" weight=\"bold\">!</span> " |
133 | 118 | "ist ein unwirksames Zugriffsrecht.</span>" |
134 | 119 | |
135 | #: src/gestor_acl.cpp:67 | |
136 | msgid "Only regular files or directories supported" | |
137 | msgstr "Nur reguläre Dateien oder Verzeichnisse werden unterstützt" | |
120 | #: src/eiciel_nautilus_page.cpp:155 src/eiciel_container.cpp:68 | |
121 | msgid "Extended user attributes" | |
122 | msgstr "" | |
138 | 123 | |
139 | #: src/gestor_acl.cpp:568 | |
140 | msgid "Textual representation of the ACL is wrong" | |
141 | msgstr "Textdarstellung der ACL ist falsch" | |
124 | #: src/eiciel_container.cpp:23 | |
125 | msgid "<b>File name</b>" | |
126 | msgstr "<b>Datei</b>" | |
142 | 127 | |
143 | #: src/gestor_acl.cpp:590 | |
144 | msgid "Default textual representation of the ACL is wrong" | |
145 | msgstr "Standard Textdarstellung der ACL ist falsch" | |
128 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:216 | |
129 | msgid "No file opened" | |
130 | msgstr "Keine Datei geöffnet" | |
131 | ||
132 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:224 | |
133 | msgid "About..." | |
134 | msgstr "Über..." | |
135 | ||
136 | #: src/eiciel_container.cpp:127 | |
137 | msgid "Could not show the help file even if it was found" | |
138 | msgstr "Konnte Hilfe Datei nicht anzeigen" | |
139 | ||
140 | #: src/eiciel_container.cpp:136 | |
141 | msgid "Help file not found" | |
142 | msgstr "Hilfe Datei nicht gefunden" | |
143 | ||
144 | #: src/eiciel_container.cpp:158 | |
145 | msgid "Choose a file or a directory" | |
146 | msgstr "Datei oder Verzeichnis öffnen" | |
147 | ||
148 | #: src/eiciel_container.cpp:178 | |
149 | msgid "Could not open the file \"" | |
150 | msgstr "Konnte Datei nicht öffnen \"" | |
151 | ||
152 | #: src/eiciel_xattr_window.cpp:40 | |
153 | msgid "Name" | |
154 | msgstr "" | |
155 | ||
156 | #: src/eiciel_xattr_window.cpp:52 | |
157 | msgid "Value" | |
158 | msgstr "" | |
159 | ||
160 | #: src/eiciel_xattr_window.cpp:180 | |
161 | msgid "Could not rename attribute name: " | |
162 | msgstr "" | |
163 | ||
164 | #: src/eiciel_xattr_window.cpp:202 | |
165 | msgid "Could not change attribute value: " | |
166 | msgstr "" | |
167 | ||
168 | #: src/eiciel_xattr_window.cpp:226 | |
169 | msgid "Could not remove attribute: " | |
170 | msgstr "Konnte ACL Eintrag nicht entfernen:" | |
171 | ||
172 | #: src/eiciel_xattr_window.cpp:245 src/eiciel_xattr_window.cpp:254 | |
173 | msgid "New attribute" | |
174 | msgstr "" | |
175 | ||
176 | #: src/eiciel_xattr_window.cpp:284 | |
177 | msgid "New value" | |
178 | msgstr "" | |
179 | ||
180 | #: src/eiciel_xattr_window.cpp:299 | |
181 | msgid "Could not add attribute: " | |
182 | msgstr "" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: PACKAGE VERSION\n" |
9 | 9 | "Report-Msgid-Bugs-To: Roger Ferrer Ibáñez <rofi@ya.com>\n" |
10 | "POT-Creation-Date: 2005-10-01 09:24+0200\n" | |
10 | "POT-Creation-Date: 2005-12-08 15:42+0100\n" | |
11 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
15 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 16 | "Content-Transfer-Encoding: 8bit\n" |
17 | 17 | |
18 | #: src/eiciel_container.cpp:23 | |
19 | msgid "<b>File name</b>" | |
18 | #: src/gestor_acl.cpp:50 src/gestor_xattr.cpp:34 | |
19 | msgid "Only regular files or directories supported" | |
20 | 20 | msgstr "" |
21 | 21 | |
22 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:175 | |
23 | msgid "No file opened" | |
22 | #: src/gestor_acl.cpp:551 | |
23 | msgid "Textual representation of the ACL is wrong" | |
24 | 24 | msgstr "" |
25 | 25 | |
26 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:198 | |
27 | msgid "About..." | |
28 | msgstr "" | |
29 | ||
30 | #: src/eiciel_container.cpp:115 | |
31 | msgid "Could not show the help file even if it was found" | |
32 | msgstr "" | |
33 | ||
34 | #: src/eiciel_container.cpp:124 | |
35 | msgid "Help file not found" | |
36 | msgstr "" | |
37 | ||
38 | #: src/eiciel_container.cpp:146 | |
39 | msgid "Choose a file or a directory" | |
40 | msgstr "" | |
41 | ||
42 | #: src/eiciel_container.cpp:170 | |
43 | msgid "Could not open the file \"" | |
26 | #: src/gestor_acl.cpp:573 | |
27 | msgid "Default textual representation of the ACL is wrong" | |
44 | 28 | msgstr "" |
45 | 29 | |
46 | 30 | #: src/eiciel_main_controler.cpp:170 |
95 | 79 | msgid "Also show system participants" |
96 | 80 | msgstr "" |
97 | 81 | |
98 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:121 | |
82 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:134 | |
83 | #: src/eiciel_container.cpp:60 | |
99 | 84 | msgid "Access Control List" |
100 | 85 | msgstr "" |
101 | 86 | |
129 | 114 | "means an ineffective permission.</span>" |
130 | 115 | msgstr "" |
131 | 116 | |
132 | #: src/gestor_acl.cpp:67 | |
133 | msgid "Only regular files or directories supported" | |
117 | #: src/eiciel_nautilus_page.cpp:155 src/eiciel_container.cpp:68 | |
118 | msgid "Extended user attributes" | |
134 | 119 | msgstr "" |
135 | 120 | |
136 | #: src/gestor_acl.cpp:568 | |
137 | msgid "Textual representation of the ACL is wrong" | |
121 | #: src/eiciel_container.cpp:23 | |
122 | msgid "<b>File name</b>" | |
138 | 123 | msgstr "" |
139 | 124 | |
140 | #: src/gestor_acl.cpp:590 | |
141 | msgid "Default textual representation of the ACL is wrong" | |
125 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:216 | |
126 | msgid "No file opened" | |
142 | 127 | msgstr "" |
128 | ||
129 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:224 | |
130 | msgid "About..." | |
131 | msgstr "" | |
132 | ||
133 | #: src/eiciel_container.cpp:127 | |
134 | msgid "Could not show the help file even if it was found" | |
135 | msgstr "" | |
136 | ||
137 | #: src/eiciel_container.cpp:136 | |
138 | msgid "Help file not found" | |
139 | msgstr "" | |
140 | ||
141 | #: src/eiciel_container.cpp:158 | |
142 | msgid "Choose a file or a directory" | |
143 | msgstr "" | |
144 | ||
145 | #: src/eiciel_container.cpp:178 | |
146 | msgid "Could not open the file \"" | |
147 | msgstr "" | |
148 | ||
149 | #: src/eiciel_xattr_window.cpp:40 | |
150 | msgid "Name" | |
151 | msgstr "" | |
152 | ||
153 | #: src/eiciel_xattr_window.cpp:52 | |
154 | msgid "Value" | |
155 | msgstr "" | |
156 | ||
157 | #: src/eiciel_xattr_window.cpp:180 | |
158 | msgid "Could not rename attribute name: " | |
159 | msgstr "" | |
160 | ||
161 | #: src/eiciel_xattr_window.cpp:202 | |
162 | msgid "Could not change attribute value: " | |
163 | msgstr "" | |
164 | ||
165 | #: src/eiciel_xattr_window.cpp:226 | |
166 | msgid "Could not remove attribute: " | |
167 | msgstr "" | |
168 | ||
169 | #: src/eiciel_xattr_window.cpp:245 src/eiciel_xattr_window.cpp:254 | |
170 | msgid "New attribute" | |
171 | msgstr "" | |
172 | ||
173 | #: src/eiciel_xattr_window.cpp:284 | |
174 | msgid "New value" | |
175 | msgstr "" | |
176 | ||
177 | #: src/eiciel_xattr_window.cpp:299 | |
178 | msgid "Could not add attribute: " | |
179 | msgstr "" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: Eiciel\n" |
8 | 8 | "Report-Msgid-Bugs-To: Roger Ferrer Ibáñez <rofi@ya.com>\n" |
9 | "POT-Creation-Date: 2005-10-01 09:24+0200\n" | |
10 | "PO-Revision-Date: 2004-10-12 19:07+0200\n" | |
9 | "POT-Creation-Date: 2005-12-08 15:42+0100\n" | |
10 | "PO-Revision-Date: 2005-12-08 15:42+0100\n" | |
11 | 11 | "Last-Translator: Roger Ferrer Ibáñez <rofi@ya.com>\n" |
12 | 12 | "Language-Team: Spanish <es@li.org>\n" |
13 | 13 | "MIME-Version: 1.0\n" |
14 | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
15 | 15 | "Content-Transfer-Encoding: 8bit\n" |
16 | 16 | |
17 | #: src/eiciel_container.cpp:23 | |
18 | msgid "<b>File name</b>" | |
19 | msgstr "<b>Nombre de fichero</b>" | |
17 | #: src/gestor_acl.cpp:50 src/gestor_xattr.cpp:34 | |
18 | msgid "Only regular files or directories supported" | |
19 | msgstr "Sólo se permiten ficheros ordinarios o directorios." | |
20 | 20 | |
21 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:175 | |
22 | msgid "No file opened" | |
23 | msgstr "Ningún fichero abierto" | |
21 | #: src/gestor_acl.cpp:551 | |
22 | msgid "Textual representation of the ACL is wrong" | |
23 | msgstr "La representación textual de la ACL es incorrecta." | |
24 | 24 | |
25 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:198 | |
26 | msgid "About..." | |
27 | msgstr "Acerca de..." | |
28 | ||
29 | #: src/eiciel_container.cpp:115 | |
30 | msgid "Could not show the help file even if it was found" | |
31 | msgstr "No se puede mostrar la ayuda aunque ésta ha sido encontrada" | |
32 | ||
33 | #: src/eiciel_container.cpp:124 | |
34 | msgid "Help file not found" | |
35 | msgstr "No se ha encontrado el fichero de ayuda" | |
36 | ||
37 | #: src/eiciel_container.cpp:146 | |
38 | msgid "Choose a file or a directory" | |
39 | msgstr "Escoja un fichero o un directorio" | |
40 | ||
41 | #: src/eiciel_container.cpp:170 | |
42 | msgid "Could not open the file \"" | |
43 | msgstr "No he podido abrir el fichero \"" | |
25 | #: src/gestor_acl.cpp:573 | |
26 | msgid "Default textual representation of the ACL is wrong" | |
27 | msgstr "La representación textual de la ACL por defecto es incorrecta" | |
44 | 28 | |
45 | 29 | #: src/eiciel_main_controler.cpp:170 |
46 | 30 | msgid "Mask" |
95 | 79 | msgid "Also show system participants" |
96 | 80 | msgstr "Mostrar también participantes del sistema" |
97 | 81 | |
98 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:121 | |
82 | #: src/eiciel_main_window.cpp:32 src/eiciel_nautilus_page.cpp:134 | |
83 | #: src/eiciel_container.cpp:60 | |
99 | 84 | msgid "Access Control List" |
100 | 85 | msgstr "Lista de control de acceso" |
101 | 86 | |
131 | 116 | "<span size=\"smaller\"><span foreground=\"#cc0000\" weight=\"bold\">!</span> " |
132 | 117 | "significa que el permiso no es efectivo.</span>" |
133 | 118 | |
134 | #: src/gestor_acl.cpp:67 | |
135 | msgid "Only regular files or directories supported" | |
136 | msgstr "Sólo se permiten ficheros ordinarios o directorios." | |
119 | #: src/eiciel_nautilus_page.cpp:155 src/eiciel_container.cpp:68 | |
120 | msgid "Extended user attributes" | |
121 | msgstr "Atributos extendidos de usuario" | |
137 | 122 | |
138 | #: src/gestor_acl.cpp:568 | |
139 | msgid "Textual representation of the ACL is wrong" | |
140 | msgstr "La representación textual de la ACL es incorrecta." | |
123 | #: src/eiciel_container.cpp:23 | |
124 | msgid "<b>File name</b>" | |
125 | msgstr "<b>Nombre de fichero</b>" | |
141 | 126 | |
142 | #: src/gestor_acl.cpp:590 | |
143 | msgid "Default textual representation of the ACL is wrong" | |
144 | msgstr "La representación textual de la ACL por defecto es incorrecta" | |
127 | #: src/eiciel_container.cpp:24 src/eiciel_container.cpp:216 | |
128 | msgid "No file opened" | |
129 | msgstr "Ningún fichero abierto" | |
145 | 130 | |
146 | #~ msgid "Default User" | |
147 | #~ msgstr "Usuario por defecto" | |
131 | #: src/eiciel_container.cpp:27 src/eiciel_container.cpp:224 | |
132 | msgid "About..." | |
133 | msgstr "Acerca de..." | |
148 | 134 | |
149 | #~ msgid "Default Group" | |
150 | #~ msgstr "Grupo por defecto" | |
135 | #: src/eiciel_container.cpp:127 | |
136 | msgid "Could not show the help file even if it was found" | |
137 | msgstr "No se puede mostrar la ayuda aunque ésta ha sido encontrada" | |
151 | 138 | |
152 | #~ msgid "(unknown)" | |
153 | #~ msgstr "(desconocido)" | |
139 | #: src/eiciel_container.cpp:136 | |
140 | msgid "Help file not found" | |
141 | msgstr "No se ha encontrado el fichero de ayuda" | |
154 | 142 | |
155 | #~ msgid "Cannot start libbonoboui. Aborting" | |
156 | #~ msgstr "No se puede iniciar libbonoboui. Abortando" | |
143 | #: src/eiciel_container.cpp:158 | |
144 | msgid "Choose a file or a directory" | |
145 | msgstr "Escoja un fichero o un directorio" | |
157 | 146 | |
158 | #~ msgid "Can't create bonobo control. Aborting" | |
159 | #~ msgstr "No se puede crear el control bonobo. Abortando" | |
147 | #: src/eiciel_container.cpp:178 | |
148 | msgid "Could not open the file \"" | |
149 | msgstr "No he podido abrir el fichero \"" | |
160 | 150 | |
161 | #~ msgid "_Add" | |
162 | #~ msgstr "_Añadir" | |
151 | #: src/eiciel_xattr_window.cpp:40 | |
152 | msgid "Name" | |
153 | msgstr "Nombre" | |
163 | 154 | |
164 | #~ msgid "_Remove" | |
165 | #~ msgstr "_Quitar" | |
155 | #: src/eiciel_xattr_window.cpp:52 | |
156 | msgid "Value" | |
157 | msgstr "Valor" | |
158 | ||
159 | #: src/eiciel_xattr_window.cpp:180 | |
160 | msgid "Could not rename attribute name: " | |
161 | msgstr "No se pudo renombrar el atributo: " | |
162 | ||
163 | #: src/eiciel_xattr_window.cpp:202 | |
164 | msgid "Could not change attribute value: " | |
165 | msgstr "No he podido cambiar el valor del atributo: " | |
166 | ||
167 | #: src/eiciel_xattr_window.cpp:226 | |
168 | msgid "Could not remove attribute: " | |
169 | msgstr "No se pudo eliminar el atributo: " | |
170 | ||
171 | #: src/eiciel_xattr_window.cpp:245 src/eiciel_xattr_window.cpp:254 | |
172 | msgid "New attribute" | |
173 | msgstr "Atributo nuevo" | |
174 | ||
175 | #: src/eiciel_xattr_window.cpp:284 | |
176 | msgid "New value" | |
177 | msgstr "Valor nuevo" | |
178 | ||
179 | #: src/eiciel_xattr_window.cpp:299 | |
180 | msgid "Could not add attribute: " | |
181 | msgstr "No se pudo añadir el atributo: " |
17 | 17 | eiciel_container.hpp \ |
18 | 18 | eiciel_container.cpp |
19 | 19 | |
20 | if ENABLE_USER_XATTR | |
21 | eiciel_SOURCES += gestor_xattr.hpp \ | |
22 | gestor_xattr.cpp \ | |
23 | eiciel_xattr_window.cpp \ | |
24 | eiciel_xattr_window.hpp \ | |
25 | eiciel_xattr_controler.cpp \ | |
26 | eiciel_xattr_controler.hpp \ | |
27 | llista_xattr.hpp | |
28 | endif | |
29 | ||
20 | 30 | nautilusextdir=@NAUTILUS_EXTENSIONS_DIR@ |
21 | 31 | nautilusext_LTLIBRARIES=libeiciel-nautilus.la |
22 | 32 | libeiciel_nautilus_la_CPPFLAGS = -I@top_srcdir@/lib -DDATADIR="\"$(datadir)\"" -DPKGDATADIR="\"$(pkgdatadir)\"" |
36 | 46 | tipus_element_acl.hpp \ |
37 | 47 | cellrenderer_acl.hpp \ |
38 | 48 | cellrenderer_acl.cpp |
49 | ||
50 | if ENABLE_USER_XATTR | |
51 | libeiciel_nautilus_la_SOURCES += gestor_xattr.hpp \ | |
52 | gestor_xattr.cpp \ | |
53 | eiciel_xattr_window.cpp \ | |
54 | eiciel_xattr_window.hpp \ | |
55 | eiciel_xattr_controler.cpp \ | |
56 | eiciel_xattr_controler.hpp \ | |
57 | llista_xattr.hpp | |
58 | endif |
35 | 35 | PRE_UNINSTALL = : |
36 | 36 | POST_UNINSTALL = : |
37 | 37 | host_triplet = @host@ |
38 | @ENABLE_USER_XATTR_TRUE@am__append_1 = gestor_xattr.hpp \ | |
39 | @ENABLE_USER_XATTR_TRUE@ gestor_xattr.cpp \ | |
40 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_window.cpp \ | |
41 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_window.hpp \ | |
42 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_controler.cpp \ | |
43 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_controler.hpp \ | |
44 | @ENABLE_USER_XATTR_TRUE@ llista_xattr.hpp | |
45 | ||
46 | @ENABLE_USER_XATTR_TRUE@am__append_2 = gestor_xattr.hpp \ | |
47 | @ENABLE_USER_XATTR_TRUE@ gestor_xattr.cpp \ | |
48 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_window.cpp \ | |
49 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_window.hpp \ | |
50 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_controler.cpp \ | |
51 | @ENABLE_USER_XATTR_TRUE@ eiciel_xattr_controler.hpp \ | |
52 | @ENABLE_USER_XATTR_TRUE@ llista_xattr.hpp | |
53 | ||
38 | 54 | ACLOCAL = @ACLOCAL@ |
39 | 55 | AMDEP_FALSE = @AMDEP_FALSE@ |
40 | 56 | AMDEP_TRUE = @AMDEP_TRUE@ |
61 | 77 | ECHO_N = @ECHO_N@ |
62 | 78 | ECHO_T = @ECHO_T@ |
63 | 79 | EGREP = @EGREP@ |
80 | ENABLE_USER_XATTR_FALSE = @ENABLE_USER_XATTR_FALSE@ | |
81 | ENABLE_USER_XATTR_TRUE = @ENABLE_USER_XATTR_TRUE@ | |
64 | 82 | EXEEXT = @EXEEXT@ |
65 | 83 | F77 = @F77@ |
66 | 84 | FFLAGS = @FFLAGS@ |
72 | 90 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
73 | 91 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
74 | 92 | INTLLIBS = @INTLLIBS@ |
93 | INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ | |
75 | 94 | LDFLAGS = @LDFLAGS@ |
76 | 95 | LIBICONV = @LIBICONV@ |
77 | 96 | LIBINTL = @LIBINTL@ |
110 | 129 | ac_ct_F77 = @ac_ct_F77@ |
111 | 130 | ac_ct_RANLIB = @ac_ct_RANLIB@ |
112 | 131 | ac_ct_STRIP = @ac_ct_STRIP@ |
132 | ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ | |
113 | 133 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
114 | 134 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
115 | 135 | am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ |
144 | 164 | sbindir = @sbindir@ |
145 | 165 | sharedstatedir = @sharedstatedir@ |
146 | 166 | sysconfdir = @sysconfdir@ |
167 | target = @target@ | |
147 | 168 | target_alias = @target_alias@ |
169 | target_cpu = @target_cpu@ | |
170 | target_os = @target_os@ | |
171 | target_vendor = @target_vendor@ | |
148 | 172 | bin_PROGRAMS = eiciel |
149 | 173 | eiciel_CPPFLAGS = -I@top_srcdir@/lib -DDATADIR="\"$(datadir)\"" -DPKGDATADIR="\"$(pkgdatadir)\"" |
150 | 174 | eiciel_CXXFLAGS = @GTKMM_CFLAGS@ -Wall |
163 | 187 | cellrenderer_acl.cpp \ |
164 | 188 | eiciel_standalone.cpp \ |
165 | 189 | eiciel_container.hpp \ |
166 | eiciel_container.cpp | |
167 | ||
190 | eiciel_container.cpp\ | |
191 | $(am__append_1) | |
168 | 192 | |
169 | 193 | nautilusextdir = @NAUTILUS_EXTENSIONS_DIR@ |
170 | 194 | nautilusext_LTLIBRARIES = libeiciel-nautilus.la |
184 | 208 | gestor_acl.hpp \ |
185 | 209 | tipus_element_acl.hpp \ |
186 | 210 | cellrenderer_acl.hpp \ |
187 | cellrenderer_acl.cpp | |
188 | ||
211 | cellrenderer_acl.cpp \ | |
212 | $(am__append_2) | |
189 | 213 | subdir = src |
190 | 214 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
191 | 215 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
194 | 218 | LTLIBRARIES = $(nautilusext_LTLIBRARIES) |
195 | 219 | |
196 | 220 | libeiciel_nautilus_la_LIBADD = |
221 | am__libeiciel_nautilus_la_SOURCES_DIST = eiciel_nautilus_page.cpp \ | |
222 | eiciel_nautilus_page.hpp eiciel_main_controler.cpp \ | |
223 | eiciel_main_controler.hpp eiciel_main_window.cpp \ | |
224 | eiciel_main_window.hpp llista_acl.hpp llista_participant.hpp \ | |
225 | gestor_acl.cpp gestor_acl.hpp tipus_element_acl.hpp \ | |
226 | cellrenderer_acl.hpp cellrenderer_acl.cpp gestor_xattr.hpp \ | |
227 | gestor_xattr.cpp eiciel_xattr_window.cpp \ | |
228 | eiciel_xattr_window.hpp eiciel_xattr_controler.cpp \ | |
229 | eiciel_xattr_controler.hpp llista_xattr.hpp | |
230 | @ENABLE_USER_XATTR_TRUE@am__objects_1 = \ | |
231 | @ENABLE_USER_XATTR_TRUE@ libeiciel_nautilus_la-gestor_xattr.lo \ | |
232 | @ENABLE_USER_XATTR_TRUE@ libeiciel_nautilus_la-eiciel_xattr_window.lo \ | |
233 | @ENABLE_USER_XATTR_TRUE@ libeiciel_nautilus_la-eiciel_xattr_controler.lo | |
197 | 234 | am_libeiciel_nautilus_la_OBJECTS = \ |
198 | 235 | libeiciel_nautilus_la-eiciel_nautilus_page.lo \ |
199 | 236 | libeiciel_nautilus_la-eiciel_main_controler.lo \ |
200 | 237 | libeiciel_nautilus_la-eiciel_main_window.lo \ |
201 | 238 | libeiciel_nautilus_la-gestor_acl.lo \ |
202 | libeiciel_nautilus_la-cellrenderer_acl.lo | |
239 | libeiciel_nautilus_la-cellrenderer_acl.lo $(am__objects_1) | |
203 | 240 | libeiciel_nautilus_la_OBJECTS = $(am_libeiciel_nautilus_la_OBJECTS) |
204 | 241 | bin_PROGRAMS = eiciel$(EXEEXT) |
205 | 242 | PROGRAMS = $(bin_PROGRAMS) |
206 | 243 | |
244 | am__eiciel_SOURCES_DIST = eiciel_main_controler.cpp \ | |
245 | eiciel_main_controler.hpp eiciel_main_window.cpp \ | |
246 | eiciel_main_window.hpp llista_acl.hpp llista_participant.hpp \ | |
247 | gestor_acl.cpp gestor_acl.hpp tipus_element_acl.hpp \ | |
248 | cellrenderer_acl.hpp cellrenderer_acl.cpp eiciel_standalone.cpp \ | |
249 | eiciel_container.hpp eiciel_container.cpp gestor_xattr.hpp \ | |
250 | gestor_xattr.cpp eiciel_xattr_window.cpp \ | |
251 | eiciel_xattr_window.hpp eiciel_xattr_controler.cpp \ | |
252 | eiciel_xattr_controler.hpp llista_xattr.hpp | |
253 | @ENABLE_USER_XATTR_TRUE@am__objects_2 = eiciel-gestor_xattr.$(OBJEXT) \ | |
254 | @ENABLE_USER_XATTR_TRUE@ eiciel-eiciel_xattr_window.$(OBJEXT) \ | |
255 | @ENABLE_USER_XATTR_TRUE@ eiciel-eiciel_xattr_controler.$(OBJEXT) | |
207 | 256 | am_eiciel_OBJECTS = eiciel-eiciel_main_controler.$(OBJEXT) \ |
208 | 257 | eiciel-eiciel_main_window.$(OBJEXT) eiciel-gestor_acl.$(OBJEXT) \ |
209 | 258 | eiciel-cellrenderer_acl.$(OBJEXT) \ |
210 | 259 | eiciel-eiciel_standalone.$(OBJEXT) \ |
211 | eiciel-eiciel_container.$(OBJEXT) | |
260 | eiciel-eiciel_container.$(OBJEXT) $(am__objects_2) | |
212 | 261 | eiciel_OBJECTS = $(am_eiciel_OBJECTS) |
213 | 262 | eiciel_LDADD = $(LDADD) |
214 | 263 | eiciel_DEPENDENCIES = |
221 | 270 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-eiciel_main_controler.Po \ |
222 | 271 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-eiciel_main_window.Po \ |
223 | 272 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-eiciel_standalone.Po \ |
273 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-eiciel_xattr_controler.Po \ | |
274 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-eiciel_xattr_window.Po \ | |
224 | 275 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-gestor_acl.Po \ |
276 | @AMDEP_TRUE@ ./$(DEPDIR)/eiciel-gestor_xattr.Po \ | |
225 | 277 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-cellrenderer_acl.Plo \ |
226 | 278 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-eiciel_main_controler.Plo \ |
227 | 279 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-eiciel_main_window.Plo \ |
228 | 280 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-eiciel_nautilus_page.Plo \ |
229 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-gestor_acl.Plo | |
281 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Plo \ | |
282 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Plo \ | |
283 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-gestor_acl.Plo \ | |
284 | @AMDEP_TRUE@ ./$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Plo | |
230 | 285 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
231 | 286 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
232 | 287 | LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ |
242 | 297 | CCLD = $(CC) |
243 | 298 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
244 | 299 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
245 | DIST_SOURCES = $(libeiciel_nautilus_la_SOURCES) $(eiciel_SOURCES) | |
300 | DIST_SOURCES = $(am__libeiciel_nautilus_la_SOURCES_DIST) \ | |
301 | $(am__eiciel_SOURCES_DIST) | |
246 | 302 | DIST_COMMON = $(srcdir)/Makefile.in Makefile.am |
247 | 303 | SOURCES = $(libeiciel_nautilus_la_SOURCES) $(eiciel_SOURCES) |
248 | 304 | |
329 | 385 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-eiciel_main_controler.Po@am__quote@ |
330 | 386 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-eiciel_main_window.Po@am__quote@ |
331 | 387 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-eiciel_standalone.Po@am__quote@ |
388 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-eiciel_xattr_controler.Po@am__quote@ | |
389 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-eiciel_xattr_window.Po@am__quote@ | |
332 | 390 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-gestor_acl.Po@am__quote@ |
391 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eiciel-gestor_xattr.Po@am__quote@ | |
333 | 392 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-cellrenderer_acl.Plo@am__quote@ |
334 | 393 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-eiciel_main_controler.Plo@am__quote@ |
335 | 394 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-eiciel_main_window.Plo@am__quote@ |
336 | 395 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-eiciel_nautilus_page.Plo@am__quote@ |
396 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Plo@am__quote@ | |
397 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Plo@am__quote@ | |
337 | 398 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-gestor_acl.Plo@am__quote@ |
399 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Plo@am__quote@ | |
338 | 400 | |
339 | 401 | .cpp.o: |
340 | 402 | @am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ |
534 | 596 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
535 | 597 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-cellrenderer_acl.lo `test -f 'cellrenderer_acl.cpp' || echo '$(srcdir)/'`cellrenderer_acl.cpp |
536 | 598 | |
599 | libeiciel_nautilus_la-gestor_xattr.o: gestor_xattr.cpp | |
600 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-gestor_xattr.o -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo" \ | |
601 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-gestor_xattr.o `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp; \ | |
602 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Po"; \ | |
603 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo"; exit 1; \ | |
604 | @am__fastdepCXX_TRUE@ fi | |
605 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gestor_xattr.cpp' object='libeiciel_nautilus_la-gestor_xattr.o' libtool=no @AMDEPBACKSLASH@ | |
606 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Po' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.TPo' @AMDEPBACKSLASH@ | |
607 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
608 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-gestor_xattr.o `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp | |
609 | ||
610 | libeiciel_nautilus_la-gestor_xattr.obj: gestor_xattr.cpp | |
611 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-gestor_xattr.obj -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo" \ | |
612 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-gestor_xattr.obj `if test -f 'gestor_xattr.cpp'; then $(CYGPATH_W) 'gestor_xattr.cpp'; else $(CYGPATH_W) '$(srcdir)/gestor_xattr.cpp'; fi`; \ | |
613 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Po"; \ | |
614 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo"; exit 1; \ | |
615 | @am__fastdepCXX_TRUE@ fi | |
616 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gestor_xattr.cpp' object='libeiciel_nautilus_la-gestor_xattr.obj' libtool=no @AMDEPBACKSLASH@ | |
617 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Po' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.TPo' @AMDEPBACKSLASH@ | |
618 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
619 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-gestor_xattr.obj `if test -f 'gestor_xattr.cpp'; then $(CYGPATH_W) 'gestor_xattr.cpp'; else $(CYGPATH_W) '$(srcdir)/gestor_xattr.cpp'; fi` | |
620 | ||
621 | libeiciel_nautilus_la-gestor_xattr.lo: gestor_xattr.cpp | |
622 | @am__fastdepCXX_TRUE@ if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-gestor_xattr.lo -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo" \ | |
623 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-gestor_xattr.lo `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp; \ | |
624 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Plo"; \ | |
625 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Tpo"; exit 1; \ | |
626 | @am__fastdepCXX_TRUE@ fi | |
627 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gestor_xattr.cpp' object='libeiciel_nautilus_la-gestor_xattr.lo' libtool=yes @AMDEPBACKSLASH@ | |
628 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.Plo' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-gestor_xattr.TPlo' @AMDEPBACKSLASH@ | |
629 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
630 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-gestor_xattr.lo `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp | |
631 | ||
632 | libeiciel_nautilus_la-eiciel_xattr_window.o: eiciel_xattr_window.cpp | |
633 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-eiciel_xattr_window.o -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo" \ | |
634 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-eiciel_xattr_window.o `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp; \ | |
635 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Po"; \ | |
636 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo"; exit 1; \ | |
637 | @am__fastdepCXX_TRUE@ fi | |
638 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_window.cpp' object='libeiciel_nautilus_la-eiciel_xattr_window.o' libtool=no @AMDEPBACKSLASH@ | |
639 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Po' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.TPo' @AMDEPBACKSLASH@ | |
640 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
641 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-eiciel_xattr_window.o `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp | |
642 | ||
643 | libeiciel_nautilus_la-eiciel_xattr_window.obj: eiciel_xattr_window.cpp | |
644 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-eiciel_xattr_window.obj -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo" \ | |
645 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-eiciel_xattr_window.obj `if test -f 'eiciel_xattr_window.cpp'; then $(CYGPATH_W) 'eiciel_xattr_window.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_window.cpp'; fi`; \ | |
646 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Po"; \ | |
647 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo"; exit 1; \ | |
648 | @am__fastdepCXX_TRUE@ fi | |
649 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_window.cpp' object='libeiciel_nautilus_la-eiciel_xattr_window.obj' libtool=no @AMDEPBACKSLASH@ | |
650 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Po' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.TPo' @AMDEPBACKSLASH@ | |
651 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
652 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-eiciel_xattr_window.obj `if test -f 'eiciel_xattr_window.cpp'; then $(CYGPATH_W) 'eiciel_xattr_window.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_window.cpp'; fi` | |
653 | ||
654 | libeiciel_nautilus_la-eiciel_xattr_window.lo: eiciel_xattr_window.cpp | |
655 | @am__fastdepCXX_TRUE@ if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-eiciel_xattr_window.lo -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo" \ | |
656 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-eiciel_xattr_window.lo `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp; \ | |
657 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Plo"; \ | |
658 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Tpo"; exit 1; \ | |
659 | @am__fastdepCXX_TRUE@ fi | |
660 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_window.cpp' object='libeiciel_nautilus_la-eiciel_xattr_window.lo' libtool=yes @AMDEPBACKSLASH@ | |
661 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.Plo' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_window.TPlo' @AMDEPBACKSLASH@ | |
662 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
663 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-eiciel_xattr_window.lo `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp | |
664 | ||
665 | libeiciel_nautilus_la-eiciel_xattr_controler.o: eiciel_xattr_controler.cpp | |
666 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-eiciel_xattr_controler.o -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo" \ | |
667 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-eiciel_xattr_controler.o `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp; \ | |
668 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Po"; \ | |
669 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo"; exit 1; \ | |
670 | @am__fastdepCXX_TRUE@ fi | |
671 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_controler.cpp' object='libeiciel_nautilus_la-eiciel_xattr_controler.o' libtool=no @AMDEPBACKSLASH@ | |
672 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Po' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.TPo' @AMDEPBACKSLASH@ | |
673 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
674 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-eiciel_xattr_controler.o `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp | |
675 | ||
676 | libeiciel_nautilus_la-eiciel_xattr_controler.obj: eiciel_xattr_controler.cpp | |
677 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-eiciel_xattr_controler.obj -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo" \ | |
678 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-eiciel_xattr_controler.obj `if test -f 'eiciel_xattr_controler.cpp'; then $(CYGPATH_W) 'eiciel_xattr_controler.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_controler.cpp'; fi`; \ | |
679 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Po"; \ | |
680 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo"; exit 1; \ | |
681 | @am__fastdepCXX_TRUE@ fi | |
682 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_controler.cpp' object='libeiciel_nautilus_la-eiciel_xattr_controler.obj' libtool=no @AMDEPBACKSLASH@ | |
683 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Po' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.TPo' @AMDEPBACKSLASH@ | |
684 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
685 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-eiciel_xattr_controler.obj `if test -f 'eiciel_xattr_controler.cpp'; then $(CYGPATH_W) 'eiciel_xattr_controler.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_controler.cpp'; fi` | |
686 | ||
687 | libeiciel_nautilus_la-eiciel_xattr_controler.lo: eiciel_xattr_controler.cpp | |
688 | @am__fastdepCXX_TRUE@ if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -MT libeiciel_nautilus_la-eiciel_xattr_controler.lo -MD -MP -MF "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo" \ | |
689 | @am__fastdepCXX_TRUE@ -c -o libeiciel_nautilus_la-eiciel_xattr_controler.lo `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp; \ | |
690 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo" "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Plo"; \ | |
691 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Tpo"; exit 1; \ | |
692 | @am__fastdepCXX_TRUE@ fi | |
693 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_controler.cpp' object='libeiciel_nautilus_la-eiciel_xattr_controler.lo' libtool=yes @AMDEPBACKSLASH@ | |
694 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.Plo' tmpdepfile='$(DEPDIR)/libeiciel_nautilus_la-eiciel_xattr_controler.TPlo' @AMDEPBACKSLASH@ | |
695 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
696 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libeiciel_nautilus_la_CPPFLAGS) $(CPPFLAGS) $(libeiciel_nautilus_la_CXXFLAGS) $(CXXFLAGS) -c -o libeiciel_nautilus_la-eiciel_xattr_controler.lo `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp | |
697 | ||
537 | 698 | eiciel-eiciel_main_controler.o: eiciel_main_controler.cpp |
538 | 699 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_main_controler.o -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_main_controler.Tpo" \ |
539 | 700 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_main_controler.o `test -f 'eiciel_main_controler.cpp' || echo '$(srcdir)/'`eiciel_main_controler.cpp; \ |
731 | 892 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_container.Plo' tmpdepfile='$(DEPDIR)/eiciel-eiciel_container.TPlo' @AMDEPBACKSLASH@ |
732 | 893 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
733 | 894 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_container.lo `test -f 'eiciel_container.cpp' || echo '$(srcdir)/'`eiciel_container.cpp |
895 | ||
896 | eiciel-gestor_xattr.o: gestor_xattr.cpp | |
897 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-gestor_xattr.o -MD -MP -MF "$(DEPDIR)/eiciel-gestor_xattr.Tpo" \ | |
898 | @am__fastdepCXX_TRUE@ -c -o eiciel-gestor_xattr.o `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp; \ | |
899 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-gestor_xattr.Tpo" "$(DEPDIR)/eiciel-gestor_xattr.Po"; \ | |
900 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-gestor_xattr.Tpo"; exit 1; \ | |
901 | @am__fastdepCXX_TRUE@ fi | |
902 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gestor_xattr.cpp' object='eiciel-gestor_xattr.o' libtool=no @AMDEPBACKSLASH@ | |
903 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-gestor_xattr.Po' tmpdepfile='$(DEPDIR)/eiciel-gestor_xattr.TPo' @AMDEPBACKSLASH@ | |
904 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
905 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-gestor_xattr.o `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp | |
906 | ||
907 | eiciel-gestor_xattr.obj: gestor_xattr.cpp | |
908 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-gestor_xattr.obj -MD -MP -MF "$(DEPDIR)/eiciel-gestor_xattr.Tpo" \ | |
909 | @am__fastdepCXX_TRUE@ -c -o eiciel-gestor_xattr.obj `if test -f 'gestor_xattr.cpp'; then $(CYGPATH_W) 'gestor_xattr.cpp'; else $(CYGPATH_W) '$(srcdir)/gestor_xattr.cpp'; fi`; \ | |
910 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-gestor_xattr.Tpo" "$(DEPDIR)/eiciel-gestor_xattr.Po"; \ | |
911 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-gestor_xattr.Tpo"; exit 1; \ | |
912 | @am__fastdepCXX_TRUE@ fi | |
913 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gestor_xattr.cpp' object='eiciel-gestor_xattr.obj' libtool=no @AMDEPBACKSLASH@ | |
914 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-gestor_xattr.Po' tmpdepfile='$(DEPDIR)/eiciel-gestor_xattr.TPo' @AMDEPBACKSLASH@ | |
915 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
916 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-gestor_xattr.obj `if test -f 'gestor_xattr.cpp'; then $(CYGPATH_W) 'gestor_xattr.cpp'; else $(CYGPATH_W) '$(srcdir)/gestor_xattr.cpp'; fi` | |
917 | ||
918 | eiciel-gestor_xattr.lo: gestor_xattr.cpp | |
919 | @am__fastdepCXX_TRUE@ if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-gestor_xattr.lo -MD -MP -MF "$(DEPDIR)/eiciel-gestor_xattr.Tpo" \ | |
920 | @am__fastdepCXX_TRUE@ -c -o eiciel-gestor_xattr.lo `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp; \ | |
921 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-gestor_xattr.Tpo" "$(DEPDIR)/eiciel-gestor_xattr.Plo"; \ | |
922 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-gestor_xattr.Tpo"; exit 1; \ | |
923 | @am__fastdepCXX_TRUE@ fi | |
924 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='gestor_xattr.cpp' object='eiciel-gestor_xattr.lo' libtool=yes @AMDEPBACKSLASH@ | |
925 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-gestor_xattr.Plo' tmpdepfile='$(DEPDIR)/eiciel-gestor_xattr.TPlo' @AMDEPBACKSLASH@ | |
926 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
927 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-gestor_xattr.lo `test -f 'gestor_xattr.cpp' || echo '$(srcdir)/'`gestor_xattr.cpp | |
928 | ||
929 | eiciel-eiciel_xattr_window.o: eiciel_xattr_window.cpp | |
930 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_xattr_window.o -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo" \ | |
931 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_xattr_window.o `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp; \ | |
932 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo" "$(DEPDIR)/eiciel-eiciel_xattr_window.Po"; \ | |
933 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo"; exit 1; \ | |
934 | @am__fastdepCXX_TRUE@ fi | |
935 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_window.cpp' object='eiciel-eiciel_xattr_window.o' libtool=no @AMDEPBACKSLASH@ | |
936 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_xattr_window.Po' tmpdepfile='$(DEPDIR)/eiciel-eiciel_xattr_window.TPo' @AMDEPBACKSLASH@ | |
937 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
938 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_xattr_window.o `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp | |
939 | ||
940 | eiciel-eiciel_xattr_window.obj: eiciel_xattr_window.cpp | |
941 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_xattr_window.obj -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo" \ | |
942 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_xattr_window.obj `if test -f 'eiciel_xattr_window.cpp'; then $(CYGPATH_W) 'eiciel_xattr_window.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_window.cpp'; fi`; \ | |
943 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo" "$(DEPDIR)/eiciel-eiciel_xattr_window.Po"; \ | |
944 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo"; exit 1; \ | |
945 | @am__fastdepCXX_TRUE@ fi | |
946 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_window.cpp' object='eiciel-eiciel_xattr_window.obj' libtool=no @AMDEPBACKSLASH@ | |
947 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_xattr_window.Po' tmpdepfile='$(DEPDIR)/eiciel-eiciel_xattr_window.TPo' @AMDEPBACKSLASH@ | |
948 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
949 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_xattr_window.obj `if test -f 'eiciel_xattr_window.cpp'; then $(CYGPATH_W) 'eiciel_xattr_window.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_window.cpp'; fi` | |
950 | ||
951 | eiciel-eiciel_xattr_window.lo: eiciel_xattr_window.cpp | |
952 | @am__fastdepCXX_TRUE@ if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_xattr_window.lo -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo" \ | |
953 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_xattr_window.lo `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp; \ | |
954 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo" "$(DEPDIR)/eiciel-eiciel_xattr_window.Plo"; \ | |
955 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-eiciel_xattr_window.Tpo"; exit 1; \ | |
956 | @am__fastdepCXX_TRUE@ fi | |
957 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_window.cpp' object='eiciel-eiciel_xattr_window.lo' libtool=yes @AMDEPBACKSLASH@ | |
958 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_xattr_window.Plo' tmpdepfile='$(DEPDIR)/eiciel-eiciel_xattr_window.TPlo' @AMDEPBACKSLASH@ | |
959 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
960 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_xattr_window.lo `test -f 'eiciel_xattr_window.cpp' || echo '$(srcdir)/'`eiciel_xattr_window.cpp | |
961 | ||
962 | eiciel-eiciel_xattr_controler.o: eiciel_xattr_controler.cpp | |
963 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_xattr_controler.o -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo" \ | |
964 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_xattr_controler.o `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp; \ | |
965 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo" "$(DEPDIR)/eiciel-eiciel_xattr_controler.Po"; \ | |
966 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo"; exit 1; \ | |
967 | @am__fastdepCXX_TRUE@ fi | |
968 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_controler.cpp' object='eiciel-eiciel_xattr_controler.o' libtool=no @AMDEPBACKSLASH@ | |
969 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_xattr_controler.Po' tmpdepfile='$(DEPDIR)/eiciel-eiciel_xattr_controler.TPo' @AMDEPBACKSLASH@ | |
970 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
971 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_xattr_controler.o `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp | |
972 | ||
973 | eiciel-eiciel_xattr_controler.obj: eiciel_xattr_controler.cpp | |
974 | @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_xattr_controler.obj -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo" \ | |
975 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_xattr_controler.obj `if test -f 'eiciel_xattr_controler.cpp'; then $(CYGPATH_W) 'eiciel_xattr_controler.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_controler.cpp'; fi`; \ | |
976 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo" "$(DEPDIR)/eiciel-eiciel_xattr_controler.Po"; \ | |
977 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo"; exit 1; \ | |
978 | @am__fastdepCXX_TRUE@ fi | |
979 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_controler.cpp' object='eiciel-eiciel_xattr_controler.obj' libtool=no @AMDEPBACKSLASH@ | |
980 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_xattr_controler.Po' tmpdepfile='$(DEPDIR)/eiciel-eiciel_xattr_controler.TPo' @AMDEPBACKSLASH@ | |
981 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
982 | @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_xattr_controler.obj `if test -f 'eiciel_xattr_controler.cpp'; then $(CYGPATH_W) 'eiciel_xattr_controler.cpp'; else $(CYGPATH_W) '$(srcdir)/eiciel_xattr_controler.cpp'; fi` | |
983 | ||
984 | eiciel-eiciel_xattr_controler.lo: eiciel_xattr_controler.cpp | |
985 | @am__fastdepCXX_TRUE@ if $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -MT eiciel-eiciel_xattr_controler.lo -MD -MP -MF "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo" \ | |
986 | @am__fastdepCXX_TRUE@ -c -o eiciel-eiciel_xattr_controler.lo `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp; \ | |
987 | @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo" "$(DEPDIR)/eiciel-eiciel_xattr_controler.Plo"; \ | |
988 | @am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/eiciel-eiciel_xattr_controler.Tpo"; exit 1; \ | |
989 | @am__fastdepCXX_TRUE@ fi | |
990 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='eiciel_xattr_controler.cpp' object='eiciel-eiciel_xattr_controler.lo' libtool=yes @AMDEPBACKSLASH@ | |
991 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/eiciel-eiciel_xattr_controler.Plo' tmpdepfile='$(DEPDIR)/eiciel-eiciel_xattr_controler.TPlo' @AMDEPBACKSLASH@ | |
992 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
993 | @am__fastdepCXX_FALSE@ $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(eiciel_CPPFLAGS) $(CPPFLAGS) $(eiciel_CXXFLAGS) $(CXXFLAGS) -c -o eiciel-eiciel_xattr_controler.lo `test -f 'eiciel_xattr_controler.cpp' || echo '$(srcdir)/'`eiciel_xattr_controler.cpp | |
734 | 994 | |
735 | 995 | mostlyclean-libtool: |
736 | 996 | -rm -f *.lo |
55 | 55 | superior.pack_start(escollirFitxer, Gtk::PACK_SHRINK, 4); |
56 | 56 | superior.set_homogeneous(false); |
57 | 57 | |
58 | principal.add(paginador); | |
59 | paginador.append_page(paginaACL, _("Access Control List")); | |
60 | ||
58 | 61 | controlador_widget = new EicielMainControler(); |
59 | 62 | widget_principal = new EicielWindow(controlador_widget); |
60 | 63 | |
61 | principal.pack_start(*widget_principal, Gtk::PACK_EXPAND_WIDGET, 0); | |
64 | paginaACL.pack_start(*widget_principal, Gtk::PACK_EXPAND_WIDGET, 0); | |
65 | ||
66 | #ifdef ENABLE_USER_XATTR | |
67 | paginador.append_page(paginaXAttr, _("Extended user attributes")); | |
68 | ||
69 | controlador_xattr = new EicielXAttrControler(); | |
70 | widget_xattr = new EicielXAttrWindow(controlador_xattr); | |
71 | ||
72 | paginaXAttr.pack_start(*widget_xattr, Gtk::PACK_EXPAND_WIDGET, 0); | |
73 | #endif | |
62 | 74 | |
63 | 75 | principal.pack_start(inferior, Gtk::PACK_SHRINK, 2); |
64 | 76 | inferior.set_spacing(2); |
160 | 172 | { |
161 | 173 | case(Gtk::RESPONSE_NONE): |
162 | 174 | { |
163 | if (this->obrirFitxer(dialog.get_filename())) | |
164 | { | |
165 | nomFitxer.set_text(dialog.get_filename()); | |
166 | } | |
167 | else | |
175 | if (!this->obrirFitxer(dialog.get_filename())) | |
168 | 176 | { |
169 | 177 | Gtk::MessageDialog missatge(_("Could not open the file \"") |
170 | 178 | + Glib::locale_to_utf8(dialog.get_filename()) + Glib::ustring("\" ") |
171 | 179 | + Glib::ustring("(") + controlador_widget->ultimError() + Glib::ustring(")"), |
172 | 180 | false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK, true); |
173 | 181 | missatge.run(); |
174 | nomFitxer.set_text(_("No file opened")); | |
175 | 182 | } |
176 | 183 | break; |
177 | 184 | } |
188 | 195 | |
189 | 196 | bool EicielContainer::obrirFitxer(Glib::ustring nom) |
190 | 197 | { |
198 | bool resultat; | |
191 | 199 | controlador_widget->obreFitxer(nom); |
192 | return controlador_widget->fitxerObert(); | |
200 | ||
201 | resultat = controlador_widget->fitxerObert(); | |
202 | ||
203 | #ifdef ENABLE_USER_XATTR | |
204 | controlador_xattr->obrirFitxer(nom); | |
205 | ||
206 | resultat |= controlador_xattr->fitxerObert(); | |
207 | #endif | |
208 | ||
209 | if (resultat) | |
210 | { | |
211 | nomFitxer.set_text(nom); | |
212 | } | |
213 | else | |
214 | { | |
215 | nomFitxer.set_text(_("No file opened")); | |
216 | } | |
217 | ||
218 | return resultat; | |
193 | 219 | } |
194 | 220 | |
195 | 221 | /* About box */ |
19 | 19 | #include <gtkmm.h> |
20 | 20 | #include <libgnomevfs/gnome-vfs.h> |
21 | 21 | #include <libgnome/libgnome.h> |
22 | #include <eiciel_main_controler.hpp> | |
23 | #include <eiciel_main_window.hpp> | |
24 | 22 | #include <gettext.h> |
23 | ||
24 | #include "eiciel_main_controler.hpp" | |
25 | #include "eiciel_main_window.hpp" | |
26 | ||
27 | #ifdef ENABLE_USER_XATTR | |
28 | #include "eiciel_xattr_controler.hpp" | |
29 | #include "eiciel_xattr_window.hpp" | |
30 | #endif | |
25 | 31 | |
26 | 32 | class EicielContainer : public Gtk::Window |
27 | 33 | { |
28 | 34 | private: |
29 | 35 | Gtk::VBox principal; |
36 | Gtk::VBox paginaACL; | |
37 | Gtk::VBox paginaXAttr; | |
30 | 38 | Gtk::HBox superior; |
31 | 39 | Gtk::HBox inferior; |
32 | 40 | Gtk::Button escollirFitxer; |
36 | 44 | Gtk::Button ajuda; |
37 | 45 | Gtk::Button quantA; |
38 | 46 | |
47 | Gtk::Notebook paginador; | |
48 | ||
39 | 49 | EicielWindow* widget_principal; |
40 | 50 | EicielMainControler* controlador_widget; |
51 | ||
52 | #ifdef ENABLE_USER_XATTR | |
53 | EicielXAttrWindow* widget_xattr; | |
54 | EicielXAttrControler* controlador_xattr; | |
55 | #endif | |
41 | 56 | |
42 | 57 | |
43 | 58 | void sortidaAplicacio(); |
44 | 59 | void oberturaFitxer(); |
45 | bool obrirFitxer(Glib::ustring nom); | |
46 | 60 | Glib::ustring missatgeError(); |
47 | 61 | void mostrarQuantA(); |
48 | 62 | void mostrarAjuda(); |
52 | 66 | |
53 | 67 | public: |
54 | 68 | EicielContainer(); |
69 | bool obrirFitxer(Glib::ustring nom); | |
55 | 70 | }; |
56 | 71 | |
57 | 72 | class EicielAboutBox : public Gtk::Dialog |
112 | 112 | contenidorVistaLlistaACL.add(vistaLlistaACL); |
113 | 113 | contenidorVistaLlistaACL.set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); |
114 | 114 | |
115 | vistaLlistaACL.set_size_request(-1, 150); | |
115 | vistaLlistaACL.set_size_request(100, 150); | |
116 | 116 | |
117 | 117 | zona_superior.add(contenidorVistaLlistaACL); |
118 | 118 | |
429 | 429 | { |
430 | 430 | Gtk::TreeModel::iterator iter = refLlistaACL->append(); |
431 | 431 | Gtk::TreeModel::Row row(*iter); |
432 | row = *iter; | |
432 | ||
433 | 433 | afegeixElement(titol, lectura, escriptura, execucio, e, row, |
434 | 434 | efectiuLectura, efectiuEscriptura, efectiuExecucio); |
435 | 435 | row[modelLlistaACL.esborrable] = false; |
23 | 23 | #include <libnautilus-extension/nautilus-property-page.h> |
24 | 24 | #include <libnautilus-extension/nautilus-property-page-provider.h> |
25 | 25 | #include <libgnomevfs/gnome-vfs.h> |
26 | #include <gettext.h> | |
27 | ||
26 | 28 | #include "eiciel_main_controler.hpp" |
27 | 29 | #include "eiciel_main_window.hpp" |
28 | 30 | #include "eiciel_nautilus_page.hpp" |
29 | #include <gettext.h> | |
31 | ||
32 | #ifdef ENABLE_USER_XATTR | |
33 | #include "eiciel_xattr_controler.hpp" | |
34 | #include "eiciel_xattr_window.hpp" | |
35 | #endif | |
30 | 36 | |
31 | 37 | struct NautilusEicielPropertiesPageDetails { |
32 | 38 | }; |
87 | 93 | uri = nautilus_file_info_get_uri (file); |
88 | 94 | GnomeVFSURI* guri = gnome_vfs_uri_new(uri); |
89 | 95 | // i comprovem que és local |
90 | if (!gnome_vfs_uri_is_local(guri)) | |
96 | const gchar* scheme = gnome_vfs_uri_get_scheme(guri); | |
97 | if (strcmp(scheme, "file") != 0) | |
91 | 98 | { |
92 | 99 | g_free(guri); |
93 | 100 | return NULL; |
113 | 120 | // I obrim el fitxer |
114 | 121 | main_controler->obreFitxer(std::string(local_file)); |
115 | 122 | |
116 | eiciel_window->show_all(); | |
117 | ||
118 | real_page = nautilus_property_page_new | |
119 | ("EicielPropertyPage::property_page", | |
120 | gtk_label_new (_("Access Control List")), | |
121 | GTK_WIDGET(eiciel_window->gobj())); | |
122 | pages = g_list_prepend (pages, real_page); | |
123 | if (!main_controler->fitxerObert()) | |
124 | { | |
125 | delete eiciel_window; | |
126 | } | |
127 | else | |
128 | { | |
129 | eiciel_window->show_all(); | |
130 | ||
131 | real_page = nautilus_property_page_new | |
132 | ("EicielPropertyPage::property_page", | |
133 | gtk_label_new (_("Access Control List")), | |
134 | GTK_WIDGET(eiciel_window->gobj())); | |
135 | pages = g_list_append (pages, real_page); | |
136 | } | |
137 | ||
138 | #ifdef ENABLE_USER_XATTR | |
139 | EicielXAttrControler* xattr_controler = new EicielXAttrControler(); | |
140 | EicielXAttrWindow* xattr_window = Gtk::manage(new EicielXAttrWindow(xattr_controler)); | |
141 | ||
142 | xattr_controler->obrirFitxer(std::string(local_file)); | |
143 | ||
144 | if (!xattr_controler->fitxerObert()) | |
145 | { | |
146 | delete xattr_window; | |
147 | } | |
148 | else | |
149 | { | |
150 | xattr_window->show_all(); | |
151 | ||
152 | real_page = nautilus_property_page_new | |
153 | ("EicielPropertyPage::property_page", | |
154 | gtk_label_new (_("Extended user attributes")), | |
155 | GTK_WIDGET(xattr_window->gobj())); | |
156 | pages = g_list_append (pages, real_page); | |
157 | } | |
158 | #endif | |
159 | ||
123 | 160 | |
124 | 161 | g_free(local_file); |
125 | 162 |
35 | 35 | |
36 | 36 | EicielContainer w; |
37 | 37 | |
38 | if (argc > 1) | |
39 | { | |
40 | w.obrirFitxer(argv[1]); | |
41 | } | |
42 | ||
38 | 43 | kit.run(w); |
39 | 44 | |
40 | 45 | return 0; |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | ||
19 | #include "eiciel_xattr_controler.hpp" | |
20 | ||
21 | EicielXAttrControler::EicielXAttrControler() | |
22 | : gestorXAttr(NULL), finestra(NULL), _fitxerObert(false) | |
23 | { | |
24 | } | |
25 | ||
26 | void EicielXAttrControler::obrirFitxer(const Glib::ustring& nomFitxer) throw (GestorXAttrException) | |
27 | { | |
28 | if (gestorXAttr != NULL) | |
29 | { | |
30 | delete gestorXAttr; | |
31 | } | |
32 | ||
33 | try | |
34 | { | |
35 | gestorXAttr = new GestorXAttr(nomFitxer); | |
36 | _fitxerObert = true; | |
37 | ||
38 | finestra->activacio(true); | |
39 | ||
40 | comprovarEditable(); | |
41 | ||
42 | finestra->ompleAtributs(gestorXAttr->donarLlistaAtributs()); | |
43 | } | |
44 | catch (GestorXAttrException e) | |
45 | { | |
46 | delete gestorXAttr; | |
47 | gestorXAttr = NULL; | |
48 | _fitxerObert = false; | |
49 | finestra->activacio(false); | |
50 | } | |
51 | } | |
52 | ||
53 | void EicielXAttrControler::eliminarAtribut(const Glib::ustring& nomAtrib) throw (GestorXAttrException) | |
54 | { | |
55 | gestorXAttr->eliminarAtribut(nomAtrib); | |
56 | } | |
57 | ||
58 | void EicielXAttrControler::afegirAtribut(const Glib::ustring& nomAtrib, const Glib::ustring& valorAtrib) throw (GestorXAttrException) | |
59 | { | |
60 | gestorXAttr->afegirAtribut(nomAtrib, valorAtrib); | |
61 | } | |
62 | ||
63 | void EicielXAttrControler::actualitzarValorAtribut(const Glib::ustring& nomAtrib, const Glib::ustring& valorNouAtrib) throw (GestorXAttrException) | |
64 | { | |
65 | gestorXAttr->afegirAtribut(nomAtrib, valorNouAtrib); | |
66 | } | |
67 | ||
68 | void EicielXAttrControler::modificarNomAtribut(const Glib::ustring& nomAnticAtribut, const Glib::ustring& nomNouAtribut) throw (GestorXAttrException) | |
69 | { | |
70 | gestorXAttr->canviarNomAtribut(nomAnticAtribut, nomNouAtribut); | |
71 | } | |
72 | ||
73 | void EicielXAttrControler::comprovarEditable() | |
74 | { | |
75 | /* | |
76 | * Comprovem que es el propietari o root | |
77 | */ | |
78 | uid_t real_user = getuid(); | |
79 | if ((real_user != 0) && (real_user != gestorXAttr->donarUidPropietari())) | |
80 | { | |
81 | finestra->establirNomesLectura(true); | |
82 | } | |
83 | else | |
84 | { | |
85 | finestra->establirNomesLectura(false); | |
86 | } | |
87 | ||
88 | } |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | #ifndef EICIEL_XATTR_CONTROLER_HPP | |
19 | #define EICIEL_XATTR_CONTROLER_HPP | |
20 | ||
21 | #include <sys/types.h> | |
22 | #include "eiciel_xattr_window.hpp" | |
23 | #include "gestor_xattr.hpp" | |
24 | ||
25 | class EicielXAttrWindow; | |
26 | ||
27 | class EicielXAttrControler : public sigc::trackable | |
28 | { | |
29 | private: | |
30 | GestorXAttr* gestorXAttr; | |
31 | EicielXAttrWindow* finestra; | |
32 | bool _fitxerObert; | |
33 | ||
34 | void eliminarAtribut(const Glib::ustring& nomAtrib) throw (GestorXAttrException); | |
35 | ||
36 | void afegirAtribut(const Glib::ustring& nomAtrib, const Glib::ustring& valorAtrib) throw (GestorXAttrException); | |
37 | void actualitzarValorAtribut(const Glib::ustring& nomAtrib, const Glib::ustring& valorNouAtrib) throw (GestorXAttrException) ; | |
38 | void modificarNomAtribut(const Glib::ustring& nomAnticAtribut, const Glib::ustring& nomNouAtribut) throw (GestorXAttrException); | |
39 | ||
40 | void comprovarEditable(); | |
41 | public: | |
42 | EicielXAttrControler::EicielXAttrControler(); | |
43 | bool fitxerObert() { return _fitxerObert; }; | |
44 | ||
45 | void obrirFitxer(const Glib::ustring& nomFitxer) throw (GestorXAttrException); | |
46 | ||
47 | friend class EicielXAttrWindow; | |
48 | } | |
49 | ; | |
50 | ||
51 | #endif |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | ||
19 | #include "eiciel_xattr_window.hpp" | |
20 | ||
21 | EicielXAttrWindow::EicielXAttrWindow(EicielXAttrControler* contr) | |
22 | : controlador(contr), | |
23 | afegirAtribut(Gtk::Stock::ADD), | |
24 | eliminarAtribut(Gtk::Stock::REMOVE) | |
25 | { | |
26 | refLlistaXAttr = Gtk::ListStore::create(modelLlistaXAttr); | |
27 | ||
28 | controlador->finestra = this; | |
29 | ||
30 | set_border_width(4); | |
31 | vistaLlistaXAttr.set_size_request(100, 100); | |
32 | ||
33 | refLlistaXAttr->set_sort_column(modelLlistaXAttr.nomAtribut, Gtk::SORT_ASCENDING); | |
34 | ||
35 | vistaLlistaXAttr.set_reallocate_redraws(); | |
36 | vistaLlistaXAttr.set_model(refLlistaXAttr); | |
37 | ||
38 | // Ara s'afegeixen les columnes i es vinculen amb el model | |
39 | vistaLlistaXAttr.append_column(_("Name"), modelLlistaXAttr.nomAtribut); | |
40 | ||
41 | // Aquesta columna requereix opcions especials | |
42 | Gtk::TreeViewColumn* col = vistaLlistaXAttr.get_column(0); | |
43 | Gtk::CellRenderer* cellRenderer = col->get_first_cell_renderer(); | |
44 | Gtk::CellRendererText* cellRendererText = dynamic_cast<Gtk::CellRendererText*>(cellRenderer); | |
45 | cellRendererText->property_editable() = true; | |
46 | ||
47 | cellRendererText->signal_edited().connect( | |
48 | sigc::mem_fun(*this, &EicielXAttrWindow::nomAtributEditat) | |
49 | ); | |
50 | ||
51 | vistaLlistaXAttr.append_column_editable(_("Value"), modelLlistaXAttr.valorAtribut); | |
52 | ||
53 | col = vistaLlistaXAttr.get_column(1); | |
54 | cellRenderer = col->get_first_cell_renderer(); | |
55 | cellRendererText = dynamic_cast<Gtk::CellRendererText*>(cellRenderer); | |
56 | cellRendererText->property_editable() = true; | |
57 | ||
58 | cellRendererText->signal_edited().connect( | |
59 | sigc::mem_fun(*this, &EicielXAttrWindow::valorAtributEditat) | |
60 | ); | |
61 | ||
62 | contenidorVistaLlistaXAttr.add(vistaLlistaXAttr); | |
63 | contenidorVistaLlistaXAttr.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); | |
64 | ||
65 | pack_start(contenidorVistaLlistaXAttr, Gtk::PACK_EXPAND_WIDGET, 2); | |
66 | ||
67 | botoneraInferior.pack_start(afegirAtribut, Gtk::PACK_SHRINK, 2); | |
68 | botoneraInferior.pack_start(eliminarAtribut, Gtk::PACK_SHRINK, 2); | |
69 | ||
70 | pack_start(botoneraInferior, Gtk::PACK_SHRINK, 2); | |
71 | ||
72 | // Atributs de prova | |
73 | // Gtk::TreeModel::iterator iter = refLlistaXAttr->append(); | |
74 | // Gtk::TreeModel::Row row; | |
75 | // row = *iter; | |
76 | ||
77 | // row[modelLlistaXAttr.nomAtribut] = "rev"; | |
78 | // row[modelLlistaXAttr.valorAtribut] = "245"; | |
79 | ||
80 | // iter = refLlistaXAttr->append(); | |
81 | // row = *iter; | |
82 | ||
83 | // row[modelLlistaXAttr.nomAtribut] = "Confidencial"; | |
84 | // row[modelLlistaXAttr.valorAtribut] = "No"; | |
85 | ||
86 | // Vinculació dels senyals | |
87 | Glib::RefPtr<Gtk::TreeSelection> referenciaSeleccioLlistaXAttr = vistaLlistaXAttr.get_selection(); | |
88 | ||
89 | // Canvi de sel·lecció XAttr | |
90 | referenciaSeleccioLlistaXAttr->signal_changed().connect( | |
91 | sigc::mem_fun(*this, &EicielXAttrWindow::canviDeSeleccioXAttr) | |
92 | ); | |
93 | ||
94 | // Boto eliminar | |
95 | eliminarAtribut.signal_clicked().connect( | |
96 | sigc::mem_fun(*this, &EicielXAttrWindow::eliminarAtributSeleccionat) | |
97 | ); | |
98 | ||
99 | // Boto editar | |
100 | afegirAtribut.signal_clicked().connect( | |
101 | sigc::mem_fun(*this, &EicielXAttrWindow::afegirAtributSeleccionat) | |
102 | ); | |
103 | ||
104 | activacio(false); | |
105 | } | |
106 | ||
107 | void EicielXAttrWindow::activacio(bool b) | |
108 | { | |
109 | this->set_sensitive(b); | |
110 | } | |
111 | ||
112 | EicielXAttrWindow::~EicielXAttrWindow() | |
113 | { | |
114 | delete controlador; | |
115 | } | |
116 | ||
117 | void EicielXAttrWindow::canviDeSeleccioXAttr() | |
118 | { | |
119 | Glib::RefPtr<Gtk::TreeSelection> referenciaSeleccioLlista = vistaLlistaXAttr.get_selection(); | |
120 | Gtk::TreeModel::iterator iter = referenciaSeleccioLlista->get_selected(); | |
121 | if (!iter) | |
122 | { | |
123 | noHiHaSeleccioXAttr(); | |
124 | } | |
125 | else | |
126 | { | |
127 | hiHaSeleccioXAttr(); | |
128 | } | |
129 | } | |
130 | ||
131 | void EicielXAttrWindow::noHiHaSeleccioXAttr() | |
132 | { | |
133 | eliminarAtribut.set_sensitive(false); | |
134 | } | |
135 | ||
136 | void EicielXAttrWindow::hiHaSeleccioXAttr() | |
137 | { | |
138 | if (!this->nomesLectura) | |
139 | { | |
140 | eliminarAtribut.set_sensitive(true); | |
141 | } | |
142 | } | |
143 | ||
144 | void EicielXAttrWindow::nomAtributEditat(const Glib::ustring& path, const Glib::ustring& value) | |
145 | { | |
146 | Gtk::TreeModel::iterator iter = refLlistaXAttr->get_iter(path); | |
147 | ||
148 | if (iter) | |
149 | { | |
150 | Gtk::TreeModel::Row row(*iter); | |
151 | ||
152 | // No pot estar buit | |
153 | if (value.empty()) | |
154 | { | |
155 | return; | |
156 | } | |
157 | ||
158 | // No admetem repetits | |
159 | Gtk::TreeModel::Children children = refLlistaXAttr->children(); | |
160 | ||
161 | for(Gtk::TreeModel::Children::iterator iter = children.begin(); | |
162 | iter != children.end(); ++iter) | |
163 | { | |
164 | Gtk::TreeModel::Row irow(*iter); | |
165 | ||
166 | if (irow[modelLlistaXAttr.nomAtribut] == value) | |
167 | { | |
168 | return; | |
169 | } | |
170 | } | |
171 | ||
172 | try | |
173 | { | |
174 | controlador->modificarNomAtribut(row[modelLlistaXAttr.nomAtribut], value); | |
175 | row[modelLlistaXAttr.nomAtribut] = value; | |
176 | } | |
177 | catch (GestorXAttrException e) | |
178 | { | |
179 | Glib::ustring s = _("Could not rename attribute name: ") + e.getMessage(); | |
180 | Gtk::MessageDialog renombrarXAttr(s, false, | |
181 | Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK); | |
182 | renombrarXAttr.run(); | |
183 | } | |
184 | } | |
185 | } | |
186 | ||
187 | void EicielXAttrWindow::valorAtributEditat(const Glib::ustring& path, const Glib::ustring& value) | |
188 | { | |
189 | Gtk::TreeModel::iterator iter = refLlistaXAttr->get_iter(path); | |
190 | ||
191 | if (iter) | |
192 | { | |
193 | Gtk::TreeModel::Row row(*iter); | |
194 | try | |
195 | { | |
196 | controlador->actualitzarValorAtribut(row[modelLlistaXAttr.nomAtribut], value); | |
197 | row[modelLlistaXAttr.valorAtribut] = value; | |
198 | } | |
199 | catch (GestorXAttrException e) | |
200 | { | |
201 | Glib::ustring s = _("Could not change attribute value: ") + e.getMessage(); | |
202 | Gtk::MessageDialog editarXAttr(s, false, | |
203 | Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK); | |
204 | editarXAttr.run(); | |
205 | } | |
206 | } | |
207 | } | |
208 | ||
209 | void EicielXAttrWindow::eliminarAtributSeleccionat() | |
210 | { | |
211 | Glib::RefPtr<Gtk::TreeSelection> referenciaSeleccioLlista = vistaLlistaXAttr.get_selection(); | |
212 | Gtk::TreeModel::iterator iter = referenciaSeleccioLlista->get_selected(); | |
213 | ||
214 | if (iter) | |
215 | { | |
216 | Gtk::TreeModel::Row row(*iter); | |
217 | ||
218 | try | |
219 | { | |
220 | controlador->eliminarAtribut(row[modelLlistaXAttr.nomAtribut]); | |
221 | refLlistaXAttr->erase(iter); | |
222 | } | |
223 | catch (GestorXAttrException e) | |
224 | { | |
225 | Glib::ustring s = _("Could not remove attribute: ") + e.getMessage(); | |
226 | Gtk::MessageDialog eliminarXAttr(s, false, | |
227 | Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK); | |
228 | eliminarXAttr.run(); | |
229 | } | |
230 | } | |
231 | } | |
232 | ||
233 | void EicielXAttrWindow::afegirAtributSeleccionat() | |
234 | { | |
235 | // Calculem el nom del nou atribut | |
236 | bool repetit; | |
237 | int numCops = 0; | |
238 | ||
239 | Glib::ustring nomNou; | |
240 | ||
241 | do { | |
242 | if (numCops == 0) | |
243 | { | |
244 | nomNou = _("New attribute"); | |
245 | } | |
246 | else | |
247 | { | |
248 | char* numCopsStr = new char[20]; | |
249 | ||
250 | snprintf(numCopsStr, 20, " (%d)", numCops); | |
251 | numCopsStr[19] = '\0'; | |
252 | ||
253 | nomNou = _("New attribute"); | |
254 | nomNou += numCopsStr; | |
255 | ||
256 | delete[] numCopsStr; | |
257 | } | |
258 | numCops++; | |
259 | ||
260 | Gtk::TreeModel::Children children = refLlistaXAttr->children(); | |
261 | ||
262 | repetit = false; | |
263 | for(Gtk::TreeModel::Children::iterator iter = children.begin(); | |
264 | iter != children.end(); ++iter) | |
265 | { | |
266 | Gtk::TreeModel::Row irow(*iter); | |
267 | ||
268 | if (irow[modelLlistaXAttr.nomAtribut] == nomNou) | |
269 | { | |
270 | repetit = true; | |
271 | break; | |
272 | } | |
273 | } | |
274 | } | |
275 | while (repetit); | |
276 | ||
277 | ||
278 | Gtk::TreeModel::iterator iter = refLlistaXAttr->append(); | |
279 | Gtk::TreeModel::Row row; | |
280 | row = *iter; | |
281 | ||
282 | row[modelLlistaXAttr.nomAtribut] = nomNou; | |
283 | row[modelLlistaXAttr.valorAtribut] = _("New value"); | |
284 | ||
285 | try | |
286 | { | |
287 | controlador->afegirAtribut(row[modelLlistaXAttr.nomAtribut], | |
288 | row[modelLlistaXAttr.valorAtribut]); | |
289 | ||
290 | Gtk::TreePath path = refLlistaXAttr->get_path(iter); | |
291 | Gtk::TreeViewColumn* col = vistaLlistaXAttr.get_column(0); | |
292 | ||
293 | vistaLlistaXAttr.set_cursor(path, *col, true); | |
294 | } | |
295 | catch (GestorXAttrException e) | |
296 | { | |
297 | refLlistaXAttr->erase(iter); | |
298 | Glib::ustring s = _("Could not add attribute: ") + e.getMessage(); | |
299 | Gtk::MessageDialog afegirXAttr(s, false, | |
300 | Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK); | |
301 | afegirXAttr.run(); | |
302 | } | |
303 | } | |
304 | ||
305 | void EicielXAttrWindow::ompleAtributs(GestorXAttr::atributs_t llista) | |
306 | { | |
307 | GestorXAttr::atributs_t::iterator it; | |
308 | refLlistaXAttr->clear(); | |
309 | ||
310 | Gtk::TreeModel::iterator iter; | |
311 | Gtk::TreeModel::Row row; | |
312 | ||
313 | for (it = llista.begin(); it != llista.end(); it++) | |
314 | { | |
315 | iter = refLlistaXAttr->append(); | |
316 | row = *iter; | |
317 | ||
318 | row[modelLlistaXAttr.nomAtribut] = it->first; | |
319 | row[modelLlistaXAttr.valorAtribut] = it->second; | |
320 | } | |
321 | } | |
322 | ||
323 | void EicielXAttrWindow::establirNomesLectura(bool b) | |
324 | { | |
325 | nomesLectura = b; | |
326 | ||
327 | afegirAtribut.set_sensitive(!b); | |
328 | eliminarAtribut.set_sensitive(!b); | |
329 | ||
330 | Gtk::TreeViewColumn* col = vistaLlistaXAttr.get_column(0); | |
331 | Gtk::CellRenderer* cellRenderer = col->get_first_cell_renderer(); | |
332 | Gtk::CellRendererText* cellRendererText = dynamic_cast<Gtk::CellRendererText*>(cellRenderer); | |
333 | cellRendererText->property_editable() = !b; | |
334 | ||
335 | col = vistaLlistaXAttr.get_column(1); | |
336 | cellRenderer = col->get_first_cell_renderer(); | |
337 | cellRendererText = dynamic_cast<Gtk::CellRendererText*>(cellRenderer); | |
338 | cellRendererText->property_editable() = !b; | |
339 | } |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | ||
19 | #ifndef EICIEL_XATTR_WINDOW_HPP | |
20 | #define EICIEL_XATTR_WINDOW_HPP | |
21 | ||
22 | #include <config.hpp> | |
23 | #include <gtkmm.h> | |
24 | #include <gettext.h> | |
25 | #include <sstream> | |
26 | #include "gestor_xattr.hpp" | |
27 | #include "llista_xattr.hpp" | |
28 | #include "eiciel_xattr_controler.hpp" | |
29 | ||
30 | class EicielXAttrControler; | |
31 | ||
32 | class EicielXAttrWindow : public Gtk::VBox | |
33 | { | |
34 | public: | |
35 | EicielXAttrWindow(EicielXAttrControler* controlador); | |
36 | virtual ~EicielXAttrWindow(); | |
37 | ||
38 | void ompleAtributs(GestorXAttr::atributs_t llista); | |
39 | void establirNomesLectura(bool b); | |
40 | ||
41 | void activacio(bool b); | |
42 | ||
43 | private: | |
44 | EicielXAttrControler* controlador; | |
45 | ||
46 | Glib::RefPtr<Gtk::ListStore> refLlistaXAttr; | |
47 | ModelLlistaXAttr modelLlistaXAttr; | |
48 | ||
49 | Gtk::ScrolledWindow contenidorVistaLlistaXAttr; | |
50 | Gtk::TreeView vistaLlistaXAttr; | |
51 | ||
52 | Gtk::Button afegirAtribut; | |
53 | Gtk::Button eliminarAtribut; | |
54 | ||
55 | Gtk::HBox botoneraInferior; | |
56 | ||
57 | void canviDeSeleccioXAttr(); | |
58 | ||
59 | void noHiHaSeleccioXAttr(); | |
60 | void hiHaSeleccioXAttr(); | |
61 | ||
62 | void nomAtributEditat(const Glib::ustring& vell, const Glib::ustring& nou); | |
63 | void valorAtributEditat(const Glib::ustring& vell, const Glib::ustring& nou); | |
64 | ||
65 | void eliminarAtributSeleccionat(); | |
66 | void afegirAtributSeleccionat(); | |
67 | ||
68 | ||
69 | bool nomesLectura; | |
70 | } | |
71 | ; | |
72 | ||
73 | #endif |
15 | 15 | along with this program; if not, write to the Free Software |
16 | 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 | 17 | */ |
18 | #include "config.hpp" | |
19 | #include <glibmm.h> | |
20 | #include <sys/types.h> | |
21 | #include <sys/stat.h> | |
22 | #include <sys/acl.h> | |
23 | #ifdef HAVE_ACL_LIBACL_H | |
24 | #include <acl/libacl.h> | |
25 | #endif | |
26 | #include <unistd.h> | |
27 | #include <errno.h> | |
28 | #include <vector> | |
29 | #include <iostream> | |
30 | #include <pwd.h> | |
31 | #include <grp.h> | |
32 | #include <sstream> | |
33 | #include <algorithm> | |
34 | 18 | #include "gestor_acl.hpp" |
35 | #include <gettext.h> | |
36 | 19 | |
37 | 20 | GestorACL::GestorACL(const string& nomF) throw (GestorACLException) |
38 | 21 | : nomFitxer(nomF) |
20 | 20 | |
21 | 21 | #include <config.hpp> |
22 | 22 | |
23 | #include <string> | |
24 | #include <vector> | |
25 | #include <iostream> | |
26 | #include <gettext.h> | |
27 | ||
28 | #include <glibmm.h> | |
29 | #include <sys/types.h> | |
30 | #include <sys/stat.h> | |
23 | 31 | #include <sys/acl.h> |
24 | 32 | #ifdef HAVE_ACL_LIBACL_H |
25 | 33 | #include <acl/libacl.h> |
26 | 34 | #endif |
27 | #include <string> | |
35 | #include <unistd.h> | |
36 | #include <errno.h> | |
28 | 37 | #include <vector> |
29 | 38 | #include <iostream> |
39 | #include <pwd.h> | |
40 | #include <grp.h> | |
41 | #include <sstream> | |
42 | #include <algorithm> | |
30 | 43 | #include <gettext.h> |
31 | 44 | |
32 | 45 | using namespace std; |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | #include "gestor_xattr.hpp" | |
19 | ||
20 | GestorXAttr::GestorXAttr(const Glib::ustring& nomF) throw (GestorXAttrException) | |
21 | : nomFitxer(nomF) | |
22 | { | |
23 | // Comprovem que es un fitxer normal o directori | |
24 | struct stat buffer; | |
25 | if (stat(nomFitxer.c_str(), &buffer) == -1) | |
26 | { | |
27 | throw GestorXAttrException(Glib::locale_to_utf8(strerror(errno))); | |
28 | } | |
29 | ||
30 | // Comprovem si es un fitxer regular o un directori | |
31 | if (!S_ISREG(buffer.st_mode) && !S_ISDIR(buffer.st_mode)) | |
32 | { | |
33 | throw GestorXAttrException(_("Only regular files or directories supported")); // De moment... | |
34 | } | |
35 | ||
36 | this->propietari = buffer.st_uid; | |
37 | ||
38 | // Aixo es pq salti una excepcio si cal | |
39 | testLectura(); | |
40 | } | |
41 | ||
42 | void GestorXAttr::testLectura() throw (GestorXAttrException) | |
43 | { | |
44 | Glib::ustring nomAttrQualif = "user.prova"; | |
45 | int longitudBuffer; | |
46 | int mida = 30; | |
47 | char* buffer = new char[mida]; | |
48 | ||
49 | longitudBuffer = getxattr (nomFitxer.c_str(), nomAttrQualif.c_str(), | |
50 | buffer, mida); | |
51 | ||
52 | if (longitudBuffer == -1 && | |
53 | errno != ENOATTR && | |
54 | errno != ERANGE) | |
55 | { | |
56 | delete[] buffer; | |
57 | throw GestorXAttrException(Glib::locale_to_utf8(strerror(errno))); | |
58 | } | |
59 | ||
60 | delete[] buffer; | |
61 | } | |
62 | ||
63 | std::vector<std::string> GestorXAttr::obtenirLlistaXAttr() throw (GestorXAttrException) | |
64 | { | |
65 | std::vector<std::string> resultat; | |
66 | ||
67 | int mida = listxattr(nomFitxer.c_str(), NULL, 0); | |
68 | ||
69 | // Calculem que la longitud de cada element serà d'uns 30 caràcters com a molt | |
70 | mida = mida*30; | |
71 | char* buffer = new char[mida]; | |
72 | ||
73 | int numElements; | |
74 | numElements = listxattr(nomFitxer.c_str(), buffer, mida); | |
75 | ||
76 | while ((numElements == -1) && (errno == ERANGE)) | |
77 | { | |
78 | delete[] buffer; | |
79 | mida = mida*2; | |
80 | buffer = new char[mida]; | |
81 | numElements = listxattr(nomFitxer.c_str(), buffer, mida); | |
82 | } | |
83 | ||
84 | // numElements == -1 && errno != ERANGE | |
85 | if (numElements == -1) | |
86 | { | |
87 | delete[] buffer; | |
88 | throw GestorXAttrException(Glib::locale_to_utf8(strerror(errno))); | |
89 | } | |
90 | ||
91 | for (int inici = 0, actual = 0; actual < numElements; actual++) | |
92 | { | |
93 | if (buffer[actual] == '\0') | |
94 | { | |
95 | // Ara recuperem cada valor | |
96 | std::string nomAttr(&buffer[inici]); | |
97 | ||
98 | std::string prefix = nomAttr.substr(0, 5); | |
99 | std::string postfix = nomAttr.substr(5); | |
100 | ||
101 | if (prefix == "user.") | |
102 | { | |
103 | resultat.push_back(postfix); | |
104 | } | |
105 | ||
106 | inici = actual + 1; | |
107 | } | |
108 | } | |
109 | ||
110 | delete[] buffer; | |
111 | ||
112 | return resultat; | |
113 | } | |
114 | ||
115 | std::string GestorXAttr::recuperarValorAtribut(const std::string& nomAttr) throw (GestorXAttrException) | |
116 | { | |
117 | int mida = 30; | |
118 | char* buffer = new char[mida]; | |
119 | ||
120 | std::string nomAttrQualif = "user." + nomAttr; | |
121 | ||
122 | int longitudBuffer = getxattr (nomFitxer.c_str(), nomAttrQualif.c_str(), | |
123 | buffer, mida); | |
124 | ||
125 | while ((longitudBuffer == -1) && (errno == ERANGE)) | |
126 | { | |
127 | delete[] buffer; | |
128 | mida = mida*2; | |
129 | buffer = new char[mida]; | |
130 | ||
131 | longitudBuffer = getxattr (nomFitxer.c_str(), nomAttrQualif.c_str(), | |
132 | buffer, mida); | |
133 | } | |
134 | ||
135 | if (longitudBuffer == -1) | |
136 | { | |
137 | delete[] buffer; | |
138 | throw GestorXAttrException(Glib::locale_to_utf8(strerror(errno))); | |
139 | } | |
140 | ||
141 | char* nouBuffer = new char[longitudBuffer + 1]; | |
142 | nouBuffer[longitudBuffer] = '\0'; | |
143 | ||
144 | for (int i = 0; i < longitudBuffer; i++) | |
145 | { | |
146 | nouBuffer[i] = buffer[i]; | |
147 | } | |
148 | ||
149 | std::string valorAttr(nouBuffer); | |
150 | ||
151 | delete[] nouBuffer; | |
152 | delete[] buffer; | |
153 | ||
154 | return valorAttr; | |
155 | } | |
156 | ||
157 | GestorXAttr::atributs_t GestorXAttr::donarLlistaAtributs() | |
158 | { | |
159 | std::vector<std::string> atributs; | |
160 | std::vector<std::string>::iterator it; | |
161 | ||
162 | atributs = obtenirLlistaXAttr(); | |
163 | ||
164 | atributs_t resultat; | |
165 | ||
166 | for (it = atributs.begin(); it != atributs.end(); it++) | |
167 | { | |
168 | std::string valorAttr = recuperarValorAtribut(*it); | |
169 | ||
170 | resultat[*it] = valorAttr; | |
171 | } | |
172 | ||
173 | return resultat; | |
174 | } | |
175 | ||
176 | void GestorXAttr::eliminarAtribut(std::string nomAtr) | |
177 | { | |
178 | std::string nomQualif = "user." + nomAtr; | |
179 | int result = removexattr (nomFitxer.c_str(), nomQualif.c_str()); | |
180 | ||
181 | if (result != 0) | |
182 | { | |
183 | throw GestorXAttrException(Glib::locale_to_utf8(strerror(errno))); | |
184 | } | |
185 | } | |
186 | ||
187 | void GestorXAttr::afegirAtribut(std::string nomAtr, std::string valor) | |
188 | { | |
189 | std::string nomQualif = "user." + nomAtr; | |
190 | int resultat = setxattr (nomFitxer.c_str(), nomQualif.c_str(), | |
191 | valor.c_str(), strlen(valor.c_str()), 0); | |
192 | ||
193 | if (resultat != 0) | |
194 | { | |
195 | throw GestorXAttrException(Glib::locale_to_utf8(strerror(errno))); | |
196 | } | |
197 | } | |
198 | ||
199 | void GestorXAttr::canviarNomAtribut(std::string anticNomAttr, std::string nouNomAttr) | |
200 | { | |
201 | std::string valorAtribut = recuperarValorAtribut(anticNomAttr); | |
202 | afegirAtribut(nouNomAttr, valorAtribut); | |
203 | eliminarAtribut(anticNomAttr); | |
204 | } |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | ||
19 | #ifndef GESTOR_XATTR_HPP | |
20 | #define GESTOR_XATTR_HPP | |
21 | ||
22 | #include <config.hpp> | |
23 | ||
24 | #include <sys/types.h> | |
25 | #include <sys/stat.h> | |
26 | #include <unistd.h> | |
27 | ||
28 | #include <attr/xattr.h> | |
29 | ||
30 | #include <string> | |
31 | #include <cstring> | |
32 | #include <vector> | |
33 | #include <map> | |
34 | #include <glibmm.h> | |
35 | #include <iostream> | |
36 | ||
37 | #include <gettext.h> | |
38 | ||
39 | ||
40 | class GestorXAttrException | |
41 | { | |
42 | public: | |
43 | GestorXAttrException(Glib::ustring missatge) : missatge(missatge) | |
44 | { | |
45 | } | |
46 | ||
47 | Glib::ustring getMessage() const | |
48 | { | |
49 | return missatge; | |
50 | } | |
51 | private: | |
52 | Glib::ustring missatge; | |
53 | }; | |
54 | ||
55 | class GestorXAttr { | |
56 | ||
57 | public: | |
58 | typedef std::map<std::string, std::string> atributs_t; | |
59 | ||
60 | GestorXAttr(const Glib::ustring& nomFitxer) throw (GestorXAttrException); | |
61 | ||
62 | atributs_t donarLlistaAtributs(); | |
63 | void eliminarAtribut(std::string nomAtr); | |
64 | void establirAtributs(atributs_t atributs); | |
65 | void afegirAtribut(std::string nomAtr, std::string valor); | |
66 | void canviarNomAtribut(std::string anticNomAttr, std::string nouNomAttr); | |
67 | ||
68 | uid_t donarUidPropietari() | |
69 | { | |
70 | return this->propietari; | |
71 | } | |
72 | ||
73 | private: | |
74 | std::vector<std::string> obtenirLlistaXAttr() throw (GestorXAttrException); | |
75 | std::string recuperarValorAtribut(const std::string& nomAtr) throw (GestorXAttrException); | |
76 | ||
77 | void testLectura() throw (GestorXAttrException); | |
78 | ||
79 | Glib::ustring nomFitxer; | |
80 | ||
81 | uid_t propietari; | |
82 | } | |
83 | ; | |
84 | ||
85 | #endif |
23 | 23 | |
24 | 24 | class ModelLlistaACL : public Gtk::TreeModel::ColumnRecord |
25 | 25 | { |
26 | public: | |
26 | public: | |
27 | 27 | |
28 | ModelLlistaACL() | |
29 | { | |
30 | add(iconeta); | |
31 | add(nomEntrada); | |
32 | add(permisLectura); | |
33 | add(permisEscriptura); | |
34 | add(permisExecucio); | |
35 | add(esborrable); | |
36 | add(tipusEntrada); | |
37 | add(inefectiuLectura); | |
38 | add(inefectiuEscriptura); | |
39 | add(inefectiuExecucio); | |
40 | add(buit); | |
41 | } | |
28 | ModelLlistaACL() | |
29 | { | |
30 | add(iconeta); | |
31 | add(nomEntrada); | |
32 | add(permisLectura); | |
33 | add(permisEscriptura); | |
34 | add(permisExecucio); | |
35 | add(esborrable); | |
36 | add(tipusEntrada); | |
37 | add(inefectiuLectura); | |
38 | add(inefectiuEscriptura); | |
39 | add(inefectiuExecucio); | |
40 | add(buit); | |
41 | } | |
42 | 42 | |
43 | Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > iconeta; | |
44 | Gtk::TreeModelColumn<Glib::ustring> nomEntrada; | |
45 | Gtk::TreeModelColumn<bool> permisLectura; | |
46 | Gtk::TreeModelColumn<bool> permisEscriptura; | |
47 | Gtk::TreeModelColumn<bool> permisExecucio; | |
48 | Gtk::TreeModelColumn<bool> esborrable; | |
49 | Gtk::TreeModelColumn<TipusElement> tipusEntrada; | |
50 | Gtk::TreeModelColumn<bool> inefectiuLectura; | |
51 | Gtk::TreeModelColumn<bool> inefectiuEscriptura; | |
52 | Gtk::TreeModelColumn<bool> inefectiuExecucio; | |
53 | Gtk::TreeModelColumn<Glib::ustring> buit; | |
43 | Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > iconeta; | |
44 | Gtk::TreeModelColumn<Glib::ustring> nomEntrada; | |
45 | Gtk::TreeModelColumn<bool> permisLectura; | |
46 | Gtk::TreeModelColumn<bool> permisEscriptura; | |
47 | Gtk::TreeModelColumn<bool> permisExecucio; | |
48 | Gtk::TreeModelColumn<bool> esborrable; | |
49 | Gtk::TreeModelColumn<TipusElement> tipusEntrada; | |
50 | Gtk::TreeModelColumn<bool> inefectiuLectura; | |
51 | Gtk::TreeModelColumn<bool> inefectiuEscriptura; | |
52 | Gtk::TreeModelColumn<bool> inefectiuExecucio; | |
53 | Gtk::TreeModelColumn<Glib::ustring> buit; | |
54 | 54 | }; |
55 | 55 | |
56 | 56 | #endif |
0 | /* | |
1 | Eiciel - GNOME editor of ACL file permissions. | |
2 | Copyright (C) 2004-2005 Roger Ferrer Ibáñez | |
3 | ||
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2 of the License, or | |
7 | (at your option) any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
17 | */ | |
18 | #ifndef LLISTA_XATTR_HPP | |
19 | #define LLISTA_XATTR_HPP | |
20 | ||
21 | #include <gtkmm.h> | |
22 | ||
23 | class ModelLlistaXAttr : public Gtk::TreeModel::ColumnRecord | |
24 | { | |
25 | public: | |
26 | ModelLlistaXAttr() | |
27 | { | |
28 | add(nomAtribut); | |
29 | add(valorAtribut); | |
30 | } | |
31 | ||
32 | Gtk::TreeModelColumn<Glib::ustring> nomAtribut; | |
33 | Gtk::TreeModelColumn<Glib::ustring> valorAtribut; | |
34 | }; | |
35 | ||
36 | #endif |