Changeset 249
- Timestamp:
- 04/16/08 10:57:46 (4 years ago)
- Location:
- trunk/fm_gui
- Files:
-
- 11 modified
-
Makefile.in (modified) (12 diffs)
-
aclocal.m4 (modified) (53 diffs)
-
config.h.in (modified) (1 diff)
-
configure (modified) (158 diffs)
-
data/Makefile.in (modified) (9 diffs)
-
data/icons/Makefile.in (modified) (6 diffs)
-
src/Makefile.in (modified) (13 diffs)
-
src/marlin/Makefile.in (modified) (3 diffs)
-
src/marlin/cursors/Makefile.in (modified) (3 diffs)
-
src/tx_widgets/Makefile.in (modified) (10 diffs)
-
src/tx_widgets/icons/Makefile.in (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fm_gui/Makefile.in
r220 r249 1 # Makefile.in generated by automake 1.10 from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 40 40 install-sh ltmain.sh missing mkinstalldirs 41 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 43 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 44 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 45 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 46 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 42 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 47 43 $(top_srcdir)/configure.ac 48 44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 110 106 DEPDIR = @DEPDIR@ 111 107 DLLTOOL = @DLLTOOL@ 108 DSYMUTIL = @DSYMUTIL@ 112 109 ECHO = @ECHO@ 113 110 ECHO_C = @ECHO_C@ … … 120 117 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 121 118 FM_GUI_LIBS = @FM_GUI_LIBS@ 119 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 122 120 GMSGFMT = @GMSGFMT@ 123 121 GMSGFMT_015 = @GMSGFMT_015@ 122 GNOME_STUFF_CFLAGS = @GNOME_STUFF_CFLAGS@ 123 GNOME_STUFF_LIBS = @GNOME_STUFF_LIBS@ 124 124 GREP = @GREP@ 125 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 126 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 125 127 INSTALL = @INSTALL@ 126 128 INSTALL_DATA = @INSTALL_DATA@ … … 145 147 MSGFMT_015 = @MSGFMT_015@ 146 148 MSGMERGE = @MSGMERGE@ 149 NMEDIT = @NMEDIT@ 147 150 NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@ 148 151 NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@ … … 178 181 XGETTEXT = @XGETTEXT@ 179 182 XGETTEXT_015 = @XGETTEXT_015@ 183 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 180 184 abs_builddir = @abs_builddir@ 181 185 abs_srcdir = @abs_srcdir@ … … 399 403 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 400 404 done | \ 401 $(AWK) ' { files[$$0]= 1; } \402 END { for (i in files) print i; }'`; \405 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 406 END { if (nonempty) { for (i in files) print i; }; }'`; \ 403 407 mkid -fID $$unique 404 408 tags: TAGS … … 425 429 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 426 430 done | \ 427 $(AWK) ' { files[$$0]= 1; } \428 END { for (i in files) print i; }'`; \431 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 432 END { if (nonempty) { for (i in files) print i; }; }'`; \ 429 433 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 430 434 test -n "$$unique" || unique=$$empty_fix; \ … … 436 440 $(TAGS_FILES) $(LISP) 437 441 tags=; \ 438 here=`pwd`; \439 442 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 440 443 unique=`for i in $$list; do \ 441 444 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 442 445 done | \ 443 $(AWK) ' { files[$$0]= 1; } \444 END { for (i in files) print i; }'`; \446 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 447 END { if (nonempty) { for (i in files) print i; }; }'`; \ 445 448 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 446 449 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ … … 513 516 $(am__remove_distdir) 514 517 518 dist-lzma: distdir 519 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 520 $(am__remove_distdir) 521 515 522 dist-tarZ: distdir 516 523 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z … … 539 546 *.tar.bz2*) \ 540 547 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ 548 *.tar.lzma*) \ 549 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ 541 550 *.tar.Z*) \ 542 551 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ … … 693 702 all all-am am--refresh check check-am clean clean-generic \ 694 703 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ 695 dist-gzip dist- shar dist-tarZ dist-zip distcheck distclean\696 distclean -generic distclean-hdr distclean-libtool \704 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \ 705 distclean distclean-generic distclean-hdr distclean-libtool \ 697 706 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 698 707 dvi-am html html-am info info-am install install-am \ -
trunk/fm_gui/aclocal.m4
r220 r249 1 # generated automatically by aclocal 1.10 -*- Autoconf -*-1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006 Free Software Foundation, Inc.4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … … 12 12 # PARTICULAR PURPOSE. 13 13 14 m4_if(m4_PACKAGE_VERSION, [2.61],, 15 [m4_fatal([this file was generated for autoconf 2.61. 16 You have another version of autoconf. If you want to use that, 17 you should regenerate the build system entirely.], [63])]) 14 m4_ifndef([AC_AUTOCONF_VERSION], 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 m4_if(AC_AUTOCONF_VERSION, [2.61],, 17 [m4_warning([this file was generated for autoconf 2.61. 18 You have another version of autoconf. It may work, but is not guaranteed to. 19 If you have problems, you may need to regenerate the build system entirely. 20 To do so, use the procedure documented by the package, typically `autoreconf'.])]) 21 22 # gettext.m4 serial 60 (gettext-0.17) 23 dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. 24 dnl This file is free software; the Free Software Foundation 25 dnl gives unlimited permission to copy and/or distribute it, 26 dnl with or without modifications, as long as this notice is preserved. 27 dnl 28 dnl This file can can be used in projects which are not available under 29 dnl the GNU General Public License or the GNU Library General Public 30 dnl License but which still want to provide support for the GNU gettext 31 dnl functionality. 32 dnl Please note that the actual code of the GNU gettext library is covered 33 dnl by the GNU Library General Public License, and the rest of the GNU 34 dnl gettext package package is covered by the GNU General Public License. 35 dnl They are *not* in the public domain. 36 37 dnl Authors: 38 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 39 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006. 40 41 dnl Macro to add for using GNU gettext. 42 43 dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). 44 dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The 45 dnl default (if it is not specified or empty) is 'no-libtool'. 46 dnl INTLSYMBOL should be 'external' for packages with no intl directory, 47 dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. 48 dnl If INTLSYMBOL is 'use-libtool', then a libtool library 49 dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, 50 dnl depending on --{enable,disable}-{shared,static} and on the presence of 51 dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library 52 dnl $(top_builddir)/intl/libintl.a will be created. 53 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext 54 dnl implementations (in libc or libintl) without the ngettext() function 55 dnl will be ignored. If NEEDSYMBOL is specified and is 56 dnl 'need-formatstring-macros', then GNU gettext implementations that don't 57 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. 58 dnl INTLDIR is used to find the intl libraries. If empty, 59 dnl the value `$(top_builddir)/intl/' is used. 60 dnl 61 dnl The result of the configuration is one of three cases: 62 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled 63 dnl and used. 64 dnl Catalog format: GNU --> install in $(datadir) 65 dnl Catalog extension: .mo after installation, .gmo in source tree 66 dnl 2) GNU gettext has been found in the system's C library. 67 dnl Catalog format: GNU --> install in $(datadir) 68 dnl Catalog extension: .mo after installation, .gmo in source tree 69 dnl 3) No internationalization, always use English msgid. 70 dnl Catalog format: none 71 dnl Catalog extension: none 72 dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. 73 dnl The use of .gmo is historical (it was needed to avoid overwriting the 74 dnl GNU format catalogs when building on a platform with an X/Open gettext), 75 dnl but we keep it in order not to force irrelevant filename changes on the 76 dnl maintainers. 77 dnl 78 AC_DEFUN([AM_GNU_GETTEXT], 79 [ 80 dnl Argument checking. 81 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , 82 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT 83 ])])])])]) 84 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 85 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT 86 ])])])]) 87 define([gt_included_intl], 88 ifelse([$1], [external], 89 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), 90 [yes])) 91 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) 92 gt_NEEDS_INIT 93 AM_GNU_GETTEXT_NEED([$2]) 94 95 AC_REQUIRE([AM_PO_SUBDIRS])dnl 96 ifelse(gt_included_intl, yes, [ 97 AC_REQUIRE([AM_INTL_SUBDIR])dnl 98 ]) 99 100 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 101 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 102 AC_REQUIRE([AC_LIB_RPATH]) 103 104 dnl Sometimes libintl requires libiconv, so first search for libiconv. 105 dnl Ideally we would do this search only after the 106 dnl if test "$USE_NLS" = "yes"; then 107 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 108 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT 109 dnl the configure script would need to contain the same shell code 110 dnl again, outside any 'if'. There are two solutions: 111 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. 112 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. 113 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not 114 dnl documented, we avoid it. 115 ifelse(gt_included_intl, yes, , [ 116 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 117 ]) 118 119 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. 120 gt_INTL_MACOSX 121 122 dnl Set USE_NLS. 123 AC_REQUIRE([AM_NLS]) 124 125 ifelse(gt_included_intl, yes, [ 126 BUILD_INCLUDED_LIBINTL=no 127 USE_INCLUDED_LIBINTL=no 128 ]) 129 LIBINTL= 130 LTLIBINTL= 131 POSUB= 132 133 dnl Add a version number to the cache macros. 134 case " $gt_needs " in 135 *" need-formatstring-macros "*) gt_api_version=3 ;; 136 *" need-ngettext "*) gt_api_version=2 ;; 137 *) gt_api_version=1 ;; 138 esac 139 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 140 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 141 142 dnl If we use NLS figure out what method 143 if test "$USE_NLS" = "yes"; then 144 gt_use_preinstalled_gnugettext=no 145 ifelse(gt_included_intl, yes, [ 146 AC_MSG_CHECKING([whether included gettext is requested]) 147 AC_ARG_WITH(included-gettext, 148 [ --with-included-gettext use the GNU gettext library included here], 149 nls_cv_force_use_gnu_gettext=$withval, 150 nls_cv_force_use_gnu_gettext=no) 151 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) 152 153 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 154 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 155 ]) 156 dnl User does not insist on using GNU NLS library. Figure out what 157 dnl to use. If GNU gettext is available we use this. Else we have 158 dnl to fall back to GNU NLS library. 159 160 if test $gt_api_version -ge 3; then 161 gt_revision_test_code=' 162 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION 163 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 164 #endif 165 changequote(,)dnl 166 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 167 changequote([,])dnl 168 ' 169 else 170 gt_revision_test_code= 171 fi 172 if test $gt_api_version -ge 2; then 173 gt_expression_test_code=' + * ngettext ("", "", 0)' 174 else 175 gt_expression_test_code= 176 fi 177 178 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], 179 [AC_TRY_LINK([#include <libintl.h> 180 $gt_revision_test_code 181 extern int _nl_msg_cat_cntr; 182 extern int *_nl_domain_bindings;], 183 [bindtextdomain ("", ""); 184 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], 185 [eval "$gt_func_gnugettext_libc=yes"], 186 [eval "$gt_func_gnugettext_libc=no"])]) 187 188 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 189 dnl Sometimes libintl requires libiconv, so first search for libiconv. 190 ifelse(gt_included_intl, yes, , [ 191 AM_ICONV_LINK 192 ]) 193 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL 194 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) 195 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL 196 dnl even if libiconv doesn't exist. 197 AC_LIB_LINKFLAGS_BODY([intl]) 198 AC_CACHE_CHECK([for GNU gettext in libintl], 199 [$gt_func_gnugettext_libintl], 200 [gt_save_CPPFLAGS="$CPPFLAGS" 201 CPPFLAGS="$CPPFLAGS $INCINTL" 202 gt_save_LIBS="$LIBS" 203 LIBS="$LIBS $LIBINTL" 204 dnl Now see whether libintl exists and does not depend on libiconv. 205 AC_TRY_LINK([#include <libintl.h> 206 $gt_revision_test_code 207 extern int _nl_msg_cat_cntr; 208 extern 209 #ifdef __cplusplus 210 "C" 211 #endif 212 const char *_nl_expand_alias (const char *);], 213 [bindtextdomain ("", ""); 214 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 215 [eval "$gt_func_gnugettext_libintl=yes"], 216 [eval "$gt_func_gnugettext_libintl=no"]) 217 dnl Now see whether libintl exists and depends on libiconv. 218 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 219 LIBS="$LIBS $LIBICONV" 220 AC_TRY_LINK([#include <libintl.h> 221 $gt_revision_test_code 222 extern int _nl_msg_cat_cntr; 223 extern 224 #ifdef __cplusplus 225 "C" 226 #endif 227 const char *_nl_expand_alias (const char *);], 228 [bindtextdomain ("", ""); 229 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 230 [LIBINTL="$LIBINTL $LIBICONV" 231 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 232 eval "$gt_func_gnugettext_libintl=yes" 233 ]) 234 fi 235 CPPFLAGS="$gt_save_CPPFLAGS" 236 LIBS="$gt_save_LIBS"]) 237 fi 238 239 dnl If an already present or preinstalled GNU gettext() is found, 240 dnl use it. But if this macro is used in GNU gettext, and GNU 241 dnl gettext is already preinstalled in libintl, we update this 242 dnl libintl. (Cf. the install rule in intl/Makefile.in.) 243 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 244 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 245 && test "$PACKAGE" != gettext-runtime \ 246 && test "$PACKAGE" != gettext-tools; }; then 247 gt_use_preinstalled_gnugettext=yes 248 else 249 dnl Reset the values set by searching for libintl. 250 LIBINTL= 251 LTLIBINTL= 252 INCINTL= 253 fi 254 255 ifelse(gt_included_intl, yes, [ 256 if test "$gt_use_preinstalled_gnugettext" != "yes"; then 257 dnl GNU gettext is not found in the C library. 258 dnl Fall back on included GNU gettext library. 259 nls_cv_use_gnu_gettext=yes 260 fi 261 fi 262 263 if test "$nls_cv_use_gnu_gettext" = "yes"; then 264 dnl Mark actions used to generate GNU NLS library. 265 BUILD_INCLUDED_LIBINTL=yes 266 USE_INCLUDED_LIBINTL=yes 267 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" 268 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" 269 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 270 fi 271 272 CATOBJEXT= 273 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 274 || test "$nls_cv_use_gnu_gettext" = "yes"; then 275 dnl Mark actions to use GNU gettext tools. 276 CATOBJEXT=.gmo 277 fi 278 ]) 279 280 if test -n "$INTL_MACOSX_LIBS"; then 281 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 282 || test "$nls_cv_use_gnu_gettext" = "yes"; then 283 dnl Some extra flags are needed during linking. 284 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 285 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 286 fi 287 fi 288 289 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 290 || test "$nls_cv_use_gnu_gettext" = "yes"; then 291 AC_DEFINE(ENABLE_NLS, 1, 292 [Define to 1 if translation of program messages to the user's native language 293 is requested.]) 294 else 295 USE_NLS=no 296 fi 297 fi 298 299 AC_MSG_CHECKING([whether to use NLS]) 300 AC_MSG_RESULT([$USE_NLS]) 301 if test "$USE_NLS" = "yes"; then 302 AC_MSG_CHECKING([where the gettext function comes from]) 303 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 304 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 305 gt_source="external libintl" 306 else 307 gt_source="libc" 308 fi 309 else 310 gt_source="included intl directory" 311 fi 312 AC_MSG_RESULT([$gt_source]) 313 fi 314 315 if test "$USE_NLS" = "yes"; then 316 317 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 318 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 319 AC_MSG_CHECKING([how to link with libintl]) 320 AC_MSG_RESULT([$LIBINTL]) 321 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) 322 fi 323 324 dnl For backward compatibility. Some packages may be using this. 325 AC_DEFINE(HAVE_GETTEXT, 1, 326 [Define if the GNU gettext() function is already present or preinstalled.]) 327 AC_DEFINE(HAVE_DCGETTEXT, 1, 328 [Define if the GNU dcgettext() function is already present or preinstalled.]) 329 fi 330 331 dnl We need to process the po/ directory. 332 POSUB=po 333 fi 334 335 ifelse(gt_included_intl, yes, [ 336 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL 337 dnl to 'yes' because some of the testsuite requires it. 338 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then 339 BUILD_INCLUDED_LIBINTL=yes 340 fi 341 342 dnl Make all variables we use known to autoconf. 343 AC_SUBST(BUILD_INCLUDED_LIBINTL) 344 AC_SUBST(USE_INCLUDED_LIBINTL) 345 AC_SUBST(CATOBJEXT) 346 347 dnl For backward compatibility. Some configure.ins may be using this. 348 nls_cv_header_intl= 349 nls_cv_header_libgt= 350 351 dnl For backward compatibility. Some Makefiles may be using this. 352 DATADIRNAME=share 353 AC_SUBST(DATADIRNAME) 354 355 dnl For backward compatibility. Some Makefiles may be using this. 356 INSTOBJEXT=.mo 357 AC_SUBST(INSTOBJEXT) 358 359 dnl For backward compatibility. Some Makefiles may be using this. 360 GENCAT=gencat 361 AC_SUBST(GENCAT) 362 363 dnl For backward compatibility. Some Makefiles may be using this. 364 INTLOBJS= 365 if test "$USE_INCLUDED_LIBINTL" = yes; then 366 INTLOBJS="\$(GETTOBJS)" 367 fi 368 AC_SUBST(INTLOBJS) 369 370 dnl Enable libtool support if the surrounding package wishes it. 371 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix 372 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) 373 ]) 374 375 dnl For backward compatibility. Some Makefiles may be using this. 376 INTLLIBS="$LIBINTL" 377 AC_SUBST(INTLLIBS) 378 379 dnl Make all documented variables known to autoconf. 380 AC_SUBST(LIBINTL) 381 AC_SUBST(LTLIBINTL) 382 AC_SUBST(POSUB) 383 ]) 384 385 386 dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. 387 m4_define([gt_NEEDS_INIT], 388 [ 389 m4_divert_text([DEFAULTS], [gt_needs=]) 390 m4_define([gt_NEEDS_INIT], []) 391 ]) 392 393 394 dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) 395 AC_DEFUN([AM_GNU_GETTEXT_NEED], 396 [ 397 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) 398 ]) 399 400 401 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) 402 AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) 403 404 # iconv.m4 serial AM6 (gettext-0.17) 405 dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. 406 dnl This file is free software; the Free Software Foundation 407 dnl gives unlimited permission to copy and/or distribute it, 408 dnl with or without modifications, as long as this notice is preserved. 409 410 dnl From Bruno Haible. 411 412 AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], 413 [ 414 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 415 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 416 AC_REQUIRE([AC_LIB_RPATH]) 417 418 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 419 dnl accordingly. 420 AC_LIB_LINKFLAGS_BODY([iconv]) 421 ]) 422 423 AC_DEFUN([AM_ICONV_LINK], 424 [ 425 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and 426 dnl those with the standalone portable GNU libiconv installed). 427 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles 428 429 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 430 dnl accordingly. 431 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 432 433 dnl Add $INCICONV to CPPFLAGS before performing the following checks, 434 dnl because if the user has installed libiconv and not disabled its use 435 dnl via --without-libiconv-prefix, he wants to use it. The first 436 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. 437 am_save_CPPFLAGS="$CPPFLAGS" 438 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 439 440 AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [ 441 am_cv_func_iconv="no, consider installing GNU libiconv" 442 am_cv_lib_iconv=no 443 AC_TRY_LINK([#include <stdlib.h> 444 #include <iconv.h>], 445 [iconv_t cd = iconv_open("",""); 446 iconv(cd,NULL,NULL,NULL,NULL); 447 iconv_close(cd);], 448 am_cv_func_iconv=yes) 449 if test "$am_cv_func_iconv" != yes; then 450 am_save_LIBS="$LIBS" 451 LIBS="$LIBS $LIBICONV" 452 AC_TRY_LINK([#include <stdlib.h> 453 #include <iconv.h>], 454 [iconv_t cd = iconv_open("",""); 455 iconv(cd,NULL,NULL,NULL,NULL); 456 iconv_close(cd);], 457 am_cv_lib_iconv=yes 458 am_cv_func_iconv=yes) 459 LIBS="$am_save_LIBS" 460 fi 461 ]) 462 if test "$am_cv_func_iconv" = yes; then 463 AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [ 464 dnl This tests against bugs in AIX 5.1 and HP-UX 11.11. 465 am_save_LIBS="$LIBS" 466 if test $am_cv_lib_iconv = yes; then 467 LIBS="$LIBS $LIBICONV" 468 fi 469 AC_TRY_RUN([ 470 #include <iconv.h> 471 #include <string.h> 472 int main () 473 { 474 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 475 returns. */ 476 { 477 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 478 if (cd_utf8_to_88591 != (iconv_t)(-1)) 479 { 480 static const char input[] = "\342\202\254"; /* EURO SIGN */ 481 char buf[10]; 482 const char *inptr = input; 483 size_t inbytesleft = strlen (input); 484 char *outptr = buf; 485 size_t outbytesleft = sizeof (buf); 486 size_t res = iconv (cd_utf8_to_88591, 487 (char **) &inptr, &inbytesleft, 488 &outptr, &outbytesleft); 489 if (res == 0) 490 return 1; 491 } 492 } 493 #if 0 /* This bug could be worked around by the caller. */ 494 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 495 { 496 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 497 if (cd_88591_to_utf8 != (iconv_t)(-1)) 498 { 499 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 500 char buf[50]; 501 const char *inptr = input; 502 size_t inbytesleft = strlen (input); 503 char *outptr = buf; 504 size_t outbytesleft = sizeof (buf); 505 size_t res = iconv (cd_88591_to_utf8, 506 (char **) &inptr, &inbytesleft, 507 &outptr, &outbytesleft); 508 if ((int)res > 0) 509 return 1; 510 } 511 } 512 #endif 513 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 514 provided. */ 515 if (/* Try standardized names. */ 516 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 517 /* Try IRIX, OSF/1 names. */ 518 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 519 /* Try AIX names. */ 520 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 521 /* Try HP-UX names. */ 522 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 523 return 1; 524 return 0; 525 }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], 526 [case "$host_os" in 527 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 528 *) am_cv_func_iconv_works="guessing yes" ;; 529 esac]) 530 LIBS="$am_save_LIBS" 531 ]) 532 case "$am_cv_func_iconv_works" in 533 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 534 *) am_func_iconv=yes ;; 535 esac 536 else 537 am_func_iconv=no am_cv_lib_iconv=no 538 fi 539 if test "$am_func_iconv" = yes; then 540 AC_DEFINE(HAVE_ICONV, 1, 541 [Define if you have the iconv() function and it works.]) 542 fi 543 if test "$am_cv_lib_iconv" = yes; then 544 AC_MSG_CHECKING([how to link with libiconv]) 545 AC_MSG_RESULT([$LIBICONV]) 546 else 547 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV 548 dnl either. 549 CPPFLAGS="$am_save_CPPFLAGS" 550 LIBICONV= 551 LTLIBICONV= 552 fi 553 AC_SUBST(LIBICONV) 554 AC_SUBST(LTLIBICONV) 555 ]) 556 557 AC_DEFUN([AM_ICONV], 558 [ 559 AM_ICONV_LINK 560 if test "$am_cv_func_iconv" = yes; then 561 AC_MSG_CHECKING([for iconv declaration]) 562 AC_CACHE_VAL(am_cv_proto_iconv, [ 563 AC_TRY_COMPILE([ 564 #include <stdlib.h> 565 #include <iconv.h> 566 extern 567 #ifdef __cplusplus 568 "C" 569 #endif 570 #if defined(__STDC__) || defined(__cplusplus) 571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 572 #else 573 size_t iconv(); 574 #endif 575 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") 576 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) 577 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 578 AC_MSG_RESULT([$]{ac_t:- 579 }[$]am_cv_proto_iconv) 580 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, 581 [Define as const if the declaration of iconv() needs const.]) 582 fi 583 ]) 584 585 # intlmacosx.m4 serial 1 (gettext-0.17) 586 dnl Copyright (C) 2004-2007 Free Software Foundation, Inc. 587 dnl This file is free software; the Free Software Foundation 588 dnl gives unlimited permission to copy and/or distribute it, 589 dnl with or without modifications, as long as this notice is preserved. 590 dnl 591 dnl This file can can be used in projects which are not available under 592 dnl the GNU General Public License or the GNU Library General Public 593 dnl License but which still want to provide support for the GNU gettext 594 dnl functionality. 595 dnl Please note that the actual code of the GNU gettext library is covered 596 dnl by the GNU Library General Public License, and the rest of the GNU 597 dnl gettext package package is covered by the GNU General Public License. 598 dnl They are *not* in the public domain. 599 600 dnl Checks for special options needed on MacOS X. 601 dnl Defines INTL_MACOSX_LIBS. 602 AC_DEFUN([gt_INTL_MACOSX], 603 [ 604 dnl Check for API introduced in MacOS X 10.2. 605 AC_CACHE_CHECK([for CFPreferencesCopyAppValue], 606 gt_cv_func_CFPreferencesCopyAppValue, 607 [gt_save_LIBS="$LIBS" 608 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 609 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>], 610 [CFPreferencesCopyAppValue(NULL, NULL)], 611 [gt_cv_func_CFPreferencesCopyAppValue=yes], 612 [gt_cv_func_CFPreferencesCopyAppValue=no]) 613 LIBS="$gt_save_LIBS"]) 614 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 615 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, 616 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) 617 fi 618 dnl Check for API introduced in MacOS X 10.3. 619 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, 620 [gt_save_LIBS="$LIBS" 621 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 622 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();], 623 [gt_cv_func_CFLocaleCopyCurrent=yes], 624 [gt_cv_func_CFLocaleCopyCurrent=no]) 625 LIBS="$gt_save_LIBS"]) 626 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 627 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, 628 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) 629 fi 630 INTL_MACOSX_LIBS= 631 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 632 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 633 fi 634 AC_SUBST([INTL_MACOSX_LIBS]) 635 ]) 636 637 # lib-ld.m4 serial 3 (gettext-0.13) 638 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. 639 dnl This file is free software; the Free Software Foundation 640 dnl gives unlimited permission to copy and/or distribute it, 641 dnl with or without modifications, as long as this notice is preserved. 642 643 dnl Subroutines of libtool.m4, 644 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision 645 dnl with libtool.m4. 646 647 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. 648 AC_DEFUN([AC_LIB_PROG_LD_GNU], 649 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, 650 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 651 case `$LD -v 2>&1 </dev/null` in 652 *GNU* | *'with BFD'*) 653 acl_cv_prog_gnu_ld=yes ;; 654 *) 655 acl_cv_prog_gnu_ld=no ;; 656 esac]) 657 with_gnu_ld=$acl_cv_prog_gnu_ld 658 ]) 659 660 dnl From libtool-1.4. Sets the variable LD. 661 AC_DEFUN([AC_LIB_PROG_LD], 662 [AC_ARG_WITH(gnu-ld, 663 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], 664 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) 665 AC_REQUIRE([AC_PROG_CC])dnl 666 AC_REQUIRE([AC_CANONICAL_HOST])dnl 667 # Prepare PATH_SEPARATOR. 668 # The user is always right. 669 if test "${PATH_SEPARATOR+set}" != set; then 670 echo "#! /bin/sh" >conf$$.sh 671 echo "exit 0" >>conf$$.sh 672 chmod +x conf$$.sh 673 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 674 PATH_SEPARATOR=';' 675 else 676 PATH_SEPARATOR=: 677 fi 678 rm -f conf$$.sh 679 fi 680 ac_prog=ld 681 if test "$GCC" = yes; then 682 # Check if gcc -print-prog-name=ld gives a path. 683 AC_MSG_CHECKING([for ld used by GCC]) 684 case $host in 685 *-*-mingw*) 686 # gcc leaves a trailing carriage return which upsets mingw 687 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 688 *) 689 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 690 esac 691 case $ac_prog in 692 # Accept absolute paths. 693 [[\\/]* | [A-Za-z]:[\\/]*)] 694 [re_direlt='/[^/][^/]*/\.\./'] 695 # Canonicalize the path of ld 696 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 697 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 698 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 699 done 700 test -z "$LD" && LD="$ac_prog" 701 ;; 702 "") 703 # If it fails, then pretend we aren't using GCC. 704 ac_prog=ld 705 ;; 706 *) 707 # If it is relative, then search for the first ld in PATH. 708 with_gnu_ld=unknown 709 ;; 710 esac 711 elif test "$with_gnu_ld" = yes; then 712 AC_MSG_CHECKING([for GNU ld]) 713 else 714 AC_MSG_CHECKING([for non-GNU ld]) 715 fi 716 AC_CACHE_VAL(acl_cv_path_LD, 717 [if test -z "$LD"; then 718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 719 for ac_dir in $PATH; do 720 test -z "$ac_dir" && ac_dir=. 721 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 722 acl_cv_path_LD="$ac_dir/$ac_prog" 723 # Check to see if the program is GNU ld. I'd rather use --version, 724 # but apparently some GNU ld's only accept -v. 725 # Break only if it was the GNU/non-GNU ld that we prefer. 726 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 727 *GNU* | *'with BFD'*) 728 test "$with_gnu_ld" != no && break ;; 729 *) 730 test "$with_gnu_ld" != yes && break ;; 731 esac 732 fi 733 done 734 IFS="$ac_save_ifs" 735 else 736 acl_cv_path_LD="$LD" # Let the user override the test with a path. 737 fi]) 738 LD="$acl_cv_path_LD" 739 if test -n "$LD"; then 740 AC_MSG_RESULT($LD) 741 else 742 AC_MSG_RESULT(no) 743 fi 744 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 745 AC_LIB_PROG_LD_GNU 746 ]) 747 748 # lib-link.m4 serial 13 (gettext-0.17) 749 dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. 750 dnl This file is free software; the Free Software Foundation 751 dnl gives unlimited permission to copy and/or distribute it, 752 dnl with or without modifications, as long as this notice is preserved. 753 754 dnl From Bruno Haible. 755 756 AC_PREREQ(2.54) 757 758 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and 759 dnl the libraries corresponding to explicit and implicit dependencies. 760 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 761 dnl augments the CPPFLAGS variable. 762 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 763 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 764 AC_DEFUN([AC_LIB_LINKFLAGS], 765 [ 766 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 767 AC_REQUIRE([AC_LIB_RPATH]) 768 define([Name],[translit([$1],[./-], [___])]) 769 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 770 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 771 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ 772 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 773 ac_cv_lib[]Name[]_libs="$LIB[]NAME" 774 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 775 ac_cv_lib[]Name[]_cppflags="$INC[]NAME" 776 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" 777 ]) 778 LIB[]NAME="$ac_cv_lib[]Name[]_libs" 779 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 780 INC[]NAME="$ac_cv_lib[]Name[]_cppflags" 781 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" 782 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 783 AC_SUBST([LIB]NAME) 784 AC_SUBST([LTLIB]NAME) 785 AC_SUBST([LIB]NAME[_PREFIX]) 786 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 787 dnl results of this search when this library appears as a dependency. 788 HAVE_LIB[]NAME=yes 789 undefine([Name]) 790 undefine([NAME]) 791 ]) 792 793 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) 794 dnl searches for libname and the libraries corresponding to explicit and 795 dnl implicit dependencies, together with the specified include files and 796 dnl the ability to compile and link the specified testcode. If found, it 797 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and 798 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and 799 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs 800 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. 801 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname 802 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 803 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 804 [ 805 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 806 AC_REQUIRE([AC_LIB_RPATH]) 807 define([Name],[translit([$1],[./-], [___])]) 808 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 809 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 810 811 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME 812 dnl accordingly. 813 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 814 815 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, 816 dnl because if the user has installed lib[]Name and not disabled its use 817 dnl via --without-lib[]Name-prefix, he wants to use it. 818 ac_save_CPPFLAGS="$CPPFLAGS" 819 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 820 821 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ 822 ac_save_LIBS="$LIBS" 823 LIBS="$LIBS $LIB[]NAME" 824 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) 825 LIBS="$ac_save_LIBS" 826 ]) 827 if test "$ac_cv_lib[]Name" = yes; then 828 HAVE_LIB[]NAME=yes 829 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) 830 AC_MSG_CHECKING([how to link with lib[]$1]) 831 AC_MSG_RESULT([$LIB[]NAME]) 832 else 833 HAVE_LIB[]NAME=no 834 dnl If $LIB[]NAME didn't lead to a usable library, we don't need 835 dnl $INC[]NAME either. 836 CPPFLAGS="$ac_save_CPPFLAGS" 837 LIB[]NAME= 838 LTLIB[]NAME= 839 LIB[]NAME[]_PREFIX= 840 fi 841 AC_SUBST([HAVE_LIB]NAME) 842 AC_SUBST([LIB]NAME) 843 AC_SUBST([LTLIB]NAME) 844 AC_SUBST([LIB]NAME[_PREFIX]) 845 undefine([Name]) 846 undefine([NAME]) 847 ]) 848 849 dnl Determine the platform dependent parameters needed to use rpath: 850 dnl acl_libext, 851 dnl acl_shlibext, 852 dnl acl_hardcode_libdir_flag_spec, 853 dnl acl_hardcode_libdir_separator, 854 dnl acl_hardcode_direct, 855 dnl acl_hardcode_minus_L. 856 AC_DEFUN([AC_LIB_RPATH], 857 [ 858 dnl Tell automake >= 1.10 to complain if config.rpath is missing. 859 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) 860 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS 861 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld 862 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host 863 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir 864 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ 865 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 866 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 867 . ./conftest.sh 868 rm -f ./conftest.sh 869 acl_cv_rpath=done 870 ]) 871 wl="$acl_cv_wl" 872 acl_libext="$acl_cv_libext" 873 acl_shlibext="$acl_cv_shlibext" 874 acl_libname_spec="$acl_cv_libname_spec" 875 acl_library_names_spec="$acl_cv_library_names_spec" 876 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 877 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 878 acl_hardcode_direct="$acl_cv_hardcode_direct" 879 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 880 dnl Determine whether the user wants rpath handling at all. 881 AC_ARG_ENABLE(rpath, 882 [ --disable-rpath do not hardcode runtime library paths], 883 :, enable_rpath=yes) 884 ]) 885 886 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and 887 dnl the libraries corresponding to explicit and implicit dependencies. 888 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. 889 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found 890 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 891 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], 892 [ 893 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 894 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 895 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 896 dnl Autoconf >= 2.61 supports dots in --with options. 897 define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) 898 dnl By default, look in $includedir and $libdir. 899 use_additional=yes 900 AC_LIB_WITH_FINAL_PREFIX([ 901 eval additional_includedir=\"$includedir\" 902 eval additional_libdir=\"$libdir\" 903 ]) 904 AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], 905 [ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib 906 --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], 907 [ 908 if test "X$withval" = "Xno"; then 909 use_additional=no 910 else 911 if test "X$withval" = "X"; then 912 AC_LIB_WITH_FINAL_PREFIX([ 913 eval additional_includedir=\"$includedir\" 914 eval additional_libdir=\"$libdir\" 915 ]) 916 else 917 additional_includedir="$withval/include" 918 additional_libdir="$withval/$acl_libdirstem" 919 fi 920 fi 921 ]) 922 dnl Search the library and its dependencies in $additional_libdir and 923 dnl $LDFLAGS. Using breadth-first-seach. 924 LIB[]NAME= 925 LTLIB[]NAME= 926 INC[]NAME= 927 LIB[]NAME[]_PREFIX= 928 rpathdirs= 929 ltrpathdirs= 930 names_already_handled= 931 names_next_round='$1 $2' 932 while test -n "$names_next_round"; do 933 names_this_round="$names_next_round" 934 names_next_round= 935 for name in $names_this_round; do 936 already_handled= 937 for n in $names_already_handled; do 938 if test "$n" = "$name"; then 939 already_handled=yes 940 break 941 fi 942 done 943 if test -z "$already_handled"; then 944 names_already_handled="$names_already_handled $name" 945 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS 946 dnl or AC_LIB_HAVE_LINKFLAGS call. 947 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 948 eval value=\"\$HAVE_LIB$uppername\" 949 if test -n "$value"; then 950 if test "$value" = yes; then 951 eval value=\"\$LIB$uppername\" 952 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" 953 eval value=\"\$LTLIB$uppername\" 954 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" 955 else 956 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined 957 dnl that this library doesn't exist. So just drop it. 958 : 959 fi 960 else 961 dnl Search the library lib$name in $additional_libdir and $LDFLAGS 962 dnl and the already constructed $LIBNAME/$LTLIBNAME. 963 found_dir= 964 found_la= 965 found_so= 966 found_a= 967 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 968 if test -n "$acl_shlibext"; then 969 shrext=".$acl_shlibext" # typically: shrext=.so 970 else 971 shrext= 972 fi 973 if test $use_additional = yes; then 974 dir="$additional_libdir" 975 dnl The same code as in the loop below: 976 dnl First look for a shared library. 977 if test -n "$acl_shlibext"; then 978 if test -f "$dir/$libname$shrext"; then 979 found_dir="$dir" 980 found_so="$dir/$libname$shrext" 981 else 982 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 983 ver=`(cd "$dir" && \ 984 for f in "$libname$shrext".*; do echo "$f"; done \ 985 | sed -e "s,^$libname$shrext\\\\.,," \ 986 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 987 | sed 1q ) 2>/dev/null` 988 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 989 found_dir="$dir" 990 found_so="$dir/$libname$shrext.$ver" 991 fi 992 else 993 eval library_names=\"$acl_library_names_spec\" 994 for f in $library_names; do 995 if test -f "$dir/$f"; then 996 found_dir="$dir" 997 found_so="$dir/$f" 998 break 999 fi 1000 done 1001 fi 1002 fi 1003 fi 1004 dnl Then look for a static library. 1005 if test "X$found_dir" = "X"; then 1006 if test -f "$dir/$libname.$acl_libext"; then 1007 found_dir="$dir" 1008 found_a="$dir/$libname.$acl_libext" 1009 fi 1010 fi 1011 if test "X$found_dir" != "X"; then 1012 if test -f "$dir/$libname.la"; then 1013 found_la="$dir/$libname.la" 1014 fi 1015 fi 1016 fi 1017 if test "X$found_dir" = "X"; then 1018 for x in $LDFLAGS $LTLIB[]NAME; do 1019 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1020 case "$x" in 1021 -L*) 1022 dir=`echo "X$x" | sed -e 's/^X-L//'` 1023 dnl First look for a shared library. 1024 if test -n "$acl_shlibext"; then 1025 if test -f "$dir/$libname$shrext"; then 1026 found_dir="$dir" 1027 found_so="$dir/$libname$shrext" 1028 else 1029 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 1030 ver=`(cd "$dir" && \ 1031 for f in "$libname$shrext".*; do echo "$f"; done \ 1032 | sed -e "s,^$libname$shrext\\\\.,," \ 1033 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 1034 | sed 1q ) 2>/dev/null` 1035 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 1036 found_dir="$dir" 1037 found_so="$dir/$libname$shrext.$ver" 1038 fi 1039 else 1040 eval library_names=\"$acl_library_names_spec\" 1041 for f in $library_names; do 1042 if test -f "$dir/$f"; then 1043 found_dir="$dir" 1044 found_so="$dir/$f" 1045 break 1046 fi 1047 done 1048 fi 1049 fi 1050 fi 1051 dnl Then look for a static library. 1052 if test "X$found_dir" = "X"; then 1053 if test -f "$dir/$libname.$acl_libext"; then 1054 found_dir="$dir" 1055 found_a="$dir/$libname.$acl_libext" 1056 fi 1057 fi 1058 if test "X$found_dir" != "X"; then 1059 if test -f "$dir/$libname.la"; then 1060 found_la="$dir/$libname.la" 1061 fi 1062 fi 1063 ;; 1064 esac 1065 if test "X$found_dir" != "X"; then 1066 break 1067 fi 1068 done 1069 fi 1070 if test "X$found_dir" != "X"; then 1071 dnl Found the library. 1072 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" 1073 if test "X$found_so" != "X"; then 1074 dnl Linking with a shared library. We attempt to hardcode its 1075 dnl directory into the executable's runpath, unless it's the 1076 dnl standard /usr/lib. 1077 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 1078 dnl No hardcoding is needed. 1079 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 1080 else 1081 dnl Use an explicit option to hardcode DIR into the resulting 1082 dnl binary. 1083 dnl Potentially add DIR to ltrpathdirs. 1084 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 1085 haveit= 1086 for x in $ltrpathdirs; do 1087 if test "X$x" = "X$found_dir"; then 1088 haveit=yes 1089 break 1090 fi 1091 done 1092 if test -z "$haveit"; then 1093 ltrpathdirs="$ltrpathdirs $found_dir" 1094 fi 1095 dnl The hardcoding into $LIBNAME is system dependent. 1096 if test "$acl_hardcode_direct" = yes; then 1097 dnl Using DIR/libNAME.so during linking hardcodes DIR into the 1098 dnl resulting binary. 1099 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 1100 else 1101 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 1102 dnl Use an explicit option to hardcode DIR into the resulting 1103 dnl binary. 1104 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 1105 dnl Potentially add DIR to rpathdirs. 1106 dnl The rpathdirs will be appended to $LIBNAME at the end. 1107 haveit= 1108 for x in $rpathdirs; do 1109 if test "X$x" = "X$found_dir"; then 1110 haveit=yes 1111 break 1112 fi 1113 done 1114 if test -z "$haveit"; then 1115 rpathdirs="$rpathdirs $found_dir" 1116 fi 1117 else 1118 dnl Rely on "-L$found_dir". 1119 dnl But don't add it if it's already contained in the LDFLAGS 1120 dnl or the already constructed $LIBNAME 1121 haveit= 1122 for x in $LDFLAGS $LIB[]NAME; do 1123 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1124 if test "X$x" = "X-L$found_dir"; then 1125 haveit=yes 1126 break 1127 fi 1128 done 1129 if test -z "$haveit"; then 1130 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" 1131 fi 1132 if test "$acl_hardcode_minus_L" != no; then 1133 dnl FIXME: Not sure whether we should use 1134 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 1135 dnl here. 1136 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 1137 else 1138 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH 1139 dnl here, because this doesn't fit in flags passed to the 1140 dnl compiler. So give up. No hardcoding. This affects only 1141 dnl very old systems. 1142 dnl FIXME: Not sure whether we should use 1143 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 1144 dnl here. 1145 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 1146 fi 1147 fi 1148 fi 1149 fi 1150 else 1151 if test "X$found_a" != "X"; then 1152 dnl Linking with a static library. 1153 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" 1154 else 1155 dnl We shouldn't come here, but anyway it's good to have a 1156 dnl fallback. 1157 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" 1158 fi 1159 fi 1160 dnl Assume the include files are nearby. 1161 additional_includedir= 1162 case "$found_dir" in 1163 */$acl_libdirstem | */$acl_libdirstem/) 1164 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 1165 LIB[]NAME[]_PREFIX="$basedir" 1166 additional_includedir="$basedir/include" 1167 ;; 1168 esac 1169 if test "X$additional_includedir" != "X"; then 1170 dnl Potentially add $additional_includedir to $INCNAME. 1171 dnl But don't add it 1172 dnl 1. if it's the standard /usr/include, 1173 dnl 2. if it's /usr/local/include and we are using GCC on Linux, 1174 dnl 3. if it's already present in $CPPFLAGS or the already 1175 dnl constructed $INCNAME, 1176 dnl 4. if it doesn't exist as a directory. 1177 if test "X$additional_includedir" != "X/usr/include"; then 1178 haveit= 1179 if test "X$additional_includedir" = "X/usr/local/include"; then 1180 if test -n "$GCC"; then 1181 case $host_os in 1182 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 1183 esac 1184 fi 1185 fi 1186 if test -z "$haveit"; then 1187 for x in $CPPFLAGS $INC[]NAME; do 1188 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1189 if test "X$x" = "X-I$additional_includedir"; then 1190 haveit=yes 1191 break 1192 fi 1193 done 1194 if test -z "$haveit"; then 1195 if test -d "$additional_includedir"; then 1196 dnl Really add $additional_includedir to $INCNAME. 1197 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" 1198 fi 1199 fi 1200 fi 1201 fi 1202 fi 1203 dnl Look for dependencies. 1204 if test -n "$found_la"; then 1205 dnl Read the .la file. It defines the variables 1206 dnl dlname, library_names, old_library, dependency_libs, current, 1207 dnl age, revision, installed, dlopen, dlpreopen, libdir. 1208 save_libdir="$libdir" 1209 case "$found_la" in 1210 */* | *\\*) . "$found_la" ;; 1211 *) . "./$found_la" ;; 1212 esac 1213 libdir="$save_libdir" 1214 dnl We use only dependency_libs. 1215 for dep in $dependency_libs; do 1216 case "$dep" in 1217 -L*) 1218 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 1219 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. 1220 dnl But don't add it 1221 dnl 1. if it's the standard /usr/lib, 1222 dnl 2. if it's /usr/local/lib and we are using GCC on Linux, 1223 dnl 3. if it's already present in $LDFLAGS or the already 1224 dnl constructed $LIBNAME, 1225 dnl 4. if it doesn't exist as a directory. 1226 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 1227 haveit= 1228 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 1229 if test -n "$GCC"; then 1230 case $host_os in 1231 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 1232 esac 1233 fi 1234 fi 1235 if test -z "$haveit"; then 1236 haveit= 1237 for x in $LDFLAGS $LIB[]NAME; do 1238 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1239 if test "X$x" = "X-L$additional_libdir"; then 1240 haveit=yes 1241 break 1242 fi 1243 done 1244 if test -z "$haveit"; then 1245 if test -d "$additional_libdir"; then 1246 dnl Really add $additional_libdir to $LIBNAME. 1247 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" 1248 fi 1249 fi 1250 haveit= 1251 for x in $LDFLAGS $LTLIB[]NAME; do 1252 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1253 if test "X$x" = "X-L$additional_libdir"; then 1254 haveit=yes 1255 break 1256 fi 1257 done 1258 if test -z "$haveit"; then 1259 if test -d "$additional_libdir"; then 1260 dnl Really add $additional_libdir to $LTLIBNAME. 1261 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" 1262 fi 1263 fi 1264 fi 1265 fi 1266 ;; 1267 -R*) 1268 dir=`echo "X$dep" | sed -e 's/^X-R//'` 1269 if test "$enable_rpath" != no; then 1270 dnl Potentially add DIR to rpathdirs. 1271 dnl The rpathdirs will be appended to $LIBNAME at the end. 1272 haveit= 1273 for x in $rpathdirs; do 1274 if test "X$x" = "X$dir"; then 1275 haveit=yes 1276 break 1277 fi 1278 done 1279 if test -z "$haveit"; then 1280 rpathdirs="$rpathdirs $dir" 1281 fi 1282 dnl Potentially add DIR to ltrpathdirs. 1283 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 1284 haveit= 1285 for x in $ltrpathdirs; do 1286 if test "X$x" = "X$dir"; then 1287 haveit=yes 1288 break 1289 fi 1290 done 1291 if test -z "$haveit"; then 1292 ltrpathdirs="$ltrpathdirs $dir" 1293 fi 1294 fi 1295 ;; 1296 -l*) 1297 dnl Handle this in the next round. 1298 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 1299 ;; 1300 *.la) 1301 dnl Handle this in the next round. Throw away the .la's 1302 dnl directory; it is already contained in a preceding -L 1303 dnl option. 1304 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 1305 ;; 1306 *) 1307 dnl Most likely an immediate library name. 1308 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" 1309 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" 1310 ;; 1311 esac 1312 done 1313 fi 1314 else 1315 dnl Didn't find the library; assume it is in the system directories 1316 dnl known to the linker and runtime loader. (All the system 1317 dnl directories known to the linker should also be known to the 1318 dnl runtime loader, otherwise the system is severely misconfigured.) 1319 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 1320 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" 1321 fi 1322 fi 1323 fi 1324 done 1325 done 1326 if test "X$rpathdirs" != "X"; then 1327 if test -n "$acl_hardcode_libdir_separator"; then 1328 dnl Weird platform: only the last -rpath option counts, the user must 1329 dnl pass all path elements in one option. We can arrange that for a 1330 dnl single library, but not when more than one $LIBNAMEs are used. 1331 alldirs= 1332 for found_dir in $rpathdirs; do 1333 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 1334 done 1335 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. 1336 acl_save_libdir="$libdir" 1337 libdir="$alldirs" 1338 eval flag=\"$acl_hardcode_libdir_flag_spec\" 1339 libdir="$acl_save_libdir" 1340 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 1341 else 1342 dnl The -rpath options are cumulative. 1343 for found_dir in $rpathdirs; do 1344 acl_save_libdir="$libdir" 1345 libdir="$found_dir" 1346 eval flag=\"$acl_hardcode_libdir_flag_spec\" 1347 libdir="$acl_save_libdir" 1348 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 1349 done 1350 fi 1351 fi 1352 if test "X$ltrpathdirs" != "X"; then 1353 dnl When using libtool, the option that works for both libraries and 1354 dnl executables is -R. The -R options are cumulative. 1355 for found_dir in $ltrpathdirs; do 1356 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" 1357 done 1358 fi 1359 ]) 1360 1361 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, 1362 dnl unless already present in VAR. 1363 dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes 1364 dnl contains two or three consecutive elements that belong together. 1365 AC_DEFUN([AC_LIB_APPENDTOVAR], 1366 [ 1367 for element in [$2]; do 1368 haveit= 1369 for x in $[$1]; do 1370 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1371 if test "X$x" = "X$element"; then 1372 haveit=yes 1373 break 1374 fi 1375 done 1376 if test -z "$haveit"; then 1377 [$1]="${[$1]}${[$1]:+ }$element" 1378 fi 1379 done 1380 ]) 1381 1382 dnl For those cases where a variable contains several -L and -l options 1383 dnl referring to unknown libraries and directories, this macro determines the 1384 dnl necessary additional linker options for the runtime path. 1385 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) 1386 dnl sets LDADDVAR to linker options needed together with LIBSVALUE. 1387 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, 1388 dnl otherwise linking without libtool is assumed. 1389 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], 1390 [ 1391 AC_REQUIRE([AC_LIB_RPATH]) 1392 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 1393 $1= 1394 if test "$enable_rpath" != no; then 1395 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 1396 dnl Use an explicit option to hardcode directories into the resulting 1397 dnl binary. 1398 rpathdirs= 1399 next= 1400 for opt in $2; do 1401 if test -n "$next"; then 1402 dir="$next" 1403 dnl No need to hardcode the standard /usr/lib. 1404 if test "X$dir" != "X/usr/$acl_libdirstem"; then 1405 rpathdirs="$rpathdirs $dir" 1406 fi 1407 next= 1408 else 1409 case $opt in 1410 -L) next=yes ;; 1411 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` 1412 dnl No need to hardcode the standard /usr/lib. 1413 if test "X$dir" != "X/usr/$acl_libdirstem"; then 1414 rpathdirs="$rpathdirs $dir" 1415 fi 1416 next= ;; 1417 *) next= ;; 1418 esac 1419 fi 1420 done 1421 if test "X$rpathdirs" != "X"; then 1422 if test -n ""$3""; then 1423 dnl libtool is used for linking. Use -R options. 1424 for dir in $rpathdirs; do 1425 $1="${$1}${$1:+ }-R$dir" 1426 done 1427 else 1428 dnl The linker is used for linking directly. 1429 if test -n "$acl_hardcode_libdir_separator"; then 1430 dnl Weird platform: only the last -rpath option counts, the user 1431 dnl must pass all path elements in one option. 1432 alldirs= 1433 for dir in $rpathdirs; do 1434 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" 1435 done 1436 acl_save_libdir="$libdir" 1437 libdir="$alldirs" 1438 eval flag=\"$acl_hardcode_libdir_flag_spec\" 1439 libdir="$acl_save_libdir" 1440 $1="$flag" 1441 else 1442 dnl The -rpath options are cumulative. 1443 for dir in $rpathdirs; do 1444 acl_save_libdir="$libdir" 1445 libdir="$dir" 1446 eval flag=\"$acl_hardcode_libdir_flag_spec\" 1447 libdir="$acl_save_libdir" 1448 $1="${$1}${$1:+ }$flag" 1449 done 1450 fi 1451 fi 1452 fi 1453 fi 1454 fi 1455 AC_SUBST([$1]) 1456 ]) 1457 1458 # lib-prefix.m4 serial 5 (gettext-0.15) 1459 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. 1460 dnl This file is free software; the Free Software Foundation 1461 dnl gives unlimited permission to copy and/or distribute it, 1462 dnl with or without modifications, as long as this notice is preserved. 1463 1464 dnl From Bruno Haible. 1465 1466 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and 1467 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't 1468 dnl require excessive bracketing. 1469 ifdef([AC_HELP_STRING], 1470 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], 1471 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) 1472 1473 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed 1474 dnl to access previously installed libraries. The basic assumption is that 1475 dnl a user will want packages to use other packages he previously installed 1476 dnl with the same --prefix option. 1477 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate 1478 dnl libraries, but is otherwise very convenient. 1479 AC_DEFUN([AC_LIB_PREFIX], 1480 [ 1481 AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) 1482 AC_REQUIRE([AC_PROG_CC]) 1483 AC_REQUIRE([AC_CANONICAL_HOST]) 1484 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 1485 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 1486 dnl By default, look in $includedir and $libdir. 1487 use_additional=yes 1488 AC_LIB_WITH_FINAL_PREFIX([ 1489 eval additional_includedir=\"$includedir\" 1490 eval additional_libdir=\"$libdir\" 1491 ]) 1492 AC_LIB_ARG_WITH([lib-prefix], 1493 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 1494 --without-lib-prefix don't search for libraries in includedir and libdir], 1495 [ 1496 if test "X$withval" = "Xno"; then 1497 use_additional=no 1498 else 1499 if test "X$withval" = "X"; then 1500 AC_LIB_WITH_FINAL_PREFIX([ 1501 eval additional_includedir=\"$includedir\" 1502 eval additional_libdir=\"$libdir\" 1503 ]) 1504 else 1505 additional_includedir="$withval/include" 1506 additional_libdir="$withval/$acl_libdirstem" 1507 fi 1508 fi 1509 ]) 1510 if test $use_additional = yes; then 1511 dnl Potentially add $additional_includedir to $CPPFLAGS. 1512 dnl But don't add it 1513 dnl 1. if it's the standard /usr/include, 1514 dnl 2. if it's already present in $CPPFLAGS, 1515 dnl 3. if it's /usr/local/include and we are using GCC on Linux, 1516 dnl 4. if it doesn't exist as a directory. 1517 if test "X$additional_includedir" != "X/usr/include"; then 1518 haveit= 1519 for x in $CPPFLAGS; do 1520 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1521 if test "X$x" = "X-I$additional_includedir"; then 1522 haveit=yes 1523 break 1524 fi 1525 done 1526 if test -z "$haveit"; then 1527 if test "X$additional_includedir" = "X/usr/local/include"; then 1528 if test -n "$GCC"; then 1529 case $host_os in 1530 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 1531 esac 1532 fi 1533 fi 1534 if test -z "$haveit"; then 1535 if test -d "$additional_includedir"; then 1536 dnl Really add $additional_includedir to $CPPFLAGS. 1537 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 1538 fi 1539 fi 1540 fi 1541 fi 1542 dnl Potentially add $additional_libdir to $LDFLAGS. 1543 dnl But don't add it 1544 dnl 1. if it's the standard /usr/lib, 1545 dnl 2. if it's already present in $LDFLAGS, 1546 dnl 3. if it's /usr/local/lib and we are using GCC on Linux, 1547 dnl 4. if it doesn't exist as a directory. 1548 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 1549 haveit= 1550 for x in $LDFLAGS; do 1551 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 1552 if test "X$x" = "X-L$additional_libdir"; then 1553 haveit=yes 1554 break 1555 fi 1556 done 1557 if test -z "$haveit"; then 1558 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 1559 if test -n "$GCC"; then 1560 case $host_os in 1561 linux*) haveit=yes;; 1562 esac 1563 fi 1564 fi 1565 if test -z "$haveit"; then 1566 if test -d "$additional_libdir"; then 1567 dnl Really add $additional_libdir to $LDFLAGS. 1568 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 1569 fi 1570 fi 1571 fi 1572 fi 1573 fi 1574 ]) 1575 1576 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, 1577 dnl acl_final_exec_prefix, containing the values to which $prefix and 1578 dnl $exec_prefix will expand at the end of the configure script. 1579 AC_DEFUN([AC_LIB_PREPARE_PREFIX], 1580 [ 1581 dnl Unfortunately, prefix and exec_prefix get only finally determined 1582 dnl at the end of configure. 1583 if test "X$prefix" = "XNONE"; then 1584 acl_final_prefix="$ac_default_prefix" 1585 else 1586 acl_final_prefix="$prefix" 1587 fi 1588 if test "X$exec_prefix" = "XNONE"; then 1589 acl_final_exec_prefix='${prefix}' 1590 else 1591 acl_final_exec_prefix="$exec_prefix" 1592 fi 1593 acl_save_prefix="$prefix" 1594 prefix="$acl_final_prefix" 1595 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 1596 prefix="$acl_save_prefix" 1597 ]) 1598 1599 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the 1600 dnl variables prefix and exec_prefix bound to the values they will have 1601 dnl at the end of the configure script. 1602 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], 1603 [ 1604 acl_save_prefix="$prefix" 1605 prefix="$acl_final_prefix" 1606 acl_save_exec_prefix="$exec_prefix" 1607 exec_prefix="$acl_final_exec_prefix" 1608 $1 1609 exec_prefix="$acl_save_exec_prefix" 1610 prefix="$acl_save_prefix" 1611 ]) 1612 1613 dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing 1614 dnl the basename of the libdir, either "lib" or "lib64". 1615 AC_DEFUN([AC_LIB_PREPARE_MULTILIB], 1616 [ 1617 dnl There is no formal standard regarding lib and lib64. The current 1618 dnl practice is that on a system supporting 32-bit and 64-bit instruction 1619 dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit 1620 dnl libraries go under $prefix/lib. We determine the compiler's default 1621 dnl mode by looking at the compiler's library search path. If at least 1622 dnl of its elements ends in /lib64 or points to a directory whose absolute 1623 dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the 1624 dnl default, namely "lib". 1625 acl_libdirstem=lib 1626 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 1627 if test -n "$searchpath"; then 1628 acl_save_IFS="${IFS= }"; IFS=":" 1629 for searchdir in $searchpath; do 1630 if test -d "$searchdir"; then 1631 case "$searchdir" in 1632 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 1633 *) searchdir=`cd "$searchdir" && pwd` 1634 case "$searchdir" in 1635 */lib64 ) acl_libdirstem=lib64 ;; 1636 esac ;; 1637 esac 1638 fi 1639 done 1640 IFS="$acl_save_IFS" 1641 fi 1642 ]) 18 1643 19 1644 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 20 1645 21 # serial 5 1 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL1646 # serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL 22 1647 23 1648 … … 107 1732 AC_REQUIRE([AC_EXEEXT])dnl 108 1733 dnl 109 110 1734 AC_LIBTOOL_SYS_MAX_CMD_LEN 111 1735 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE … … 209 1833 esac 210 1834 1835 _LT_REQUIRED_DARWIN_CHECKS 1836 211 1837 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 212 1838 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], … … 288 1914 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 289 1915 _lt_linker_boilerplate=`cat conftest.err` 290 $rm conftest*1916 $rm -r conftest* 291 1917 ])# _LT_LINKER_BOILERPLATE 292 1918 1919 # _LT_REQUIRED_DARWIN_CHECKS 1920 # -------------------------- 1921 # Check for some things on darwin 1922 AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ 1923 case $host_os in 1924 rhapsody* | darwin*) 1925 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) 1926 AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) 1927 1928 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], 1929 [lt_cv_apple_cc_single_mod=no 1930 if test -z "${LT_MULTI_MODULE}"; then 1931 # By default we will add the -single_module flag. You can override 1932 # by either setting the environment variable LT_MULTI_MODULE 1933 # non-empty at configure time, or by adding -multi_module to the 1934 # link flags. 1935 echo "int foo(void){return 1;}" > conftest.c 1936 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 1937 -dynamiclib ${wl}-single_module conftest.c 1938 if test -f libconftest.dylib; then 1939 lt_cv_apple_cc_single_mod=yes 1940 rm -rf libconftest.dylib* 1941 fi 1942 rm conftest.c 1943 fi]) 1944 AC_CACHE_CHECK([for -exported_symbols_list linker flag], 1945 [lt_cv_ld_exported_symbols_list], 1946 [lt_cv_ld_exported_symbols_list=no 1947 save_LDFLAGS=$LDFLAGS 1948 echo "_main" > conftest.sym 1949 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 1950 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], 1951 [lt_cv_ld_exported_symbols_list=yes], 1952 [lt_cv_ld_exported_symbols_list=no]) 1953 LDFLAGS="$save_LDFLAGS" 1954 ]) 1955 case $host_os in 1956 rhapsody* | darwin1.[[0123]]) 1957 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 1958 darwin1.*) 1959 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 1960 darwin*) 1961 # if running on 10.5 or later, the deployment target defaults 1962 # to the OS version, if on x86, and 10.4, the deployment 1963 # target defaults to 10.4. Don't you love it? 1964 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 1965 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) 1966 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 1967 10.[[012]]*) 1968 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 1969 10.*) 1970 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 1971 esac 1972 ;; 1973 esac 1974 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 1975 _lt_dar_single_mod='$single_module' 1976 fi 1977 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 1978 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 1979 else 1980 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 1981 fi 1982 if test "$DSYMUTIL" != ":"; then 1983 _lt_dsymutil="~$DSYMUTIL \$lib || :" 1984 else 1985 _lt_dsymutil= 1986 fi 1987 ;; 1988 esac 1989 ]) 293 1990 294 1991 # _LT_AC_SYS_LIBPATH_AIX … … 615 2312 case $lt_cv_prog_gnu_ld in 616 2313 yes*) LD="${LD-ld} -m elf64_sparc" ;; 617 *) LD="${LD-ld} -64" ;; 2314 *) 2315 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 2316 LD="${LD-ld} -64" 2317 fi 2318 ;; 618 2319 esac 619 2320 ;; … … 708 2409 fi 709 2410 fi 710 $rm conftest*2411 $rm -r conftest* 711 2412 LDFLAGS="$save_LDFLAGS" 712 2413 ]) … … 979 2680 [lt_cv_dlopen="shl_load"], 980 2681 [AC_CHECK_LIB([dld], [shl_load], 981 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="- dld"],2682 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], 982 2683 [AC_CHECK_FUNC([dlopen], 983 2684 [lt_cv_dlopen="dlopen"], … … 987 2688 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 988 2689 [AC_CHECK_LIB([dld], [dld_link], 989 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="- dld"])2690 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) 990 2691 ]) 991 2692 ]) … … 1304 3005 ;; 1305 3006 1306 aix 4* | aix5*)3007 aix[[4-9]]*) 1307 3008 version_type=linux 1308 3009 need_lib_prefix=no … … 1836 3537 AC_MSG_RESULT([$dynamic_linker]) 1837 3538 test "$dynamic_linker" = no && can_build_shared=no 3539 3540 AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], 3541 [lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) 3542 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 3543 AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], 3544 [lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) 3545 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 1838 3546 1839 3547 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" … … 2336 4044 2337 4045 case $host_os in 2338 aix 4* | aix5*)4046 aix[[4-9]]*) 2339 4047 lt_cv_deplibs_check_method=pass_all 2340 4048 ;; … … 2772 4480 ;; 2773 4481 2774 aix 4* | aix5*)4482 aix[[4-9]]*) 2775 4483 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2776 4484 test "$enable_shared" = yes && enable_static=no … … 2829 4537 _LT_AC_TAGVAR(postdeps, $1)= 2830 4538 _LT_AC_TAGVAR(compiler_lib_search_path, $1)= 4539 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 2831 4540 2832 4541 # Source file extension for C++ test sources. … … 2938 4647 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2939 4648 ;; 2940 aix 4* | aix5*)4649 aix[[4-9]]*) 2941 4650 if test "$host_cpu" = ia64; then 2942 4651 # On IA64, the linker does run time linking by default, so we don't … … 2951 4660 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 2952 4661 # need to do runtime linking. 2953 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix 5*)4662 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 2954 4663 for ld_flag in $LDFLAGS; do 2955 4664 case $ld_flag in … … 3097 4806 ;; 3098 4807 darwin* | rhapsody*) 3099 case $host_os in3100 rhapsody* | darwin1.[[012]])3101 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'3102 ;;3103 *) # Darwin 1.3 on3104 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then3105 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'3106 else3107 case ${MACOSX_DEPLOYMENT_TARGET} in3108 10.[[012]])3109 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'3110 ;;3111 10.*)3112 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'3113 ;;3114 esac3115 fi3116 ;;3117 esac3118 4808 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3119 4809 _LT_AC_TAGVAR(hardcode_direct, $1)=no … … 3122 4812 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 3123 4813 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 3124 3125 if test "$GXX" = yes ; then 3126 lt_int_apple_cc_single_mod=no 4814 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" 4815 if test "$GXX" = yes ; then 3127 4816 output_verbose_link_cmd='echo' 3128 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 3129 lt_int_apple_cc_single_mod=yes 4817 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 4818 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 4819 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 4820 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 4821 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 4822 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 4823 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 3130 4824 fi 3131 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then3132 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'3133 else3134 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'3135 fi3136 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'3137 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds3138 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then3139 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3140 else3141 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3142 fi3143 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3144 4825 else 3145 4826 case $cc_basename in … … 3392 5073 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 3393 5074 ;; 3394 pgCC* )5075 pgCC* | pgcpp*) 3395 5076 # Portland Group C++ compiler 3396 5077 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' … … 3827 5508 # Parse the compiler output and extract the necessary 3828 5509 # objects, libraries and library flags. 3829 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ 5510 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], 5511 [AC_REQUIRE([LT_AC_PROG_SED])dnl 3830 5512 dnl we can't use the lt_simple_compile_test_code here, 3831 5513 dnl because it contains code intended for an executable, … … 3952 5634 $rm -f confest.$objext 3953 5635 5636 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 5637 if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then 5638 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 5639 fi 5640 3954 5641 # PORTME: override above test on systems where it is broken 3955 5642 ifelse([$1],[CXX], … … 4008 5695 esac 4009 5696 ]) 4010 4011 5697 case " $_LT_AC_TAGVAR(postdeps, $1) " in 4012 5698 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; … … 4093 5779 fi 4094 5780 ;; 4095 aix 4* | aix5*)5781 aix[[4-9]]*) 4096 5782 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 4097 5783 test "$enable_shared" = yes && enable_static=no … … 4270 5956 _LT_AC_TAGVAR(postdeps, $1) \ 4271 5957 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ 5958 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ 4272 5959 _LT_AC_TAGVAR(archive_cmds, $1) \ 4273 5960 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ … … 4332 6019 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 4333 6020 # 4334 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 6021 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 4335 6022 # Free Software Foundation, Inc. 4336 6023 # … … 4568 6255 # shared library. 4569 6256 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) 6257 6258 # The directories searched by this compiler when creating a shared 6259 # library 6260 compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) 4570 6261 4571 6262 # The library search path used internally by the compiler when linking … … 4918 6609 cat conftest.$ac_ext >&5 4919 6610 fi 4920 rm - f conftest* conftst*6611 rm -rf conftest* conftst* 4921 6612 4922 6613 # Do not use the global_symbol_pipe unless it works. … … 4975 6666 # Although the cygwin gcc ignores -fPIC, still need this for old-style 4976 6667 # (--disable-auto-import) libraries 4977 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 6668 m4_if([$1], [GCJ], [], 6669 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 4978 6670 ;; 4979 6671 darwin* | rhapsody*) … … 5012 6704 else 5013 6705 case $host_os in 5014 aix 4* | aix5*)6706 aix[[4-9]]*) 5015 6707 # All AIX code is PIC. 5016 6708 if test "$host_cpu" = ia64; then … … 5108 6800 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 5109 6801 ;; 5110 pgCC* )6802 pgCC* | pgcpp*) 5111 6803 # Portland Group C++ compiler. 5112 6804 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' … … 5259 6951 # Although the cygwin gcc ignores -fPIC, still need this for old-style 5260 6952 # (--disable-auto-import) libraries 5261 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 6953 m4_if([$1], [GCJ], [], 6954 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 5262 6955 ;; 5263 6956 … … 5329 7022 # This hack is so that the source file can tell whether it is being 5330 7023 # built for inclusion in a dll (and should export symbols for example). 5331 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' 7024 m4_if([$1], [GCJ], [], 7025 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) 5332 7026 ;; 5333 7027 … … 5466 7160 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then 5467 7161 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], 5468 _LT_AC_TAGVAR(lt_ prog_compiler_pic_works, $1),7162 _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), 5469 7163 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], 5470 7164 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in … … 5490 7184 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 5491 7185 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], 5492 _LT_AC_TAGVAR(lt_ prog_compiler_static_works, $1),7186 _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), 5493 7187 $lt_tmp_static_flag, 5494 7188 [], … … 5506 7200 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5507 7201 case $host_os in 5508 aix 4* | aix5*)7202 aix[[4-9]]*) 5509 7203 # If we're using GNU nm, then we don't want the "-C" option. 5510 7204 # -C means demangle to AIX nm, but means don't demangle with GNU nm … … 5528 7222 ;; 5529 7223 esac 7224 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 5530 7225 ],[ 5531 7226 runpath_var= … … 5558 7253 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 5559 7254 # as well as any symbol that contains `d'. 5560 _LT_AC_TAGVAR(exclude_expsyms, $1)= "_GLOBAL_OFFSET_TABLE_"7255 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] 5561 7256 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 5562 7257 # platforms (ab)use it in PIC code, but their linkers get confused if … … 5564 7259 # rely on this symbol name, it's probably fine to never include it in 5565 7260 # preloaded symbol tables. 7261 # Exclude shared library initialization/finalization symbols. 7262 dnl Note also adjust exclude_expsyms for C++ above. 5566 7263 extract_expsyms_cmds= 5567 7264 # Just being paranoid about ensuring that cc_basename is set. … … 5613 7310 # See if GNU ld supports shared libraries. 5614 7311 case $host_os in 5615 aix 3* | aix4* | aix5*)7312 aix[[3-9]]*) 5616 7313 # On AIX/PPC, the GNU linker is very broken 5617 7314 if test "$host_cpu" != ia64; then … … 5833 7530 ;; 5834 7531 5835 aix 4* | aix5*)7532 aix[[4-9]]*) 5836 7533 if test "$host_cpu" = ia64; then 5837 7534 # On IA64, the linker does run time linking by default, so we don't … … 5853 7550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 5854 7551 # need to do runtime linking. 5855 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix 5*)7552 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) 5856 7553 for ld_flag in $LDFLAGS; do 5857 7554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then … … 6013 7710 if test "$GCC" = yes ; then 6014 7711 output_verbose_link_cmd='echo' 6015 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 6016 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6017 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 6018 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 6019 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7712 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 7713 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 7714 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 7715 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 6020 7716 else 6021 7717 case $cc_basename in … … 6598 8294 ]) 6599 8295 8296 # nls.m4 serial 3 (gettext-0.15) 8297 dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. 8298 dnl This file is free software; the Free Software Foundation 8299 dnl gives unlimited permission to copy and/or distribute it, 8300 dnl with or without modifications, as long as this notice is preserved. 8301 dnl 8302 dnl This file can can be used in projects which are not available under 8303 dnl the GNU General Public License or the GNU Library General Public 8304 dnl License but which still want to provide support for the GNU gettext 8305 dnl functionality. 8306 dnl Please note that the actual code of the GNU gettext library is covered 8307 dnl by the GNU Library General Public License, and the rest of the GNU 8308 dnl gettext package package is covered by the GNU General Public License. 8309 dnl They are *not* in the public domain. 8310 8311 dnl Authors: 8312 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 8313 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. 8314 8315 AC_PREREQ(2.50) 8316 8317 AC_DEFUN([AM_NLS], 8318 [ 8319 AC_MSG_CHECKING([whether NLS is requested]) 8320 dnl Default is enabled NLS 8321 AC_ARG_ENABLE(nls, 8322 [ --disable-nls do not use Native Language Support], 8323 USE_NLS=$enableval, USE_NLS=yes) 8324 AC_MSG_RESULT($USE_NLS) 8325 AC_SUBST(USE_NLS) 8326 ]) 8327 6600 8328 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 6601 8329 # … … 6756 8484 ])# PKG_CHECK_MODULES 6757 8485 6758 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. 8486 # po.m4 serial 15 (gettext-0.17) 8487 dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. 8488 dnl This file is free software; the Free Software Foundation 8489 dnl gives unlimited permission to copy and/or distribute it, 8490 dnl with or without modifications, as long as this notice is preserved. 8491 dnl 8492 dnl This file can can be used in projects which are not available under 8493 dnl the GNU General Public License or the GNU Library General Public 8494 dnl License but which still want to provide support for the GNU gettext 8495 dnl functionality. 8496 dnl Please note that the actual code of the GNU gettext library is covered 8497 dnl by the GNU Library General Public License, and the rest of the GNU 8498 dnl gettext package package is covered by the GNU General Public License. 8499 dnl They are *not* in the public domain. 8500 8501 dnl Authors: 8502 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 8503 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. 8504 8505 AC_PREREQ(2.50) 8506 8507 dnl Checks for all prerequisites of the po subdirectory. 8508 AC_DEFUN([AM_PO_SUBDIRS], 8509 [ 8510 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 8511 AC_REQUIRE([AC_PROG_INSTALL])dnl 8512 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake 8513 AC_REQUIRE([AM_NLS])dnl 8514 8515 dnl Release version of the gettext macros. This is used to ensure that 8516 dnl the gettext macros and po/Makefile.in.in are in sync. 8517 AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) 8518 8519 dnl Perform the following tests also if --disable-nls has been given, 8520 dnl because they are needed for "make dist" to work. 8521 8522 dnl Search for GNU msgfmt in the PATH. 8523 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. 8524 dnl The second test excludes FreeBSD msgfmt. 8525 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 8526 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 8527 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 8528 :) 8529 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 8530 8531 dnl Test whether it is GNU msgfmt >= 0.15. 8532 changequote(,)dnl 8533 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 8534 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 8535 *) MSGFMT_015=$MSGFMT ;; 8536 esac 8537 changequote([,])dnl 8538 AC_SUBST([MSGFMT_015]) 8539 changequote(,)dnl 8540 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 8541 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 8542 *) GMSGFMT_015=$GMSGFMT ;; 8543 esac 8544 changequote([,])dnl 8545 AC_SUBST([GMSGFMT_015]) 8546 8547 dnl Search for GNU xgettext 0.12 or newer in the PATH. 8548 dnl The first test excludes Solaris xgettext and early GNU xgettext versions. 8549 dnl The second test excludes FreeBSD xgettext. 8550 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 8551 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 8552 (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)], 8553 :) 8554 dnl Remove leftover from FreeBSD xgettext call. 8555 rm -f messages.po 8556 8557 dnl Test whether it is GNU xgettext >= 0.15. 8558 changequote(,)dnl 8559 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 8560 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 8561 *) XGETTEXT_015=$XGETTEXT ;; 8562 esac 8563 changequote([,])dnl 8564 AC_SUBST([XGETTEXT_015]) 8565 8566 dnl Search for GNU msgmerge 0.11 or newer in the PATH. 8567 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, 8568 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) 8569 8570 dnl Installation directories. 8571 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we 8572 dnl have to define it here, so that it can be used in po/Makefile. 8573 test -n "$localedir" || localedir='${datadir}/locale' 8574 AC_SUBST([localedir]) 8575 8576 dnl Support for AM_XGETTEXT_OPTION. 8577 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 8578 AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) 8579 8580 AC_CONFIG_COMMANDS([po-directories], [[ 8581 for ac_file in $CONFIG_FILES; do 8582 # Support "outfile[:infile[:infile...]]" 8583 case "$ac_file" in 8584 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 8585 esac 8586 # PO directories have a Makefile.in generated from Makefile.in.in. 8587 case "$ac_file" in */Makefile.in) 8588 # Adjust a relative srcdir. 8589 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8590 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 8591 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8592 # In autoconf-2.13 it is called $ac_given_srcdir. 8593 # In autoconf-2.50 it is called $srcdir. 8594 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8595 case "$ac_given_srcdir" in 8596 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8597 /*) top_srcdir="$ac_given_srcdir" ;; 8598 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8599 esac 8600 # Treat a directory as a PO directory if and only if it has a 8601 # POTFILES.in file. This allows packages to have multiple PO 8602 # directories under different names or in different locations. 8603 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 8604 rm -f "$ac_dir/POTFILES" 8605 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 8606 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 8607 POMAKEFILEDEPS="POTFILES.in" 8608 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 8609 # on $ac_dir but don't depend on user-specified configuration 8610 # parameters. 8611 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8612 # The LINGUAS file contains the set of available languages. 8613 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8614 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8615 fi 8616 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8617 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8618 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 8619 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8620 else 8621 # The set of available languages was given in configure.in. 8622 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8623 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 8624 fi 8625 # Compute POFILES 8626 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8627 # Compute UPDATEPOFILES 8628 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8629 # Compute DUMMYPOFILES 8630 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8631 # Compute GMOFILES 8632 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8633 case "$ac_given_srcdir" in 8634 .) srcdirpre= ;; 8635 *) srcdirpre='$(srcdir)/' ;; 8636 esac 8637 POFILES= 8638 UPDATEPOFILES= 8639 DUMMYPOFILES= 8640 GMOFILES= 8641 for lang in $ALL_LINGUAS; do 8642 POFILES="$POFILES $srcdirpre$lang.po" 8643 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8644 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8645 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8646 done 8647 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8648 # environment variable. 8649 INST_LINGUAS= 8650 if test -n "$ALL_LINGUAS"; then 8651 for presentlang in $ALL_LINGUAS; do 8652 useit=no 8653 if test "%UNSET%" != "$LINGUAS"; then 8654 desiredlanguages="$LINGUAS" 8655 else 8656 desiredlanguages="$ALL_LINGUAS" 8657 fi 8658 for desiredlang in $desiredlanguages; do 8659 # Use the presentlang catalog if desiredlang is 8660 # a. equal to presentlang, or 8661 # b. a variant of presentlang (because in this case, 8662 # presentlang can be used as a fallback for messages 8663 # which are not translated in the desiredlang catalog). 8664 case "$desiredlang" in 8665 "$presentlang"*) useit=yes;; 8666 esac 8667 done 8668 if test $useit = yes; then 8669 INST_LINGUAS="$INST_LINGUAS $presentlang" 8670 fi 8671 done 8672 fi 8673 CATALOGS= 8674 if test -n "$INST_LINGUAS"; then 8675 for lang in $INST_LINGUAS; do 8676 CATALOGS="$CATALOGS $lang.gmo" 8677 done 8678 fi 8679 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 8680 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" 8681 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 8682 if test -f "$f"; then 8683 case "$f" in 8684 *.orig | *.bak | *~) ;; 8685 *) cat "$f" >> "$ac_dir/Makefile" ;; 8686 esac 8687 fi 8688 done 8689 fi 8690 ;; 8691 esac 8692 done]], 8693 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute 8694 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 8695 # from automake < 1.5. 8696 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 8697 # Capture the value of LINGUAS because we need it to compute CATALOGS. 8698 LINGUAS="${LINGUAS-%UNSET%}" 8699 ]) 8700 ]) 8701 8702 dnl Postprocesses a Makefile in a directory containing PO files. 8703 AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], 8704 [ 8705 # When this code is run, in config.status, two variables have already been 8706 # set: 8707 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, 8708 # - LINGUAS is the value of the environment variable LINGUAS at configure 8709 # time. 8710 8711 changequote(,)dnl 8712 # Adjust a relative srcdir. 8713 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8714 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 8715 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8716 # In autoconf-2.13 it is called $ac_given_srcdir. 8717 # In autoconf-2.50 it is called $srcdir. 8718 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8719 case "$ac_given_srcdir" in 8720 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8721 /*) top_srcdir="$ac_given_srcdir" ;; 8722 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8723 esac 8724 8725 # Find a way to echo strings without interpreting backslash. 8726 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then 8727 gt_echo='echo' 8728 else 8729 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then 8730 gt_echo='printf %s\n' 8731 else 8732 echo_func () { 8733 cat <<EOT 8734 $* 8735 EOT 8736 } 8737 gt_echo='echo_func' 8738 fi 8739 fi 8740 8741 # A sed script that extracts the value of VARIABLE from a Makefile. 8742 sed_x_variable=' 8743 # Test if the hold space is empty. 8744 x 8745 s/P/P/ 8746 x 8747 ta 8748 # Yes it was empty. Look if we have the expected variable definition. 8749 /^[ ]*VARIABLE[ ]*=/{ 8750 # Seen the first line of the variable definition. 8751 s/^[ ]*VARIABLE[ ]*=// 8752 ba 8753 } 8754 bd 8755 :a 8756 # Here we are processing a line from the variable definition. 8757 # Remove comment, more precisely replace it with a space. 8758 s/#.*$/ / 8759 # See if the line ends in a backslash. 8760 tb 8761 :b 8762 s/\\$// 8763 # Print the line, without the trailing backslash. 8764 p 8765 tc 8766 # There was no trailing backslash. The end of the variable definition is 8767 # reached. Clear the hold space. 8768 s/^.*$// 8769 x 8770 bd 8771 :c 8772 # A trailing backslash means that the variable definition continues in the 8773 # next line. Put a nonempty string into the hold space to indicate this. 8774 s/^.*$/P/ 8775 x 8776 :d 8777 ' 8778 changequote([,])dnl 8779 8780 # Set POTFILES to the value of the Makefile variable POTFILES. 8781 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` 8782 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` 8783 # Compute POTFILES_DEPS as 8784 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) 8785 POTFILES_DEPS= 8786 for file in $POTFILES; do 8787 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" 8788 done 8789 POMAKEFILEDEPS="" 8790 8791 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8792 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8793 fi 8794 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8795 # The LINGUAS file contains the set of available languages. 8796 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8797 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8798 else 8799 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 8800 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` 8801 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` 8802 fi 8803 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8804 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 8805 # Compute POFILES 8806 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8807 # Compute UPDATEPOFILES 8808 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8809 # Compute DUMMYPOFILES 8810 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8811 # Compute GMOFILES 8812 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8813 # Compute PROPERTIESFILES 8814 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) 8815 # Compute CLASSFILES 8816 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) 8817 # Compute QMFILES 8818 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 8819 # Compute MSGFILES 8820 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 8821 # Compute RESOURCESDLLFILES 8822 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) 8823 case "$ac_given_srcdir" in 8824 .) srcdirpre= ;; 8825 *) srcdirpre='$(srcdir)/' ;; 8826 esac 8827 POFILES= 8828 UPDATEPOFILES= 8829 DUMMYPOFILES= 8830 GMOFILES= 8831 PROPERTIESFILES= 8832 CLASSFILES= 8833 QMFILES= 8834 MSGFILES= 8835 RESOURCESDLLFILES= 8836 for lang in $ALL_LINGUAS; do 8837 POFILES="$POFILES $srcdirpre$lang.po" 8838 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8839 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8840 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8841 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" 8842 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" 8843 QMFILES="$QMFILES $srcdirpre$lang.qm" 8844 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 8845 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 8846 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/'` 8847 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" 8848 done 8849 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8850 # environment variable. 8851 INST_LINGUAS= 8852 if test -n "$ALL_LINGUAS"; then 8853 for presentlang in $ALL_LINGUAS; do 8854 useit=no 8855 if test "%UNSET%" != "$LINGUAS"; then 8856 desiredlanguages="$LINGUAS" 8857 else 8858 desiredlanguages="$ALL_LINGUAS" 8859 fi 8860 for desiredlang in $desiredlanguages; do 8861 # Use the presentlang catalog if desiredlang is 8862 # a. equal to presentlang, or 8863 # b. a variant of presentlang (because in this case, 8864 # presentlang can be used as a fallback for messages 8865 # which are not translated in the desiredlang catalog). 8866 case "$desiredlang" in 8867 "$presentlang"*) useit=yes;; 8868 esac 8869 done 8870 if test $useit = yes; then 8871 INST_LINGUAS="$INST_LINGUAS $presentlang" 8872 fi 8873 done 8874 fi 8875 CATALOGS= 8876 JAVACATALOGS= 8877 QTCATALOGS= 8878 TCLCATALOGS= 8879 CSHARPCATALOGS= 8880 if test -n "$INST_LINGUAS"; then 8881 for lang in $INST_LINGUAS; do 8882 CATALOGS="$CATALOGS $lang.gmo" 8883 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" 8884 QTCATALOGS="$QTCATALOGS $lang.qm" 8885 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 8886 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 8887 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/'` 8888 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" 8889 done 8890 fi 8891 8892 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" 8893 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 8894 # Add dependencies that cannot be formulated as a simple suffix rule. 8895 for lang in $ALL_LINGUAS; do 8896 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 8897 cat >> "$ac_file.tmp" <<EOF 8898 $frobbedlang.msg: $lang.po 8899 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ 8900 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 8901 EOF 8902 done 8903 fi 8904 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then 8905 # Add dependencies that cannot be formulated as a simple suffix rule. 8906 for lang in $ALL_LINGUAS; do 8907 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/'` 8908 cat >> "$ac_file.tmp" <<EOF 8909 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po 8910 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ 8911 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 8912 EOF 8913 done 8914 fi 8915 if test -n "$POMAKEFILEDEPS"; then 8916 cat >> "$ac_file.tmp" <<EOF 8917 Makefile: $POMAKEFILEDEPS 8918 EOF 8919 fi 8920 mv "$ac_file.tmp" "$ac_file" 8921 ]) 8922 8923 dnl Initializes the accumulator used by AM_XGETTEXT_OPTION. 8924 AC_DEFUN([AM_XGETTEXT_OPTION_INIT], 8925 [ 8926 XGETTEXT_EXTRA_OPTIONS= 8927 ]) 8928 8929 dnl Registers an option to be passed to xgettext in the po subdirectory. 8930 AC_DEFUN([AM_XGETTEXT_OPTION], 8931 [ 8932 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) 8933 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" 8934 ]) 8935 8936 # progtest.m4 serial 4 (gettext-0.14.2) 8937 dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. 8938 dnl This file is free software; the Free Software Foundation 8939 dnl gives unlimited permission to copy and/or distribute it, 8940 dnl with or without modifications, as long as this notice is preserved. 8941 dnl 8942 dnl This file can can be used in projects which are not available under 8943 dnl the GNU General Public License or the GNU Library General Public 8944 dnl License but which still want to provide support for the GNU gettext 8945 dnl functionality. 8946 dnl Please note that the actual code of the GNU gettext library is covered 8947 dnl by the GNU Library General Public License, and the rest of the GNU 8948 dnl gettext package package is covered by the GNU General Public License. 8949 dnl They are *not* in the public domain. 8950 8951 dnl Authors: 8952 dnl Ulrich Drepper <drepper@cygnus.com>, 1996. 8953 8954 AC_PREREQ(2.50) 8955 8956 # Search path for a program which passes the given test. 8957 8958 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, 8959 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) 8960 AC_DEFUN([AM_PATH_PROG_WITH_TEST], 8961 [ 8962 # Prepare PATH_SEPARATOR. 8963 # The user is always right. 8964 if test "${PATH_SEPARATOR+set}" != set; then 8965 echo "#! /bin/sh" >conf$$.sh 8966 echo "exit 0" >>conf$$.sh 8967 chmod +x conf$$.sh 8968 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 8969 PATH_SEPARATOR=';' 8970 else 8971 PATH_SEPARATOR=: 8972 fi 8973 rm -f conf$$.sh 8974 fi 8975 8976 # Find out how to test for executable files. Don't use a zero-byte file, 8977 # as systems may use methods other than mode bits to determine executability. 8978 cat >conf$$.file <<_ASEOF 8979 #! /bin/sh 8980 exit 0 8981 _ASEOF 8982 chmod +x conf$$.file 8983 if test -x conf$$.file >/dev/null 2>&1; then 8984 ac_executable_p="test -x" 8985 else 8986 ac_executable_p="test -f" 8987 fi 8988 rm -f conf$$.file 8989 8990 # Extract the first word of "$2", so it can be a program name with args. 8991 set dummy $2; ac_word=[$]2 8992 AC_MSG_CHECKING([for $ac_word]) 8993 AC_CACHE_VAL(ac_cv_path_$1, 8994 [case "[$]$1" in 8995 [[\\/]]* | ?:[[\\/]]*) 8996 ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 8997 ;; 8998 *) 8999 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 9000 for ac_dir in ifelse([$5], , $PATH, [$5]); do 9001 IFS="$ac_save_IFS" 9002 test -z "$ac_dir" && ac_dir=. 9003 for ac_exec_ext in '' $ac_executable_extensions; do 9004 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 9005 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD 9006 if [$3]; then 9007 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" 9008 break 2 9009 fi 9010 fi 9011 done 9012 done 9013 IFS="$ac_save_IFS" 9014 dnl If no 4th arg is given, leave the cache variable unset, 9015 dnl so AC_PATH_PROGS will keep looking. 9016 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 9017 ])dnl 9018 ;; 9019 esac])dnl 9020 $1="$ac_cv_path_$1" 9021 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 9022 AC_MSG_RESULT([$]$1) 9023 else 9024 AC_MSG_RESULT(no) 9025 fi 9026 AC_SUBST($1)dnl 9027 ]) 9028 9029 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. 6759 9030 # 6760 9031 # This file is free software; the Free Software Foundation … … 6771 9042 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 6772 9043 dnl require some minimum version. Point them to the right macro. 6773 m4_if([$1], [1.10 ], [],9044 m4_if([$1], [1.10.1], [], 6774 9045 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 6775 9046 ]) … … 6787 9058 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 6788 9059 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 6789 [AM_AUTOMAKE_VERSION([1.10])dnl 6790 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) 9060 [AM_AUTOMAKE_VERSION([1.10.1])dnl 9061 m4_ifndef([AC_AUTOCONF_VERSION], 9062 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 9063 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) 6791 9064 6792 9065 # AM_AUX_DIR_EXPAND -*- Autoconf -*- … … 7060 9333 # Grep'ing the whole file is not good either: AIX grep has a line 7061 9334 # limit of 2048, but all sed's we know have understand at least 4000. 7062 if sed 10q "$mf" | grep '^#.*generated by automake' >/dev/null 2>&1; then9335 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7063 9336 dirpart=`AS_DIRNAME("$mf")` 7064 9337 else … … 7108 9381 7109 9382 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 7110 # 2005, 2006 Free Software Foundation, Inc.9383 # 2005, 2006, 2008 Free Software Foundation, Inc. 7111 9384 # 7112 9385 # This file is free software; the Free Software Foundation … … 7114 9387 # with or without modifications, as long as this notice is preserved. 7115 9388 7116 # serial 1 29389 # serial 13 7117 9390 7118 9391 # This macro actually does too much. Some checks are only needed if … … 7219 9492 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 7220 9493 [# Compute $1's index in $config_headers. 9494 _am_arg=$1 7221 9495 _am_stamp_count=1 7222 9496 for _am_header in $config_headers :; do 7223 9497 case $_am_header in 7224 $ 1 | $1:* )9498 $_am_arg | $_am_arg:* ) 7225 9499 break ;; 7226 9500 * ) … … 7228 9502 esac 7229 9503 done 7230 echo "timestamp for $ 1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])9504 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 7231 9505 7232 9506 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. … … 7500 9774 # _AM_SUBST_NOTMAKE(VARIABLE) 7501 9775 # --------------------------- 7502 # Prevent Automake from output ing VARIABLE = @VARIABLE@ in Makefile.in.9776 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 7503 9777 # This macro is traced by Automake. 7504 9778 AC_DEFUN([_AM_SUBST_NOTMAKE]) … … 7600 9874 ]) # _AM_PROG_TAR 7601 9875 7602 m4_include([m4/gettext.m4])7603 m4_include([m4/iconv.m4])7604 m4_include([m4/lib-ld.m4])7605 m4_include([m4/lib-link.m4])7606 m4_include([m4/lib-prefix.m4])7607 m4_include([m4/nls.m4])7608 m4_include([m4/po.m4])7609 m4_include([m4/progtest.m4])7610 9876 m4_include([acinclude.m4]) -
trunk/fm_gui/config.h.in
r213 r249 29 29 #undef HAVE_GETTEXT 30 30 31 /* Define if you have the iconv() function . */31 /* Define if you have the iconv() function and it works. */ 32 32 #undef HAVE_ICONV 33 33 -
trunk/fm_gui/configure
r227 r249 770 770 #endif" 771 771 772 gt_needs= 772 773 ac_subst_vars='SHELL 773 774 PATH_SEPARATOR … … 860 861 AR 861 862 RANLIB 863 DSYMUTIL 864 NMEDIT 862 865 DLLTOOL 863 866 AS … … 876 879 LIBTOOL 877 880 USE_NLS 881 GETTEXT_MACRO_VERSION 878 882 MSGFMT 879 883 GMSGFMT … … 883 887 XGETTEXT_015 884 888 MSGMERGE 889 XGETTEXT_EXTRA_OPTIONS 885 890 INTL_MACOSX_LIBS 886 891 LIBICONV … … 896 901 FM_GUI_CFLAGS 897 902 FM_GUI_LIBS 903 GSTREAMER_CFLAGS 904 GSTREAMER_LIBS 905 GNOME_STUFF_CFLAGS 906 GNOME_STUFF_LIBS 898 907 RGC_CLIENT_CFLAGS 899 908 RGC_CLIENT_LIBS … … 929 938 FM_GUI_CFLAGS 930 939 FM_GUI_LIBS 940 GSTREAMER_CFLAGS 941 GSTREAMER_LIBS 942 GNOME_STUFF_CFLAGS 943 GNOME_STUFF_LIBS 931 944 RGC_CLIENT_CFLAGS 932 945 RGC_CLIENT_LIBS' … … 1555 1568 C compiler flags for FM_GUI, overriding pkg-config 1556 1569 FM_GUI_LIBS linker flags for FM_GUI, overriding pkg-config 1570 GSTREAMER_CFLAGS 1571 C compiler flags for GSTREAMER, overriding pkg-config 1572 GSTREAMER_LIBS 1573 linker flags for GSTREAMER, overriding pkg-config 1574 GNOME_STUFF_CFLAGS 1575 C compiler flags for GNOME_STUFF, overriding pkg-config 1576 GNOME_STUFF_LIBS 1577 linker flags for GNOME_STUFF, overriding pkg-config 1557 1578 RGC_CLIENT_CFLAGS 1558 1579 C compiler flags for RGC_CLIENT, overriding pkg-config … … 1911 1932 fi 1912 1933 1934 gt_needs="$gt_needs " 1913 1935 # Check that the precious variables saved in the cache have kept the same 1914 1936 # value. … … 4161 4183 4162 4184 case $host_os in 4163 aix 4* | aix5*)4185 aix[4-9]*) 4164 4186 lt_cv_deplibs_check_method=pass_all 4165 4187 ;; … … 4377 4399 *-*-irix6*) 4378 4400 # Find out which ABI we are using. 4379 echo '#line 4 379"configure"' > conftest.$ac_ext4401 echo '#line 4401 "configure"' > conftest.$ac_ext 4380 4402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4381 4403 (eval $ac_compile) 2>&5 … … 4549 4571 case $lt_cv_prog_gnu_ld in 4550 4572 yes*) LD="${LD-ld} -m elf64_sparc" ;; 4551 *) LD="${LD-ld} -64" ;; 4573 *) 4574 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 4575 LD="${LD-ld} -64" 4576 fi 4577 ;; 4552 4578 esac 4553 4579 ;; … … 6441 6467 6442 6468 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 6443 6444 6469 # find the maximum length of command line arguments 6445 6470 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 … … 6756 6781 cat conftest.$ac_ext >&5 6757 6782 fi 6758 rm - f conftest* conftst*6783 rm -rf conftest* conftst* 6759 6784 6760 6785 # Do not use the global_symbol_pipe unless it works. … … 7316 7341 esac 7317 7342 7343 7344 case $host_os in 7345 rhapsody* | darwin*) 7346 if test -n "$ac_tool_prefix"; then 7347 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7348 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7349 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7351 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 7352 echo $ECHO_N "(cached) $ECHO_C" >&6 7353 else 7354 if test -n "$DSYMUTIL"; then 7355 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7356 else 7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7358 for as_dir in $PATH 7359 do 7360 IFS=$as_save_IFS 7361 test -z "$as_dir" && as_dir=. 7362 for ac_exec_ext in '' $ac_executable_extensions; do 7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7364 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7366 break 2 7367 fi 7368 done 7369 done 7370 IFS=$as_save_IFS 7371 7372 fi 7373 fi 7374 DSYMUTIL=$ac_cv_prog_DSYMUTIL 7375 if test -n "$DSYMUTIL"; then 7376 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 7377 echo "${ECHO_T}$DSYMUTIL" >&6; } 7378 else 7379 { echo "$as_me:$LINENO: result: no" >&5 7380 echo "${ECHO_T}no" >&6; } 7381 fi 7382 7383 7384 fi 7385 if test -z "$ac_cv_prog_DSYMUTIL"; then 7386 ac_ct_DSYMUTIL=$DSYMUTIL 7387 # Extract the first word of "dsymutil", so it can be a program name with args. 7388 set dummy dsymutil; ac_word=$2 7389 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7391 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 7392 echo $ECHO_N "(cached) $ECHO_C" >&6 7393 else 7394 if test -n "$ac_ct_DSYMUTIL"; then 7395 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7396 else 7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7398 for as_dir in $PATH 7399 do 7400 IFS=$as_save_IFS 7401 test -z "$as_dir" && as_dir=. 7402 for ac_exec_ext in '' $ac_executable_extensions; do 7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7404 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7406 break 2 7407 fi 7408 done 7409 done 7410 IFS=$as_save_IFS 7411 7412 fi 7413 fi 7414 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7415 if test -n "$ac_ct_DSYMUTIL"; then 7416 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 7417 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } 7418 else 7419 { echo "$as_me:$LINENO: result: no" >&5 7420 echo "${ECHO_T}no" >&6; } 7421 fi 7422 7423 if test "x$ac_ct_DSYMUTIL" = x; then 7424 DSYMUTIL=":" 7425 else 7426 case $cross_compiling:$ac_tool_warned in 7427 yes:) 7428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7429 whose name does not start with the host triplet. If you think this 7430 configuration is useful to you, please write to autoconf@gnu.org." >&5 7431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7432 whose name does not start with the host triplet. If you think this 7433 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7434 ac_tool_warned=yes ;; 7435 esac 7436 DSYMUTIL=$ac_ct_DSYMUTIL 7437 fi 7438 else 7439 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7440 fi 7441 7442 if test -n "$ac_tool_prefix"; then 7443 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7444 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7445 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7447 if test "${ac_cv_prog_NMEDIT+set}" = set; then 7448 echo $ECHO_N "(cached) $ECHO_C" >&6 7449 else 7450 if test -n "$NMEDIT"; then 7451 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7452 else 7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7454 for as_dir in $PATH 7455 do 7456 IFS=$as_save_IFS 7457 test -z "$as_dir" && as_dir=. 7458 for ac_exec_ext in '' $ac_executable_extensions; do 7459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7460 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7462 break 2 7463 fi 7464 done 7465 done 7466 IFS=$as_save_IFS 7467 7468 fi 7469 fi 7470 NMEDIT=$ac_cv_prog_NMEDIT 7471 if test -n "$NMEDIT"; then 7472 { echo "$as_me:$LINENO: result: $NMEDIT" >&5 7473 echo "${ECHO_T}$NMEDIT" >&6; } 7474 else 7475 { echo "$as_me:$LINENO: result: no" >&5 7476 echo "${ECHO_T}no" >&6; } 7477 fi 7478 7479 7480 fi 7481 if test -z "$ac_cv_prog_NMEDIT"; then 7482 ac_ct_NMEDIT=$NMEDIT 7483 # Extract the first word of "nmedit", so it can be a program name with args. 7484 set dummy nmedit; ac_word=$2 7485 { echo "$as_me:$LINENO: checking for $ac_word" >&5 7486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7487 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 7488 echo $ECHO_N "(cached) $ECHO_C" >&6 7489 else 7490 if test -n "$ac_ct_NMEDIT"; then 7491 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7492 else 7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7494 for as_dir in $PATH 7495 do 7496 IFS=$as_save_IFS 7497 test -z "$as_dir" && as_dir=. 7498 for ac_exec_ext in '' $ac_executable_extensions; do 7499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7500 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7502 break 2 7503 fi 7504 done 7505 done 7506 IFS=$as_save_IFS 7507 7508 fi 7509 fi 7510 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7511 if test -n "$ac_ct_NMEDIT"; then 7512 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 7513 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } 7514 else 7515 { echo "$as_me:$LINENO: result: no" >&5 7516 echo "${ECHO_T}no" >&6; } 7517 fi 7518 7519 if test "x$ac_ct_NMEDIT" = x; then 7520 NMEDIT=":" 7521 else 7522 case $cross_compiling:$ac_tool_warned in 7523 yes:) 7524 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7525 whose name does not start with the host triplet. If you think this 7526 configuration is useful to you, please write to autoconf@gnu.org." >&5 7527 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7528 whose name does not start with the host triplet. If you think this 7529 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7530 ac_tool_warned=yes ;; 7531 esac 7532 NMEDIT=$ac_ct_NMEDIT 7533 fi 7534 else 7535 NMEDIT="$ac_cv_prog_NMEDIT" 7536 fi 7537 7538 7539 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 7540 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } 7541 if test "${lt_cv_apple_cc_single_mod+set}" = set; then 7542 echo $ECHO_N "(cached) $ECHO_C" >&6 7543 else 7544 lt_cv_apple_cc_single_mod=no 7545 if test -z "${LT_MULTI_MODULE}"; then 7546 # By default we will add the -single_module flag. You can override 7547 # by either setting the environment variable LT_MULTI_MODULE 7548 # non-empty at configure time, or by adding -multi_module to the 7549 # link flags. 7550 echo "int foo(void){return 1;}" > conftest.c 7551 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7552 -dynamiclib ${wl}-single_module conftest.c 7553 if test -f libconftest.dylib; then 7554 lt_cv_apple_cc_single_mod=yes 7555 rm -rf libconftest.dylib* 7556 fi 7557 rm conftest.c 7558 fi 7559 fi 7560 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 7561 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } 7562 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 7563 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } 7564 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 7565 echo $ECHO_N "(cached) $ECHO_C" >&6 7566 else 7567 lt_cv_ld_exported_symbols_list=no 7568 save_LDFLAGS=$LDFLAGS 7569 echo "_main" > conftest.sym 7570 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7571 cat >conftest.$ac_ext <<_ACEOF 7572 /* confdefs.h. */ 7573 _ACEOF 7574 cat confdefs.h >>conftest.$ac_ext 7575 cat >>conftest.$ac_ext <<_ACEOF 7576 /* end confdefs.h. */ 7577 7578 int 7579 main () 7580 { 7581 7582 ; 7583 return 0; 7584 } 7585 _ACEOF 7586 rm -f conftest.$ac_objext conftest$ac_exeext 7587 if { (ac_try="$ac_link" 7588 case "(($ac_try" in 7589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7590 *) ac_try_echo=$ac_try;; 7591 esac 7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7593 (eval "$ac_link") 2>conftest.er1 7594 ac_status=$? 7595 grep -v '^ *+' conftest.er1 >conftest.err 7596 rm -f conftest.er1 7597 cat conftest.err >&5 7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7599 (exit $ac_status); } && { 7600 test -z "$ac_c_werror_flag" || 7601 test ! -s conftest.err 7602 } && test -s conftest$ac_exeext && 7603 $as_test_x conftest$ac_exeext; then 7604 lt_cv_ld_exported_symbols_list=yes 7605 else 7606 echo "$as_me: failed program was:" >&5 7607 sed 's/^/| /' conftest.$ac_ext >&5 7608 7609 lt_cv_ld_exported_symbols_list=no 7610 fi 7611 7612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7613 conftest$ac_exeext conftest.$ac_ext 7614 LDFLAGS="$save_LDFLAGS" 7615 7616 fi 7617 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 7618 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } 7619 case $host_os in 7620 rhapsody* | darwin1.[0123]) 7621 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7622 darwin1.*) 7623 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7624 darwin*) 7625 # if running on 10.5 or later, the deployment target defaults 7626 # to the OS version, if on x86, and 10.4, the deployment 7627 # target defaults to 10.4. Don't you love it? 7628 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7629 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7630 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7631 10.[012]*) 7632 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7633 10.*) 7634 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7635 esac 7636 ;; 7637 esac 7638 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7639 _lt_dar_single_mod='$single_module' 7640 fi 7641 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7642 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7643 else 7644 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 7645 fi 7646 if test "$DSYMUTIL" != ":"; then 7647 _lt_dsymutil="~$DSYMUTIL \$lib || :" 7648 else 7649 _lt_dsymutil= 7650 fi 7651 ;; 7652 esac 7653 7654 7318 7655 enable_dlopen=no 7319 7656 enable_win32_dll=yes … … 7381 7718 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7382 7719 _lt_linker_boilerplate=`cat conftest.err` 7383 $rm conftest*7720 $rm -r conftest* 7384 7721 7385 7722 … … 7409 7746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7410 7747 -e 's:$: $lt_compiler_flag:'` 7411 (eval echo "\"\$as_me:7 411: $lt_compile\"" >&5)7748 (eval echo "\"\$as_me:7748: $lt_compile\"" >&5) 7412 7749 (eval "$lt_compile" 2>conftest.err) 7413 7750 ac_status=$? 7414 7751 cat conftest.err >&5 7415 echo "$as_me:7 415: \$? = $ac_status" >&57752 echo "$as_me:7752: \$? = $ac_status" >&5 7416 7753 if (exit $ac_status) && test -s "$ac_outfile"; then 7417 7754 # The compiler can only warn and ignore the option if not recognized … … 7683 8020 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7684 8021 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } 7685 if test "${lt_ prog_compiler_pic_works+set}" = set; then8022 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 7686 8023 echo $ECHO_N "(cached) $ECHO_C" >&6 7687 8024 else 7688 lt_ prog_compiler_pic_works=no8025 lt_cv_prog_compiler_pic_works=no 7689 8026 ac_outfile=conftest.$ac_objext 7690 8027 echo "$lt_simple_compile_test_code" > conftest.$ac_ext … … 7699 8036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7700 8037 -e 's:$: $lt_compiler_flag:'` 7701 (eval echo "\"\$as_me: 7701: $lt_compile\"" >&5)8038 (eval echo "\"\$as_me:8038: $lt_compile\"" >&5) 7702 8039 (eval "$lt_compile" 2>conftest.err) 7703 8040 ac_status=$? 7704 8041 cat conftest.err >&5 7705 echo "$as_me: 7705: \$? = $ac_status" >&58042 echo "$as_me:8042: \$? = $ac_status" >&5 7706 8043 if (exit $ac_status) && test -s "$ac_outfile"; then 7707 8044 # The compiler can only warn and ignore the option if not recognized … … 7710 8047 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7711 8048 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7712 lt_ prog_compiler_pic_works=yes8049 lt_cv_prog_compiler_pic_works=yes 7713 8050 fi 7714 8051 fi … … 7716 8053 7717 8054 fi 7718 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_pic_works" >&57719 echo "${ECHO_T}$lt_ prog_compiler_pic_works" >&6; }7720 7721 if test x"$lt_ prog_compiler_pic_works" = xyes; then8055 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8056 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } 8057 8058 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7722 8059 case $lt_prog_compiler_pic in 7723 8060 "" | " "*) ;; … … 7746 8083 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7747 8084 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 7748 if test "${lt_ prog_compiler_static_works+set}" = set; then8085 if test "${lt_cv_prog_compiler_static_works+set}" = set; then 7749 8086 echo $ECHO_N "(cached) $ECHO_C" >&6 7750 8087 else 7751 lt_ prog_compiler_static_works=no8088 lt_cv_prog_compiler_static_works=no 7752 8089 save_LDFLAGS="$LDFLAGS" 7753 8090 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" … … 7762 8099 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7763 8100 if diff conftest.exp conftest.er2 >/dev/null; then 7764 lt_ prog_compiler_static_works=yes8101 lt_cv_prog_compiler_static_works=yes 7765 8102 fi 7766 8103 else 7767 lt_ prog_compiler_static_works=yes8104 lt_cv_prog_compiler_static_works=yes 7768 8105 fi 7769 8106 fi 7770 $rm conftest*8107 $rm -r conftest* 7771 8108 LDFLAGS="$save_LDFLAGS" 7772 8109 7773 8110 fi 7774 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_static_works" >&57775 echo "${ECHO_T}$lt_ prog_compiler_static_works" >&6; }7776 7777 if test x"$lt_ prog_compiler_static_works" = xyes; then8111 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8112 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } 8113 8114 if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7778 8115 : 7779 8116 else … … 7803 8140 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7804 8141 -e 's:$: $lt_compiler_flag:'` 7805 (eval echo "\"\$as_me: 7805: $lt_compile\"" >&5)8142 (eval echo "\"\$as_me:8142: $lt_compile\"" >&5) 7806 8143 (eval "$lt_compile" 2>out/conftest.err) 7807 8144 ac_status=$? 7808 8145 cat out/conftest.err >&5 7809 echo "$as_me: 7809: \$? = $ac_status" >&58146 echo "$as_me:8146: \$? = $ac_status" >&5 7810 8147 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7811 8148 then … … 7887 8224 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 7888 8225 # as well as any symbol that contains `d'. 7889 exclude_expsyms= "_GLOBAL_OFFSET_TABLE_"8226 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 7890 8227 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 7891 8228 # platforms (ab)use it in PIC code, but their linkers get confused if … … 7893 8230 # rely on this symbol name, it's probably fine to never include it in 7894 8231 # preloaded symbol tables. 8232 # Exclude shared library initialization/finalization symbols. 7895 8233 extract_expsyms_cmds= 7896 8234 # Just being paranoid about ensuring that cc_basename is set. … … 7951 8289 # See if GNU ld supports shared libraries. 7952 8290 case $host_os in 7953 aix 3* | aix4* | aix5*)8291 aix[3-9]*) 7954 8292 # On AIX/PPC, the GNU linker is very broken 7955 8293 if test "$host_cpu" != ia64; then … … 8171 8509 ;; 8172 8510 8173 aix 4* | aix5*)8511 aix[4-9]*) 8174 8512 if test "$host_cpu" = ia64; then 8175 8513 # On IA64, the linker does run time linking by default, so we don't … … 8191 8529 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8192 8530 # need to do runtime linking. 8193 case $host_os in aix4.[23]|aix4.[23].*|aix 5*)8531 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8194 8532 for ld_flag in $LDFLAGS; do 8195 8533 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then … … 8463 8801 if test "$GCC" = yes ; then 8464 8802 output_verbose_link_cmd='echo' 8465 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 8466 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 8467 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 8468 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8469 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 8803 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8804 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8805 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 8806 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 8470 8807 else 8471 8808 case $cc_basename in … … 8987 9324 ;; 8988 9325 8989 aix 4* | aix5*)9326 aix[4-9]*) 8990 9327 version_type=linux 8991 9328 need_lib_prefix=no … … 9521 9858 test "$dynamic_linker" = no && can_build_shared=no 9522 9859 9860 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9861 echo $ECHO_N "(cached) $ECHO_C" >&6 9862 else 9863 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 9864 fi 9865 9866 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9867 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9868 echo $ECHO_N "(cached) $ECHO_C" >&6 9869 else 9870 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 9871 fi 9872 9873 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9874 9523 9875 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9524 9876 if test "$GCC" = yes; then … … 9840 10192 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 9841 10193 if test $ac_cv_lib_dld_shl_load = yes; then 9842 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="- dld"10194 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 9843 10195 else 9844 10196 { echo "$as_me:$LINENO: checking for dlopen" >&5 … … 10116 10468 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 10117 10469 if test $ac_cv_lib_dld_dld_link = yes; then 10118 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="- dld"10470 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10119 10471 fi 10120 10472 … … 10165 10517 lt_status=$lt_dlunknown 10166 10518 cat > conftest.$ac_ext <<EOF 10167 #line 10 167"configure"10519 #line 10519 "configure" 10168 10520 #include "confdefs.h" 10169 10521 … … 10265 10617 lt_status=$lt_dlunknown 10266 10618 cat > conftest.$ac_ext <<EOF 10267 #line 10 267"configure"10619 #line 10619 "configure" 10268 10620 #include "confdefs.h" 10269 10621 … … 10392 10744 ;; 10393 10745 10394 aix 4* | aix5*)10746 aix[4-9]*) 10395 10747 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10396 10748 test "$enable_shared" = yes && enable_static=no … … 10448 10800 postdeps \ 10449 10801 compiler_lib_search_path \ 10802 compiler_lib_search_dirs \ 10450 10803 archive_cmds \ 10451 10804 archive_expsym_cmds \ … … 10508 10861 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 10509 10862 # 10510 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 10863 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 10511 10864 # Free Software Foundation, Inc. 10512 10865 # … … 10744 11097 postdeps=$lt_postdeps 10745 11098 11099 # The directories searched by this compiler when creating a shared 11100 # library 11101 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 11102 10746 11103 # The library search path used internally by the compiler when linking 10747 11104 # a shared library. … … 10992 11349 postdeps_CXX= 10993 11350 compiler_lib_search_path_CXX= 11351 compiler_lib_search_dirs_CXX= 10994 11352 10995 11353 # Source file extension for C++ test sources. … … 11029 11387 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 11030 11388 _lt_linker_boilerplate=`cat conftest.err` 11031 $rm conftest*11389 $rm -r conftest* 11032 11390 11033 11391 … … 11236 11594 ld_shlibs_CXX=no 11237 11595 ;; 11238 aix 4* | aix5*)11596 aix[4-9]*) 11239 11597 if test "$host_cpu" = ia64; then 11240 11598 # On IA64, the linker does run time linking by default, so we don't … … 11249 11607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11250 11608 # need to do runtime linking. 11251 case $host_os in aix4.[23]|aix4.[23].*|aix 5*)11609 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11252 11610 for ld_flag in $LDFLAGS; do 11253 11611 case $ld_flag in … … 11507 11865 ;; 11508 11866 darwin* | rhapsody*) 11509 case $host_os in11510 rhapsody* | darwin1.[012])11511 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'11512 ;;11513 *) # Darwin 1.3 on11514 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then11515 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'11516 else11517 case ${MACOSX_DEPLOYMENT_TARGET} in11518 10.[012])11519 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'11520 ;;11521 10.*)11522 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'11523 ;;11524 esac11525 fi11526 ;;11527 esac11528 11867 archive_cmds_need_lc_CXX=no 11529 11868 hardcode_direct_CXX=no … … 11532 11871 whole_archive_flag_spec_CXX='' 11533 11872 link_all_deplibs_CXX=yes 11534 11535 if test "$GXX" = yes ; then 11536 lt_int_apple_cc_single_mod=no 11873 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 11874 if test "$GXX" = yes ; then 11537 11875 output_verbose_link_cmd='echo' 11538 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 11539 lt_int_apple_cc_single_mod=yes 11876 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 11877 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 11878 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 11879 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 11880 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 11881 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 11882 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 11540 11883 fi 11541 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then11542 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'11543 else11544 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'11545 fi11546 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'11547 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds11548 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then11549 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'11550 else11551 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'11552 fi11553 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'11554 11884 else 11555 11885 case $cc_basename in … … 11802 12132 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 11803 12133 ;; 11804 pgCC* )12134 pgCC* | pgcpp*) 11805 12135 # Portland Group C++ compiler 11806 12136 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' … … 12209 12539 LD_CXX="$LD" 12210 12540 12211 12212 12541 cat > conftest.$ac_ext <<EOF 12213 12542 class Foo … … 12311 12640 $rm -f confest.$objext 12312 12641 12642 compiler_lib_search_dirs_CXX= 12643 if test -n "$compiler_lib_search_path_CXX"; then 12644 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 12645 fi 12646 12313 12647 # PORTME: override above test on systems where it is broken 12314 12648 case $host_os in … … 12366 12700 esac 12367 12701 12368 12369 12702 case " $postdeps_CXX " in 12370 12703 *" -lc "*) archive_cmds_need_lc_CXX=no ;; … … 12442 12775 else 12443 12776 case $host_os in 12444 aix 4* | aix5*)12777 aix[4-9]*) 12445 12778 # All AIX code is PIC. 12446 12779 if test "$host_cpu" = ia64; then … … 12538 12871 lt_prog_compiler_static_CXX='-static' 12539 12872 ;; 12540 pgCC* )12873 pgCC* | pgcpp*) 12541 12874 # Portland Group C++ compiler. 12542 12875 lt_prog_compiler_wl_CXX='-Wl,' … … 12669 13002 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 12670 13003 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } 12671 if test "${lt_ prog_compiler_pic_works_CXX+set}" = set; then13004 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then 12672 13005 echo $ECHO_N "(cached) $ECHO_C" >&6 12673 13006 else 12674 lt_ prog_compiler_pic_works_CXX=no13007 lt_cv_prog_compiler_pic_works_CXX=no 12675 13008 ac_outfile=conftest.$ac_objext 12676 13009 echo "$lt_simple_compile_test_code" > conftest.$ac_ext … … 12685 13018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12686 13019 -e 's:$: $lt_compiler_flag:'` 12687 (eval echo "\"\$as_me:1 2687: $lt_compile\"" >&5)13020 (eval echo "\"\$as_me:13020: $lt_compile\"" >&5) 12688 13021 (eval "$lt_compile" 2>conftest.err) 12689 13022 ac_status=$? 12690 13023 cat conftest.err >&5 12691 echo "$as_me:1 2691: \$? = $ac_status" >&513024 echo "$as_me:13024: \$? = $ac_status" >&5 12692 13025 if (exit $ac_status) && test -s "$ac_outfile"; then 12693 13026 # The compiler can only warn and ignore the option if not recognized … … 12696 13029 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12697 13030 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 12698 lt_ prog_compiler_pic_works_CXX=yes13031 lt_cv_prog_compiler_pic_works_CXX=yes 12699 13032 fi 12700 13033 fi … … 12702 13035 12703 13036 fi 12704 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_pic_works_CXX" >&512705 echo "${ECHO_T}$lt_ prog_compiler_pic_works_CXX" >&6; }12706 12707 if test x"$lt_ prog_compiler_pic_works_CXX" = xyes; then13037 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 13038 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } 13039 13040 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 12708 13041 case $lt_prog_compiler_pic_CXX in 12709 13042 "" | " "*) ;; … … 12732 13065 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 12733 13066 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 12734 if test "${lt_ prog_compiler_static_works_CXX+set}" = set; then13067 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then 12735 13068 echo $ECHO_N "(cached) $ECHO_C" >&6 12736 13069 else 12737 lt_ prog_compiler_static_works_CXX=no13070 lt_cv_prog_compiler_static_works_CXX=no 12738 13071 save_LDFLAGS="$LDFLAGS" 12739 13072 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" … … 12748 13081 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 12749 13082 if diff conftest.exp conftest.er2 >/dev/null; then 12750 lt_ prog_compiler_static_works_CXX=yes13083 lt_cv_prog_compiler_static_works_CXX=yes 12751 13084 fi 12752 13085 else 12753 lt_ prog_compiler_static_works_CXX=yes13086 lt_cv_prog_compiler_static_works_CXX=yes 12754 13087 fi 12755 13088 fi 12756 $rm conftest*13089 $rm -r conftest* 12757 13090 LDFLAGS="$save_LDFLAGS" 12758 13091 12759 13092 fi 12760 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_static_works_CXX" >&512761 echo "${ECHO_T}$lt_ prog_compiler_static_works_CXX" >&6; }12762 12763 if test x"$lt_ prog_compiler_static_works_CXX" = xyes; then13093 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 13094 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } 13095 13096 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 12764 13097 : 12765 13098 else … … 12789 13122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12790 13123 -e 's:$: $lt_compiler_flag:'` 12791 (eval echo "\"\$as_me:1 2791: $lt_compile\"" >&5)13124 (eval echo "\"\$as_me:13124: $lt_compile\"" >&5) 12792 13125 (eval "$lt_compile" 2>out/conftest.err) 12793 13126 ac_status=$? 12794 13127 cat out/conftest.err >&5 12795 echo "$as_me:1 2795: \$? = $ac_status" >&513128 echo "$as_me:13128: \$? = $ac_status" >&5 12796 13129 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12797 13130 then … … 12846 13179 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 12847 13180 case $host_os in 12848 aix 4* | aix5*)13181 aix[4-9]*) 12849 13182 # If we're using GNU nm, then we don't want the "-C" option. 12850 13183 # -C means demangle to AIX nm, but means don't demangle with GNU nm … … 12868 13201 ;; 12869 13202 esac 13203 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 12870 13204 12871 13205 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 … … 12969 13303 ;; 12970 13304 12971 aix 4* | aix5*)13305 aix[4-9]*) 12972 13306 version_type=linux 12973 13307 need_lib_prefix=no … … 13502 13836 test "$dynamic_linker" = no && can_build_shared=no 13503 13837 13838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 13839 echo $ECHO_N "(cached) $ECHO_C" >&6 13840 else 13841 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 13842 fi 13843 13844 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 13845 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 13846 echo $ECHO_N "(cached) $ECHO_C" >&6 13847 else 13848 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 13849 fi 13850 13851 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 13852 13504 13853 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 13505 13854 if test "$GCC" = yes; then … … 13585 13934 postdeps_CXX \ 13586 13935 compiler_lib_search_path_CXX \ 13936 compiler_lib_search_dirs_CXX \ 13587 13937 archive_cmds_CXX \ 13588 13938 archive_expsym_cmds_CXX \ … … 13833 14183 postdeps=$lt_postdeps_CXX 13834 14184 14185 # The directories searched by this compiler when creating a shared 14186 # library 14187 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 14188 13835 14189 # The library search path used internally by the compiler when linking 13836 14190 # a shared library. … … 14047 14401 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14048 14402 _lt_linker_boilerplate=`cat conftest.err` 14049 $rm conftest*14403 $rm -r conftest* 14050 14404 14051 14405 … … 14085 14439 fi 14086 14440 ;; 14087 aix 4* | aix5*)14441 aix[4-9]*) 14088 14442 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 14089 14443 test "$enable_shared" = yes && enable_static=no … … 14350 14704 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 14351 14705 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } 14352 if test "${lt_ prog_compiler_pic_works_F77+set}" = set; then14706 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then 14353 14707 echo $ECHO_N "(cached) $ECHO_C" >&6 14354 14708 else 14355 lt_ prog_compiler_pic_works_F77=no14709 lt_cv_prog_compiler_pic_works_F77=no 14356 14710 ac_outfile=conftest.$ac_objext 14357 14711 echo "$lt_simple_compile_test_code" > conftest.$ac_ext … … 14366 14720 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14367 14721 -e 's:$: $lt_compiler_flag:'` 14368 (eval echo "\"\$as_me:14 368: $lt_compile\"" >&5)14722 (eval echo "\"\$as_me:14722: $lt_compile\"" >&5) 14369 14723 (eval "$lt_compile" 2>conftest.err) 14370 14724 ac_status=$? 14371 14725 cat conftest.err >&5 14372 echo "$as_me:14 372: \$? = $ac_status" >&514726 echo "$as_me:14726: \$? = $ac_status" >&5 14373 14727 if (exit $ac_status) && test -s "$ac_outfile"; then 14374 14728 # The compiler can only warn and ignore the option if not recognized … … 14377 14731 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14378 14732 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14379 lt_ prog_compiler_pic_works_F77=yes14733 lt_cv_prog_compiler_pic_works_F77=yes 14380 14734 fi 14381 14735 fi … … 14383 14737 14384 14738 fi 14385 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_pic_works_F77" >&514386 echo "${ECHO_T}$lt_ prog_compiler_pic_works_F77" >&6; }14387 14388 if test x"$lt_ prog_compiler_pic_works_F77" = xyes; then14739 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5 14740 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; } 14741 14742 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then 14389 14743 case $lt_prog_compiler_pic_F77 in 14390 14744 "" | " "*) ;; … … 14413 14767 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14414 14768 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 14415 if test "${lt_ prog_compiler_static_works_F77+set}" = set; then14769 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then 14416 14770 echo $ECHO_N "(cached) $ECHO_C" >&6 14417 14771 else 14418 lt_ prog_compiler_static_works_F77=no14772 lt_cv_prog_compiler_static_works_F77=no 14419 14773 save_LDFLAGS="$LDFLAGS" 14420 14774 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" … … 14429 14783 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14430 14784 if diff conftest.exp conftest.er2 >/dev/null; then 14431 lt_ prog_compiler_static_works_F77=yes14785 lt_cv_prog_compiler_static_works_F77=yes 14432 14786 fi 14433 14787 else 14434 lt_ prog_compiler_static_works_F77=yes14788 lt_cv_prog_compiler_static_works_F77=yes 14435 14789 fi 14436 14790 fi 14437 $rm conftest*14791 $rm -r conftest* 14438 14792 LDFLAGS="$save_LDFLAGS" 14439 14793 14440 14794 fi 14441 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_static_works_F77" >&514442 echo "${ECHO_T}$lt_ prog_compiler_static_works_F77" >&6; }14443 14444 if test x"$lt_ prog_compiler_static_works_F77" = xyes; then14795 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5 14796 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; } 14797 14798 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then 14445 14799 : 14446 14800 else … … 14470 14824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14471 14825 -e 's:$: $lt_compiler_flag:'` 14472 (eval echo "\"\$as_me:14 472: $lt_compile\"" >&5)14826 (eval echo "\"\$as_me:14826: $lt_compile\"" >&5) 14473 14827 (eval "$lt_compile" 2>out/conftest.err) 14474 14828 ac_status=$? 14475 14829 cat out/conftest.err >&5 14476 echo "$as_me:14 476: \$? = $ac_status" >&514830 echo "$as_me:14830: \$? = $ac_status" >&5 14477 14831 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14478 14832 then … … 14554 14908 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 14555 14909 # as well as any symbol that contains `d'. 14556 exclude_expsyms_F77= "_GLOBAL_OFFSET_TABLE_"14910 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14557 14911 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 14558 14912 # platforms (ab)use it in PIC code, but their linkers get confused if … … 14560 14914 # rely on this symbol name, it's probably fine to never include it in 14561 14915 # preloaded symbol tables. 14916 # Exclude shared library initialization/finalization symbols. 14562 14917 extract_expsyms_cmds= 14563 14918 # Just being paranoid about ensuring that cc_basename is set. … … 14618 14973 # See if GNU ld supports shared libraries. 14619 14974 case $host_os in 14620 aix 3* | aix4* | aix5*)14975 aix[3-9]*) 14621 14976 # On AIX/PPC, the GNU linker is very broken 14622 14977 if test "$host_cpu" != ia64; then … … 14838 15193 ;; 14839 15194 14840 aix 4* | aix5*)15195 aix[4-9]*) 14841 15196 if test "$host_cpu" = ia64; then 14842 15197 # On IA64, the linker does run time linking by default, so we don't … … 14858 15213 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14859 15214 # need to do runtime linking. 14860 case $host_os in aix4.[23]|aix4.[23].*|aix 5*)15215 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14861 15216 for ld_flag in $LDFLAGS; do 14862 15217 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then … … 15110 15465 if test "$GCC" = yes ; then 15111 15466 output_verbose_link_cmd='echo' 15112 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 15113 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 15114 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 15115 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15116 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 15467 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 15468 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 15469 archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 15470 module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 15117 15471 else 15118 15472 case $cc_basename in … … 15583 15937 ;; 15584 15938 15585 aix 4* | aix5*)15939 aix[4-9]*) 15586 15940 version_type=linux 15587 15941 need_lib_prefix=no … … 16116 16470 test "$dynamic_linker" = no && can_build_shared=no 16117 16471 16472 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16473 echo $ECHO_N "(cached) $ECHO_C" >&6 16474 else 16475 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 16476 fi 16477 16478 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16479 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16480 echo $ECHO_N "(cached) $ECHO_C" >&6 16481 else 16482 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 16483 fi 16484 16485 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16486 16118 16487 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16119 16488 if test "$GCC" = yes; then … … 16199 16568 postdeps_F77 \ 16200 16569 compiler_lib_search_path_F77 \ 16570 compiler_lib_search_dirs_F77 \ 16201 16571 archive_cmds_F77 \ 16202 16572 archive_expsym_cmds_F77 \ … … 16447 16817 postdeps=$lt_postdeps_F77 16448 16818 16819 # The directories searched by this compiler when creating a shared 16820 # library 16821 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77 16822 16449 16823 # The library search path used internally by the compiler when linking 16450 16824 # a shared library. … … 16621 16995 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 16622 16996 _lt_linker_boilerplate=`cat conftest.err` 16623 $rm conftest*16997 $rm -r conftest* 16624 16998 16625 16999 … … 16670 17044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16671 17045 -e 's:$: $lt_compiler_flag:'` 16672 (eval echo "\"\$as_me:1 6672: $lt_compile\"" >&5)17046 (eval echo "\"\$as_me:17046: $lt_compile\"" >&5) 16673 17047 (eval "$lt_compile" 2>conftest.err) 16674 17048 ac_status=$? 16675 17049 cat conftest.err >&5 16676 echo "$as_me:1 6676: \$? = $ac_status" >&517050 echo "$as_me:17050: \$? = $ac_status" >&5 16677 17051 if (exit $ac_status) && test -s "$ac_outfile"; then 16678 17052 # The compiler can only warn and ignore the option if not recognized … … 16734 17108 # Although the cygwin gcc ignores -fPIC, still need this for old-style 16735 17109 # (--disable-auto-import) libraries 16736 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 17110 16737 17111 ;; 16738 17112 … … 16804 17178 # This hack is so that the source file can tell whether it is being 16805 17179 # built for inclusion in a dll (and should export symbols for example). 16806 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' 17180 16807 17181 ;; 16808 17182 … … 16944 17318 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 16945 17319 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } 16946 if test "${lt_ prog_compiler_pic_works_GCJ+set}" = set; then17320 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then 16947 17321 echo $ECHO_N "(cached) $ECHO_C" >&6 16948 17322 else 16949 lt_ prog_compiler_pic_works_GCJ=no17323 lt_cv_prog_compiler_pic_works_GCJ=no 16950 17324 ac_outfile=conftest.$ac_objext 16951 17325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext … … 16960 17334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16961 17335 -e 's:$: $lt_compiler_flag:'` 16962 (eval echo "\"\$as_me:1 6962: $lt_compile\"" >&5)17336 (eval echo "\"\$as_me:17336: $lt_compile\"" >&5) 16963 17337 (eval "$lt_compile" 2>conftest.err) 16964 17338 ac_status=$? 16965 17339 cat conftest.err >&5 16966 echo "$as_me:1 6966: \$? = $ac_status" >&517340 echo "$as_me:17340: \$? = $ac_status" >&5 16967 17341 if (exit $ac_status) && test -s "$ac_outfile"; then 16968 17342 # The compiler can only warn and ignore the option if not recognized … … 16971 17345 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 16972 17346 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 16973 lt_ prog_compiler_pic_works_GCJ=yes17347 lt_cv_prog_compiler_pic_works_GCJ=yes 16974 17348 fi 16975 17349 fi … … 16977 17351 16978 17352 fi 16979 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_pic_works_GCJ" >&516980 echo "${ECHO_T}$lt_ prog_compiler_pic_works_GCJ" >&6; }16981 16982 if test x"$lt_ prog_compiler_pic_works_GCJ" = xyes; then17353 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5 17354 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; } 17355 17356 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then 16983 17357 case $lt_prog_compiler_pic_GCJ in 16984 17358 "" | " "*) ;; … … 17007 17381 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 17008 17382 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 17009 if test "${lt_ prog_compiler_static_works_GCJ+set}" = set; then17383 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then 17010 17384 echo $ECHO_N "(cached) $ECHO_C" >&6 17011 17385 else 17012 lt_ prog_compiler_static_works_GCJ=no17386 lt_cv_prog_compiler_static_works_GCJ=no 17013 17387 save_LDFLAGS="$LDFLAGS" 17014 17388 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" … … 17023 17397 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 17024 17398 if diff conftest.exp conftest.er2 >/dev/null; then 17025 lt_ prog_compiler_static_works_GCJ=yes17399 lt_cv_prog_compiler_static_works_GCJ=yes 17026 17400 fi 17027 17401 else 17028 lt_ prog_compiler_static_works_GCJ=yes17402 lt_cv_prog_compiler_static_works_GCJ=yes 17029 17403 fi 17030 17404 fi 17031 $rm conftest*17405 $rm -r conftest* 17032 17406 LDFLAGS="$save_LDFLAGS" 17033 17407 17034 17408 fi 17035 { echo "$as_me:$LINENO: result: $lt_ prog_compiler_static_works_GCJ" >&517036 echo "${ECHO_T}$lt_ prog_compiler_static_works_GCJ" >&6; }17037 17038 if test x"$lt_ prog_compiler_static_works_GCJ" = xyes; then17409 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5 17410 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; } 17411 17412 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then 17039 17413 : 17040 17414 else … … 17064 17438 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17065 17439 -e 's:$: $lt_compiler_flag:'` 17066 (eval echo "\"\$as_me:17 066: $lt_compile\"" >&5)17440 (eval echo "\"\$as_me:17440: $lt_compile\"" >&5) 17067 17441 (eval "$lt_compile" 2>out/conftest.err) 17068 17442 ac_status=$? 17069 17443 cat out/conftest.err >&5 17070 echo "$as_me:17 070: \$? = $ac_status" >&517444 echo "$as_me:17444: \$? = $ac_status" >&5 17071 17445 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17072 17446 then … … 17148 17522 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 17149 17523 # as well as any symbol that contains `d'. 17150 exclude_expsyms_GCJ= "_GLOBAL_OFFSET_TABLE_"17524 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 17151 17525 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 17152 17526 # platforms (ab)use it in PIC code, but their linkers get confused if … … 17154 17528 # rely on this symbol name, it's probably fine to never include it in 17155 17529 # preloaded symbol tables. 17530 # Exclude shared library initialization/finalization symbols. 17156 17531 extract_expsyms_cmds= 17157 17532 # Just being paranoid about ensuring that cc_basename is set. … … 17212 17587 # See if GNU ld supports shared libraries. 17213 17588 case $host_os in 17214 aix 3* | aix4* | aix5*)17589 aix[3-9]*) 17215 17590 # On AIX/PPC, the GNU linker is very broken 17216 17591 if test "$host_cpu" != ia64; then … … 17432 17807 ;; 17433 17808 17434 aix 4* | aix5*)17809 aix[4-9]*) 17435 17810 if test "$host_cpu" = ia64; then 17436 17811 # On IA64, the linker does run time linking by default, so we don't … … 17452 17827 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 17453 17828 # need to do runtime linking. 17454 case $host_os in aix4.[23]|aix4.[23].*|aix 5*)17829 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 17455 17830 for ld_flag in $LDFLAGS; do 17456 17831 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then … … 17724 18099 if test "$GCC" = yes ; then 17725 18100 output_verbose_link_cmd='echo' 17726 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 17727 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 17728 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 17729 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 17730 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 18101 archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 18102 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 18103 archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 18104 module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 17731 18105 else 17732 18106 case $cc_basename in … … 18197 18571 ;; 18198 18572 18199 aix 4* | aix5*)18573 aix[4-9]*) 18200 18574 version_type=linux 18201 18575 need_lib_prefix=no … … 18730 19104 test "$dynamic_linker" = no && can_build_shared=no 18731 19105 19106 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 19107 echo $ECHO_N "(cached) $ECHO_C" >&6 19108 else 19109 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" 19110 fi 19111 19112 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 19113 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 19114 echo $ECHO_N "(cached) $ECHO_C" >&6 19115 else 19116 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" 19117 fi 19118 19119 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 19120 18732 19121 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 18733 19122 if test "$GCC" = yes; then … … 18813 19202 postdeps_GCJ \ 18814 19203 compiler_lib_search_path_GCJ \ 19204 compiler_lib_search_dirs_GCJ \ 18815 19205 archive_cmds_GCJ \ 18816 19206 archive_expsym_cmds_GCJ \ … … 19061 19451 postdeps=$lt_postdeps_GCJ 19062 19452 19453 # The directories searched by this compiler when creating a shared 19454 # library 19455 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ 19456 19063 19457 # The library search path used internally by the compiler when linking 19064 19458 # a shared library. … … 19234 19628 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 19235 19629 _lt_linker_boilerplate=`cat conftest.err` 19236 $rm conftest*19630 $rm -r conftest* 19237 19631 19238 19632 … … 19294 19688 postdeps_RC \ 19295 19689 compiler_lib_search_path_RC \ 19690 compiler_lib_search_dirs_RC \ 19296 19691 archive_cmds_RC \ 19297 19692 archive_expsym_cmds_RC \ … … 19542 19937 postdeps=$lt_postdeps_RC 19543 19938 19939 # The directories searched by this compiler when creating a shared 19940 # library 19941 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC 19942 19544 19943 # The library search path used internally by the compiler when linking 19545 19944 # a shared library. … … 19743 20142 19744 20143 20144 20145 20146 GETTEXT_MACRO_VERSION=0.17 19745 20147 19746 20148 … … 20020 20422 20021 20423 20424 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 20425 20426 20022 20427 ac_config_commands="$ac_config_commands po-directories" 20023 20428 … … 20172 20577 echo "${ECHO_T}$acl_cv_rpath" >&6; } 20173 20578 wl="$acl_cv_wl" 20174 libext="$acl_cv_libext" 20175 shlibext="$acl_cv_shlibext" 20176 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 20177 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 20178 hardcode_direct="$acl_cv_hardcode_direct" 20179 hardcode_minus_L="$acl_cv_hardcode_minus_L" 20579 acl_libext="$acl_cv_libext" 20580 acl_shlibext="$acl_cv_shlibext" 20581 acl_libname_spec="$acl_cv_libname_spec" 20582 acl_library_names_spec="$acl_cv_library_names_spec" 20583 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 20584 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 20585 acl_hardcode_direct="$acl_cv_hardcode_direct" 20586 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 20180 20587 # Check whether --enable-rpath was given. 20181 20588 if test "${enable_rpath+set}" = set; then … … 20212 20619 20213 20620 20621 20214 20622 use_additional=yes 20215 20623 … … 20256 20664 LTLIBICONV= 20257 20665 INCICONV= 20666 LIBICONV_PREFIX= 20258 20667 rpathdirs= 20259 20668 ltrpathdirs= … … 20289 20698 found_so= 20290 20699 found_a= 20700 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 20701 if test -n "$acl_shlibext"; then 20702 shrext=".$acl_shlibext" # typically: shrext=.so 20703 else 20704 shrext= 20705 fi 20291 20706 if test $use_additional = yes; then 20292 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 20293 found_dir="$additional_libdir" 20294 found_so="$additional_libdir/lib$name.$shlibext" 20295 if test -f "$additional_libdir/lib$name.la"; then 20296 found_la="$additional_libdir/lib$name.la" 20707 dir="$additional_libdir" 20708 if test -n "$acl_shlibext"; then 20709 if test -f "$dir/$libname$shrext"; then 20710 found_dir="$dir" 20711 found_so="$dir/$libname$shrext" 20712 else 20713 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 20714 ver=`(cd "$dir" && \ 20715 for f in "$libname$shrext".*; do echo "$f"; done \ 20716 | sed -e "s,^$libname$shrext\\\\.,," \ 20717 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 20718 | sed 1q ) 2>/dev/null` 20719 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 20720 found_dir="$dir" 20721 found_so="$dir/$libname$shrext.$ver" 20722 fi 20723 else 20724 eval library_names=\"$acl_library_names_spec\" 20725 for f in $library_names; do 20726 if test -f "$dir/$f"; then 20727 found_dir="$dir" 20728 found_so="$dir/$f" 20729 break 20730 fi 20731 done 20732 fi 20297 20733 fi 20298 else 20299 if test -f "$additional_libdir/lib$name.$libext"; then 20300 found_dir="$additional_libdir" 20301 found_a="$additional_libdir/lib$name.$libext" 20302 if test -f "$additional_libdir/lib$name.la"; then 20303 found_la="$additional_libdir/lib$name.la" 20304 fi 20734 fi 20735 if test "X$found_dir" = "X"; then 20736 if test -f "$dir/$libname.$acl_libext"; then 20737 found_dir="$dir" 20738 found_a="$dir/$libname.$acl_libext" 20739 fi 20740 fi 20741 if test "X$found_dir" != "X"; then 20742 if test -f "$dir/$libname.la"; then 20743 found_la="$dir/$libname.la" 20305 20744 fi 20306 20745 fi … … 20320 20759 -L*) 20321 20760 dir=`echo "X$x" | sed -e 's/^X-L//'` 20322 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 20323 found_dir="$dir" 20324 found_so="$dir/lib$name.$shlibext" 20325 if test -f "$dir/lib$name.la"; then 20326 found_la="$dir/lib$name.la" 20761 if test -n "$acl_shlibext"; then 20762 if test -f "$dir/$libname$shrext"; then 20763 found_dir="$dir" 20764 found_so="$dir/$libname$shrext" 20765 else 20766 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 20767 ver=`(cd "$dir" && \ 20768 for f in "$libname$shrext".*; do echo "$f"; done \ 20769 | sed -e "s,^$libname$shrext\\\\.,," \ 20770 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 20771 | sed 1q ) 2>/dev/null` 20772 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 20773 found_dir="$dir" 20774 found_so="$dir/$libname$shrext.$ver" 20775 fi 20776 else 20777 eval library_names=\"$acl_library_names_spec\" 20778 for f in $library_names; do 20779 if test -f "$dir/$f"; then 20780 found_dir="$dir" 20781 found_so="$dir/$f" 20782 break 20783 fi 20784 done 20785 fi 20327 20786 fi 20328 else 20329 if test -f "$dir/lib$name.$libext"; then 20787 fi 20788 if test "X$found_dir" = "X"; then 20789 if test -f "$dir/$libname.$acl_libext"; then 20330 20790 found_dir="$dir" 20331 found_a="$dir/lib$name.$libext" 20332 if test -f "$dir/lib$name.la"; then 20333 found_la="$dir/lib$name.la" 20334 fi 20791 found_a="$dir/$libname.$acl_libext" 20792 fi 20793 fi 20794 if test "X$found_dir" != "X"; then 20795 if test -f "$dir/$libname.la"; then 20796 found_la="$dir/$libname.la" 20335 20797 fi 20336 20798 fi … … 20358 20820 ltrpathdirs="$ltrpathdirs $found_dir" 20359 20821 fi 20360 if test "$ hardcode_direct" = yes; then20822 if test "$acl_hardcode_direct" = yes; then 20361 20823 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20362 20824 else 20363 if test -n "$ hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then20825 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 20364 20826 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20365 20827 haveit= … … 20393 20855 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 20394 20856 fi 20395 if test "$ hardcode_minus_L" != no; then20857 if test "$acl_hardcode_minus_L" != no; then 20396 20858 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 20397 20859 else … … 20412 20874 */$acl_libdirstem | */$acl_libdirstem/) 20413 20875 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 20876 LIBICONV_PREFIX="$basedir" 20414 20877 additional_includedir="$basedir/include" 20415 20878 ;; … … 20562 21025 done 20563 21026 if test "X$rpathdirs" != "X"; then 20564 if test -n "$ hardcode_libdir_separator"; then21027 if test -n "$acl_hardcode_libdir_separator"; then 20565 21028 alldirs= 20566 21029 for found_dir in $rpathdirs; do 20567 alldirs="${alldirs}${alldirs:+$ hardcode_libdir_separator}$found_dir"21030 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 20568 21031 done 20569 21032 acl_save_libdir="$libdir" 20570 21033 libdir="$alldirs" 20571 eval flag=\"$ hardcode_libdir_flag_spec\"21034 eval flag=\"$acl_hardcode_libdir_flag_spec\" 20572 21035 libdir="$acl_save_libdir" 20573 21036 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" … … 20576 21039 acl_save_libdir="$libdir" 20577 21040 libdir="$found_dir" 20578 eval flag=\"$ hardcode_libdir_flag_spec\"21041 eval flag=\"$acl_hardcode_libdir_flag_spec\" 20579 21042 libdir="$acl_save_libdir" 20580 21043 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" … … 20587 21050 done 20588 21051 fi 21052 21053 21054 21055 21056 21057 21058 20589 21059 20590 21060 … … 20741 21211 POSUB= 20742 21212 21213 case " $gt_needs " in 21214 *" need-formatstring-macros "*) gt_api_version=3 ;; 21215 *" need-ngettext "*) gt_api_version=2 ;; 21216 *) gt_api_version=1 ;; 21217 esac 21218 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 21219 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 21220 20743 21221 if test "$USE_NLS" = "yes"; then 20744 21222 gt_use_preinstalled_gnugettext=no 20745 21223 20746 21224 20747 20748 20749 21225 if test $gt_api_version -ge 3; then 21226 gt_revision_test_code=' 21227 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION 21228 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 21229 #endif 21230 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 21231 ' 21232 else 21233 gt_revision_test_code= 21234 fi 21235 if test $gt_api_version -ge 2; then 21236 gt_expression_test_code=' + * ngettext ("", "", 0)' 21237 else 21238 gt_expression_test_code= 21239 fi 20750 21240 20751 21241 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 20752 21242 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } 20753 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then21243 if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then 20754 21244 echo $ECHO_N "(cached) $ECHO_C" >&6 20755 21245 else … … 20761 21251 /* end confdefs.h. */ 20762 21252 #include <libintl.h> 21253 $gt_revision_test_code 20763 21254 extern int _nl_msg_cat_cntr; 20764 21255 extern int *_nl_domain_bindings; … … 20767 21258 { 20768 21259 bindtextdomain ("", ""); 20769 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings21260 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 20770 21261 ; 20771 21262 return 0; … … 20790 21281 } && test -s conftest$ac_exeext && 20791 21282 $as_test_x conftest$ac_exeext; then 20792 gt_cv_func_gnugettext1_libc=yes21283 eval "$gt_func_gnugettext_libc=yes" 20793 21284 else 20794 21285 echo "$as_me: failed program was:" >&5 20795 21286 sed 's/^/| /' conftest.$ac_ext >&5 20796 21287 20797 gt_cv_func_gnugettext1_libc=no21288 eval "$gt_func_gnugettext_libc=no" 20798 21289 fi 20799 21290 … … 20801 21292 conftest$ac_exeext conftest.$ac_ext 20802 21293 fi 20803 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 20804 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; } 20805 20806 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 21294 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` 21295 { echo "$as_me:$LINENO: result: $ac_res" >&5 21296 echo "${ECHO_T}$ac_res" >&6; } 21297 21298 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 20807 21299 20808 21300 … … 20946 21438 echo "${ECHO_T}$am_cv_func_iconv" >&6; } 20947 21439 if test "$am_cv_func_iconv" = yes; then 21440 { echo "$as_me:$LINENO: checking for working iconv" >&5 21441 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; } 21442 if test "${am_cv_func_iconv_works+set}" = set; then 21443 echo $ECHO_N "(cached) $ECHO_C" >&6 21444 else 21445 21446 am_save_LIBS="$LIBS" 21447 if test $am_cv_lib_iconv = yes; then 21448 LIBS="$LIBS $LIBICONV" 21449 fi 21450 if test "$cross_compiling" = yes; then 21451 case "$host_os" in 21452 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 21453 *) am_cv_func_iconv_works="guessing yes" ;; 21454 esac 21455 else 21456 cat >conftest.$ac_ext <<_ACEOF 21457 /* confdefs.h. */ 21458 _ACEOF 21459 cat confdefs.h >>conftest.$ac_ext 21460 cat >>conftest.$ac_ext <<_ACEOF 21461 /* end confdefs.h. */ 21462 21463 #include <iconv.h> 21464 #include <string.h> 21465 int main () 21466 { 21467 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 21468 returns. */ 21469 { 21470 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 21471 if (cd_utf8_to_88591 != (iconv_t)(-1)) 21472 { 21473 static const char input[] = "\342\202\254"; /* EURO SIGN */ 21474 char buf[10]; 21475 const char *inptr = input; 21476 size_t inbytesleft = strlen (input); 21477 char *outptr = buf; 21478 size_t outbytesleft = sizeof (buf); 21479 size_t res = iconv (cd_utf8_to_88591, 21480 (char **) &inptr, &inbytesleft, 21481 &outptr, &outbytesleft); 21482 if (res == 0) 21483 return 1; 21484 } 21485 } 21486 #if 0 /* This bug could be worked around by the caller. */ 21487 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 21488 { 21489 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 21490 if (cd_88591_to_utf8 != (iconv_t)(-1)) 21491 { 21492 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 21493 char buf[50]; 21494 const char *inptr = input; 21495 size_t inbytesleft = strlen (input); 21496 char *outptr = buf; 21497 size_t outbytesleft = sizeof (buf); 21498 size_t res = iconv (cd_88591_to_utf8, 21499 (char **) &inptr, &inbytesleft, 21500 &outptr, &outbytesleft); 21501 if ((int)res > 0) 21502 return 1; 21503 } 21504 } 21505 #endif 21506 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 21507 provided. */ 21508 if (/* Try standardized names. */ 21509 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 21510 /* Try IRIX, OSF/1 names. */ 21511 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 21512 /* Try AIX names. */ 21513 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 21514 /* Try HP-UX names. */ 21515 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 21516 return 1; 21517 return 0; 21518 } 21519 _ACEOF 21520 rm -f conftest$ac_exeext 21521 if { (ac_try="$ac_link" 21522 case "(($ac_try" in 21523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21524 *) ac_try_echo=$ac_try;; 21525 esac 21526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21527 (eval "$ac_link") 2>&5 21528 ac_status=$? 21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21531 { (case "(($ac_try" in 21532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21533 *) ac_try_echo=$ac_try;; 21534 esac 21535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21536 (eval "$ac_try") 2>&5 21537 ac_status=$? 21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21539 (exit $ac_status); }; }; then 21540 am_cv_func_iconv_works=yes 21541 else 21542 echo "$as_me: program exited with status $ac_status" >&5 21543 echo "$as_me: failed program was:" >&5 21544 sed 's/^/| /' conftest.$ac_ext >&5 21545 21546 ( exit $ac_status ) 21547 am_cv_func_iconv_works=no 21548 fi 21549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21550 fi 21551 21552 21553 LIBS="$am_save_LIBS" 21554 21555 fi 21556 { echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5 21557 echo "${ECHO_T}$am_cv_func_iconv_works" >&6; } 21558 case "$am_cv_func_iconv_works" in 21559 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 21560 *) am_func_iconv=yes ;; 21561 esac 21562 else 21563 am_func_iconv=no am_cv_lib_iconv=no 21564 fi 21565 if test "$am_func_iconv" = yes; then 20948 21566 20949 21567 cat >>confdefs.h <<\_ACEOF … … 20969 21587 20970 21588 21589 20971 21590 use_additional=yes 20972 21591 … … 21013 21632 LTLIBINTL= 21014 21633 INCINTL= 21634 LIBINTL_PREFIX= 21015 21635 rpathdirs= 21016 21636 ltrpathdirs= … … 21046 21666 found_so= 21047 21667 found_a= 21668 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 21669 if test -n "$acl_shlibext"; then 21670 shrext=".$acl_shlibext" # typically: shrext=.so 21671 else 21672 shrext= 21673 fi 21048 21674 if test $use_additional = yes; then 21049 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 21050 found_dir="$additional_libdir" 21051 found_so="$additional_libdir/lib$name.$shlibext" 21052 if test -f "$additional_libdir/lib$name.la"; then 21053 found_la="$additional_libdir/lib$name.la" 21675 dir="$additional_libdir" 21676 if test -n "$acl_shlibext"; then 21677 if test -f "$dir/$libname$shrext"; then 21678 found_dir="$dir" 21679 found_so="$dir/$libname$shrext" 21680 else 21681 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 21682 ver=`(cd "$dir" && \ 21683 for f in "$libname$shrext".*; do echo "$f"; done \ 21684 | sed -e "s,^$libname$shrext\\\\.,," \ 21685 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 21686 | sed 1q ) 2>/dev/null` 21687 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 21688 found_dir="$dir" 21689 found_so="$dir/$libname$shrext.$ver" 21690 fi 21691 else 21692 eval library_names=\"$acl_library_names_spec\" 21693 for f in $library_names; do 21694 if test -f "$dir/$f"; then 21695 found_dir="$dir" 21696 found_so="$dir/$f" 21697 break 21698 fi 21699 done 21700 fi 21054 21701 fi 21055 else 21056 if test -f "$additional_libdir/lib$name.$libext"; then 21057 found_dir="$additional_libdir" 21058 found_a="$additional_libdir/lib$name.$libext" 21059 if test -f "$additional_libdir/lib$name.la"; then 21060 found_la="$additional_libdir/lib$name.la" 21061 fi 21702 fi 21703 if test "X$found_dir" = "X"; then 21704 if test -f "$dir/$libname.$acl_libext"; then 21705 found_dir="$dir" 21706 found_a="$dir/$libname.$acl_libext" 21707 fi 21708 fi 21709 if test "X$found_dir" != "X"; then 21710 if test -f "$dir/$libname.la"; then 21711 found_la="$dir/$libname.la" 21062 21712 fi 21063 21713 fi … … 21077 21727 -L*) 21078 21728 dir=`echo "X$x" | sed -e 's/^X-L//'` 21079 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 21080 found_dir="$dir" 21081 found_so="$dir/lib$name.$shlibext" 21082 if test -f "$dir/lib$name.la"; then 21083 found_la="$dir/lib$name.la" 21729 if test -n "$acl_shlibext"; then 21730 if test -f "$dir/$libname$shrext"; then 21731 found_dir="$dir" 21732 found_so="$dir/$libname$shrext" 21733 else 21734 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 21735 ver=`(cd "$dir" && \ 21736 for f in "$libname$shrext".*; do echo "$f"; done \ 21737 | sed -e "s,^$libname$shrext\\\\.,," \ 21738 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 21739 | sed 1q ) 2>/dev/null` 21740 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 21741 found_dir="$dir" 21742 found_so="$dir/$libname$shrext.$ver" 21743 fi 21744 else 21745 eval library_names=\"$acl_library_names_spec\" 21746 for f in $library_names; do 21747 if test -f "$dir/$f"; then 21748 found_dir="$dir" 21749 found_so="$dir/$f" 21750 break 21751 fi 21752 done 21753 fi 21084 21754 fi 21085 else 21086 if test -f "$dir/lib$name.$libext"; then 21755 fi 21756 if test "X$found_dir" = "X"; then 21757 if test -f "$dir/$libname.$acl_libext"; then 21087 21758 found_dir="$dir" 21088 found_a="$dir/lib$name.$libext" 21089 if test -f "$dir/lib$name.la"; then 21090 found_la="$dir/lib$name.la" 21091 fi 21759 found_a="$dir/$libname.$acl_libext" 21760 fi 21761 fi 21762 if test "X$found_dir" != "X"; then 21763 if test -f "$dir/$libname.la"; then 21764 found_la="$dir/$libname.la" 21092 21765 fi 21093 21766 fi … … 21115 21788 ltrpathdirs="$ltrpathdirs $found_dir" 21116 21789 fi 21117 if test "$ hardcode_direct" = yes; then21790 if test "$acl_hardcode_direct" = yes; then 21118 21791 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 21119 21792 else 21120 if test -n "$ hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then21793 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 21121 21794 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 21122 21795 haveit= … … 21150 21823 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 21151 21824 fi 21152 if test "$ hardcode_minus_L" != no; then21825 if test "$acl_hardcode_minus_L" != no; then 21153 21826 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 21154 21827 else … … 21169 21842 */$acl_libdirstem | */$acl_libdirstem/) 21170 21843 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 21844 LIBINTL_PREFIX="$basedir" 21171 21845 additional_includedir="$basedir/include" 21172 21846 ;; … … 21319 21993 done 21320 21994 if test "X$rpathdirs" != "X"; then 21321 if test -n "$ hardcode_libdir_separator"; then21995 if test -n "$acl_hardcode_libdir_separator"; then 21322 21996 alldirs= 21323 21997 for found_dir in $rpathdirs; do 21324 alldirs="${alldirs}${alldirs:+$ hardcode_libdir_separator}$found_dir"21998 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 21325 21999 done 21326 22000 acl_save_libdir="$libdir" 21327 22001 libdir="$alldirs" 21328 eval flag=\"$ hardcode_libdir_flag_spec\"22002 eval flag=\"$acl_hardcode_libdir_flag_spec\" 21329 22003 libdir="$acl_save_libdir" 21330 22004 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" … … 21333 22007 acl_save_libdir="$libdir" 21334 22008 libdir="$found_dir" 21335 eval flag=\"$ hardcode_libdir_flag_spec\"22009 eval flag=\"$acl_hardcode_libdir_flag_spec\" 21336 22010 libdir="$acl_save_libdir" 21337 22011 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" … … 21347 22021 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 21348 22022 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } 21349 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then22023 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then 21350 22024 echo $ECHO_N "(cached) $ECHO_C" >&6 21351 22025 else … … 21361 22035 /* end confdefs.h. */ 21362 22036 #include <libintl.h> 22037 $gt_revision_test_code 21363 22038 extern int _nl_msg_cat_cntr; 21364 22039 extern … … 21371 22046 { 21372 22047 bindtextdomain ("", ""); 21373 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")22048 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 21374 22049 ; 21375 22050 return 0; … … 21394 22069 } && test -s conftest$ac_exeext && 21395 22070 $as_test_x conftest$ac_exeext; then 21396 gt_cv_func_gnugettext1_libintl=yes22071 eval "$gt_func_gnugettext_libintl=yes" 21397 22072 else 21398 22073 echo "$as_me: failed program was:" >&5 21399 22074 sed 's/^/| /' conftest.$ac_ext >&5 21400 22075 21401 gt_cv_func_gnugettext1_libintl=no22076 eval "$gt_func_gnugettext_libintl=no" 21402 22077 fi 21403 22078 21404 22079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21405 22080 conftest$ac_exeext conftest.$ac_ext 21406 if test "$gt_cv_func_gnugettext1_libintl" != yes&& test -n "$LIBICONV"; then22081 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 21407 22082 LIBS="$LIBS $LIBICONV" 21408 22083 cat >conftest.$ac_ext <<_ACEOF … … 21413 22088 /* end confdefs.h. */ 21414 22089 #include <libintl.h> 22090 $gt_revision_test_code 21415 22091 extern int _nl_msg_cat_cntr; 21416 22092 extern … … 21423 22099 { 21424 22100 bindtextdomain ("", ""); 21425 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")22101 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 21426 22102 ; 21427 22103 return 0; … … 21448 22124 LIBINTL="$LIBINTL $LIBICONV" 21449 22125 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 21450 gt_cv_func_gnugettext1_libintl=yes22126 eval "$gt_func_gnugettext_libintl=yes" 21451 22127 21452 22128 else … … 21463 22139 LIBS="$gt_save_LIBS" 21464 22140 fi 21465 { echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 21466 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; } 22141 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` 22142 { echo "$as_me:$LINENO: result: $ac_res" >&5 22143 echo "${ECHO_T}$ac_res" >&6; } 21467 22144 fi 21468 22145 21469 if test "$gt_cv_func_gnugettext1_libc" = "yes"\21470 || { test "$gt_cv_func_gnugettext1_libintl" = "yes"\22146 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 22147 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 21471 22148 && test "$PACKAGE" != gettext-runtime \ 21472 22149 && test "$PACKAGE" != gettext-tools; }; then … … 21508 22185 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } 21509 22186 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 21510 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then22187 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 21511 22188 gt_source="external libintl" 21512 22189 else … … 21523 22200 21524 22201 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 21525 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then22202 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 21526 22203 { echo "$as_me:$LINENO: checking how to link with libintl" >&5 21527 22204 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } … … 24143 24820 24144 24821 pkg_failed=no 24822 { echo "$as_me:$LINENO: checking for GSTREAMER" >&5 24823 echo $ECHO_N "checking for GSTREAMER... $ECHO_C" >&6; } 24824 24825 if test -n "$PKG_CONFIG"; then 24826 if test -n "$GSTREAMER_CFLAGS"; then 24827 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 24828 else 24829 if test -n "$PKG_CONFIG" && \ 24830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10\"") >&5 24831 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10") 2>&5 24832 ac_status=$? 24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24834 (exit $ac_status); }; then 24835 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10" 2>/dev/null` 24836 else 24837 pkg_failed=yes 24838 fi 24839 fi 24840 else 24841 pkg_failed=untried 24842 fi 24843 if test -n "$PKG_CONFIG"; then 24844 if test -n "$GSTREAMER_LIBS"; then 24845 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 24846 else 24847 if test -n "$PKG_CONFIG" && \ 24848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10\"") >&5 24849 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10") 2>&5 24850 ac_status=$? 24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24852 (exit $ac_status); }; then 24853 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10" 2>/dev/null` 24854 else 24855 pkg_failed=yes 24856 fi 24857 fi 24858 else 24859 pkg_failed=untried 24860 fi 24861 24862 24863 24864 if test $pkg_failed = yes; then 24865 24866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24867 _pkg_short_errors_supported=yes 24868 else 24869 _pkg_short_errors_supported=no 24870 fi 24871 if test $_pkg_short_errors_supported = yes; then 24872 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10"` 24873 else 24874 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10"` 24875 fi 24876 # Put the nasty error message in config.log where it belongs 24877 echo "$GSTREAMER_PKG_ERRORS" >&5 24878 24879 { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) were not met: 24880 24881 $GSTREAMER_PKG_ERRORS 24882 24883 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24884 installed software in a non-standard prefix. 24885 24886 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24887 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24888 See the pkg-config man page for more details. 24889 " >&5 24890 echo "$as_me: error: Package requirements (gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10) were not met: 24891 24892 $GSTREAMER_PKG_ERRORS 24893 24894 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24895 installed software in a non-standard prefix. 24896 24897 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24898 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24899 See the pkg-config man page for more details. 24900 " >&2;} 24901 { (exit 1); exit 1; }; } 24902 elif test $pkg_failed = untried; then 24903 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 24904 is in your PATH or set the PKG_CONFIG environment variable to the full 24905 path to pkg-config. 24906 24907 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24908 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24909 See the pkg-config man page for more details. 24910 24911 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24912 See \`config.log' for more details." >&5 24913 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 24914 is in your PATH or set the PKG_CONFIG environment variable to the full 24915 path to pkg-config. 24916 24917 Alternatively, you may set the environment variables GSTREAMER_CFLAGS 24918 and GSTREAMER_LIBS to avoid the need to call pkg-config. 24919 See the pkg-config man page for more details. 24920 24921 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24922 See \`config.log' for more details." >&2;} 24923 { (exit 1); exit 1; }; } 24924 else 24925 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 24926 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 24927 { echo "$as_me:$LINENO: result: yes" >&5 24928 echo "${ECHO_T}yes" >&6; } 24929 : 24930 fi 24931 24932 24933 24934 24935 pkg_failed=no 24936 { echo "$as_me:$LINENO: checking for GNOME_STUFF" >&5 24937 echo $ECHO_N "checking for GNOME_STUFF... $ECHO_C" >&6; } 24938 24939 if test -n "$PKG_CONFIG"; then 24940 if test -n "$GNOME_STUFF_CFLAGS"; then 24941 pkg_cv_GNOME_STUFF_CFLAGS="$GNOME_STUFF_CFLAGS" 24942 else 24943 if test -n "$PKG_CONFIG" && \ 24944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 gconf-2.0 gnome-vfs-2.0\"") >&5 24945 ($PKG_CONFIG --exists --print-errors "libgnome-2.0 gconf-2.0 gnome-vfs-2.0") 2>&5 24946 ac_status=$? 24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24948 (exit $ac_status); }; then 24949 pkg_cv_GNOME_STUFF_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0 gconf-2.0 gnome-vfs-2.0" 2>/dev/null` 24950 else 24951 pkg_failed=yes 24952 fi 24953 fi 24954 else 24955 pkg_failed=untried 24956 fi 24957 if test -n "$PKG_CONFIG"; then 24958 if test -n "$GNOME_STUFF_LIBS"; then 24959 pkg_cv_GNOME_STUFF_LIBS="$GNOME_STUFF_LIBS" 24960 else 24961 if test -n "$PKG_CONFIG" && \ 24962 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 gconf-2.0 gnome-vfs-2.0\"") >&5 24963 ($PKG_CONFIG --exists --print-errors "libgnome-2.0 gconf-2.0 gnome-vfs-2.0") 2>&5 24964 ac_status=$? 24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24966 (exit $ac_status); }; then 24967 pkg_cv_GNOME_STUFF_LIBS=`$PKG_CONFIG --libs "libgnome-2.0 gconf-2.0 gnome-vfs-2.0" 2>/dev/null` 24968 else 24969 pkg_failed=yes 24970 fi 24971 fi 24972 else 24973 pkg_failed=untried 24974 fi 24975 24976 24977 24978 if test $pkg_failed = yes; then 24979 24980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24981 _pkg_short_errors_supported=yes 24982 else 24983 _pkg_short_errors_supported=no 24984 fi 24985 if test $_pkg_short_errors_supported = yes; then 24986 GNOME_STUFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnome-2.0 gconf-2.0 gnome-vfs-2.0"` 24987 else 24988 GNOME_STUFF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnome-2.0 gconf-2.0 gnome-vfs-2.0"` 24989 fi 24990 # Put the nasty error message in config.log where it belongs 24991 echo "$GNOME_STUFF_PKG_ERRORS" >&5 24992 24993 { { echo "$as_me:$LINENO: error: Package requirements (libgnome-2.0 gconf-2.0 gnome-vfs-2.0) were not met: 24994 24995 $GNOME_STUFF_PKG_ERRORS 24996 24997 Consider adjusting the PKG_CONFIG_PATH environment variable if you 24998 installed software in a non-standard prefix. 24999 25000 Alternatively, you may set the environment variables GNOME_STUFF_CFLAGS 25001 and GNOME_STUFF_LIBS to avoid the need to call pkg-config. 25002 See the pkg-config man page for more details. 25003 " >&5 25004 echo "$as_me: error: Package requirements (libgnome-2.0 gconf-2.0 gnome-vfs-2.0) were not met: 25005 25006 $GNOME_STUFF_PKG_ERRORS 25007 25008 Consider adjusting the PKG_CONFIG_PATH environment variable if you 25009 installed software in a non-standard prefix. 25010 25011 Alternatively, you may set the environment variables GNOME_STUFF_CFLAGS 25012 and GNOME_STUFF_LIBS to avoid the need to call pkg-config. 25013 See the pkg-config man page for more details. 25014 " >&2;} 25015 { (exit 1); exit 1; }; } 25016 elif test $pkg_failed = untried; then 25017 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 25018 is in your PATH or set the PKG_CONFIG environment variable to the full 25019 path to pkg-config. 25020 25021 Alternatively, you may set the environment variables GNOME_STUFF_CFLAGS 25022 and GNOME_STUFF_LIBS to avoid the need to call pkg-config. 25023 See the pkg-config man page for more details. 25024 25025 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25026 See \`config.log' for more details." >&5 25027 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 25028 is in your PATH or set the PKG_CONFIG environment variable to the full 25029 path to pkg-config. 25030 25031 Alternatively, you may set the environment variables GNOME_STUFF_CFLAGS 25032 and GNOME_STUFF_LIBS to avoid the need to call pkg-config. 25033 See the pkg-config man page for more details. 25034 25035 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25036 See \`config.log' for more details." >&2;} 25037 { (exit 1); exit 1; }; } 25038 else 25039 GNOME_STUFF_CFLAGS=$pkg_cv_GNOME_STUFF_CFLAGS 25040 GNOME_STUFF_LIBS=$pkg_cv_GNOME_STUFF_LIBS 25041 { echo "$as_me:$LINENO: result: yes" >&5 25042 echo "${ECHO_T}yes" >&6; } 25043 : 25044 fi 25045 25046 25047 25048 25049 pkg_failed=no 24145 25050 { echo "$as_me:$LINENO: checking for RGC_CLIENT" >&5 24146 25051 echo $ECHO_N "checking for RGC_CLIENT... $ECHO_C" >&6; } … … 24380 25285 24381 25286 24382 ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile po/Makefile.in src/Makefile src/ tx_widgets/Makefile src/tx_widgets/icons/Makefile"25287 ac_config_files="$ac_config_files Makefile data/Makefile data/icons/Makefile po/Makefile.in src/Makefile src/marlin/Makefile src/marlin/cursors/Makefile src/tx_widgets/Makefile src/tx_widgets/icons/Makefile" 24383 25288 24384 25289 cat >confcache <<\_ACEOF … … 24988 25893 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 24989 25894 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 25895 "src/marlin/Makefile") CONFIG_FILES="$CONFIG_FILES src/marlin/Makefile" ;; 25896 "src/marlin/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/marlin/cursors/Makefile" ;; 24990 25897 "src/tx_widgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/tx_widgets/Makefile" ;; 24991 25898 "src/tx_widgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/tx_widgets/icons/Makefile" ;; … … 25142 26049 AR!$AR$ac_delim 25143 26050 RANLIB!$RANLIB$ac_delim 26051 DSYMUTIL!$DSYMUTIL$ac_delim 26052 NMEDIT!$NMEDIT$ac_delim 25144 26053 DLLTOOL!$DLLTOOL$ac_delim 25145 26054 AS!$AS$ac_delim … … 25147 26056 CPP!$CPP$ac_delim 25148 26057 CXX!$CXX$ac_delim 25149 CXXFLAGS!$CXXFLAGS$ac_delim25150 ac_ct_CXX!$ac_ct_CXX$ac_delim25151 26058 _ACEOF 25152 26059 … … 25190 26097 for ac_last_try in false false false false false :; do 25191 26098 cat >conf$$subs.sed <<_ACEOF 26099 CXXFLAGS!$CXXFLAGS$ac_delim 26100 ac_ct_CXX!$ac_ct_CXX$ac_delim 25192 26101 CXXDEPMODE!$CXXDEPMODE$ac_delim 25193 26102 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim … … 25199 26108 LIBTOOL!$LIBTOOL$ac_delim 25200 26109 USE_NLS!$USE_NLS$ac_delim 26110 GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim 25201 26111 MSGFMT!$MSGFMT$ac_delim 25202 26112 GMSGFMT!$GMSGFMT$ac_delim … … 25206 26116 XGETTEXT_015!$XGETTEXT_015$ac_delim 25207 26117 MSGMERGE!$MSGMERGE$ac_delim 26118 XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim 25208 26119 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim 25209 26120 LIBICONV!$LIBICONV$ac_delim … … 25219 26130 FM_GUI_CFLAGS!$FM_GUI_CFLAGS$ac_delim 25220 26131 FM_GUI_LIBS!$FM_GUI_LIBS$ac_delim 26132 GSTREAMER_CFLAGS!$GSTREAMER_CFLAGS$ac_delim 26133 GSTREAMER_LIBS!$GSTREAMER_LIBS$ac_delim 26134 GNOME_STUFF_CFLAGS!$GNOME_STUFF_CFLAGS$ac_delim 26135 GNOME_STUFF_LIBS!$GNOME_STUFF_LIBS$ac_delim 25221 26136 RGC_CLIENT_CFLAGS!$RGC_CLIENT_CFLAGS$ac_delim 25222 26137 RGC_CLIENT_LIBS!$RGC_CLIENT_LIBS$ac_delim … … 25235 26150 _ACEOF 25236 26151 25237 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then26152 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then 25238 26153 break 25239 26154 elif $ac_last_try; then … … 25636 26551 rm -f "$tmp/out12" 25637 26552 # Compute $ac_file's index in $config_headers. 26553 _am_arg=$ac_file 25638 26554 _am_stamp_count=1 25639 26555 for _am_header in $config_headers :; do 25640 26556 case $_am_header in 25641 $ ac_file | $ac_file:* )26557 $_am_arg | $_am_arg:* ) 25642 26558 break ;; 25643 26559 * ) … … 25645 26561 esac 25646 26562 done 25647 echo "timestamp for $ ac_file" >`$as_dirname -- $ac_file||25648 $as_expr X $ac_file: 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \25649 X $ac_file: 'X\(//\)[^/]' \| \25650 X $ac_file: 'X\(//\)$' \| \25651 X $ac_file: 'X\(/\)' \| . 2>/dev/null ||25652 echo X $ac_file|26563 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 26564 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26565 X"$_am_arg" : 'X\(//\)[^/]' \| \ 26566 X"$_am_arg" : 'X\(//\)$' \| \ 26567 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 26568 echo X"$_am_arg" | 25653 26569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25654 26570 s//\1/ … … 25687 26603 # Grep'ing the whole file is not good either: AIX grep has a line 25688 26604 # limit of 2048, but all sed's we know have understand at least 4000. 25689 if sed 10q "$mf" | grep '^#.*generated by automake' >/dev/null 2>&1; then26605 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 25690 26606 dirpart=`$as_dirname -- "$mf" || 25691 26607 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -
trunk/fm_gui/data/Makefile.in
r220 r249 1 # Makefile.in generated by automake 1.10 from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 36 36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 37 37 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 38 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 39 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 40 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 41 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 42 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 38 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 43 39 $(top_srcdir)/configure.ac 44 40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 94 90 DEPDIR = @DEPDIR@ 95 91 DLLTOOL = @DLLTOOL@ 92 DSYMUTIL = @DSYMUTIL@ 96 93 ECHO = @ECHO@ 97 94 ECHO_C = @ECHO_C@ … … 104 101 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 105 102 FM_GUI_LIBS = @FM_GUI_LIBS@ 103 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 106 104 GMSGFMT = @GMSGFMT@ 107 105 GMSGFMT_015 = @GMSGFMT_015@ 106 GNOME_STUFF_CFLAGS = @GNOME_STUFF_CFLAGS@ 107 GNOME_STUFF_LIBS = @GNOME_STUFF_LIBS@ 108 108 GREP = @GREP@ 109 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 110 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 109 111 INSTALL = @INSTALL@ 110 112 INSTALL_DATA = @INSTALL_DATA@ … … 129 131 MSGFMT_015 = @MSGFMT_015@ 130 132 MSGMERGE = @MSGMERGE@ 133 NMEDIT = @NMEDIT@ 131 134 NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@ 132 135 NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@ … … 162 165 XGETTEXT = @XGETTEXT@ 163 166 XGETTEXT_015 = @XGETTEXT_015@ 167 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 164 168 abs_builddir = @abs_builddir@ 165 169 abs_srcdir = @abs_srcdir@ … … 352 356 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 353 357 done | \ 354 $(AWK) ' { files[$$0]= 1; } \355 END { for (i in files) print i; }'`; \358 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 359 END { if (nonempty) { for (i in files) print i; }; }'`; \ 356 360 mkid -fID $$unique 357 361 tags: TAGS … … 378 382 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 379 383 done | \ 380 $(AWK) ' { files[$$0]= 1; } \381 END { for (i in files) print i; }'`; \384 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 385 END { if (nonempty) { for (i in files) print i; }; }'`; \ 382 386 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 383 387 test -n "$$unique" || unique=$$empty_fix; \ … … 389 393 $(TAGS_FILES) $(LISP) 390 394 tags=; \ 391 here=`pwd`; \392 395 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 393 396 unique=`for i in $$list; do \ 394 397 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 395 398 done | \ 396 $(AWK) ' { files[$$0]= 1; } \397 END { for (i in files) print i; }'`; \399 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 400 END { if (nonempty) { for (i in files) print i; }; }'`; \ 398 401 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 399 402 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -
trunk/fm_gui/data/icons/Makefile.in
r220 r249 1 # Makefile.in generated by automake 1.10 from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 36 36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 37 37 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 38 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 39 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 40 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 41 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 42 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 38 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 43 39 $(top_srcdir)/configure.ac 44 40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 82 78 DEPDIR = @DEPDIR@ 83 79 DLLTOOL = @DLLTOOL@ 80 DSYMUTIL = @DSYMUTIL@ 84 81 ECHO = @ECHO@ 85 82 ECHO_C = @ECHO_C@ … … 92 89 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 93 90 FM_GUI_LIBS = @FM_GUI_LIBS@ 91 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 94 92 GMSGFMT = @GMSGFMT@ 95 93 GMSGFMT_015 = @GMSGFMT_015@ 94 GNOME_STUFF_CFLAGS = @GNOME_STUFF_CFLAGS@ 95 GNOME_STUFF_LIBS = @GNOME_STUFF_LIBS@ 96 96 GREP = @GREP@ 97 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 98 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 97 99 INSTALL = @INSTALL@ 98 100 INSTALL_DATA = @INSTALL_DATA@ … … 117 119 MSGFMT_015 = @MSGFMT_015@ 118 120 MSGMERGE = @MSGMERGE@ 121 NMEDIT = @NMEDIT@ 119 122 NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@ 120 123 NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@ … … 150 153 XGETTEXT = @XGETTEXT@ 151 154 XGETTEXT_015 = @XGETTEXT_015@ 155 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 152 156 abs_builddir = @abs_builddir@ 153 157 abs_srcdir = @abs_srcdir@ -
trunk/fm_gui/src/Makefile.in
r233 r249 1 # Makefile.in generated by automake 1.10 from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 37 37 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 38 38 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 39 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 40 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 41 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 42 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 43 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 39 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 44 40 $(top_srcdir)/configure.ac 45 41 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 56 52 fm_beatgen_gui.$(OBJEXT) 57 53 fm_gui_OBJECTS = $(am_fm_gui_OBJECTS) 58 fm_gui_DEPENDENCIES = tx_widgets/libtx_widgets.la 59 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ 54 fm_gui_DEPENDENCIES = tx_widgets/libtx_widgets.la marlin/libmarlin.la \ 55 marlin/libmarlinx.la 56 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 60 57 depcomp = $(SHELL) $(top_srcdir)/depcomp 61 58 am__depfiles_maybe = depfiles … … 107 104 DEPDIR = @DEPDIR@ 108 105 DLLTOOL = @DLLTOOL@ 106 DSYMUTIL = @DSYMUTIL@ 109 107 ECHO = @ECHO@ 110 108 ECHO_C = @ECHO_C@ … … 117 115 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 118 116 FM_GUI_LIBS = @FM_GUI_LIBS@ 117 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 119 118 GMSGFMT = @GMSGFMT@ 120 119 GMSGFMT_015 = @GMSGFMT_015@ 120 GNOME_STUFF_CFLAGS = @GNOME_STUFF_CFLAGS@ 121 GNOME_STUFF_LIBS = @GNOME_STUFF_LIBS@ 121 122 GREP = @GREP@ 123 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 124 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 122 125 INSTALL = @INSTALL@ 123 126 INSTALL_DATA = @INSTALL_DATA@ … … 142 145 MSGFMT_015 = @MSGFMT_015@ 143 146 MSGMERGE = @MSGMERGE@ 147 NMEDIT = @NMEDIT@ 144 148 NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@ 145 149 NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@ … … 175 179 XGETTEXT = @XGETTEXT@ 176 180 XGETTEXT_015 = @XGETTEXT_015@ 181 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 177 182 abs_builddir = @abs_builddir@ 178 183 abs_srcdir = @abs_srcdir@ … … 226 231 top_builddir = @top_builddir@ 227 232 top_srcdir = @top_srcdir@ 228 SUBDIRS = tx_widgets 233 SUBDIRS = tx_widgets marlin 229 234 AM_CPPFLAGS = $(FM_GUI_CFLAGS) \ 230 235 $(RGC_CLIENT_CFLAGS) \ … … 257 262 258 263 fm_gui_LDADD = \ 259 tx_widgets/libtx_widgets.la 264 tx_widgets/libtx_widgets.la \ 265 marlin/libmarlin.la \ 266 marlin/libmarlinx.la 260 267 261 268 all: all-recursive … … 301 308 ; then \ 302 309 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 303 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \304 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \310 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 311 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ 305 312 else :; fi; \ 306 313 done … … 443 450 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 444 451 done | \ 445 $(AWK) ' { files[$$0]= 1; } \446 END { for (i in files) print i; }'`; \452 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 453 END { if (nonempty) { for (i in files) print i; }; }'`; \ 447 454 mkid -fID $$unique 448 455 tags: TAGS … … 469 476 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 470 477 done | \ 471 $(AWK) ' { files[$$0]= 1; } \472 END { for (i in files) print i; }'`; \478 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 479 END { if (nonempty) { for (i in files) print i; }; }'`; \ 473 480 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 474 481 test -n "$$unique" || unique=$$empty_fix; \ … … 480 487 $(TAGS_FILES) $(LISP) 481 488 tags=; \ 482 here=`pwd`; \483 489 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 484 490 unique=`for i in $$list; do \ 485 491 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 486 492 done | \ 487 $(AWK) ' { files[$$0]= 1; } \488 END { for (i in files) print i; }'`; \493 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 494 END { if (nonempty) { for (i in files) print i; }; }'`; \ 489 495 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 490 496 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -
trunk/fm_gui/src/marlin/Makefile.in
r247 r249 38 38 $(srcdir)/Makefile.in ChangeLog 39 39 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 40 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 41 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 42 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 43 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 44 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 40 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 45 41 $(top_srcdir)/configure.ac 46 42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 171 167 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 172 168 FM_GUI_LIBS = @FM_GUI_LIBS@ 169 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 173 170 GMSGFMT = @GMSGFMT@ 174 171 GMSGFMT_015 = @GMSGFMT_015@ … … 234 231 XGETTEXT = @XGETTEXT@ 235 232 XGETTEXT_015 = @XGETTEXT_015@ 233 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 236 234 abs_builddir = @abs_builddir@ 237 235 abs_srcdir = @abs_srcdir@ -
trunk/fm_gui/src/marlin/cursors/Makefile.in
r247 r249 35 35 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 36 36 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 37 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 38 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 39 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 40 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 41 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 37 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 42 38 $(top_srcdir)/configure.ac 43 39 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 83 79 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 84 80 FM_GUI_LIBS = @FM_GUI_LIBS@ 81 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 85 82 GMSGFMT = @GMSGFMT@ 86 83 GMSGFMT_015 = @GMSGFMT_015@ … … 146 143 XGETTEXT = @XGETTEXT@ 147 144 XGETTEXT_015 = @XGETTEXT_015@ 145 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 148 146 abs_builddir = @abs_builddir@ 149 147 abs_srcdir = @abs_srcdir@ -
trunk/fm_gui/src/tx_widgets/Makefile.in
r220 r249 1 # Makefile.in generated by automake 1.10 from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 36 36 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 37 37 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 38 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 39 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 40 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 41 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 42 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 38 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 43 39 $(top_srcdir)/configure.ac 44 40 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 53 49 tX_knobloader.lo 54 50 libtx_widgets_la_OBJECTS = $(am_libtx_widgets_la_OBJECTS) 55 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@51 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 56 52 depcomp = $(SHELL) $(top_srcdir)/depcomp 57 53 am__depfiles_maybe = depfiles … … 103 99 DEPDIR = @DEPDIR@ 104 100 DLLTOOL = @DLLTOOL@ 101 DSYMUTIL = @DSYMUTIL@ 105 102 ECHO = @ECHO@ 106 103 ECHO_C = @ECHO_C@ … … 113 110 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 114 111 FM_GUI_LIBS = @FM_GUI_LIBS@ 112 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 115 113 GMSGFMT = @GMSGFMT@ 116 114 GMSGFMT_015 = @GMSGFMT_015@ 115 GNOME_STUFF_CFLAGS = @GNOME_STUFF_CFLAGS@ 116 GNOME_STUFF_LIBS = @GNOME_STUFF_LIBS@ 117 117 GREP = @GREP@ 118 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 119 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 118 120 INSTALL = @INSTALL@ 119 121 INSTALL_DATA = @INSTALL_DATA@ … … 138 140 MSGFMT_015 = @MSGFMT_015@ 139 141 MSGMERGE = @MSGMERGE@ 142 NMEDIT = @NMEDIT@ 140 143 NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@ 141 144 NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@ … … 171 174 XGETTEXT = @XGETTEXT@ 172 175 XGETTEXT_015 = @XGETTEXT_015@ 176 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 173 177 abs_builddir = @abs_builddir@ 174 178 abs_srcdir = @abs_srcdir@ … … 398 402 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 399 403 done | \ 400 $(AWK) ' { files[$$0]= 1; } \401 END { for (i in files) print i; }'`; \404 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ 405 END { if (nonempty) { for (i in files) print i; }; }'`; \ 402 406 mkid -fID $$unique 403 407 tags: TAGS … … 424 428 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 425 429 done | \ 426 $(AWK) ' { files[$$0]= 1; } \427 END { for (i in files) print i; }'`; \430 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 431 END { if (nonempty) { for (i in files) print i; }; }'`; \ 428 432 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 429 433 test -n "$$unique" || unique=$$empty_fix; \ … … 435 439 $(TAGS_FILES) $(LISP) 436 440 tags=; \ 437 here=`pwd`; \438 441 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 439 442 unique=`for i in $$list; do \ 440 443 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 441 444 done | \ 442 $(AWK) ' { files[$$0]= 1; } \443 END { for (i in files) print i; }'`; \445 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 446 END { if (nonempty) { for (i in files) print i; }; }'`; \ 444 447 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 445 448 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -
trunk/fm_gui/src/tx_widgets/icons/Makefile.in
r220 r249 1 # Makefile.in generated by automake 1.10 from Makefile.am.1 # Makefile.in generated by automake 1.10.1 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 35 35 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in 36 36 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 37 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ 38 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ 39 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ 40 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ 41 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \ 37 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 42 38 $(top_srcdir)/configure.ac 43 39 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ … … 72 68 DEPDIR = @DEPDIR@ 73 69 DLLTOOL = @DLLTOOL@ 70 DSYMUTIL = @DSYMUTIL@ 74 71 ECHO = @ECHO@ 75 72 ECHO_C = @ECHO_C@ … … 82 79 FM_GUI_CFLAGS = @FM_GUI_CFLAGS@ 83 80 FM_GUI_LIBS = @FM_GUI_LIBS@ 81 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ 84 82 GMSGFMT = @GMSGFMT@ 85 83 GMSGFMT_015 = @GMSGFMT_015@ 84 GNOME_STUFF_CFLAGS = @GNOME_STUFF_CFLAGS@ 85 GNOME_STUFF_LIBS = @GNOME_STUFF_LIBS@ 86 86 GREP = @GREP@ 87 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ 88 GSTREAMER_LIBS = @GSTREAMER_LIBS@ 87 89 INSTALL = @INSTALL@ 88 90 INSTALL_DATA = @INSTALL_DATA@ … … 107 109 MSGFMT_015 = @MSGFMT_015@ 108 110 MSGMERGE = @MSGMERGE@ 111 NMEDIT = @NMEDIT@ 109 112 NO_PREFIX_PACKAGE_DATA_DIR = @NO_PREFIX_PACKAGE_DATA_DIR@ 110 113 NO_PREFIX_PACKAGE_DOC_DIR = @NO_PREFIX_PACKAGE_DOC_DIR@ … … 140 143 XGETTEXT = @XGETTEXT@ 141 144 XGETTEXT_015 = @XGETTEXT_015@ 145 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ 142 146 abs_builddir = @abs_builddir@ 143 147 abs_srcdir = @abs_srcdir@
