1m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
2
3AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
4
5AC_CHECK_TYPES([error_t],
6  [],
7  [AC_DEFINE([error_t], [int],
8   [Define to a type to use for `error_t' if it is not otherwise available.])
9   AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
10    does not typedef error_t.])],
11  [#if defined(HAVE_ARGZ_H)
12#  include <argz.h>
13#endif])
14
15ARGZ_H=
16AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
17	argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
18
19dnl if have system argz functions, allow forced use of
20dnl libltdl-supplied implementation (and default to do so
21dnl on "known bad" systems). Could use a runtime check, but
22dnl (a) detecting malloc issues is notoriously unreliable
23dnl (b) only known system that declares argz functions,
24dnl     provides them, yet they are broken, is cygwin
25dnl     releases prior to 16-Mar-2007 (1.5.24 and earlier)
26dnl So, it's more straightforward simply to special case
27dnl this for known bad systems.
28AS_IF([test -z "$ARGZ_H"],
29    [AC_CACHE_CHECK(
30        [if argz actually works],
31        [lt_cv_sys_argz_works],
32        [[case $host_os in #(
33	 *cygwin*)
34	   lt_cv_sys_argz_works=no
35	   if test "$cross_compiling" != no; then
36	     lt_cv_sys_argz_works="guessing no"
37	   else
38	     lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
39	     save_IFS=$IFS
40	     IFS=-.
41	     set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
42	     IFS=$save_IFS
43	     lt_os_major=${2-0}
44	     lt_os_minor=${3-0}
45	     lt_os_micro=${4-0}
46	     if test "$lt_os_major" -gt 1 \
47		|| { test "$lt_os_major" -eq 1 \
48		  && { test "$lt_os_minor" -gt 5 \
49		    || { test "$lt_os_minor" -eq 5 \
50		      && test "$lt_os_micro" -gt 24; }; }; }; then
51	       lt_cv_sys_argz_works=yes
52	     fi
53	   fi
54	   ;; #(
55	 *) lt_cv_sys_argz_works=yes ;;
56	 esac]])
57     AS_IF([test "$lt_cv_sys_argz_works" = yes],
58        [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
59                   [This value is set to 1 to indicate that the system argz facility works])],
60        [ARGZ_H=argz.h
61        AC_LIBOBJ([argz])])])
62
63AC_SUBST([ARGZ_H])
64])
65m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
66m4trace:/usr/share/aclocal/libtool.m4:69: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
67AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
68AC_BEFORE([$0], [LT_LANG])dnl
69AC_BEFORE([$0], [LT_OUTPUT])dnl
70AC_BEFORE([$0], [LTDL_INIT])dnl
71m4_require([_LT_CHECK_BUILDDIR])dnl
72
73dnl Autoconf doesn't catch unexpanded LT_ macros by default:
74m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
75m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
76dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
77dnl unless we require an AC_DEFUNed macro:
78AC_REQUIRE([LTOPTIONS_VERSION])dnl
79AC_REQUIRE([LTSUGAR_VERSION])dnl
80AC_REQUIRE([LTVERSION_VERSION])dnl
81AC_REQUIRE([LTOBSOLETE_VERSION])dnl
82m4_require([_LT_PROG_LTMAIN])dnl
83
84_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
85
86dnl Parse OPTIONS
87_LT_SET_OPTIONS([$0], [$1])
88
89# This can be used to rebuild libtool when needed
90LIBTOOL_DEPS="$ltmain"
91
92# Always use our own libtool.
93LIBTOOL='$(SHELL) $(top_builddir)/libtool'
94AC_SUBST(LIBTOOL)dnl
95
96_LT_SETUP
97
98# Only expand once:
99m4_define([LT_INIT])
100])
101m4trace:/usr/share/aclocal/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
102m4trace:/usr/share/aclocal/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
103You should run autoupdate.])dnl
104m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
105m4trace:/usr/share/aclocal/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
106m4trace:/usr/share/aclocal/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
107You should run autoupdate.])dnl
108m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
109m4trace:/usr/share/aclocal/libtool.m4:609: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
110AC_MSG_NOTICE([creating $CONFIG_LT])
111_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
112[# Run this file to recreate a libtool stub with the current configuration.])
113
114cat >>"$CONFIG_LT" <<\_LTEOF
115lt_cl_silent=false
116exec AS_MESSAGE_LOG_FD>>config.log
117{
118  echo
119  AS_BOX([Running $as_me.])
120} >&AS_MESSAGE_LOG_FD
121
122lt_cl_help="\
123\`$as_me' creates a local libtool stub from the current configuration,
124for use in further configure time tests before the real libtool is
125generated.
126
127Usage: $[0] [[OPTIONS]]
128
129  -h, --help      print this help, then exit
130  -V, --version   print version number, then exit
131  -q, --quiet     do not print progress messages
132  -d, --debug     don't remove temporary files
133
134Report bugs to <bug-libtool@gnu.org>."
135
136lt_cl_version="\
137m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
138m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
139configured by $[0], generated by m4_PACKAGE_STRING.
140
141Copyright (C) 2011 Free Software Foundation, Inc.
142This config.lt script is free software; the Free Software Foundation
143gives unlimited permision to copy, distribute and modify it."
144
145while test $[#] != 0
146do
147  case $[1] in
148    --version | --v* | -V )
149      echo "$lt_cl_version"; exit 0 ;;
150    --help | --h* | -h )
151      echo "$lt_cl_help"; exit 0 ;;
152    --debug | --d* | -d )
153      debug=: ;;
154    --quiet | --q* | --silent | --s* | -q )
155      lt_cl_silent=: ;;
156
157    -*) AC_MSG_ERROR([unrecognized option: $[1]
158Try \`$[0] --help' for more information.]) ;;
159
160    *) AC_MSG_ERROR([unrecognized argument: $[1]
161Try \`$[0] --help' for more information.]) ;;
162  esac
163  shift
164done
165
166if $lt_cl_silent; then
167  exec AS_MESSAGE_FD>/dev/null
168fi
169_LTEOF
170
171cat >>"$CONFIG_LT" <<_LTEOF
172_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
173_LTEOF
174
175cat >>"$CONFIG_LT" <<\_LTEOF
176AC_MSG_NOTICE([creating $ofile])
177_LT_OUTPUT_LIBTOOL_COMMANDS
178AS_EXIT(0)
179_LTEOF
180chmod +x "$CONFIG_LT"
181
182# configure is writing to config.log, but config.lt does its own redirection,
183# appending to config.log, which fails on DOS, as config.log is still kept
184# open by configure.  Here we exec the FD to /dev/null, effectively closing
185# config.log, so it can be properly (re)opened and appended to by config.lt.
186lt_cl_success=:
187test "$silent" = yes &&
188  lt_config_lt_args="$lt_config_lt_args --quiet"
189exec AS_MESSAGE_LOG_FD>/dev/null
190$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
191exec AS_MESSAGE_LOG_FD>>config.log
192$lt_cl_success || AS_EXIT(1)
193])
194m4trace:/usr/share/aclocal/libtool.m4:790: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
195m4trace:/usr/share/aclocal/libtool.m4:801: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
196m4_case([$1],
197  [C],			[_LT_LANG(C)],
198  [C++],		[_LT_LANG(CXX)],
199  [Go],			[_LT_LANG(GO)],
200  [Java],		[_LT_LANG(GCJ)],
201  [Fortran 77],		[_LT_LANG(F77)],
202  [Fortran],		[_LT_LANG(FC)],
203  [Windows Resource],	[_LT_LANG(RC)],
204  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
205    [_LT_LANG($1)],
206    [m4_fatal([$0: unsupported language: "$1"])])])dnl
207])
208m4trace:/usr/share/aclocal/libtool.m4:893: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
209m4trace:/usr/share/aclocal/libtool.m4:893: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
210You should run autoupdate.])dnl
211LT_LANG(C++)])
212m4trace:/usr/share/aclocal/libtool.m4:894: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
213m4trace:/usr/share/aclocal/libtool.m4:894: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
214You should run autoupdate.])dnl
215LT_LANG(Fortran 77)])
216m4trace:/usr/share/aclocal/libtool.m4:895: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
217m4trace:/usr/share/aclocal/libtool.m4:895: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
218You should run autoupdate.])dnl
219LT_LANG(Fortran)])
220m4trace:/usr/share/aclocal/libtool.m4:896: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
221m4trace:/usr/share/aclocal/libtool.m4:896: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
222You should run autoupdate.])dnl
223LT_LANG(Java)])
224m4trace:/usr/share/aclocal/libtool.m4:897: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
225m4trace:/usr/share/aclocal/libtool.m4:897: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
226You should run autoupdate.])dnl
227LT_LANG(Windows Resource)])
228m4trace:/usr/share/aclocal/libtool.m4:1225: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
229AC_ARG_WITH([sysroot],
230[  --with-sysroot[=DIR] Search for dependent libraries within DIR
231                        (or the compiler's sysroot if not specified).],
232[], [with_sysroot=no])
233
234dnl lt_sysroot will always be passed unquoted.  We quote it here
235dnl in case the user passed a directory name.
236lt_sysroot=
237case ${with_sysroot} in #(
238 yes)
239   if test "$GCC" = yes; then
240     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
241   fi
242   ;; #(
243 /*)
244   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
245   ;; #(
246 no|'')
247   ;; #(
248 *)
249   AC_MSG_RESULT([${with_sysroot}])
250   AC_MSG_ERROR([The sysroot must be an absolute path.])
251   ;;
252esac
253
254 AC_MSG_RESULT([${lt_sysroot:-no}])
255_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
256[dependent libraries, and in which our libraries should be installed.])])
257m4trace:/usr/share/aclocal/libtool.m4:1515: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
258m4_require([_LT_DECL_SED])dnl
259AC_CACHE_CHECK([$1], [$2],
260  [$2=no
261   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
262   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
263   lt_compiler_flag="$3"
264   # Insert the option either (1) after the last *FLAGS variable, or
265   # (2) before a word containing "conftest.", or (3) at the end.
266   # Note that $ac_compile itself does not contain backslashes and begins
267   # with a dollar sign (not a hyphen), so the echo should work correctly.
268   # The option is referenced via a variable to avoid confusing sed.
269   lt_compile=`echo "$ac_compile" | $SED \
270   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
271   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
272   -e 's:$: $lt_compiler_flag:'`
273   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
274   (eval "$lt_compile" 2>conftest.err)
275   ac_status=$?
276   cat conftest.err >&AS_MESSAGE_LOG_FD
277   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
278   if (exit $ac_status) && test -s "$ac_outfile"; then
279     # The compiler can only warn and ignore the option if not recognized
280     # So say no if there are warnings other than the usual output.
281     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
282     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
283     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
284       $2=yes
285     fi
286   fi
287   $RM conftest*
288])
289
290if test x"[$]$2" = xyes; then
291    m4_if([$5], , :, [$5])
292else
293    m4_if([$6], , :, [$6])
294fi
295])
296m4trace:/usr/share/aclocal/libtool.m4:1557: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
297m4trace:/usr/share/aclocal/libtool.m4:1557: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
298You should run autoupdate.])dnl
299m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
300m4trace:/usr/share/aclocal/libtool.m4:1566: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
301m4_require([_LT_DECL_SED])dnl
302AC_CACHE_CHECK([$1], [$2],
303  [$2=no
304   save_LDFLAGS="$LDFLAGS"
305   LDFLAGS="$LDFLAGS $3"
306   echo "$lt_simple_link_test_code" > conftest.$ac_ext
307   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
308     # The linker can only warn and ignore the option if not recognized
309     # So say no if there are warnings
310     if test -s conftest.err; then
311       # Append any errors to the config.log.
312       cat conftest.err 1>&AS_MESSAGE_LOG_FD
313       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
314       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
315       if diff conftest.exp conftest.er2 >/dev/null; then
316         $2=yes
317       fi
318     else
319       $2=yes
320     fi
321   fi
322   $RM -r conftest*
323   LDFLAGS="$save_LDFLAGS"
324])
325
326if test x"[$]$2" = xyes; then
327    m4_if([$4], , :, [$4])
328else
329    m4_if([$5], , :, [$5])
330fi
331])
332m4trace:/usr/share/aclocal/libtool.m4:1601: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
333m4trace:/usr/share/aclocal/libtool.m4:1601: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
334You should run autoupdate.])dnl
335m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
336m4trace:/usr/share/aclocal/libtool.m4:1608: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
337# find the maximum length of command line arguments
338AC_MSG_CHECKING([the maximum length of command line arguments])
339AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
340  i=0
341  teststring="ABCD"
342
343  case $build_os in
344  msdosdjgpp*)
345    # On DJGPP, this test can blow up pretty badly due to problems in libc
346    # (any single argument exceeding 2000 bytes causes a buffer overrun
347    # during glob expansion).  Even if it were fixed, the result of this
348    # check would be larger than it should be.
349    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
350    ;;
351
352  gnu*)
353    # Under GNU Hurd, this test is not required because there is
354    # no limit to the length of command line arguments.
355    # Libtool will interpret -1 as no limit whatsoever
356    lt_cv_sys_max_cmd_len=-1;
357    ;;
358
359  cygwin* | mingw* | cegcc*)
360    # On Win9x/ME, this test blows up -- it succeeds, but takes
361    # about 5 minutes as the teststring grows exponentially.
362    # Worse, since 9x/ME are not pre-emptively multitasking,
363    # you end up with a "frozen" computer, even though with patience
364    # the test eventually succeeds (with a max line length of 256k).
365    # Instead, let's just punt: use the minimum linelength reported by
366    # all of the supported platforms: 8192 (on NT/2K/XP).
367    lt_cv_sys_max_cmd_len=8192;
368    ;;
369
370  mint*)
371    # On MiNT this can take a long time and run out of memory.
372    lt_cv_sys_max_cmd_len=8192;
373    ;;
374
375  amigaos*)
376    # On AmigaOS with pdksh, this test takes hours, literally.
377    # So we just punt and use a minimum line length of 8192.
378    lt_cv_sys_max_cmd_len=8192;
379    ;;
380
381  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
382    # This has been around since 386BSD, at least.  Likely further.
383    if test -x /sbin/sysctl; then
384      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
385    elif test -x /usr/sbin/sysctl; then
386      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
387    else
388      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
389    fi
390    # And add a safety zone
391    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
392    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
393    ;;
394
395  interix*)
396    # We know the value 262144 and hardcode it with a safety zone (like BSD)
397    lt_cv_sys_max_cmd_len=196608
398    ;;
399
400  os2*)
401    # The test takes a long time on OS/2.
402    lt_cv_sys_max_cmd_len=8192
403    ;;
404
405  osf*)
406    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
407    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
408    # nice to cause kernel panics so lets avoid the loop below.
409    # First set a reasonable default.
410    lt_cv_sys_max_cmd_len=16384
411    #
412    if test -x /sbin/sysconfig; then
413      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
414        *1*) lt_cv_sys_max_cmd_len=-1 ;;
415      esac
416    fi
417    ;;
418  sco3.2v5*)
419    lt_cv_sys_max_cmd_len=102400
420    ;;
421  sysv5* | sco5v6* | sysv4.2uw2*)
422    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
423    if test -n "$kargmax"; then
424      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
425    else
426      lt_cv_sys_max_cmd_len=32768
427    fi
428    ;;
429  *)
430    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
431    if test -n "$lt_cv_sys_max_cmd_len" && \
432	test undefined != "$lt_cv_sys_max_cmd_len"; then
433      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
434      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
435    else
436      # Make teststring a little bigger before we do anything with it.
437      # a 1K string should be a reasonable start.
438      for i in 1 2 3 4 5 6 7 8 ; do
439        teststring=$teststring$teststring
440      done
441      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
442      # If test is not a shell built-in, we'll probably end up computing a
443      # maximum length that is only half of the actual maximum length, but
444      # we can't tell.
445      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
446	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
447	      test $i != 17 # 1/2 MB should be enough
448      do
449        i=`expr $i + 1`
450        teststring=$teststring$teststring
451      done
452      # Only check the string length outside the loop.
453      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
454      teststring=
455      # Add a significant safety factor because C++ compilers can tack on
456      # massive amounts of additional arguments before passing them to the
457      # linker.  It appears as though 1/2 is a usable value.
458      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
459    fi
460    ;;
461  esac
462])
463if test -n $lt_cv_sys_max_cmd_len ; then
464  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
465else
466  AC_MSG_RESULT(none)
467fi
468max_cmd_len=$lt_cv_sys_max_cmd_len
469_LT_DECL([], [max_cmd_len], [0],
470    [What is the maximum length of a command?])
471])
472m4trace:/usr/share/aclocal/libtool.m4:1747: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
473m4trace:/usr/share/aclocal/libtool.m4:1747: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
474You should run autoupdate.])dnl
475m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
476m4trace:/usr/share/aclocal/libtool.m4:1858: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
477if test "x$enable_dlopen" != xyes; then
478  enable_dlopen=unknown
479  enable_dlopen_self=unknown
480  enable_dlopen_self_static=unknown
481else
482  lt_cv_dlopen=no
483  lt_cv_dlopen_libs=
484
485  case $host_os in
486  beos*)
487    lt_cv_dlopen="load_add_on"
488    lt_cv_dlopen_libs=
489    lt_cv_dlopen_self=yes
490    ;;
491
492  mingw* | pw32* | cegcc*)
493    lt_cv_dlopen="LoadLibrary"
494    lt_cv_dlopen_libs=
495    ;;
496
497  cygwin*)
498    lt_cv_dlopen="dlopen"
499    lt_cv_dlopen_libs=
500    ;;
501
502  darwin*)
503  # if libdl is installed we need to link against it
504    AC_CHECK_LIB([dl], [dlopen],
505		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
506    lt_cv_dlopen="dyld"
507    lt_cv_dlopen_libs=
508    lt_cv_dlopen_self=yes
509    ])
510    ;;
511
512  *)
513    AC_CHECK_FUNC([shl_load],
514	  [lt_cv_dlopen="shl_load"],
515      [AC_CHECK_LIB([dld], [shl_load],
516	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
517	[AC_CHECK_FUNC([dlopen],
518	      [lt_cv_dlopen="dlopen"],
519	  [AC_CHECK_LIB([dl], [dlopen],
520		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
521	    [AC_CHECK_LIB([svld], [dlopen],
522		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
523	      [AC_CHECK_LIB([dld], [dld_link],
524		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
525	      ])
526	    ])
527	  ])
528	])
529      ])
530    ;;
531  esac
532
533  if test "x$lt_cv_dlopen" != xno; then
534    enable_dlopen=yes
535  else
536    enable_dlopen=no
537  fi
538
539  case $lt_cv_dlopen in
540  dlopen)
541    save_CPPFLAGS="$CPPFLAGS"
542    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
543
544    save_LDFLAGS="$LDFLAGS"
545    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
546
547    save_LIBS="$LIBS"
548    LIBS="$lt_cv_dlopen_libs $LIBS"
549
550    AC_CACHE_CHECK([whether a program can dlopen itself],
551	  lt_cv_dlopen_self, [dnl
552	  _LT_TRY_DLOPEN_SELF(
553	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
554	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
555    ])
556
557    if test "x$lt_cv_dlopen_self" = xyes; then
558      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
559      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
560	  lt_cv_dlopen_self_static, [dnl
561	  _LT_TRY_DLOPEN_SELF(
562	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
563	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
564      ])
565    fi
566
567    CPPFLAGS="$save_CPPFLAGS"
568    LDFLAGS="$save_LDFLAGS"
569    LIBS="$save_LIBS"
570    ;;
571  esac
572
573  case $lt_cv_dlopen_self in
574  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
575  *) enable_dlopen_self=unknown ;;
576  esac
577
578  case $lt_cv_dlopen_self_static in
579  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
580  *) enable_dlopen_self_static=unknown ;;
581  esac
582fi
583_LT_DECL([dlopen_support], [enable_dlopen], [0],
584	 [Whether dlopen is supported])
585_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
586	 [Whether dlopen of programs is supported])
587_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
588	 [Whether dlopen of statically linked programs is supported])
589])
590m4trace:/usr/share/aclocal/libtool.m4:1975: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
591m4trace:/usr/share/aclocal/libtool.m4:1975: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
592You should run autoupdate.])dnl
593m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
594m4trace:/usr/share/aclocal/libtool.m4:2945: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
595AC_MSG_CHECKING([for $1])
596AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
597[case $MAGIC_CMD in
598[[\\/*] |  ?:[\\/]*])
599  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
600  ;;
601*)
602  lt_save_MAGIC_CMD="$MAGIC_CMD"
603  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
604dnl $ac_dummy forces splitting on constant user-supplied paths.
605dnl POSIX.2 word splitting is done only on the output of word expansions,
606dnl not every word.  This closes a longstanding sh security hole.
607  ac_dummy="m4_if([$2], , $PATH, [$2])"
608  for ac_dir in $ac_dummy; do
609    IFS="$lt_save_ifs"
610    test -z "$ac_dir" && ac_dir=.
611    if test -f $ac_dir/$1; then
612      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
613      if test -n "$file_magic_test_file"; then
614	case $deplibs_check_method in
615	"file_magic "*)
616	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
617	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
618	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
619	    $EGREP "$file_magic_regex" > /dev/null; then
620	    :
621	  else
622	    cat <<_LT_EOF 1>&2
623
624*** Warning: the command libtool uses to detect shared libraries,
625*** $file_magic_cmd, produces output that libtool cannot recognize.
626*** The result is that libtool may fail to recognize shared libraries
627*** as such.  This will affect the creation of libtool libraries that
628*** depend on shared libraries, but programs linked with such libtool
629*** libraries will work regardless of this problem.  Nevertheless, you
630*** may want to report the problem to your system manager and/or to
631*** bug-libtool@gnu.org
632
633_LT_EOF
634	  fi ;;
635	esac
636      fi
637      break
638    fi
639  done
640  IFS="$lt_save_ifs"
641  MAGIC_CMD="$lt_save_MAGIC_CMD"
642  ;;
643esac])
644MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
645if test -n "$MAGIC_CMD"; then
646  AC_MSG_RESULT($MAGIC_CMD)
647else
648  AC_MSG_RESULT(no)
649fi
650_LT_DECL([], [MAGIC_CMD], [0],
651	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
652])
653m4trace:/usr/share/aclocal/libtool.m4:3007: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
654m4trace:/usr/share/aclocal/libtool.m4:3007: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
655You should run autoupdate.])dnl
656m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
657m4trace:/usr/share/aclocal/libtool.m4:3030: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
658AC_REQUIRE([AC_CANONICAL_HOST])dnl
659AC_REQUIRE([AC_CANONICAL_BUILD])dnl
660m4_require([_LT_DECL_SED])dnl
661m4_require([_LT_DECL_EGREP])dnl
662m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
663
664AC_ARG_WITH([gnu-ld],
665    [AS_HELP_STRING([--with-gnu-ld],
666	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
667    [test "$withval" = no || with_gnu_ld=yes],
668    [with_gnu_ld=no])dnl
669
670ac_prog=ld
671if test "$GCC" = yes; then
672  # Check if gcc -print-prog-name=ld gives a path.
673  AC_MSG_CHECKING([for ld used by $CC])
674  case $host in
675  *-*-mingw*)
676    # gcc leaves a trailing carriage return which upsets mingw
677    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
678  *)
679    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
680  esac
681  case $ac_prog in
682    # Accept absolute paths.
683    [[\\/]]* | ?:[[\\/]]*)
684      re_direlt='/[[^/]][[^/]]*/\.\./'
685      # Canonicalize the pathname of ld
686      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
687      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
688	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
689      done
690      test -z "$LD" && LD="$ac_prog"
691      ;;
692  "")
693    # If it fails, then pretend we aren't using GCC.
694    ac_prog=ld
695    ;;
696  *)
697    # If it is relative, then search for the first ld in PATH.
698    with_gnu_ld=unknown
699    ;;
700  esac
701elif test "$with_gnu_ld" = yes; then
702  AC_MSG_CHECKING([for GNU ld])
703else
704  AC_MSG_CHECKING([for non-GNU ld])
705fi
706AC_CACHE_VAL(lt_cv_path_LD,
707[if test -z "$LD"; then
708  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
709  for ac_dir in $PATH; do
710    IFS="$lt_save_ifs"
711    test -z "$ac_dir" && ac_dir=.
712    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
713      lt_cv_path_LD="$ac_dir/$ac_prog"
714      # Check to see if the program is GNU ld.  I'd rather use --version,
715      # but apparently some variants of GNU ld only accept -v.
716      # Break only if it was the GNU/non-GNU ld that we prefer.
717      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
718      *GNU* | *'with BFD'*)
719	test "$with_gnu_ld" != no && break
720	;;
721      *)
722	test "$with_gnu_ld" != yes && break
723	;;
724      esac
725    fi
726  done
727  IFS="$lt_save_ifs"
728else
729  lt_cv_path_LD="$LD" # Let the user override the test with a path.
730fi])
731LD="$lt_cv_path_LD"
732if test -n "$LD"; then
733  AC_MSG_RESULT($LD)
734else
735  AC_MSG_RESULT(no)
736fi
737test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
738_LT_PATH_LD_GNU
739AC_SUBST([LD])
740
741_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
742])
743m4trace:/usr/share/aclocal/libtool.m4:3119: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
744m4trace:/usr/share/aclocal/libtool.m4:3119: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
745You should run autoupdate.])dnl
746m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
747m4trace:/usr/share/aclocal/libtool.m4:3120: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
748m4trace:/usr/share/aclocal/libtool.m4:3120: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
749You should run autoupdate.])dnl
750m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
751m4trace:/usr/share/aclocal/libtool.m4:3410: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
752AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
753[if test -n "$NM"; then
754  # Let the user override the test.
755  lt_cv_path_NM="$NM"
756else
757  lt_nm_to_check="${ac_tool_prefix}nm"
758  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
759    lt_nm_to_check="$lt_nm_to_check nm"
760  fi
761  for lt_tmp_nm in $lt_nm_to_check; do
762    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
763    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
764      IFS="$lt_save_ifs"
765      test -z "$ac_dir" && ac_dir=.
766      tmp_nm="$ac_dir/$lt_tmp_nm"
767      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
768	# Check to see if the nm accepts a BSD-compat flag.
769	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
770	#   nm: unknown option "B" ignored
771	# Tru64's nm complains that /dev/null is an invalid object file
772	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
773	*/dev/null* | *'Invalid file or object type'*)
774	  lt_cv_path_NM="$tmp_nm -B"
775	  break
776	  ;;
777	*)
778	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
779	  */dev/null*)
780	    lt_cv_path_NM="$tmp_nm -p"
781	    break
782	    ;;
783	  *)
784	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
785	    continue # so that we can try to find one that supports BSD flags
786	    ;;
787	  esac
788	  ;;
789	esac
790      fi
791    done
792    IFS="$lt_save_ifs"
793  done
794  : ${lt_cv_path_NM=no}
795fi])
796if test "$lt_cv_path_NM" != "no"; then
797  NM="$lt_cv_path_NM"
798else
799  # Didn't find any BSD compatible name lister, look for dumpbin.
800  if test -n "$DUMPBIN"; then :
801    # Let the user override the test.
802  else
803    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
804    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
805    *COFF*)
806      DUMPBIN="$DUMPBIN -symbols"
807      ;;
808    *)
809      DUMPBIN=:
810      ;;
811    esac
812  fi
813  AC_SUBST([DUMPBIN])
814  if test "$DUMPBIN" != ":"; then
815    NM="$DUMPBIN"
816  fi
817fi
818test -z "$NM" && NM=nm
819AC_SUBST([NM])
820_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
821
822AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
823  [lt_cv_nm_interface="BSD nm"
824  echo "int some_variable = 0;" > conftest.$ac_ext
825  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
826  (eval "$ac_compile" 2>conftest.err)
827  cat conftest.err >&AS_MESSAGE_LOG_FD
828  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
829  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
830  cat conftest.err >&AS_MESSAGE_LOG_FD
831  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
832  cat conftest.out >&AS_MESSAGE_LOG_FD
833  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
834    lt_cv_nm_interface="MS dumpbin"
835  fi
836  rm -f conftest*])
837])
838m4trace:/usr/share/aclocal/libtool.m4:3500: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
839m4trace:/usr/share/aclocal/libtool.m4:3500: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
840You should run autoupdate.])dnl
841m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
842m4trace:/usr/share/aclocal/libtool.m4:3501: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
843m4trace:/usr/share/aclocal/libtool.m4:3501: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
844You should run autoupdate.])dnl
845m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
846m4trace:/usr/share/aclocal/libtool.m4:3571: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
847LIBM=
848case $host in
849*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
850  # These system don't have libm, or don't need it
851  ;;
852*-ncr-sysv4.3*)
853  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
854  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
855  ;;
856*)
857  AC_CHECK_LIB(m, cos, LIBM="-lm")
858  ;;
859esac
860AC_SUBST([LIBM])
861])
862m4trace:/usr/share/aclocal/libtool.m4:3590: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
863m4trace:/usr/share/aclocal/libtool.m4:3590: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
864You should run autoupdate.])dnl
865m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
866m4trace:/usr/share/aclocal/libtool.m4:7637: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
867  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
868    [AC_CHECK_TOOL(GCJ, gcj,)
869      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
870      AC_SUBST(GCJFLAGS)])])[]dnl
871])
872m4trace:/usr/share/aclocal/libtool.m4:7646: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
873m4trace:/usr/share/aclocal/libtool.m4:7646: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
874You should run autoupdate.])dnl
875m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
876m4trace:/usr/share/aclocal/libtool.m4:7653: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
877])
878m4trace:/usr/share/aclocal/libtool.m4:7660: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
879])
880m4trace:/usr/share/aclocal/libtool.m4:7665: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
881m4trace:/usr/share/aclocal/libtool.m4:7665: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
882You should run autoupdate.])dnl
883m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
884m4trace:/usr/share/aclocal/libtool.m4:7785: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
885m4trace:/usr/share/aclocal/libtool.m4:7785: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
886You should run autoupdate.])dnl
887m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
888m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
889_$0($*)
890])
891m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
892dnl Although the argument is deprecated and no longer documented,
893dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
894dnl here make sure it is the same as any other declaration of libltdl's
895dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
896dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
897m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
898_$0()
899])
900m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
901_LTDL_CONVENIENCE])
902m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
903You should run autoupdate.])dnl
904_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
905_LTDL_CONVENIENCE])
906m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
907dnl Although the argument is deprecated and no longer documented,
908dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
909dnl here make sure it is the same as any other declaration of libltdl's
910dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
911dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
912m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
913_$0()
914])
915m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
916_LTDL_INSTALLABLE])
917m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
918You should run autoupdate.])dnl
919_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
920_LTDL_INSTALLABLE])
921m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
922  m4_pattern_allow([^_LT_LIBOBJS$])
923  _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
924])
925m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
926_LT_SET_OPTIONS([$0], [$1])
927
928dnl We need to keep our own list of libobjs separate from our parent project,
929dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
930dnl we look for our own LIBOBJs.
931m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
932m4_pushdef([AC_LIBSOURCES])
933
934dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
935m4_if(_LTDL_MODE, [],
936        [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
937        m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
938                [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
939
940AC_ARG_WITH([included_ltdl],
941    [AS_HELP_STRING([--with-included-ltdl],
942                    [use the GNU ltdl sources included here])])
943
944if test "x$with_included_ltdl" != xyes; then
945  # We are not being forced to use the included libltdl sources, so
946  # decide whether there is a useful installed version we can use.
947  AC_CHECK_HEADER([ltdl.h],
948      [AC_CHECK_DECL([lt_dlinterface_register],
949	   [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
950	       [with_included_ltdl=no],
951	       [with_included_ltdl=yes])],
952	   [with_included_ltdl=yes],
953	   [AC_INCLUDES_DEFAULT
954	    #include <ltdl.h>])],
955      [with_included_ltdl=yes],
956      [AC_INCLUDES_DEFAULT]
957  )
958fi
959
960dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
961dnl was called yet, then for old times' sake, we assume libltdl is in an
962dnl eponymous directory:
963AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
964
965AC_ARG_WITH([ltdl_include],
966    [AS_HELP_STRING([--with-ltdl-include=DIR],
967                    [use the ltdl headers installed in DIR])])
968
969if test -n "$with_ltdl_include"; then
970  if test -f "$with_ltdl_include/ltdl.h"; then :
971  else
972    AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
973  fi
974else
975  with_ltdl_include=no
976fi
977
978AC_ARG_WITH([ltdl_lib],
979    [AS_HELP_STRING([--with-ltdl-lib=DIR],
980                    [use the libltdl.la installed in DIR])])
981
982if test -n "$with_ltdl_lib"; then
983  if test -f "$with_ltdl_lib/libltdl.la"; then :
984  else
985    AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
986  fi
987else
988  with_ltdl_lib=no
989fi
990
991case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
992  ,yes,no,no,)
993	m4_case(m4_default(_LTDL_TYPE, [convenience]),
994	    [convenience], [_LTDL_CONVENIENCE],
995	    [installable], [_LTDL_INSTALLABLE],
996	  [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
997	;;
998  ,no,no,no,)
999	# If the included ltdl is not to be used, then use the
1000	# preinstalled libltdl we found.
1001	AC_DEFINE([HAVE_LTDL], [1],
1002	  [Define this if a modern libltdl is already installed])
1003	LIBLTDL=-lltdl
1004	LTDLDEPS=
1005	LTDLINCL=
1006	;;
1007  ,no*,no,*)
1008	AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
1009	;;
1010  *)	with_included_ltdl=no
1011	LIBLTDL="-L$with_ltdl_lib -lltdl"
1012	LTDLDEPS=
1013	LTDLINCL="-I$with_ltdl_include"
1014	;;
1015esac
1016INCLTDL="$LTDLINCL"
1017
1018# Report our decision...
1019AC_MSG_CHECKING([where to find libltdl headers])
1020AC_MSG_RESULT([$LTDLINCL])
1021AC_MSG_CHECKING([where to find libltdl library])
1022AC_MSG_RESULT([$LIBLTDL])
1023
1024_LTDL_SETUP
1025
1026dnl restore autoconf definition.
1027m4_popdef([AC_LIBOBJ])
1028m4_popdef([AC_LIBSOURCES])
1029
1030AC_CONFIG_COMMANDS_PRE([
1031    _ltdl_libobjs=
1032    _ltdl_ltlibobjs=
1033    if test -n "$_LT_LIBOBJS"; then
1034      # Remove the extension.
1035      _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1036      for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
1037        _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
1038        _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
1039      done
1040    fi
1041    AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
1042    AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
1043])
1044
1045# Only expand once:
1046m4_define([LTDL_INIT])
1047])
1048m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
1049m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
1050You should run autoupdate.])dnl
1051LTDL_INIT($@)])
1052m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
1053m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
1054You should run autoupdate.])dnl
1055LTDL_INIT($@)])
1056m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
1057m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
1058You should run autoupdate.])dnl
1059LTDL_INIT($@)])
1060m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
1061AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
1062AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
1063AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
1064AC_REQUIRE([LT_LIB_DLLOAD])dnl
1065AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1066AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
1067AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
1068AC_REQUIRE([gl_FUNC_ARGZ])dnl
1069
1070m4_require([_LT_CHECK_OBJDIR])dnl
1071m4_require([_LT_HEADER_DLFCN])dnl
1072m4_require([_LT_CHECK_DLPREOPEN])dnl
1073m4_require([_LT_DECL_SED])dnl
1074
1075dnl Don't require this, or it will be expanded earlier than the code
1076dnl that sets the variables it relies on:
1077_LT_ENABLE_INSTALL
1078
1079dnl _LTDL_MODE specific code must be called at least once:
1080_LTDL_MODE_DISPATCH
1081
1082# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
1083# the user used.  This is so that ltdl.h can pick up the parent projects
1084# config.h file, The first file in AC_CONFIG_HEADERS must contain the
1085# definitions required by ltdl.c.
1086# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1087AC_CONFIG_COMMANDS_PRE([dnl
1088m4_pattern_allow([^LT_CONFIG_H$])dnl
1089m4_ifset([AH_HEADER],
1090    [LT_CONFIG_H=AH_HEADER],
1091    [m4_ifset([AC_LIST_HEADERS],
1092	    [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[      ]]*,,;s,[[ :]].*$,,'`],
1093	[])])])
1094AC_SUBST([LT_CONFIG_H])
1095
1096AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
1097	[], [], [AC_INCLUDES_DEFAULT])
1098
1099AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
1100AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
1101
1102m4_pattern_allow([LT_LIBEXT])dnl
1103AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
1104
1105name=
1106eval "lt_libprefix=\"$libname_spec\""
1107m4_pattern_allow([LT_LIBPREFIX])dnl
1108AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
1109
1110name=ltdl
1111eval "LTDLOPEN=\"$libname_spec\""
1112AC_SUBST([LTDLOPEN])
1113])
1114m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1115AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
1116  [lt_cv_sys_dlopen_deplibs],
1117  [# PORTME does your system automatically load deplibs for dlopen?
1118  # or its logical equivalent (e.g. shl_load for HP-UX < 11)
1119  # For now, we just catch OSes we know something about -- in the
1120  # future, we'll try test this programmatically.
1121  lt_cv_sys_dlopen_deplibs=unknown
1122  case $host_os in
1123  aix3*|aix4.1.*|aix4.2.*)
1124    # Unknown whether this is true for these versions of AIX, but
1125    # we want this `case' here to explicitly catch those versions.
1126    lt_cv_sys_dlopen_deplibs=unknown
1127    ;;
1128  aix[[4-9]]*)
1129    lt_cv_sys_dlopen_deplibs=yes
1130    ;;
1131  amigaos*)
1132    case $host_cpu in
1133    powerpc)
1134      lt_cv_sys_dlopen_deplibs=no
1135      ;;
1136    esac
1137    ;;
1138  darwin*)
1139    # Assuming the user has installed a libdl from somewhere, this is true
1140    # If you are looking for one http://www.opendarwin.org/projects/dlcompat
1141    lt_cv_sys_dlopen_deplibs=yes
1142    ;;
1143  freebsd* | dragonfly*)
1144    lt_cv_sys_dlopen_deplibs=yes
1145    ;;
1146  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
1147    # GNU and its variants, using gnu ld.so (Glibc)
1148    lt_cv_sys_dlopen_deplibs=yes
1149    ;;
1150  hpux10*|hpux11*)
1151    lt_cv_sys_dlopen_deplibs=yes
1152    ;;
1153  interix*)
1154    lt_cv_sys_dlopen_deplibs=yes
1155    ;;
1156  irix[[12345]]*|irix6.[[01]]*)
1157    # Catch all versions of IRIX before 6.2, and indicate that we don't
1158    # know how it worked for any of those versions.
1159    lt_cv_sys_dlopen_deplibs=unknown
1160    ;;
1161  irix*)
1162    # The case above catches anything before 6.2, and it's known that
1163    # at 6.2 and later dlopen does load deplibs.
1164    lt_cv_sys_dlopen_deplibs=yes
1165    ;;
1166  netbsd* | netbsdelf*-gnu)
1167    lt_cv_sys_dlopen_deplibs=yes
1168    ;;
1169  openbsd*)
1170    lt_cv_sys_dlopen_deplibs=yes
1171    ;;
1172  osf[[1234]]*)
1173    # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
1174    # it did *not* use an RPATH in a shared library to find objects the
1175    # library depends on, so we explicitly say `no'.
1176    lt_cv_sys_dlopen_deplibs=no
1177    ;;
1178  osf5.0|osf5.0a|osf5.1)
1179    # dlopen *does* load deplibs and with the right loader patch applied
1180    # it even uses RPATH in a shared library to search for shared objects
1181    # that the library depends on, but there's no easy way to know if that
1182    # patch is installed.  Since this is the case, all we can really
1183    # say is unknown -- it depends on the patch being installed.  If
1184    # it is, this changes to `yes'.  Without it, it would be `no'.
1185    lt_cv_sys_dlopen_deplibs=unknown
1186    ;;
1187  osf*)
1188    # the two cases above should catch all versions of osf <= 5.1.  Read
1189    # the comments above for what we know about them.
1190    # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1191    # is used to find them so we can finally say `yes'.
1192    lt_cv_sys_dlopen_deplibs=yes
1193    ;;
1194  qnx*)
1195    lt_cv_sys_dlopen_deplibs=yes
1196    ;;
1197  solaris*)
1198    lt_cv_sys_dlopen_deplibs=yes
1199    ;;
1200  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1201    libltdl_cv_sys_dlopen_deplibs=yes
1202    ;;
1203  esac
1204  ])
1205if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1206 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
1207    [Define if the OS needs help to load dependent libraries for dlopen().])
1208fi
1209])
1210m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1211m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
1212You should run autoupdate.])dnl
1213m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
1214m4trace:/usr/share/aclocal/ltdl.m4:549: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1215AC_CACHE_CHECK([which extension is used for runtime loadable modules],
1216  [libltdl_cv_shlibext],
1217[
1218module=yes
1219eval libltdl_cv_shlibext=$shrext_cmds
1220module=no
1221eval libltdl_cv_shrext=$shrext_cmds
1222  ])
1223if test -n "$libltdl_cv_shlibext"; then
1224  m4_pattern_allow([LT_MODULE_EXT])dnl
1225  AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
1226    [Define to the extension used for runtime loadable modules, say, ".so".])
1227fi
1228if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1229  m4_pattern_allow([LT_SHARED_EXT])dnl
1230  AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
1231    [Define to the shared library suffix, say, ".dylib".])
1232fi
1233])
1234m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1235m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
1236You should run autoupdate.])dnl
1237m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
1238m4trace:/usr/share/aclocal/ltdl.m4:579: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1239AC_CACHE_CHECK([which variable specifies run-time module search path],
1240  [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
1241if test -n "$lt_cv_module_path_var"; then
1242  m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
1243  AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
1244    [Define to the name of the environment variable that determines the run-time module search path.])
1245fi
1246])
1247m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1248m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
1249You should run autoupdate.])dnl
1250m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
1251m4trace:/usr/share/aclocal/ltdl.m4:598: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
1252AC_CACHE_CHECK([for the default library search path],
1253  [lt_cv_sys_dlsearch_path],
1254  [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
1255if test -n "$lt_cv_sys_dlsearch_path"; then
1256  sys_dlsearch_path=
1257  for dir in $lt_cv_sys_dlsearch_path; do
1258    if test -z "$sys_dlsearch_path"; then
1259      sys_dlsearch_path="$dir"
1260    else
1261      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
1262    fi
1263  done
1264  m4_pattern_allow([LT_DLSEARCH_PATH])dnl
1265  AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
1266    [Define to the system default library search path.])
1267fi
1268])
1269m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1270m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
1271You should run autoupdate.])dnl
1272m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
1273m4trace:/usr/share/aclocal/ltdl.m4:645: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
1274LT_DLLOADERS=
1275AC_SUBST([LT_DLLOADERS])
1276
1277AC_LANG_PUSH([C])
1278
1279LIBADD_DLOPEN=
1280AC_SEARCH_LIBS([dlopen], [dl],
1281	[AC_DEFINE([HAVE_LIBDL], [1],
1282		   [Define if you have the libdl library or equivalent.])
1283	if test "$ac_cv_search_dlopen" != "none required" ; then
1284	  LIBADD_DLOPEN="-ldl"
1285	fi
1286	libltdl_cv_lib_dl_dlopen="yes"
1287	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1288    [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
1289#  include <dlfcn.h>
1290#endif
1291    ]], [[dlopen(0, 0);]])],
1292	    [AC_DEFINE([HAVE_LIBDL], [1],
1293		       [Define if you have the libdl library or equivalent.])
1294	    libltdl_cv_func_dlopen="yes"
1295	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
1296	[AC_CHECK_LIB([svld], [dlopen],
1297		[AC_DEFINE([HAVE_LIBDL], [1],
1298			 [Define if you have the libdl library or equivalent.])
1299	        LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
1300		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
1301if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
1302then
1303  lt_save_LIBS="$LIBS"
1304  LIBS="$LIBS $LIBADD_DLOPEN"
1305  AC_CHECK_FUNCS([dlerror])
1306  LIBS="$lt_save_LIBS"
1307fi
1308AC_SUBST([LIBADD_DLOPEN])
1309
1310LIBADD_SHL_LOAD=
1311AC_CHECK_FUNC([shl_load],
1312	[AC_DEFINE([HAVE_SHL_LOAD], [1],
1313		   [Define if you have the shl_load function.])
1314	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
1315    [AC_CHECK_LIB([dld], [shl_load],
1316	    [AC_DEFINE([HAVE_SHL_LOAD], [1],
1317		       [Define if you have the shl_load function.])
1318	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1319	    LIBADD_SHL_LOAD="-ldld"])])
1320AC_SUBST([LIBADD_SHL_LOAD])
1321
1322case $host_os in
1323darwin[[1567]].*)
1324# We only want this for pre-Mac OS X 10.4.
1325  AC_CHECK_FUNC([_dyld_func_lookup],
1326	[AC_DEFINE([HAVE_DYLD], [1],
1327		   [Define if you have the _dyld_func_lookup function.])
1328	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
1329  ;;
1330beos*)
1331  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
1332  ;;
1333cygwin* | mingw* | os2* | pw32*)
1334  AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
1335  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
1336  ;;
1337esac
1338
1339AC_CHECK_LIB([dld], [dld_link],
1340	[AC_DEFINE([HAVE_DLD], [1],
1341		   [Define if you have the GNU dld library.])
1342		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
1343AC_SUBST([LIBADD_DLD_LINK])
1344
1345m4_pattern_allow([^LT_DLPREOPEN$])
1346LT_DLPREOPEN=
1347if test -n "$LT_DLLOADERS"
1348then
1349  for lt_loader in $LT_DLLOADERS; do
1350    LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
1351  done
1352  AC_DEFINE([HAVE_LIBDLLOADER], [1],
1353            [Define if libdlloader will be built on this platform])
1354fi
1355AC_SUBST([LT_DLPREOPEN])
1356
1357dnl This isn't used anymore, but set it for backwards compatibility
1358LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
1359AC_SUBST([LIBADD_DL])
1360
1361AC_LANG_POP
1362])
1363m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1364m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
1365You should run autoupdate.])dnl
1366m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
1367m4trace:/usr/share/aclocal/ltdl.m4:746: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
1368AC_CACHE_CHECK([for _ prefix in compiled symbols],
1369  [lt_cv_sys_symbol_underscore],
1370  [lt_cv_sys_symbol_underscore=no
1371  cat > conftest.$ac_ext <<_LT_EOF
1372void nm_test_func(){}
1373int main(){nm_test_func;return 0;}
1374_LT_EOF
1375  if AC_TRY_EVAL(ac_compile); then
1376    # Now try to grab the symbols.
1377    ac_nlist=conftest.nm
1378    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
1379      # See whether the symbols have a leading underscore.
1380      if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
1381        lt_cv_sys_symbol_underscore=yes
1382      else
1383        if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
1384	  :
1385        else
1386	  echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
1387        fi
1388      fi
1389    else
1390      echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
1391    fi
1392  else
1393    echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
1394    cat conftest.c >&AS_MESSAGE_LOG_FD
1395  fi
1396  rm -rf conftest*
1397  ])
1398  sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1399  AC_SUBST([sys_symbol_underscore])
1400])
1401m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1402m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
1403You should run autoupdate.])dnl
1404m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
1405m4trace:/usr/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
1406if test x"$lt_cv_sys_symbol_underscore" = xyes; then
1407  if test x"$libltdl_cv_func_dlopen" = xyes ||
1408     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1409	AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
1410	  [libltdl_cv_need_uscore],
1411	  [libltdl_cv_need_uscore=unknown
1412          save_LIBS="$LIBS"
1413          LIBS="$LIBS $LIBADD_DLOPEN"
1414	  _LT_TRY_DLOPEN_SELF(
1415	    [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
1416	    [],				 [libltdl_cv_need_uscore=cross])
1417	  LIBS="$save_LIBS"
1418	])
1419  fi
1420fi
1421
1422if test x"$libltdl_cv_need_uscore" = xyes; then
1423  AC_DEFINE([NEED_USCORE], [1],
1424    [Define if dlsym() requires a leading underscore in symbol names.])
1425fi
1426])
1427m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1428m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
1429You should run autoupdate.])dnl
1430m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
1431m4trace:/usr/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1432m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1433AC_DIAGNOSE([obsolete],
1434[$0: Remove this warning and the call to _LT_SET_OPTION when you
1435put the `dlopen' option into LT_INIT's first parameter.])
1436])
1437m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1438You should run autoupdate.])dnl
1439_LT_SET_OPTION([LT_INIT], [dlopen])
1440AC_DIAGNOSE([obsolete],
1441[$0: Remove this warning and the call to _LT_SET_OPTION when you
1442put the `dlopen' option into LT_INIT's first parameter.])
1443])
1444m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1445_LT_SET_OPTION([LT_INIT], [win32-dll])
1446AC_DIAGNOSE([obsolete],
1447[$0: Remove this warning and the call to _LT_SET_OPTION when you
1448put the `win32-dll' option into LT_INIT's first parameter.])
1449])
1450m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1451You should run autoupdate.])dnl
1452AC_REQUIRE([AC_CANONICAL_HOST])dnl
1453_LT_SET_OPTION([LT_INIT], [win32-dll])
1454AC_DIAGNOSE([obsolete],
1455[$0: Remove this warning and the call to _LT_SET_OPTION when you
1456put the `win32-dll' option into LT_INIT's first parameter.])
1457])
1458m4trace:/usr/share/aclocal/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1459])
1460m4trace:/usr/share/aclocal/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1461])
1462m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1463m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1464You should run autoupdate.])dnl
1465AC_ENABLE_SHARED($@)])
1466m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1467m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1468You should run autoupdate.])dnl
1469AC_DISABLE_SHARED($@)])
1470m4trace:/usr/share/aclocal/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1471])
1472m4trace:/usr/share/aclocal/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1473])
1474m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1475m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1476You should run autoupdate.])dnl
1477AC_ENABLE_STATIC($@)])
1478m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1479m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1480You should run autoupdate.])dnl
1481AC_DISABLE_STATIC($@)])
1482m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1483AC_DIAGNOSE([obsolete],
1484[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1485the `fast-install' option into LT_INIT's first parameter.])
1486])
1487m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1488You should run autoupdate.])dnl
1489_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1490AC_DIAGNOSE([obsolete],
1491[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1492the `fast-install' option into LT_INIT's first parameter.])
1493])
1494m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1495AC_DIAGNOSE([obsolete],
1496[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1497the `disable-fast-install' option into LT_INIT's first parameter.])
1498])
1499m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1500You should run autoupdate.])dnl
1501_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1502AC_DIAGNOSE([obsolete],
1503[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1504the `disable-fast-install' option into LT_INIT's first parameter.])
1505])
1506m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1507AC_DIAGNOSE([obsolete],
1508[$0: Remove this warning and the call to _LT_SET_OPTION when you
1509put the `pic-only' option into LT_INIT's first parameter.])
1510])
1511m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1512You should run autoupdate.])dnl
1513_LT_SET_OPTION([LT_INIT], [pic-only])
1514AC_DIAGNOSE([obsolete],
1515[$0: Remove this warning and the call to _LT_SET_OPTION when you
1516put the `pic-only' option into LT_INIT's first parameter.])
1517])
1518m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1519m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2'
1520macro_revision='1.3337'
1521_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1522_LT_DECL(, macro_revision, 0)
1523])
1524m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1525m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1526m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1527m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1528m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1529m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1530m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1531m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1532m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1533m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1534m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1535m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1536m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1537m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1538m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1539m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1540m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1541m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1542m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1543m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1544m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1545m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1546m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1547m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1548m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1549m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1550m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1551m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1552m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1553m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1554m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1555m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1556m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1557m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1558m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1559m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1560m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1561m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1562m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1563m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1564m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1565m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1566m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1567m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1568m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1569m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1570m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1571m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
1572m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
1573m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
1574m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
1575m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1576m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
1577m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
1578AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
1579AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
1580AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
1581
1582if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1583	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1584fi
1585if test -n "$PKG_CONFIG"; then
1586	_pkg_min_version=m4_default([$1], [0.9.0])
1587	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1588	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1589		AC_MSG_RESULT([yes])
1590	else
1591		AC_MSG_RESULT([no])
1592		PKG_CONFIG=""
1593	fi
1594fi[]dnl
1595])
1596m4trace:/usr/share/aclocal/pkg.m4:60: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1597if test -n "$PKG_CONFIG" && \
1598    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1599  m4_default([$2], [:])
1600m4_ifvaln([$3], [else
1601  $3])dnl
1602fi])
1603m4trace:/usr/share/aclocal/pkg.m4:86: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1604if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1605        _pkg_short_errors_supported=yes
1606else
1607        _pkg_short_errors_supported=no
1608fi[]dnl
1609])
1610m4trace:/usr/share/aclocal/pkg.m4:106: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1611AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1612AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1613
1614pkg_failed=no
1615AC_MSG_CHECKING([for $1])
1616
1617_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1618_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1619
1620m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1621and $1[]_LIBS to avoid the need to call pkg-config.
1622See the pkg-config man page for more details.])
1623
1624if test $pkg_failed = yes; then
1625   	AC_MSG_RESULT([no])
1626        _PKG_SHORT_ERRORS_SUPPORTED
1627        if test $_pkg_short_errors_supported = yes; then
1628	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
1629        else
1630	        $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
1631        fi
1632	# Put the nasty error message in config.log where it belongs
1633	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1634
1635	m4_default([$4], [AC_MSG_ERROR(
1636[Package requirements ($2) were not met:
1637
1638$$1_PKG_ERRORS
1639
1640Consider adjusting the PKG_CONFIG_PATH environment variable if you
1641installed software in a non-standard prefix.
1642
1643_PKG_TEXT])[]dnl
1644        ])
1645elif test $pkg_failed = untried; then
1646     	AC_MSG_RESULT([no])
1647	m4_default([$4], [AC_MSG_FAILURE(
1648[The pkg-config script could not be found or is too old.  Make sure it
1649is in your PATH or set the PKG_CONFIG environment variable to the full
1650path to pkg-config.
1651
1652_PKG_TEXT
1653
1654To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
1655        ])
1656else
1657	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1658	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1659        AC_MSG_RESULT([yes])
1660	$3
1661fi[]dnl
1662])
1663m4trace:/usr/share/aclocal/xorg-macros.m4:58: -1- AC_DEFUN([XORG_PROG_RAWCPP], [
1664AC_REQUIRE([AC_PROG_CPP])
1665AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}],
1666   [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
1667
1668# Check for flag to avoid builtin definitions - assumes unix is predefined,
1669# which is not the best choice for supporting other OS'es, but covers most
1670# of the ones we need for now.
1671AC_MSG_CHECKING([if $RAWCPP requires -undef])
1672AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp redefine unix ?]])])
1673if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
1674	AC_MSG_RESULT([no])
1675else
1676	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
1677		RAWCPPFLAGS=-undef
1678		AC_MSG_RESULT([yes])
1679	# under Cygwin unix is still defined even with -undef
1680	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
1681		RAWCPPFLAGS="-undef -ansi"
1682		AC_MSG_RESULT([yes, with -ansi])
1683	else
1684		AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef.  I don't know what to do.])
1685	fi
1686fi
1687rm -f conftest.$ac_ext
1688
1689AC_MSG_CHECKING([if $RAWCPP requires -traditional])
1690AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp preserve   "whitespace"?]])])
1691if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
1692	AC_MSG_RESULT([no])
1693else
1694	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
1695		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
1696		AC_MSG_RESULT([yes])
1697	else
1698		AC_MSG_ERROR([${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do.])
1699	fi
1700fi
1701rm -f conftest.$ac_ext
1702AC_SUBST(RAWCPPFLAGS)
1703])
1704m4trace:/usr/share/aclocal/xorg-macros.m4:111: -1- AC_DEFUN([XORG_MANPAGE_SECTIONS], [
1705AC_REQUIRE([AC_CANONICAL_HOST])
1706AC_REQUIRE([AC_PROG_SED])
1707
1708if test x$APP_MAN_SUFFIX = x    ; then
1709    APP_MAN_SUFFIX=1
1710fi
1711if test x$APP_MAN_DIR = x    ; then
1712    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
1713fi
1714
1715if test x$LIB_MAN_SUFFIX = x    ; then
1716    LIB_MAN_SUFFIX=3
1717fi
1718if test x$LIB_MAN_DIR = x    ; then
1719    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
1720fi
1721
1722if test x$FILE_MAN_SUFFIX = x    ; then
1723    case $host_os in
1724	solaris*)	FILE_MAN_SUFFIX=4  ;;
1725	*)		FILE_MAN_SUFFIX=5  ;;
1726    esac
1727fi
1728if test x$FILE_MAN_DIR = x    ; then
1729    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
1730fi
1731
1732if test x$MISC_MAN_SUFFIX = x    ; then
1733    case $host_os in
1734	solaris*)	MISC_MAN_SUFFIX=5  ;;
1735	*)		MISC_MAN_SUFFIX=7  ;;
1736    esac
1737fi
1738if test x$MISC_MAN_DIR = x    ; then
1739    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
1740fi
1741
1742if test x$DRIVER_MAN_SUFFIX = x    ; then
1743    case $host_os in
1744	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
1745	*)		DRIVER_MAN_SUFFIX=4  ;;
1746    esac
1747fi
1748if test x$DRIVER_MAN_DIR = x    ; then
1749    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
1750fi
1751
1752if test x$ADMIN_MAN_SUFFIX = x    ; then
1753    case $host_os in
1754	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
1755	*)		ADMIN_MAN_SUFFIX=8  ;;
1756    esac
1757fi
1758if test x$ADMIN_MAN_DIR = x    ; then
1759    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
1760fi
1761
1762
1763AC_SUBST([APP_MAN_SUFFIX])
1764AC_SUBST([LIB_MAN_SUFFIX])
1765AC_SUBST([FILE_MAN_SUFFIX])
1766AC_SUBST([MISC_MAN_SUFFIX])
1767AC_SUBST([DRIVER_MAN_SUFFIX])
1768AC_SUBST([ADMIN_MAN_SUFFIX])
1769AC_SUBST([APP_MAN_DIR])
1770AC_SUBST([LIB_MAN_DIR])
1771AC_SUBST([FILE_MAN_DIR])
1772AC_SUBST([MISC_MAN_DIR])
1773AC_SUBST([DRIVER_MAN_DIR])
1774AC_SUBST([ADMIN_MAN_DIR])
1775
1776XORG_MAN_PAGE="X Version 11"
1777AC_SUBST([XORG_MAN_PAGE])
1778MAN_SUBSTS="\
1779	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
1780	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
1781	-e 's|__xservername__|Xorg|g' \
1782	-e 's|__xconfigfile__|xorg.conf|g' \
1783	-e 's|__projectroot__|\$(prefix)|g' \
1784	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
1785	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
1786	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
1787	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
1788	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
1789	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
1790	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
1791AC_SUBST([MAN_SUBSTS])
1792
1793])
1794m4trace:/usr/share/aclocal/xorg-macros.m4:208: -1- AC_DEFUN([XORG_CHECK_SGML_DOCTOOLS], [
1795AC_MSG_CHECKING([for X.Org SGML entities m4_ifval([$1],[>= $1])])
1796XORG_SGML_PATH=
1797PKG_CHECK_EXISTS([xorg-sgml-doctools m4_ifval([$1],[>= $1])],
1798    [XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`],
1799    [m4_ifval([$1],[:],
1800        [if test x"$cross_compiling" != x"yes" ; then
1801            AC_CHECK_FILE([$prefix/share/sgml/X11/defs.ent],
1802                          [XORG_SGML_PATH=$prefix/share/sgml])
1803         fi])
1804    ])
1805
1806# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
1807# the path and the name of the doc stylesheet
1808if test "x$XORG_SGML_PATH" != "x" ; then
1809   AC_MSG_RESULT([$XORG_SGML_PATH])
1810   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
1811   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
1812else
1813   AC_MSG_RESULT([no])
1814fi
1815
1816AC_SUBST(XORG_SGML_PATH)
1817AC_SUBST(STYLESHEET_SRCDIR)
1818AC_SUBST(XSL_STYLESHEET)
1819AM_CONDITIONAL([HAVE_STYLESHEETS], [test "x$XSL_STYLESHEET" != "x"])
1820])
1821m4trace:/usr/share/aclocal/xorg-macros.m4:244: -1- AC_DEFUN([XORG_CHECK_LINUXDOC], [
1822AC_REQUIRE([XORG_CHECK_SGML_DOCTOOLS])
1823AC_REQUIRE([XORG_WITH_PS2PDF])
1824
1825AC_PATH_PROG(LINUXDOC, linuxdoc)
1826
1827AC_MSG_CHECKING([whether to build documentation])
1828
1829if test x$XORG_SGML_PATH != x && test x$LINUXDOC != x ; then
1830   BUILDDOC=yes
1831else
1832   BUILDDOC=no
1833fi
1834
1835AM_CONDITIONAL(BUILD_LINUXDOC, [test x$BUILDDOC = xyes])
1836
1837AC_MSG_RESULT([$BUILDDOC])
1838
1839AC_MSG_CHECKING([whether to build pdf documentation])
1840
1841if test x$have_ps2pdf != xno && test x$BUILD_PDFDOC != xno; then
1842   BUILDPDFDOC=yes
1843else
1844   BUILDPDFDOC=no
1845fi
1846
1847AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes])
1848
1849AC_MSG_RESULT([$BUILDPDFDOC])
1850
1851MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt -f"
1852MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
1853MAKE_PDF="$PS2PDF"
1854MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
1855
1856AC_SUBST(MAKE_TEXT)
1857AC_SUBST(MAKE_PS)
1858AC_SUBST(MAKE_PDF)
1859AC_SUBST(MAKE_HTML)
1860])
1861m4trace:/usr/share/aclocal/xorg-macros.m4:293: -1- AC_DEFUN([XORG_CHECK_DOCBOOK], [
1862AC_REQUIRE([XORG_CHECK_SGML_DOCTOOLS])
1863
1864BUILDTXTDOC=no
1865BUILDPDFDOC=no
1866BUILDPSDOC=no
1867BUILDHTMLDOC=no
1868
1869AC_PATH_PROG(DOCBOOKPS, docbook2ps)
1870AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)
1871AC_PATH_PROG(DOCBOOKHTML, docbook2html)
1872AC_PATH_PROG(DOCBOOKTXT, docbook2txt)
1873
1874AC_MSG_CHECKING([whether to build text documentation])
1875if test x$XORG_SGML_PATH != x && test x$DOCBOOKTXT != x &&
1876   test x$BUILD_TXTDOC != xno; then
1877	BUILDTXTDOC=yes
1878fi
1879AM_CONDITIONAL(BUILD_TXTDOC, [test x$BUILDTXTDOC = xyes])
1880AC_MSG_RESULT([$BUILDTXTDOC])
1881
1882AC_MSG_CHECKING([whether to build PDF documentation])
1883if test x$XORG_SGML_PATH != x && test x$DOCBOOKPDF != x &&
1884   test x$BUILD_PDFDOC != xno; then
1885	BUILDPDFDOC=yes
1886fi
1887AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes])
1888AC_MSG_RESULT([$BUILDPDFDOC])
1889
1890AC_MSG_CHECKING([whether to build PostScript documentation])
1891if test x$XORG_SGML_PATH != x && test x$DOCBOOKPS != x &&
1892   test x$BUILD_PSDOC != xno; then
1893	BUILDPSDOC=yes
1894fi
1895AM_CONDITIONAL(BUILD_PSDOC, [test x$BUILDPSDOC = xyes])
1896AC_MSG_RESULT([$BUILDPSDOC])
1897
1898AC_MSG_CHECKING([whether to build HTML documentation])
1899if test x$XORG_SGML_PATH != x && test x$DOCBOOKHTML != x &&
1900   test x$BUILD_HTMLDOC != xno; then
1901	BUILDHTMLDOC=yes
1902fi
1903AM_CONDITIONAL(BUILD_HTMLDOC, [test x$BUILDHTMLDOC = xyes])
1904AC_MSG_RESULT([$BUILDHTMLDOC])
1905
1906MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKTXT"
1907MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKPS"
1908MAKE_PDF="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKPDF"
1909MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKHTML"
1910
1911AC_SUBST(MAKE_TEXT)
1912AC_SUBST(MAKE_PS)
1913AC_SUBST(MAKE_PDF)
1914AC_SUBST(MAKE_HTML)
1915])
1916m4trace:/usr/share/aclocal/xorg-macros.m4:374: -1- AC_DEFUN([XORG_WITH_XMLTO], [
1917AC_ARG_VAR([XMLTO], [Path to xmlto command])
1918m4_define([_defopt], m4_default([$2], [auto]))
1919AC_ARG_WITH(xmlto,
1920	AS_HELP_STRING([--with-xmlto],
1921	   [Use xmlto to regenerate documentation (default: ]_defopt[)]),
1922	   [use_xmlto=$withval], [use_xmlto=]_defopt)
1923m4_undefine([_defopt])
1924
1925if test "x$use_xmlto" = x"auto"; then
1926   AC_PATH_PROG([XMLTO], [xmlto])
1927   if test "x$XMLTO" = "x"; then
1928        AC_MSG_WARN([xmlto not found - documentation targets will be skipped])
1929	have_xmlto=no
1930   else
1931        have_xmlto=yes
1932   fi
1933elif test "x$use_xmlto" = x"yes" ; then
1934   AC_PATH_PROG([XMLTO], [xmlto])
1935   if test "x$XMLTO" = "x"; then
1936        AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH])
1937   fi
1938   have_xmlto=yes
1939elif test "x$use_xmlto" = x"no" ; then
1940   if test "x$XMLTO" != "x"; then
1941      AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified])
1942   fi
1943   have_xmlto=no
1944else
1945   AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no'])
1946fi
1947
1948# Test for a minimum version of xmlto, if provided.
1949m4_ifval([$1],
1950[if test "$have_xmlto" = yes; then
1951    # scrape the xmlto version
1952    AC_MSG_CHECKING([the xmlto version])
1953    xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
1954    AC_MSG_RESULT([$xmlto_version])
1955    AS_VERSION_COMPARE([$xmlto_version], [$1],
1956        [if test "x$use_xmlto" = xauto; then
1957            AC_MSG_WARN([xmlto version $xmlto_version found, but $1 needed])
1958            have_xmlto=no
1959        else
1960            AC_MSG_ERROR([xmlto version $xmlto_version found, but $1 needed])
1961        fi])
1962fi])
1963
1964# Test for the ability of xmlto to generate a text target
1965have_xmlto_text=no
1966cat > conftest.xml << "EOF"
1967EOF
1968AS_IF([test "$have_xmlto" = yes],
1969      [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1],
1970             [have_xmlto_text=yes],
1971             [AC_MSG_WARN([xmlto cannot generate text format, this format skipped])])])
1972rm -f conftest.xml
1973AM_CONDITIONAL([HAVE_XMLTO_TEXT], [test $have_xmlto_text = yes])
1974AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes])
1975])
1976m4trace:/usr/share/aclocal/xorg-macros.m4:458: -1- AC_DEFUN([XORG_WITH_XSLTPROC], [
1977AC_ARG_VAR([XSLTPROC], [Path to xsltproc command])
1978# Preserves the interface, should it be implemented later
1979m4_ifval([$1], [m4_warn([syntax], [Checking for xsltproc MIN-VERSION is not implemented])])
1980m4_define([_defopt], m4_default([$2], [auto]))
1981AC_ARG_WITH(xsltproc,
1982	AS_HELP_STRING([--with-xsltproc],
1983	   [Use xsltproc for the transformation of XML documents (default: ]_defopt[)]),
1984	   [use_xsltproc=$withval], [use_xsltproc=]_defopt)
1985m4_undefine([_defopt])
1986
1987if test "x$use_xsltproc" = x"auto"; then
1988   AC_PATH_PROG([XSLTPROC], [xsltproc])
1989   if test "x$XSLTPROC" = "x"; then
1990        AC_MSG_WARN([xsltproc not found - cannot transform XML documents])
1991	have_xsltproc=no
1992   else
1993        have_xsltproc=yes
1994   fi
1995elif test "x$use_xsltproc" = x"yes" ; then
1996   AC_PATH_PROG([XSLTPROC], [xsltproc])
1997   if test "x$XSLTPROC" = "x"; then
1998        AC_MSG_ERROR([--with-xsltproc=yes specified but xsltproc not found in PATH])
1999   fi
2000   have_xsltproc=yes
2001elif test "x$use_xsltproc" = x"no" ; then
2002   if test "x$XSLTPROC" != "x"; then
2003      AC_MSG_WARN([ignoring XSLTPROC environment variable since --with-xsltproc=no was specified])
2004   fi
2005   have_xsltproc=no
2006else
2007   AC_MSG_ERROR([--with-xsltproc expects 'yes' or 'no'])
2008fi
2009
2010AM_CONDITIONAL([HAVE_XSLTPROC], [test "$have_xsltproc" = yes])
2011])
2012m4trace:/usr/share/aclocal/xorg-macros.m4:515: -1- AC_DEFUN([XORG_WITH_PERL], [
2013AC_ARG_VAR([PERL], [Path to perl command])
2014# Preserves the interface, should it be implemented later
2015m4_ifval([$1], [m4_warn([syntax], [Checking for perl MIN-VERSION is not implemented])])
2016m4_define([_defopt], m4_default([$2], [auto]))
2017AC_ARG_WITH(perl,
2018	AS_HELP_STRING([--with-perl],
2019	   [Use perl for extracting information from files (default: ]_defopt[)]),
2020	   [use_perl=$withval], [use_perl=]_defopt)
2021m4_undefine([_defopt])
2022
2023if test "x$use_perl" = x"auto"; then
2024   AC_PATH_PROG([PERL], [perl])
2025   if test "x$PERL" = "x"; then
2026        AC_MSG_WARN([perl not found - cannot extract information and report])
2027	have_perl=no
2028   else
2029        have_perl=yes
2030   fi
2031elif test "x$use_perl" = x"yes" ; then
2032   AC_PATH_PROG([PERL], [perl])
2033   if test "x$PERL" = "x"; then
2034        AC_MSG_ERROR([--with-perl=yes specified but perl not found in PATH])
2035   fi
2036   have_perl=yes
2037elif test "x$use_perl" = x"no" ; then
2038   if test "x$PERL" != "x"; then
2039      AC_MSG_WARN([ignoring PERL environment variable since --with-perl=no was specified])
2040   fi
2041   have_perl=no
2042else
2043   AC_MSG_ERROR([--with-perl expects 'yes' or 'no'])
2044fi
2045
2046AM_CONDITIONAL([HAVE_PERL], [test "$have_perl" = yes])
2047])
2048m4trace:/usr/share/aclocal/xorg-macros.m4:573: -1- AC_DEFUN([XORG_WITH_ASCIIDOC], [
2049AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
2050m4_define([_defopt], m4_default([$2], [auto]))
2051AC_ARG_WITH(asciidoc,
2052	AS_HELP_STRING([--with-asciidoc],
2053	   [Use asciidoc to regenerate documentation (default: ]_defopt[)]),
2054	   [use_asciidoc=$withval], [use_asciidoc=]_defopt)
2055m4_undefine([_defopt])
2056
2057if test "x$use_asciidoc" = x"auto"; then
2058   AC_PATH_PROG([ASCIIDOC], [asciidoc])
2059   if test "x$ASCIIDOC" = "x"; then
2060        AC_MSG_WARN([asciidoc not found - documentation targets will be skipped])
2061	have_asciidoc=no
2062   else
2063        have_asciidoc=yes
2064   fi
2065elif test "x$use_asciidoc" = x"yes" ; then
2066   AC_PATH_PROG([ASCIIDOC], [asciidoc])
2067   if test "x$ASCIIDOC" = "x"; then
2068        AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH])
2069   fi
2070   have_asciidoc=yes
2071elif test "x$use_asciidoc" = x"no" ; then
2072   if test "x$ASCIIDOC" != "x"; then
2073      AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified])
2074   fi
2075   have_asciidoc=no
2076else
2077   AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no'])
2078fi
2079m4_ifval([$1],
2080[if test "$have_asciidoc" = yes; then
2081    # scrape the asciidoc version
2082    AC_MSG_CHECKING([the asciidoc version])
2083    asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2`
2084    AC_MSG_RESULT([$asciidoc_version])
2085    AS_VERSION_COMPARE([$asciidoc_version], [$1],
2086        [if test "x$use_asciidoc" = xauto; then
2087            AC_MSG_WARN([asciidoc version $asciidoc_version found, but $1 needed])
2088            have_asciidoc=no
2089        else
2090            AC_MSG_ERROR([asciidoc version $asciidoc_version found, but $1 needed])
2091        fi])
2092fi])
2093AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$have_asciidoc" = yes])
2094])
2095m4trace:/usr/share/aclocal/xorg-macros.m4:642: -1- AC_DEFUN([XORG_WITH_DOXYGEN], [
2096AC_ARG_VAR([DOXYGEN], [Path to doxygen command])
2097m4_define([_defopt], m4_default([$2], [auto]))
2098AC_ARG_WITH(doxygen,
2099	AS_HELP_STRING([--with-doxygen],
2100	   [Use doxygen to regenerate documentation (default: ]_defopt[)]),
2101	   [use_doxygen=$withval], [use_doxygen=]_defopt)
2102m4_undefine([_defopt])
2103
2104if test "x$use_doxygen" = x"auto"; then
2105   AC_PATH_PROG([DOXYGEN], [doxygen])
2106   if test "x$DOXYGEN" = "x"; then
2107        AC_MSG_WARN([doxygen not found - documentation targets will be skipped])
2108	have_doxygen=no
2109   else
2110        have_doxygen=yes
2111   fi
2112elif test "x$use_doxygen" = x"yes" ; then
2113   AC_PATH_PROG([DOXYGEN], [doxygen])
2114   if test "x$DOXYGEN" = "x"; then
2115        AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH])
2116   fi
2117   have_doxygen=yes
2118elif test "x$use_doxygen" = x"no" ; then
2119   if test "x$DOXYGEN" != "x"; then
2120      AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified])
2121   fi
2122   have_doxygen=no
2123else
2124   AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no'])
2125fi
2126m4_ifval([$1],
2127[if test "$have_doxygen" = yes; then
2128    # scrape the doxygen version
2129    AC_MSG_CHECKING([the doxygen version])
2130    doxygen_version=`$DOXYGEN --version 2>/dev/null`
2131    AC_MSG_RESULT([$doxygen_version])
2132    AS_VERSION_COMPARE([$doxygen_version], [$1],
2133        [if test "x$use_doxygen" = xauto; then
2134            AC_MSG_WARN([doxygen version $doxygen_version found, but $1 needed])
2135            have_doxygen=no
2136        else
2137            AC_MSG_ERROR([doxygen version $doxygen_version found, but $1 needed])
2138        fi])
2139fi])
2140AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes])
2141])
2142m4trace:/usr/share/aclocal/xorg-macros.m4:727: -1- AC_DEFUN([XORG_WITH_GROFF], [
2143AC_ARG_VAR([GROFF], [Path to groff command])
2144m4_define([_defopt], m4_default([$1], [auto]))
2145AC_ARG_WITH(groff,
2146	AS_HELP_STRING([--with-groff],
2147	   [Use groff to regenerate documentation (default: ]_defopt[)]),
2148	   [use_groff=$withval], [use_groff=]_defopt)
2149m4_undefine([_defopt])
2150
2151if test "x$use_groff" = x"auto"; then
2152   AC_PATH_PROG([GROFF], [groff])
2153   if test "x$GROFF" = "x"; then
2154        AC_MSG_WARN([groff not found - documentation targets will be skipped])
2155	have_groff=no
2156   else
2157        have_groff=yes
2158   fi
2159elif test "x$use_groff" = x"yes" ; then
2160   AC_PATH_PROG([GROFF], [groff])
2161   if test "x$GROFF" = "x"; then
2162        AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH])
2163   fi
2164   have_groff=yes
2165elif test "x$use_groff" = x"no" ; then
2166   if test "x$GROFF" != "x"; then
2167      AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified])
2168   fi
2169   have_groff=no
2170else
2171   AC_MSG_ERROR([--with-groff expects 'yes' or 'no'])
2172fi
2173
2174# We have groff, test for the presence of the macro packages
2175if test "x$have_groff" = x"yes"; then
2176    AC_MSG_CHECKING([for ${GROFF} -ms macros])
2177    if ${GROFF} -ms -I. /dev/null >/dev/null 2>&1 ; then
2178        groff_ms_works=yes
2179    else
2180        groff_ms_works=no
2181    fi
2182    AC_MSG_RESULT([$groff_ms_works])
2183    AC_MSG_CHECKING([for ${GROFF} -mm macros])
2184    if ${GROFF} -mm -I. /dev/null >/dev/null 2>&1 ; then
2185        groff_mm_works=yes
2186    else
2187        groff_mm_works=no
2188    fi
2189    AC_MSG_RESULT([$groff_mm_works])
2190fi
2191
2192# We have groff, test for HTML dependencies, one command per package
2193if test "x$have_groff" = x"yes"; then
2194   AC_PATH_PROGS(GS_PATH, [gs gswin32c])
2195   AC_PATH_PROG(PNMTOPNG_PATH, [pnmtopng])
2196   AC_PATH_PROG(PSSELECT_PATH, [psselect])
2197   if test "x$GS_PATH" != "x" -a "x$PNMTOPNG_PATH" != "x" -a "x$PSSELECT_PATH" != "x"; then
2198      have_groff_html=yes
2199   else
2200      have_groff_html=no
2201      AC_MSG_WARN([grohtml dependencies not found - HTML Documentation skipped. Refer to grohtml man pages])
2202   fi
2203fi
2204
2205# Set Automake conditionals for Makefiles
2206AM_CONDITIONAL([HAVE_GROFF], [test "$have_groff" = yes])
2207AM_CONDITIONAL([HAVE_GROFF_MS], [test "$groff_ms_works" = yes])
2208AM_CONDITIONAL([HAVE_GROFF_MM], [test "$groff_mm_works" = yes])
2209AM_CONDITIONAL([HAVE_GROFF_HTML], [test "$have_groff_html" = yes])
2210])
2211m4trace:/usr/share/aclocal/xorg-macros.m4:819: -1- AC_DEFUN([XORG_WITH_FOP], [
2212AC_ARG_VAR([FOP], [Path to fop command])
2213m4_define([_defopt], m4_default([$2], [auto]))
2214AC_ARG_WITH(fop,
2215	AS_HELP_STRING([--with-fop],
2216	   [Use fop to regenerate documentation (default: ]_defopt[)]),
2217	   [use_fop=$withval], [use_fop=]_defopt)
2218m4_undefine([_defopt])
2219
2220if test "x$use_fop" = x"auto"; then
2221   AC_PATH_PROG([FOP], [fop])
2222   if test "x$FOP" = "x"; then
2223        AC_MSG_WARN([fop not found - documentation targets will be skipped])
2224	have_fop=no
2225   else
2226        have_fop=yes
2227   fi
2228elif test "x$use_fop" = x"yes" ; then
2229   AC_PATH_PROG([FOP], [fop])
2230   if test "x$FOP" = "x"; then
2231        AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH])
2232   fi
2233   have_fop=yes
2234elif test "x$use_fop" = x"no" ; then
2235   if test "x$FOP" != "x"; then
2236      AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified])
2237   fi
2238   have_fop=no
2239else
2240   AC_MSG_ERROR([--with-fop expects 'yes' or 'no'])
2241fi
2242
2243# Test for a minimum version of fop, if provided.
2244m4_ifval([$1],
2245[if test "$have_fop" = yes; then
2246    # scrape the fop version
2247    AC_MSG_CHECKING([for fop minimum version])
2248    fop_version=`$FOP -version 2>/dev/null | cut -d' ' -f3`
2249    AC_MSG_RESULT([$fop_version])
2250    AS_VERSION_COMPARE([$fop_version], [$1],
2251        [if test "x$use_fop" = xauto; then
2252            AC_MSG_WARN([fop version $fop_version found, but $1 needed])
2253            have_fop=no
2254        else
2255            AC_MSG_ERROR([fop version $fop_version found, but $1 needed])
2256        fi])
2257fi])
2258AM_CONDITIONAL([HAVE_FOP], [test "$have_fop" = yes])
2259])
2260m4trace:/usr/share/aclocal/xorg-macros.m4:890: -1- AC_DEFUN([XORG_WITH_PS2PDF], [
2261AC_ARG_VAR([PS2PDF], [Path to ps2pdf command])
2262m4_define([_defopt], m4_default([$1], [auto]))
2263AC_ARG_WITH(ps2pdf,
2264	AS_HELP_STRING([--with-ps2pdf],
2265	   [Use ps2pdf to regenerate documentation (default: ]_defopt[)]),
2266	   [use_ps2pdf=$withval], [use_ps2pdf=]_defopt)
2267m4_undefine([_defopt])
2268
2269if test "x$use_ps2pdf" = x"auto"; then
2270   AC_PATH_PROG([PS2PDF], [ps2pdf])
2271   if test "x$PS2PDF" = "x"; then
2272        AC_MSG_WARN([ps2pdf not found - documentation targets will be skipped])
2273	have_ps2pdf=no
2274   else
2275        have_ps2pdf=yes
2276   fi
2277elif test "x$use_ps2pdf" = x"yes" ; then
2278   AC_PATH_PROG([PS2PDF], [ps2pdf])
2279   if test "x$PS2PDF" = "x"; then
2280        AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH])
2281   fi
2282   have_ps2pdf=yes
2283elif test "x$use_ps2pdf" = x"no" ; then
2284   if test "x$PS2PDF" != "x"; then
2285      AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified])
2286   fi
2287   have_ps2pdf=no
2288else
2289   AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no'])
2290fi
2291AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes])
2292])
2293m4trace:/usr/share/aclocal/xorg-macros.m4:947: -1- AC_DEFUN([XORG_ENABLE_DOCS], [
2294m4_define([docs_default], m4_default([$1], [yes]))
2295AC_ARG_ENABLE(docs,
2296	AS_HELP_STRING([--enable-docs],
2297	   [Enable building the documentation (default: ]docs_default[)]),
2298	   [build_docs=$enableval], [build_docs=]docs_default)
2299m4_undefine([docs_default])
2300AM_CONDITIONAL(ENABLE_DOCS, [test x$build_docs = xyes])
2301AC_MSG_CHECKING([whether to build documentation])
2302AC_MSG_RESULT([$build_docs])
2303])
2304m4trace:/usr/share/aclocal/xorg-macros.m4:980: -1- AC_DEFUN([XORG_ENABLE_DEVEL_DOCS], [
2305m4_define([devel_default], m4_default([$1], [yes]))
2306AC_ARG_ENABLE(devel-docs,
2307	AS_HELP_STRING([--enable-devel-docs],
2308	   [Enable building the developer documentation (default: ]devel_default[)]),
2309	   [build_devel_docs=$enableval], [build_devel_docs=]devel_default)
2310m4_undefine([devel_default])
2311AM_CONDITIONAL(ENABLE_DEVEL_DOCS, [test x$build_devel_docs = xyes])
2312AC_MSG_CHECKING([whether to build developer documentation])
2313AC_MSG_RESULT([$build_devel_docs])
2314])
2315m4trace:/usr/share/aclocal/xorg-macros.m4:1013: -1- AC_DEFUN([XORG_ENABLE_SPECS], [
2316m4_define([spec_default], m4_default([$1], [yes]))
2317AC_ARG_ENABLE(specs,
2318	AS_HELP_STRING([--enable-specs],
2319	   [Enable building the specs (default: ]spec_default[)]),
2320	   [build_specs=$enableval], [build_specs=]spec_default)
2321m4_undefine([spec_default])
2322AM_CONDITIONAL(ENABLE_SPECS, [test x$build_specs = xyes])
2323AC_MSG_CHECKING([whether to build functional specifications])
2324AC_MSG_RESULT([$build_specs])
2325])
2326m4trace:/usr/share/aclocal/xorg-macros.m4:1045: -1- AC_DEFUN([XORG_ENABLE_UNIT_TESTS], [
2327AC_BEFORE([$0], [XORG_WITH_GLIB])
2328AC_BEFORE([$0], [XORG_LD_WRAP])
2329AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS])
2330m4_define([_defopt], m4_default([$1], [auto]))
2331AC_ARG_ENABLE(unit-tests, AS_HELP_STRING([--enable-unit-tests],
2332	[Enable building unit test cases (default: ]_defopt[)]),
2333	[enable_unit_tests=$enableval], [enable_unit_tests=]_defopt)
2334m4_undefine([_defopt])
2335AM_CONDITIONAL(ENABLE_UNIT_TESTS, [test "x$enable_unit_tests" != xno])
2336AC_MSG_CHECKING([whether to build unit test cases])
2337AC_MSG_RESULT([$enable_unit_tests])
2338])
2339m4trace:/usr/share/aclocal/xorg-macros.m4:1078: -1- AC_DEFUN([XORG_ENABLE_INTEGRATION_TESTS], [
2340AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS])
2341m4_define([_defopt], m4_default([$1], [auto]))
2342AC_ARG_ENABLE(integration-tests, AS_HELP_STRING([--enable-integration-tests],
2343	[Enable building integration test cases (default: ]_defopt[)]),
2344	[enable_integration_tests=$enableval],
2345	[enable_integration_tests=]_defopt)
2346m4_undefine([_defopt])
2347AM_CONDITIONAL([ENABLE_INTEGRATION_TESTS],
2348	[test "x$enable_integration_tests" != xno])
2349AC_MSG_CHECKING([whether to build unit test cases])
2350AC_MSG_RESULT([$enable_integration_tests])
2351])
2352m4trace:/usr/share/aclocal/xorg-macros.m4:1112: -1- AC_DEFUN([XORG_WITH_GLIB], [
2353AC_REQUIRE([PKG_PROG_PKG_CONFIG])
2354m4_define([_defopt], m4_default([$2], [auto]))
2355AC_ARG_WITH(glib, AS_HELP_STRING([--with-glib],
2356	[Use GLib library for unit testing (default: ]_defopt[)]),
2357	[with_glib=$withval], [with_glib=]_defopt)
2358m4_undefine([_defopt])
2359
2360have_glib=no
2361# Do not probe GLib if user explicitly disabled unit testing
2362if test "x$enable_unit_tests" != x"no"; then
2363  # Do not probe GLib if user explicitly disabled it
2364  if test "x$with_glib" != x"no"; then
2365    m4_ifval(
2366      [$1],
2367      [PKG_CHECK_MODULES([GLIB], [glib-2.0 >= $1], [have_glib=yes], [have_glib=no])],
2368      [PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])]
2369    )
2370  fi
2371fi
2372
2373# Not having GLib when unit testing has been explicitly requested is an error
2374if test "x$enable_unit_tests" = x"yes"; then
2375  if test "x$have_glib" = x"no"; then
2376    AC_MSG_ERROR([--enable-unit-tests=yes specified but glib-2.0 not found])
2377  fi
2378fi
2379
2380# Having unit testing disabled when GLib has been explicitly requested is an error
2381if test "x$enable_unit_tests" = x"no"; then
2382  if test "x$with_glib" = x"yes"; then
2383    AC_MSG_ERROR([--enable-unit-tests=yes specified but glib-2.0 not found])
2384  fi
2385fi
2386
2387# Not having GLib when it has been explicitly requested is an error
2388if test "x$with_glib" = x"yes"; then
2389  if test "x$have_glib" = x"no"; then
2390    AC_MSG_ERROR([--with-glib=yes specified but glib-2.0 not found])
2391  fi
2392fi
2393
2394AM_CONDITIONAL([HAVE_GLIB], [test "$have_glib" = yes])
2395])
2396m4trace:/usr/share/aclocal/xorg-macros.m4:1171: -1- AC_DEFUN([XORG_LD_WRAP], [
2397XORG_CHECK_LINKER_FLAGS([-Wl,-wrap,exit],[have_ld_wrap=yes],[have_ld_wrap=no],
2398    [AC_LANG_PROGRAM([#include <stdlib.h>
2399                      void __wrap_exit(int status) { return; }],
2400                     [exit(0);])])
2401# Not having ld wrap when unit testing has been explicitly requested is an error
2402if test "x$enable_unit_tests" = x"yes" -a "x$1" != "xoptional"; then
2403  if test "x$have_ld_wrap" = x"no"; then
2404    AC_MSG_ERROR([--enable-unit-tests=yes specified but ld -wrap support is not available])
2405  fi
2406fi
2407AM_CONDITIONAL([HAVE_LD_WRAP], [test "$have_ld_wrap" = yes])
2408#
2409])
2410m4trace:/usr/share/aclocal/xorg-macros.m4:1235: -1- AC_DEFUN([XORG_CHECK_LINKER_FLAGS], [AC_MSG_CHECKING([whether the linker accepts $1])
2411dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname:
2412AS_LITERAL_IF([$1],
2413  [AC_CACHE_VAL(AS_TR_SH(xorg_cv_linker_flags_[$1]), [
2414      ax_save_FLAGS=$LDFLAGS
2415      LDFLAGS="$1"
2416      AC_LINK_IFELSE([m4_default([$4],[AC_LANG_PROGRAM()])],
2417        AS_TR_SH(xorg_cv_linker_flags_[$1])=yes,
2418        AS_TR_SH(xorg_cv_linker_flags_[$1])=no)
2419      LDFLAGS=$ax_save_FLAGS])],
2420  [ax_save_FLAGS=$LDFLAGS
2421   LDFLAGS="$1"
2422   AC_LINK_IFELSE([AC_LANG_PROGRAM()],
2423     eval AS_TR_SH(xorg_cv_linker_flags_[$1])=yes,
2424     eval AS_TR_SH(xorg_cv_linker_flags_[$1])=no)
2425   LDFLAGS=$ax_save_FLAGS])
2426eval xorg_check_linker_flags=$AS_TR_SH(xorg_cv_linker_flags_[$1])
2427AC_MSG_RESULT($xorg_check_linker_flags)
2428if test "x$xorg_check_linker_flags" = xyes; then
2429	m4_default([$2], :)
2430else
2431	m4_default([$3], :)
2432fi
2433])
2434m4trace:/usr/share/aclocal/xorg-macros.m4:1275: -1- AC_DEFUN([XORG_MEMORY_CHECK_FLAGS], [
2435
2436AC_REQUIRE([AC_CANONICAL_HOST])
2437AC_ARG_VAR([XORG_MALLOC_DEBUG_ENV],
2438           [Environment variables to enable memory checking in tests])
2439
2440# Check for different types of support on different platforms
2441case $host_os in
2442    solaris*)
2443        AC_CHECK_LIB([umem], [umem_alloc],
2444            [malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'])
2445        ;;
2446    *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
2447        # both directly and inverted, so should not be 0 or 255.
2448        malloc_debug_env='MALLOC_PERTURB_=15'
2449        ;;
2450    darwin*)
2451        malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
2452        ;;
2453    *bsd*)
2454        malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
2455        ;;
2456esac
2457
2458# User supplied flags override default flags
2459if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
2460    malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
2461fi
2462
2463AC_SUBST([XORG_MALLOC_DEBUG_ENV],[$malloc_debug_env])
2464])
2465m4trace:/usr/share/aclocal/xorg-macros.m4:1314: -1- AC_DEFUN([XORG_CHECK_MALLOC_ZERO], [
2466AC_ARG_ENABLE(malloc0returnsnull,
2467	AS_HELP_STRING([--enable-malloc0returnsnull],
2468		       [malloc(0) returns NULL (default: auto)]),
2469	[MALLOC_ZERO_RETURNS_NULL=$enableval],
2470	[MALLOC_ZERO_RETURNS_NULL=auto])
2471
2472AC_MSG_CHECKING([whether malloc(0) returns NULL])
2473if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
2474	AC_RUN_IFELSE([AC_LANG_PROGRAM([
2475#include <stdlib.h>
2476],[
2477    char *m0, *r0, *c0, *p;
2478    m0 = malloc(0);
2479    p = malloc(10);
2480    r0 = realloc(p,0);
2481    c0 = calloc(0,10);
2482    exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
2483])],
2484		[MALLOC_ZERO_RETURNS_NULL=yes],
2485		[MALLOC_ZERO_RETURNS_NULL=no],
2486		[MALLOC_ZERO_RETURNS_NULL=yes])
2487fi
2488AC_MSG_RESULT([$MALLOC_ZERO_RETURNS_NULL])
2489
2490if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
2491	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
2492	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
2493	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
2494else
2495	MALLOC_ZERO_CFLAGS=""
2496	XMALLOC_ZERO_CFLAGS=""
2497	XTMALLOC_ZERO_CFLAGS=""
2498fi
2499
2500AC_SUBST([MALLOC_ZERO_CFLAGS])
2501AC_SUBST([XMALLOC_ZERO_CFLAGS])
2502AC_SUBST([XTMALLOC_ZERO_CFLAGS])
2503])
2504m4trace:/usr/share/aclocal/xorg-macros.m4:1375: -1- AC_DEFUN([XORG_WITH_LINT], [
2505
2506AC_ARG_VAR([LINT], [Path to a lint-style command])
2507AC_ARG_VAR([LINT_FLAGS], [Flags for the lint-style command])
2508AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
2509		[Use a lint-style source code checker (default: disabled)])],
2510		[use_lint=$withval], [use_lint=no])
2511
2512# Obtain platform specific info like program name and options
2513# The lint program on FreeBSD and NetBSD is different from the one on Solaris
2514case $host_os in
2515  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
2516	lint_name=splint
2517	lint_options="-badflag"
2518	;;
2519  *freebsd* | *netbsd*)
2520	lint_name=lint
2521	lint_options="-u -b"
2522	;;
2523  *solaris*)
2524	lint_name=lint
2525	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
2526	;;
2527esac
2528
2529# Test for the presence of the program (either guessed by the code or spelled out by the user)
2530if test "x$use_lint" = x"yes" ; then
2531   AC_PATH_PROG([LINT], [$lint_name])
2532   if test "x$LINT" = "x"; then
2533        AC_MSG_ERROR([--with-lint=yes specified but lint-style tool not found in PATH])
2534   fi
2535elif test "x$use_lint" = x"no" ; then
2536   if test "x$LINT" != "x"; then
2537      AC_MSG_WARN([ignoring LINT environment variable since --with-lint=no was specified])
2538   fi
2539else
2540   AC_MSG_ERROR([--with-lint expects 'yes' or 'no'. Use LINT variable to specify path.])
2541fi
2542
2543# User supplied flags override default flags
2544if test "x$LINT_FLAGS" != "x"; then
2545   lint_options=$LINT_FLAGS
2546fi
2547
2548AC_SUBST([LINT_FLAGS],[$lint_options])
2549AM_CONDITIONAL(LINT, [test "x$LINT" != x])
2550
2551])
2552m4trace:/usr/share/aclocal/xorg-macros.m4:1438: -1- AC_DEFUN([XORG_LINT_LIBRARY], [
2553AC_REQUIRE([XORG_WITH_LINT])
2554AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library],
2555	[Create lint library (default: disabled)])],
2556	[make_lint_lib=$enableval], [make_lint_lib=no])
2557
2558if test "x$make_lint_lib" = x"yes" ; then
2559   LINTLIB=llib-l$1.ln
2560   if test "x$LINT" = "x"; then
2561        AC_MSG_ERROR([Cannot make lint library without --with-lint])
2562   fi
2563elif test "x$make_lint_lib" != x"no" ; then
2564   AC_MSG_ERROR([--enable-lint-library expects 'yes' or 'no'.])
2565fi
2566
2567AC_SUBST(LINTLIB)
2568AM_CONDITIONAL(MAKE_LINT_LIB, [test x$make_lint_lib != xno])
2569
2570])
2571m4trace:/usr/share/aclocal/xorg-macros.m4:1469: -1- AC_DEFUN([XORG_COMPILER_BRAND], [
2572AC_LANG_CASE(
2573	[C], [
2574		AC_REQUIRE([AC_PROG_CC_C99])
2575	],
2576	[C++], [
2577		AC_REQUIRE([AC_PROG_CXX])
2578	]
2579)
2580AC_CHECK_DECL([__clang__], [CLANGCC="yes"], [CLANGCC="no"])
2581AC_CHECK_DECL([__INTEL_COMPILER], [INTELCC="yes"], [INTELCC="no"])
2582AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
2583])
2584m4trace:/usr/share/aclocal/xorg-macros.m4:1496: -1- AC_DEFUN([XORG_TESTSET_CFLAG], [
2585m4_if([$#], 0, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
2586m4_if([$#], 1, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
2587
2588AC_LANG_COMPILER_REQUIRE
2589
2590AC_LANG_CASE(
2591	[C], [
2592		AC_REQUIRE([AC_PROG_CC_C99])
2593		define([PREFIX], [C])
2594		define([CACHE_PREFIX], [cc])
2595		define([COMPILER], [$CC])
2596	],
2597	[C++], [
2598		define([PREFIX], [CXX])
2599		define([CACHE_PREFIX], [cxx])
2600		define([COMPILER], [$CXX])
2601	]
2602)
2603
2604[xorg_testset_save_]PREFIX[FLAGS]="$PREFIX[FLAGS]"
2605
2606if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "x" ; then
2607	PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
2608	AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unknown-warning-option],
2609			[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option],
2610			AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
2611					  [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=yes],
2612					  [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=no]))
2613	[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]=$[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option]
2614	PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
2615fi
2616
2617if test "x$[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]" = "x" ; then
2618	if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "xyes" ; then
2619		PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
2620	fi
2621	PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument"
2622	AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unused-command-line-argument],
2623			[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument],
2624			AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
2625					  [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=yes],
2626					  [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=no]))
2627	[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]=$[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument]
2628	PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
2629fi
2630
2631found="no"
2632m4_foreach([flag], m4_cdr($@), [
2633	if test $found = "no" ; then
2634		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
2635			PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option"
2636		fi
2637
2638		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
2639			PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument"
2640		fi
2641
2642		PREFIX[FLAGS]="$PREFIX[FLAGS] ]flag["
2643
2644dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname
2645		AC_MSG_CHECKING([if ]COMPILER[ supports]flag[])
2646		cacheid=AS_TR_SH([xorg_cv_]CACHE_PREFIX[_flag_]flag[])
2647		AC_CACHE_VAL($cacheid,
2648			     [AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])],
2649					     [eval $cacheid=yes],
2650					     [eval $cacheid=no])])
2651
2652		PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]"
2653
2654		eval supported=\$$cacheid
2655		AC_MSG_RESULT([$supported])
2656		if test "$supported" = "yes" ; then
2657			$1="$$1 ]flag["
2658			found="yes"
2659		fi
2660	fi
2661])
2662])
2663m4trace:/usr/share/aclocal/xorg-macros.m4:1588: -1- AC_DEFUN([XORG_COMPILER_FLAGS], [
2664AC_REQUIRE([XORG_COMPILER_BRAND])
2665
2666AC_ARG_ENABLE(selective-werror,
2667              AS_HELP_STRING([--disable-selective-werror],
2668                             [Turn off selective compiler errors. (default: enabled)]),
2669              [SELECTIVE_WERROR=$enableval],
2670              [SELECTIVE_WERROR=yes])
2671
2672AC_LANG_CASE(
2673        [C], [
2674                define([PREFIX], [C])
2675        ],
2676        [C++], [
2677                define([PREFIX], [CXX])
2678        ]
2679)
2680# -v is too short to test reliably with XORG_TESTSET_CFLAG
2681if test "x$SUNCC" = "xyes"; then
2682    [BASE_]PREFIX[FLAGS]="-v"
2683else
2684    [BASE_]PREFIX[FLAGS]=""
2685fi
2686
2687# This chunk of warnings were those that existed in the legacy CWARNFLAGS
2688XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wall])
2689XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-arith])
2690XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-declarations])
2691XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wformat=2], [-Wformat])
2692
2693AC_LANG_CASE(
2694	[C], [
2695		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wstrict-prototypes])
2696		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes])
2697		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs])
2698		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast])
2699		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition])
2700		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement])
2701	]
2702)
2703
2704# This chunk adds additional warnings that could catch undesired effects.
2705XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wunused])
2706XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wuninitialized])
2707XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow])
2708XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
2709XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn])
2710XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute])
2711XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls])
2712
2713# These are currently disabled because they are noisy.  They will be enabled
2714# in the future once the codebase is sufficiently modernized to silence
2715# them.  For now, I don't want them to drown out the other warnings.
2716# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
2717# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
2718# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
2719
2720# Turn some warnings into errors, so we don't accidently get successful builds
2721# when there are problems that should be fixed.
2722
2723if test "x$SELECTIVE_WERROR" = "xyes" ; then
2724XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=implicit], [-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED])
2725XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=nonnull])
2726XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=init-self])
2727XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=main])
2728XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=missing-braces])
2729XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=sequence-point])
2730XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=return-type], [-errwarn=E_FUNC_HAS_NO_RETURN_STMT])
2731XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=trigraphs])
2732XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=array-bounds])
2733XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=write-strings])
2734XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=address])
2735XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION])
2736XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast]) # Also -errwarn=E_BAD_PTR_INT_COMBINATION
2737else
2738AC_MSG_WARN([You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT])
2739XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wimplicit])
2740XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnonnull])
2741XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Winit-self])
2742XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmain])
2743XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-braces])
2744XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wsequence-point])
2745XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wreturn-type])
2746XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wtrigraphs])
2747XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Warray-bounds])
2748XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wwrite-strings])
2749XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Waddress])
2750XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast])
2751XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast])
2752fi
2753
2754AC_SUBST([BASE_]PREFIX[FLAGS])
2755])
2756m4trace:/usr/share/aclocal/xorg-macros.m4:1694: -1- AC_DEFUN([XORG_CWARNFLAGS], [
2757AC_REQUIRE([XORG_COMPILER_FLAGS])
2758AC_REQUIRE([XORG_COMPILER_BRAND])
2759AC_LANG_CASE(
2760	[C], [
2761		CWARNFLAGS="$BASE_CFLAGS"
2762		if  test "x$GCC" = xyes ; then
2763		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
2764		fi
2765		AC_SUBST(CWARNFLAGS)
2766	]
2767)
2768])
2769m4trace:/usr/share/aclocal/xorg-macros.m4:1719: -1- AC_DEFUN([XORG_STRICT_OPTION], [
2770AC_REQUIRE([XORG_CWARNFLAGS])
2771AC_REQUIRE([XORG_COMPILER_FLAGS])
2772
2773AC_ARG_ENABLE(strict-compilation,
2774			  AS_HELP_STRING([--enable-strict-compilation],
2775			  [Enable all warnings from compiler and make them errors (default: disabled)]),
2776			  [STRICT_COMPILE=$enableval], [STRICT_COMPILE=no])
2777
2778AC_LANG_CASE(
2779        [C], [
2780                define([PREFIX], [C])
2781        ],
2782        [C++], [
2783                define([PREFIX], [CXX])
2784        ]
2785)
2786
2787[STRICT_]PREFIX[FLAGS]=""
2788XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-pedantic])
2789XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror], [-errwarn])
2790
2791# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
2792# activate it with -Werror, so we add it here explicitly.
2793XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror=attributes])
2794
2795if test "x$STRICT_COMPILE" = "xyes"; then
2796    [BASE_]PREFIX[FLAGS]="$[BASE_]PREFIX[FLAGS] $[STRICT_]PREFIX[FLAGS]"
2797    AC_LANG_CASE([C], [CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"])
2798fi
2799AC_SUBST([STRICT_]PREFIX[FLAGS])
2800AC_SUBST([BASE_]PREFIX[FLAGS])
2801AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS]))
2802])
2803m4trace:/usr/share/aclocal/xorg-macros.m4:1760: -1- AC_DEFUN([XORG_DEFAULT_OPTIONS], [
2804AC_REQUIRE([AC_PROG_INSTALL])
2805XORG_COMPILER_FLAGS
2806XORG_CWARNFLAGS
2807XORG_STRICT_OPTION
2808XORG_RELEASE_VERSION
2809XORG_CHANGELOG
2810XORG_INSTALL
2811XORG_MANPAGE_SECTIONS
2812m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
2813    [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
2814])
2815m4trace:/usr/share/aclocal/xorg-macros.m4:1780: -1- AC_DEFUN([XORG_INSTALL], [
2816AC_REQUIRE([PKG_PROG_PKG_CONFIG])
2817macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2818INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2819mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
2820|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
2821echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
2822AC_SUBST([INSTALL_CMD])
2823])
2824m4trace:/usr/share/aclocal/xorg-macros.m4:1818: -1- AC_DEFUN([XORG_RELEASE_VERSION], [
2825	AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],
2826		[`echo $PACKAGE_VERSION | cut -d . -f 1`],
2827		[Major version of this package])
2828	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2829	if test "x$PVM" = "x"; then
2830		PVM="0"
2831	fi
2832	AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR],
2833		[$PVM],
2834		[Minor version of this package])
2835	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2836	if test "x$PVP" = "x"; then
2837		PVP="0"
2838	fi
2839	AC_DEFINE_UNQUOTED([PACKAGE_VERSION_PATCHLEVEL],
2840		[$PVP],
2841		[Patch version of this package])
2842])
2843m4trace:/usr/share/aclocal/xorg-macros.m4:1846: -1- AC_DEFUN([XORG_CHANGELOG], [
2844CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
2845mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2846|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
2847echo 'git directory not found: installing possibly empty changelog.' >&2)"
2848AC_SUBST([CHANGELOG_CMD])
2849])
2850m4trace:/usr/share/aclocal-1.14/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14'
2851dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2852dnl require some minimum version.  Point them to the right macro.
2853m4_if([$1], [1.14.1], [],
2854      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
2855])
2856m4trace:/usr/share/aclocal-1.14/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1])dnl
2857m4_ifndef([AC_AUTOCONF_VERSION],
2858  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2859_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
2860m4trace:/usr/share/aclocal-1.14/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
2861AC_PREREQ([2.50])dnl
2862# expand $ac_aux_dir to an absolute path
2863am_aux_dir=`cd $ac_aux_dir && pwd`
2864])
2865m4trace:/usr/share/aclocal-1.14/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
2866 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
2867       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
2868AC_SUBST([$1_TRUE])dnl
2869AC_SUBST([$1_FALSE])dnl
2870_AM_SUBST_NOTMAKE([$1_TRUE])dnl
2871_AM_SUBST_NOTMAKE([$1_FALSE])dnl
2872m4_define([_AM_COND_VALUE_$1], [$2])dnl
2873if $2; then
2874  $1_TRUE=
2875  $1_FALSE='#'
2876else
2877  $1_TRUE='#'
2878  $1_FALSE=
2879fi
2880AC_CONFIG_COMMANDS_PRE(
2881[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
2882  AC_MSG_ERROR([[conditional "$1" was never defined.
2883Usually this means the macro was only invoked conditionally.]])
2884fi])])
2885m4trace:/usr/share/aclocal-1.14/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
2886AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
2887AC_REQUIRE([AM_MAKE_INCLUDE])dnl
2888AC_REQUIRE([AM_DEP_TRACK])dnl
2889
2890m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
2891      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
2892      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
2893      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
2894      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
2895      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
2896                    [depcc="$$1"   am_compiler_list=])
2897
2898AC_CACHE_CHECK([dependency style of $depcc],
2899               [am_cv_$1_dependencies_compiler_type],
2900[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2901  # We make a subdir and do the tests there.  Otherwise we can end up
2902  # making bogus files that we don't know about and never remove.  For
2903  # instance it was reported that on HP-UX the gcc test will end up
2904  # making a dummy file named 'D' -- because '-MD' means "put the output
2905  # in D".
2906  rm -rf conftest.dir
2907  mkdir conftest.dir
2908  # Copy depcomp to subdir because otherwise we won't find it if we're
2909  # using a relative directory.
2910  cp "$am_depcomp" conftest.dir
2911  cd conftest.dir
2912  # We will build objects and dependencies in a subdirectory because
2913  # it helps to detect inapplicable dependency modes.  For instance
2914  # both Tru64's cc and ICC support -MD to output dependencies as a
2915  # side effect of compilation, but ICC will put the dependencies in
2916  # the current directory while Tru64 will put them in the object
2917  # directory.
2918  mkdir sub
2919
2920  am_cv_$1_dependencies_compiler_type=none
2921  if test "$am_compiler_list" = ""; then
2922     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
2923  fi
2924  am__universal=false
2925  m4_case([$1], [CC],
2926    [case " $depcc " in #(
2927     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2928     esac],
2929    [CXX],
2930    [case " $depcc " in #(
2931     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2932     esac])
2933
2934  for depmode in $am_compiler_list; do
2935    # Setup a source with many dependencies, because some compilers
2936    # like to wrap large dependency lists on column 80 (with \), and
2937    # we should not choose a depcomp mode which is confused by this.
2938    #
2939    # We need to recreate these files for each test, as the compiler may
2940    # overwrite some of them when testing with obscure command lines.
2941    # This happens at least with the AIX C compiler.
2942    : > sub/conftest.c
2943    for i in 1 2 3 4 5 6; do
2944      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2945      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
2946      # Solaris 10 /bin/sh.
2947      echo '/* dummy */' > sub/conftst$i.h
2948    done
2949    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2950
2951    # We check with '-c' and '-o' for the sake of the "dashmstdout"
2952    # mode.  It turns out that the SunPro C++ compiler does not properly
2953    # handle '-M -o', and we need to detect this.  Also, some Intel
2954    # versions had trouble with output in subdirs.
2955    am__obj=sub/conftest.${OBJEXT-o}
2956    am__minus_obj="-o $am__obj"
2957    case $depmode in
2958    gcc)
2959      # This depmode causes a compiler race in universal mode.
2960      test "$am__universal" = false || continue
2961      ;;
2962    nosideeffect)
2963      # After this tag, mechanisms are not by side-effect, so they'll
2964      # only be used when explicitly requested.
2965      if test "x$enable_dependency_tracking" = xyes; then
2966	continue
2967      else
2968	break
2969      fi
2970      ;;
2971    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
2972      # This compiler won't grok '-c -o', but also, the minuso test has
2973      # not run yet.  These depmodes are late enough in the game, and
2974      # so weak that their functioning should not be impacted.
2975      am__obj=conftest.${OBJEXT-o}
2976      am__minus_obj=
2977      ;;
2978    none) break ;;
2979    esac
2980    if depmode=$depmode \
2981       source=sub/conftest.c object=$am__obj \
2982       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2983       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2984         >/dev/null 2>conftest.err &&
2985       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2986       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2987       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2988       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2989      # icc doesn't choke on unknown options, it will just issue warnings
2990      # or remarks (even with -Werror).  So we grep stderr for any message
2991      # that says an option was ignored or not supported.
2992      # When given -MP, icc 7.0 and 7.1 complain thusly:
2993      #   icc: Command line warning: ignoring option '-M'; no argument required
2994      # The diagnosis changed in icc 8.0:
2995      #   icc: Command line remark: option '-MP' not supported
2996      if (grep 'ignoring option' conftest.err ||
2997          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2998        am_cv_$1_dependencies_compiler_type=$depmode
2999        break
3000      fi
3001    fi
3002  done
3003
3004  cd ..
3005  rm -rf conftest.dir
3006else
3007  am_cv_$1_dependencies_compiler_type=none
3008fi
3009])
3010AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
3011AM_CONDITIONAL([am__fastdep$1], [
3012  test "x$enable_dependency_tracking" != xno \
3013  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
3014])
3015m4trace:/usr/share/aclocal-1.14/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3016AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
3017])
3018m4trace:/usr/share/aclocal-1.14/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
3019AS_HELP_STRING(
3020  [--enable-dependency-tracking],
3021  [do not reject slow dependency extractors])
3022AS_HELP_STRING(
3023  [--disable-dependency-tracking],
3024  [speeds up one-time build])])
3025if test "x$enable_dependency_tracking" != xno; then
3026  am_depcomp="$ac_aux_dir/depcomp"
3027  AMDEPBACKSLASH='\'
3028  am__nodep='_no'
3029fi
3030AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3031AC_SUBST([AMDEPBACKSLASH])dnl
3032_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
3033AC_SUBST([am__nodep])dnl
3034_AM_SUBST_NOTMAKE([am__nodep])dnl
3035])
3036m4trace:/usr/share/aclocal-1.14/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
3037  # Older Autoconf quotes --file arguments for eval, but not when files
3038  # are listed without --file.  Let's play safe and only enable the eval
3039  # if we detect the quoting.
3040  case $CONFIG_FILES in
3041  *\'*) eval set x "$CONFIG_FILES" ;;
3042  *)   set x $CONFIG_FILES ;;
3043  esac
3044  shift
3045  for mf
3046  do
3047    # Strip MF so we end up with the name of the file.
3048    mf=`echo "$mf" | sed -e 's/:.*$//'`
3049    # Check whether this is an Automake generated Makefile or not.
3050    # We used to match only the files named 'Makefile.in', but
3051    # some people rename them; so instead we look at the file content.
3052    # Grep'ing the first line is not enough: some people post-process
3053    # each Makefile.in and add a new line on top of each file to say so.
3054    # Grep'ing the whole file is not good either: AIX grep has a line
3055    # limit of 2048, but all sed's we know have understand at least 4000.
3056    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3057      dirpart=`AS_DIRNAME("$mf")`
3058    else
3059      continue
3060    fi
3061    # Extract the definition of DEPDIR, am__include, and am__quote
3062    # from the Makefile without running 'make'.
3063    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3064    test -z "$DEPDIR" && continue
3065    am__include=`sed -n 's/^am__include = //p' < "$mf"`
3066    test -z "$am__include" && continue
3067    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3068    # Find all dependency output files, they are included files with
3069    # $(DEPDIR) in their names.  We invoke sed twice because it is the
3070    # simplest approach to changing $(DEPDIR) to its actual value in the
3071    # expansion.
3072    for file in `sed -n "
3073      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3074	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
3075      # Make sure the directory exists.
3076      test -f "$dirpart/$file" && continue
3077      fdir=`AS_DIRNAME(["$file"])`
3078      AS_MKDIR_P([$dirpart/$fdir])
3079      # echo "creating $dirpart/$file"
3080      echo '# dummy' > "$dirpart/$file"
3081    done
3082  done
3083}
3084])
3085m4trace:/usr/share/aclocal-1.14/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
3086     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
3087     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
3088])
3089m4trace:/usr/share/aclocal-1.14/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
3090dnl Autoconf wants to disallow AM_ names.  We explicitly allow
3091dnl the ones we care about.
3092m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
3093AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
3094AC_REQUIRE([AC_PROG_INSTALL])dnl
3095if test "`cd $srcdir && pwd`" != "`pwd`"; then
3096  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3097  # is not polluted with repeated "-I."
3098  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
3099  # test to see if srcdir already configured
3100  if test -f $srcdir/config.status; then
3101    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
3102  fi
3103fi
3104
3105# test whether we have cygpath
3106if test -z "$CYGPATH_W"; then
3107  if (cygpath --version) >/dev/null 2>/dev/null; then
3108    CYGPATH_W='cygpath -w'
3109  else
3110    CYGPATH_W=echo
3111  fi
3112fi
3113AC_SUBST([CYGPATH_W])
3114
3115# Define the identity of the package.
3116dnl Distinguish between old-style and new-style calls.
3117m4_ifval([$2],
3118[AC_DIAGNOSE([obsolete],
3119             [$0: two- and three-arguments forms are deprecated.])
3120m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
3121 AC_SUBST([PACKAGE], [$1])dnl
3122 AC_SUBST([VERSION], [$2])],
3123[_AM_SET_OPTIONS([$1])dnl
3124dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
3125m4_if(
3126  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
3127  [ok:ok],,
3128  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
3129 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
3130 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
3131
3132_AM_IF_OPTION([no-define],,
3133[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3134 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
3135
3136# Some tools Automake needs.
3137AC_REQUIRE([AM_SANITY_CHECK])dnl
3138AC_REQUIRE([AC_ARG_PROGRAM])dnl
3139AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3140AM_MISSING_PROG([AUTOCONF], [autoconf])
3141AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3142AM_MISSING_PROG([AUTOHEADER], [autoheader])
3143AM_MISSING_PROG([MAKEINFO], [makeinfo])
3144AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3145AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
3146AC_REQUIRE([AC_PROG_MKDIR_P])dnl
3147# For better backward compatibility.  To be removed once Automake 1.9.x
3148# dies out for good.  For more background, see:
3149# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3150# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3151AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
3152# We need awk for the "check" target.  The system "awk" is bad on
3153# some platforms.
3154AC_REQUIRE([AC_PROG_AWK])dnl
3155AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3156AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3157_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
3158	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3159			     [_AM_PROG_TAR([v7])])])
3160_AM_IF_OPTION([no-dependencies],,
3161[AC_PROVIDE_IFELSE([AC_PROG_CC],
3162		  [_AM_DEPENDENCIES([CC])],
3163		  [m4_define([AC_PROG_CC],
3164			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
3165AC_PROVIDE_IFELSE([AC_PROG_CXX],
3166		  [_AM_DEPENDENCIES([CXX])],
3167		  [m4_define([AC_PROG_CXX],
3168			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
3169AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3170		  [_AM_DEPENDENCIES([OBJC])],
3171		  [m4_define([AC_PROG_OBJC],
3172			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
3173AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
3174		  [_AM_DEPENDENCIES([OBJCXX])],
3175		  [m4_define([AC_PROG_OBJCXX],
3176			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
3177])
3178AC_REQUIRE([AM_SILENT_RULES])dnl
3179dnl The testsuite driver may need to know about EXEEXT, so add the
3180dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
3181dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
3182AC_CONFIG_COMMANDS_PRE(dnl
3183[m4_provide_if([_AM_COMPILER_EXEEXT],
3184  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
3185
3186# POSIX will say in a future version that running "rm -f" with no argument
3187# is OK; and we want to be able to make that assumption in our Makefile
3188# recipes.  So use an aggressive probe to check that the usage we want is
3189# actually supported "in the wild" to an acceptable degree.
3190# See automake bug#10828.
3191# To make any issue more visible, cause the running configure to be aborted
3192# by default if the 'rm' program in use doesn't match our expectations; the
3193# user can still override this though.
3194if rm -f && rm -fr && rm -rf; then : OK; else
3195  cat >&2 <<'END'
3196Oops!
3197
3198Your 'rm' program seems unable to run without file operands specified
3199on the command line, even when the '-f' option is present.  This is contrary
3200to the behaviour of most rm programs out there, and not conforming with
3201the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3202
3203Please tell bug-automake@gnu.org about your system, including the value
3204of your $PATH and any error possibly output before this message.  This
3205can help us improve future automake versions.
3206
3207END
3208  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3209    echo 'Configuration will proceed anyway, since you have set the' >&2
3210    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3211    echo >&2
3212  else
3213    cat >&2 <<'END'
3214Aborting the configuration process, to ensure you take notice of the issue.
3215
3216You can download and install GNU coreutils to get an 'rm' implementation
3217that behaves properly: <http://www.gnu.org/software/coreutils/>.
3218
3219If you want to complete the configuration process using your problematic
3220'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3221to "yes", and re-run configure.
3222
3223END
3224    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
3225  fi
3226fi])
3227m4trace:/usr/share/aclocal-1.14/init.m4:182: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
3228_am_arg=$1
3229_am_stamp_count=1
3230for _am_header in $config_headers :; do
3231  case $_am_header in
3232    $_am_arg | $_am_arg:* )
3233      break ;;
3234    * )
3235      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3236  esac
3237done
3238echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
3239m4trace:/usr/share/aclocal-1.14/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3240if test x"${install_sh}" != xset; then
3241  case $am_aux_dir in
3242  *\ * | *\	*)
3243    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3244  *)
3245    install_sh="\${SHELL} $am_aux_dir/install-sh"
3246  esac
3247fi
3248AC_SUBST([install_sh])])
3249m4trace:/usr/share/aclocal-1.14/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
3250mkdir .tst 2>/dev/null
3251if test -d .tst; then
3252  am__leading_dot=.
3253else
3254  am__leading_dot=_
3255fi
3256rmdir .tst 2>/dev/null
3257AC_SUBST([am__leading_dot])])
3258m4trace:/usr/share/aclocal-1.14/maintainer.m4:16: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
3259       [enable], [m4_define([am_maintainer_other], [disable])],
3260       [disable], [m4_define([am_maintainer_other], [enable])],
3261       [m4_define([am_maintainer_other], [enable])
3262        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
3263AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
3264  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
3265  AC_ARG_ENABLE([maintainer-mode],
3266    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
3267      am_maintainer_other[ make rules and dependencies not useful
3268      (and sometimes confusing) to the casual installer])],
3269    [USE_MAINTAINER_MODE=$enableval],
3270    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
3271  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
3272  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
3273  MAINT=$MAINTAINER_MODE_TRUE
3274  AC_SUBST([MAINT])dnl
3275
3276])
3277m4trace:/usr/share/aclocal-1.14/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
3278cat > confinc << 'END'
3279am__doit:
3280	@echo this is the am__doit target
3281.PHONY: am__doit
3282END
3283# If we don't find an include directive, just comment out the code.
3284AC_MSG_CHECKING([for style of include used by $am_make])
3285am__include="#"
3286am__quote=
3287_am_result=none
3288# First try GNU make style include.
3289echo "include confinc" > confmf
3290# Ignore all kinds of additional output from 'make'.
3291case `$am_make -s -f confmf 2> /dev/null` in #(
3292*the\ am__doit\ target*)
3293  am__include=include
3294  am__quote=
3295  _am_result=GNU
3296  ;;
3297esac
3298# Now try BSD make style include.
3299if test "$am__include" = "#"; then
3300   echo '.include "confinc"' > confmf
3301   case `$am_make -s -f confmf 2> /dev/null` in #(
3302   *the\ am__doit\ target*)
3303     am__include=.include
3304     am__quote="\""
3305     _am_result=BSD
3306     ;;
3307   esac
3308fi
3309AC_SUBST([am__include])
3310AC_SUBST([am__quote])
3311AC_MSG_RESULT([$_am_result])
3312rm -f confinc confmf
3313])
3314m4trace:/usr/share/aclocal-1.14/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
3315$1=${$1-"${am_missing_run}$2"}
3316AC_SUBST($1)])
3317m4trace:/usr/share/aclocal-1.14/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3318AC_REQUIRE_AUX_FILE([missing])dnl
3319if test x"${MISSING+set}" != xset; then
3320  case $am_aux_dir in
3321  *\ * | *\	*)
3322    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3323  *)
3324    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3325  esac
3326fi
3327# Use eval to expand $SHELL
3328if eval "$MISSING --is-lightweight"; then
3329  am_missing_run="$MISSING "
3330else
3331  am_missing_run=
3332  AC_MSG_WARN(['missing' script is too old or missing])
3333fi
3334])
3335m4trace:/usr/share/aclocal-1.14/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
3336m4trace:/usr/share/aclocal-1.14/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
3337m4trace:/usr/share/aclocal-1.14/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
3338m4trace:/usr/share/aclocal-1.14/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
3339m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3340AC_REQUIRE_AUX_FILE([compile])dnl
3341AC_LANG_PUSH([C])dnl
3342AC_CACHE_CHECK(
3343  [whether $CC understands -c and -o together],
3344  [am_cv_prog_cc_c_o],
3345  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
3346  # Make sure it works both with $CC and with simple cc.
3347  # Following AC_PROG_CC_C_O, we do the test twice because some
3348  # compilers refuse to overwrite an existing .o file with -o,
3349  # though they will create one.
3350  am_cv_prog_cc_c_o=yes
3351  for am_i in 1 2; do
3352    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
3353         && test -f conftest2.$ac_objext; then
3354      : OK
3355    else
3356      am_cv_prog_cc_c_o=no
3357      break
3358    fi
3359  done
3360  rm -f core conftest*
3361  unset am_i])
3362if test "$am_cv_prog_cc_c_o" != yes; then
3363   # Losing compiler, so override with the script.
3364   # FIXME: It is wrong to rewrite CC.
3365   # But if we don't then we get into trouble of one sort or another.
3366   # A longer-term fix would be to have automake use am__CC in this case,
3367   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3368   CC="$am_aux_dir/compile $CC"
3369fi
3370AC_LANG_POP([C])])
3371m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
3372m4trace:/usr/share/aclocal-1.14/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
3373   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
3374   ac_status=$?
3375   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3376   (exit $ac_status); }])
3377m4trace:/usr/share/aclocal-1.14/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
3378# Reject unsafe characters in $srcdir or the absolute working directory
3379# name.  Accept space and tab only in the latter.
3380am_lf='
3381'
3382case `pwd` in
3383  *[[\\\"\#\$\&\'\`$am_lf]]*)
3384    AC_MSG_ERROR([unsafe absolute working directory name]);;
3385esac
3386case $srcdir in
3387  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
3388    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
3389esac
3390
3391# Do 'set' in a subshell so we don't clobber the current shell's
3392# arguments.  Must try -L first in case configure is actually a
3393# symlink; some systems play weird games with the mod time of symlinks
3394# (eg FreeBSD returns the mod time of the symlink's containing
3395# directory).
3396if (
3397   am_has_slept=no
3398   for am_try in 1 2; do
3399     echo "timestamp, slept: $am_has_slept" > conftest.file
3400     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3401     if test "$[*]" = "X"; then
3402	# -L didn't work.
3403	set X `ls -t "$srcdir/configure" conftest.file`
3404     fi
3405     if test "$[*]" != "X $srcdir/configure conftest.file" \
3406	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
3407
3408	# If neither matched, then we have a broken ls.  This can happen
3409	# if, for instance, CONFIG_SHELL is bash and it inherits a
3410	# broken ls alias from the environment.  This has actually
3411	# happened.  Such a system could not be considered "sane".
3412	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
3413  alias in your environment])
3414     fi
3415     if test "$[2]" = conftest.file || test $am_try -eq 2; then
3416       break
3417     fi
3418     # Just in case.
3419     sleep 1
3420     am_has_slept=yes
3421   done
3422   test "$[2]" = conftest.file
3423   )
3424then
3425   # Ok.
3426   :
3427else
3428   AC_MSG_ERROR([newly created file is older than distributed files!
3429Check your system clock])
3430fi
3431AC_MSG_RESULT([yes])
3432# If we didn't sleep, we still need to ensure time stamps of config.status and
3433# generated files are strictly newer.
3434am_sleep_pid=
3435if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3436  ( sleep 1 ) &
3437  am_sleep_pid=$!
3438fi
3439AC_CONFIG_COMMANDS_PRE(
3440  [AC_MSG_CHECKING([that generated files are newer than configure])
3441   if test -n "$am_sleep_pid"; then
3442     # Hide warnings about reused PIDs.
3443     wait $am_sleep_pid 2>/dev/null
3444   fi
3445   AC_MSG_RESULT([done])])
3446rm -f conftest.file
3447])
3448m4trace:/usr/share/aclocal-1.14/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
3449AS_HELP_STRING(
3450  [--enable-silent-rules],
3451  [less verbose build output (undo: "make V=1")])
3452AS_HELP_STRING(
3453  [--disable-silent-rules],
3454  [verbose build output (undo: "make V=0")])dnl
3455])
3456case $enable_silent_rules in @%:@ (((
3457  yes) AM_DEFAULT_VERBOSITY=0;;
3458   no) AM_DEFAULT_VERBOSITY=1;;
3459    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
3460esac
3461dnl
3462dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
3463dnl do not support nested variable expansions.
3464dnl See automake bug#9928 and bug#10237.
3465am_make=${MAKE-make}
3466AC_CACHE_CHECK([whether $am_make supports nested variables],
3467   [am_cv_make_support_nested_variables],
3468   [if AS_ECHO([['TRUE=$(BAR$(V))
3469BAR0=false
3470BAR1=true
3471V=1
3472am__doit:
3473	@$(TRUE)
3474.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
3475  am_cv_make_support_nested_variables=yes
3476else
3477  am_cv_make_support_nested_variables=no
3478fi])
3479if test $am_cv_make_support_nested_variables = yes; then
3480  dnl Using '$V' instead of '$(V)' breaks IRIX make.
3481  AM_V='$(V)'
3482  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3483else
3484  AM_V=$AM_DEFAULT_VERBOSITY
3485  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3486fi
3487AC_SUBST([AM_V])dnl
3488AM_SUBST_NOTMAKE([AM_V])dnl
3489AC_SUBST([AM_DEFAULT_V])dnl
3490AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
3491AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
3492AM_BACKSLASH='\'
3493AC_SUBST([AM_BACKSLASH])dnl
3494_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
3495])
3496m4trace:/usr/share/aclocal-1.14/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3497# Installed binaries are usually stripped using 'strip' when the user
3498# run "make install-strip".  However 'strip' might not be the right
3499# tool to use in cross-compilation environments, therefore Automake
3500# will honor the 'STRIP' environment variable to overrule this program.
3501dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
3502if test "$cross_compiling" != no; then
3503  AC_CHECK_TOOL([STRIP], [strip], :)
3504fi
3505INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3506AC_SUBST([INSTALL_STRIP_PROGRAM])])
3507m4trace:/usr/share/aclocal-1.14/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
3508m4trace:/usr/share/aclocal-1.14/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
3509m4trace:/usr/share/aclocal-1.14/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.  Yes, it's still used
3510# in the wild :-(  We should find a proper way to deprecate it ...
3511AC_SUBST([AMTAR], ['$${TAR-tar}'])
3512
3513# We'll loop over all known methods to create a tar archive until one works.
3514_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
3515
3516m4_if([$1], [v7],
3517  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
3518
3519  [m4_case([$1],
3520    [ustar],
3521     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3522      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3523      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3524      # and bug#13588).
3525      am_max_uid=2097151 # 2^21 - 1
3526      am_max_gid=$am_max_uid
3527      # The $UID and $GID variables are not portable, so we need to resort
3528      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3529      # below are definitely unexpected, so allow the users to see them
3530      # (that is, avoid stderr redirection).
3531      am_uid=`id -u || echo unknown`
3532      am_gid=`id -g || echo unknown`
3533      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
3534      if test $am_uid -le $am_max_uid; then
3535         AC_MSG_RESULT([yes])
3536      else
3537         AC_MSG_RESULT([no])
3538         _am_tools=none
3539      fi
3540      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
3541      if test $am_gid -le $am_max_gid; then
3542         AC_MSG_RESULT([yes])
3543      else
3544        AC_MSG_RESULT([no])
3545        _am_tools=none
3546      fi],
3547
3548  [pax],
3549    [],
3550
3551  [m4_fatal([Unknown tar format])])
3552
3553  AC_MSG_CHECKING([how to create a $1 tar archive])
3554
3555  # Go ahead even if we have the value already cached.  We do so because we
3556  # need to set the values for the 'am__tar' and 'am__untar' variables.
3557  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
3558
3559  for _am_tool in $_am_tools; do
3560    case $_am_tool in
3561    gnutar)
3562      for _am_tar in tar gnutar gtar; do
3563        AM_RUN_LOG([$_am_tar --version]) && break
3564      done
3565      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
3566      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
3567      am__untar="$_am_tar -xf -"
3568      ;;
3569    plaintar)
3570      # Must skip GNU tar: if it does not support --format= it doesn't create
3571      # ustar tarball either.
3572      (tar --version) >/dev/null 2>&1 && continue
3573      am__tar='tar chf - "$$tardir"'
3574      am__tar_='tar chf - "$tardir"'
3575      am__untar='tar xf -'
3576      ;;
3577    pax)
3578      am__tar='pax -L -x $1 -w "$$tardir"'
3579      am__tar_='pax -L -x $1 -w "$tardir"'
3580      am__untar='pax -r'
3581      ;;
3582    cpio)
3583      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
3584      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
3585      am__untar='cpio -i -H $1 -d'
3586      ;;
3587    none)
3588      am__tar=false
3589      am__tar_=false
3590      am__untar=false
3591      ;;
3592    esac
3593
3594    # If the value was cached, stop now.  We just wanted to have am__tar
3595    # and am__untar set.
3596    test -n "${am_cv_prog_tar_$1}" && break
3597
3598    # tar/untar a dummy directory, and stop if the command works.
3599    rm -rf conftest.dir
3600    mkdir conftest.dir
3601    echo GrepMe > conftest.dir/file
3602    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
3603    rm -rf conftest.dir
3604    if test -s conftest.tar; then
3605      AM_RUN_LOG([$am__untar <conftest.tar])
3606      AM_RUN_LOG([cat conftest.dir/file])
3607      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3608    fi
3609  done
3610  rm -rf conftest.dir
3611
3612  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
3613  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
3614
3615AC_SUBST([am__tar])
3616AC_SUBST([am__untar])
3617])
3618m4trace:m4/ax_gcc_builtin.m4:95: -1- AC_DEFUN([AX_GCC_BUILTIN], [
3619    AS_VAR_PUSHDEF([ac_var], [ax_cv_have_$1])
3620
3621    AC_CACHE_CHECK([for $1], [ac_var], [
3622        AC_LINK_IFELSE([AC_LANG_PROGRAM([], [
3623            m4_case([$1],
3624                [__builtin_assume_aligned], [$1("", 0)],
3625                [__builtin_bswap32], [$1(0)],
3626                [__builtin_bswap64], [$1(0)],
3627                [__builtin_choose_expr], [$1(0, 0, 0)],
3628                [__builtin___clear_cache], [$1("", "")],
3629                [__builtin_clrsb], [$1(0)],
3630                [__builtin_clrsbl], [$1(0)],
3631                [__builtin_clrsbll], [$1(0)],
3632                [__builtin_clz], [$1(0)],
3633                [__builtin_clzl], [$1(0)],
3634                [__builtin_clzll], [$1(0)],
3635                [__builtin_complex], [$1(0.0, 0.0)],
3636                [__builtin_constant_p], [$1(0)],
3637                [__builtin_ctz], [$1(0)],
3638                [__builtin_ctzl], [$1(0)],
3639                [__builtin_ctzll], [$1(0)],
3640                [__builtin_expect], [$1(0, 0)],
3641                [__builtin_ffs], [$1(0)],
3642                [__builtin_ffsl], [$1(0)],
3643                [__builtin_ffsll], [$1(0)],
3644                [__builtin_fpclassify], [$1(0, 1, 2, 3, 4, 0.0)],
3645                [__builtin_huge_val], [$1()],
3646                [__builtin_huge_valf], [$1()],
3647                [__builtin_huge_vall], [$1()],
3648                [__builtin_inf], [$1()],
3649                [__builtin_infd128], [$1()],
3650                [__builtin_infd32], [$1()],
3651                [__builtin_infd64], [$1()],
3652                [__builtin_inff], [$1()],
3653                [__builtin_infl], [$1()],
3654                [__builtin_isinf_sign], [$1(0.0)],
3655                [__builtin_nan], [$1("")],
3656                [__builtin_nand128], [$1("")],
3657                [__builtin_nand32], [$1("")],
3658                [__builtin_nand64], [$1("")],
3659                [__builtin_nanf], [$1("")],
3660                [__builtin_nanl], [$1("")],
3661                [__builtin_nans], [$1("")],
3662                [__builtin_nansf], [$1("")],
3663                [__builtin_nansl], [$1("")],
3664                [__builtin_object_size], [$1("", 0)],
3665                [__builtin_parity], [$1(0)],
3666                [__builtin_parityl], [$1(0)],
3667                [__builtin_parityll], [$1(0)],
3668                [__builtin_popcount], [$1(0)],
3669                [__builtin_popcountl], [$1(0)],
3670                [__builtin_popcountll], [$1(0)],
3671                [__builtin_powi], [$1(0, 0)],
3672                [__builtin_powif], [$1(0, 0)],
3673                [__builtin_powil], [$1(0, 0)],
3674                [__builtin_prefetch], [$1("")],
3675                [__builtin_trap], [$1()],
3676                [__builtin_types_compatible_p], [$1(int, int)],
3677                [__builtin_unreachable], [$1()],
3678                [m4_warn([syntax], [Unsupported built-in $1, the test may fail])
3679                 $1()]
3680            )
3681            ])],
3682            [AS_VAR_SET([ac_var], [yes])],
3683            [AS_VAR_SET([ac_var], [no])])
3684    ])
3685
3686    AS_IF([test yes = AS_VAR_GET([ac_var])],
3687        [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$1), 1,
3688            [Define to 1 if the system has the `$1' built-in function])], [])
3689
3690    AS_VAR_POPDEF([ac_var])
3691])
3692m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?A[CHUM]_])
3693m4trace:configure.ac:25: -1- m4_pattern_forbid([_AC_])
3694m4trace:configure.ac:25: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3695m4trace:configure.ac:25: -1- m4_pattern_allow([^AS_FLAGS$])
3696m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?m4_])
3697m4trace:configure.ac:25: -1- m4_pattern_forbid([^dnl$])
3698m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?AS_])
3699m4trace:configure.ac:25: -1- m4_pattern_allow([^SHELL$])
3700m4trace:configure.ac:25: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3701m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_NAME$])
3702m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3703m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3704m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_STRING$])
3705m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3706m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_URL$])
3707m4trace:configure.ac:25: -1- m4_pattern_allow([^exec_prefix$])
3708m4trace:configure.ac:25: -1- m4_pattern_allow([^prefix$])
3709m4trace:configure.ac:25: -1- m4_pattern_allow([^program_transform_name$])
3710m4trace:configure.ac:25: -1- m4_pattern_allow([^bindir$])
3711m4trace:configure.ac:25: -1- m4_pattern_allow([^sbindir$])
3712m4trace:configure.ac:25: -1- m4_pattern_allow([^libexecdir$])
3713m4trace:configure.ac:25: -1- m4_pattern_allow([^datarootdir$])
3714m4trace:configure.ac:25: -1- m4_pattern_allow([^datadir$])
3715m4trace:configure.ac:25: -1- m4_pattern_allow([^sysconfdir$])
3716m4trace:configure.ac:25: -1- m4_pattern_allow([^sharedstatedir$])
3717m4trace:configure.ac:25: -1- m4_pattern_allow([^localstatedir$])
3718m4trace:configure.ac:25: -1- m4_pattern_allow([^includedir$])
3719m4trace:configure.ac:25: -1- m4_pattern_allow([^oldincludedir$])
3720m4trace:configure.ac:25: -1- m4_pattern_allow([^docdir$])
3721m4trace:configure.ac:25: -1- m4_pattern_allow([^infodir$])
3722m4trace:configure.ac:25: -1- m4_pattern_allow([^htmldir$])
3723m4trace:configure.ac:25: -1- m4_pattern_allow([^dvidir$])
3724m4trace:configure.ac:25: -1- m4_pattern_allow([^pdfdir$])
3725m4trace:configure.ac:25: -1- m4_pattern_allow([^psdir$])
3726m4trace:configure.ac:25: -1- m4_pattern_allow([^libdir$])
3727m4trace:configure.ac:25: -1- m4_pattern_allow([^localedir$])
3728m4trace:configure.ac:25: -1- m4_pattern_allow([^mandir$])
3729m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_NAME$])
3730m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3731m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3732m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_STRING$])
3733m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3734m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_URL$])
3735m4trace:configure.ac:25: -1- m4_pattern_allow([^DEFS$])
3736m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_C$])
3737m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_N$])
3738m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_T$])
3739m4trace:configure.ac:25: -1- m4_pattern_allow([^LIBS$])
3740m4trace:configure.ac:25: -1- m4_pattern_allow([^build_alias$])
3741m4trace:configure.ac:25: -1- m4_pattern_allow([^host_alias$])
3742m4trace:configure.ac:25: -1- m4_pattern_allow([^target_alias$])
3743m4trace:configure.ac:30: -1- AC_CONFIG_MACRO_DIR([m4])
3744m4trace:configure.ac:34: -1- AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip subdir-objects color-tests parallel-tests check-news])
3745m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3746m4trace:configure.ac:34: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3747m4trace:configure.ac:34: -1- AM_AUTOMAKE_VERSION([1.14.1])
3748m4trace:configure.ac:34: -1- _AM_AUTOCONF_VERSION([2.69])
3749m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3750m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3751m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_DATA$])
3752m4trace:configure.ac:34: -1- m4_pattern_allow([^am__isrc$])
3753m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__isrc])
3754m4trace:configure.ac:34: -1- m4_pattern_allow([^CYGPATH_W$])
3755m4trace:configure.ac:34: -1- _AM_SET_OPTIONS([foreign dist-xz no-dist-gzip subdir-objects color-tests parallel-tests check-news])
3756m4trace:configure.ac:34: -1- _AM_SET_OPTION([foreign])
3757m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([foreign])
3758m4trace:configure.ac:34: -1- _AM_SET_OPTION([dist-xz])
3759m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([dist-xz])
3760m4trace:configure.ac:34: -1- _AM_SET_OPTION([no-dist-gzip])
3761m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-dist-gzip])
3762m4trace:configure.ac:34: -1- _AM_SET_OPTION([subdir-objects])
3763m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([subdir-objects])
3764m4trace:configure.ac:34: -1- _AM_SET_OPTION([color-tests])
3765m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([color-tests])
3766m4trace:configure.ac:34: -1- _AM_SET_OPTION([parallel-tests])
3767m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([parallel-tests])
3768m4trace:configure.ac:34: -1- _AM_SET_OPTION([check-news])
3769m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([check-news])
3770m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$])
3771m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$])
3772m4trace:configure.ac:34: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3773 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
3774m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-define])
3775m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$])
3776m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$])
3777m4trace:configure.ac:34: -1- AM_SANITY_CHECK
3778m4trace:configure.ac:34: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3779m4trace:configure.ac:34: -1- AM_MISSING_HAS_RUN
3780m4trace:configure.ac:34: -1- AM_AUX_DIR_EXPAND
3781m4trace:configure.ac:34: -1- m4_pattern_allow([^ACLOCAL$])
3782m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3783m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOCONF$])
3784m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3785m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOMAKE$])
3786m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3787m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOHEADER$])
3788m4trace:configure.ac:34: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3789m4trace:configure.ac:34: -1- m4_pattern_allow([^MAKEINFO$])
3790m4trace:configure.ac:34: -1- AM_PROG_INSTALL_SH
3791m4trace:configure.ac:34: -1- m4_pattern_allow([^install_sh$])
3792m4trace:configure.ac:34: -1- AM_PROG_INSTALL_STRIP
3793m4trace:configure.ac:34: -1- m4_pattern_allow([^STRIP$])
3794m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3795m4trace:configure.ac:34: -1- m4_pattern_allow([^MKDIR_P$])
3796m4trace:configure.ac:34: -1- m4_pattern_allow([^mkdir_p$])
3797m4trace:configure.ac:34: -1- m4_pattern_allow([^AWK$])
3798m4trace:configure.ac:34: -1- m4_pattern_allow([^SET_MAKE$])
3799m4trace:configure.ac:34: -1- AM_SET_LEADING_DOT
3800m4trace:configure.ac:34: -1- m4_pattern_allow([^am__leading_dot$])
3801m4trace:configure.ac:34: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3802			     [_AM_PROG_TAR([v7])])])
3803m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([tar-ustar])
3804m4trace:configure.ac:34: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3805m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([tar-pax])
3806m4trace:configure.ac:34: -1- _AM_PROG_TAR([v7])
3807m4trace:configure.ac:34: -1- m4_pattern_allow([^AMTAR$])
3808m4trace:configure.ac:34: -1- m4_pattern_allow([^am__tar$])
3809m4trace:configure.ac:34: -1- m4_pattern_allow([^am__untar$])
3810m4trace:configure.ac:34: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3811		  [_AM_DEPENDENCIES([CC])],
3812		  [m4_define([AC_PROG_CC],
3813			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
3814AC_PROVIDE_IFELSE([AC_PROG_CXX],
3815		  [_AM_DEPENDENCIES([CXX])],
3816		  [m4_define([AC_PROG_CXX],
3817			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
3818AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3819		  [_AM_DEPENDENCIES([OBJC])],
3820		  [m4_define([AC_PROG_OBJC],
3821			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
3822AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
3823		  [_AM_DEPENDENCIES([OBJCXX])],
3824		  [m4_define([AC_PROG_OBJCXX],
3825			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
3826])
3827m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-dependencies])
3828m4trace:configure.ac:34: -1- AM_SILENT_RULES
3829m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_V$])
3830m4trace:configure.ac:34: -1- AM_SUBST_NOTMAKE([AM_V])
3831m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_V])
3832m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_V$])
3833m4trace:configure.ac:34: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3834m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3835m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
3836m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_BACKSLASH$])
3837m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
3838m4trace:configure.ac:35: -1- AM_MAINTAINER_MODE([enable])
3839m4trace:configure.ac:35: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
3840m4trace:configure.ac:35: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
3841m4trace:configure.ac:35: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
3842m4trace:configure.ac:35: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
3843m4trace:configure.ac:35: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
3844m4trace:configure.ac:35: -1- m4_pattern_allow([^MAINT$])
3845m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
3846m4trace:configure.ac:38: -1- m4_pattern_allow([^CFLAGS$])
3847m4trace:configure.ac:38: -1- m4_pattern_allow([^LDFLAGS$])
3848m4trace:configure.ac:38: -1- m4_pattern_allow([^LIBS$])
3849m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$])
3850m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
3851m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
3852m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
3853m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
3854m4trace:configure.ac:38: -1- m4_pattern_allow([^ac_ct_CC$])
3855m4trace:configure.ac:38: -1- m4_pattern_allow([^EXEEXT$])
3856m4trace:configure.ac:38: -1- m4_pattern_allow([^OBJEXT$])
3857m4trace:configure.ac:38: -1- _AM_PROG_CC_C_O
3858m4trace:configure.ac:38: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
3859m4trace:configure.ac:38: -1- _AM_DEPENDENCIES([CC])
3860m4trace:configure.ac:38: -1- AM_SET_DEPDIR
3861m4trace:configure.ac:38: -1- m4_pattern_allow([^DEPDIR$])
3862m4trace:configure.ac:38: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3863m4trace:configure.ac:38: -1- AM_MAKE_INCLUDE
3864m4trace:configure.ac:38: -1- m4_pattern_allow([^am__include$])
3865m4trace:configure.ac:38: -1- m4_pattern_allow([^am__quote$])
3866m4trace:configure.ac:38: -1- AM_DEP_TRACK
3867m4trace:configure.ac:38: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3868m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_TRUE$])
3869m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_FALSE$])
3870m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3871m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3872m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3873m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3874m4trace:configure.ac:38: -1- m4_pattern_allow([^am__nodep$])
3875m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__nodep])
3876m4trace:configure.ac:38: -1- m4_pattern_allow([^CCDEPMODE$])
3877m4trace:configure.ac:38: -1- AM_CONDITIONAL([am__fastdepCC], [
3878  test "x$enable_dependency_tracking" != xno \
3879  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3880m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3881m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3882m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3883m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3884m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$])
3885m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$])
3886m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$])
3887m4trace:configure.ac:38: -1- AC_PROG_EGREP
3888m4trace:configure.ac:38: -1- m4_pattern_allow([^GREP$])
3889m4trace:configure.ac:38: -1- m4_pattern_allow([^EGREP$])
3890m4trace:configure.ac:38: -1- m4_pattern_allow([^STDC_HEADERS$])
3891m4trace:configure.ac:38: -1- m4_pattern_allow([^_POSIX_SOURCE$])
3892m4trace:configure.ac:38: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
3893m4trace:configure.ac:38: -1- m4_pattern_allow([^_MINIX$])
3894m4trace:configure.ac:38: -1- m4_pattern_allow([^__EXTENSIONS__$])
3895m4trace:configure.ac:38: -1- m4_pattern_allow([^_ALL_SOURCE$])
3896m4trace:configure.ac:38: -1- m4_pattern_allow([^_GNU_SOURCE$])
3897m4trace:configure.ac:38: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
3898m4trace:configure.ac:38: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
3899m4trace:configure.ac:41: -1- LT_INIT
3900m4trace:configure.ac:41: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
3901m4trace:configure.ac:41: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
3902m4trace:configure.ac:41: -1- LTOPTIONS_VERSION
3903m4trace:configure.ac:41: -1- LTSUGAR_VERSION
3904m4trace:configure.ac:41: -1- LTVERSION_VERSION
3905m4trace:configure.ac:41: -1- LTOBSOLETE_VERSION
3906m4trace:configure.ac:41: -1- _LT_PROG_LTMAIN
3907m4trace:configure.ac:41: -1- m4_pattern_allow([^LIBTOOL$])
3908m4trace:configure.ac:41: -1- m4_pattern_allow([^build$])
3909m4trace:configure.ac:41: -1- m4_pattern_allow([^build_cpu$])
3910m4trace:configure.ac:41: -1- m4_pattern_allow([^build_vendor$])
3911m4trace:configure.ac:41: -1- m4_pattern_allow([^build_os$])
3912m4trace:configure.ac:41: -1- m4_pattern_allow([^host$])
3913m4trace:configure.ac:41: -1- m4_pattern_allow([^host_cpu$])
3914m4trace:configure.ac:41: -1- m4_pattern_allow([^host_vendor$])
3915m4trace:configure.ac:41: -1- m4_pattern_allow([^host_os$])
3916m4trace:configure.ac:41: -1- _LT_PREPARE_SED_QUOTE_VARS
3917m4trace:configure.ac:41: -1- _LT_PROG_ECHO_BACKSLASH
3918m4trace:configure.ac:41: -1- LT_PATH_LD
3919m4trace:configure.ac:41: -1- m4_pattern_allow([^SED$])
3920m4trace:configure.ac:41: -1- m4_pattern_allow([^FGREP$])
3921m4trace:configure.ac:41: -1- m4_pattern_allow([^GREP$])
3922m4trace:configure.ac:41: -1- m4_pattern_allow([^LD$])
3923m4trace:configure.ac:41: -1- LT_PATH_NM
3924m4trace:configure.ac:41: -1- m4_pattern_allow([^DUMPBIN$])
3925m4trace:configure.ac:41: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
3926m4trace:configure.ac:41: -1- m4_pattern_allow([^DUMPBIN$])
3927m4trace:configure.ac:41: -1- m4_pattern_allow([^NM$])
3928m4trace:configure.ac:41: -1- m4_pattern_allow([^LN_S$])
3929m4trace:configure.ac:41: -1- LT_CMD_MAX_LEN
3930m4trace:configure.ac:41: -1- m4_pattern_allow([^OBJDUMP$])
3931m4trace:configure.ac:41: -1- m4_pattern_allow([^OBJDUMP$])
3932m4trace:configure.ac:41: -1- m4_pattern_allow([^DLLTOOL$])
3933m4trace:configure.ac:41: -1- m4_pattern_allow([^DLLTOOL$])
3934m4trace:configure.ac:41: -1- m4_pattern_allow([^AR$])
3935m4trace:configure.ac:41: -1- m4_pattern_allow([^ac_ct_AR$])
3936m4trace:configure.ac:41: -1- m4_pattern_allow([^STRIP$])
3937m4trace:configure.ac:41: -1- m4_pattern_allow([^RANLIB$])
3938m4trace:configure.ac:41: -1- _LT_WITH_SYSROOT
3939m4trace:configure.ac:41: -1- m4_pattern_allow([LT_OBJDIR])
3940m4trace:configure.ac:41: -1- m4_pattern_allow([^LT_OBJDIR$])
3941m4trace:configure.ac:41: -1- _LT_CC_BASENAME([$compiler])
3942m4trace:configure.ac:41: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
3943m4trace:configure.ac:41: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
3944m4trace:configure.ac:41: -1- LT_SUPPORTED_TAG([CC])
3945m4trace:configure.ac:41: -1- _LT_COMPILER_BOILERPLATE
3946m4trace:configure.ac:41: -1- _LT_LINKER_BOILERPLATE
3947m4trace:configure.ac:41: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
3948m4trace:configure.ac:41: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
3949     "" | " "*) ;;
3950     *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
3951     esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
3952     _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
3953m4trace:configure.ac:41: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
3954m4trace:configure.ac:41: -1- m4_pattern_allow([^MANIFEST_TOOL$])
3955m4trace:configure.ac:41: -1- _LT_REQUIRED_DARWIN_CHECKS
3956m4trace:configure.ac:41: -1- m4_pattern_allow([^DSYMUTIL$])
3957m4trace:configure.ac:41: -1- m4_pattern_allow([^NMEDIT$])
3958m4trace:configure.ac:41: -1- m4_pattern_allow([^LIPO$])
3959m4trace:configure.ac:41: -1- m4_pattern_allow([^OTOOL$])
3960m4trace:configure.ac:41: -1- m4_pattern_allow([^OTOOL64$])
3961m4trace:configure.ac:41: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
3962m4trace:configure.ac:41: -1- LT_SYS_DLOPEN_SELF
3963m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
3964m4trace:configure.ac:47: -1- XORG_DEFAULT_OPTIONS
3965m4trace:configure.ac:47: -1- XORG_COMPILER_FLAGS
3966m4trace:configure.ac:47: -1- XORG_COMPILER_BRAND
3967m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wall])
3968m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-arith])
3969m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-declarations])
3970m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wformat=2], [-Wformat])
3971m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wstrict-prototypes])
3972m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes])
3973m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs])
3974m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast])
3975m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition])
3976m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement])
3977m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wunused])
3978m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wuninitialized])
3979m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow])
3980m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
3981m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn])
3982m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute])
3983m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls])
3984m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=implicit], [-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED])
3985m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=nonnull])
3986m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=init-self])
3987m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=main])
3988m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=missing-braces])
3989m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=sequence-point])
3990m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=return-type], [-errwarn=E_FUNC_HAS_NO_RETURN_STMT])
3991m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=trigraphs])
3992m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=array-bounds])
3993m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=write-strings])
3994m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=address])
3995m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION])
3996m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast])
3997m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wimplicit])
3998m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnonnull])
3999m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Winit-self])
4000m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmain])
4001m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-braces])
4002m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wsequence-point])
4003m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wreturn-type])
4004m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wtrigraphs])
4005m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Warray-bounds])
4006m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wwrite-strings])
4007m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Waddress])
4008m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast])
4009m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast])
4010m4trace:configure.ac:47: -1- m4_pattern_allow([^BASE_CFLAGS$])
4011m4trace:configure.ac:47: -1- XORG_CWARNFLAGS
4012m4trace:configure.ac:47: -1- m4_pattern_allow([^CWARNFLAGS$])
4013m4trace:configure.ac:47: -1- XORG_STRICT_OPTION
4014m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-pedantic])
4015m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror], [-errwarn])
4016m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror=attributes])
4017m4trace:configure.ac:47: -1- m4_pattern_allow([^STRICT_CFLAGS$])
4018m4trace:configure.ac:47: -1- m4_pattern_allow([^BASE_CFLAGS$])
4019m4trace:configure.ac:47: -2- m4_pattern_allow([^CWARNFLAGS$])
4020m4trace:configure.ac:47: -1- XORG_RELEASE_VERSION
4021m4trace:configure.ac:47: -1- m4_pattern_allow([^PACKAGE_VERSION_MAJOR$])
4022m4trace:configure.ac:47: -1- m4_pattern_allow([^PACKAGE_VERSION_MINOR$])
4023m4trace:configure.ac:47: -1- m4_pattern_allow([^PACKAGE_VERSION_PATCHLEVEL$])
4024m4trace:configure.ac:47: -1- XORG_CHANGELOG
4025m4trace:configure.ac:47: -1- m4_pattern_allow([^CHANGELOG_CMD$])
4026m4trace:configure.ac:47: -1- XORG_INSTALL
4027m4trace:configure.ac:47: -1- PKG_PROG_PKG_CONFIG
4028m4trace:configure.ac:47: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
4029m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
4030m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
4031m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG$])
4032m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
4033m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
4034m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG$])
4035m4trace:configure.ac:47: -1- m4_pattern_allow([^INSTALL_CMD$])
4036m4trace:configure.ac:47: -1- XORG_MANPAGE_SECTIONS
4037m4trace:configure.ac:47: -1- m4_pattern_allow([^APP_MAN_SUFFIX$])
4038m4trace:configure.ac:47: -1- m4_pattern_allow([^LIB_MAN_SUFFIX$])
4039m4trace:configure.ac:47: -1- m4_pattern_allow([^FILE_MAN_SUFFIX$])
4040m4trace:configure.ac:47: -1- m4_pattern_allow([^MISC_MAN_SUFFIX$])
4041m4trace:configure.ac:47: -1- m4_pattern_allow([^DRIVER_MAN_SUFFIX$])
4042m4trace:configure.ac:47: -1- m4_pattern_allow([^ADMIN_MAN_SUFFIX$])
4043m4trace:configure.ac:47: -1- m4_pattern_allow([^APP_MAN_DIR$])
4044m4trace:configure.ac:47: -1- m4_pattern_allow([^LIB_MAN_DIR$])
4045m4trace:configure.ac:47: -1- m4_pattern_allow([^FILE_MAN_DIR$])
4046m4trace:configure.ac:47: -1- m4_pattern_allow([^MISC_MAN_DIR$])
4047m4trace:configure.ac:47: -1- m4_pattern_allow([^DRIVER_MAN_DIR$])
4048m4trace:configure.ac:47: -1- m4_pattern_allow([^ADMIN_MAN_DIR$])
4049m4trace:configure.ac:47: -1- m4_pattern_allow([^XORG_MAN_PAGE$])
4050m4trace:configure.ac:47: -1- m4_pattern_allow([^MAN_SUBSTS$])
4051m4trace:configure.ac:47: -1- AM_SILENT_RULES([yes])
4052m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_V$])
4053m4trace:configure.ac:47: -1- AM_SUBST_NOTMAKE([AM_V])
4054m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([AM_V])
4055m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_DEFAULT_V$])
4056m4trace:configure.ac:47: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
4057m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
4058m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
4059m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_BACKSLASH$])
4060m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
4061m4trace:configure.ac:48: -1- XORG_MEMORY_CHECK_FLAGS
4062m4trace:configure.ac:48: -1- m4_pattern_allow([^XORG_MALLOC_DEBUG_ENV$])
4063m4trace:configure.ac:48: -1- m4_pattern_allow([^XORG_MALLOC_DEBUG_ENV$])
4064m4trace:configure.ac:49: -1- XORG_ENABLE_DOCS
4065m4trace:configure.ac:49: -1- AM_CONDITIONAL([ENABLE_DOCS], [test x$build_docs = xyes])
4066m4trace:configure.ac:49: -1- m4_pattern_allow([^ENABLE_DOCS_TRUE$])
4067m4trace:configure.ac:49: -1- m4_pattern_allow([^ENABLE_DOCS_FALSE$])
4068m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([ENABLE_DOCS_TRUE])
4069m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([ENABLE_DOCS_FALSE])
4070m4trace:configure.ac:50: -1- XORG_WITH_DOXYGEN
4071m4trace:configure.ac:50: -1- m4_pattern_allow([^DOXYGEN$])
4072m4trace:configure.ac:50: -1- m4_pattern_allow([^DOXYGEN$])
4073m4trace:configure.ac:50: -1- m4_pattern_allow([^DOXYGEN$])
4074m4trace:configure.ac:50: -1- AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes])
4075m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_DOXYGEN_TRUE$])
4076m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_DOXYGEN_FALSE$])
4077m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([HAVE_DOXYGEN_TRUE])
4078m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([HAVE_DOXYGEN_FALSE])
4079m4trace:configure.ac:53: -1- AM_PROG_CC_C_O
4080m4trace:configure.ac:60: -1- PKG_PROG_PKG_CONFIG
4081m4trace:configure.ac:60: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
4082m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
4083m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
4084m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG$])
4085m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
4086m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
4087m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG$])
4088m4trace:configure.ac:64: -1- m4_pattern_allow([^YACC$])
4089m4trace:configure.ac:64: -1- m4_pattern_allow([^YACC$])
4090m4trace:configure.ac:64: -1- m4_pattern_allow([^YFLAGS$])
4091m4trace:configure.ac:65: -1- m4_pattern_allow([^YACC_INST$])
4092m4trace:configure.ac:85: -1- AX_GCC_BUILTIN([__builtin_expect])
4093m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE___BUILTIN_EXPECT$])
4094m4trace:configure.ac:89: -1- AM_CONDITIONAL([BUILD_LINUX_TESTS], [test "x$ac_cv_header_linux_input_h" = xyes])
4095m4trace:configure.ac:89: -1- m4_pattern_allow([^BUILD_LINUX_TESTS_TRUE$])
4096m4trace:configure.ac:89: -1- m4_pattern_allow([^BUILD_LINUX_TESTS_FALSE$])
4097m4trace:configure.ac:89: -1- _AM_SUBST_NOTMAKE([BUILD_LINUX_TESTS_TRUE])
4098m4trace:configure.ac:89: -1- _AM_SUBST_NOTMAKE([BUILD_LINUX_TESTS_FALSE])
4099m4trace:configure.ac:91: -1- XORG_TESTSET_CFLAG([BASE_CFLAGS], [-fvisibility=hidden])
4100m4trace:configure.ac:92: -1- XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wextra -Wno-unused-parameter -Wno-missing-field-initializers])
4101m4trace:configure.ac:93: -1- XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wdocumentation])
4102m4trace:configure.ac:101: -1- XORG_CHECK_LINKER_FLAGS([-Wl,--no-undefined], [have_no_undefined=yes])
4103m4trace:configure.ac:104: -1- AM_CONDITIONAL([HAVE_NO_UNDEFINED], [test "x$have_no_undefined" = xyes])
4104m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NO_UNDEFINED_TRUE$])
4105m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NO_UNDEFINED_FALSE$])
4106m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([HAVE_NO_UNDEFINED_TRUE])
4107m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([HAVE_NO_UNDEFINED_FALSE])
4108m4trace:configure.ac:106: -1- m4_pattern_allow([^RT_LIBS$])
4109m4trace:configure.ac:106: -1- m4_pattern_allow([^RT_LIBS$])
4110m4trace:configure.ac:121: -1- m4_pattern_allow([^XKBCONFIGROOT$])
4111m4trace:configure.ac:129: -1- m4_pattern_allow([^XLOCALEDIR$])
4112m4trace:configure.ac:136: -1- m4_pattern_allow([^DEFAULT_XKB_RULES$])
4113m4trace:configure.ac:144: -1- m4_pattern_allow([^DEFAULT_XKB_MODEL$])
4114m4trace:configure.ac:152: -1- m4_pattern_allow([^DEFAULT_XKB_LAYOUT$])
4115m4trace:configure.ac:160: -1- m4_pattern_allow([^DEFAULT_XKB_VARIANT$])
4116m4trace:configure.ac:170: -1- m4_pattern_allow([^DEFAULT_XKB_OPTIONS$])
4117m4trace:configure.ac:179: -1- PKG_CHECK_MODULES([XCB_XKB], [xcb xcb-xkb >= 1.10], [], [AC_MSG_ERROR([xkbcommon-x11 requires xcb-xkb >= 1.10 which was not found. \
4118You can disable X11 support with --disable-x11.])])
4119m4trace:configure.ac:179: -1- m4_pattern_allow([^XCB_XKB_CFLAGS$])
4120m4trace:configure.ac:179: -1- m4_pattern_allow([^XCB_XKB_LIBS$])
4121m4trace:configure.ac:179: -1- PKG_CHECK_EXISTS([xcb xcb-xkb >= 1.10], [pkg_cv_[]XCB_XKB_CFLAGS=`$PKG_CONFIG --[]cflags "xcb xcb-xkb >= 1.10" 2>/dev/null`
4122		      test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
4123m4trace:configure.ac:179: -1- PKG_CHECK_EXISTS([xcb xcb-xkb >= 1.10], [pkg_cv_[]XCB_XKB_LIBS=`$PKG_CONFIG --[]libs "xcb xcb-xkb >= 1.10" 2>/dev/null`
4124		      test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
4125m4trace:configure.ac:179: -1- _PKG_SHORT_ERRORS_SUPPORTED
4126m4trace:configure.ac:184: -1- AM_CONDITIONAL([ENABLE_X11], [test "x$enable_x11" = xyes])
4127m4trace:configure.ac:184: -1- m4_pattern_allow([^ENABLE_X11_TRUE$])
4128m4trace:configure.ac:184: -1- m4_pattern_allow([^ENABLE_X11_FALSE$])
4129m4trace:configure.ac:184: -1- _AM_SUBST_NOTMAKE([ENABLE_X11_TRUE])
4130m4trace:configure.ac:184: -1- _AM_SUBST_NOTMAKE([ENABLE_X11_FALSE])
4131m4trace:configure.ac:194: -1- m4_pattern_allow([^LIB@&t@OBJS$])
4132m4trace:configure.ac:194: -1- m4_pattern_allow([^LTLIBOBJS$])
4133m4trace:configure.ac:194: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
4134m4trace:configure.ac:194: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
4135m4trace:configure.ac:194: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
4136m4trace:configure.ac:194: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
4137m4trace:configure.ac:194: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
4138m4trace:configure.ac:194: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
4139m4trace:configure.ac:194: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
4140m4trace:configure.ac:194: -1- _LT_PROG_LTMAIN
4141