123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037 |
- m4trace:../config/codeset.m4:11: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
- AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
- [AC_TRY_LINK([#include <langinfo.h>],
- [char* cs = nl_langinfo(CODESET);],
- am_cv_langinfo_codeset=yes,
- am_cv_langinfo_codeset=no)
- ])
- if test $am_cv_langinfo_codeset = yes; then
- AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
- [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
- fi
- ])
- m4trace:../config/gettext.m4:59: -1- AC_DEFUN([AM_GNU_GETTEXT], [
- dnl Argument checking.
- ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
- [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
- ])])])])])
- ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
- [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
- ])])])])
- define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
- define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
- AC_REQUIRE([AM_PO_SUBDIRS])dnl
- ifelse(gt_included_intl, yes, [
- AC_REQUIRE([AM_INTL_SUBDIR])dnl
- ])
- dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- AC_REQUIRE([AC_LIB_RPATH])
- dnl Sometimes libintl requires libiconv, so first search for libiconv.
- dnl Ideally we would do this search only after the
- dnl if test "$USE_NLS" = "yes"; then
- dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
- dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
- dnl the configure script would need to contain the same shell code
- dnl again, outside any 'if'. There are two solutions:
- dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
- dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
- dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
- dnl documented, we avoid it.
- ifelse(gt_included_intl, yes, , [
- AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
- ])
- dnl Set USE_NLS.
- AM_NLS
- ifelse(gt_included_intl, yes, [
- BUILD_INCLUDED_LIBINTL=no
- USE_INCLUDED_LIBINTL=no
- ])
- LIBINTL=
- LTLIBINTL=
- POSUB=
- dnl If we use NLS figure out what method
- if test "$USE_NLS" = "yes"; then
- gt_use_preinstalled_gnugettext=no
- ifelse(gt_included_intl, yes, [
- AC_MSG_CHECKING([whether included gettext is requested])
- AC_ARG_WITH(included-gettext,
- [ --with-included-gettext use the GNU gettext library included here],
- nls_cv_force_use_gnu_gettext=$withval,
- nls_cv_force_use_gnu_gettext=no)
- AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
- nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
- if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
- ])
- dnl User does not insist on using GNU NLS library. Figure out what
- dnl to use. If GNU gettext is available we use this. Else we have
- dnl to fall back to GNU NLS library.
- dnl Add a version number to the cache macros.
- define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
- define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
- define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
- AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
- [AC_TRY_LINK([#include <libintl.h>
- ]ifelse([$2], [need-formatstring-macros],
- [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
- #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
- #endif
- changequote(,)dnl
- typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
- changequote([,])dnl
- ], [])[extern int _nl_msg_cat_cntr;
- extern int *_nl_domain_bindings;],
- [bindtextdomain ("", "");
- return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
- gt_cv_func_gnugettext_libc=yes,
- gt_cv_func_gnugettext_libc=no)])
- if test "$gt_cv_func_gnugettext_libc" != "yes"; then
- dnl Sometimes libintl requires libiconv, so first search for libiconv.
- ifelse(gt_included_intl, yes, , [
- AM_ICONV_LINK
- ])
- dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
- dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
- dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
- dnl even if libiconv doesn't exist.
- AC_LIB_LINKFLAGS_BODY([intl])
- AC_CACHE_CHECK([for GNU gettext in libintl],
- gt_cv_func_gnugettext_libintl,
- [gt_save_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $INCINTL"
- gt_save_LIBS="$LIBS"
- LIBS="$LIBS $LIBINTL"
- dnl Now see whether libintl exists and does not depend on libiconv.
- AC_TRY_LINK([#include <libintl.h>
- ]ifelse([$2], [need-formatstring-macros],
- [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
- #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
- #endif
- changequote(,)dnl
- typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
- changequote([,])dnl
- ], [])[extern int _nl_msg_cat_cntr;
- extern
- #ifdef __cplusplus
- "C"
- #endif
- const char *_nl_expand_alias ();],
- [bindtextdomain ("", "");
- return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
- gt_cv_func_gnugettext_libintl=yes,
- gt_cv_func_gnugettext_libintl=no)
- dnl Now see whether libintl exists and depends on libiconv.
- if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
- LIBS="$LIBS $LIBICONV"
- AC_TRY_LINK([#include <libintl.h>
- ]ifelse([$2], [need-formatstring-macros],
- [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
- #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
- #endif
- changequote(,)dnl
- typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
- changequote([,])dnl
- ], [])[extern int _nl_msg_cat_cntr;
- extern
- #ifdef __cplusplus
- "C"
- #endif
- const char *_nl_expand_alias ();],
- [bindtextdomain ("", "");
- return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
- [LIBINTL="$LIBINTL $LIBICONV"
- LTLIBINTL="$LTLIBINTL $LTLIBICONV"
- gt_cv_func_gnugettext_libintl=yes
- ])
- fi
- CPPFLAGS="$gt_save_CPPFLAGS"
- LIBS="$gt_save_LIBS"])
- fi
- dnl If an already present or preinstalled GNU gettext() is found,
- dnl use it. But if this macro is used in GNU gettext, and GNU
- dnl gettext is already preinstalled in libintl, we update this
- dnl libintl. (Cf. the install rule in intl/Makefile.in.)
- if test "$gt_cv_func_gnugettext_libc" = "yes" \
- || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
- && test "$PACKAGE" != gettext-runtime \
- && test "$PACKAGE" != gettext-tools; }; then
- gt_use_preinstalled_gnugettext=yes
- else
- dnl Reset the values set by searching for libintl.
- LIBINTL=
- LTLIBINTL=
- INCINTL=
- fi
- ifelse(gt_included_intl, yes, [
- if test "$gt_use_preinstalled_gnugettext" != "yes"; then
- dnl GNU gettext is not found in the C library.
- dnl Fall back on included GNU gettext library.
- nls_cv_use_gnu_gettext=yes
- fi
- fi
- if test "$nls_cv_use_gnu_gettext" = "yes"; then
- dnl Mark actions used to generate GNU NLS library.
- BUILD_INCLUDED_LIBINTL=yes
- USE_INCLUDED_LIBINTL=yes
- LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
- LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
- fi
- if test "$gt_use_preinstalled_gnugettext" = "yes" \
- || test "$nls_cv_use_gnu_gettext" = "yes"; then
- dnl Mark actions to use GNU gettext tools.
- CATOBJEXT=.gmo
- fi
- ])
- if test "$gt_use_preinstalled_gnugettext" = "yes" \
- || test "$nls_cv_use_gnu_gettext" = "yes"; then
- AC_DEFINE(ENABLE_NLS, 1,
- [Define to 1 if translation of program messages to the user's native language
- is requested.])
- else
- USE_NLS=no
- fi
- fi
- AC_MSG_CHECKING([whether to use NLS])
- AC_MSG_RESULT([$USE_NLS])
- if test "$USE_NLS" = "yes"; then
- AC_MSG_CHECKING([where the gettext function comes from])
- if test "$gt_use_preinstalled_gnugettext" = "yes"; then
- if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
- gt_source="external libintl"
- else
- gt_source="libc"
- fi
- else
- gt_source="included intl directory"
- fi
- AC_MSG_RESULT([$gt_source])
- fi
- if test "$USE_NLS" = "yes"; then
- if test "$gt_use_preinstalled_gnugettext" = "yes"; then
- if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
- AC_MSG_CHECKING([how to link with libintl])
- AC_MSG_RESULT([$LIBINTL])
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
- fi
- dnl For backward compatibility. Some packages may be using this.
- AC_DEFINE(HAVE_GETTEXT, 1,
- [Define if the GNU gettext() function is already present or preinstalled.])
- AC_DEFINE(HAVE_DCGETTEXT, 1,
- [Define if the GNU dcgettext() function is already present or preinstalled.])
- fi
- dnl We need to process the po/ directory.
- POSUB=po
- fi
- ifelse(gt_included_intl, yes, [
- dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
- dnl to 'yes' because some of the testsuite requires it.
- if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
- BUILD_INCLUDED_LIBINTL=yes
- fi
- dnl Make all variables we use known to autoconf.
- AC_SUBST(BUILD_INCLUDED_LIBINTL)
- AC_SUBST(USE_INCLUDED_LIBINTL)
- AC_SUBST(CATOBJEXT)
- dnl For backward compatibility. Some configure.acs may be using this.
- nls_cv_header_intl=
- nls_cv_header_libgt=
- dnl For backward compatibility. Some Makefiles may be using this.
- DATADIRNAME=share
- AC_SUBST(DATADIRNAME)
- dnl For backward compatibility. Some Makefiles may be using this.
- INSTOBJEXT=.mo
- AC_SUBST(INSTOBJEXT)
- dnl For backward compatibility. Some Makefiles may be using this.
- GENCAT=gencat
- AC_SUBST(GENCAT)
- dnl For backward compatibility. Some Makefiles may be using this.
- if test "$USE_INCLUDED_LIBINTL" = yes; then
- INTLOBJS="\$(GETTOBJS)"
- fi
- AC_SUBST(INTLOBJS)
- dnl Enable libtool support if the surrounding package wishes it.
- INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
- AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
- ])
- dnl For backward compatibility. Some Makefiles may be using this.
- INTLLIBS="$LIBINTL"
- AC_SUBST(INTLLIBS)
- dnl Make all documented variables known to autoconf.
- AC_SUBST(LIBINTL)
- AC_SUBST(LTLIBINTL)
- AC_SUBST(POSUB)
- ])
- m4trace:../config/gettext.m4:347: -1- AC_DEFUN([AM_INTL_SUBDIR], [
- AC_REQUIRE([AC_PROG_INSTALL])dnl
- AC_REQUIRE([AM_MKINSTALLDIRS])dnl
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- AC_REQUIRE([AC_PROG_RANLIB])dnl
- AC_REQUIRE([AC_ISC_POSIX])dnl
- AC_REQUIRE([AC_HEADER_STDC])dnl
- AC_REQUIRE([AC_C_CONST])dnl
- AC_REQUIRE([AC_C_INLINE])dnl
- AC_REQUIRE([AC_TYPE_OFF_T])dnl
- AC_REQUIRE([AC_TYPE_SIZE_T])dnl
- AC_REQUIRE([AC_FUNC_ALLOCA])dnl
- AC_REQUIRE([AC_FUNC_MMAP])dnl
- AC_REQUIRE([jm_GLIBC21])dnl
- AC_REQUIRE([gt_INTDIV0])dnl
- AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
- AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
- AC_REQUIRE([gt_INTTYPES_PRI])dnl
- AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
- stdlib.h string.h unistd.h sys/param.h])
- AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
- geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
- strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
- __fsetlocking])
- AM_ICONV
- AM_LANGINFO_CODESET
- if test $ac_cv_header_locale_h = yes; then
- AM_LC_MESSAGES
- fi
- dnl intl/plural.c is generated from intl/plural.y. It requires bison,
- dnl because plural.y uses bison specific features. It requires at least
- dnl bison-1.26 because earlier versions generate a plural.c that doesn't
- dnl compile.
- dnl bison is only needed for the maintainer (who touches plural.y). But in
- dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
- dnl the rule in general Makefile. Now, some people carelessly touch the
- dnl files or have a broken "make" program, hence the plural.c rule will
- dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
- dnl present or too old.
- AC_CHECK_PROGS([INTLBISON], [bison])
- if test -z "$INTLBISON"; then
- ac_verc_fail=yes
- else
- dnl Found it, now check the version.
- AC_MSG_CHECKING([version of bison])
- changequote(<<,>>)dnl
- ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
- case $ac_prog_version in
- '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
- changequote([,])dnl
- ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
- *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
- esac
- AC_MSG_RESULT([$ac_prog_version])
- fi
- if test $ac_verc_fail = yes; then
- INTLBISON=:
- fi
- ])
- m4trace:../config/gettext.m4:415: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
- m4trace:../config/glibc21.m4:12: -1- AC_DEFUN([jm_GLIBC21], [
- AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
- ac_cv_gnu_library_2_1,
- [AC_EGREP_CPP([Lucky GNU user],
- [
- #include <features.h>
- #ifdef __GNU_LIBRARY__
- #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
- Lucky GNU user
- #endif
- #endif
- ],
- ac_cv_gnu_library_2_1=yes,
- ac_cv_gnu_library_2_1=no)
- ]
- )
- AC_SUBST(GLIBC21)
- GLIBC21="$ac_cv_gnu_library_2_1"
-
- ])
- m4trace:../config/iconv.m4:12: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
- dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- AC_REQUIRE([AC_LIB_RPATH])
- dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
- dnl accordingly.
- AC_LIB_LINKFLAGS_BODY([iconv])
- ])
- m4trace:../config/iconv.m4:23: -1- AC_DEFUN([AM_ICONV_LINK], [
- dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
- dnl those with the standalone portable GNU libiconv installed).
- dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
- dnl accordingly.
- AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
- AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
- am_cv_func_iconv="no, consider installing GNU libiconv"
- am_cv_lib_iconv=no
- dnl Add $INCICONV to CPPFLAGS before performing the first check,
- dnl because if the user has installed libiconv and not disabled its use
- dnl via --without-libiconv-prefix, he wants to use it. This first
- dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
- am_save_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $INCICONV"
- AC_TRY_LINK([#include <stdlib.h>
- #include <iconv.h>],
- [iconv_t cd = iconv_open("","");
- iconv(cd,NULL,NULL,NULL,NULL);
- iconv_close(cd);],
- am_cv_func_iconv=yes)
- CPPFLAGS="$am_save_CPPFLAGS"
- if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
- for _libs in .libs _libs; do
- am_save_CPPFLAGS="$CPPFLAGS"
- am_save_LIBS="$LIBS"
- CPPFLAGS="$CPPFLAGS -I../libiconv/include"
- LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
- AC_TRY_LINK([#include <stdlib.h>
- #include <iconv.h>],
- [iconv_t cd = iconv_open("","");
- iconv(cd,NULL,NULL,NULL,NULL);
- iconv_close(cd);],
- INCICONV="-I../libiconv/include"
- LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
- LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
- am_cv_lib_iconv=yes
- am_cv_func_iconv=yes)
- CPPFLAGS="$am_save_CPPFLAGS"
- LIBS="$am_save_LIBS"
- if test "$am_cv_func_iconv" = "yes"; then
- break
- fi
- done
- fi
- if test "$am_cv_func_iconv" != yes; then
- am_save_CPPFLAGS="$CPPFLAGS"
- am_save_LIBS="$LIBS"
- CPPFLAGS="$LIBS $INCICONV"
- LIBS="$LIBS $LIBICONV"
- AC_TRY_LINK([#include <stdlib.h>
- #include <iconv.h>],
- [iconv_t cd = iconv_open("","");
- iconv(cd,NULL,NULL,NULL,NULL);
- iconv_close(cd);],
- am_cv_lib_iconv=yes
- am_cv_func_iconv=yes)
- CPPFLAGS="$am_save_CPPFLAGS"
- LIBS="$am_save_LIBS"
- fi
- ])
- if test "$am_cv_func_iconv" = yes; then
- AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
- fi
- if test "$am_cv_lib_iconv" = yes; then
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
- AC_MSG_CHECKING([how to link with libiconv])
- AC_MSG_RESULT([$LIBICONV])
- else
- LIBICONV=
- LTLIBICONV=
- fi
- AC_SUBST(LIBICONV)
- AC_SUBST(LTLIBICONV)
- ])
- m4trace:../config/iconv.m4:104: -1- AC_DEFUN([AM_ICONV], [
- AM_ICONV_LINK
- if test "$am_cv_func_iconv" = yes; then
- AC_MSG_CHECKING([for iconv declaration])
- AC_CACHE_VAL(am_cv_proto_iconv, [
- AC_TRY_COMPILE([
- #include <stdlib.h>
- #include <iconv.h>
- extern
- #ifdef __cplusplus
- "C"
- #endif
- #if defined(__STDC__) || defined(__cplusplus)
- size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
- #else
- size_t iconv();
- #endif
- ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
- 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);"])
- am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
- AC_MSG_RESULT([$]{ac_t:-
- }[$]am_cv_proto_iconv)
- AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
- [Define as const if the declaration of iconv() needs const.])
- fi
- ])
- m4trace:../config/intdiv0.m4:11: -1- AC_DEFUN([gt_INTDIV0], [
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
- gt_cv_int_divbyzero_sigfpe,
- [
- AC_TRY_RUN([
- #include <stdlib.h>
- #include <signal.h>
- static void
- #ifdef __cplusplus
- sigfpe_handler (int sig)
- #else
- sigfpe_handler (sig) int sig;
- #endif
- {
- /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
- exit (sig != SIGFPE);
- }
- int x = 1;
- int y = 0;
- int z;
- int nan;
- int main ()
- {
- signal (SIGFPE, sigfpe_handler);
- /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
- #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
- signal (SIGTRAP, sigfpe_handler);
- #endif
- /* Linux/SPARC yields signal SIGILL. */
- #if defined (__sparc__) && defined (__linux__)
- signal (SIGILL, sigfpe_handler);
- #endif
- z = x / y;
- nan = y / y;
- exit (1);
- }
- ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
- [
- # Guess based on the CPU.
- case "$host_cpu" in
- alpha* | i[34567]86 | m68k | s390*)
- gt_cv_int_divbyzero_sigfpe="guessing yes";;
- *)
- gt_cv_int_divbyzero_sigfpe="guessing no";;
- esac
- ])
- ])
- case "$gt_cv_int_divbyzero_sigfpe" in
- *yes) value=1;;
- *) value=0;;
- esac
- AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
- [Define if integer division by zero raises signal SIGFPE.])
- ])
- m4trace:../config/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
- AC_REQUIRE([gt_HEADER_INTTYPES_H])
- if test $gt_cv_header_inttypes_h = yes; then
- AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
- gt_cv_inttypes_pri_broken,
- [
- AC_TRY_COMPILE([#include <inttypes.h>
- #ifdef PRId32
- char *p = PRId32;
- #endif
- ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
- ])
- fi
- if test "$gt_cv_inttypes_pri_broken" = yes; then
- AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
- [Define if <inttypes.h> exists and defines unusable PRI* macros.])
- fi
- ])
- m4trace:../config/inttypes.m4:14: -1- AC_DEFUN([gt_HEADER_INTTYPES_H], [
- AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
- [
- AC_TRY_COMPILE(
- [#include <sys/types.h>
- #include <inttypes.h>],
- [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
- ])
- if test $gt_cv_header_inttypes_h = yes; then
- AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
- [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
- fi
- ])
- m4trace:../config/inttypes_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_INTTYPES_H], [
- AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
- [AC_TRY_COMPILE(
- [#include <sys/types.h>
- #include <inttypes.h>],
- [uintmax_t i = (uintmax_t) -1;],
- jm_ac_cv_header_inttypes_h=yes,
- jm_ac_cv_header_inttypes_h=no)])
- if test $jm_ac_cv_header_inttypes_h = yes; then
- AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
- [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
- and declares uintmax_t. ])
- fi
- ])
- m4trace:../config/lcmessage.m4:23: -1- AC_DEFUN([AM_LC_MESSAGES], [
- AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
- [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
- am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
- if test $am_cv_val_LC_MESSAGES = yes; then
- AC_DEFINE(HAVE_LC_MESSAGES, 1,
- [Define if your <locale.h> file defines LC_MESSAGES.])
- fi
- ])
- m4trace:../config/lib-ld.m4:14: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
- [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
- if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- acl_cv_prog_gnu_ld=yes
- else
- acl_cv_prog_gnu_ld=no
- fi])
- with_gnu_ld=$acl_cv_prog_gnu_ld
- ])
- m4trace:../config/lib-ld.m4:26: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld,
- [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
- test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- # Prepare PATH_SEPARATOR.
- # The user is always right.
- if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
- fi
- ac_prog=ld
- if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- AC_MSG_CHECKING([for ld used by GCC])
- case $host in
- *-*-mingw*)
- # gcc leaves a trailing carriage return which upsets mingw
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- *)
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- esac
- case $ac_prog in
- # Accept absolute paths.
- [[\\/]* | [A-Za-z]:[\\/]*)]
- [re_direlt='/[^/][^/]*/\.\./']
- # Canonicalize the path of ld
- ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
- done
- test -z "$LD" && LD="$ac_prog"
- ;;
- "")
- # If it fails, then pretend we aren't using GCC.
- ac_prog=ld
- ;;
- *)
- # If it is relative, then search for the first ld in PATH.
- with_gnu_ld=unknown
- ;;
- esac
- elif test "$with_gnu_ld" = yes; then
- AC_MSG_CHECKING([for GNU ld])
- else
- AC_MSG_CHECKING([for non-GNU ld])
- fi
- AC_CACHE_VAL(acl_cv_path_LD,
- [if test -z "$LD"; then
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- acl_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some GNU ld's only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- test "$with_gnu_ld" != no && break
- else
- test "$with_gnu_ld" != yes && break
- fi
- fi
- done
- IFS="$ac_save_ifs"
- else
- acl_cv_path_LD="$LD" # Let the user override the test with a path.
- fi])
- LD="$acl_cv_path_LD"
- if test -n "$LD"; then
- AC_MSG_RESULT($LD)
- else
- AC_MSG_RESULT(no)
- fi
- test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
- AC_LIB_PROG_LD_GNU
- ])
- m4trace:../config/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- AC_REQUIRE([AC_LIB_RPATH])
- define([Name],[translit([$1],[./-], [___])])
- define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
- AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
- AC_LIB_LINKFLAGS_BODY([$1], [$2])
- ac_cv_lib[]Name[]_libs="$LIB[]NAME"
- ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
- ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
- ])
- LIB[]NAME="$ac_cv_lib[]Name[]_libs"
- LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
- INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
- AC_SUBST([LIB]NAME)
- AC_SUBST([LTLIB]NAME)
- dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
- dnl results of this search when this library appears as a dependency.
- HAVE_LIB[]NAME=yes
- undefine([Name])
- undefine([NAME])
- ])
- m4trace:../config/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- AC_REQUIRE([AC_LIB_RPATH])
- define([Name],[translit([$1],[./-], [___])])
- define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
- dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
- dnl accordingly.
- AC_LIB_LINKFLAGS_BODY([$1], [$2])
- dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
- dnl because if the user has installed lib[]Name and not disabled its use
- dnl via --without-lib[]Name-prefix, he wants to use it.
- ac_save_CPPFLAGS="$CPPFLAGS"
- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
- AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
- ac_save_LIBS="$LIBS"
- LIBS="$LIBS $LIB[]NAME"
- AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
- LIBS="$ac_save_LIBS"
- ])
- if test "$ac_cv_lib[]Name" = yes; then
- HAVE_LIB[]NAME=yes
- AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
- AC_MSG_CHECKING([how to link with lib[]$1])
- AC_MSG_RESULT([$LIB[]NAME])
- else
- HAVE_LIB[]NAME=no
- dnl If $LIB[]NAME didn't lead to a usable library, we don't need
- dnl $INC[]NAME either.
- CPPFLAGS="$ac_save_CPPFLAGS"
- LIB[]NAME=
- LTLIB[]NAME=
- fi
- AC_SUBST([HAVE_LIB]NAME)
- AC_SUBST([LIB]NAME)
- AC_SUBST([LTLIB]NAME)
- undefine([Name])
- undefine([NAME])
- ])
- m4trace:../config/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [
- AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
- AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
- AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
- AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
- AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
- CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
- ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
- . ./conftest.sh
- rm -f ./conftest.sh
- acl_cv_rpath=done
- ])
- wl="$acl_cv_wl"
- libext="$acl_cv_libext"
- shlibext="$acl_cv_shlibext"
- hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
- hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
- hardcode_direct="$acl_cv_hardcode_direct"
- hardcode_minus_L="$acl_cv_hardcode_minus_L"
- dnl Determine whether the user wants rpath handling at all.
- AC_ARG_ENABLE(rpath,
- [ --disable-rpath do not hardcode runtime library paths],
- :, enable_rpath=yes)
- ])
- m4trace:../config/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
- define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
- dnl By default, look in $includedir and $libdir.
- use_additional=yes
- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- AC_LIB_ARG_WITH([lib$1-prefix],
- [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
- --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
- [
- if test "X$withval" = "Xno"; then
- use_additional=no
- else
- if test "X$withval" = "X"; then
- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- else
- additional_includedir="$withval/include"
- additional_libdir="$withval/lib"
- fi
- fi
- ])
- dnl Search the library and its dependencies in $additional_libdir and
- dnl $LDFLAGS. Using breadth-first-seach.
- LIB[]NAME=
- LTLIB[]NAME=
- INC[]NAME=
- rpathdirs=
- ltrpathdirs=
- names_already_handled=
- names_next_round='$1 $2'
- while test -n "$names_next_round"; do
- names_this_round="$names_next_round"
- names_next_round=
- for name in $names_this_round; do
- already_handled=
- for n in $names_already_handled; do
- if test "$n" = "$name"; then
- already_handled=yes
- break
- fi
- done
- if test -z "$already_handled"; then
- names_already_handled="$names_already_handled $name"
- dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
- dnl or AC_LIB_HAVE_LINKFLAGS call.
- uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
- eval value=\"\$HAVE_LIB$uppername\"
- if test -n "$value"; then
- if test "$value" = yes; then
- eval value=\"\$LIB$uppername\"
- test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
- eval value=\"\$LTLIB$uppername\"
- test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
- else
- dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
- dnl that this library doesn't exist. So just drop it.
- :
- fi
- else
- dnl Search the library lib$name in $additional_libdir and $LDFLAGS
- dnl and the already constructed $LIBNAME/$LTLIBNAME.
- found_dir=
- found_la=
- found_so=
- found_a=
- if test $use_additional = yes; then
- if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
- found_dir="$additional_libdir"
- found_so="$additional_libdir/lib$name.$shlibext"
- if test -f "$additional_libdir/lib$name.la"; then
- found_la="$additional_libdir/lib$name.la"
- fi
- else
- if test -f "$additional_libdir/lib$name.$libext"; then
- found_dir="$additional_libdir"
- found_a="$additional_libdir/lib$name.$libext"
- if test -f "$additional_libdir/lib$name.la"; then
- found_la="$additional_libdir/lib$name.la"
- fi
- fi
- fi
- fi
- if test "X$found_dir" = "X"; then
- for x in $LDFLAGS $LTLIB[]NAME; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- case "$x" in
- -L*)
- dir=`echo "X$x" | sed -e 's/^X-L//'`
- if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
- found_dir="$dir"
- found_so="$dir/lib$name.$shlibext"
- if test -f "$dir/lib$name.la"; then
- found_la="$dir/lib$name.la"
- fi
- else
- if test -f "$dir/lib$name.$libext"; then
- found_dir="$dir"
- found_a="$dir/lib$name.$libext"
- if test -f "$dir/lib$name.la"; then
- found_la="$dir/lib$name.la"
- fi
- fi
- fi
- ;;
- esac
- if test "X$found_dir" != "X"; then
- break
- fi
- done
- fi
- if test "X$found_dir" != "X"; then
- dnl Found the library.
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
- if test "X$found_so" != "X"; then
- dnl Linking with a shared library. We attempt to hardcode its
- dnl directory into the executable's runpath, unless it's the
- dnl standard /usr/lib.
- if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
- dnl No hardcoding is needed.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- else
- dnl Use an explicit option to hardcode DIR into the resulting
- dnl binary.
- dnl Potentially add DIR to ltrpathdirs.
- dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
- haveit=
- for x in $ltrpathdirs; do
- if test "X$x" = "X$found_dir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- ltrpathdirs="$ltrpathdirs $found_dir"
- fi
- dnl The hardcoding into $LIBNAME is system dependent.
- if test "$hardcode_direct" = yes; then
- dnl Using DIR/libNAME.so during linking hardcodes DIR into the
- dnl resulting binary.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- else
- if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
- dnl Use an explicit option to hardcode DIR into the resulting
- dnl binary.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- dnl Potentially add DIR to rpathdirs.
- dnl The rpathdirs will be appended to $LIBNAME at the end.
- haveit=
- for x in $rpathdirs; do
- if test "X$x" = "X$found_dir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- rpathdirs="$rpathdirs $found_dir"
- fi
- else
- dnl Rely on "-L$found_dir".
- dnl But don't add it if it's already contained in the LDFLAGS
- dnl or the already constructed $LIBNAME
- haveit=
- for x in $LDFLAGS $LIB[]NAME; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X-L$found_dir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
- fi
- if test "$hardcode_minus_L" != no; then
- dnl FIXME: Not sure whether we should use
- dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
- dnl here.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- else
- dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
- dnl here, because this doesn't fit in flags passed to the
- dnl compiler. So give up. No hardcoding. This affects only
- dnl very old systems.
- dnl FIXME: Not sure whether we should use
- dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
- dnl here.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
- fi
- fi
- fi
- fi
- else
- if test "X$found_a" != "X"; then
- dnl Linking with a static library.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
- else
- dnl We shouldn't come here, but anyway it's good to have a
- dnl fallback.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
- fi
- fi
- dnl Assume the include files are nearby.
- additional_includedir=
- case "$found_dir" in
- */lib | */lib/)
- basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
- additional_includedir="$basedir/include"
- ;;
- esac
- if test "X$additional_includedir" != "X"; then
- dnl Potentially add $additional_includedir to $INCNAME.
- dnl But don't add it
- dnl 1. if it's the standard /usr/include,
- dnl 2. if it's /usr/local/include and we are using GCC on Linux,
- dnl 3. if it's already present in $CPPFLAGS or the already
- dnl constructed $INCNAME,
- dnl 4. if it doesn't exist as a directory.
- if test "X$additional_includedir" != "X/usr/include"; then
- haveit=
- if test "X$additional_includedir" = "X/usr/local/include"; then
- if test -n "$GCC"; then
- case $host_os in
- linux*) haveit=yes;;
- esac
- fi
- fi
- if test -z "$haveit"; then
- for x in $CPPFLAGS $INC[]NAME; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X-I$additional_includedir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- if test -d "$additional_includedir"; then
- dnl Really add $additional_includedir to $INCNAME.
- INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
- fi
- fi
- fi
- fi
- fi
- dnl Look for dependencies.
- if test -n "$found_la"; then
- dnl Read the .la file. It defines the variables
- dnl dlname, library_names, old_library, dependency_libs, current,
- dnl age, revision, installed, dlopen, dlpreopen, libdir.
- save_libdir="$libdir"
- case "$found_la" in
- */* | *\\*) . "$found_la" ;;
- *) . "./$found_la" ;;
- esac
- libdir="$save_libdir"
- dnl We use only dependency_libs.
- for dep in $dependency_libs; do
- case "$dep" in
- -L*)
- additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
- dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
- dnl But don't add it
- dnl 1. if it's the standard /usr/lib,
- dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
- dnl 3. if it's already present in $LDFLAGS or the already
- dnl constructed $LIBNAME,
- dnl 4. if it doesn't exist as a directory.
- if test "X$additional_libdir" != "X/usr/lib"; then
- haveit=
- if test "X$additional_libdir" = "X/usr/local/lib"; then
- if test -n "$GCC"; then
- case $host_os in
- linux*) haveit=yes;;
- esac
- fi
- fi
- if test -z "$haveit"; then
- haveit=
- for x in $LDFLAGS $LIB[]NAME; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X-L$additional_libdir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- if test -d "$additional_libdir"; then
- dnl Really add $additional_libdir to $LIBNAME.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
- fi
- fi
- haveit=
- for x in $LDFLAGS $LTLIB[]NAME; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X-L$additional_libdir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- if test -d "$additional_libdir"; then
- dnl Really add $additional_libdir to $LTLIBNAME.
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
- fi
- fi
- fi
- fi
- ;;
- -R*)
- dir=`echo "X$dep" | sed -e 's/^X-R//'`
- if test "$enable_rpath" != no; then
- dnl Potentially add DIR to rpathdirs.
- dnl The rpathdirs will be appended to $LIBNAME at the end.
- haveit=
- for x in $rpathdirs; do
- if test "X$x" = "X$dir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- rpathdirs="$rpathdirs $dir"
- fi
- dnl Potentially add DIR to ltrpathdirs.
- dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
- haveit=
- for x in $ltrpathdirs; do
- if test "X$x" = "X$dir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- ltrpathdirs="$ltrpathdirs $dir"
- fi
- fi
- ;;
- -l*)
- dnl Handle this in the next round.
- names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
- ;;
- *.la)
- dnl Handle this in the next round. Throw away the .la's
- dnl directory; it is already contained in a preceding -L
- dnl option.
- names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
- ;;
- *)
- dnl Most likely an immediate library name.
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
- ;;
- esac
- done
- fi
- else
- dnl Didn't find the library; assume it is in the system directories
- dnl known to the linker and runtime loader. (All the system
- dnl directories known to the linker should also be known to the
- dnl runtime loader, otherwise the system is severely misconfigured.)
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
- fi
- fi
- fi
- done
- done
- if test "X$rpathdirs" != "X"; then
- if test -n "$hardcode_libdir_separator"; then
- dnl Weird platform: only the last -rpath option counts, the user must
- dnl pass all path elements in one option. We can arrange that for a
- dnl single library, but not when more than one $LIBNAMEs are used.
- alldirs=
- for found_dir in $rpathdirs; do
- alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
- done
- dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
- acl_save_libdir="$libdir"
- libdir="$alldirs"
- eval flag=\"$hardcode_libdir_flag_spec\"
- libdir="$acl_save_libdir"
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
- else
- dnl The -rpath options are cumulative.
- for found_dir in $rpathdirs; do
- acl_save_libdir="$libdir"
- libdir="$found_dir"
- eval flag=\"$hardcode_libdir_flag_spec\"
- libdir="$acl_save_libdir"
- LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
- done
- fi
- fi
- if test "X$ltrpathdirs" != "X"; then
- dnl When using libtool, the option that works for both libraries and
- dnl executables is -R. The -R options are cumulative.
- for found_dir in $ltrpathdirs; do
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
- done
- fi
- ])
- m4trace:../config/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
- for element in [$2]; do
- haveit=
- for x in $[$1]; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X$element"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- [$1]="${[$1]}${[$1]:+ }$element"
- fi
- done
- ])
- m4trace:../config/lib-prefix.m4:14: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
- m4trace:../config/lib-prefix.m4:24: -1- AC_DEFUN([AC_LIB_PREFIX], [
- AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
- AC_REQUIRE([AC_PROG_CC])
- AC_REQUIRE([AC_CANONICAL_HOST])
- AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- dnl By default, look in $includedir and $libdir.
- use_additional=yes
- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- AC_LIB_ARG_WITH([lib-prefix],
- [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
- --without-lib-prefix don't search for libraries in includedir and libdir],
- [
- if test "X$withval" = "Xno"; then
- use_additional=no
- else
- if test "X$withval" = "X"; then
- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- else
- additional_includedir="$withval/include"
- additional_libdir="$withval/lib"
- fi
- fi
- ])
- if test $use_additional = yes; then
- dnl Potentially add $additional_includedir to $CPPFLAGS.
- dnl But don't add it
- dnl 1. if it's the standard /usr/include,
- dnl 2. if it's already present in $CPPFLAGS,
- dnl 3. if it's /usr/local/include and we are using GCC on Linux,
- dnl 4. if it doesn't exist as a directory.
- if test "X$additional_includedir" != "X/usr/include"; then
- haveit=
- for x in $CPPFLAGS; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X-I$additional_includedir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- if test "X$additional_includedir" = "X/usr/local/include"; then
- if test -n "$GCC"; then
- case $host_os in
- linux*) haveit=yes;;
- esac
- fi
- fi
- if test -z "$haveit"; then
- if test -d "$additional_includedir"; then
- dnl Really add $additional_includedir to $CPPFLAGS.
- CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
- fi
- fi
- fi
- fi
- dnl Potentially add $additional_libdir to $LDFLAGS.
- dnl But don't add it
- dnl 1. if it's the standard /usr/lib,
- dnl 2. if it's already present in $LDFLAGS,
- dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
- dnl 4. if it doesn't exist as a directory.
- if test "X$additional_libdir" != "X/usr/lib"; then
- haveit=
- for x in $LDFLAGS; do
- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- if test "X$x" = "X-L$additional_libdir"; then
- haveit=yes
- break
- fi
- done
- if test -z "$haveit"; then
- if test "X$additional_libdir" = "X/usr/local/lib"; then
- if test -n "$GCC"; then
- case $host_os in
- linux*) haveit=yes;;
- esac
- fi
- fi
- if test -z "$haveit"; then
- if test -d "$additional_libdir"; then
- dnl Really add $additional_libdir to $LDFLAGS.
- LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
- fi
- fi
- fi
- fi
- fi
- ])
- m4trace:../config/lib-prefix.m4:123: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
- dnl Unfortunately, prefix and exec_prefix get only finally determined
- dnl at the end of configure.
- if test "X$prefix" = "XNONE"; then
- acl_final_prefix="$ac_default_prefix"
- else
- acl_final_prefix="$prefix"
- fi
- if test "X$exec_prefix" = "XNONE"; then
- acl_final_exec_prefix='${prefix}'
- else
- acl_final_exec_prefix="$exec_prefix"
- fi
- acl_save_prefix="$prefix"
- prefix="$acl_final_prefix"
- eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
- prefix="$acl_save_prefix"
- ])
- m4trace:../config/lib-prefix.m4:146: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
- acl_save_prefix="$prefix"
- prefix="$acl_final_prefix"
- acl_save_exec_prefix="$exec_prefix"
- exec_prefix="$acl_final_exec_prefix"
- $1
- exec_prefix="$acl_save_exec_prefix"
- prefix="$acl_save_prefix"
- ])
- m4trace:../config/nls.m4:22: -1- AC_DEFUN([AM_NLS], [
- AC_MSG_CHECKING([whether NLS is requested])
- dnl Default is enabled NLS
- AC_ARG_ENABLE(nls,
- [ --disable-nls do not use Native Language Support],
- USE_NLS=$enableval, USE_NLS=yes)
- AC_MSG_RESULT($USE_NLS)
- AC_SUBST(USE_NLS)
- ])
- m4trace:../config/nls.m4:33: -1- AC_DEFUN([AM_MKINSTALLDIRS], [
- dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
- dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
- dnl Try to locate it.
- MKINSTALLDIRS=
- if test -n "$ac_aux_dir"; then
- case "$ac_aux_dir" in
- /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
- *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
- esac
- fi
- if test -z "$MKINSTALLDIRS"; then
- MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
- fi
- AC_SUBST(MKINSTALLDIRS)
- ])
- m4trace:../config/override.m4:12: -1- AC_DEFUN([AC_PREREQ], [frob])
- m4trace:../config/override.m4:12: -1- AC_DEFUN([_GCC_AUTOCONF_VERSION_CHECK], [m4_if(m4_defn([_GCC_AUTOCONF_VERSION]),
- m4_defn([m4_PACKAGE_VERSION]), [],
- [m4_fatal([Please use exactly Autoconf ]_GCC_AUTOCONF_VERSION[ instead of ]m4_defn([m4_PACKAGE_VERSION])[.])])
- ])
- m4trace:../config/override.m4:12: -1- AC_DEFUN_ONCE([AC_PROG_LEX], [AC_CHECK_PROGS(LEX, flex lex, :)
- case "$LEX" in
- :|*"missing "*) ;;
- *) _AC_PROG_LEX_YYTEXT_DECL ;;
- esac])
- m4trace:../config/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
- AC_REQUIRE([AC_PROG_MAKE_SET])dnl
- AC_REQUIRE([AC_PROG_INSTALL])dnl
- AC_REQUIRE([AM_MKINSTALLDIRS])dnl
- AC_REQUIRE([AM_NLS])dnl
- dnl Perform the following tests also if --disable-nls has been given,
- dnl because they are needed for "make dist" to work.
- dnl Search for GNU msgfmt in the PATH.
- dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
- dnl The second test excludes FreeBSD msgfmt.
- AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
- [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
- (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
- :)
- AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
- dnl Search for GNU xgettext 0.12 or newer in the PATH.
- dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
- dnl The second test excludes FreeBSD xgettext.
- AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
- [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
- (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)],
- :)
- dnl Remove leftover from FreeBSD xgettext call.
- rm -f messages.po
- dnl Search for GNU msgmerge 0.11 or newer in the PATH.
- AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
- [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
- dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
- dnl Test whether we really found GNU msgfmt.
- if test "$GMSGFMT" != ":"; then
- dnl If it is no GNU msgfmt we define it as : so that the
- dnl Makefiles still can work.
- if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
- (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
- : ;
- else
- GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
- AC_MSG_RESULT(
- [found $GMSGFMT program is not GNU msgfmt; ignore it])
- GMSGFMT=":"
- fi
- fi
- dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
- dnl Test whether we really found GNU xgettext.
- if test "$XGETTEXT" != ":"; then
- dnl If it is no GNU xgettext we define it as : so that the
- dnl Makefiles still can work.
- if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
- (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
- : ;
- else
- AC_MSG_RESULT(
- [found xgettext program is not GNU xgettext; ignore it])
- XGETTEXT=":"
- fi
- dnl Remove leftover from FreeBSD xgettext call.
- rm -f messages.po
- fi
- AC_OUTPUT_COMMANDS([
- for ac_file in $CONFIG_FILES; do
- # Support "outfile[:infile[:infile...]]"
- case "$ac_file" in
- *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- esac
- # PO directories have a Makefile.in generated from Makefile.in.in.
- case "$ac_file" in */Makefile.in)
- # Adjust a relative srcdir.
- ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
- ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
- ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
- # In autoconf-2.13 it is called $ac_given_srcdir.
- # In autoconf-2.50 it is called $srcdir.
- test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
- case "$ac_given_srcdir" in
- .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
- /*) top_srcdir="$ac_given_srcdir" ;;
- *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
- if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
- rm -f "$ac_dir/POTFILES"
- test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
- cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
- POMAKEFILEDEPS="POTFILES.in"
- # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
- # on $ac_dir but don't depend on user-specified configuration
- # parameters.
- if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
- # The LINGUAS file contains the set of available languages.
- if test -n "$OBSOLETE_ALL_LINGUAS"; then
- test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
- fi
- ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
- # Hide the ALL_LINGUAS assigment from automake.
- eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
- POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
- else
- # The set of available languages was given in configure.ac.
- eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
- fi
- case "$ac_given_srcdir" in
- .) srcdirpre= ;;
- *) srcdirpre='$(srcdir)/' ;;
- esac
- POFILES=
- GMOFILES=
- UPDATEPOFILES=
- DUMMYPOFILES=
- for lang in $ALL_LINGUAS; do
- POFILES="$POFILES $srcdirpre$lang.po"
- GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
- UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
- DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
- done
- # CATALOGS depends on both $ac_dir and the user's LINGUAS
- # environment variable.
- INST_LINGUAS=
- if test -n "$ALL_LINGUAS"; then
- for presentlang in $ALL_LINGUAS; do
- useit=no
- if test "%UNSET%" != "$LINGUAS"; then
- desiredlanguages="$LINGUAS"
- else
- desiredlanguages="$ALL_LINGUAS"
- fi
- for desiredlang in $desiredlanguages; do
- # Use the presentlang catalog if desiredlang is
- # a. equal to presentlang, or
- # b. a variant of presentlang (because in this case,
- # presentlang can be used as a fallback for messages
- # which are not translated in the desiredlang catalog).
- case "$desiredlang" in
- "$presentlang"*) useit=yes;;
- esac
- done
- if test $useit = yes; then
- INST_LINGUAS="$INST_LINGUAS $presentlang"
- fi
- done
- fi
- CATALOGS=
- if test -n "$INST_LINGUAS"; then
- for lang in $INST_LINGUAS; do
- CATALOGS="$CATALOGS $lang.gmo"
- done
- fi
- test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
- sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
- for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
- if test -f "$f"; then
- case "$f" in
- *.orig | *.bak | *~) ;;
- *) cat "$f" >> "$ac_dir/Makefile" ;;
- esac
- fi
- done
- fi
- ;;
- esac
- done],
- [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
- # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
- # from automake.
- eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
- # Capture the value of LINGUAS because we need it to compute CATALOGS.
- LINGUAS="${LINGUAS-%UNSET%}"
- ])
- ])
- m4trace:../config/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
- # Prepare PATH_SEPARATOR.
- # The user is always right.
- if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
- fi
- # Find out how to test for executable files. Don't use a zero-byte file,
- # as systems may use methods other than mode bits to determine executability.
- cat >conf$$.file <<_ASEOF
- #! /bin/sh
- exit 0
- _ASEOF
- chmod +x conf$$.file
- if test -x conf$$.file >/dev/null 2>&1; then
- ac_executable_p="test -x"
- else
- ac_executable_p="test -f"
- fi
- rm -f conf$$.file
- # Extract the first word of "$2", so it can be a program name with args.
- set dummy $2; ac_word=[$]2
- AC_MSG_CHECKING([for $ac_word])
- AC_CACHE_VAL(ac_cv_path_$1,
- [case "[$]$1" in
- [[\\/]]* | ?:[[\\/]]*)
- ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
- ;;
- *)
- ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in ifelse([$5], , $PATH, [$5]); do
- IFS="$ac_save_IFS"
- test -z "$ac_dir" && ac_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
- if [$3]; then
- ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
- break 2
- fi
- fi
- done
- done
- IFS="$ac_save_IFS"
- dnl If no 4th arg is given, leave the cache variable unset,
- dnl so AC_PATH_PROGS will keep looking.
- ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
- ])dnl
- ;;
- esac])dnl
- $1="$ac_cv_path_$1"
- if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
- AC_MSG_RESULT([$]$1)
- else
- AC_MSG_RESULT(no)
- fi
- AC_SUBST($1)dnl
- ])
- m4trace:../config/stdint_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_STDINT_H], [
- AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
- [AC_TRY_COMPILE(
- [#include <sys/types.h>
- #include <stdint.h>],
- [uintmax_t i = (uintmax_t) -1;],
- jm_ac_cv_header_stdint_h=yes,
- jm_ac_cv_header_stdint_h=no)])
- if test $jm_ac_cv_header_stdint_h = yes; then
- AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
- [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
- and declares uintmax_t. ])
- fi
- ])
- m4trace:../config/uintmax_t.m4:11: -1- AC_PREREQ([2.13])
- m4trace:../config/uintmax_t.m4:16: -1- AC_DEFUN([jm_AC_TYPE_UINTMAX_T], [
- AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- AC_REQUIRE([jm_AC_HEADER_STDINT_H])
- if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
- AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
- test $ac_cv_type_unsigned_long_long = yes \
- && ac_type='unsigned long long' \
- || ac_type='unsigned long'
- AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
- [Define to unsigned long or unsigned long long
- if <stdint.h> and <inttypes.h> don't define.])
- else
- AC_DEFINE(HAVE_UINTMAX_T, 1,
- [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
- fi
- ])
- m4trace:../config/ulonglong.m4:11: -1- AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], [
- AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
- [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
- [unsigned long long ullmax = (unsigned long long) -1;
- return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
- ac_cv_type_unsigned_long_long=yes,
- ac_cv_type_unsigned_long_long=no)])
- if test $ac_cv_type_unsigned_long_long = yes; then
- AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
- [Define if you have the unsigned long long type.])
- fi
- ])
- m4trace:configure.ac:1: -1- AC_PREREQ([2.64])
- m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
- m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
- m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
- m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
- m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
- m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
- m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
- m4trace:configure.ac:2: -1- _GCC_AUTOCONF_VERSION_CHECK
- m4trace:configure.ac:6: -1- AM_GNU_GETTEXT_VERSION([0.12.1])
- m4trace:configure.ac:7: -1- AM_GNU_GETTEXT
- m4trace:configure.ac:7: -1- AM_PO_SUBDIRS
- m4trace:configure.ac:7: -1- m4_pattern_allow([^SET_MAKE$])
- m4trace:configure.ac:7: -1- AC_PROG_INSTALL
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_DATA$])
- m4trace:configure.ac:7: -1- AM_MKINSTALLDIRS
- m4trace:configure.ac:7: -1- m4_pattern_allow([^MKINSTALLDIRS$])
- m4trace:configure.ac:7: -1- AM_NLS
- m4trace:configure.ac:7: -1- m4_pattern_allow([^USE_NLS$])
- m4trace:configure.ac:7: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
- (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^MSGFMT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^GMSGFMT$])
- m4trace:configure.ac:7: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
- (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)], [:])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^XGETTEXT$])
- m4trace:configure.ac:7: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^MSGMERGE$])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/status.m4:1040: AC_OUTPUT_COMMANDS is expanded from...
- ../config/po.m4:23: AM_PO_SUBDIRS is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- AM_INTL_SUBDIR
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CFLAGS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^LDFLAGS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CPPFLAGS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^ac_ct_CC$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^EXEEXT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^OBJEXT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^build$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^build_cpu$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^build_vendor$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^build_os$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^host$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^host_cpu$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^host_vendor$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^host_os$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^RANLIB$])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/specific.m4:464: AC_ISC_POSIX is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CPP$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CPPFLAGS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CPP$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^GREP$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^EGREP$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^STDC_HEADERS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^const$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^off_t$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^size_t$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_ALLOCA$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^ALLOCA$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^C_ALLOCA$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^STACK_DIRECTION$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_MMAP$])
- m4trace:configure.ac:7: -1- jm_GLIBC21
- m4trace:configure.ac:7: -1- m4_pattern_allow([^GLIBC21$])
- m4trace:configure.ac:7: -1- gt_INTDIV0
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/intdiv0.m4:11: gt_INTDIV0 is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INTDIV0_RAISES_SIGFPE$])
- m4trace:configure.ac:7: -1- jm_AC_TYPE_UINTMAX_T
- m4trace:configure.ac:7: -1- jm_AC_HEADER_INTTYPES_H
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/inttypes_h.m4:14: jm_AC_HEADER_INTTYPES_H is expanded from...
- ../config/uintmax_t.m4:16: jm_AC_TYPE_UINTMAX_T is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
- m4trace:configure.ac:7: -1- jm_AC_HEADER_STDINT_H
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/stdint_h.m4:14: jm_AC_HEADER_STDINT_H is expanded from...
- ../config/uintmax_t.m4:16: jm_AC_TYPE_UINTMAX_T is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$])
- m4trace:configure.ac:7: -1- jm_AC_TYPE_UNSIGNED_LONG_LONG
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/ulonglong.m4:11: jm_AC_TYPE_UNSIGNED_LONG_LONG is expanded from...
- ../config/uintmax_t.m4:16: jm_AC_TYPE_UINTMAX_T is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^uintmax_t$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_UINTMAX_T$])
- m4trace:configure.ac:7: -1- gt_HEADER_INTTYPES_H
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/inttypes.m4:14: gt_HEADER_INTTYPES_H is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
- m4trace:configure.ac:7: -1- gt_INTTYPES_PRI
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/inttypes-pri.m4:14: gt_INTTYPES_PRI is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
- m4trace:configure.ac:7: -1- AM_ICONV
- m4trace:configure.ac:7: -1- AM_ICONV_LINK
- m4trace:configure.ac:7: -1- AM_ICONV_LINKFLAGS_BODY
- m4trace:configure.ac:7: -1- AC_LIB_PREPARE_PREFIX
- m4trace:configure.ac:7: -1- AC_LIB_RPATH
- m4trace:configure.ac:7: -1- AC_LIB_PROG_LD
- m4trace:configure.ac:7: -1- AC_LIB_PROG_LD_GNU
- m4trace:configure.ac:7: -1- AC_LIB_LINKFLAGS_BODY([iconv])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- m4trace:configure.ac:7: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
- --without-libiconv-prefix don't search for libiconv in includedir and libdir], [
- if test "X$withval" = "Xno"; then
- use_additional=no
- else
- if test "X$withval" = "X"; then
- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- else
- additional_includedir="$withval/include"
- additional_libdir="$withval/lib"
- fi
- fi
- ])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/iconv.m4:23: AM_ICONV_LINK is expanded from...
- ../config/iconv.m4:104: AM_ICONV is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/iconv.m4:23: AM_ICONV_LINK is expanded from...
- ../config/iconv.m4:104: AM_ICONV is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/iconv.m4:23: AM_ICONV_LINK is expanded from...
- ../config/iconv.m4:104: AM_ICONV is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_ICONV$])
- m4trace:configure.ac:7: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBICONV$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^LTLIBICONV$])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../config/iconv.m4:104: AM_ICONV is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^ICONV_CONST$])
- m4trace:configure.ac:7: -1- AM_LANGINFO_CODESET
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/codeset.m4:11: AM_LANGINFO_CODESET is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
- m4trace:configure.ac:7: -1- AM_LC_MESSAGES
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/lcmessage.m4:23: AM_LC_MESSAGES is expanded from...
- ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INTLBISON$])
- m4trace:configure.ac:7: -1- AM_NLS
- m4trace:configure.ac:7: -1- m4_pattern_allow([^USE_NLS$])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- AC_LIB_LINKFLAGS_BODY([intl])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- m4trace:configure.ac:7: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
- --without-libintl-prefix don't search for libintl in includedir and libdir], [
- if test "X$withval" = "Xno"; then
- use_additional=no
- else
- if test "X$withval" = "X"; then
- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- else
- additional_includedir="$withval/include"
- additional_libdir="$withval/lib"
- fi
- fi
- ])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
- eval additional_includedir=\"$includedir\"
- eval additional_libdir=\"$libdir\"
- ])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
- You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
- ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
- ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
- ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
- ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
- configure.ac:7: the top level])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^ENABLE_NLS$])
- m4trace:configure.ac:7: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
- m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_GETTEXT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^BUILD_INCLUDED_LIBINTL$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^USE_INCLUDED_LIBINTL$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^CATOBJEXT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^DATADIRNAME$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTOBJEXT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^GENCAT$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INTLOBJS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INTL_LIBTOOL_SUFFIX_PREFIX$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^INTLLIBS$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBINTL$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^LTLIBINTL$])
- m4trace:configure.ac:7: -1- m4_pattern_allow([^POSUB$])
- m4trace:configure.ac:10: -1- m4_pattern_allow([^IN_LIBINTL$])
- m4trace:configure.ac:11: -1- m4_pattern_allow([^IN_LIBRARY$])
- m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPENDS_ON_LIBICONV$])
- m4trace:configure.ac:13: -1- m4_pattern_allow([^ENABLE_RELOCATABLE$])
- m4trace:configure.ac:14: -1- m4_pattern_allow([^NO_XMALLOC$])
- m4trace:configure.ac:15: -1- m4_pattern_allow([^set_relocation_prefix$])
- m4trace:configure.ac:17: -1- m4_pattern_allow([^relocate$])
- m4trace:configure.ac:21: -1- m4_pattern_allow([^ACLOCAL$])
- m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOCONF$])
- m4trace:configure.ac:23: -1- m4_pattern_allow([^AUTOHEADER$])
- m4trace:configure.ac:33: -1- m4_pattern_allow([^MAINT$])
- m4trace:configure.ac:36: -1- m4_pattern_allow([^LIBINTL_DEP$])
- m4trace:configure.ac:37: -1- m4_pattern_allow([^INCINTL$])
- m4trace:configure.ac:51: -1- m4_pattern_allow([^LIB@&t@OBJS$])
- m4trace:configure.ac:51: -1- m4_pattern_allow([^LTLIBOBJS$])
|