traces.0 - enscript - GNU Enscript
(HTM) git clone git://thinkerwim.org/enscript.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
traces.0 (165250B)
---
1 m4trace:/usr/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
2 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3 dnl require some minimum version. Point them to the right macro.
4 m4_if([$1], [1.16.5], [],
5 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6 ])
7 m4trace:/usr/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.5])dnl
8 m4_ifndef([AC_AUTOCONF_VERSION],
9 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
10 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
11 m4trace:/usr/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
12 # Expand $ac_aux_dir to an absolute path.
13 am_aux_dir=`cd "$ac_aux_dir" && pwd`
14 ])
15 m4trace:/usr/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
16 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
17 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
18 AC_SUBST([$1_TRUE])dnl
19 AC_SUBST([$1_FALSE])dnl
20 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
21 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
22 m4_define([_AM_COND_VALUE_$1], [$2])dnl
23 if $2; then
24 $1_TRUE=
25 $1_FALSE='#'
26 else
27 $1_TRUE='#'
28 $1_FALSE=
29 fi
30 AC_CONFIG_COMMANDS_PRE(
31 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
32 AC_MSG_ERROR([[conditional "$1" was never defined.
33 Usually this means the macro was only invoked conditionally.]])
34 fi])])
35 m4trace:/usr/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
36 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
37 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
38 AC_REQUIRE([AM_DEP_TRACK])dnl
39
40 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
41 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
42 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
43 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
44 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
45 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
46 [depcc="$$1" am_compiler_list=])
47
48 AC_CACHE_CHECK([dependency style of $depcc],
49 [am_cv_$1_dependencies_compiler_type],
50 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
51 # We make a subdir and do the tests there. Otherwise we can end up
52 # making bogus files that we don't know about and never remove. For
53 # instance it was reported that on HP-UX the gcc test will end up
54 # making a dummy file named 'D' -- because '-MD' means "put the output
55 # in D".
56 rm -rf conftest.dir
57 mkdir conftest.dir
58 # Copy depcomp to subdir because otherwise we won't find it if we're
59 # using a relative directory.
60 cp "$am_depcomp" conftest.dir
61 cd conftest.dir
62 # We will build objects and dependencies in a subdirectory because
63 # it helps to detect inapplicable dependency modes. For instance
64 # both Tru64's cc and ICC support -MD to output dependencies as a
65 # side effect of compilation, but ICC will put the dependencies in
66 # the current directory while Tru64 will put them in the object
67 # directory.
68 mkdir sub
69
70 am_cv_$1_dependencies_compiler_type=none
71 if test "$am_compiler_list" = ""; then
72 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
73 fi
74 am__universal=false
75 m4_case([$1], [CC],
76 [case " $depcc " in #(
77 *\ -arch\ *\ -arch\ *) am__universal=true ;;
78 esac],
79 [CXX],
80 [case " $depcc " in #(
81 *\ -arch\ *\ -arch\ *) am__universal=true ;;
82 esac])
83
84 for depmode in $am_compiler_list; do
85 # Setup a source with many dependencies, because some compilers
86 # like to wrap large dependency lists on column 80 (with \), and
87 # we should not choose a depcomp mode which is confused by this.
88 #
89 # We need to recreate these files for each test, as the compiler may
90 # overwrite some of them when testing with obscure command lines.
91 # This happens at least with the AIX C compiler.
92 : > sub/conftest.c
93 for i in 1 2 3 4 5 6; do
94 echo '#include "conftst'$i'.h"' >> sub/conftest.c
95 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
96 # Solaris 10 /bin/sh.
97 echo '/* dummy */' > sub/conftst$i.h
98 done
99 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
100
101 # We check with '-c' and '-o' for the sake of the "dashmstdout"
102 # mode. It turns out that the SunPro C++ compiler does not properly
103 # handle '-M -o', and we need to detect this. Also, some Intel
104 # versions had trouble with output in subdirs.
105 am__obj=sub/conftest.${OBJEXT-o}
106 am__minus_obj="-o $am__obj"
107 case $depmode in
108 gcc)
109 # This depmode causes a compiler race in universal mode.
110 test "$am__universal" = false || continue
111 ;;
112 nosideeffect)
113 # After this tag, mechanisms are not by side-effect, so they'll
114 # only be used when explicitly requested.
115 if test "x$enable_dependency_tracking" = xyes; then
116 continue
117 else
118 break
119 fi
120 ;;
121 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
122 # This compiler won't grok '-c -o', but also, the minuso test has
123 # not run yet. These depmodes are late enough in the game, and
124 # so weak that their functioning should not be impacted.
125 am__obj=conftest.${OBJEXT-o}
126 am__minus_obj=
127 ;;
128 none) break ;;
129 esac
130 if depmode=$depmode \
131 source=sub/conftest.c object=$am__obj \
132 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
133 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
134 >/dev/null 2>conftest.err &&
135 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
136 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
137 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
138 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
139 # icc doesn't choke on unknown options, it will just issue warnings
140 # or remarks (even with -Werror). So we grep stderr for any message
141 # that says an option was ignored or not supported.
142 # When given -MP, icc 7.0 and 7.1 complain thusly:
143 # icc: Command line warning: ignoring option '-M'; no argument required
144 # The diagnosis changed in icc 8.0:
145 # icc: Command line remark: option '-MP' not supported
146 if (grep 'ignoring option' conftest.err ||
147 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
148 am_cv_$1_dependencies_compiler_type=$depmode
149 break
150 fi
151 fi
152 done
153
154 cd ..
155 rm -rf conftest.dir
156 else
157 am_cv_$1_dependencies_compiler_type=none
158 fi
159 ])
160 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
161 AM_CONDITIONAL([am__fastdep$1], [
162 test "x$enable_dependency_tracking" != xno \
163 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
164 ])
165 m4trace:/usr/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
166 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
167 ])
168 m4trace:/usr/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
169 AS_HELP_STRING(
170 [--enable-dependency-tracking],
171 [do not reject slow dependency extractors])
172 AS_HELP_STRING(
173 [--disable-dependency-tracking],
174 [speeds up one-time build])])
175 if test "x$enable_dependency_tracking" != xno; then
176 am_depcomp="$ac_aux_dir/depcomp"
177 AMDEPBACKSLASH='\'
178 am__nodep='_no'
179 fi
180 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
181 AC_SUBST([AMDEPBACKSLASH])dnl
182 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
183 AC_SUBST([am__nodep])dnl
184 _AM_SUBST_NOTMAKE([am__nodep])dnl
185 ])
186 m4trace:/usr/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
187 # Older Autoconf quotes --file arguments for eval, but not when files
188 # are listed without --file. Let's play safe and only enable the eval
189 # if we detect the quoting.
190 # TODO: see whether this extra hack can be removed once we start
191 # requiring Autoconf 2.70 or later.
192 AS_CASE([$CONFIG_FILES],
193 [*\'*], [eval set x "$CONFIG_FILES"],
194 [*], [set x $CONFIG_FILES])
195 shift
196 # Used to flag and report bootstrapping failures.
197 am_rc=0
198 for am_mf
199 do
200 # Strip MF so we end up with the name of the file.
201 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
202 # Check whether this is an Automake generated Makefile which includes
203 # dependency-tracking related rules and includes.
204 # Grep'ing the whole file directly is not great: AIX grep has a line
205 # limit of 2048, but all sed's we know have understand at least 4000.
206 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
207 || continue
208 am_dirpart=`AS_DIRNAME(["$am_mf"])`
209 am_filepart=`AS_BASENAME(["$am_mf"])`
210 AM_RUN_LOG([cd "$am_dirpart" \
211 && sed -e '/# am--include-marker/d' "$am_filepart" \
212 | $MAKE -f - am--depfiles]) || am_rc=$?
213 done
214 if test $am_rc -ne 0; then
215 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
216 for automatic dependency tracking. If GNU make was not used, consider
217 re-running the configure script with MAKE="gmake" (or whatever is
218 necessary). You can also try re-running configure with the
219 '--disable-dependency-tracking' option to at least be able to build
220 the package (albeit without support for automatic dependency tracking).])
221 fi
222 AS_UNSET([am_dirpart])
223 AS_UNSET([am_filepart])
224 AS_UNSET([am_mf])
225 AS_UNSET([am_rc])
226 rm -f conftest-deps.mk
227 }
228 ])
229 m4trace:/usr/share/aclocal-1.16/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
230 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
231 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
232 m4trace:/usr/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
233 m4_ifdef([_$0_ALREADY_INIT],
234 [m4_fatal([$0 expanded multiple times
235 ]m4_defn([_$0_ALREADY_INIT]))],
236 [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
237 dnl Autoconf wants to disallow AM_ names. We explicitly allow
238 dnl the ones we care about.
239 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
240 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
241 AC_REQUIRE([AC_PROG_INSTALL])dnl
242 if test "`cd $srcdir && pwd`" != "`pwd`"; then
243 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
244 # is not polluted with repeated "-I."
245 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
246 # test to see if srcdir already configured
247 if test -f $srcdir/config.status; then
248 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
249 fi
250 fi
251
252 # test whether we have cygpath
253 if test -z "$CYGPATH_W"; then
254 if (cygpath --version) >/dev/null 2>/dev/null; then
255 CYGPATH_W='cygpath -w'
256 else
257 CYGPATH_W=echo
258 fi
259 fi
260 AC_SUBST([CYGPATH_W])
261
262 # Define the identity of the package.
263 dnl Distinguish between old-style and new-style calls.
264 m4_ifval([$2],
265 [AC_DIAGNOSE([obsolete],
266 [$0: two- and three-arguments forms are deprecated.])
267 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
268 AC_SUBST([PACKAGE], [$1])dnl
269 AC_SUBST([VERSION], [$2])],
270 [_AM_SET_OPTIONS([$1])dnl
271 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
272 m4_if(
273 m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
274 [ok:ok],,
275 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
276 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
277 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
278
279 _AM_IF_OPTION([no-define],,
280 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
281 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
282
283 # Some tools Automake needs.
284 AC_REQUIRE([AM_SANITY_CHECK])dnl
285 AC_REQUIRE([AC_ARG_PROGRAM])dnl
286 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
287 AM_MISSING_PROG([AUTOCONF], [autoconf])
288 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
289 AM_MISSING_PROG([AUTOHEADER], [autoheader])
290 AM_MISSING_PROG([MAKEINFO], [makeinfo])
291 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
292 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
293 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
294 # For better backward compatibility. To be removed once Automake 1.9.x
295 # dies out for good. For more background, see:
296 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
297 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
298 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
299 # We need awk for the "check" target (and possibly the TAP driver). The
300 # system "awk" is bad on some platforms.
301 AC_REQUIRE([AC_PROG_AWK])dnl
302 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
303 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
304 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
305 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
306 [_AM_PROG_TAR([v7])])])
307 _AM_IF_OPTION([no-dependencies],,
308 [AC_PROVIDE_IFELSE([AC_PROG_CC],
309 [_AM_DEPENDENCIES([CC])],
310 [m4_define([AC_PROG_CC],
311 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
312 AC_PROVIDE_IFELSE([AC_PROG_CXX],
313 [_AM_DEPENDENCIES([CXX])],
314 [m4_define([AC_PROG_CXX],
315 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
316 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
317 [_AM_DEPENDENCIES([OBJC])],
318 [m4_define([AC_PROG_OBJC],
319 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
320 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
321 [_AM_DEPENDENCIES([OBJCXX])],
322 [m4_define([AC_PROG_OBJCXX],
323 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
324 ])
325 # Variables for tags utilities; see am/tags.am
326 if test -z "$CTAGS"; then
327 CTAGS=ctags
328 fi
329 AC_SUBST([CTAGS])
330 if test -z "$ETAGS"; then
331 ETAGS=etags
332 fi
333 AC_SUBST([ETAGS])
334 if test -z "$CSCOPE"; then
335 CSCOPE=cscope
336 fi
337 AC_SUBST([CSCOPE])
338
339 AC_REQUIRE([AM_SILENT_RULES])dnl
340 dnl The testsuite driver may need to know about EXEEXT, so add the
341 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
342 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
343 AC_CONFIG_COMMANDS_PRE(dnl
344 [m4_provide_if([_AM_COMPILER_EXEEXT],
345 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
346
347 # POSIX will say in a future version that running "rm -f" with no argument
348 # is OK; and we want to be able to make that assumption in our Makefile
349 # recipes. So use an aggressive probe to check that the usage we want is
350 # actually supported "in the wild" to an acceptable degree.
351 # See automake bug#10828.
352 # To make any issue more visible, cause the running configure to be aborted
353 # by default if the 'rm' program in use doesn't match our expectations; the
354 # user can still override this though.
355 if rm -f && rm -fr && rm -rf; then : OK; else
356 cat >&2 <<'END'
357 Oops!
358
359 Your 'rm' program seems unable to run without file operands specified
360 on the command line, even when the '-f' option is present. This is contrary
361 to the behaviour of most rm programs out there, and not conforming with
362 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
363
364 Please tell bug-automake@gnu.org about your system, including the value
365 of your $PATH and any error possibly output before this message. This
366 can help us improve future automake versions.
367
368 END
369 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
370 echo 'Configuration will proceed anyway, since you have set the' >&2
371 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
372 echo >&2
373 else
374 cat >&2 <<'END'
375 Aborting the configuration process, to ensure you take notice of the issue.
376
377 You can download and install GNU coreutils to get an 'rm' implementation
378 that behaves properly: <https://www.gnu.org/software/coreutils/>.
379
380 If you want to complete the configuration process using your problematic
381 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
382 to "yes", and re-run configure.
383
384 END
385 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
386 fi
387 fi
388 dnl The trailing newline in this macro's definition is deliberate, for
389 dnl backward compatibility and to allow trailing 'dnl'-style comments
390 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
391 ])
392 m4trace:/usr/share/aclocal-1.16/init.m4:204: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
393 _am_arg=$1
394 _am_stamp_count=1
395 for _am_header in $config_headers :; do
396 case $_am_header in
397 $_am_arg | $_am_arg:* )
398 break ;;
399 * )
400 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
401 esac
402 done
403 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
404 m4trace:/usr/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
405 if test x"${install_sh+set}" != xset; then
406 case $am_aux_dir in
407 *\ * | *\ *)
408 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
409 *)
410 install_sh="\${SHELL} $am_aux_dir/install-sh"
411 esac
412 fi
413 AC_SUBST([install_sh])])
414 m4trace:/usr/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
415 mkdir .tst 2>/dev/null
416 if test -d .tst; then
417 am__leading_dot=.
418 else
419 am__leading_dot=_
420 fi
421 rmdir .tst 2>/dev/null
422 AC_SUBST([am__leading_dot])])
423 m4trace:/usr/share/aclocal-1.16/lex.m4:13: -1- AC_DEFUN([AM_PROG_LEX], [AC_PREREQ([2.50])dnl
424 AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
425 AC_REQUIRE([AC_PROG_LEX])dnl
426 if test "$LEX" = :; then
427 LEX=${am_missing_run}flex
428 fi])
429 m4trace:/usr/share/aclocal-1.16/make.m4:13: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
430 cat > confinc.mk << 'END'
431 am__doit:
432 @echo this is the am__doit target >confinc.out
433 .PHONY: am__doit
434 END
435 am__include="#"
436 am__quote=
437 # BSD make does it like this.
438 echo '.include "confinc.mk" # ignored' > confmf.BSD
439 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
440 echo 'include confinc.mk # ignored' > confmf.GNU
441 _am_result=no
442 for s in GNU BSD; do
443 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
444 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
445 ['0:this is the am__doit target'],
446 [AS_CASE([$s],
447 [BSD], [am__include='.include' am__quote='"'],
448 [am__include='include' am__quote=''])])
449 if test "$am__include" != "#"; then
450 _am_result="yes ($s style)"
451 break
452 fi
453 done
454 rm -f confinc.* confmf.*
455 AC_MSG_RESULT([${_am_result}])
456 AC_SUBST([am__include])])
457 m4trace:/usr/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
458 m4trace:/usr/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
459 $1=${$1-"${am_missing_run}$2"}
460 AC_SUBST($1)])
461 m4trace:/usr/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
462 AC_REQUIRE_AUX_FILE([missing])dnl
463 if test x"${MISSING+set}" != xset; then
464 MISSING="\${SHELL} '$am_aux_dir/missing'"
465 fi
466 # Use eval to expand $SHELL
467 if eval "$MISSING --is-lightweight"; then
468 am_missing_run="$MISSING "
469 else
470 am_missing_run=
471 AC_MSG_WARN(['missing' script is too old or missing])
472 fi
473 ])
474 m4trace:/usr/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
475 m4trace:/usr/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
476 m4trace:/usr/share/aclocal-1.16/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
477 m4trace:/usr/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
478 m4trace:/usr/share/aclocal-1.16/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
479 AC_REQUIRE_AUX_FILE([compile])dnl
480 AC_LANG_PUSH([C])dnl
481 AC_CACHE_CHECK(
482 [whether $CC understands -c and -o together],
483 [am_cv_prog_cc_c_o],
484 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
485 # Make sure it works both with $CC and with simple cc.
486 # Following AC_PROG_CC_C_O, we do the test twice because some
487 # compilers refuse to overwrite an existing .o file with -o,
488 # though they will create one.
489 am_cv_prog_cc_c_o=yes
490 for am_i in 1 2; do
491 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
492 && test -f conftest2.$ac_objext; then
493 : OK
494 else
495 am_cv_prog_cc_c_o=no
496 break
497 fi
498 done
499 rm -f core conftest*
500 unset am_i])
501 if test "$am_cv_prog_cc_c_o" != yes; then
502 # Losing compiler, so override with the script.
503 # FIXME: It is wrong to rewrite CC.
504 # But if we don't then we get into trouble of one sort or another.
505 # A longer-term fix would be to have automake use am__CC in this case,
506 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
507 CC="$am_aux_dir/compile $CC"
508 fi
509 AC_LANG_POP([C])])
510 m4trace:/usr/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
511 m4trace:/usr/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
512 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
513 ac_status=$?
514 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
515 (exit $ac_status); }])
516 m4trace:/usr/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
517 # Reject unsafe characters in $srcdir or the absolute working directory
518 # name. Accept space and tab only in the latter.
519 am_lf='
520 '
521 case `pwd` in
522 *[[\\\"\#\$\&\'\`$am_lf]]*)
523 AC_MSG_ERROR([unsafe absolute working directory name]);;
524 esac
525 case $srcdir in
526 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
527 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
528 esac
529
530 # Do 'set' in a subshell so we don't clobber the current shell's
531 # arguments. Must try -L first in case configure is actually a
532 # symlink; some systems play weird games with the mod time of symlinks
533 # (eg FreeBSD returns the mod time of the symlink's containing
534 # directory).
535 if (
536 am_has_slept=no
537 for am_try in 1 2; do
538 echo "timestamp, slept: $am_has_slept" > conftest.file
539 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
540 if test "$[*]" = "X"; then
541 # -L didn't work.
542 set X `ls -t "$srcdir/configure" conftest.file`
543 fi
544 if test "$[*]" != "X $srcdir/configure conftest.file" \
545 && test "$[*]" != "X conftest.file $srcdir/configure"; then
546
547 # If neither matched, then we have a broken ls. This can happen
548 # if, for instance, CONFIG_SHELL is bash and it inherits a
549 # broken ls alias from the environment. This has actually
550 # happened. Such a system could not be considered "sane".
551 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
552 alias in your environment])
553 fi
554 if test "$[2]" = conftest.file || test $am_try -eq 2; then
555 break
556 fi
557 # Just in case.
558 sleep 1
559 am_has_slept=yes
560 done
561 test "$[2]" = conftest.file
562 )
563 then
564 # Ok.
565 :
566 else
567 AC_MSG_ERROR([newly created file is older than distributed files!
568 Check your system clock])
569 fi
570 AC_MSG_RESULT([yes])
571 # If we didn't sleep, we still need to ensure time stamps of config.status and
572 # generated files are strictly newer.
573 am_sleep_pid=
574 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
575 ( sleep 1 ) &
576 am_sleep_pid=$!
577 fi
578 AC_CONFIG_COMMANDS_PRE(
579 [AC_MSG_CHECKING([that generated files are newer than configure])
580 if test -n "$am_sleep_pid"; then
581 # Hide warnings about reused PIDs.
582 wait $am_sleep_pid 2>/dev/null
583 fi
584 AC_MSG_RESULT([done])])
585 rm -f conftest.file
586 ])
587 m4trace:/usr/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
588 AS_HELP_STRING(
589 [--enable-silent-rules],
590 [less verbose build output (undo: "make V=1")])
591 AS_HELP_STRING(
592 [--disable-silent-rules],
593 [verbose build output (undo: "make V=0")])dnl
594 ])
595 case $enable_silent_rules in @%:@ (((
596 yes) AM_DEFAULT_VERBOSITY=0;;
597 no) AM_DEFAULT_VERBOSITY=1;;
598 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
599 esac
600 dnl
601 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
602 dnl do not support nested variable expansions.
603 dnl See automake bug#9928 and bug#10237.
604 am_make=${MAKE-make}
605 AC_CACHE_CHECK([whether $am_make supports nested variables],
606 [am_cv_make_support_nested_variables],
607 [if AS_ECHO([['TRUE=$(BAR$(V))
608 BAR0=false
609 BAR1=true
610 V=1
611 am__doit:
612 @$(TRUE)
613 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
614 am_cv_make_support_nested_variables=yes
615 else
616 am_cv_make_support_nested_variables=no
617 fi])
618 if test $am_cv_make_support_nested_variables = yes; then
619 dnl Using '$V' instead of '$(V)' breaks IRIX make.
620 AM_V='$(V)'
621 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
622 else
623 AM_V=$AM_DEFAULT_VERBOSITY
624 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
625 fi
626 AC_SUBST([AM_V])dnl
627 AM_SUBST_NOTMAKE([AM_V])dnl
628 AC_SUBST([AM_DEFAULT_V])dnl
629 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
630 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
631 AM_BACKSLASH='\'
632 AC_SUBST([AM_BACKSLASH])dnl
633 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
634 ])
635 m4trace:/usr/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
636 # Installed binaries are usually stripped using 'strip' when the user
637 # run "make install-strip". However 'strip' might not be the right
638 # tool to use in cross-compilation environments, therefore Automake
639 # will honor the 'STRIP' environment variable to overrule this program.
640 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
641 if test "$cross_compiling" != no; then
642 AC_CHECK_TOOL([STRIP], [strip], :)
643 fi
644 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
645 AC_SUBST([INSTALL_STRIP_PROGRAM])])
646 m4trace:/usr/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
647 m4trace:/usr/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
648 m4trace:/usr/share/aclocal-1.16/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
649 # in the wild :-( We should find a proper way to deprecate it ...
650 AC_SUBST([AMTAR], ['$${TAR-tar}'])
651
652 # We'll loop over all known methods to create a tar archive until one works.
653 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
654
655 m4_if([$1], [v7],
656 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
657
658 [m4_case([$1],
659 [ustar],
660 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
661 # There is notably a 21 bits limit for the UID and the GID. In fact,
662 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
663 # and bug#13588).
664 am_max_uid=2097151 # 2^21 - 1
665 am_max_gid=$am_max_uid
666 # The $UID and $GID variables are not portable, so we need to resort
667 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
668 # below are definitely unexpected, so allow the users to see them
669 # (that is, avoid stderr redirection).
670 am_uid=`id -u || echo unknown`
671 am_gid=`id -g || echo unknown`
672 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
673 if test $am_uid -le $am_max_uid; then
674 AC_MSG_RESULT([yes])
675 else
676 AC_MSG_RESULT([no])
677 _am_tools=none
678 fi
679 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
680 if test $am_gid -le $am_max_gid; then
681 AC_MSG_RESULT([yes])
682 else
683 AC_MSG_RESULT([no])
684 _am_tools=none
685 fi],
686
687 [pax],
688 [],
689
690 [m4_fatal([Unknown tar format])])
691
692 AC_MSG_CHECKING([how to create a $1 tar archive])
693
694 # Go ahead even if we have the value already cached. We do so because we
695 # need to set the values for the 'am__tar' and 'am__untar' variables.
696 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
697
698 for _am_tool in $_am_tools; do
699 case $_am_tool in
700 gnutar)
701 for _am_tar in tar gnutar gtar; do
702 AM_RUN_LOG([$_am_tar --version]) && break
703 done
704 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
705 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
706 am__untar="$_am_tar -xf -"
707 ;;
708 plaintar)
709 # Must skip GNU tar: if it does not support --format= it doesn't create
710 # ustar tarball either.
711 (tar --version) >/dev/null 2>&1 && continue
712 am__tar='tar chf - "$$tardir"'
713 am__tar_='tar chf - "$tardir"'
714 am__untar='tar xf -'
715 ;;
716 pax)
717 am__tar='pax -L -x $1 -w "$$tardir"'
718 am__tar_='pax -L -x $1 -w "$tardir"'
719 am__untar='pax -r'
720 ;;
721 cpio)
722 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
723 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
724 am__untar='cpio -i -H $1 -d'
725 ;;
726 none)
727 am__tar=false
728 am__tar_=false
729 am__untar=false
730 ;;
731 esac
732
733 # If the value was cached, stop now. We just wanted to have am__tar
734 # and am__untar set.
735 test -n "${am_cv_prog_tar_$1}" && break
736
737 # tar/untar a dummy directory, and stop if the command works.
738 rm -rf conftest.dir
739 mkdir conftest.dir
740 echo GrepMe > conftest.dir/file
741 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
742 rm -rf conftest.dir
743 if test -s conftest.tar; then
744 AM_RUN_LOG([$am__untar <conftest.tar])
745 AM_RUN_LOG([cat conftest.dir/file])
746 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
747 fi
748 done
749 rm -rf conftest.dir
750
751 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
752 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
753
754 AC_SUBST([am__tar])
755 AC_SUBST([am__untar])
756 ])
757 m4trace:m4/gettext.m4:55: -1- AC_DEFUN([AM_GNU_GETTEXT], [
758 dnl Argument checking.
759 m4_if([$1], [], , [m4_if([$1], [external], , [m4_if([$1], [use-libtool], ,
760 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
761 ])])])])
762 m4_if(m4_if([$1], [], [old])[]m4_if([$1], [no-libtool], [old]), [old],
763 [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.
764 ])])
765 m4_if([$2], [], , [m4_if([$2], [need-ngettext], , [m4_if([$2], [need-formatstring-macros], ,
766 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
767 ])])])])
768 define([gt_included_intl],
769 m4_if([$1], [external], [no], [yes]))
770 gt_NEEDS_INIT
771 AM_GNU_GETTEXT_NEED([$2])
772
773 AC_REQUIRE([AM_PO_SUBDIRS])dnl
774 m4_if(gt_included_intl, yes, [
775 AC_REQUIRE([AM_INTL_SUBDIR])dnl
776 ])
777
778 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
779 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
780 AC_REQUIRE([AC_LIB_RPATH])
781
782 dnl Sometimes libintl requires libiconv, so first search for libiconv.
783 dnl Ideally we would do this search only after the
784 dnl if test "$USE_NLS" = "yes"; then
785 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
786 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
787 dnl the configure script would need to contain the same shell code
788 dnl again, outside any 'if'. There are two solutions:
789 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
790 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
791 dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it.
792 m4_if(gt_included_intl, yes, , [
793 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
794 ])
795
796 dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation.
797 gt_INTL_MACOSX
798
799 dnl Set USE_NLS.
800 AC_REQUIRE([AM_NLS])
801
802 m4_if(gt_included_intl, yes, [
803 BUILD_INCLUDED_LIBINTL=no
804 USE_INCLUDED_LIBINTL=no
805 ])
806 LIBINTL=
807 LTLIBINTL=
808 POSUB=
809
810 dnl Add a version number to the cache macros.
811 case " $gt_needs " in
812 *" need-formatstring-macros "*) gt_api_version=3 ;;
813 *" need-ngettext "*) gt_api_version=2 ;;
814 *) gt_api_version=1 ;;
815 esac
816 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
817 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
818
819 dnl If we use NLS figure out what method
820 if test "$USE_NLS" = "yes"; then
821 gt_use_preinstalled_gnugettext=no
822 m4_if(gt_included_intl, yes, [
823 AC_MSG_CHECKING([whether included gettext is requested])
824 AC_ARG_WITH([included-gettext],
825 [ --with-included-gettext use the GNU gettext library included here],
826 nls_cv_force_use_gnu_gettext=$withval,
827 nls_cv_force_use_gnu_gettext=no)
828 AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])
829
830 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
831 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
832 ])
833 dnl User does not insist on using GNU NLS library. Figure out what
834 dnl to use. If GNU gettext is available we use this. Else we have
835 dnl to fall back to GNU NLS library.
836
837 if test $gt_api_version -ge 3; then
838 gt_revision_test_code='
839 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
840 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
841 #endif
842 changequote(,)dnl
843 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
844 changequote([,])dnl
845 '
846 else
847 gt_revision_test_code=
848 fi
849 if test $gt_api_version -ge 2; then
850 gt_expression_test_code=' + * ngettext ("", "", 0)'
851 else
852 gt_expression_test_code=
853 fi
854
855 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
856 [AC_LINK_IFELSE(
857 [AC_LANG_PROGRAM(
858 [[
859 #include <libintl.h>
860 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
861 extern int _nl_msg_cat_cntr;
862 extern int *_nl_domain_bindings;
863 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
864 #else
865 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
866 #endif
867 $gt_revision_test_code
868 ]],
869 [[
870 bindtextdomain ("", "");
871 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
872 ]])],
873 [eval "$gt_func_gnugettext_libc=yes"],
874 [eval "$gt_func_gnugettext_libc=no"])])
875
876 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
877 dnl Sometimes libintl requires libiconv, so first search for libiconv.
878 m4_if(gt_included_intl, yes, , [
879 AM_ICONV_LINK
880 ])
881 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
882 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
883 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
884 dnl even if libiconv doesn't exist.
885 AC_LIB_LINKFLAGS_BODY([intl])
886 AC_CACHE_CHECK([for GNU gettext in libintl],
887 [$gt_func_gnugettext_libintl],
888 [gt_save_CPPFLAGS="$CPPFLAGS"
889 CPPFLAGS="$CPPFLAGS $INCINTL"
890 gt_save_LIBS="$LIBS"
891 LIBS="$LIBS $LIBINTL"
892 dnl Now see whether libintl exists and does not depend on libiconv.
893 AC_LINK_IFELSE(
894 [AC_LANG_PROGRAM(
895 [[
896 #include <libintl.h>
897 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
898 extern int _nl_msg_cat_cntr;
899 extern
900 #ifdef __cplusplus
901 "C"
902 #endif
903 const char *_nl_expand_alias (const char *);
904 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
905 #else
906 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
907 #endif
908 $gt_revision_test_code
909 ]],
910 [[
911 bindtextdomain ("", "");
912 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
913 ]])],
914 [eval "$gt_func_gnugettext_libintl=yes"],
915 [eval "$gt_func_gnugettext_libintl=no"])
916 dnl Now see whether libintl exists and depends on libiconv.
917 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
918 LIBS="$LIBS $LIBICONV"
919 AC_LINK_IFELSE(
920 [AC_LANG_PROGRAM(
921 [[
922 #include <libintl.h>
923 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
924 extern int _nl_msg_cat_cntr;
925 extern
926 #ifdef __cplusplus
927 "C"
928 #endif
929 const char *_nl_expand_alias (const char *);
930 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
931 #else
932 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
933 #endif
934 $gt_revision_test_code
935 ]],
936 [[
937 bindtextdomain ("", "");
938 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
939 ]])],
940 [LIBINTL="$LIBINTL $LIBICONV"
941 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
942 eval "$gt_func_gnugettext_libintl=yes"
943 ])
944 fi
945 CPPFLAGS="$gt_save_CPPFLAGS"
946 LIBS="$gt_save_LIBS"])
947 fi
948
949 dnl If an already present or preinstalled GNU gettext() is found,
950 dnl use it. But if this macro is used in GNU gettext, and GNU
951 dnl gettext is already preinstalled in libintl, we update this
952 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
953 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
954 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
955 && test "$PACKAGE" != gettext-runtime \
956 && test "$PACKAGE" != gettext-tools; }; then
957 gt_use_preinstalled_gnugettext=yes
958 else
959 dnl Reset the values set by searching for libintl.
960 LIBINTL=
961 LTLIBINTL=
962 INCINTL=
963 fi
964
965 m4_if(gt_included_intl, yes, [
966 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
967 dnl GNU gettext is not found in the C library.
968 dnl Fall back on included GNU gettext library.
969 nls_cv_use_gnu_gettext=yes
970 fi
971 fi
972
973 if test "$nls_cv_use_gnu_gettext" = "yes"; then
974 dnl Mark actions used to generate GNU NLS library.
975 BUILD_INCLUDED_LIBINTL=yes
976 USE_INCLUDED_LIBINTL=yes
977 LIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD"
978 LTLIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD"
979 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
980 fi
981
982 CATOBJEXT=
983 if test "$gt_use_preinstalled_gnugettext" = "yes" \
984 || test "$nls_cv_use_gnu_gettext" = "yes"; then
985 dnl Mark actions to use GNU gettext tools.
986 CATOBJEXT=.gmo
987 fi
988 ])
989
990 if test -n "$INTL_MACOSX_LIBS"; then
991 if test "$gt_use_preinstalled_gnugettext" = "yes" \
992 || test "$nls_cv_use_gnu_gettext" = "yes"; then
993 dnl Some extra flags are needed during linking.
994 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
995 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
996 fi
997 fi
998
999 if test "$gt_use_preinstalled_gnugettext" = "yes" \
1000 || test "$nls_cv_use_gnu_gettext" = "yes"; then
1001 AC_DEFINE([ENABLE_NLS], [1],
1002 [Define to 1 if translation of program messages to the user's native language
1003 is requested.])
1004 else
1005 USE_NLS=no
1006 fi
1007 fi
1008
1009 AC_MSG_CHECKING([whether to use NLS])
1010 AC_MSG_RESULT([$USE_NLS])
1011 if test "$USE_NLS" = "yes"; then
1012 AC_MSG_CHECKING([where the gettext function comes from])
1013 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
1014 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
1015 gt_source="external libintl"
1016 else
1017 gt_source="libc"
1018 fi
1019 else
1020 gt_source="included intl directory"
1021 fi
1022 AC_MSG_RESULT([$gt_source])
1023 fi
1024
1025 if test "$USE_NLS" = "yes"; then
1026
1027 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
1028 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
1029 AC_MSG_CHECKING([how to link with libintl])
1030 AC_MSG_RESULT([$LIBINTL])
1031 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
1032 fi
1033
1034 dnl For backward compatibility. Some packages may be using this.
1035 AC_DEFINE([HAVE_GETTEXT], [1],
1036 [Define if the GNU gettext() function is already present or preinstalled.])
1037 AC_DEFINE([HAVE_DCGETTEXT], [1],
1038 [Define if the GNU dcgettext() function is already present or preinstalled.])
1039 fi
1040
1041 dnl We need to process the po/ directory.
1042 POSUB=po
1043 fi
1044
1045 m4_if(gt_included_intl, yes, [
1046 dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes'
1047 dnl because some of the testsuite requires it.
1048 BUILD_INCLUDED_LIBINTL=yes
1049
1050 dnl Make all variables we use known to autoconf.
1051 AC_SUBST([BUILD_INCLUDED_LIBINTL])
1052 AC_SUBST([USE_INCLUDED_LIBINTL])
1053 AC_SUBST([CATOBJEXT])
1054 ])
1055
1056 dnl For backward compatibility. Some Makefiles may be using this.
1057 INTLLIBS="$LIBINTL"
1058 AC_SUBST([INTLLIBS])
1059
1060 dnl Make all documented variables known to autoconf.
1061 AC_SUBST([LIBINTL])
1062 AC_SUBST([LTLIBINTL])
1063 AC_SUBST([POSUB])
1064 ])
1065 m4trace:m4/gettext.m4:375: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [
1066 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
1067 ])
1068 m4trace:m4/gettext.m4:382: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
1069 m4trace:m4/gettext.m4:386: -1- AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], [])
1070 m4trace:m4/host-cpu-c-abi.m4:50: -1- AC_DEFUN([gl_HOST_CPU_C_ABI], [
1071 AC_REQUIRE([AC_CANONICAL_HOST])
1072 AC_REQUIRE([gl_C_ASM])
1073 AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi],
1074 [case "$host_cpu" in
1075
1076 changequote(,)dnl
1077 i[34567]86 )
1078 changequote([,])dnl
1079 gl_cv_host_cpu_c_abi=i386
1080 ;;
1081
1082 x86_64 )
1083 # On x86_64 systems, the C compiler may be generating code in one of
1084 # these ABIs:
1085 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
1086 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
1087 # with native Windows (mingw, MSVC).
1088 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
1089 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
1090 AC_COMPILE_IFELSE(
1091 [AC_LANG_SOURCE(
1092 [[#if (defined __x86_64__ || defined __amd64__ \
1093 || defined _M_X64 || defined _M_AMD64)
1094 int ok;
1095 #else
1096 error fail
1097 #endif
1098 ]])],
1099 [AC_COMPILE_IFELSE(
1100 [AC_LANG_SOURCE(
1101 [[#if defined __ILP32__ || defined _ILP32
1102 int ok;
1103 #else
1104 error fail
1105 #endif
1106 ]])],
1107 [gl_cv_host_cpu_c_abi=x86_64-x32],
1108 [gl_cv_host_cpu_c_abi=x86_64])],
1109 [gl_cv_host_cpu_c_abi=i386])
1110 ;;
1111
1112 changequote(,)dnl
1113 alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
1114 changequote([,])dnl
1115 gl_cv_host_cpu_c_abi=alpha
1116 ;;
1117
1118 arm* | aarch64 )
1119 # Assume arm with EABI.
1120 # On arm64 systems, the C compiler may be generating code in one of
1121 # these ABIs:
1122 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
1123 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
1124 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
1125 AC_COMPILE_IFELSE(
1126 [AC_LANG_SOURCE(
1127 [[#ifdef __aarch64__
1128 int ok;
1129 #else
1130 error fail
1131 #endif
1132 ]])],
1133 [AC_COMPILE_IFELSE(
1134 [AC_LANG_SOURCE(
1135 [[#if defined __ILP32__ || defined _ILP32
1136 int ok;
1137 #else
1138 error fail
1139 #endif
1140 ]])],
1141 [gl_cv_host_cpu_c_abi=arm64-ilp32],
1142 [gl_cv_host_cpu_c_abi=arm64])],
1143 [# Don't distinguish little-endian and big-endian arm, since they
1144 # don't require different machine code for simple operations and
1145 # since the user can distinguish them through the preprocessor
1146 # defines __ARMEL__ vs. __ARMEB__.
1147 # But distinguish arm which passes floating-point arguments and
1148 # return values in integer registers (r0, r1, ...) - this is
1149 # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which
1150 # passes them in float registers (s0, s1, ...) and double registers
1151 # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer
1152 # sets the preprocessor defines __ARM_PCS (for the first case) and
1153 # __ARM_PCS_VFP (for the second case), but older GCC does not.
1154 echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c
1155 # Look for a reference to the register d0 in the .s file.
1156 AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1
1157 if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then
1158 gl_cv_host_cpu_c_abi=armhf
1159 else
1160 gl_cv_host_cpu_c_abi=arm
1161 fi
1162 rm -f conftest*
1163 ])
1164 ;;
1165
1166 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
1167 # On hppa, the C compiler may be generating 32-bit code or 64-bit
1168 # code. In the latter case, it defines _LP64 and __LP64__.
1169 AC_COMPILE_IFELSE(
1170 [AC_LANG_SOURCE(
1171 [[#ifdef __LP64__
1172 int ok;
1173 #else
1174 error fail
1175 #endif
1176 ]])],
1177 [gl_cv_host_cpu_c_abi=hppa64],
1178 [gl_cv_host_cpu_c_abi=hppa])
1179 ;;
1180
1181 ia64* )
1182 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
1183 # 32-bit code. In the latter case, it defines _ILP32.
1184 AC_COMPILE_IFELSE(
1185 [AC_LANG_SOURCE(
1186 [[#ifdef _ILP32
1187 int ok;
1188 #else
1189 error fail
1190 #endif
1191 ]])],
1192 [gl_cv_host_cpu_c_abi=ia64-ilp32],
1193 [gl_cv_host_cpu_c_abi=ia64])
1194 ;;
1195
1196 mips* )
1197 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
1198 # at 32.
1199 AC_COMPILE_IFELSE(
1200 [AC_LANG_SOURCE(
1201 [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
1202 int ok;
1203 #else
1204 error fail
1205 #endif
1206 ]])],
1207 [gl_cv_host_cpu_c_abi=mips64],
1208 [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but
1209 # may later get defined by <sgidefs.h>), and _MIPS_SIM == _ABIN32.
1210 # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but
1211 # may later get defined by <sgidefs.h>), and _MIPS_SIM == _ABIO32.
1212 AC_COMPILE_IFELSE(
1213 [AC_LANG_SOURCE(
1214 [[#if (_MIPS_SIM == _ABIN32)
1215 int ok;
1216 #else
1217 error fail
1218 #endif
1219 ]])],
1220 [gl_cv_host_cpu_c_abi=mipsn32],
1221 [gl_cv_host_cpu_c_abi=mips])])
1222 ;;
1223
1224 powerpc* )
1225 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
1226 # No need to distinguish them here; the caller may distinguish
1227 # them based on the OS.
1228 # On powerpc64 systems, the C compiler may still be generating
1229 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
1230 # be generating 64-bit code.
1231 AC_COMPILE_IFELSE(
1232 [AC_LANG_SOURCE(
1233 [[#if defined __powerpc64__ || defined __LP64__
1234 int ok;
1235 #else
1236 error fail
1237 #endif
1238 ]])],
1239 [# On powerpc64, there are two ABIs on Linux: The AIX compatible
1240 # one and the ELFv2 one. The latter defines _CALL_ELF=2.
1241 AC_COMPILE_IFELSE(
1242 [AC_LANG_SOURCE(
1243 [[#if defined _CALL_ELF && _CALL_ELF == 2
1244 int ok;
1245 #else
1246 error fail
1247 #endif
1248 ]])],
1249 [gl_cv_host_cpu_c_abi=powerpc64-elfv2],
1250 [gl_cv_host_cpu_c_abi=powerpc64])
1251 ],
1252 [gl_cv_host_cpu_c_abi=powerpc])
1253 ;;
1254
1255 rs6000 )
1256 gl_cv_host_cpu_c_abi=powerpc
1257 ;;
1258
1259 riscv32 | riscv64 )
1260 # There are 2 architectures (with variants): rv32* and rv64*.
1261 AC_COMPILE_IFELSE(
1262 [AC_LANG_SOURCE(
1263 [[#if __riscv_xlen == 64
1264 int ok;
1265 #else
1266 error fail
1267 #endif
1268 ]])],
1269 [cpu=riscv64],
1270 [cpu=riscv32])
1271 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
1272 # Size of 'long' and 'void *':
1273 AC_COMPILE_IFELSE(
1274 [AC_LANG_SOURCE(
1275 [[#if defined __LP64__
1276 int ok;
1277 #else
1278 error fail
1279 #endif
1280 ]])],
1281 [main_abi=lp64],
1282 [main_abi=ilp32])
1283 # Float ABIs:
1284 # __riscv_float_abi_double:
1285 # 'float' and 'double' are passed in floating-point registers.
1286 # __riscv_float_abi_single:
1287 # 'float' are passed in floating-point registers.
1288 # __riscv_float_abi_soft:
1289 # No values are passed in floating-point registers.
1290 AC_COMPILE_IFELSE(
1291 [AC_LANG_SOURCE(
1292 [[#if defined __riscv_float_abi_double
1293 int ok;
1294 #else
1295 error fail
1296 #endif
1297 ]])],
1298 [float_abi=d],
1299 [AC_COMPILE_IFELSE(
1300 [AC_LANG_SOURCE(
1301 [[#if defined __riscv_float_abi_single
1302 int ok;
1303 #else
1304 error fail
1305 #endif
1306 ]])],
1307 [float_abi=f],
1308 [float_abi=''])
1309 ])
1310 gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}"
1311 ;;
1312
1313 s390* )
1314 # On s390x, the C compiler may be generating 64-bit (= s390x) code
1315 # or 31-bit (= s390) code.
1316 AC_COMPILE_IFELSE(
1317 [AC_LANG_SOURCE(
1318 [[#if defined __LP64__ || defined __s390x__
1319 int ok;
1320 #else
1321 error fail
1322 #endif
1323 ]])],
1324 [gl_cv_host_cpu_c_abi=s390x],
1325 [gl_cv_host_cpu_c_abi=s390])
1326 ;;
1327
1328 sparc | sparc64 )
1329 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
1330 # C compiler still generates 32-bit code.
1331 AC_COMPILE_IFELSE(
1332 [AC_LANG_SOURCE(
1333 [[#if defined __sparcv9 || defined __arch64__
1334 int ok;
1335 #else
1336 error fail
1337 #endif
1338 ]])],
1339 [gl_cv_host_cpu_c_abi=sparc64],
1340 [gl_cv_host_cpu_c_abi=sparc])
1341 ;;
1342
1343 *)
1344 gl_cv_host_cpu_c_abi="$host_cpu"
1345 ;;
1346 esac
1347 ])
1348
1349 dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same.
1350 HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'`
1351 HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi"
1352 AC_SUBST([HOST_CPU])
1353 AC_SUBST([HOST_CPU_C_ABI])
1354
1355 # This was
1356 # AC_DEFINE_UNQUOTED([__${HOST_CPU}__])
1357 # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__])
1358 # earlier, but KAI C++ 3.2d doesn't like this.
1359 sed -e 's/-/_/g' >> confdefs.h <<EOF
1360 #ifndef __${HOST_CPU}__
1361 #define __${HOST_CPU}__ 1
1362 #endif
1363 #ifndef __${HOST_CPU_C_ABI}__
1364 #define __${HOST_CPU_C_ABI}__ 1
1365 #endif
1366 EOF
1367 AH_TOP([/* CPU and C ABI indicator */
1368 #ifndef __i386__
1369 #undef __i386__
1370 #endif
1371 #ifndef __x86_64_x32__
1372 #undef __x86_64_x32__
1373 #endif
1374 #ifndef __x86_64__
1375 #undef __x86_64__
1376 #endif
1377 #ifndef __alpha__
1378 #undef __alpha__
1379 #endif
1380 #ifndef __arm__
1381 #undef __arm__
1382 #endif
1383 #ifndef __armhf__
1384 #undef __armhf__
1385 #endif
1386 #ifndef __arm64_ilp32__
1387 #undef __arm64_ilp32__
1388 #endif
1389 #ifndef __arm64__
1390 #undef __arm64__
1391 #endif
1392 #ifndef __hppa__
1393 #undef __hppa__
1394 #endif
1395 #ifndef __hppa64__
1396 #undef __hppa64__
1397 #endif
1398 #ifndef __ia64_ilp32__
1399 #undef __ia64_ilp32__
1400 #endif
1401 #ifndef __ia64__
1402 #undef __ia64__
1403 #endif
1404 #ifndef __loongarch64__
1405 #undef __loongarch64__
1406 #endif
1407 #ifndef __m68k__
1408 #undef __m68k__
1409 #endif
1410 #ifndef __mips__
1411 #undef __mips__
1412 #endif
1413 #ifndef __mipsn32__
1414 #undef __mipsn32__
1415 #endif
1416 #ifndef __mips64__
1417 #undef __mips64__
1418 #endif
1419 #ifndef __powerpc__
1420 #undef __powerpc__
1421 #endif
1422 #ifndef __powerpc64__
1423 #undef __powerpc64__
1424 #endif
1425 #ifndef __powerpc64_elfv2__
1426 #undef __powerpc64_elfv2__
1427 #endif
1428 #ifndef __riscv32__
1429 #undef __riscv32__
1430 #endif
1431 #ifndef __riscv64__
1432 #undef __riscv64__
1433 #endif
1434 #ifndef __riscv32_ilp32__
1435 #undef __riscv32_ilp32__
1436 #endif
1437 #ifndef __riscv32_ilp32f__
1438 #undef __riscv32_ilp32f__
1439 #endif
1440 #ifndef __riscv32_ilp32d__
1441 #undef __riscv32_ilp32d__
1442 #endif
1443 #ifndef __riscv64_ilp32__
1444 #undef __riscv64_ilp32__
1445 #endif
1446 #ifndef __riscv64_ilp32f__
1447 #undef __riscv64_ilp32f__
1448 #endif
1449 #ifndef __riscv64_ilp32d__
1450 #undef __riscv64_ilp32d__
1451 #endif
1452 #ifndef __riscv64_lp64__
1453 #undef __riscv64_lp64__
1454 #endif
1455 #ifndef __riscv64_lp64f__
1456 #undef __riscv64_lp64f__
1457 #endif
1458 #ifndef __riscv64_lp64d__
1459 #undef __riscv64_lp64d__
1460 #endif
1461 #ifndef __s390__
1462 #undef __s390__
1463 #endif
1464 #ifndef __s390x__
1465 #undef __s390x__
1466 #endif
1467 #ifndef __sh__
1468 #undef __sh__
1469 #endif
1470 #ifndef __sparc__
1471 #undef __sparc__
1472 #endif
1473 #ifndef __sparc64__
1474 #undef __sparc64__
1475 #endif
1476 ])
1477
1478 ])
1479 m4trace:m4/host-cpu-c-abi.m4:466: -1- AC_DEFUN([gl_HOST_CPU_C_ABI_32BIT], [
1480 AC_REQUIRE([AC_CANONICAL_HOST])
1481 AC_CACHE_CHECK([32-bit host C ABI], [gl_cv_host_cpu_c_abi_32bit],
1482 [if test -n "$gl_cv_host_cpu_c_abi"; then
1483 case "$gl_cv_host_cpu_c_abi" in
1484 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
1485 gl_cv_host_cpu_c_abi_32bit=yes ;;
1486 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
1487 gl_cv_host_cpu_c_abi_32bit=no ;;
1488 *)
1489 gl_cv_host_cpu_c_abi_32bit=unknown ;;
1490 esac
1491 else
1492 case "$host_cpu" in
1493
1494 # CPUs that only support a 32-bit ABI.
1495 arc \
1496 | bfin \
1497 | cris* \
1498 | csky \
1499 | epiphany \
1500 | ft32 \
1501 | h8300 \
1502 | m68k \
1503 | microblaze | microblazeel \
1504 | nds32 | nds32le | nds32be \
1505 | nios2 | nios2eb | nios2el \
1506 | or1k* \
1507 | or32 \
1508 | sh | sh[1234] | sh[1234]e[lb] \
1509 | tic6x \
1510 | xtensa* )
1511 gl_cv_host_cpu_c_abi_32bit=yes
1512 ;;
1513
1514 # CPUs that only support a 64-bit ABI.
1515 changequote(,)dnl
1516 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
1517 | mmix )
1518 changequote([,])dnl
1519 gl_cv_host_cpu_c_abi_32bit=no
1520 ;;
1521
1522 changequote(,)dnl
1523 i[34567]86 )
1524 changequote([,])dnl
1525 gl_cv_host_cpu_c_abi_32bit=yes
1526 ;;
1527
1528 x86_64 )
1529 # On x86_64 systems, the C compiler may be generating code in one of
1530 # these ABIs:
1531 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
1532 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
1533 # with native Windows (mingw, MSVC).
1534 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
1535 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
1536 AC_COMPILE_IFELSE(
1537 [AC_LANG_SOURCE(
1538 [[#if (defined __x86_64__ || defined __amd64__ \
1539 || defined _M_X64 || defined _M_AMD64) \
1540 && !(defined __ILP32__ || defined _ILP32)
1541 int ok;
1542 #else
1543 error fail
1544 #endif
1545 ]])],
1546 [gl_cv_host_cpu_c_abi_32bit=no],
1547 [gl_cv_host_cpu_c_abi_32bit=yes])
1548 ;;
1549
1550 arm* | aarch64 )
1551 # Assume arm with EABI.
1552 # On arm64 systems, the C compiler may be generating code in one of
1553 # these ABIs:
1554 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
1555 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
1556 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
1557 AC_COMPILE_IFELSE(
1558 [AC_LANG_SOURCE(
1559 [[#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
1560 int ok;
1561 #else
1562 error fail
1563 #endif
1564 ]])],
1565 [gl_cv_host_cpu_c_abi_32bit=no],
1566 [gl_cv_host_cpu_c_abi_32bit=yes])
1567 ;;
1568
1569 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
1570 # On hppa, the C compiler may be generating 32-bit code or 64-bit
1571 # code. In the latter case, it defines _LP64 and __LP64__.
1572 AC_COMPILE_IFELSE(
1573 [AC_LANG_SOURCE(
1574 [[#ifdef __LP64__
1575 int ok;
1576 #else
1577 error fail
1578 #endif
1579 ]])],
1580 [gl_cv_host_cpu_c_abi_32bit=no],
1581 [gl_cv_host_cpu_c_abi_32bit=yes])
1582 ;;
1583
1584 ia64* )
1585 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
1586 # 32-bit code. In the latter case, it defines _ILP32.
1587 AC_COMPILE_IFELSE(
1588 [AC_LANG_SOURCE(
1589 [[#ifdef _ILP32
1590 int ok;
1591 #else
1592 error fail
1593 #endif
1594 ]])],
1595 [gl_cv_host_cpu_c_abi_32bit=yes],
1596 [gl_cv_host_cpu_c_abi_32bit=no])
1597 ;;
1598
1599 mips* )
1600 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
1601 # at 32.
1602 AC_COMPILE_IFELSE(
1603 [AC_LANG_SOURCE(
1604 [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
1605 int ok;
1606 #else
1607 error fail
1608 #endif
1609 ]])],
1610 [gl_cv_host_cpu_c_abi_32bit=no],
1611 [gl_cv_host_cpu_c_abi_32bit=yes])
1612 ;;
1613
1614 powerpc* )
1615 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
1616 # No need to distinguish them here; the caller may distinguish
1617 # them based on the OS.
1618 # On powerpc64 systems, the C compiler may still be generating
1619 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
1620 # be generating 64-bit code.
1621 AC_COMPILE_IFELSE(
1622 [AC_LANG_SOURCE(
1623 [[#if defined __powerpc64__ || defined __LP64__
1624 int ok;
1625 #else
1626 error fail
1627 #endif
1628 ]])],
1629 [gl_cv_host_cpu_c_abi_32bit=no],
1630 [gl_cv_host_cpu_c_abi_32bit=yes])
1631 ;;
1632
1633 rs6000 )
1634 gl_cv_host_cpu_c_abi_32bit=yes
1635 ;;
1636
1637 riscv32 | riscv64 )
1638 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
1639 # Size of 'long' and 'void *':
1640 AC_COMPILE_IFELSE(
1641 [AC_LANG_SOURCE(
1642 [[#if defined __LP64__
1643 int ok;
1644 #else
1645 error fail
1646 #endif
1647 ]])],
1648 [gl_cv_host_cpu_c_abi_32bit=no],
1649 [gl_cv_host_cpu_c_abi_32bit=yes])
1650 ;;
1651
1652 s390* )
1653 # On s390x, the C compiler may be generating 64-bit (= s390x) code
1654 # or 31-bit (= s390) code.
1655 AC_COMPILE_IFELSE(
1656 [AC_LANG_SOURCE(
1657 [[#if defined __LP64__ || defined __s390x__
1658 int ok;
1659 #else
1660 error fail
1661 #endif
1662 ]])],
1663 [gl_cv_host_cpu_c_abi_32bit=no],
1664 [gl_cv_host_cpu_c_abi_32bit=yes])
1665 ;;
1666
1667 sparc | sparc64 )
1668 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
1669 # C compiler still generates 32-bit code.
1670 AC_COMPILE_IFELSE(
1671 [AC_LANG_SOURCE(
1672 [[#if defined __sparcv9 || defined __arch64__
1673 int ok;
1674 #else
1675 error fail
1676 #endif
1677 ]])],
1678 [gl_cv_host_cpu_c_abi_32bit=no],
1679 [gl_cv_host_cpu_c_abi_32bit=yes])
1680 ;;
1681
1682 *)
1683 gl_cv_host_cpu_c_abi_32bit=unknown
1684 ;;
1685 esac
1686 fi
1687 ])
1688
1689 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
1690 ])
1691 m4trace:m4/iconv.m4:16: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
1692 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
1693 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1694 AC_REQUIRE([AC_LIB_RPATH])
1695
1696 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
1697 dnl accordingly.
1698 AC_LIB_LINKFLAGS_BODY([iconv])
1699 ])
1700 m4trace:m4/iconv.m4:27: -1- AC_DEFUN([AM_ICONV_LINK], [
1701 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
1702 dnl those with the standalone portable GNU libiconv installed).
1703 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
1704
1705 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
1706 dnl accordingly.
1707 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
1708
1709 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
1710 dnl because if the user has installed libiconv and not disabled its use
1711 dnl via --without-libiconv-prefix, he wants to use it. The first
1712 dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed.
1713 am_save_CPPFLAGS="$CPPFLAGS"
1714 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
1715
1716 AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
1717 am_cv_func_iconv="no, consider installing GNU libiconv"
1718 am_cv_lib_iconv=no
1719 AC_LINK_IFELSE(
1720 [AC_LANG_PROGRAM(
1721 [[
1722 #include <stdlib.h>
1723 #include <iconv.h>
1724 ]],
1725 [[iconv_t cd = iconv_open("","");
1726 iconv(cd,NULL,NULL,NULL,NULL);
1727 iconv_close(cd);]])],
1728 [am_cv_func_iconv=yes])
1729 if test "$am_cv_func_iconv" != yes; then
1730 am_save_LIBS="$LIBS"
1731 LIBS="$LIBS $LIBICONV"
1732 AC_LINK_IFELSE(
1733 [AC_LANG_PROGRAM(
1734 [[
1735 #include <stdlib.h>
1736 #include <iconv.h>
1737 ]],
1738 [[iconv_t cd = iconv_open("","");
1739 iconv(cd,NULL,NULL,NULL,NULL);
1740 iconv_close(cd);]])],
1741 [am_cv_lib_iconv=yes]
1742 [am_cv_func_iconv=yes])
1743 LIBS="$am_save_LIBS"
1744 fi
1745 ])
1746 if test "$am_cv_func_iconv" = yes; then
1747 AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
1748 dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11,
1749 dnl Solaris 10.
1750 am_save_LIBS="$LIBS"
1751 if test $am_cv_lib_iconv = yes; then
1752 LIBS="$LIBS $LIBICONV"
1753 fi
1754 am_cv_func_iconv_works=no
1755 for ac_iconv_const in '' 'const'; do
1756 AC_RUN_IFELSE(
1757 [AC_LANG_PROGRAM(
1758 [[
1759 #include <iconv.h>
1760 #include <string.h>
1761
1762 #ifndef ICONV_CONST
1763 # define ICONV_CONST $ac_iconv_const
1764 #endif
1765 ]],
1766 [[int result = 0;
1767 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
1768 successful returns. This is even documented in
1769 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
1770 {
1771 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
1772 if (cd_utf8_to_88591 != (iconv_t)(-1))
1773 {
1774 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
1775 char buf[10];
1776 ICONV_CONST char *inptr = input;
1777 size_t inbytesleft = strlen (input);
1778 char *outptr = buf;
1779 size_t outbytesleft = sizeof (buf);
1780 size_t res = iconv (cd_utf8_to_88591,
1781 &inptr, &inbytesleft,
1782 &outptr, &outbytesleft);
1783 if (res == 0)
1784 result |= 1;
1785 iconv_close (cd_utf8_to_88591);
1786 }
1787 }
1788 /* Test against Solaris 10 bug: Failures are not distinguishable from
1789 successful returns. */
1790 {
1791 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
1792 if (cd_ascii_to_88591 != (iconv_t)(-1))
1793 {
1794 static ICONV_CONST char input[] = "\263";
1795 char buf[10];
1796 ICONV_CONST char *inptr = input;
1797 size_t inbytesleft = strlen (input);
1798 char *outptr = buf;
1799 size_t outbytesleft = sizeof (buf);
1800 size_t res = iconv (cd_ascii_to_88591,
1801 &inptr, &inbytesleft,
1802 &outptr, &outbytesleft);
1803 if (res == 0)
1804 result |= 2;
1805 iconv_close (cd_ascii_to_88591);
1806 }
1807 }
1808 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
1809 {
1810 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
1811 if (cd_88591_to_utf8 != (iconv_t)(-1))
1812 {
1813 static ICONV_CONST char input[] = "\304";
1814 static char buf[2] = { (char)0xDE, (char)0xAD };
1815 ICONV_CONST char *inptr = input;
1816 size_t inbytesleft = 1;
1817 char *outptr = buf;
1818 size_t outbytesleft = 1;
1819 size_t res = iconv (cd_88591_to_utf8,
1820 &inptr, &inbytesleft,
1821 &outptr, &outbytesleft);
1822 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
1823 result |= 4;
1824 iconv_close (cd_88591_to_utf8);
1825 }
1826 }
1827 #if 0 /* This bug could be worked around by the caller. */
1828 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
1829 {
1830 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
1831 if (cd_88591_to_utf8 != (iconv_t)(-1))
1832 {
1833 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
1834 char buf[50];
1835 ICONV_CONST char *inptr = input;
1836 size_t inbytesleft = strlen (input);
1837 char *outptr = buf;
1838 size_t outbytesleft = sizeof (buf);
1839 size_t res = iconv (cd_88591_to_utf8,
1840 &inptr, &inbytesleft,
1841 &outptr, &outbytesleft);
1842 if ((int)res > 0)
1843 result |= 8;
1844 iconv_close (cd_88591_to_utf8);
1845 }
1846 }
1847 #endif
1848 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
1849 provided. */
1850 {
1851 /* Try standardized names. */
1852 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
1853 /* Try IRIX, OSF/1 names. */
1854 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
1855 /* Try AIX names. */
1856 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
1857 /* Try HP-UX names. */
1858 iconv_t cd4 = iconv_open ("utf8", "eucJP");
1859 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
1860 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
1861 result |= 16;
1862 if (cd1 != (iconv_t)(-1))
1863 iconv_close (cd1);
1864 if (cd2 != (iconv_t)(-1))
1865 iconv_close (cd2);
1866 if (cd3 != (iconv_t)(-1))
1867 iconv_close (cd3);
1868 if (cd4 != (iconv_t)(-1))
1869 iconv_close (cd4);
1870 }
1871 return result;
1872 ]])],
1873 [am_cv_func_iconv_works=yes], ,
1874 [case "$host_os" in
1875 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
1876 *) am_cv_func_iconv_works="guessing yes" ;;
1877 esac])
1878 test "$am_cv_func_iconv_works" = no || break
1879 done
1880 LIBS="$am_save_LIBS"
1881 ])
1882 case "$am_cv_func_iconv_works" in
1883 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
1884 *) am_func_iconv=yes ;;
1885 esac
1886 else
1887 am_func_iconv=no am_cv_lib_iconv=no
1888 fi
1889 if test "$am_func_iconv" = yes; then
1890 AC_DEFINE([HAVE_ICONV], [1],
1891 [Define if you have the iconv() function and it works.])
1892 fi
1893 if test "$am_cv_lib_iconv" = yes; then
1894 AC_MSG_CHECKING([how to link with libiconv])
1895 AC_MSG_RESULT([$LIBICONV])
1896 else
1897 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
1898 dnl either.
1899 CPPFLAGS="$am_save_CPPFLAGS"
1900 LIBICONV=
1901 LTLIBICONV=
1902 fi
1903 AC_SUBST([LIBICONV])
1904 AC_SUBST([LTLIBICONV])
1905 ])
1906 m4trace:m4/iconv.m4:243: -1- AC_DEFUN_ONCE([AM_ICONV], [
1907 AM_ICONV_LINK
1908 if test "$am_cv_func_iconv" = yes; then
1909 AC_CACHE_CHECK([whether iconv is compatible with its POSIX signature],
1910 [gl_cv_iconv_nonconst],
1911 [AC_COMPILE_IFELSE(
1912 [AC_LANG_PROGRAM(
1913 [[
1914 #include <stdlib.h>
1915 #include <iconv.h>
1916 extern
1917 #ifdef __cplusplus
1918 "C"
1919 #endif
1920 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
1921 ]],
1922 [[]])],
1923 [gl_cv_iconv_nonconst=yes],
1924 [gl_cv_iconv_nonconst=no])
1925 ])
1926 else
1927 dnl When compiling GNU libiconv on a system that does not have iconv yet,
1928 dnl pick the POSIX compliant declaration without 'const'.
1929 gl_cv_iconv_nonconst=yes
1930 fi
1931 if test $gl_cv_iconv_nonconst = yes; then
1932 iconv_arg1=""
1933 else
1934 iconv_arg1="const"
1935 fi
1936 AC_DEFINE_UNQUOTED([ICONV_CONST], [$iconv_arg1],
1937 [Define as const if the declaration of iconv() needs const.])
1938 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
1939 m4_ifdef([gl_ICONV_H_DEFAULTS],
1940 [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
1941 if test $gl_cv_iconv_nonconst != yes; then
1942 ICONV_CONST="const"
1943 fi
1944 ])
1945 ])
1946 m4trace:m4/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [
1947 dnl Check for API introduced in Mac OS X 10.4.
1948 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
1949 [gt_cv_func_CFPreferencesCopyAppValue],
1950 [gt_save_LIBS="$LIBS"
1951 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
1952 AC_LINK_IFELSE(
1953 [AC_LANG_PROGRAM(
1954 [[#include <CoreFoundation/CFPreferences.h>]],
1955 [[CFPreferencesCopyAppValue(NULL, NULL)]])],
1956 [gt_cv_func_CFPreferencesCopyAppValue=yes],
1957 [gt_cv_func_CFPreferencesCopyAppValue=no])
1958 LIBS="$gt_save_LIBS"])
1959 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
1960 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
1961 [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
1962 fi
1963 dnl Don't check for the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent,
1964 dnl because in macOS 10.13.4 it has the following behaviour:
1965 dnl When two or more languages are specified in the
1966 dnl "System Preferences > Language & Region > Preferred Languages" panel,
1967 dnl it returns en_CC where CC is the territory (even when English is not among
1968 dnl the preferred languages!). What we want instead is what
1969 dnl CFLocaleCopyCurrent returned in earlier macOS releases and what
1970 dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the
1971 dnl first among the preferred languages and CC is the territory.
1972 AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages],
1973 [gt_save_LIBS="$LIBS"
1974 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
1975 AC_LINK_IFELSE(
1976 [AC_LANG_PROGRAM(
1977 [[#include <CoreFoundation/CFLocale.h>]],
1978 [[CFLocaleCopyPreferredLanguages();]])],
1979 [gt_cv_func_CFLocaleCopyPreferredLanguages=yes],
1980 [gt_cv_func_CFLocaleCopyPreferredLanguages=no])
1981 LIBS="$gt_save_LIBS"])
1982 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
1983 AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1],
1984 [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.])
1985 fi
1986 INTL_MACOSX_LIBS=
1987 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
1988 || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
1989 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
1990 fi
1991 AC_SUBST([INTL_MACOSX_LIBS])
1992 ])
1993 m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
1994 [# I'd rather use --version here, but apparently some GNU lds only accept -v.
1995 case `$LD -v 2>&1 </dev/null` in
1996 *GNU* | *'with BFD'*)
1997 acl_cv_prog_gnu_ld=yes
1998 ;;
1999 *)
2000 acl_cv_prog_gnu_ld=no
2001 ;;
2002 esac])
2003 with_gnu_ld=$acl_cv_prog_gnu_ld
2004 ])
2005 m4trace:m4/lib-ld.m4:27: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_REQUIRE([AC_PROG_CC])dnl
2006 AC_REQUIRE([AC_CANONICAL_HOST])dnl
2007
2008 AC_ARG_WITH([gnu-ld],
2009 [AS_HELP_STRING([--with-gnu-ld],
2010 [assume the C compiler uses GNU ld [default=no]])],
2011 [test "$withval" = no || with_gnu_ld=yes],
2012 [with_gnu_ld=no])dnl
2013
2014 # Prepare PATH_SEPARATOR.
2015 # The user is always right.
2016 if test "${PATH_SEPARATOR+set}" != set; then
2017 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
2018 # contains only /bin. Note that ksh looks also at the FPATH variable,
2019 # so we have to set that as well for the test.
2020 PATH_SEPARATOR=:
2021 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2022 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
2023 || PATH_SEPARATOR=';'
2024 }
2025 fi
2026
2027 if test -n "$LD"; then
2028 AC_MSG_CHECKING([for ld])
2029 elif test "$GCC" = yes; then
2030 AC_MSG_CHECKING([for ld used by $CC])
2031 elif test "$with_gnu_ld" = yes; then
2032 AC_MSG_CHECKING([for GNU ld])
2033 else
2034 AC_MSG_CHECKING([for non-GNU ld])
2035 fi
2036 if test -n "$LD"; then
2037 # Let the user override the test with a path.
2038 :
2039 else
2040 AC_CACHE_VAL([acl_cv_path_LD],
2041 [
2042 acl_cv_path_LD= # Final result of this test
2043 ac_prog=ld # Program to search in $PATH
2044 if test "$GCC" = yes; then
2045 # Check if gcc -print-prog-name=ld gives a path.
2046 case $host in
2047 *-*-mingw*)
2048 # gcc leaves a trailing carriage return which upsets mingw
2049 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2050 *)
2051 acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
2052 esac
2053 case $acl_output in
2054 # Accept absolute paths.
2055 [[\\/]]* | ?:[[\\/]]*)
2056 re_direlt='/[[^/]][[^/]]*/\.\./'
2057 # Canonicalize the pathname of ld
2058 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
2059 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
2060 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
2061 done
2062 # Got the pathname. No search in PATH is needed.
2063 acl_cv_path_LD="$acl_output"
2064 ac_prog=
2065 ;;
2066 "")
2067 # If it fails, then pretend we aren't using GCC.
2068 ;;
2069 *)
2070 # If it is relative, then search for the first ld in PATH.
2071 with_gnu_ld=unknown
2072 ;;
2073 esac
2074 fi
2075 if test -n "$ac_prog"; then
2076 # Search for $ac_prog in $PATH.
2077 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2078 for ac_dir in $PATH; do
2079 IFS="$acl_save_ifs"
2080 test -z "$ac_dir" && ac_dir=.
2081 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2082 acl_cv_path_LD="$ac_dir/$ac_prog"
2083 # Check to see if the program is GNU ld. I'd rather use --version,
2084 # but apparently some variants of GNU ld only accept -v.
2085 # Break only if it was the GNU/non-GNU ld that we prefer.
2086 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
2087 *GNU* | *'with BFD'*)
2088 test "$with_gnu_ld" != no && break
2089 ;;
2090 *)
2091 test "$with_gnu_ld" != yes && break
2092 ;;
2093 esac
2094 fi
2095 done
2096 IFS="$acl_save_ifs"
2097 fi
2098 case $host in
2099 *-*-aix*)
2100 AC_COMPILE_IFELSE(
2101 [AC_LANG_SOURCE(
2102 [[#if defined __powerpc64__ || defined __LP64__
2103 int ok;
2104 #else
2105 error fail
2106 #endif
2107 ]])],
2108 [# The compiler produces 64-bit code. Add option '-b64' so that the
2109 # linker groks 64-bit object files.
2110 case "$acl_cv_path_LD " in
2111 *" -b64 "*) ;;
2112 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
2113 esac
2114 ], [])
2115 ;;
2116 sparc64-*-netbsd*)
2117 AC_COMPILE_IFELSE(
2118 [AC_LANG_SOURCE(
2119 [[#if defined __sparcv9 || defined __arch64__
2120 int ok;
2121 #else
2122 error fail
2123 #endif
2124 ]])],
2125 [],
2126 [# The compiler produces 32-bit code. Add option '-m elf32_sparc'
2127 # so that the linker groks 32-bit object files.
2128 case "$acl_cv_path_LD " in
2129 *" -m elf32_sparc "*) ;;
2130 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
2131 esac
2132 ])
2133 ;;
2134 esac
2135 ])
2136 LD="$acl_cv_path_LD"
2137 fi
2138 if test -n "$LD"; then
2139 AC_MSG_RESULT([$LD])
2140 else
2141 AC_MSG_RESULT([no])
2142 AC_MSG_ERROR([no acceptable ld found in \$PATH])
2143 fi
2144 AC_LIB_PROG_LD_GNU
2145 ])
2146 m4trace:m4/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
2147 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2148 AC_REQUIRE([AC_LIB_RPATH])
2149 pushdef([Name],[m4_translit([$1],[./+-], [____])])
2150 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
2151 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
2152 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
2153 AC_LIB_LINKFLAGS_BODY([$1], [$2])
2154 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
2155 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
2156 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
2157 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
2158 ])
2159 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
2160 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
2161 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
2162 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
2163 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2164 AC_SUBST([LIB]NAME)
2165 AC_SUBST([LTLIB]NAME)
2166 AC_SUBST([LIB]NAME[_PREFIX])
2167 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
2168 dnl results of this search when this library appears as a dependency.
2169 HAVE_LIB[]NAME=yes
2170 popdef([NAME])
2171 popdef([Name])
2172 ])
2173 m4trace:m4/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
2174 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2175 AC_REQUIRE([AC_LIB_RPATH])
2176 pushdef([Name],[m4_translit([$1],[./+-], [____])])
2177 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
2178 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
2179
2180 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
2181 dnl accordingly.
2182 AC_LIB_LINKFLAGS_BODY([$1], [$2])
2183
2184 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
2185 dnl because if the user has installed lib[]Name and not disabled its use
2186 dnl via --without-lib[]Name-prefix, he wants to use it.
2187 ac_save_CPPFLAGS="$CPPFLAGS"
2188 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2189
2190 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
2191 ac_save_LIBS="$LIBS"
2192 dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
2193 dnl because these -l options might require -L options that are present in
2194 dnl LIBS. -l options benefit only from the -L options listed before it.
2195 dnl Otherwise, add it to the front of LIBS, because it may be a static
2196 dnl library that depends on another static library that is present in LIBS.
2197 dnl Static libraries benefit only from the static libraries listed after
2198 dnl it.
2199 case " $LIB[]NAME" in
2200 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
2201 *) LIBS="$LIB[]NAME $LIBS" ;;
2202 esac
2203 AC_LINK_IFELSE(
2204 [AC_LANG_PROGRAM([[$3]], [[$4]])],
2205 [ac_cv_lib[]Name=yes],
2206 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
2207 LIBS="$ac_save_LIBS"
2208 ])
2209 if test "$ac_cv_lib[]Name" = yes; then
2210 HAVE_LIB[]NAME=yes
2211 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
2212 AC_MSG_CHECKING([how to link with lib[]$1])
2213 AC_MSG_RESULT([$LIB[]NAME])
2214 else
2215 HAVE_LIB[]NAME=no
2216 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
2217 dnl $INC[]NAME either.
2218 CPPFLAGS="$ac_save_CPPFLAGS"
2219 LIB[]NAME=
2220 LTLIB[]NAME=
2221 LIB[]NAME[]_PREFIX=
2222 fi
2223 AC_SUBST([HAVE_LIB]NAME)
2224 AC_SUBST([LIB]NAME)
2225 AC_SUBST([LTLIB]NAME)
2226 AC_SUBST([LIB]NAME[_PREFIX])
2227 popdef([NAME])
2228 popdef([Name])
2229 ])
2230 m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_RPATH], [
2231 dnl Complain if config.rpath is missing.
2232 AC_REQUIRE_AUX_FILE([config.rpath])
2233 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
2234 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
2235 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
2236 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
2237 AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
2238 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
2239 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
2240 . ./conftest.sh
2241 rm -f ./conftest.sh
2242 acl_cv_rpath=done
2243 ])
2244 wl="$acl_cv_wl"
2245 acl_libext="$acl_cv_libext"
2246 acl_shlibext="$acl_cv_shlibext"
2247 acl_libname_spec="$acl_cv_libname_spec"
2248 acl_library_names_spec="$acl_cv_library_names_spec"
2249 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
2250 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
2251 acl_hardcode_direct="$acl_cv_hardcode_direct"
2252 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
2253 dnl Determine whether the user wants rpath handling at all.
2254 AC_ARG_ENABLE([rpath],
2255 [ --disable-rpath do not hardcode runtime library paths],
2256 :, enable_rpath=yes)
2257 ])
2258 m4trace:m4/lib-link.m4:161: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [
2259 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
2260 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
2261 define([acl_frompackage_]NAME, [$2])
2262 popdef([NAME])
2263 pushdef([PACK],[$2])
2264 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
2265 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
2266 define([acl_libsinpackage_]PACKUP,
2267 m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
2268 popdef([PACKUP])
2269 popdef([PACK])
2270 ])
2271 m4trace:m4/lib-link.m4:181: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
2272 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2273 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
2274 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
2275 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
2276 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
2277 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
2278 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
2279 dnl By default, look in $includedir and $libdir.
2280 use_additional=yes
2281 AC_LIB_WITH_FINAL_PREFIX([
2282 eval additional_includedir=\"$includedir\"
2283 eval additional_libdir=\"$libdir\"
2284 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
2285 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
2286 ])
2287 AC_ARG_WITH(PACK[-prefix],
2288 [[ --with-]]PACK[[-prefix[=DIR] search for ]]PACKLIBS[[ in DIR/include and DIR/lib
2289 --without-]]PACK[[-prefix don't search for ]]PACKLIBS[[ in includedir and libdir]],
2290 [
2291 if test "X$withval" = "Xno"; then
2292 use_additional=no
2293 else
2294 if test "X$withval" = "X"; then
2295 AC_LIB_WITH_FINAL_PREFIX([
2296 eval additional_includedir=\"$includedir\"
2297 eval additional_libdir=\"$libdir\"
2298 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
2299 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
2300 ])
2301 else
2302 additional_includedir="$withval/include"
2303 additional_libdir="$withval/$acl_libdirstem"
2304 additional_libdir2="$withval/$acl_libdirstem2"
2305 additional_libdir3="$withval/$acl_libdirstem3"
2306 fi
2307 fi
2308 ])
2309 if test "X$additional_libdir2" = "X$additional_libdir"; then
2310 additional_libdir2=
2311 fi
2312 if test "X$additional_libdir3" = "X$additional_libdir"; then
2313 additional_libdir3=
2314 fi
2315 dnl Search the library and its dependencies in $additional_libdir and
2316 dnl $LDFLAGS. Using breadth-first-seach.
2317 LIB[]NAME=
2318 LTLIB[]NAME=
2319 INC[]NAME=
2320 LIB[]NAME[]_PREFIX=
2321 dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
2322 dnl computed. So it has to be reset here.
2323 HAVE_LIB[]NAME=
2324 rpathdirs=
2325 ltrpathdirs=
2326 names_already_handled=
2327 names_next_round='$1 $2'
2328 while test -n "$names_next_round"; do
2329 names_this_round="$names_next_round"
2330 names_next_round=
2331 for name in $names_this_round; do
2332 already_handled=
2333 for n in $names_already_handled; do
2334 if test "$n" = "$name"; then
2335 already_handled=yes
2336 break
2337 fi
2338 done
2339 if test -z "$already_handled"; then
2340 names_already_handled="$names_already_handled $name"
2341 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
2342 dnl or AC_LIB_HAVE_LINKFLAGS call.
2343 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
2344 eval value=\"\$HAVE_LIB$uppername\"
2345 if test -n "$value"; then
2346 if test "$value" = yes; then
2347 eval value=\"\$LIB$uppername\"
2348 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
2349 eval value=\"\$LTLIB$uppername\"
2350 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
2351 else
2352 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
2353 dnl that this library doesn't exist. So just drop it.
2354 :
2355 fi
2356 else
2357 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
2358 dnl and the already constructed $LIBNAME/$LTLIBNAME.
2359 found_dir=
2360 found_la=
2361 found_so=
2362 found_a=
2363 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
2364 if test -n "$acl_shlibext"; then
2365 shrext=".$acl_shlibext" # typically: shrext=.so
2366 else
2367 shrext=
2368 fi
2369 if test $use_additional = yes; then
2370 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
2371 if test "X$found_dir" = "X"; then
2372 eval dir=\$$additional_libdir_variable
2373 if test -n "$dir"; then
2374 dnl The same code as in the loop below:
2375 dnl First look for a shared library.
2376 if test -n "$acl_shlibext"; then
2377 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
2378 found_dir="$dir"
2379 found_so="$dir/$libname$shrext"
2380 else
2381 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
2382 ver=`(cd "$dir" && \
2383 for f in "$libname$shrext".*; do echo "$f"; done \
2384 | sed -e "s,^$libname$shrext\\\\.,," \
2385 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
2386 | sed 1q ) 2>/dev/null`
2387 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
2388 found_dir="$dir"
2389 found_so="$dir/$libname$shrext.$ver"
2390 fi
2391 else
2392 eval library_names=\"$acl_library_names_spec\"
2393 for f in $library_names; do
2394 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
2395 found_dir="$dir"
2396 found_so="$dir/$f"
2397 break
2398 fi
2399 done
2400 fi
2401 fi
2402 fi
2403 dnl Then look for a static library.
2404 if test "X$found_dir" = "X"; then
2405 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
2406 found_dir="$dir"
2407 found_a="$dir/$libname.$acl_libext"
2408 fi
2409 fi
2410 if test "X$found_dir" != "X"; then
2411 if test -f "$dir/$libname.la"; then
2412 found_la="$dir/$libname.la"
2413 fi
2414 fi
2415 fi
2416 fi
2417 done
2418 fi
2419 if test "X$found_dir" = "X"; then
2420 for x in $LDFLAGS $LTLIB[]NAME; do
2421 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2422 case "$x" in
2423 -L*)
2424 dir=`echo "X$x" | sed -e 's/^X-L//'`
2425 dnl First look for a shared library.
2426 if test -n "$acl_shlibext"; then
2427 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
2428 found_dir="$dir"
2429 found_so="$dir/$libname$shrext"
2430 else
2431 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
2432 ver=`(cd "$dir" && \
2433 for f in "$libname$shrext".*; do echo "$f"; done \
2434 | sed -e "s,^$libname$shrext\\\\.,," \
2435 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
2436 | sed 1q ) 2>/dev/null`
2437 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
2438 found_dir="$dir"
2439 found_so="$dir/$libname$shrext.$ver"
2440 fi
2441 else
2442 eval library_names=\"$acl_library_names_spec\"
2443 for f in $library_names; do
2444 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
2445 found_dir="$dir"
2446 found_so="$dir/$f"
2447 break
2448 fi
2449 done
2450 fi
2451 fi
2452 fi
2453 dnl Then look for a static library.
2454 if test "X$found_dir" = "X"; then
2455 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
2456 found_dir="$dir"
2457 found_a="$dir/$libname.$acl_libext"
2458 fi
2459 fi
2460 if test "X$found_dir" != "X"; then
2461 if test -f "$dir/$libname.la"; then
2462 found_la="$dir/$libname.la"
2463 fi
2464 fi
2465 ;;
2466 esac
2467 if test "X$found_dir" != "X"; then
2468 break
2469 fi
2470 done
2471 fi
2472 if test "X$found_dir" != "X"; then
2473 dnl Found the library.
2474 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
2475 if test "X$found_so" != "X"; then
2476 dnl Linking with a shared library. We attempt to hardcode its
2477 dnl directory into the executable's runpath, unless it's the
2478 dnl standard /usr/lib.
2479 if test "$enable_rpath" = no \
2480 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
2481 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
2482 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
2483 dnl No hardcoding is needed.
2484 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2485 else
2486 dnl Use an explicit option to hardcode DIR into the resulting
2487 dnl binary.
2488 dnl Potentially add DIR to ltrpathdirs.
2489 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2490 haveit=
2491 for x in $ltrpathdirs; do
2492 if test "X$x" = "X$found_dir"; then
2493 haveit=yes
2494 break
2495 fi
2496 done
2497 if test -z "$haveit"; then
2498 ltrpathdirs="$ltrpathdirs $found_dir"
2499 fi
2500 dnl The hardcoding into $LIBNAME is system dependent.
2501 if test "$acl_hardcode_direct" = yes; then
2502 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
2503 dnl resulting binary.
2504 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2505 else
2506 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
2507 dnl Use an explicit option to hardcode DIR into the resulting
2508 dnl binary.
2509 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2510 dnl Potentially add DIR to rpathdirs.
2511 dnl The rpathdirs will be appended to $LIBNAME at the end.
2512 haveit=
2513 for x in $rpathdirs; do
2514 if test "X$x" = "X$found_dir"; then
2515 haveit=yes
2516 break
2517 fi
2518 done
2519 if test -z "$haveit"; then
2520 rpathdirs="$rpathdirs $found_dir"
2521 fi
2522 else
2523 dnl Rely on "-L$found_dir".
2524 dnl But don't add it if it's already contained in the LDFLAGS
2525 dnl or the already constructed $LIBNAME
2526 haveit=
2527 for x in $LDFLAGS $LIB[]NAME; do
2528 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2529 if test "X$x" = "X-L$found_dir"; then
2530 haveit=yes
2531 break
2532 fi
2533 done
2534 if test -z "$haveit"; then
2535 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
2536 fi
2537 if test "$acl_hardcode_minus_L" != no; then
2538 dnl FIXME: Not sure whether we should use
2539 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
2540 dnl here.
2541 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2542 else
2543 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
2544 dnl here, because this doesn't fit in flags passed to the
2545 dnl compiler. So give up. No hardcoding. This affects only
2546 dnl very old systems.
2547 dnl FIXME: Not sure whether we should use
2548 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
2549 dnl here.
2550 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2551 fi
2552 fi
2553 fi
2554 fi
2555 else
2556 if test "X$found_a" != "X"; then
2557 dnl Linking with a static library.
2558 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
2559 else
2560 dnl We shouldn't come here, but anyway it's good to have a
2561 dnl fallback.
2562 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
2563 fi
2564 fi
2565 dnl Assume the include files are nearby.
2566 additional_includedir=
2567 case "$found_dir" in
2568 */$acl_libdirstem | */$acl_libdirstem/)
2569 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
2570 if test "$name" = '$1'; then
2571 LIB[]NAME[]_PREFIX="$basedir"
2572 fi
2573 additional_includedir="$basedir/include"
2574 ;;
2575 */$acl_libdirstem2 | */$acl_libdirstem2/)
2576 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
2577 if test "$name" = '$1'; then
2578 LIB[]NAME[]_PREFIX="$basedir"
2579 fi
2580 additional_includedir="$basedir/include"
2581 ;;
2582 */$acl_libdirstem3 | */$acl_libdirstem3/)
2583 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
2584 if test "$name" = '$1'; then
2585 LIB[]NAME[]_PREFIX="$basedir"
2586 fi
2587 additional_includedir="$basedir/include"
2588 ;;
2589 esac
2590 if test "X$additional_includedir" != "X"; then
2591 dnl Potentially add $additional_includedir to $INCNAME.
2592 dnl But don't add it
2593 dnl 1. if it's the standard /usr/include,
2594 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
2595 dnl 3. if it's already present in $CPPFLAGS or the already
2596 dnl constructed $INCNAME,
2597 dnl 4. if it doesn't exist as a directory.
2598 if test "X$additional_includedir" != "X/usr/include"; then
2599 haveit=
2600 if test "X$additional_includedir" = "X/usr/local/include"; then
2601 if test -n "$GCC"; then
2602 case $host_os in
2603 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2604 esac
2605 fi
2606 fi
2607 if test -z "$haveit"; then
2608 for x in $CPPFLAGS $INC[]NAME; do
2609 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2610 if test "X$x" = "X-I$additional_includedir"; then
2611 haveit=yes
2612 break
2613 fi
2614 done
2615 if test -z "$haveit"; then
2616 if test -d "$additional_includedir"; then
2617 dnl Really add $additional_includedir to $INCNAME.
2618 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
2619 fi
2620 fi
2621 fi
2622 fi
2623 fi
2624 dnl Look for dependencies.
2625 if test -n "$found_la"; then
2626 dnl Read the .la file. It defines the variables
2627 dnl dlname, library_names, old_library, dependency_libs, current,
2628 dnl age, revision, installed, dlopen, dlpreopen, libdir.
2629 save_libdir="$libdir"
2630 case "$found_la" in
2631 */* | *\\*) . "$found_la" ;;
2632 *) . "./$found_la" ;;
2633 esac
2634 libdir="$save_libdir"
2635 dnl We use only dependency_libs.
2636 for dep in $dependency_libs; do
2637 case "$dep" in
2638 -L*)
2639 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
2640 dnl Potentially add $dependency_libdir to $LIBNAME and $LTLIBNAME.
2641 dnl But don't add it
2642 dnl 1. if it's the standard /usr/lib,
2643 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
2644 dnl 3. if it's already present in $LDFLAGS or the already
2645 dnl constructed $LIBNAME,
2646 dnl 4. if it doesn't exist as a directory.
2647 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
2648 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
2649 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
2650 haveit=
2651 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
2652 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
2653 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
2654 if test -n "$GCC"; then
2655 case $host_os in
2656 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2657 esac
2658 fi
2659 fi
2660 if test -z "$haveit"; then
2661 haveit=
2662 for x in $LDFLAGS $LIB[]NAME; do
2663 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2664 if test "X$x" = "X-L$dependency_libdir"; then
2665 haveit=yes
2666 break
2667 fi
2668 done
2669 if test -z "$haveit"; then
2670 if test -d "$dependency_libdir"; then
2671 dnl Really add $dependency_libdir to $LIBNAME.
2672 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$dependency_libdir"
2673 fi
2674 fi
2675 haveit=
2676 for x in $LDFLAGS $LTLIB[]NAME; do
2677 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2678 if test "X$x" = "X-L$dependency_libdir"; then
2679 haveit=yes
2680 break
2681 fi
2682 done
2683 if test -z "$haveit"; then
2684 if test -d "$dependency_libdir"; then
2685 dnl Really add $dependency_libdir to $LTLIBNAME.
2686 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$dependency_libdir"
2687 fi
2688 fi
2689 fi
2690 fi
2691 ;;
2692 -R*)
2693 dir=`echo "X$dep" | sed -e 's/^X-R//'`
2694 if test "$enable_rpath" != no; then
2695 dnl Potentially add DIR to rpathdirs.
2696 dnl The rpathdirs will be appended to $LIBNAME at the end.
2697 haveit=
2698 for x in $rpathdirs; do
2699 if test "X$x" = "X$dir"; then
2700 haveit=yes
2701 break
2702 fi
2703 done
2704 if test -z "$haveit"; then
2705 rpathdirs="$rpathdirs $dir"
2706 fi
2707 dnl Potentially add DIR to ltrpathdirs.
2708 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2709 haveit=
2710 for x in $ltrpathdirs; do
2711 if test "X$x" = "X$dir"; then
2712 haveit=yes
2713 break
2714 fi
2715 done
2716 if test -z "$haveit"; then
2717 ltrpathdirs="$ltrpathdirs $dir"
2718 fi
2719 fi
2720 ;;
2721 -l*)
2722 dnl Handle this in the next round.
2723 dnl But on GNU systems, ignore -lc options, because
2724 dnl - linking with libc is the default anyway,
2725 dnl - linking with libc.a may produce an error
2726 dnl "/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie"
2727 dnl or may produce an executable that always crashes, see
2728 dnl <https://lists.gnu.org/archive/html/grep-devel/2020-09/msg00052.html>.
2729 dep=`echo "X$dep" | sed -e 's/^X-l//'`
2730 if test "X$dep" != Xc \
2731 || case $host_os in
2732 linux* | gnu* | k*bsd*-gnu) false ;;
2733 *) true ;;
2734 esac; then
2735 names_next_round="$names_next_round $dep"
2736 fi
2737 ;;
2738 *.la)
2739 dnl Handle this in the next round. Throw away the .la's
2740 dnl directory; it is already contained in a preceding -L
2741 dnl option.
2742 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
2743 ;;
2744 *)
2745 dnl Most likely an immediate library name.
2746 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
2747 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
2748 ;;
2749 esac
2750 done
2751 fi
2752 else
2753 dnl Didn't find the library; assume it is in the system directories
2754 dnl known to the linker and runtime loader. (All the system
2755 dnl directories known to the linker should also be known to the
2756 dnl runtime loader, otherwise the system is severely misconfigured.)
2757 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2758 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
2759 fi
2760 fi
2761 fi
2762 done
2763 done
2764 if test "X$rpathdirs" != "X"; then
2765 if test -n "$acl_hardcode_libdir_separator"; then
2766 dnl Weird platform: only the last -rpath option counts, the user must
2767 dnl pass all path elements in one option. We can arrange that for a
2768 dnl single library, but not when more than one $LIBNAMEs are used.
2769 alldirs=
2770 for found_dir in $rpathdirs; do
2771 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
2772 done
2773 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
2774 acl_save_libdir="$libdir"
2775 libdir="$alldirs"
2776 eval flag=\"$acl_hardcode_libdir_flag_spec\"
2777 libdir="$acl_save_libdir"
2778 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2779 else
2780 dnl The -rpath options are cumulative.
2781 for found_dir in $rpathdirs; do
2782 acl_save_libdir="$libdir"
2783 libdir="$found_dir"
2784 eval flag=\"$acl_hardcode_libdir_flag_spec\"
2785 libdir="$acl_save_libdir"
2786 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2787 done
2788 fi
2789 fi
2790 if test "X$ltrpathdirs" != "X"; then
2791 dnl When using libtool, the option that works for both libraries and
2792 dnl executables is -R. The -R options are cumulative.
2793 for found_dir in $ltrpathdirs; do
2794 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
2795 done
2796 fi
2797 popdef([PACKLIBS])
2798 popdef([PACKUP])
2799 popdef([PACK])
2800 popdef([NAME])
2801 ])
2802 m4trace:m4/lib-link.m4:718: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
2803 for element in [$2]; do
2804 haveit=
2805 for x in $[$1]; do
2806 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2807 if test "X$x" = "X$element"; then
2808 haveit=yes
2809 break
2810 fi
2811 done
2812 if test -z "$haveit"; then
2813 [$1]="${[$1]}${[$1]:+ }$element"
2814 fi
2815 done
2816 ])
2817 m4trace:m4/lib-link.m4:742: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [
2818 AC_REQUIRE([AC_LIB_RPATH])
2819 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2820 $1=
2821 if test "$enable_rpath" != no; then
2822 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
2823 dnl Use an explicit option to hardcode directories into the resulting
2824 dnl binary.
2825 rpathdirs=
2826 next=
2827 for opt in $2; do
2828 if test -n "$next"; then
2829 dir="$next"
2830 dnl No need to hardcode the standard /usr/lib.
2831 if test "X$dir" != "X/usr/$acl_libdirstem" \
2832 && test "X$dir" != "X/usr/$acl_libdirstem2" \
2833 && test "X$dir" != "X/usr/$acl_libdirstem3"; then
2834 rpathdirs="$rpathdirs $dir"
2835 fi
2836 next=
2837 else
2838 case $opt in
2839 -L) next=yes ;;
2840 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
2841 dnl No need to hardcode the standard /usr/lib.
2842 if test "X$dir" != "X/usr/$acl_libdirstem" \
2843 && test "X$dir" != "X/usr/$acl_libdirstem2" \
2844 && test "X$dir" != "X/usr/$acl_libdirstem3"; then
2845 rpathdirs="$rpathdirs $dir"
2846 fi
2847 next= ;;
2848 *) next= ;;
2849 esac
2850 fi
2851 done
2852 if test "X$rpathdirs" != "X"; then
2853 if test -n ""$3""; then
2854 dnl libtool is used for linking. Use -R options.
2855 for dir in $rpathdirs; do
2856 $1="${$1}${$1:+ }-R$dir"
2857 done
2858 else
2859 dnl The linker is used for linking directly.
2860 if test -n "$acl_hardcode_libdir_separator"; then
2861 dnl Weird platform: only the last -rpath option counts, the user
2862 dnl must pass all path elements in one option.
2863 alldirs=
2864 for dir in $rpathdirs; do
2865 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
2866 done
2867 acl_save_libdir="$libdir"
2868 libdir="$alldirs"
2869 eval flag=\"$acl_hardcode_libdir_flag_spec\"
2870 libdir="$acl_save_libdir"
2871 $1="$flag"
2872 else
2873 dnl The -rpath options are cumulative.
2874 for dir in $rpathdirs; do
2875 acl_save_libdir="$libdir"
2876 libdir="$dir"
2877 eval flag=\"$acl_hardcode_libdir_flag_spec\"
2878 libdir="$acl_save_libdir"
2879 $1="${$1}${$1:+ }$flag"
2880 done
2881 fi
2882 fi
2883 fi
2884 fi
2885 fi
2886 AC_SUBST([$1])
2887 ])
2888 m4trace:m4/lib-prefix.m4:15: -1- AC_DEFUN([AC_LIB_PREFIX], [
2889 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
2890 AC_REQUIRE([AC_PROG_CC])
2891 AC_REQUIRE([AC_CANONICAL_HOST])
2892 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2893 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2894 dnl By default, look in $includedir and $libdir.
2895 use_additional=yes
2896 AC_LIB_WITH_FINAL_PREFIX([
2897 eval additional_includedir=\"$includedir\"
2898 eval additional_libdir=\"$libdir\"
2899 ])
2900 AC_ARG_WITH([lib-prefix],
2901 [[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
2902 --without-lib-prefix don't search for libraries in includedir and libdir]],
2903 [
2904 if test "X$withval" = "Xno"; then
2905 use_additional=no
2906 else
2907 if test "X$withval" = "X"; then
2908 AC_LIB_WITH_FINAL_PREFIX([
2909 eval additional_includedir=\"$includedir\"
2910 eval additional_libdir=\"$libdir\"
2911 ])
2912 else
2913 additional_includedir="$withval/include"
2914 additional_libdir="$withval/$acl_libdirstem"
2915 fi
2916 fi
2917 ])
2918 if test $use_additional = yes; then
2919 dnl Potentially add $additional_includedir to $CPPFLAGS.
2920 dnl But don't add it
2921 dnl 1. if it's the standard /usr/include,
2922 dnl 2. if it's already present in $CPPFLAGS,
2923 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
2924 dnl 4. if it doesn't exist as a directory.
2925 if test "X$additional_includedir" != "X/usr/include"; then
2926 haveit=
2927 for x in $CPPFLAGS; do
2928 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2929 if test "X$x" = "X-I$additional_includedir"; then
2930 haveit=yes
2931 break
2932 fi
2933 done
2934 if test -z "$haveit"; then
2935 if test "X$additional_includedir" = "X/usr/local/include"; then
2936 if test -n "$GCC"; then
2937 case $host_os in
2938 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2939 esac
2940 fi
2941 fi
2942 if test -z "$haveit"; then
2943 if test -d "$additional_includedir"; then
2944 dnl Really add $additional_includedir to $CPPFLAGS.
2945 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
2946 fi
2947 fi
2948 fi
2949 fi
2950 dnl Potentially add $additional_libdir to $LDFLAGS.
2951 dnl But don't add it
2952 dnl 1. if it's the standard /usr/lib,
2953 dnl 2. if it's already present in $LDFLAGS,
2954 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
2955 dnl 4. if it doesn't exist as a directory.
2956 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
2957 haveit=
2958 for x in $LDFLAGS; do
2959 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2960 if test "X$x" = "X-L$additional_libdir"; then
2961 haveit=yes
2962 break
2963 fi
2964 done
2965 if test -z "$haveit"; then
2966 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
2967 if test -n "$GCC"; then
2968 case $host_os in
2969 linux*) haveit=yes;;
2970 esac
2971 fi
2972 fi
2973 if test -z "$haveit"; then
2974 if test -d "$additional_libdir"; then
2975 dnl Really add $additional_libdir to $LDFLAGS.
2976 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
2977 fi
2978 fi
2979 fi
2980 fi
2981 fi
2982 ])
2983 m4trace:m4/lib-prefix.m4:115: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
2984 dnl Unfortunately, prefix and exec_prefix get only finally determined
2985 dnl at the end of configure.
2986 if test "X$prefix" = "XNONE"; then
2987 acl_final_prefix="$ac_default_prefix"
2988 else
2989 acl_final_prefix="$prefix"
2990 fi
2991 if test "X$exec_prefix" = "XNONE"; then
2992 acl_final_exec_prefix='${prefix}'
2993 else
2994 acl_final_exec_prefix="$exec_prefix"
2995 fi
2996 acl_save_prefix="$prefix"
2997 prefix="$acl_final_prefix"
2998 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2999 prefix="$acl_save_prefix"
3000 ])
3001 m4trace:m4/lib-prefix.m4:138: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
3002 acl_save_prefix="$prefix"
3003 prefix="$acl_final_prefix"
3004 acl_save_exec_prefix="$exec_prefix"
3005 exec_prefix="$acl_final_exec_prefix"
3006 $1
3007 exec_prefix="$acl_save_exec_prefix"
3008 prefix="$acl_save_prefix"
3009 ])
3010 m4trace:m4/lib-prefix.m4:155: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [
3011 dnl There is no formal standard regarding lib, lib32, and lib64.
3012 dnl On most glibc systems, the current practice is that on a system supporting
3013 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
3014 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. However, on
3015 dnl Arch Linux based distributions, it's the opposite: 32-bit libraries go
3016 dnl under $prefix/lib32 and 64-bit libraries go under $prefix/lib.
3017 dnl We determine the compiler's default mode by looking at the compiler's
3018 dnl library search path. If at least one of its elements ends in /lib64 or
3019 dnl points to a directory whose absolute pathname ends in /lib64, we use that
3020 dnl for 64-bit ABIs. Similarly for 32-bit ABIs. Otherwise we use the default,
3021 dnl namely "lib".
3022 dnl On Solaris systems, the current practice is that on a system supporting
3023 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
3024 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
3025 dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
3026 AC_REQUIRE([AC_CANONICAL_HOST])
3027 AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT])
3028
3029 AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf],
3030 [AC_EGREP_CPP([Extensible Linking Format],
3031 [#if defined __ELF__ || (defined __linux__ && defined __EDG__)
3032 Extensible Linking Format
3033 #endif
3034 ],
3035 [gl_cv_elf=yes],
3036 [gl_cv_elf=no])
3037 ])
3038 if test $gl_cv_elf = yes; then
3039 # Extract the ELF class of a file (5th byte) in decimal.
3040 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
3041 if od -A x < /dev/null >/dev/null 2>/dev/null; then
3042 # Use POSIX od.
3043 func_elfclass ()
3044 {
3045 od -A n -t d1 -j 4 -N 1
3046 }
3047 else
3048 # Use BSD hexdump.
3049 func_elfclass ()
3050 {
3051 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
3052 echo
3053 }
3054 fi
3055 # Use 'expr', not 'test', to compare the values of func_elfclass, because on
3056 # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
3057 # not 1 or 2.
3058 changequote(,)dnl
3059 case $HOST_CPU_C_ABI_32BIT in
3060 yes)
3061 # 32-bit ABI.
3062 acl_is_expected_elfclass ()
3063 {
3064 expr "`func_elfclass | sed -e 's/[ ]//g'`" = 1 > /dev/null
3065 }
3066 ;;
3067 no)
3068 # 64-bit ABI.
3069 acl_is_expected_elfclass ()
3070 {
3071 expr "`func_elfclass | sed -e 's/[ ]//g'`" = 2 > /dev/null
3072 }
3073 ;;
3074 *)
3075 # Unknown.
3076 acl_is_expected_elfclass ()
3077 {
3078 :
3079 }
3080 ;;
3081 esac
3082 changequote([,])dnl
3083 else
3084 acl_is_expected_elfclass ()
3085 {
3086 :
3087 }
3088 fi
3089
3090 dnl Allow the user to override the result by setting acl_cv_libdirstems.
3091 AC_CACHE_CHECK([for the common suffixes of directories in the library search path],
3092 [acl_cv_libdirstems],
3093 [dnl Try 'lib' first, because that's the default for libdir in GNU, see
3094 dnl <https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>.
3095 acl_libdirstem=lib
3096 acl_libdirstem2=
3097 acl_libdirstem3=
3098 case "$host_os" in
3099 solaris*)
3100 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
3101 dnl <https://docs.oracle.com/cd/E19253-01/816-5138/dev-env/index.html>.
3102 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
3103 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
3104 dnl symlink is missing, so we set acl_libdirstem2 too.
3105 if test $HOST_CPU_C_ABI_32BIT = no; then
3106 acl_libdirstem2=lib/64
3107 case "$host_cpu" in
3108 sparc*) acl_libdirstem3=lib/sparcv9 ;;
3109 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
3110 esac
3111 fi
3112 ;;
3113 *)
3114 dnl If $CC generates code for a 32-bit ABI, the libraries are
3115 dnl surely under $prefix/lib or $prefix/lib32, not $prefix/lib64.
3116 dnl Similarly, if $CC generates code for a 64-bit ABI, the libraries
3117 dnl are surely under $prefix/lib or $prefix/lib64, not $prefix/lib32.
3118 dnl Find the compiler's search path. However, non-system compilers
3119 dnl sometimes have odd library search paths. But we can't simply invoke
3120 dnl '/usr/bin/gcc -print-search-dirs' because that would not take into
3121 dnl account the -m32/-m31 or -m64 options from the $CC or $CFLAGS.
3122 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
3123 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3124 if test $HOST_CPU_C_ABI_32BIT != no; then
3125 # 32-bit or unknown ABI.
3126 if test -d /usr/lib32; then
3127 acl_libdirstem2=lib32
3128 fi
3129 fi
3130 if test $HOST_CPU_C_ABI_32BIT != yes; then
3131 # 64-bit or unknown ABI.
3132 if test -d /usr/lib64; then
3133 acl_libdirstem3=lib64
3134 fi
3135 fi
3136 if test -n "$searchpath"; then
3137 acl_save_IFS="${IFS= }"; IFS=":"
3138 for searchdir in $searchpath; do
3139 if test -d "$searchdir"; then
3140 case "$searchdir" in
3141 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
3142 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
3143 */../ | */.. )
3144 # Better ignore directories of this form. They are misleading.
3145 ;;
3146 *) searchdir=`cd "$searchdir" && pwd`
3147 case "$searchdir" in
3148 */lib32 ) acl_libdirstem2=lib32 ;;
3149 */lib64 ) acl_libdirstem3=lib64 ;;
3150 esac ;;
3151 esac
3152 fi
3153 done
3154 IFS="$acl_save_IFS"
3155 if test $HOST_CPU_C_ABI_32BIT = yes; then
3156 # 32-bit ABI.
3157 acl_libdirstem3=
3158 fi
3159 if test $HOST_CPU_C_ABI_32BIT = no; then
3160 # 64-bit ABI.
3161 acl_libdirstem2=
3162 fi
3163 fi
3164 ;;
3165 esac
3166 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
3167 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
3168 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
3169 ])
3170 dnl Decompose acl_cv_libdirstems into acl_libdirstem, acl_libdirstem2, and
3171 dnl acl_libdirstem3.
3172 changequote(,)dnl
3173 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
3174 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
3175 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
3176 changequote([,])dnl
3177 ])
3178 m4trace:m4/nls.m4:23: -1- AC_DEFUN([AM_NLS], [
3179 AC_MSG_CHECKING([whether NLS is requested])
3180 dnl Default is enabled NLS
3181 AC_ARG_ENABLE([nls],
3182 [ --disable-nls do not use Native Language Support],
3183 USE_NLS=$enableval, USE_NLS=yes)
3184 AC_MSG_RESULT([$USE_NLS])
3185 AC_SUBST([USE_NLS])
3186 ])
3187 m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
3188 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3189 AC_REQUIRE([AC_PROG_INSTALL])dnl
3190 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
3191 AC_REQUIRE([AC_PROG_SED])dnl
3192 AC_REQUIRE([AM_NLS])dnl
3193
3194 dnl Release version of the gettext macros. This is used to ensure that
3195 dnl the gettext macros and po/Makefile.in.in are in sync.
3196 AC_SUBST([GETTEXT_MACRO_VERSION], [0.20])
3197
3198 dnl Perform the following tests also if --disable-nls has been given,
3199 dnl because they are needed for "make dist" to work.
3200
3201 dnl Search for GNU msgfmt in the PATH.
3202 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
3203 dnl The second test excludes FreeBSD msgfmt.
3204 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
3205 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3206 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
3207 :)
3208 AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
3209
3210 dnl Test whether it is GNU msgfmt >= 0.15.
3211 changequote(,)dnl
3212 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3213 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3214 *) GMSGFMT_015=$GMSGFMT ;;
3215 esac
3216 changequote([,])dnl
3217 AC_SUBST([GMSGFMT_015])
3218
3219 dnl Search for GNU xgettext 0.12 or newer in the PATH.
3220 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
3221 dnl The second test excludes FreeBSD xgettext.
3222 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
3223 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3224 (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)],
3225 :)
3226 dnl Remove leftover from FreeBSD xgettext call.
3227 rm -f messages.po
3228
3229 dnl Test whether it is GNU xgettext >= 0.15.
3230 changequote(,)dnl
3231 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3232 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3233 *) XGETTEXT_015=$XGETTEXT ;;
3234 esac
3235 changequote([,])dnl
3236 AC_SUBST([XGETTEXT_015])
3237
3238 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
3239 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
3240 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
3241
3242 dnl Test whether it is GNU msgmerge >= 0.20.
3243 if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
3244 MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
3245 else
3246 dnl Test whether it is GNU msgmerge >= 0.12.
3247 if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
3248 MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
3249 else
3250 dnl With these old versions, $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) is
3251 dnl slow. But this is not a big problem, as such old gettext versions are
3252 dnl hardly in use any more.
3253 MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
3254 fi
3255 fi
3256 AC_SUBST([MSGMERGE_FOR_MSGFMT_OPTION])
3257
3258 dnl Support for AM_XGETTEXT_OPTION.
3259 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3260 AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
3261
3262 AC_CONFIG_COMMANDS([po-directories], [[
3263 for ac_file in $CONFIG_FILES; do
3264 # Support "outfile[:infile[:infile...]]"
3265 case "$ac_file" in
3266 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3267 esac
3268 # PO directories have a Makefile.in generated from Makefile.in.in.
3269 case "$ac_file" in */Makefile.in)
3270 # Adjust a relative srcdir.
3271 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3272 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
3273 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3274 # In autoconf-2.13 it is called $ac_given_srcdir.
3275 # In autoconf-2.50 it is called $srcdir.
3276 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3277 case "$ac_given_srcdir" in
3278 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3279 /*) top_srcdir="$ac_given_srcdir" ;;
3280 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3281 esac
3282 # Treat a directory as a PO directory if and only if it has a
3283 # POTFILES.in file. This allows packages to have multiple PO
3284 # directories under different names or in different locations.
3285 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3286 rm -f "$ac_dir/POTFILES"
3287 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3288 gt_tab=`printf '\t'`
3289 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3290 POMAKEFILEDEPS="POTFILES.in"
3291 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3292 # on $ac_dir but don't depend on user-specified configuration
3293 # parameters.
3294 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3295 # The LINGUAS file contains the set of available languages.
3296 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3297 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3298 fi
3299 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3300 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3301 else
3302 # The set of available languages was given in configure.in.
3303 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
3304 fi
3305 # Compute POFILES
3306 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3307 # Compute UPDATEPOFILES
3308 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3309 # Compute DUMMYPOFILES
3310 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3311 # Compute GMOFILES
3312 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3313 case "$ac_given_srcdir" in
3314 .) srcdirpre= ;;
3315 *) srcdirpre='$(srcdir)/' ;;
3316 esac
3317 POFILES=
3318 UPDATEPOFILES=
3319 DUMMYPOFILES=
3320 GMOFILES=
3321 for lang in $ALL_LINGUAS; do
3322 POFILES="$POFILES $srcdirpre$lang.po"
3323 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3324 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3325 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3326 done
3327 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3328 # environment variable.
3329 INST_LINGUAS=
3330 if test -n "$ALL_LINGUAS"; then
3331 for presentlang in $ALL_LINGUAS; do
3332 useit=no
3333 if test "%UNSET%" != "$LINGUAS"; then
3334 desiredlanguages="$LINGUAS"
3335 else
3336 desiredlanguages="$ALL_LINGUAS"
3337 fi
3338 for desiredlang in $desiredlanguages; do
3339 # Use the presentlang catalog if desiredlang is
3340 # a. equal to presentlang, or
3341 # b. a variant of presentlang (because in this case,
3342 # presentlang can be used as a fallback for messages
3343 # which are not translated in the desiredlang catalog).
3344 case "$desiredlang" in
3345 "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
3346 useit=yes
3347 ;;
3348 esac
3349 done
3350 if test $useit = yes; then
3351 INST_LINGUAS="$INST_LINGUAS $presentlang"
3352 fi
3353 done
3354 fi
3355 CATALOGS=
3356 if test -n "$INST_LINGUAS"; then
3357 for lang in $INST_LINGUAS; do
3358 CATALOGS="$CATALOGS $lang.gmo"
3359 done
3360 fi
3361 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3362 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"
3363 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3364 if test -f "$f"; then
3365 case "$f" in
3366 *.orig | *.bak | *~) ;;
3367 *) cat "$f" >> "$ac_dir/Makefile" ;;
3368 esac
3369 fi
3370 done
3371 fi
3372 ;;
3373 esac
3374 done]],
3375 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
3376 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
3377 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
3378 # Capture the value of LINGUAS because we need it to compute CATALOGS.
3379 LINGUAS="${LINGUAS-%UNSET%}"
3380 ])
3381 ])
3382 m4trace:m4/po.m4:221: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
3383 # When this code is run, in config.status, two variables have already been
3384 # set:
3385 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
3386 # - LINGUAS is the value of the environment variable LINGUAS at configure
3387 # time.
3388
3389 changequote(,)dnl
3390 # Adjust a relative srcdir.
3391 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3392 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
3393 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3394 # In autoconf-2.13 it is called $ac_given_srcdir.
3395 # In autoconf-2.50 it is called $srcdir.
3396 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3397 case "$ac_given_srcdir" in
3398 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3399 /*) top_srcdir="$ac_given_srcdir" ;;
3400 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3401 esac
3402
3403 # Find a way to echo strings without interpreting backslash.
3404 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3405 gt_echo='echo'
3406 else
3407 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3408 gt_echo='printf %s\n'
3409 else
3410 echo_func () {
3411 cat <<EOT
3412 $*
3413 EOT
3414 }
3415 gt_echo='echo_func'
3416 fi
3417 fi
3418
3419 # A sed script that extracts the value of VARIABLE from a Makefile.
3420 tab=`printf '\t'`
3421 sed_x_variable='
3422 # Test if the hold space is empty.
3423 x
3424 s/P/P/
3425 x
3426 ta
3427 # Yes it was empty. Look if we have the expected variable definition.
3428 /^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
3429 # Seen the first line of the variable definition.
3430 s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
3431 ba
3432 }
3433 bd
3434 :a
3435 # Here we are processing a line from the variable definition.
3436 # Remove comment, more precisely replace it with a space.
3437 s/#.*$/ /
3438 # See if the line ends in a backslash.
3439 tb
3440 :b
3441 s/\\$//
3442 # Print the line, without the trailing backslash.
3443 p
3444 tc
3445 # There was no trailing backslash. The end of the variable definition is
3446 # reached. Clear the hold space.
3447 s/^.*$//
3448 x
3449 bd
3450 :c
3451 # A trailing backslash means that the variable definition continues in the
3452 # next line. Put a nonempty string into the hold space to indicate this.
3453 s/^.*$/P/
3454 x
3455 :d
3456 '
3457 changequote([,])dnl
3458
3459 # Set POTFILES to the value of the Makefile variable POTFILES.
3460 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
3461 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
3462 # Compute POTFILES_DEPS as
3463 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
3464 POTFILES_DEPS=
3465 for file in $POTFILES; do
3466 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3467 done
3468 POMAKEFILEDEPS=""
3469
3470 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3471 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3472 fi
3473 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3474 # The LINGUAS file contains the set of available languages.
3475 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3476 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3477 else
3478 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
3479 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
3480 ALL_LINGUAS=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
3481 fi
3482 # Compute POFILES
3483 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3484 # Compute UPDATEPOFILES
3485 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3486 # Compute DUMMYPOFILES
3487 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3488 # Compute GMOFILES
3489 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3490 # Compute PROPERTIESFILES
3491 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(DOMAIN)_$(lang).properties)
3492 # Compute CLASSFILES
3493 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(DOMAIN)_$(lang).class)
3494 # Compute QMFILES
3495 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3496 # Compute MSGFILES
3497 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
3498 # Compute RESOURCESDLLFILES
3499 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
3500 case "$ac_given_srcdir" in
3501 .) srcdirpre= ;;
3502 *) srcdirpre='$(srcdir)/' ;;
3503 esac
3504 POFILES=
3505 UPDATEPOFILES=
3506 DUMMYPOFILES=
3507 GMOFILES=
3508 PROPERTIESFILES=
3509 CLASSFILES=
3510 QMFILES=
3511 MSGFILES=
3512 RESOURCESDLLFILES=
3513 for lang in $ALL_LINGUAS; do
3514 POFILES="$POFILES $srcdirpre$lang.po"
3515 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3516 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3517 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3518 PROPERTIESFILES="$PROPERTIESFILES \$(srcdir)/\$(DOMAIN)_$lang.properties"
3519 CLASSFILES="$CLASSFILES \$(srcdir)/\$(DOMAIN)_$lang.class"
3520 QMFILES="$QMFILES $srcdirpre$lang.qm"
3521 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3522 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
3523 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/'`
3524 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
3525 done
3526 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3527 # environment variable.
3528 INST_LINGUAS=
3529 if test -n "$ALL_LINGUAS"; then
3530 for presentlang in $ALL_LINGUAS; do
3531 useit=no
3532 if test "%UNSET%" != "$LINGUAS"; then
3533 desiredlanguages="$LINGUAS"
3534 else
3535 desiredlanguages="$ALL_LINGUAS"
3536 fi
3537 for desiredlang in $desiredlanguages; do
3538 # Use the presentlang catalog if desiredlang is
3539 # a. equal to presentlang, or
3540 # b. a variant of presentlang (because in this case,
3541 # presentlang can be used as a fallback for messages
3542 # which are not translated in the desiredlang catalog).
3543 case "$desiredlang" in
3544 "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
3545 useit=yes
3546 ;;
3547 esac
3548 done
3549 if test $useit = yes; then
3550 INST_LINGUAS="$INST_LINGUAS $presentlang"
3551 fi
3552 done
3553 fi
3554 CATALOGS=
3555 JAVACATALOGS=
3556 QTCATALOGS=
3557 TCLCATALOGS=
3558 CSHARPCATALOGS=
3559 if test -n "$INST_LINGUAS"; then
3560 for lang in $INST_LINGUAS; do
3561 CATALOGS="$CATALOGS $lang.gmo"
3562 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
3563 QTCATALOGS="$QTCATALOGS $lang.qm"
3564 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3565 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
3566 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/'`
3567 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
3568 done
3569 fi
3570
3571 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"
3572 tab=`printf '\t'`
3573 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
3574 # Add dependencies that cannot be formulated as a simple suffix rule.
3575 for lang in $ALL_LINGUAS; do
3576 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3577 cat >> "$ac_file.tmp" <<EOF
3578 $frobbedlang.msg: $lang.po
3579 ${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
3580 ${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3581 EOF
3582 done
3583 fi
3584 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
3585 # Add dependencies that cannot be formulated as a simple suffix rule.
3586 for lang in $ALL_LINGUAS; do
3587 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/'`
3588 cat >> "$ac_file.tmp" <<EOF
3589 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
3590 ${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
3591 ${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3592 EOF
3593 done
3594 fi
3595 if test -n "$POMAKEFILEDEPS"; then
3596 cat >> "$ac_file.tmp" <<EOF
3597 Makefile: $POMAKEFILEDEPS
3598 EOF
3599 fi
3600 mv "$ac_file.tmp" "$ac_file"
3601 ])
3602 m4trace:m4/po.m4:444: -1- AC_DEFUN([AM_XGETTEXT_OPTION_INIT], [
3603 XGETTEXT_EXTRA_OPTIONS=
3604 ])
3605 m4trace:m4/po.m4:450: -1- AC_DEFUN([AM_XGETTEXT_OPTION], [
3606 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
3607 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
3608 ])
3609 m4trace:m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
3610 # Prepare PATH_SEPARATOR.
3611 # The user is always right.
3612 if test "${PATH_SEPARATOR+set}" != set; then
3613 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3614 # contains only /bin. Note that ksh looks also at the FPATH variable,
3615 # so we have to set that as well for the test.
3616 PATH_SEPARATOR=:
3617 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3618 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3619 || PATH_SEPARATOR=';'
3620 }
3621 fi
3622
3623 # Find out how to test for executable files. Don't use a zero-byte file,
3624 # as systems may use methods other than mode bits to determine executability.
3625 cat >conf$$.file <<_ASEOF
3626 #! /bin/sh
3627 exit 0
3628 _ASEOF
3629 chmod +x conf$$.file
3630 if test -x conf$$.file >/dev/null 2>&1; then
3631 ac_executable_p="test -x"
3632 else
3633 ac_executable_p="test -f"
3634 fi
3635 rm -f conf$$.file
3636
3637 # Extract the first word of "$2", so it can be a program name with args.
3638 set dummy $2; ac_word=[$]2
3639 AC_MSG_CHECKING([for $ac_word])
3640 AC_CACHE_VAL([ac_cv_path_$1],
3641 [case "[$]$1" in
3642 [[\\/]]* | ?:[[\\/]]*)
3643 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
3644 ;;
3645 *)
3646 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3647 for ac_dir in m4_if([$5], , $PATH, [$5]); do
3648 IFS="$ac_save_IFS"
3649 test -z "$ac_dir" && ac_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3652 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
3653 if [$3]; then
3654 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
3655 break 2
3656 fi
3657 fi
3658 done
3659 done
3660 IFS="$ac_save_IFS"
3661 dnl If no 4th arg is given, leave the cache variable unset,
3662 dnl so AC_PATH_PROGS will keep looking.
3663 m4_if([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
3664 ])dnl
3665 ;;
3666 esac])dnl
3667 $1="$ac_cv_path_$1"
3668 if test m4_if([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
3669 AC_MSG_RESULT([$][$1])
3670 else
3671 AC_MSG_RESULT([no])
3672 fi
3673 AC_SUBST([$1])dnl
3674 ])
3675 m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
3676 m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
3677 m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3678 m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
3679 m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
3680 m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
3681 m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
3682 m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
3683 m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3684 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
3685 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3686 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3687 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
3688 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3689 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
3690 m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
3691 m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
3692 m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
3693 m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
3694 m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
3695 m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
3696 m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
3697 m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
3698 m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
3699 m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
3700 m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
3701 m4trace:configure.ac:2: -1- m4_pattern_allow([^runstatedir$])
3702 m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
3703 m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
3704 m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
3705 m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
3706 m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
3707 m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
3708 m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
3709 m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
3710 m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
3711 m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
3712 m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
3713 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
3714 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3715 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3716 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
3717 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3718 m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
3719 m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
3720 m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
3721 m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
3722 m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
3723 m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
3724 m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
3725 m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
3726 m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
3727 m4trace:configure.ac:7: -1- AM_INIT_AUTOMAKE
3728 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3729 m4trace:configure.ac:7: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3730 m4trace:configure.ac:7: -1- AM_AUTOMAKE_VERSION([1.16.5])
3731 m4trace:configure.ac:7: -1- _AM_AUTOCONF_VERSION([2.71])
3732 m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3733 m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3734 m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_DATA$])
3735 m4trace:configure.ac:7: -1- m4_pattern_allow([^am__isrc$])
3736 m4trace:configure.ac:7: -1- _AM_SUBST_NOTMAKE([am__isrc])
3737 m4trace:configure.ac:7: -1- m4_pattern_allow([^CYGPATH_W$])
3738 m4trace:configure.ac:7: -1- _AM_SET_OPTIONS([])
3739 m4trace:configure.ac:7: -1- m4_pattern_allow([^PACKAGE$])
3740 m4trace:configure.ac:7: -1- m4_pattern_allow([^VERSION$])
3741 m4trace:configure.ac:7: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3742 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
3743 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([no-define])
3744 m4trace:configure.ac:7: -1- m4_pattern_allow([^PACKAGE$])
3745 m4trace:configure.ac:7: -1- m4_pattern_allow([^VERSION$])
3746 m4trace:configure.ac:7: -1- AM_SANITY_CHECK
3747 m4trace:configure.ac:7: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3748 m4trace:configure.ac:7: -1- AM_MISSING_HAS_RUN
3749 m4trace:configure.ac:7: -1- AM_AUX_DIR_EXPAND
3750 m4trace:configure.ac:7: -1- m4_pattern_allow([^ACLOCAL$])
3751 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3752 m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOCONF$])
3753 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3754 m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOMAKE$])
3755 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3756 m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOHEADER$])
3757 m4trace:configure.ac:7: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3758 m4trace:configure.ac:7: -1- m4_pattern_allow([^MAKEINFO$])
3759 m4trace:configure.ac:7: -1- AM_PROG_INSTALL_SH
3760 m4trace:configure.ac:7: -1- m4_pattern_allow([^install_sh$])
3761 m4trace:configure.ac:7: -1- AM_PROG_INSTALL_STRIP
3762 m4trace:configure.ac:7: -1- m4_pattern_allow([^STRIP$])
3763 m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3764 m4trace:configure.ac:7: -1- m4_pattern_allow([^MKDIR_P$])
3765 m4trace:configure.ac:7: -1- m4_pattern_allow([^mkdir_p$])
3766 m4trace:configure.ac:7: -1- m4_pattern_allow([^AWK$])
3767 m4trace:configure.ac:7: -1- m4_pattern_allow([^SET_MAKE$])
3768 m4trace:configure.ac:7: -1- AM_SET_LEADING_DOT
3769 m4trace:configure.ac:7: -1- m4_pattern_allow([^am__leading_dot$])
3770 m4trace:configure.ac:7: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3771 [_AM_PROG_TAR([v7])])])
3772 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([tar-ustar])
3773 m4trace:configure.ac:7: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3774 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([tar-pax])
3775 m4trace:configure.ac:7: -1- _AM_PROG_TAR([v7])
3776 m4trace:configure.ac:7: -1- m4_pattern_allow([^AMTAR$])
3777 m4trace:configure.ac:7: -1- m4_pattern_allow([^am__tar$])
3778 m4trace:configure.ac:7: -1- m4_pattern_allow([^am__untar$])
3779 m4trace:configure.ac:7: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3780 [_AM_DEPENDENCIES([CC])],
3781 [m4_define([AC_PROG_CC],
3782 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
3783 AC_PROVIDE_IFELSE([AC_PROG_CXX],
3784 [_AM_DEPENDENCIES([CXX])],
3785 [m4_define([AC_PROG_CXX],
3786 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
3787 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3788 [_AM_DEPENDENCIES([OBJC])],
3789 [m4_define([AC_PROG_OBJC],
3790 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
3791 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
3792 [_AM_DEPENDENCIES([OBJCXX])],
3793 [m4_define([AC_PROG_OBJCXX],
3794 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
3795 ])
3796 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([no-dependencies])
3797 m4trace:configure.ac:7: -1- m4_pattern_allow([^CTAGS$])
3798 m4trace:configure.ac:7: -1- m4_pattern_allow([^ETAGS$])
3799 m4trace:configure.ac:7: -1- m4_pattern_allow([^CSCOPE$])
3800 m4trace:configure.ac:7: -1- AM_SILENT_RULES
3801 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_V$])
3802 m4trace:configure.ac:7: -1- AM_SUBST_NOTMAKE([AM_V])
3803 m4trace:configure.ac:7: -1- _AM_SUBST_NOTMAKE([AM_V])
3804 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_DEFAULT_V$])
3805 m4trace:configure.ac:7: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3806 m4trace:configure.ac:7: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3807 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
3808 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_BACKSLASH$])
3809 m4trace:configure.ac:7: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
3810 m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3811 m4trace:configure.ac:11: -1- m4_pattern_allow([^CFLAGS$])
3812 m4trace:configure.ac:11: -1- m4_pattern_allow([^LDFLAGS$])
3813 m4trace:configure.ac:11: -1- m4_pattern_allow([^LIBS$])
3814 m4trace:configure.ac:11: -1- m4_pattern_allow([^CPPFLAGS$])
3815 m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3816 m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3817 m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3818 m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3819 m4trace:configure.ac:11: -1- m4_pattern_allow([^ac_ct_CC$])
3820 m4trace:configure.ac:11: -1- m4_pattern_allow([^CC$])
3821 m4trace:configure.ac:11: -1- m4_pattern_allow([^EXEEXT$])
3822 m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJEXT$])
3823 m4trace:configure.ac:11: -1- _AM_PROG_CC_C_O
3824 m4trace:configure.ac:11: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
3825 m4trace:configure.ac:11: -1- _AM_DEPENDENCIES([CC])
3826 m4trace:configure.ac:11: -1- AM_SET_DEPDIR
3827 m4trace:configure.ac:11: -1- m4_pattern_allow([^DEPDIR$])
3828 m4trace:configure.ac:11: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3829 m4trace:configure.ac:11: -1- AM_MAKE_INCLUDE
3830 m4trace:configure.ac:11: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
3831 m4trace:configure.ac:11: -1- m4_pattern_allow([^am__include$])
3832 m4trace:configure.ac:11: -1- AM_DEP_TRACK
3833 m4trace:configure.ac:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3834 m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_TRUE$])
3835 m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEP_FALSE$])
3836 m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3837 m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3838 m4trace:configure.ac:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3839 m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3840 m4trace:configure.ac:11: -1- m4_pattern_allow([^am__nodep$])
3841 m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__nodep])
3842 m4trace:configure.ac:11: -1- m4_pattern_allow([^CCDEPMODE$])
3843 m4trace:configure.ac:11: -1- AM_CONDITIONAL([am__fastdepCC], [
3844 test "x$enable_dependency_tracking" != xno \
3845 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3846 m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3847 m4trace:configure.ac:11: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3848 m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3849 m4trace:configure.ac:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3850 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_stdio_h], [m4_divert_text([INIT_PREPARE],
3851 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3852 [" stdio.h ]AS_TR_SH([stdio.h]) AS_TR_CPP([HAVE_stdio.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3853 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_stdlib_h], [m4_divert_text([INIT_PREPARE],
3854 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3855 [" stdlib.h ]AS_TR_SH([stdlib.h]) AS_TR_CPP([HAVE_stdlib.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3856 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_string_h], [m4_divert_text([INIT_PREPARE],
3857 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3858 [" string.h ]AS_TR_SH([string.h]) AS_TR_CPP([HAVE_string.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3859 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_inttypes_h], [m4_divert_text([INIT_PREPARE],
3860 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3861 [" inttypes.h ]AS_TR_SH([inttypes.h]) AS_TR_CPP([HAVE_inttypes.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3862 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE],
3863 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3864 [" stdint.h ]AS_TR_SH([stdint.h]) AS_TR_CPP([HAVE_stdint.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3865 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_strings_h], [m4_divert_text([INIT_PREPARE],
3866 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3867 [" strings.h ]AS_TR_SH([strings.h]) AS_TR_CPP([HAVE_strings.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3868 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_sys_stat_h], [m4_divert_text([INIT_PREPARE],
3869 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3870 [" sys/stat.h ]AS_TR_SH([sys/stat.h]) AS_TR_CPP([HAVE_sys/stat.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3871 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_sys_types_h], [m4_divert_text([INIT_PREPARE],
3872 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3873 [" sys/types.h ]AS_TR_SH([sys/types.h]) AS_TR_CPP([HAVE_sys/types.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3874 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE],
3875 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3876 [" unistd.h ]AS_TR_SH([unistd.h]) AS_TR_CPP([HAVE_unistd.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3877 m4trace:configure.ac:13: -1- m4_pattern_allow([^STDC_HEADERS$])
3878 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE],
3879 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3880 [" wchar.h ]AS_TR_SH([wchar.h]) AS_TR_CPP([HAVE_wchar.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3881 m4trace:configure.ac:13: -1- AC_DEFUN([_AC_Header_minix_config_h], [m4_divert_text([INIT_PREPARE],
3882 [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list],
3883 [" minix/config.h ]AS_TR_SH([minix/config.h]) AS_TR_CPP([HAVE_minix/config.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)])
3884 m4trace:configure.ac:13: -1- m4_pattern_allow([^_ALL_SOURCE$])
3885 m4trace:configure.ac:13: -1- m4_pattern_allow([^_DARWIN_C_SOURCE$])
3886 m4trace:configure.ac:13: -1- m4_pattern_allow([^_GNU_SOURCE$])
3887 m4trace:configure.ac:13: -1- m4_pattern_allow([^_HPUX_ALT_XOPEN_SOCKET_API$])
3888 m4trace:configure.ac:13: -1- m4_pattern_allow([^_NETBSD_SOURCE$])
3889 m4trace:configure.ac:13: -1- m4_pattern_allow([^_OPENBSD_SOURCE$])
3890 m4trace:configure.ac:13: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
3891 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_ATTRIBS_EXT__$])
3892 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_BFP_EXT__$])
3893 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_DFP_EXT__$])
3894 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_FUNCS_EXT__$])
3895 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_TYPES_EXT__$])
3896 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_LIB_EXT2__$])
3897 m4trace:configure.ac:13: -1- m4_pattern_allow([^__STDC_WANT_MATH_SPEC_FUNCS__$])
3898 m4trace:configure.ac:13: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
3899 m4trace:configure.ac:13: -1- m4_pattern_allow([^_MINIX$])
3900 m4trace:configure.ac:13: -1- m4_pattern_allow([^_POSIX_SOURCE$])
3901 m4trace:configure.ac:13: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
3902 m4trace:configure.ac:13: -1- m4_pattern_allow([^__EXTENSIONS__$])
3903 m4trace:configure.ac:13: -1- m4_pattern_allow([^_XOPEN_SOURCE$])
3904 m4trace:configure.ac:15: -1- m4_pattern_allow([^const$])
3905 m4trace:configure.ac:16: -1- m4_pattern_allow([^size_t$])
3906 m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
3907 m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_ALLOCA$])
3908 m4trace:configure.ac:16: -1- m4_pattern_allow([^ALLOCA$])
3909 m4trace:configure.ac:16: -1- m4_pattern_allow([^C_ALLOCA$])
3910 m4trace:configure.ac:16: -1- m4_pattern_allow([^STACK_DIRECTION$])
3911 m4trace:configure.ac:18: -1- m4_pattern_allow([^PROTOTYPES$])
3912 m4trace:configure.ac:20: -1- _m4_warn([obsolete], [The macro `AC_HEADER_STDC' is obsolete.
3913 You should run autoupdate.], [./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
3914 configure.ac:20: the top level])
3915 m4trace:configure.ac:20: -1- m4_pattern_allow([^GREP$])
3916 m4trace:configure.ac:20: -1- m4_pattern_allow([^EGREP$])
3917 m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_STRING_H$])
3918 m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
3919 m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
3920 m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_STDARG_H$])
3921 m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_MATH_H$])
3922 m4trace:configure.ac:21: -1- m4_pattern_allow([^HAVE_PWD_H$])
3923 m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$])
3924 m4trace:configure.ac:22: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$])
3925 m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_STRCHR$])
3926 m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_GETCWD$])
3927 m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_STRERROR$])
3928 m4trace:configure.ac:26: -1- m4_pattern_allow([^LIB@&t@OBJS$])
3929 m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_MEMMOVE$])
3930 m4trace:configure.ac:26: -1- m4_pattern_allow([^LIB@&t@OBJS$])
3931 m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_MEMCPY$])
3932 m4trace:configure.ac:26: -1- m4_pattern_allow([^LIB@&t@OBJS$])
3933 m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_STRTOUL$])
3934 m4trace:configure.ac:26: -1- m4_pattern_allow([^LIB@&t@OBJS$])
3935 m4trace:configure.ac:27: -1- AC_DEFUN([_AC_Func_vprintf], [m4_divert_text([INIT_PREPARE],
3936 [AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list],
3937 [" vprintf ]AS_TR_CPP([HAVE_vprintf])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)])
3938 m4trace:configure.ac:27: -1- m4_pattern_allow([^HAVE_DOPRNT$])
3939 m4trace:configure.ac:31: -1- m4_pattern_allow([^HAVE_LIBSUN$])
3940 m4trace:configure.ac:34: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
3941 m4trace:configure.ac:40: -1- m4_pattern_allow([^RANLIB$])
3942 m4trace:configure.ac:41: -1- m4_pattern_allow([^YACC$])
3943 m4trace:configure.ac:41: -1- m4_pattern_allow([^YACC$])
3944 m4trace:configure.ac:41: -1- m4_pattern_allow([^YFLAGS$])
3945 m4trace:configure.ac:42: -1- AM_PROG_LEX
3946 m4trace:configure.ac:42: -1- _m4_warn([obsolete], [AC_PROG_LEX without either yywrap or noyywrap is obsolete], [./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
3947 ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
3948 /usr/share/aclocal-1.16/lex.m4:13: AM_PROG_LEX is expanded from...
3949 configure.ac:42: the top level])
3950 m4trace:configure.ac:42: -1- m4_pattern_allow([^LEX$])
3951 m4trace:configure.ac:42: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
3952 m4trace:configure.ac:42: -1- m4_pattern_allow([^LEXLIB$])
3953 m4trace:configure.ac:42: -1- m4_pattern_allow([^YYTEXT_POINTER$])
3954 m4trace:configure.ac:68: -1- m4_pattern_allow([^MEDIA$])
3955 m4trace:configure.ac:85: -1- m4_pattern_allow([^ENCODING$])
3956 m4trace:configure.ac:89: -1- m4_pattern_allow([^SPOOLER$])
3957 m4trace:configure.ac:90: -1- m4_pattern_allow([^SPOOLER$])
3958 m4trace:configure.ac:114: -1- m4_pattern_allow([^PSLEVEL$])
3959 m4trace:configure.ac:117: -1- AM_GNU_GETTEXT([external])
3960 m4trace:configure.ac:117: -1- AM_GNU_GETTEXT_NEED([])
3961 m4trace:configure.ac:117: -1- AM_PO_SUBDIRS
3962 m4trace:configure.ac:117: -1- m4_pattern_allow([^SED$])
3963 m4trace:configure.ac:117: -1- AM_NLS
3964 m4trace:configure.ac:117: -1- m4_pattern_allow([^USE_NLS$])
3965 m4trace:configure.ac:117: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$])
3966 m4trace:configure.ac:117: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3967 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
3968 m4trace:configure.ac:117: -1- m4_pattern_allow([^MSGFMT$])
3969 m4trace:configure.ac:117: -1- m4_pattern_allow([^GMSGFMT$])
3970 m4trace:configure.ac:117: -1- m4_pattern_allow([^GMSGFMT_015$])
3971 m4trace:configure.ac:117: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3972 (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)], [:])
3973 m4trace:configure.ac:117: -1- m4_pattern_allow([^XGETTEXT$])
3974 m4trace:configure.ac:117: -1- m4_pattern_allow([^XGETTEXT_015$])
3975 m4trace:configure.ac:117: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:])
3976 m4trace:configure.ac:117: -1- m4_pattern_allow([^MSGMERGE$])
3977 m4trace:configure.ac:117: -1- m4_pattern_allow([^MSGMERGE_FOR_MSGFMT_OPTION$])
3978 m4trace:configure.ac:117: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$])
3979 m4trace:configure.ac:117: -1- AC_LIB_PREPARE_PREFIX
3980 m4trace:configure.ac:117: -1- AC_LIB_RPATH
3981 m4trace:configure.ac:117: -1- AC_LIB_PROG_LD
3982 m4trace:configure.ac:117: -1- m4_pattern_allow([^build$])
3983 m4trace:configure.ac:117: -1- m4_pattern_allow([^build_cpu$])
3984 m4trace:configure.ac:117: -1- m4_pattern_allow([^build_vendor$])
3985 m4trace:configure.ac:117: -1- m4_pattern_allow([^build_os$])
3986 m4trace:configure.ac:117: -1- m4_pattern_allow([^host$])
3987 m4trace:configure.ac:117: -1- m4_pattern_allow([^host_cpu$])
3988 m4trace:configure.ac:117: -1- m4_pattern_allow([^host_vendor$])
3989 m4trace:configure.ac:117: -1- m4_pattern_allow([^host_os$])
3990 m4trace:configure.ac:117: -1- AC_LIB_PROG_LD_GNU
3991 m4trace:configure.ac:117: -1- AM_ICONV_LINKFLAGS_BODY
3992 m4trace:configure.ac:117: -1- AC_LIB_LINKFLAGS_BODY([iconv])
3993 m4trace:configure.ac:117: -1- AC_LIB_PREPARE_MULTILIB
3994 m4trace:configure.ac:117: -1- gl_HOST_CPU_C_ABI_32BIT
3995 m4trace:configure.ac:117: -1- m4_pattern_allow([^CPP$])
3996 m4trace:configure.ac:117: -1- m4_pattern_allow([^CPPFLAGS$])
3997 m4trace:configure.ac:117: -1- m4_pattern_allow([^CPP$])
3998 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
3999 eval additional_includedir=\"$includedir\"
4000 eval additional_libdir=\"$libdir\"
4001 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
4002 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
4003 ])
4004 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
4005 eval additional_includedir=\"$includedir\"
4006 eval additional_libdir=\"$libdir\"
4007 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
4008 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
4009 ])
4010 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4011 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4012 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4013 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4014 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4015 m4trace:configure.ac:117: -1- gt_INTL_MACOSX
4016 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
4017 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYPREFERREDLANGUAGES$])
4018 m4trace:configure.ac:117: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
4019 m4trace:configure.ac:117: -1- AM_ICONV_LINK
4020 m4trace:configure.ac:117: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
4021 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4022 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_ICONV$])
4023 m4trace:configure.ac:117: -1- m4_pattern_allow([^LIBICONV$])
4024 m4trace:configure.ac:117: -1- m4_pattern_allow([^LTLIBICONV$])
4025 m4trace:configure.ac:117: -1- AC_LIB_LINKFLAGS_BODY([intl])
4026 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
4027 eval additional_includedir=\"$includedir\"
4028 eval additional_libdir=\"$libdir\"
4029 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
4030 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
4031 ])
4032 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
4033 eval additional_includedir=\"$includedir\"
4034 eval additional_libdir=\"$libdir\"
4035 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
4036 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
4037 ])
4038 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4039 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4040 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4041 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4042 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4043 m4trace:configure.ac:117: -1- m4_pattern_allow([^ENABLE_NLS$])
4044 m4trace:configure.ac:117: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
4045 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4046 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_GETTEXT$])
4047 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
4048 m4trace:configure.ac:117: -1- m4_pattern_allow([^INTLLIBS$])
4049 m4trace:configure.ac:117: -1- m4_pattern_allow([^LIBINTL$])
4050 m4trace:configure.ac:117: -1- m4_pattern_allow([^LTLIBINTL$])
4051 m4trace:configure.ac:117: -1- m4_pattern_allow([^POSUB$])
4052 m4trace:configure.ac:118: -1- AM_GNU_GETTEXT_VERSION([0.21.1])
4053 m4trace:configure.ac:121: -1- m4_pattern_allow([^PATH_SEPARATOR$])
4054 m4trace:configure.ac:123: -1- m4_pattern_allow([^PATH_SEPARATOR_STR$])
4055 m4trace:configure.ac:132: -1- m4_pattern_allow([^PERL$])
4056 m4trace:configure.ac:136: -1- m4_pattern_allow([^CFLAGS$])
4057 m4trace:configure.ac:137: -1- m4_pattern_allow([^LDFLAGS$])
4058 m4trace:configure.ac:153: -1- m4_pattern_allow([^LIB@&t@OBJS$])
4059 m4trace:configure.ac:153: -1- m4_pattern_allow([^LTLIBOBJS$])
4060 m4trace:configure.ac:153: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
4061 m4trace:configure.ac:153: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
4062 m4trace:configure.ac:153: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
4063 m4trace:configure.ac:153: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
4064 m4trace:configure.ac:153: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
4065 m4trace:configure.ac:153: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
4066 m4trace:configure.ac:153: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
4067 m4trace:configure.ac:153: -1- AM_RUN_LOG([cd "$am_dirpart" \
4068 && sed -e '/# am--include-marker/d' "$am_filepart" \
4069 | $MAKE -f - am--depfiles])