blob: 4235a4a69389ae13b4257688f6495b55edfb546e [file] [log] [blame]
Emeric Vigier2f625822012-08-06 11:09:52 -04001m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
2dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3dnl require some minimum version. Point them to the right macro.
4m4_if([$1], [1.11.1], [],
5 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6])
7m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
8m4_ifndef([AC_AUTOCONF_VERSION],
9 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
10_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
11m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
12AC_PREREQ([2.50])dnl
13# expand $ac_aux_dir to an absolute path
14am_aux_dir=`cd $ac_aux_dir && pwd`
15])
16m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
17 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
18 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
19AC_SUBST([$1_TRUE])dnl
20AC_SUBST([$1_FALSE])dnl
21_AM_SUBST_NOTMAKE([$1_TRUE])dnl
22_AM_SUBST_NOTMAKE([$1_FALSE])dnl
23m4_define([_AM_COND_VALUE_$1], [$2])dnl
24if $2; then
25 $1_TRUE=
26 $1_FALSE='#'
27else
28 $1_TRUE='#'
29 $1_FALSE=
30fi
31AC_CONFIG_COMMANDS_PRE(
32[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
33 AC_MSG_ERROR([[conditional "$1" was never defined.
34Usually this means the macro was only invoked conditionally.]])
35fi])])
36m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
37AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
38AC_REQUIRE([AM_MAKE_INCLUDE])dnl
39AC_REQUIRE([AM_DEP_TRACK])dnl
40
41ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
42 [$1], CXX, [depcc="$CXX" am_compiler_list=],
43 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
44 [$1], UPC, [depcc="$UPC" am_compiler_list=],
45 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
46 [depcc="$$1" am_compiler_list=])
47
48AC_CACHE_CHECK([dependency style of $depcc],
49 [am_cv_$1_dependencies_compiler_type],
50[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
51 # We make a subdir and do the tests there. Otherwise we can end up
52 # making bogus files that we don't know about and never remove. For
53 # instance it was reported that on HP-UX the gcc test will end up
54 # making a dummy file named `D' -- because `-MD' means `put the output
55 # in D'.
56 mkdir conftest.dir
57 # Copy depcomp to subdir because otherwise we won't find it if we're
58 # using a relative directory.
59 cp "$am_depcomp" conftest.dir
60 cd conftest.dir
61 # We will build objects and dependencies in a subdirectory because
62 # it helps to detect inapplicable dependency modes. For instance
63 # both Tru64's cc and ICC support -MD to output dependencies as a
64 # side effect of compilation, but ICC will put the dependencies in
65 # the current directory while Tru64 will put them in the object
66 # directory.
67 mkdir sub
68
69 am_cv_$1_dependencies_compiler_type=none
70 if test "$am_compiler_list" = ""; then
71 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
72 fi
73 am__universal=false
74 m4_case([$1], [CC],
75 [case " $depcc " in #(
76 *\ -arch\ *\ -arch\ *) am__universal=true ;;
77 esac],
78 [CXX],
79 [case " $depcc " in #(
80 *\ -arch\ *\ -arch\ *) am__universal=true ;;
81 esac])
82
83 for depmode in $am_compiler_list; do
84 # Setup a source with many dependencies, because some compilers
85 # like to wrap large dependency lists on column 80 (with \), and
86 # we should not choose a depcomp mode which is confused by this.
87 #
88 # We need to recreate these files for each test, as the compiler may
89 # overwrite some of them when testing with obscure command lines.
90 # This happens at least with the AIX C compiler.
91 : > sub/conftest.c
92 for i in 1 2 3 4 5 6; do
93 echo '#include "conftst'$i'.h"' >> sub/conftest.c
94 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
95 # Solaris 8's {/usr,}/bin/sh.
96 touch sub/conftst$i.h
97 done
98 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
99
100 # We check with `-c' and `-o' for the sake of the "dashmstdout"
101 # mode. It turns out that the SunPro C++ compiler does not properly
102 # handle `-M -o', and we need to detect this. Also, some Intel
103 # versions had trouble with output in subdirs
104 am__obj=sub/conftest.${OBJEXT-o}
105 am__minus_obj="-o $am__obj"
106 case $depmode in
107 gcc)
108 # This depmode causes a compiler race in universal mode.
109 test "$am__universal" = false || continue
110 ;;
111 nosideeffect)
112 # after this tag, mechanisms are not by side-effect, so they'll
113 # only be used when explicitly requested
114 if test "x$enable_dependency_tracking" = xyes; then
115 continue
116 else
117 break
118 fi
119 ;;
120 msvisualcpp | msvcmsys)
121 # This compiler won't grok `-c -o', but also, the minuso test has
122 # not run yet. These depmodes are late enough in the game, and
123 # so weak that their functioning should not be impacted.
124 am__obj=conftest.${OBJEXT-o}
125 am__minus_obj=
126 ;;
127 none) break ;;
128 esac
129 if depmode=$depmode \
130 source=sub/conftest.c object=$am__obj \
131 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
132 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
133 >/dev/null 2>conftest.err &&
134 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
135 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
136 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
137 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
138 # icc doesn't choke on unknown options, it will just issue warnings
139 # or remarks (even with -Werror). So we grep stderr for any message
140 # that says an option was ignored or not supported.
141 # When given -MP, icc 7.0 and 7.1 complain thusly:
142 # icc: Command line warning: ignoring option '-M'; no argument required
143 # The diagnosis changed in icc 8.0:
144 # icc: Command line remark: option '-MP' not supported
145 if (grep 'ignoring option' conftest.err ||
146 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
147 am_cv_$1_dependencies_compiler_type=$depmode
148 break
149 fi
150 fi
151 done
152
153 cd ..
154 rm -rf conftest.dir
155else
156 am_cv_$1_dependencies_compiler_type=none
157fi
158])
159AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
160AM_CONDITIONAL([am__fastdep$1], [
161 test "x$enable_dependency_tracking" != xno \
162 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
163])
164m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
165AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
166])
167m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
168[ --disable-dependency-tracking speeds up one-time build
169 --enable-dependency-tracking do not reject slow dependency extractors])
170if test "x$enable_dependency_tracking" != xno; then
171 am_depcomp="$ac_aux_dir/depcomp"
172 AMDEPBACKSLASH='\'
173fi
174AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
175AC_SUBST([AMDEPBACKSLASH])dnl
176_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
177])
178m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
179 # Autoconf 2.62 quotes --file arguments for eval, but not when files
180 # are listed without --file. Let's play safe and only enable the eval
181 # if we detect the quoting.
182 case $CONFIG_FILES in
183 *\'*) eval set x "$CONFIG_FILES" ;;
184 *) set x $CONFIG_FILES ;;
185 esac
186 shift
187 for mf
188 do
189 # Strip MF so we end up with the name of the file.
190 mf=`echo "$mf" | sed -e 's/:.*$//'`
191 # Check whether this is an Automake generated Makefile or not.
192 # We used to match only the files named `Makefile.in', but
193 # some people rename them; so instead we look at the file content.
194 # Grep'ing the first line is not enough: some people post-process
195 # each Makefile.in and add a new line on top of each file to say so.
196 # Grep'ing the whole file is not good either: AIX grep has a line
197 # limit of 2048, but all sed's we know have understand at least 4000.
198 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
199 dirpart=`AS_DIRNAME("$mf")`
200 else
201 continue
202 fi
203 # Extract the definition of DEPDIR, am__include, and am__quote
204 # from the Makefile without running `make'.
205 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
206 test -z "$DEPDIR" && continue
207 am__include=`sed -n 's/^am__include = //p' < "$mf"`
208 test -z "am__include" && continue
209 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
210 # When using ansi2knr, U may be empty or an underscore; expand it
211 U=`sed -n 's/^U = //p' < "$mf"`
212 # Find all dependency output files, they are included files with
213 # $(DEPDIR) in their names. We invoke sed twice because it is the
214 # simplest approach to changing $(DEPDIR) to its actual value in the
215 # expansion.
216 for file in `sed -n "
217 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
219 # Make sure the directory exists.
220 test -f "$dirpart/$file" && continue
221 fdir=`AS_DIRNAME(["$file"])`
222 AS_MKDIR_P([$dirpart/$fdir])
223 # echo "creating $dirpart/$file"
224 echo '# dummy' > "$dirpart/$file"
225 done
226 done
227}
228])
229m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
230 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
231 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
232])
233m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
234m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
235You should run autoupdate.])dnl
236AC_CONFIG_HEADERS($@)])
237m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
238dnl Autoconf wants to disallow AM_ names. We explicitly allow
239dnl the ones we care about.
240m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
241AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
242AC_REQUIRE([AC_PROG_INSTALL])dnl
243if test "`cd $srcdir && pwd`" != "`pwd`"; then
244 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
245 # is not polluted with repeated "-I."
246 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
247 # test to see if srcdir already configured
248 if test -f $srcdir/config.status; then
249 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
250 fi
251fi
252
253# test whether we have cygpath
254if test -z "$CYGPATH_W"; then
255 if (cygpath --version) >/dev/null 2>/dev/null; then
256 CYGPATH_W='cygpath -w'
257 else
258 CYGPATH_W=echo
259 fi
260fi
261AC_SUBST([CYGPATH_W])
262
263# Define the identity of the package.
264dnl Distinguish between old-style and new-style calls.
265m4_ifval([$2],
266[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
267 AC_SUBST([PACKAGE], [$1])dnl
268 AC_SUBST([VERSION], [$2])],
269[_AM_SET_OPTIONS([$1])dnl
270dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
271m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
272 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
273 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
274 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
275
276_AM_IF_OPTION([no-define],,
277[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
278 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
279
280# Some tools Automake needs.
281AC_REQUIRE([AM_SANITY_CHECK])dnl
282AC_REQUIRE([AC_ARG_PROGRAM])dnl
283AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
284AM_MISSING_PROG(AUTOCONF, autoconf)
285AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
286AM_MISSING_PROG(AUTOHEADER, autoheader)
287AM_MISSING_PROG(MAKEINFO, makeinfo)
288AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
289AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
290AC_REQUIRE([AM_PROG_MKDIR_P])dnl
291# We need awk for the "check" target. The system "awk" is bad on
292# some platforms.
293AC_REQUIRE([AC_PROG_AWK])dnl
294AC_REQUIRE([AC_PROG_MAKE_SET])dnl
295AC_REQUIRE([AM_SET_LEADING_DOT])dnl
296_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
297 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
298 [_AM_PROG_TAR([v7])])])
299_AM_IF_OPTION([no-dependencies],,
300[AC_PROVIDE_IFELSE([AC_PROG_CC],
301 [_AM_DEPENDENCIES(CC)],
302 [define([AC_PROG_CC],
303 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
304AC_PROVIDE_IFELSE([AC_PROG_CXX],
305 [_AM_DEPENDENCIES(CXX)],
306 [define([AC_PROG_CXX],
307 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
308AC_PROVIDE_IFELSE([AC_PROG_OBJC],
309 [_AM_DEPENDENCIES(OBJC)],
310 [define([AC_PROG_OBJC],
311 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
312])
313_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
314dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
315dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
316dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
317AC_CONFIG_COMMANDS_PRE(dnl
318[m4_provide_if([_AM_COMPILER_EXEEXT],
319 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
320])
321m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
322_am_arg=$1
323_am_stamp_count=1
324for _am_header in $config_headers :; do
325 case $_am_header in
326 $_am_arg | $_am_arg:* )
327 break ;;
328 * )
329 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
330 esac
331done
332echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
333m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
334if test x"${install_sh}" != xset; then
335 case $am_aux_dir in
336 *\ * | *\ *)
337 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
338 *)
339 install_sh="\${SHELL} $am_aux_dir/install-sh"
340 esac
341fi
342AC_SUBST(install_sh)])
343m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
344mkdir .tst 2>/dev/null
345if test -d .tst; then
346 am__leading_dot=.
347else
348 am__leading_dot=_
349fi
350rmdir .tst 2>/dev/null
351AC_SUBST([am__leading_dot])])
352m4trace:/usr/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
353 [enable], [m4_define([am_maintainer_other], [disable])],
354 [disable], [m4_define([am_maintainer_other], [enable])],
355 [m4_define([am_maintainer_other], [enable])
356 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
357AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
358 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
359 AC_ARG_ENABLE([maintainer-mode],
360[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
361 (and sometimes confusing) to the casual installer],
362 [USE_MAINTAINER_MODE=$enableval],
363 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
364 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
365 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
366 MAINT=$MAINTAINER_MODE_TRUE
367 AC_SUBST([MAINT])dnl
368
369])
370m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
371m4trace:/usr/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
372You should run autoupdate.])dnl
373AM_MAINTAINER_MODE])
374m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
375cat > confinc << 'END'
376am__doit:
377 @echo this is the am__doit target
378.PHONY: am__doit
379END
380# If we don't find an include directive, just comment out the code.
381AC_MSG_CHECKING([for style of include used by $am_make])
382am__include="#"
383am__quote=
384_am_result=none
385# First try GNU make style include.
386echo "include confinc" > confmf
387# Ignore all kinds of additional output from `make'.
388case `$am_make -s -f confmf 2> /dev/null` in #(
389*the\ am__doit\ target*)
390 am__include=include
391 am__quote=
392 _am_result=GNU
393 ;;
394esac
395# Now try BSD make style include.
396if test "$am__include" = "#"; then
397 echo '.include "confinc"' > confmf
398 case `$am_make -s -f confmf 2> /dev/null` in #(
399 *the\ am__doit\ target*)
400 am__include=.include
401 am__quote="\""
402 _am_result=BSD
403 ;;
404 esac
405fi
406AC_SUBST([am__include])
407AC_SUBST([am__quote])
408AC_MSG_RESULT([$_am_result])
409rm -f confinc confmf
410])
411m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
412$1=${$1-"${am_missing_run}$2"}
413AC_SUBST($1)])
414m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
415AC_REQUIRE_AUX_FILE([missing])dnl
416if test x"${MISSING+set}" != xset; then
417 case $am_aux_dir in
418 *\ * | *\ *)
419 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
420 *)
421 MISSING="\${SHELL} $am_aux_dir/missing" ;;
422 esac
423fi
424# Use eval to expand $SHELL
425if eval "$MISSING --run true"; then
426 am_missing_run="$MISSING --run "
427else
428 am_missing_run=
429 AC_MSG_WARN([`missing' script is too old or missing])
430fi
431])
432m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
433AC_REQUIRE([AC_PROG_MKDIR_P])dnl
434dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
435dnl while keeping a definition of mkdir_p for backward compatibility.
436dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
437dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
438dnl Makefile.ins that do not define MKDIR_P, so we do our own
439dnl adjustment using top_builddir (which is defined more often than
440dnl MKDIR_P).
441AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
442case $mkdir_p in
443 [[\\/$]]* | ?:[[\\/]]*) ;;
444 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
445esac
446])
447m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
448m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
449m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
450m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
451m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
452 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
453 ac_status=$?
454 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
455 (exit $ac_status); }])
456m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
457# Just in case
458sleep 1
459echo timestamp > conftest.file
460# Reject unsafe characters in $srcdir or the absolute working directory
461# name. Accept space and tab only in the latter.
462am_lf='
463'
464case `pwd` in
465 *[[\\\"\#\$\&\'\`$am_lf]]*)
466 AC_MSG_ERROR([unsafe absolute working directory name]);;
467esac
468case $srcdir in
469 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
470 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
471esac
472
473# Do `set' in a subshell so we don't clobber the current shell's
474# arguments. Must try -L first in case configure is actually a
475# symlink; some systems play weird games with the mod time of symlinks
476# (eg FreeBSD returns the mod time of the symlink's containing
477# directory).
478if (
479 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
480 if test "$[*]" = "X"; then
481 # -L didn't work.
482 set X `ls -t "$srcdir/configure" conftest.file`
483 fi
484 rm -f conftest.file
485 if test "$[*]" != "X $srcdir/configure conftest.file" \
486 && test "$[*]" != "X conftest.file $srcdir/configure"; then
487
488 # If neither matched, then we have a broken ls. This can happen
489 # if, for instance, CONFIG_SHELL is bash and it inherits a
490 # broken ls alias from the environment. This has actually
491 # happened. Such a system could not be considered "sane".
492 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
493alias in your environment])
494 fi
495
496 test "$[2]" = conftest.file
497 )
498then
499 # Ok.
500 :
501else
502 AC_MSG_ERROR([newly created file is older than distributed files!
503Check your system clock])
504fi
505AC_MSG_RESULT(yes)])
506m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
507[ --enable-silent-rules less verbose build output (undo: `make V=1')
508 --disable-silent-rules verbose build output (undo: `make V=0')])
509case $enable_silent_rules in
510yes) AM_DEFAULT_VERBOSITY=0;;
511no) AM_DEFAULT_VERBOSITY=1;;
512*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
513esac
514AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
515AM_BACKSLASH='\'
516AC_SUBST([AM_BACKSLASH])dnl
517_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
518])
519m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
520# Installed binaries are usually stripped using `strip' when the user
521# run `make install-strip'. However `strip' might not be the right
522# tool to use in cross-compilation environments, therefore Automake
523# will honor the `STRIP' environment variable to overrule this program.
524dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
525if test "$cross_compiling" != no; then
526 AC_CHECK_TOOL([STRIP], [strip], :)
527fi
528INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
529AC_SUBST([INSTALL_STRIP_PROGRAM])])
530m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
531m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
532m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
533AM_MISSING_PROG([AMTAR], [tar])
534m4_if([$1], [v7],
535 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
536 [m4_case([$1], [ustar],, [pax],,
537 [m4_fatal([Unknown tar format])])
538AC_MSG_CHECKING([how to create a $1 tar archive])
539# Loop over all known methods to create a tar archive until one works.
540_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
541_am_tools=${am_cv_prog_tar_$1-$_am_tools}
542# Do not fold the above two line into one, because Tru64 sh and
543# Solaris sh will not grok spaces in the rhs of `-'.
544for _am_tool in $_am_tools
545do
546 case $_am_tool in
547 gnutar)
548 for _am_tar in tar gnutar gtar;
549 do
550 AM_RUN_LOG([$_am_tar --version]) && break
551 done
552 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
553 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
554 am__untar="$_am_tar -xf -"
555 ;;
556 plaintar)
557 # Must skip GNU tar: if it does not support --format= it doesn't create
558 # ustar tarball either.
559 (tar --version) >/dev/null 2>&1 && continue
560 am__tar='tar chf - "$$tardir"'
561 am__tar_='tar chf - "$tardir"'
562 am__untar='tar xf -'
563 ;;
564 pax)
565 am__tar='pax -L -x $1 -w "$$tardir"'
566 am__tar_='pax -L -x $1 -w "$tardir"'
567 am__untar='pax -r'
568 ;;
569 cpio)
570 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
571 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
572 am__untar='cpio -i -H $1 -d'
573 ;;
574 none)
575 am__tar=false
576 am__tar_=false
577 am__untar=false
578 ;;
579 esac
580
581 # If the value was cached, stop now. We just wanted to have am__tar
582 # and am__untar set.
583 test -n "${am_cv_prog_tar_$1}" && break
584
585 # tar/untar a dummy directory, and stop if the command works
586 rm -rf conftest.dir
587 mkdir conftest.dir
588 echo GrepMe > conftest.dir/file
589 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
590 rm -rf conftest.dir
591 if test -s conftest.tar; then
592 AM_RUN_LOG([$am__untar <conftest.tar])
593 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
594 fi
595done
596rm -rf conftest.dir
597
598AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
599AC_MSG_RESULT([$am_cv_prog_tar_$1])])
600AC_SUBST([am__tar])
601AC_SUBST([am__untar])
602])
603m4trace:m4/libtool.m4:69: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
604AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
605AC_BEFORE([$0], [LT_LANG])dnl
606AC_BEFORE([$0], [LT_OUTPUT])dnl
607AC_BEFORE([$0], [LTDL_INIT])dnl
608m4_require([_LT_CHECK_BUILDDIR])dnl
609
610dnl Autoconf doesn't catch unexpanded LT_ macros by default:
611m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
612m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
613dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
614dnl unless we require an AC_DEFUNed macro:
615AC_REQUIRE([LTOPTIONS_VERSION])dnl
616AC_REQUIRE([LTSUGAR_VERSION])dnl
617AC_REQUIRE([LTVERSION_VERSION])dnl
618AC_REQUIRE([LTOBSOLETE_VERSION])dnl
619m4_require([_LT_PROG_LTMAIN])dnl
620
621_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
622
623dnl Parse OPTIONS
624_LT_SET_OPTIONS([$0], [$1])
625
626# This can be used to rebuild libtool when needed
627LIBTOOL_DEPS="$ltmain"
628
629# Always use our own libtool.
630LIBTOOL='$(SHELL) $(top_builddir)/libtool'
631AC_SUBST(LIBTOOL)dnl
632
633_LT_SETUP
634
635# Only expand once:
636m4_define([LT_INIT])
637])
638m4trace:m4/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
639m4trace:m4/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
640You should run autoupdate.])dnl
641m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
642m4trace:m4/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
643m4trace:m4/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
644You should run autoupdate.])dnl
645m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
646m4trace:m4/libtool.m4:607: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
647AC_MSG_NOTICE([creating $CONFIG_LT])
648_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
649[# Run this file to recreate a libtool stub with the current configuration.])
650
651cat >>"$CONFIG_LT" <<\_LTEOF
652lt_cl_silent=false
653exec AS_MESSAGE_LOG_FD>>config.log
654{
655 echo
656 AS_BOX([Running $as_me.])
657} >&AS_MESSAGE_LOG_FD
658
659lt_cl_help="\
660\`$as_me' creates a local libtool stub from the current configuration,
661for use in further configure time tests before the real libtool is
662generated.
663
664Usage: $[0] [[OPTIONS]]
665
666 -h, --help print this help, then exit
667 -V, --version print version number, then exit
668 -q, --quiet do not print progress messages
669 -d, --debug don't remove temporary files
670
671Report bugs to <bug-libtool@gnu.org>."
672
673lt_cl_version="\
674m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
675m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
676configured by $[0], generated by m4_PACKAGE_STRING.
677
678Copyright (C) 2010 Free Software Foundation, Inc.
679This config.lt script is free software; the Free Software Foundation
680gives unlimited permision to copy, distribute and modify it."
681
682while test $[#] != 0
683do
684 case $[1] in
685 --version | --v* | -V )
686 echo "$lt_cl_version"; exit 0 ;;
687 --help | --h* | -h )
688 echo "$lt_cl_help"; exit 0 ;;
689 --debug | --d* | -d )
690 debug=: ;;
691 --quiet | --q* | --silent | --s* | -q )
692 lt_cl_silent=: ;;
693
694 -*) AC_MSG_ERROR([unrecognized option: $[1]
695Try \`$[0] --help' for more information.]) ;;
696
697 *) AC_MSG_ERROR([unrecognized argument: $[1]
698Try \`$[0] --help' for more information.]) ;;
699 esac
700 shift
701done
702
703if $lt_cl_silent; then
704 exec AS_MESSAGE_FD>/dev/null
705fi
706_LTEOF
707
708cat >>"$CONFIG_LT" <<_LTEOF
709_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
710_LTEOF
711
712cat >>"$CONFIG_LT" <<\_LTEOF
713AC_MSG_NOTICE([creating $ofile])
714_LT_OUTPUT_LIBTOOL_COMMANDS
715AS_EXIT(0)
716_LTEOF
717chmod +x "$CONFIG_LT"
718
719# configure is writing to config.log, but config.lt does its own redirection,
720# appending to config.log, which fails on DOS, as config.log is still kept
721# open by configure. Here we exec the FD to /dev/null, effectively closing
722# config.log, so it can be properly (re)opened and appended to by config.lt.
723lt_cl_success=:
724test "$silent" = yes &&
725 lt_config_lt_args="$lt_config_lt_args --quiet"
726exec AS_MESSAGE_LOG_FD>/dev/null
727$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
728exec AS_MESSAGE_LOG_FD>>config.log
729$lt_cl_success || AS_EXIT(1)
730])
731m4trace:m4/libtool.m4:788: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
732m4trace:m4/libtool.m4:799: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
733m4_case([$1],
734 [C], [_LT_LANG(C)],
735 [C++], [_LT_LANG(CXX)],
736 [Java], [_LT_LANG(GCJ)],
737 [Fortran 77], [_LT_LANG(F77)],
738 [Fortran], [_LT_LANG(FC)],
739 [Windows Resource], [_LT_LANG(RC)],
740 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
741 [_LT_LANG($1)],
742 [m4_fatal([$0: unsupported language: "$1"])])])dnl
743])
744m4trace:m4/libtool.m4:861: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
745m4trace:m4/libtool.m4:861: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
746You should run autoupdate.])dnl
747LT_LANG(C++)])
748m4trace:m4/libtool.m4:862: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
749m4trace:m4/libtool.m4:862: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
750You should run autoupdate.])dnl
751LT_LANG(Fortran 77)])
752m4trace:m4/libtool.m4:863: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
753m4trace:m4/libtool.m4:863: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
754You should run autoupdate.])dnl
755LT_LANG(Fortran)])
756m4trace:m4/libtool.m4:864: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
757m4trace:m4/libtool.m4:864: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
758You should run autoupdate.])dnl
759LT_LANG(Java)])
760m4trace:m4/libtool.m4:865: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
761m4trace:m4/libtool.m4:865: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
762You should run autoupdate.])dnl
763LT_LANG(Windows Resource)])
764m4trace:m4/libtool.m4:1181: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
765AC_ARG_WITH([sysroot],
766[ --with-sysroot[=DIR] Search for dependent libraries within DIR
767 (or the compiler's sysroot if not specified).],
768[], [with_sysroot=no])
769
770dnl lt_sysroot will always be passed unquoted. We quote it here
771dnl in case the user passed a directory name.
772lt_sysroot=
773case ${with_sysroot} in #(
774 yes)
775 if test "$GCC" = yes; then
776 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
777 fi
778 ;; #(
779 /*)
780 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
781 ;; #(
782 no|'')
783 ;; #(
784 *)
785 AC_MSG_RESULT([${with_sysroot}])
786 AC_MSG_ERROR([The sysroot must be an absolute path.])
787 ;;
788esac
789
790 AC_MSG_RESULT([${lt_sysroot:-no}])
791_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
792[dependent libraries, and in which our libraries should be installed.])])
793m4trace:m4/libtool.m4:1445: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
794m4_require([_LT_DECL_SED])dnl
795AC_CACHE_CHECK([$1], [$2],
796 [$2=no
797 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
798 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
799 lt_compiler_flag="$3"
800 # Insert the option either (1) after the last *FLAGS variable, or
801 # (2) before a word containing "conftest.", or (3) at the end.
802 # Note that $ac_compile itself does not contain backslashes and begins
803 # with a dollar sign (not a hyphen), so the echo should work correctly.
804 # The option is referenced via a variable to avoid confusing sed.
805 lt_compile=`echo "$ac_compile" | $SED \
806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
807 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
808 -e 's:$: $lt_compiler_flag:'`
809 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
810 (eval "$lt_compile" 2>conftest.err)
811 ac_status=$?
812 cat conftest.err >&AS_MESSAGE_LOG_FD
813 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
814 if (exit $ac_status) && test -s "$ac_outfile"; then
815 # The compiler can only warn and ignore the option if not recognized
816 # So say no if there are warnings other than the usual output.
817 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
818 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
819 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
820 $2=yes
821 fi
822 fi
823 $RM conftest*
824])
825
826if test x"[$]$2" = xyes; then
827 m4_if([$5], , :, [$5])
828else
829 m4_if([$6], , :, [$6])
830fi
831])
832m4trace:m4/libtool.m4:1487: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
833m4trace:m4/libtool.m4:1487: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
834You should run autoupdate.])dnl
835m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
836m4trace:m4/libtool.m4:1496: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
837m4_require([_LT_DECL_SED])dnl
838AC_CACHE_CHECK([$1], [$2],
839 [$2=no
840 save_LDFLAGS="$LDFLAGS"
841 LDFLAGS="$LDFLAGS $3"
842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
844 # The linker can only warn and ignore the option if not recognized
845 # So say no if there are warnings
846 if test -s conftest.err; then
847 # Append any errors to the config.log.
848 cat conftest.err 1>&AS_MESSAGE_LOG_FD
849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
851 if diff conftest.exp conftest.er2 >/dev/null; then
852 $2=yes
853 fi
854 else
855 $2=yes
856 fi
857 fi
858 $RM -r conftest*
859 LDFLAGS="$save_LDFLAGS"
860])
861
862if test x"[$]$2" = xyes; then
863 m4_if([$4], , :, [$4])
864else
865 m4_if([$5], , :, [$5])
866fi
867])
868m4trace:m4/libtool.m4:1531: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
869m4trace:m4/libtool.m4:1531: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
870You should run autoupdate.])dnl
871m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
872m4trace:m4/libtool.m4:1538: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
873# find the maximum length of command line arguments
874AC_MSG_CHECKING([the maximum length of command line arguments])
875AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
876 i=0
877 teststring="ABCD"
878
879 case $build_os in
880 msdosdjgpp*)
881 # On DJGPP, this test can blow up pretty badly due to problems in libc
882 # (any single argument exceeding 2000 bytes causes a buffer overrun
883 # during glob expansion). Even if it were fixed, the result of this
884 # check would be larger than it should be.
885 lt_cv_sys_max_cmd_len=12288; # 12K is about right
886 ;;
887
888 gnu*)
889 # Under GNU Hurd, this test is not required because there is
890 # no limit to the length of command line arguments.
891 # Libtool will interpret -1 as no limit whatsoever
892 lt_cv_sys_max_cmd_len=-1;
893 ;;
894
895 cygwin* | mingw* | cegcc*)
896 # On Win9x/ME, this test blows up -- it succeeds, but takes
897 # about 5 minutes as the teststring grows exponentially.
898 # Worse, since 9x/ME are not pre-emptively multitasking,
899 # you end up with a "frozen" computer, even though with patience
900 # the test eventually succeeds (with a max line length of 256k).
901 # Instead, let's just punt: use the minimum linelength reported by
902 # all of the supported platforms: 8192 (on NT/2K/XP).
903 lt_cv_sys_max_cmd_len=8192;
904 ;;
905
906 mint*)
907 # On MiNT this can take a long time and run out of memory.
908 lt_cv_sys_max_cmd_len=8192;
909 ;;
910
911 amigaos*)
912 # On AmigaOS with pdksh, this test takes hours, literally.
913 # So we just punt and use a minimum line length of 8192.
914 lt_cv_sys_max_cmd_len=8192;
915 ;;
916
917 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
918 # This has been around since 386BSD, at least. Likely further.
919 if test -x /sbin/sysctl; then
920 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
921 elif test -x /usr/sbin/sysctl; then
922 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
923 else
924 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
925 fi
926 # And add a safety zone
927 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
929 ;;
930
931 interix*)
932 # We know the value 262144 and hardcode it with a safety zone (like BSD)
933 lt_cv_sys_max_cmd_len=196608
934 ;;
935
936 osf*)
937 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
938 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
939 # nice to cause kernel panics so lets avoid the loop below.
940 # First set a reasonable default.
941 lt_cv_sys_max_cmd_len=16384
942 #
943 if test -x /sbin/sysconfig; then
944 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
945 *1*) lt_cv_sys_max_cmd_len=-1 ;;
946 esac
947 fi
948 ;;
949 sco3.2v5*)
950 lt_cv_sys_max_cmd_len=102400
951 ;;
952 sysv5* | sco5v6* | sysv4.2uw2*)
953 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
954 if test -n "$kargmax"; then
955 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
956 else
957 lt_cv_sys_max_cmd_len=32768
958 fi
959 ;;
960 *)
961 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
962 if test -n "$lt_cv_sys_max_cmd_len"; then
963 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
964 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
965 else
966 # Make teststring a little bigger before we do anything with it.
967 # a 1K string should be a reasonable start.
968 for i in 1 2 3 4 5 6 7 8 ; do
969 teststring=$teststring$teststring
970 done
971 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
972 # If test is not a shell built-in, we'll probably end up computing a
973 # maximum length that is only half of the actual maximum length, but
974 # we can't tell.
975 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
976 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
977 test $i != 17 # 1/2 MB should be enough
978 do
979 i=`expr $i + 1`
980 teststring=$teststring$teststring
981 done
982 # Only check the string length outside the loop.
983 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
984 teststring=
985 # Add a significant safety factor because C++ compilers can tack on
986 # massive amounts of additional arguments before passing them to the
987 # linker. It appears as though 1/2 is a usable value.
988 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
989 fi
990 ;;
991 esac
992])
993if test -n $lt_cv_sys_max_cmd_len ; then
994 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
995else
996 AC_MSG_RESULT(none)
997fi
998max_cmd_len=$lt_cv_sys_max_cmd_len
999_LT_DECL([], [max_cmd_len], [0],
1000 [What is the maximum length of a command?])
1001])
1002m4trace:m4/libtool.m4:1671: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
1003m4trace:m4/libtool.m4:1671: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
1004You should run autoupdate.])dnl
1005m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
1006m4trace:m4/libtool.m4:1782: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
1007if test "x$enable_dlopen" != xyes; then
1008 enable_dlopen=unknown
1009 enable_dlopen_self=unknown
1010 enable_dlopen_self_static=unknown
1011else
1012 lt_cv_dlopen=no
1013 lt_cv_dlopen_libs=
1014
1015 case $host_os in
1016 beos*)
1017 lt_cv_dlopen="load_add_on"
1018 lt_cv_dlopen_libs=
1019 lt_cv_dlopen_self=yes
1020 ;;
1021
1022 mingw* | pw32* | cegcc*)
1023 lt_cv_dlopen="LoadLibrary"
1024 lt_cv_dlopen_libs=
1025 ;;
1026
1027 cygwin*)
1028 lt_cv_dlopen="dlopen"
1029 lt_cv_dlopen_libs=
1030 ;;
1031
1032 darwin*)
1033 # if libdl is installed we need to link against it
1034 AC_CHECK_LIB([dl], [dlopen],
1035 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1036 lt_cv_dlopen="dyld"
1037 lt_cv_dlopen_libs=
1038 lt_cv_dlopen_self=yes
1039 ])
1040 ;;
1041
1042 *)
1043 AC_CHECK_FUNC([shl_load],
1044 [lt_cv_dlopen="shl_load"],
1045 [AC_CHECK_LIB([dld], [shl_load],
1046 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1047 [AC_CHECK_FUNC([dlopen],
1048 [lt_cv_dlopen="dlopen"],
1049 [AC_CHECK_LIB([dl], [dlopen],
1050 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1051 [AC_CHECK_LIB([svld], [dlopen],
1052 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1053 [AC_CHECK_LIB([dld], [dld_link],
1054 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1055 ])
1056 ])
1057 ])
1058 ])
1059 ])
1060 ;;
1061 esac
1062
1063 if test "x$lt_cv_dlopen" != xno; then
1064 enable_dlopen=yes
1065 else
1066 enable_dlopen=no
1067 fi
1068
1069 case $lt_cv_dlopen in
1070 dlopen)
1071 save_CPPFLAGS="$CPPFLAGS"
1072 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1073
1074 save_LDFLAGS="$LDFLAGS"
1075 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1076
1077 save_LIBS="$LIBS"
1078 LIBS="$lt_cv_dlopen_libs $LIBS"
1079
1080 AC_CACHE_CHECK([whether a program can dlopen itself],
1081 lt_cv_dlopen_self, [dnl
1082 _LT_TRY_DLOPEN_SELF(
1083 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1084 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1085 ])
1086
1087 if test "x$lt_cv_dlopen_self" = xyes; then
1088 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1089 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1090 lt_cv_dlopen_self_static, [dnl
1091 _LT_TRY_DLOPEN_SELF(
1092 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1093 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1094 ])
1095 fi
1096
1097 CPPFLAGS="$save_CPPFLAGS"
1098 LDFLAGS="$save_LDFLAGS"
1099 LIBS="$save_LIBS"
1100 ;;
1101 esac
1102
1103 case $lt_cv_dlopen_self in
1104 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1105 *) enable_dlopen_self=unknown ;;
1106 esac
1107
1108 case $lt_cv_dlopen_self_static in
1109 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1110 *) enable_dlopen_self_static=unknown ;;
1111 esac
1112fi
1113_LT_DECL([dlopen_support], [enable_dlopen], [0],
1114 [Whether dlopen is supported])
1115_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
1116 [Whether dlopen of programs is supported])
1117_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
1118 [Whether dlopen of statically linked programs is supported])
1119])
1120m4trace:m4/libtool.m4:1899: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
1121m4trace:m4/libtool.m4:1899: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
1122You should run autoupdate.])dnl
1123m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
1124m4trace:m4/libtool.m4:2884: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
1125AC_MSG_CHECKING([for $1])
1126AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
1127[case $MAGIC_CMD in
1128[[\\/*] | ?:[\\/]*])
1129 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1130 ;;
1131*)
1132 lt_save_MAGIC_CMD="$MAGIC_CMD"
1133 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1134dnl $ac_dummy forces splitting on constant user-supplied paths.
1135dnl POSIX.2 word splitting is done only on the output of word expansions,
1136dnl not every word. This closes a longstanding sh security hole.
1137 ac_dummy="m4_if([$2], , $PATH, [$2])"
1138 for ac_dir in $ac_dummy; do
1139 IFS="$lt_save_ifs"
1140 test -z "$ac_dir" && ac_dir=.
1141 if test -f $ac_dir/$1; then
1142 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
1143 if test -n "$file_magic_test_file"; then
1144 case $deplibs_check_method in
1145 "file_magic "*)
1146 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1147 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1148 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1149 $EGREP "$file_magic_regex" > /dev/null; then
1150 :
1151 else
1152 cat <<_LT_EOF 1>&2
1153
1154*** Warning: the command libtool uses to detect shared libraries,
1155*** $file_magic_cmd, produces output that libtool cannot recognize.
1156*** The result is that libtool may fail to recognize shared libraries
1157*** as such. This will affect the creation of libtool libraries that
1158*** depend on shared libraries, but programs linked with such libtool
1159*** libraries will work regardless of this problem. Nevertheless, you
1160*** may want to report the problem to your system manager and/or to
1161*** bug-libtool@gnu.org
1162
1163_LT_EOF
1164 fi ;;
1165 esac
1166 fi
1167 break
1168 fi
1169 done
1170 IFS="$lt_save_ifs"
1171 MAGIC_CMD="$lt_save_MAGIC_CMD"
1172 ;;
1173esac])
1174MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1175if test -n "$MAGIC_CMD"; then
1176 AC_MSG_RESULT($MAGIC_CMD)
1177else
1178 AC_MSG_RESULT(no)
1179fi
1180_LT_DECL([], [MAGIC_CMD], [0],
1181 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
1182])
1183m4trace:m4/libtool.m4:2946: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
1184m4trace:m4/libtool.m4:2946: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
1185You should run autoupdate.])dnl
1186m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
1187m4trace:m4/libtool.m4:2969: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
1188AC_REQUIRE([AC_CANONICAL_HOST])dnl
1189AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1190m4_require([_LT_DECL_SED])dnl
1191m4_require([_LT_DECL_EGREP])dnl
1192m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
1193
1194AC_ARG_WITH([gnu-ld],
1195 [AS_HELP_STRING([--with-gnu-ld],
1196 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
1197 [test "$withval" = no || with_gnu_ld=yes],
1198 [with_gnu_ld=no])dnl
1199
1200ac_prog=ld
1201if test "$GCC" = yes; then
1202 # Check if gcc -print-prog-name=ld gives a path.
1203 AC_MSG_CHECKING([for ld used by $CC])
1204 case $host in
1205 *-*-mingw*)
1206 # gcc leaves a trailing carriage return which upsets mingw
1207 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1208 *)
1209 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1210 esac
1211 case $ac_prog in
1212 # Accept absolute paths.
1213 [[\\/]]* | ?:[[\\/]]*)
1214 re_direlt='/[[^/]][[^/]]*/\.\./'
1215 # Canonicalize the pathname of ld
1216 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
1217 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
1218 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1219 done
1220 test -z "$LD" && LD="$ac_prog"
1221 ;;
1222 "")
1223 # If it fails, then pretend we aren't using GCC.
1224 ac_prog=ld
1225 ;;
1226 *)
1227 # If it is relative, then search for the first ld in PATH.
1228 with_gnu_ld=unknown
1229 ;;
1230 esac
1231elif test "$with_gnu_ld" = yes; then
1232 AC_MSG_CHECKING([for GNU ld])
1233else
1234 AC_MSG_CHECKING([for non-GNU ld])
1235fi
1236AC_CACHE_VAL(lt_cv_path_LD,
1237[if test -z "$LD"; then
1238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1239 for ac_dir in $PATH; do
1240 IFS="$lt_save_ifs"
1241 test -z "$ac_dir" && ac_dir=.
1242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1243 lt_cv_path_LD="$ac_dir/$ac_prog"
1244 # Check to see if the program is GNU ld. I'd rather use --version,
1245 # but apparently some variants of GNU ld only accept -v.
1246 # Break only if it was the GNU/non-GNU ld that we prefer.
1247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
1248 *GNU* | *'with BFD'*)
1249 test "$with_gnu_ld" != no && break
1250 ;;
1251 *)
1252 test "$with_gnu_ld" != yes && break
1253 ;;
1254 esac
1255 fi
1256 done
1257 IFS="$lt_save_ifs"
1258else
1259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1260fi])
1261LD="$lt_cv_path_LD"
1262if test -n "$LD"; then
1263 AC_MSG_RESULT($LD)
1264else
1265 AC_MSG_RESULT(no)
1266fi
1267test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1268_LT_PATH_LD_GNU
1269AC_SUBST([LD])
1270
1271_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
1272])
1273m4trace:m4/libtool.m4:3058: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
1274m4trace:m4/libtool.m4:3058: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
1275You should run autoupdate.])dnl
1276m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
1277m4trace:m4/libtool.m4:3059: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
1278m4trace:m4/libtool.m4:3059: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
1279You should run autoupdate.])dnl
1280m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
1281m4trace:m4/libtool.m4:3353: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
1282AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
1283[if test -n "$NM"; then
1284 # Let the user override the test.
1285 lt_cv_path_NM="$NM"
1286else
1287 lt_nm_to_check="${ac_tool_prefix}nm"
1288 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
1289 lt_nm_to_check="$lt_nm_to_check nm"
1290 fi
1291 for lt_tmp_nm in $lt_nm_to_check; do
1292 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1293 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1294 IFS="$lt_save_ifs"
1295 test -z "$ac_dir" && ac_dir=.
1296 tmp_nm="$ac_dir/$lt_tmp_nm"
1297 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
1298 # Check to see if the nm accepts a BSD-compat flag.
1299 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1300 # nm: unknown option "B" ignored
1301 # Tru64's nm complains that /dev/null is an invalid object file
1302 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
1303 */dev/null* | *'Invalid file or object type'*)
1304 lt_cv_path_NM="$tmp_nm -B"
1305 break
1306 ;;
1307 *)
1308 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
1309 */dev/null*)
1310 lt_cv_path_NM="$tmp_nm -p"
1311 break
1312 ;;
1313 *)
1314 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1315 continue # so that we can try to find one that supports BSD flags
1316 ;;
1317 esac
1318 ;;
1319 esac
1320 fi
1321 done
1322 IFS="$lt_save_ifs"
1323 done
1324 : ${lt_cv_path_NM=no}
1325fi])
1326if test "$lt_cv_path_NM" != "no"; then
1327 NM="$lt_cv_path_NM"
1328else
1329 # Didn't find any BSD compatible name lister, look for dumpbin.
1330 if test -n "$DUMPBIN"; then :
1331 # Let the user override the test.
1332 else
1333 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
1334 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
1335 *COFF*)
1336 DUMPBIN="$DUMPBIN -symbols"
1337 ;;
1338 *)
1339 DUMPBIN=:
1340 ;;
1341 esac
1342 fi
1343 AC_SUBST([DUMPBIN])
1344 if test "$DUMPBIN" != ":"; then
1345 NM="$DUMPBIN"
1346 fi
1347fi
1348test -z "$NM" && NM=nm
1349AC_SUBST([NM])
1350_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
1351
1352AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
1353 [lt_cv_nm_interface="BSD nm"
1354 echo "int some_variable = 0;" > conftest.$ac_ext
1355 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
1356 (eval "$ac_compile" 2>conftest.err)
1357 cat conftest.err >&AS_MESSAGE_LOG_FD
1358 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
1359 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
1360 cat conftest.err >&AS_MESSAGE_LOG_FD
1361 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
1362 cat conftest.out >&AS_MESSAGE_LOG_FD
1363 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
1364 lt_cv_nm_interface="MS dumpbin"
1365 fi
1366 rm -f conftest*])
1367])
1368m4trace:m4/libtool.m4:3443: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
1369m4trace:m4/libtool.m4:3443: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
1370You should run autoupdate.])dnl
1371m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
1372m4trace:m4/libtool.m4:3444: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
1373m4trace:m4/libtool.m4:3444: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
1374You should run autoupdate.])dnl
1375m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
1376m4trace:m4/libtool.m4:3514: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1377LIBM=
1378case $host in
1379*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
1380 # These system don't have libm, or don't need it
1381 ;;
1382*-ncr-sysv4.3*)
1383 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
1384 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
1385 ;;
1386*)
1387 AC_CHECK_LIB(m, cos, LIBM="-lm")
1388 ;;
1389esac
1390AC_SUBST([LIBM])
1391])
1392m4trace:m4/libtool.m4:3533: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
1393m4trace:m4/libtool.m4:3533: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
1394You should run autoupdate.])dnl
1395m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
1396m4trace:m4/libtool.m4:7498: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
1397 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
1398 [AC_CHECK_TOOL(GCJ, gcj,)
1399 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
1400 AC_SUBST(GCJFLAGS)])])[]dnl
1401])
1402m4trace:m4/libtool.m4:7507: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
1403m4trace:m4/libtool.m4:7507: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
1404You should run autoupdate.])dnl
1405m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
1406m4trace:m4/libtool.m4:7514: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
1407])
1408m4trace:m4/libtool.m4:7519: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
1409m4trace:m4/libtool.m4:7519: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
1410You should run autoupdate.])dnl
1411m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
1412m4trace:m4/libtool.m4:7639: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
1413m4trace:m4/libtool.m4:7639: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
1414You should run autoupdate.])dnl
1415m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
1416m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
1417m4trace:m4/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
1418AC_DIAGNOSE([obsolete],
1419[$0: Remove this warning and the call to _LT_SET_OPTION when you
1420put the `dlopen' option into LT_INIT's first parameter.])
1421])
1422m4trace:m4/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1423You should run autoupdate.])dnl
1424_LT_SET_OPTION([LT_INIT], [dlopen])
1425AC_DIAGNOSE([obsolete],
1426[$0: Remove this warning and the call to _LT_SET_OPTION when you
1427put the `dlopen' option into LT_INIT's first parameter.])
1428])
1429m4trace:m4/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
1430_LT_SET_OPTION([LT_INIT], [win32-dll])
1431AC_DIAGNOSE([obsolete],
1432[$0: Remove this warning and the call to _LT_SET_OPTION when you
1433put the `win32-dll' option into LT_INIT's first parameter.])
1434])
1435m4trace:m4/ltoptions.m4:146: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
1436You should run autoupdate.])dnl
1437AC_REQUIRE([AC_CANONICAL_HOST])dnl
1438_LT_SET_OPTION([LT_INIT], [win32-dll])
1439AC_DIAGNOSE([obsolete],
1440[$0: Remove this warning and the call to _LT_SET_OPTION when you
1441put the `win32-dll' option into LT_INIT's first parameter.])
1442])
1443m4trace:m4/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
1444])
1445m4trace:m4/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
1446])
1447m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
1448m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
1449You should run autoupdate.])dnl
1450AC_ENABLE_SHARED($@)])
1451m4trace:m4/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
1452m4trace:m4/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
1453You should run autoupdate.])dnl
1454AC_DISABLE_SHARED($@)])
1455m4trace:m4/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
1456])
1457m4trace:m4/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
1458])
1459m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
1460m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
1461You should run autoupdate.])dnl
1462AC_ENABLE_STATIC($@)])
1463m4trace:m4/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
1464m4trace:m4/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
1465You should run autoupdate.])dnl
1466AC_DISABLE_STATIC($@)])
1467m4trace:m4/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1468AC_DIAGNOSE([obsolete],
1469[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1470the `fast-install' option into LT_INIT's first parameter.])
1471])
1472m4trace:m4/ltoptions.m4:303: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
1473You should run autoupdate.])dnl
1474_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
1475AC_DIAGNOSE([obsolete],
1476[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1477the `fast-install' option into LT_INIT's first parameter.])
1478])
1479m4trace:m4/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1480AC_DIAGNOSE([obsolete],
1481[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1482the `disable-fast-install' option into LT_INIT's first parameter.])
1483])
1484m4trace:m4/ltoptions.m4:310: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
1485You should run autoupdate.])dnl
1486_LT_SET_OPTION([LT_INIT], [disable-fast-install])
1487AC_DIAGNOSE([obsolete],
1488[$0: Remove this warning and the call to _LT_SET_OPTION when you put
1489the `disable-fast-install' option into LT_INIT's first parameter.])
1490])
1491m4trace:m4/ltoptions.m4:343: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
1492AC_DIAGNOSE([obsolete],
1493[$0: Remove this warning and the call to _LT_SET_OPTION when you
1494put the `pic-only' option into LT_INIT's first parameter.])
1495])
1496m4trace:m4/ltoptions.m4:343: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
1497You should run autoupdate.])dnl
1498_LT_SET_OPTION([LT_INIT], [pic-only])
1499AC_DIAGNOSE([obsolete],
1500[$0: Remove this warning and the call to _LT_SET_OPTION when you
1501put the `pic-only' option into LT_INIT's first parameter.])
1502])
1503m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
1504m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4'
1505macro_revision='1.3293'
1506_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
1507_LT_DECL(, macro_revision, 0)
1508])
1509m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
1510m4trace:m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
1511m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
1512m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
1513m4trace:m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
1514m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
1515m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
1516m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
1517m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
1518m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
1519m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
1520m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
1521m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
1522m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
1523m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
1524m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
1525m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
1526m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
1527m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
1528m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
1529m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
1530m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
1531m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
1532m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
1533m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
1534m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
1535m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
1536m4trace:m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
1537m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
1538m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
1539m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
1540m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
1541m4trace:m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
1542m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
1543m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
1544m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
1545m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
1546m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
1547m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
1548m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
1549m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
1550m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
1551m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
1552m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
1553m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
1554m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
1555m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
1556m4trace:m4/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
1557m4trace:m4/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
1558m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
1559m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
1560m4trace:m4/ost_cxx.m4:24: -1- AC_DEFUN([OST_CXX_PROGRAMMING], [
1561 AC_REQUIRE([OST_PROG_CC_POSIX])
1562 AC_PROG_CPP
1563 AC_PROG_CXX
1564 AC_PROG_CXXCPP
1565
1566 dnl
1567 dnl Check for common C++ portability problems
1568 dnl
1569
1570 AC_LANG_SAVE
1571 ac_save_CXXFLAGS="$CXXFLAGS"
1572 CXXFLAGS=""
1573 AC_LANG_CPLUSPLUS
1574
1575 dnl Check whether we have bool
1576 AC_CACHE_CHECK(whether ${CXX} has built-in bool type,
1577 ac_cv_cxx_bool_type,
1578 AC_TRY_COMPILE(,
1579 [bool b1=true; bool b2=false;],
1580 ac_cv_cxx_bool_type=yes,
1581 ac_cv_cxx_bool_type=no
1582 )
1583 )
1584
1585 if test $ac_cv_cxx_bool_type = yes ; then
1586 AC_DEFINE(HAVE_BOOL_TYPE, [1], [have bool type])
1587 fi
1588
1589 AC_LANG_RESTORE
1590 CXXFLAGS="$ac_save_CXXFLAGS"
1591 AH_BOTTOM([
1592#ifndef HAVE_BOOL_TYPE
1593typedef enum { true=1, false=0 } bool;
1594#endif
1595
1596
1597 ])
1598])
1599m4trace:m4/ost_cxx.m4:64: -1- AC_DEFUN([OST_CXX_NEW_INIT], [
1600AC_REQUIRE([OST_PROG_CC_POSIX])
1601# AC_PROG_CPP
1602# AC_PROG_CXX
1603# AC_PROG_CXXCPP
1604
1605 dnl
1606 dnl Check for common C++ portability problems
1607 dnl
1608
1609 AC_LANG_SAVE
1610 ac_save_CXXFLAGS="$CXXFLAGS"
1611 CXXFLAGS=""
1612 AC_LANG_CPLUSPLUS
1613
1614 dnl Check whether we have bool
1615 AC_CACHE_CHECK([whether ${CXX} has new(size_t,void*)],
1616 ac_cv_cxx_new_init,
1617 AC_TRY_COMPILE([#include <new>
1618#include <iostream>
1619using namespace std;],
1620 [int* p1 = new int();
1621int* p2 = new (p1) int();
1622return 0;],
1623 ac_cv_cxx_new_init=yes,
1624 ac_cv_cxx_new_init=no
1625 )
1626 )
1627
1628 if test $ac_cv_cxx_new_init = yes ; then
1629 AC_DEFINE(CCXX_HAVE_NEW_INIT, [1], [have new with init])
1630 fi
1631
1632 AC_LANG_RESTORE
1633 CXXFLAGS="$ac_save_CXXFLAGS"
1634 AH_BOTTOM([
1635#ifdef CCXX_NAMESPACES
1636#define USING(x) using namespace x;
1637#else
1638#define USING(x)
1639#endif
1640
1641#ifdef __KCC
1642#define KAI_NONSTD_IOSTREAM 1
1643#endif
1644 ])
1645])
1646m4trace:m4/ost_cxx.m4:112: -1- AC_DEFUN([OST_CXX_ARRAYS], [
1647 AC_REQUIRE([OST_CXX_PROGRAMMING])
1648 dnl
1649 dnl Determine C++ support for dynamic sized arrays in stack frame.
1650 dnl
1651
1652 AC_LANG_SAVE
1653 AC_LANG_CPLUSPLUS
1654 ac_save_CXXFLAGS="$CXXFLAGS"
1655 CXXFLAGS=""
1656
1657 AC_CACHE_CHECK(wheather dynamic arrays in stack frame,
1658 ost_cv_cxx_array,
1659 AC_TRY_COMPILE(,[
1660 int x;
1661 int y\[x\];
1662 return 0;
1663 ], ost_cv_cxx_array=no, ost_cv_array=yes)
1664 )
1665 if test "$ost_cv_cxx_array" = yes ; then
1666 AC_DEFINE(HAVE_DYN_ARRAY, [1], [c++ dynamic arrays in stack frame])
1667 fi
1668 AC_LANG_RESTORE
1669 CXXFLAGS="$ac_save_CXXFLAGS"
1670])
1671m4trace:m4/ost_cxx.m4:138: -1- AC_DEFUN([OST_CXX_IOSTREAM], [
1672 AC_REQUIRE([OST_CXX_PROGRAMMING])
1673 dnl
1674 dnl Determine kind of C++ iostream support.
1675 dnl
1676
1677 AC_LANG_SAVE
1678 ac_save_CXXFLAGS="$CXXFLAGS"
1679 CXXFLAGS=""
1680 AC_LANG_CPLUSPLUS
1681 AC_CACHE_CHECK(wheather old style iostreams,
1682 ost_cv_cxx_iostream,
1683 AC_TRY_COMPILE([
1684#include <iostream>
1685using namespace std;
1686
1687class mystr : public streambuf, public iostream
1688{
1689 mystr();
1690};
1691
1692mystr::mystr() : streambuf(), iostream((streambuf *)this)
1693{
1694}
1695 ],[return 0;],
1696 ost_cv_cxx_iostream=no,
1697 ost_cv_cxx_iostream=yes
1698 )
1699 )
1700 if test $ost_cv_cxx_iostream = yes ; then
1701 AC_DEFINE(HAVE_OLD_IOSTREAM, [1], [old style iostreams])
1702 fi
1703 AC_CHECK_HEADERS(sstream)
1704
1705 AC_LANG_RESTORE
1706 CXXFLAGS="$ac_save_CXXFLAGS"
1707])
1708m4trace:m4/ost_cxx.m4:176: -1- AC_DEFUN([OST_CXX_NAMESPACE], [
1709 AC_REQUIRE([OST_CXX_PROGRAMMING])
1710
1711 dnl
1712 dnl Determine if C++ supports namespaces.
1713 dnl
1714
1715 AC_LANG_SAVE
1716 ac_save_CXXFLAGS="$CXXFLAGS"
1717 CXXFLAGS=""
1718 AC_LANG_CPLUSPLUS
1719 AC_CACHE_CHECK(whether ${CXX} supports namespace,
1720 ost_cv_cxx_namespace,
1721 AC_TRY_COMPILE([
1722#include <iostream>
1723namespace Test { using namespace std; }],[return 0;],
1724 ost_cv_cxx_namespace=yes,
1725 ost_cv_cxx_namespace=no
1726 )
1727 )
1728
1729 if test "$ost_cv_cxx_namespace" = yes ; then
1730 AC_DEFINE(CCXX_NAMESPACES, [1], [has c++ namespaces])
1731 fi
1732
1733 AC_LANG_RESTORE
1734 CXXFLAGS="$ac_save_CXXFLAGS"
1735])
1736m4trace:m4/ost_cxx.m4:205: -1- AC_DEFUN([OST_CXX_MUTABLE], [
1737 AC_REQUIRE([OST_CXX_PROGRAMMING])
1738
1739 dnl
1740 dnl Determine if C++ supports mutable members.
1741 dnl
1742
1743 AC_LANG_SAVE
1744 ac_save_CXXFLAGS="$CXXFLAGS"
1745 CXXFLAGS=""
1746 AC_LANG_CPLUSPLUS
1747
1748 AC_CACHE_CHECK(whether ${CXX} supports mutable,
1749 ost_cv_cxx_mutable,
1750 AC_TRY_COMPILE([
1751class t {mutable int i;};], [return 0;],
1752 ost_cv_cxx_mutable=yes,
1753 ost_cv_cxx_mutable=no
1754 )
1755 )
1756
1757 if test $ost_cv_cxx_mutable = no ; then
1758 COMMON_FLAGS="$COMMON_FLAGS -Dmutable"
1759 fi
1760
1761 AC_LANG_RESTORE
1762 CXXFLAGS="$ac_save_CXXFLAGS"
1763])
1764m4trace:m4/ost_cxx.m4:234: -1- AC_DEFUN([OST_CXX_NOEXCEPTIONS], [
1765 AC_REQUIRE([OST_CXX_PROGRAMMING])
1766
1767 dnl
1768 dnl Disable C++ exception handling whenever possible.
1769 dnl
1770
1771 AC_LANG_SAVE
1772 ac_save_CXXFLAGS="$CXXFLAGS"
1773 CXXFLAGS=""
1774 AC_LANG_CPLUSPLUS
1775
1776 dnl strip -fexceptions flag if used
1777 optflags=$CXXFLAGS
1778 if test ! -z "$optflags" ; then
1779 CXXFLAGS=""
1780 for opt in $optflags ; do
1781 case $opt in
1782 *rtti*)
1783 ;;
1784 *exceptions*)
1785 ;;
1786 *)
1787 CXXFLAGS="$CXXFLAGS $opt"
1788 ;;
1789 esac
1790 done
1791 fi
1792 AC_CACHE_CHECK(whether ${CXX} supports -fno-exceptions,
1793 ac_cv_cxx_noexception_flag,[
1794 echo 'void f(){}' >conftest.cpp
1795 if test -z "`${CXX} -fno-exceptions -c conftest.cpp 2>&1`"; then
1796 COMMON_FLAGS="$COMMON_FLAGS -fno-exceptions"
1797 ac_cv_cxx_noexception_flag=yes
1798 else
1799 ac_cv_cxx_noexception_flag=no
1800 fi
1801 rm -f conftest*
1802 ])
1803
1804 AC_CACHE_CHECK(whether ${CXX} supports -fno-rtti,
1805 ac_cv_cxx_no_rtti_flag,[
1806 echo '#include <sstream>' >conftest.cpp
1807 echo 'void f(){}' >>conftest.cpp
1808 if test -z "`${CXX} -fno-rtti -c conftest.cpp 2>&1`"; then
1809 COMMON_FLAGS="$COMMON_FLAGS -fno-rtti"
1810 ac_cv_cxx_no_rtti_flag=yes
1811 else
1812 ac_cv_cxx_no_rtti_flag=no
1813 fi
1814 rm -f conftest*
1815 ])
1816
1817 AC_CACHE_CHECK(whether ${CXX} supports -fno-check-new,
1818 ac_cv_cxx_no_check_new_flag,[
1819 echo 'void f(){}' >conftest.cpp
1820 if test -z "`${CXX} -fno-check-new -c conftest.cpp 2>&1`"; then
1821 COMMON_FLAGS="$COMMON_FLAGS -fno-check-new"
1822 ac_cv_cxx_no_check_new_flag=yes
1823 else
1824 ac_cv_cxx_no_check_new_flag=no
1825 fi
1826 rm -f conftest*
1827 ])
1828
1829 AC_CACHE_CHECK(whether ${CXX} supports -finline,
1830 ac_cv_cxx_inline_flag,[
1831 echo 'void f(){}' >conftest.cpp
1832 if test -z "`${CXX} -finline -c conftest.cpp 2>&1`"; then
1833 COMMON_FLAGS="$COMMON_FLAGS -finline"
1834 ac_cv_cxx_inline_flag=yes
1835 else
1836 ac_cv_cxx_inline_flag=no
1837 fi
1838 rm -f conftest*
1839 ])
1840
1841
1842 AC_LANG_RESTORE
1843 CXXFLAGS="$ac_save_CXXFLAGS"
1844])
1845m4trace:m4/ost_cxx.m4:316: -1- AC_DEFUN([OST_CXX_EXCEPTIONS], [
1846 AC_REQUIRE([OST_CXX_PROGRAMMING])
1847
1848 dnl
1849 dnl Enable C++ exception handling whenever possible.
1850 dnl
1851
1852 AC_LANG_SAVE
1853 ac_save_CXXFLAGS="$CXXFLAGS"
1854 CXXFLAGS=""
1855 AC_LANG_CPLUSPLUS
1856
1857 dnl strip -fno-exceptions flag if used
1858 optflags=$CXXFLAGS
1859 if test ! -z "$optflags" ; then
1860 CXXFLAGS=""
1861 for opt in $optflags ; do
1862 case $opt in
1863 *no-rtti*)
1864 ;;
1865 *omit-frame-pointer*)
1866 ;;
1867 *no-exceptions*)
1868 ;;
1869 *)
1870 CXXFLAGS="$CXXFLAGS $opt"
1871 ;;
1872 esac
1873 done
1874 fi
1875
1876 dnl Check for exception handling
1877 AC_CACHE_CHECK(whether ${CXX} supports -fhandle-exceptions,
1878 ac_cv_cxx_exception_flag,[
1879 echo 'void f(){}' >conftest.cpp
1880 if test -z "`${CXX} -fhandle-exceptions -c conftest.cpp 2>&1`"; then
1881 ac_cv_cxx_exception_flag=yes
1882 COMMON_FLAGS="$COMMON_FLAGS -fhandle-exceptions"
1883 else
1884 ac_cv_cxx_exception_flag=no
1885 fi
1886 rm -f conftest*
1887 ])
1888
1889 if test $ac_cv_cxx_exception_flag = "yes" ; then
1890 ac_cv_cxx_exception_handling=yes
1891 else
1892 AC_CACHE_CHECK(whether ${CXX} supports exception handling,
1893 ac_cv_cxx_exception_handling,
1894 AC_TRY_COMPILE(
1895 [void f(void)
1896 {
1897 throw "abc";
1898 }
1899 void g(void)
1900 {
1901 try {
1902 f();
1903 }
1904 catch(char*){}
1905 }
1906 ],,
1907 ac_cv_cxx_exception_handling=yes,
1908 ac_cv_cxx_exception_handling=no
1909 )
1910 )
1911 fi
1912
1913 if test $ac_cv_cxx_exception_handling = yes ; then
1914 AC_DEFINE(CCXX_EXCEPTIONS, [1], [has c++ exception handling])
1915 AC_CHECK_HEADERS(exception)
1916 fi
1917
1918 AC_LANG_RESTORE
1919 CXXFLAGS="$ac_save_CXXFLAGS"
1920 AH_BOTTOM([
1921#ifndef CCXX_EXCEPTIONS
1922/* disable HAVE_EXCEPTION */
1923#ifdef HAVE_EXCEPTION
1924#undef HAVE_EXCEPTION
1925#endif
1926/* throw - replacement to throw an exception */
1927#define THROW(x) abort()
1928/* throw - replacement to declare an exception */
1929#define THROWS(x)
1930/* throw - for empty list */
1931#define NEW_THROWS
1932#define THROWS_EMPTY
1933/*
1934 * work around dangeling if/else combinations:
1935 */
1936#else
1937#define THROW(x) throw x
1938#define THROWS(x) throw(x)
1939#define NEW_THROWS throw()
1940#define THROWS_EMPTY throw()
1941#endif
1942
1943 ])
1944])
1945m4trace:m4/ost_debug.m4:23: -1- AC_DEFUN([OST_DEBUG], [
1946 AC_MSG_CHECKING(for debugging)
1947 AC_ARG_ENABLE(debug, [ --enable-debug compile for debugging])
1948 if test -z "$enable_debug" ; then
1949 enable_debug="no"
1950 elif test $enable_debug = "yes" ; then
1951 CXXFLAGS="${CXXFLAGS} -g -DDEBUG"
1952# CXXFLAGS=`echo $CFLAGS | sed 's/-O.//'`
1953 fi
1954 AC_MSG_RESULT([$enable_debug])
1955 AC_MSG_CHECKING(for profiling)
1956 AC_ARG_ENABLE(profiling, [ --enable-profiling compile for profiling])
1957 if test -z "$enable_profiling" ; then
1958 enable_profiling="no"
1959 elif test "$enable_profiling" = "yes" ; then
1960 CXXFLAGS="${CXXFLAGS} -p"
1961 fi
1962 AC_MSG_RESULT([$enable_profiling])
1963])
1964m4trace:m4/ost_dynamic.m4:23: -1- AC_DEFUN([OST_CC_DYNAMIC], [
1965 DYN_LOADER=''
1966 ost_cv_dynloader=no
1967 AC_REQUIRE([OST_SYS_POSIX])
1968 AC_CHECK_HEADERS(dlfcn.h)
1969 AC_CHECK_LIB(dld, shl_load,
1970 [DYN_LOADER=-ldld,
1971 AC_DEFINE(HAVE_SHL_LOAD, [1], [have shload plugins])])
1972 AC_CHECK_LIB(dl, dlopen, [DYN_LOADER=-ldl])
1973 if test ! -z "$DYN_LOADER" ; then
1974 ost_cv_dynloader=yes
1975 AC_DEFINE(HAVE_MODULES, [1], [support for plugin modules])
1976 else
1977 AC_CHECK_LIB(c, dlopen, [
1978 ost_cv_dynloader=yes
1979 AC_DEFINE(HAVE_MODULES, [1])
1980 ],[
1981 AC_CHECK_HEADERS(mach-o/dyld.h,[
1982 ost_cv_dynloader=yes
1983 AC_DEFINE(HAVE_MODULES, [1])
1984 AC_DEFINE(HAVE_MACH_DYLD, [1], [mach dybloader])
1985 ])
1986 ])
1987 fi
1988 AC_SUBST(DYN_LOADER)
1989])
1990m4trace:m4/ost_endian.m4:23: -1- AC_DEFUN([OST_CC_ENDIAN], [
1991 AC_REQUIRE([AC_CANONICAL_SYSTEM])
1992 AC_REQUIRE([OST_SYS_POSIX])
1993 AC_CHECK_HEADER(endian.h,[
1994 AC_DEFINE(HAVE_ENDIAN_H, [1], [have endian header])
1995 ],[
1996 AC_CHECK_HEADER(sys/isa_defs.h,[
1997 AC_DEFINE(HAVE_SYS_ISA_DEFS_H, [1], [solaris endian])
1998 ],[
1999 case "$target_cpu" in
2000 alpha* | i?86)
2001 AC_DEFINE(__BYTE_ORDER, [1234], [endian byte order])
2002 ;;
2003 hppa* | m68* | mips* | powerpc* | sparc*)
2004 AC_DEFINE(__BYTE_ORDER, [4321])
2005 ;;
2006 esac
2007 ])
2008 ])
2009 AH_BOTTOM([
2010#if defined(HAVE_ENDIAN_H)
2011 #include <endian.h>
2012#elif defined(HAVE_SYS_ISA_DEFS_H)
2013 #include <sys/isa_defs.h>
2014 #ifdef _LITTLE_ENDIAN
2015 #define __BYTE_ORDER 1234
2016 #else
2017 #define __BYTE_ORDER 4321
2018 #endif
2019 #if _ALIGNMENT_REQUIRED > 0
2020 #define __BYTE_ALIGNMENT _MAX_ALIGNMENT
2021 #else
2022 #define __BYTE_ALIGNMENT 1
2023 #endif
2024#endif
2025
2026#ifndef __LITTLE_ENDIAN
2027#define __LITTLE_ENDIAN 1234
2028#define __BIG_ENDIAN 4321
2029#endif
2030
2031#ifndef __BYTE_ORDER
2032#define __BYTE_ORDER 1234
2033#endif
2034
2035#ifndef __BYTE_ALIGNMENT
2036#if defined(SPARC) || defined(sparc)
2037#if defined(__arch64__) || defined(__sparcv9)
2038#define __BYTE_ALIGNMENT 8
2039#else
2040#define __BYTE_ALIGNMENT 4
2041#endif
2042#endif
2043#endif
2044
2045#ifndef __BYTE_ALIGNMENT
2046#define __BYTE_ALIGNMENT 1
2047#endif
2048
2049 ])
2050])
2051m4trace:m4/ost_getopt.m4:23: -1- AC_DEFUN([OST_CC_GETOPT], [
2052 ost_cv_libgetopt_long=false
2053 GETOPT_LIBS=""
2054 LIBGETOPTOBJS=""
2055 AC_REQUIRE([OST_SYS_POSIX])
2056 AC_CHECK_FUNCS(getopt,[
2057 AC_DEFINE(HAVE_GETOPT, [1], [have getopt header])
2058 ],[
2059 AC_CHECK_LIB(m, getopt,[
2060 AC_DEFINE(HAVE_GETOPT, [1])
2061 GETOPT_LIBS="-lm"
2062 ])
2063 ])
2064 AC_CHECK_HEADERS(getopt.h)
2065 AC_CHECK_LIB(gnugetopt, getopt_long,[
2066 AC_DEFINE(HAVE_GETOPT_LONG, [1], [have gnugetopt lib])
2067 GETOPT_LIBS="-lgnugetopt $GETOPT_LIBS"
2068 LIBS="$LIBS -lgnugetopt"],[
2069 AC_CHECK_FUNCS(getopt_long,[
2070 AC_DEFINE(HAVE_GETOPT_LONG, [1])
2071 ],[
2072 LIBGETOPTOBJS="getopt.c getopt1.c"
2073 ])
2074 ])
2075 AC_SUBST(GETOPT_LIBS)
2076 AC_SUBST(LIBGETOPTOBJS)
2077])
2078m4trace:m4/ost_maint.m4:23: -1- AC_DEFUN([OST_AUTOMAKE_MODE], [
2079 AC_MSG_CHECKING([for genorated automake files])
2080 if test -z "[$1]" ; then
2081 ost_AUTOMAKE_TEST=Makefile.in
2082 else
2083 ost_AUTOMAKE_TEST=[$1]
2084 fi
2085 if test ! -f $ost_AUTOMAKE_TEST ; then
2086 AC_MSG_RESULT(missing)
2087 automake -a
2088 else
2089 AC_MSG_RESULT(found)
2090 fi
2091])
2092m4trace:m4/ost_maint.m4:38: -1- AC_DEFUN([OST_MAINTAINER_MODE], [
2093 AM_MAINTAINER_MODE
2094 if test -z "$MAINT" ; then
2095 AC_MSG_CHECKING([for maintainer ftp distribution directory])
2096 if test -d ~ftp/pub ; then
2097 FTPDIR=~ftp/pub
2098 AC_MSG_RESULT(found)
2099 else
2100 AC_MSG_RESULT(missing)
2101 fi
2102 fi
2103 AC_SUBST(FTPDIR)
2104])
2105m4trace:m4/ost_maint.m4:52: -1- AC_DEFUN([AC_SUBST_DIR], [
2106 ifelse($2,,,$1="[$]$2")
2107 result="***"
2108 prior="A"
2109 while test "$prior" != "$result" ; do
2110 prior=`(echo "[$]$1")`
2111 $1=`(
2112 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
2113 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
2114 eval echo \""[$]$1"\"
2115 )`
2116 result=`(echo "[$]$1")`
2117 done
2118 AC_SUBST($1)
2119])
2120m4trace:m4/ost_misc.m4:23: -1- AC_DEFUN([OST_LIB_ZLIB], [
2121 AC_REQUIRE([OST_SYS_POSIX])
2122 ZSTREAM_LIBS=""
2123 ost_cv_lib_zlib=false
2124 AC_CHECK_HEADERS(zlib.h,[
2125 ZSTREAM_LIBS="-lz"
2126 AC_DEFINE(HAVE_ZLIB_H, [1], [have zlib header])
2127 ost_cv_lib_zlib=true])
2128 AC_SUBST(ZSTREAM_LIBS)
2129])
2130m4trace:m4/ost_misc.m4:34: -1- AC_DEFUN([OST_LIB_NOZLIB], [
2131 ZSTREAM_LIBS=""
2132 ost_cv_lib_zlib=false
2133 AC_SUBST(ZSTREAM_LIBS)
2134])
2135m4trace:m4/ost_poll.m4:23: -1- AC_DEFUN([OST_LIB_POLL], [
2136 AC_REQUIRE([OST_CC_SYSTIME])
2137 AC_CHECK_HEADERS(poll.h sys/poll.h sys/stream.h)
2138 AC_CHECK_FUNCS(poll)
2139 AH_BOTTOM([
2140#ifdef HAVE_POLL_H
2141#include <poll.h>
2142#else
2143#ifdef HAVE_SYS_POLL_H
2144#include <sys/poll.h>
2145#endif
2146#endif
2147
2148#if defined(HAVE_POLL) && defined(POLLRDNORM)
2149#define USE_POLL
2150#endif
2151
2152 ])
2153])
2154m4trace:m4/ost_posix.m4:23: -1- AC_DEFUN([OST_SYS_POSIX], [
2155 AC_REQUIRE([OST_PROG_CC_POSIX])
2156 AC_CACHE_CHECK(whether system meets Posix.1,
2157 ost_cv_sys_posix1,
2158 AC_TRY_COMPILE([
2159 #include <sys/types.h>
2160 #include <unistd.h>
2161 ],[
2162 #ifndef _POSIX_VERSION
2163 fatal
2164 #endif
2165 ],
2166 ost_cv_sys_posix1=yes,
2167 ost_cv_sys_posix1=no
2168 )
2169 )
2170 if test $ost_cv_sys_posix1 = no ; then
2171 AC_CHECK_HEADERS(unistd.h)
2172 else
2173 AC_DEFINE(HAVE_UNISTD_H, [1], [have unix header])
2174 fi
2175 AC_CHECK_HEADERS(features.h)
2176 AH_TOP([
2177/* hack for BROKEN autoheader, since it will not predicitably order
2178 macros by any obvious means. */
2179
2180#undef HAVE_UNISTD_H
2181#undef HAVE_FEATURES_H
2182#undef HAVE_SYS_TYPES_H
2183
2184#ifdef HAVE_UNISTD_H
2185#include <unistd.h>
2186#endif
2187
2188#ifndef WIN32
2189#ifdef HAVE_FEATURES_H
2190#include <features.h>
2191#endif
2192#endif
2193
2194#ifdef HAVE_SYS_TYPES_H
2195#include <sys/types.h>
2196#endif
2197 ])
2198])
2199m4trace:m4/ost_posix.m4:69: -1- AC_DEFUN([OST_CC_FCNTL], [
2200 AC_REQUIRE([OST_SYS_POSIX])
2201 AC_CHECK_HEADERS(fcntl.h sys/fcntl.h)
2202AH_BOTTOM([
2203
2204#ifndef HAVE_FCNTL_H
2205#ifdef HAVE_SYS_FCNTL_H
2206#include <sys/fcntl.h>
2207#endif
2208#else
2209#include <fcntl.h>
2210#ifndef O_NDELAY
2211#ifdef HAVE_SYS_FCNTL_H
2212#include <sys/fcntl.h>
2213#endif
2214#endif
2215#endif
2216 ])
2217])
2218m4trace:m4/ost_prog.m4:23: -1- AC_DEFUN([OST_PROG_CC_POSIX], [
2219 AC_PROG_CC
2220 AC_PROG_CPP
2221 AC_ISC_POSIX
2222 AC_MINIX
2223])
2224m4trace:m4/ost_prog.m4:30: -1- AC_DEFUN([OST_PROG_COMMON], [
2225 AC_REQUIRE([AC_PROG_INSTALL])
2226 AC_REQUIRE([AC_PROG_MAKE_SET])
2227])
2228m4trace:m4/ost_prog.m4:35: -1- AC_DEFUN([OST_PROJ_LIBRARY], [
2229 AC_REQUIRE([AM_PROG_LIBTOOL])
2230 AC_REQUIRE([AC_PROG_RANLIB])
2231 if test ! -z "[$2]" ; then
2232 if test ! -z "[$3]" ; then
2233 LT_[$1]_VERSION="-version-info [$3] -release [$2]"
2234 else
2235 LT_[$1]_VERSION="-release [$2]"
2236 fi
2237 AC_SUBST(LT_[$1]_VERSION)
2238 fi
2239])
2240m4trace:m4/ost_prog.m4:48: -1- AC_DEFUN([OST_PROG_LIBVER], [
2241 LT_MAJOR="`echo $LT_VERSION | sed s/:.*$//`"
2242 LT_MINOR="`echo $LT_VERSION | sed s/.*://`"
2243 LT_SUBVER="$LT_MAJOR.$LT_MINOR"
2244 AC_SUBST(LT_RELEASE)
2245 AC_SUBST(LT_SUBVER)
2246 AC_SUBST(LT_MAJOR)
2247 AC_SUBST(LT_MINOR)
2248])
2249m4trace:m4/ost_prog.m4:59: -1- AC_DEFUN([OST_PROG_LIBRARY], [
2250 AC_REQUIRE([AM_PROG_LIBTOOL])
2251 AC_REQUIRE([AC_PROG_RANLIB])
2252 if test ! -z "[$2]" ; then
2253 LT_[$1]_VERSION="-version-info [$2]"
2254 AC_SUBST(LT_[$1]_VERSION)
2255 fi
2256])
2257m4trace:m4/ost_pthread.m4:23: -1- AC_DEFUN([OST_LIB_PTHREAD], [
2258 AC_REQUIRE([OST_SYS_POSIX])
2259 AC_REQUIRE([OST_CC_SYSTIME])
2260 THREAD_FLAGS=""
2261 THREAD_LIBS=""
2262 ost_cv_thread_library="none"
2263 ost_cv_rt_library="none"
2264 ost_cv_cxx_mode=false
2265
2266 AC_ARG_WITH(pthread, [ --with-pthread[=lib] using specified pthread library],
2267 [if test "$withval" != "" ; then ost_cv_thread_library=$withval ; fi]
2268 )
2269
2270 AC_ARG_WITH(linuxthreads, [ --with-linuxthreads use linux kernel mode library
2271 ],[
2272 ost_cv_thread_library=lthread
2273 AC_DEFINE(WITH_LINUXTHREADS, [1], [bsd system using linuxthreads])
2274 if test "$withval" != "yes" ; then
2275 THREAD_FLAGS="-D__USE_GNU -D__USE_UNIX98 -I$withval $THREAD_FLAGS"
2276 CFLAGS="-D__USE_GNU -D__USE_UNIX98 -I$withval $CFLAGS"
2277 else
2278 THREAD_FLAGS="-D__USE_GNU -D__USE_UNIX98 -I/usr/local/include/pthread/linuxthreads $THREAD_FLAGS"
2279 CFLAGS="-D__USE_GNU -D__USE_UNIX98 -I/usr/local/include/pthread/linuxthreads $CFLAGS"
2280 fi
2281 ])
2282
2283 AC_CHECK_HEADERS(pthread.h, [
2284 AC_DEFINE(HAVE_PTHREAD_H, [1], [posix thread header])
2285 ost_cv_posix_threads=yes],
2286 ost_cv_posix_threads=no)
2287
2288 if test $ost_cv_posix_threads = no ; then
2289 AC_LANG_SAVE
2290 ac_save_CXXFLAGS="$CXXFLAGS"
2291 AC_LANG_CPLUSPLUS
2292 CXXFLAGS="$CXXFLAGS -pthread"
2293 AC_TRY_COMPILE([#include <pthread.h>],[],
2294 AC_DEFINE(HAVE_PTHREAD_H, [1])
2295 ost_cv_cxx_mode=true
2296 ost_cv_posix_threads=yes)
2297 CXXFLAGS="$ac_save_CXXFLAGS"
2298 AC_LANG_RESTORE
2299 fi
2300
2301 AC_LANG_SAVE
2302 ac_save_CXXFLAGS="$CXXFLAGS"
2303 CXXFLAGS=""
2304 AC_LANG_CPLUSPLUS
2305
2306 ost_cv_posix_atomic=no
2307 AC_CHECK_HEADERS(sys/atomic_op.h,[
2308 AC_DEFINE(HAVE_ATOMIC_AIX, [1], [atomic aix operations])
2309 ])
2310 AC_CHECK_HEADERS([sys/atomic.h],
2311 ost_cv_posix_sys_atomic=yes,
2312 ost_cv_posix_sys_atomic=no)
2313 if test $ost_cv_posix_sys_atomic = yes ; then
2314 AC_MSG_CHECKING([for atomic_t])
2315 AC_TRY_COMPILE([#include <sys/atomic.h>],[
2316 atomic_t at; at.counter = 1;
2317 atomic_dec_and_test(&at);
2318 atomic_sub(4, &at);
2319 atomic_inc(&at);
2320 atomic_add(3, &at);
2321 ],[
2322 ost_cv_posix_atomic=yes
2323 AC_DEFINE(HAVE_WORKING_SYS_ATOMIC_H, [1], [has usable atomic functions])],
2324 [ost_cv_posix_atomic=no])
2325 AC_MSG_RESULT($ost_cv_posix_atomic)
2326 fi
2327
2328 if test 0 = 1 ; then
2329 dnl check for gcc's bits/atomicity and the atomic functions therein
2330 AC_CHECK_HEADERS([bits/atomicity.h],
2331 ost_cv_bits_atomicity=yes,
2332 ost_cv_bits_atomicity=no)
2333 if test $ost_cv_bits_atomicity = yes ; then
2334 AC_MSG_CHECKING([for _Atomic_word])
2335 AC_TRY_COMPILE([#include <bits/atomicity.h>],[
2336 _Atomic_word i = 0;
2337 __atomic_add(&i, 1);
2338 __exchange_and_add(&i, 1);
2339 ],
2340 [ost_cv_gcc_atomic=yes
2341 AC_DEFINE(HAVE_GCC_BITS_ATOMIC, [1], [has gcc atomic functions])],
2342 [ost_cv_gcc_atomic=no])
2343 AC_MSG_RESULT($ost_cv_gcc_atomic)
2344
2345 AC_MSG_CHECKING([for __gnu_cxx::_Atomic_word])
2346 AC_TRY_COMPILE([#include <bits/atomicity.h>],[
2347 using namespace __gnu_cxx;
2348 _Atomic_word i = 0;
2349 __atomic_add(&i, 1);
2350 __exchange_and_add(&i, 1);
2351 ],[
2352 ost_cv_gcc_cxx_atomic=yes
2353 AC_DEFINE(HAVE_GCC_CXX_BITS_ATOMIC, [1],
2354 [has __gnu_cxx atomic functions])
2355 ],[
2356 ost_cv_gcc_cxx_atomic=no
2357 ])
2358 AC_MSG_RESULT($ost_cv_gcc_cxx_atomic)
2359 fi
2360 fi
2361
2362 AC_LANG_RESTORE
2363 CXXFLAGS="$ac_save_CXXFLAGS"
2364
2365 if test "$target" = NONE ; then
2366 targetdir=""
2367 else
2368 targetdir="$target"
2369 fi
2370
2371 AC_CHECK_HEADERS(thread.h)
2372 if test "$prefix" = NONE ; then
2373 thrprefix="/usr/$targetdir/include"
2374 if test -d /usr/$targetdir/sys-include ; then
2375 thrprefix="$prefix/$targetdir/sys-include" ; fi
2376 else
2377 thrprefix="$prefix/$targetdir/include"
2378 if test -d "$prefix/$targetdir/sys-include" ; then
2379 thrprefix="$prefix/$targetdir/sys-include" ; fi
2380 fi
2381
2382 if test ! -f $thrprefix/thread.h ; then
2383 thrprefix=/usr/include
2384 fi
2385
2386 AC_SUBST(thrprefix)
2387
2388 if test $ost_cv_posix_threads = yes ; then
2389 if test "$ost_cv_thread_library" = "none" ; then
2390 ost_cv_thread_flags=""
2391 for flags in -kthread -pthread -mthreads -pthreads -Kthread --threadsafe -mt ; do
2392
2393 AC_MSG_CHECKING(whether ${CC-cc} accepts $flags)
2394 echo 'void f(){}' >conftest.c
2395 if test -z "`${CC-cc} $flags -c conftest.c 2>&1`"; then
2396 ost_cv_thread_flags=$flags
2397 AC_MSG_RESULT(yes)
2398 else
2399 AC_MSG_RESULT(no)
2400 fi
2401 rm -f conftest*
2402 if test ! -z "$ost_cv_thread_flags" ; then break ; fi
2403 done
2404 # if test "$ost_cv_prog_cc_pthread" = "no" ; then
2405 # AC_CACHE_CHECK(whether ${CC-cc} accepts -mthreads,
2406 # ost_cv_prog_cc_mthreads,
2407 # [echo 'void f(){}' >conftest.c
2408 # if test -z "`${CC-cc} -mthreads -c conftest.c 2>&1`"; then
2409 # ost_cv_prog_cc_mthreads=yes
2410 # else
2411 # ost_cv_prog_cc_mthreads=no
2412 # fi
2413 # rm -f conftest*
2414 # ])
2415 # fi
2416 ost_cv_thread_library=none
2417 AC_CHECK_LIB(pthread, pthread_self,
2418 ost_cv_thread_library=pthread,
2419 AC_CHECK_LIB(c_r, pthread_self,
2420 ost_cv_thread_library=c_r,
2421 AC_CHECK_LIB(pthread, pthread_kill,
2422 ost_cv_thread_library=pthread,
2423 AC_CHECK_LIB(pthreads, pthread_self,
2424 ost_cv_thread_library=pthreads,
2425 AC_CHECK_LIB(thread, pthread_self,
2426 ost_cv_thread_library=thread)))))
2427
2428 if test $ost_cv_thread_library = none ; then
2429 AC_CHECK_LIB(gthreads, pthread_self,[
2430 AC_CHECK_LIB(malloc, malloc)
2431 ost_cv_thread_library=gthreads])
2432 fi
2433 if test $ost_cv_thread_library = none ; then
2434 AC_CHECK_LIB(cma, pthread_self,
2435 ost_cv_thread_library=cma)
2436 fi
2437
2438 if test $ost_cv_thread_library = none ; then
2439 AC_CHECK_LIB(c, pthread_self,
2440 ost_cv_thread_library=c)
2441 fi
2442
2443 if test $ost_cv_thread_library = none ; then
2444 AC_MSG_ERROR(no library for posix threads found!)
2445 fi
2446 else
2447 # ost_cv_prog_cc_pthread=no
2448 # ost_cv_prog_cc_mthreads=no
2449 ost_cv_thread_flags=""
2450 fi
2451
2452 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_mach_thread_np,
2453 AC_DEFINE(HAVE_PTHREAD_MACH_THREAD_NP, [1], [has mach link])
2454 )
2455
2456 AC_CHECK_LIB(${ost_cv_thread_library}, nanosleep,
2457 AC_DEFINE(HAVE_PTHREAD_NANOSLEEP, [1], [has nanosleep]),[
2458 AC_CHECK_LIB(posix4, nanosleep,[
2459 AC_DEFINE(HAVE_PTHREAD_NANOSLEEP, [1])
2460 THREAD_LIBS="$THREAD_LIBS -lposix4"
2461 ],[
2462 AC_CHECK_LIB(rt, nanosleep,[
2463 AC_DEFINE(HAVE_PTHREAD_NANOSLEEP, [1])
2464 ost_cv_rt_library="-lrt"])
2465 ])
2466
2467 ])
2468
2469 AC_CHECK_LIB(rt, clock_gettime,[
2470 ost_cv_rt_library="-lrt"
2471 AC_DEFINE(HAVE_HIRES_TIMER, [1], [have hires])
2472 ],[
2473 AC_CHECK_FUNCS(clock_gettime,[
2474 AC_DEFINE(HAVE_HIRES_TIMER, [1], [have hires])
2475 ])
2476 ])
2477
2478 AC_CHECK_LIB(rt, mlockall,[
2479 AC_DEFINE(HAVE_MLOCK, [1], [have mlock])
2480 AC_DEFINE(HAVE_MLOCKALL, [1], [have memlockall])
2481 ost_cv_rt_library="-lrt"],
2482 [
2483 AC_CHECK_FUNCS(mlock)
2484 AC_CHECK_FUNCS(mlockall)
2485 ])
2486
2487 if test "$ost_cv_rt_library" != "none" ; then
2488 THREAD_LIBS="$THREAD_LIBS $ost_cv_rt_library" ; fi
2489
2490 if test ! -z "$ost_cv_thread_flags" ; then
2491 THREAD_LIBS="$THREAD_LIBS $ost_cv_thread_flags" ; fi
2492 if test "$ost_cv_thread_library" != "none" -a "$ost_cv_thread_library" != "c" ; then
2493 THREAD_LIBS="$THREAD_LIBS -l$ost_cv_thread_library" ; fi
2494
2495 AC_MSG_CHECKING([if more special flags are required for pthreads])
2496 flag=no
2497 case "${host_cpu}-${host_os}" in
2498 *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
2499 *solaris* | alpha*-osf*) flag="-D_REENTRANT";;
2500 esac
2501 AC_MSG_RESULT(${flag})
2502 if test "x$flag" != xno; then
2503 THREAD_FLAGS="$flag"
2504 fi
2505
2506 AC_SUBST(THREAD_FLAGS)
2507 AC_SUBST(THREAD_LIBS)
2508# LIBS="$THREAD_LIBS $LIBS"
2509 if test "$ost_cv_thread_library" != "lthread" ; then
2510 AC_CHECK_HEADERS(pthread_np.h)
2511 fi
2512 AC_CHECK_HEADERS(semaphore.h)
2513 AC_CHECK_HEADERS(sched.h)
2514 AC_CHECK_HEADERS(sys/sched.h)
2515 AC_CHECK_FUNCS(sched_getscheduler)
2516 AC_CACHE_CHECK([for recursive mutex type support], ost_cv_mutex_recursive,
2517 [
2518 ost_cv_mutex_recursive="none"
2519
2520 if test "$ost_cv_cxx_mode" = true ; then
2521 AC_LANG_SAVE
2522 AC_LANG_CPLUSPLUS
2523 ac_save_CXXFLAGS="$CXXFLAGS"
2524 CXXFLAGS="$CXXFLAGS -pthread"
2525 fi
2526
2527 AC_TRY_COMPILE(
2528 [#include <pthread.h>],
2529 [
2530 #ifndef PTHREAD_MUTEXTYPE_RECURSIVE
2531 #ifdef PTHREAD_MUTEX_RECURSIVE
2532 #define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE
2533 #endif
2534 #endif
2535 return (int)PTHREAD_MUTEXTYPE_RECURSIVE;
2536 ],
2537 ost_cv_mutex_recursive="portable",
2538 [
2539 AC_EGREP_HEADER(PTHREAD_MUTEXTYPE_RECURSIVE_NP,pthread.h,
2540 ost_cv_mutex_recursive=non-portable)
2541 AC_EGREP_HEADER(PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP, pthread.h,
2542 ost_cv_mutex_recursive=lthread)
2543 AC_EGREP_HEADER(PTHREAD_MUTEX_RECURSIVE_NP,pthread.h,
2544 ost_cv_mutex_recursive=linux)
2545 AC_EGREP_HEADER(MUTEX_TYPE_COUNTING_FAST,pthread.h,
2546 ost_cv_mutex_recursive=counting)
2547 ])
2548 if test $ost_cv_mutex_recursive = "none" ; then
2549 if test $ost_cv_thread_library = "lthread" ; then
2550 ost_cv_mutex_recursive=linux
2551 fi
2552 fi
2553 rm -f conftest*
2554 ])
2555
2556 if test $ost_cv_mutex_recursive = "none" ; then
2557 AC_TRY_COMPILE(
2558 [#include <pthread.h>],
2559 [return MUTEX_TYPE_COUNTING_FAST;],
2560 ost_cv_mutex_recursive=counting)
2561 fi
2562
2563 if test "$ost_cv_cxx_mode" = true ; then
2564 CXXFLAGS="$ac_save_CXXFLAGS"
2565 AC_LANG_RESTORE
2566 fi
2567
2568
2569 case $ost_cv_mutex_recursive in
2570 non-portable)
2571 AC_DEFINE(PTHREAD_MUTEXTYPE_RECURSIVE,
2572 PTHREAD_MUTEXTYPE_RECURSIVE_NP, [mutex type])
2573 ;;
2574 linux)
2575 AC_DEFINE(PTHREAD_MUTEXTYPE_RECURSIVE,
2576 PTHREAD_MUTEX_RECURSIVE_NP)
2577 ;;
2578 counting)
2579 AC_DEFINE(PTHREAD_MUTEXTYPE_RECURSIVE,
2580 MUTEX_TYPE_COUNTING_FAST)
2581 ;;
2582 esac
2583
2584 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_mutexattr_settype,
2585 AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_SETTYPE, [1], [has setttype]),
2586 [
2587 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_mutexattr_settype_np,
2588 AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP,
2589 [1], [has non portable settype]))
2590 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_mutexattr_setkind_np,
2591 AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_SETKIND_NP,
2592 [1], [has non portable setkind]))
2593 ]
2594 )
2595
2596 ost_cv_thread_rwlock=false
2597 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_rwlock_init,[
2598 ost_cv_thread_rwlock=true
2599 AC_DEFINE(HAVE_PTHREAD_RWLOCK, [1], [has rwlock support])])
2600
2601 AC_CHECK_LIB(c, pread,[
2602 AC_DEFINE(HAVE_PREAD_PWRITE, [1], [has pwrite])],[
2603 AC_CHECK_LIB(${ost_cv_thread_library}, pread,[
2604 AC_DEFINE(HAVE_PREAD_PWRITE, [1])],[
2605 AC_CHECK_LIB(c_r, pread,[AC_DEFINE(HAVE_PREAD_PWRITE)])
2606 ])
2607 ])
2608
2609 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_suspend,
2610 AC_DEFINE(HAVE_PTHREAD_SUSPEND, [1], [has suspend]))
2611
2612 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_attr_setstacksize,
2613 AC_DEFINE(HAVE_PTHREAD_ATTR_SETSTACKSIZE, [1], [has stack size]))
2614
2615 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_yield_np,
2616 AC_DEFINE(HAVE_PTHREAD_YIELD_NP, [1], [has np yield]),[
2617 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_yield,
2618 AC_DEFINE(HAVE_PTHREAD_YIELD, [1], [has yield]),[
2619 AC_CHECK_LIB(${ost_cv_thread_library}, sched_yield,
2620 AC_DEFINE(HAVE_PTHREAD_SCHED_YIELD, [1], [has sched yield]))
2621 ])
2622 ])
2623
2624 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_cancel,[
2625 AC_DEFINE(HAVE_PTHREAD_CANCEL, [1], [has cancel])
2626 AC_CHECK_LIB(${ost_cv_thread_library},
2627 pthread_setcanceltype,
2628 AC_DEFINE(HAVE_PTHREAD_SETCANCELTYPE, [1], [has setcanceltype]),
2629 AC_CHECK_LIB($ost_cv_thread_library, pthread_setcanel,
2630 AC_DEFINE(HAVE_PTHREAD_SETCANCEL, [1], [has setcancel])))
2631 ],[
2632 AC_CHECK_LIB(${ost_cv_thread_library},
2633 pthread_setcanceltype,[
2634 AC_DEFINE(HAVE_PTHREAD_CANCEL)
2635 AC_DEFINE(HAVE_PTHREAD_SETCANCELTYPE)])
2636
2637 ])
2638
2639 AC_CHECK_LIB(${ost_cv_thread_library}, pthread_delay_np,
2640 AC_DEFINE(HAVE_PTHREAD_DELAY_NP, [1], [has non portable delay]))
2641
2642 fi
2643
2644 UNAME=`uname`
2645 if test "$UNAME" = "AIX" ; then
2646 AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
2647 CC=$PTHREAD_CC
2648 AC_DEFINE(COMMON_AIX_FIXES, [1], [aix fixes needed])
2649 fi
2650
2651 AH_BOTTOM([
2652#ifdef HAVE_THREAD_H
2653#include "@thrprefix@/thread.h"
2654#if defined(i386) && defined(__svr4__) && !defined(__sun)
2655#define _THR_UNIXWARE
2656#endif
2657#if defined(__SVR4) && defined(__sun)
2658#define _THR_SUNOS5
2659#else
2660#if defined(__SVR4__) && defined(__SUN__)
2661#define _THR_SUNOS5
2662#endif
2663#endif
2664#endif
2665
2666#ifdef HAVE_WORKING_SYS_ATOMIC_H
2667#include <sys/atomic.h>
2668#define HAVE_ATOMIC
2669#elif defined(HAVE_ATOMIC_AIX)
2670#include <sys/atomic_op.h>
2671#ifndef HAVE_ATOMIC
2672#define HAVE_ATOMIC
2673#endif
2674#endif
2675
2676#if defined(__cplusplus)
2677#if defined(HAVE_GCC_BITS_ATOMIC) || defined(HAVE_GCC_CXX_BITS_ATOMIC)
2678#include <bits/atomicity.h>
2679#define HAVE_ATOMIC
2680#endif
2681#endif
2682
2683#if defined(HAVE_PTHREAD_H) && ( defined(_THREAD_SAFE) || defined(_REENTRANT) )
2684
2685#ifdef __QNX__
2686#define __EXT_QNX
2687#endif
2688
2689#include <pthread.h>
2690
2691#ifdef HAVE_PTHREAD_NP_H
2692#include <pthread_np.h>
2693#endif
2694
2695#ifdef HAVE_SEMAPHORE_H
2696#include <semaphore.h>
2697#endif
2698#ifdef _POSIX_PRIORITY_SCHEDULING
2699#ifdef HAVE_SCHED_H
2700#include <sched.h>
2701#else
2702#ifdef HAVE_SYS_SCHED_H
2703#include <sys/sched.h>
2704#endif
2705#endif
2706#endif
2707
2708#define __PTHREAD_H__
2709#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
2710#ifdef MUTEX_TYPE_COUNTING_FAST
2711#define PTHREAD_MUTEXTYPE_RECURSIVE MUTEX_TYPE_COUNTING_FAST
2712#endif
2713#endif
2714#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
2715#ifdef PTHREAD_MUTEX_RECURSIVE
2716#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE
2717#endif
2718#endif
2719#ifndef HAVE_PTHREAD_MUTEXATTR_SETTYPE
2720#if HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
2721#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
2722#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
2723#endif
2724#define pthread_mutexattr_gettype(x, y) pthread_mutexattr_getkind_np(x, y)
2725#define pthread_mutexattr_settype(x, y) pthread_mutexattr_setkind_np(x, y)
2726#endif
2727#if HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP
2728#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
2729#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEXTYPE_RECURSIVE_NP
2730#endif
2731#define pthread_mutexattr_settype(x, y) pthread_mutexattr_settype_np(x, y)
2732#define pthread_mutexattr_gettype(x, y) pthread_mutexattr_gettype_np(x, y)
2733#endif
2734#endif
2735
2736#ifdef HAVE_PTHREAD_MACH_THREAD_NP
2737#define _THR_MACH
2738#endif
2739
2740#ifndef HAVE_PTHREAD_YIELD
2741#ifdef HAVE_PTHREAD_YIELD_NP
2742#define pthread_yield() pthread_yield_np()
2743#define HAVE_PTHREAD_YIELD
2744#endif
2745#endif
2746
2747#ifndef HAVE_PTHREAD_YIELD
2748#ifdef HAVE_PTHREAD_SCHED_YIELD
2749#define pthread_yield() sched_yield()
2750#define HAVE_PTHREAD_YIELD
2751#endif
2752#endif
2753
2754#ifndef HAVE_PTHREAD_DELAY
2755#ifdef HAVE_PTHREAD_DELAY_NP
2756#define HAVE_PTHREAD_DELAY
2757#define pthread_delay(x) pthread_delay_np(x)
2758#endif
2759#if defined(HAVE_PTHREAD_NANOSLEEP)
2760#ifndef HAVE_PTHREAD_DELAY
2761#define HAVE_PTHREAD_DELAY
2762#ifdef __FreeBSD__
2763#ifdef __cplusplus
2764extern "C" int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
2765#endif
2766#endif
2767#define pthread_delay(x) nanosleep(x, NULL)
2768#endif
2769#endif
2770#endif
2771
2772#ifdef HAVE_PTHREAD_ATTR_SETSTACK
2773#ifndef PTHREAD_STACK_MIN
2774#define PTHREAD_STACK_MIN 32768
2775#endif
2776#endif
2777
2778#ifndef HAVE_PTHREAD_CANCEL
2779#ifdef SIGCANCEL
2780#define CCXX_SIG_THREAD_CANCEL SIGCANCEL
2781#else
2782#define CCXX_SIG_THREAD_CANCEL SIGQUIT
2783#endif
2784#define pthread_cancel(x) pthread_kill(x, CCXX_SIG_THREAD_CANCEL)
2785#define pthread_setcanceltype(x, y)
2786#define pthread_setcancelstate(x, y)
2787#endif
2788
2789#ifndef HAVE_PTHREAD_SETCANCELTYPE
2790#ifdef HAVE_PTHREAD_SETCANCEL
2791enum
2792{ PTHREAD_CANCEL_ASYNCHRONOUS = CANCEL_ON,
2793 PTHREAD_CANCEL_DEFERRED = CANCEL_OFF};
2794enum
2795{ PTHREAD_CANCEL_ENABLE = CANCEL_ON,
2796 PTHREAD_CANCEL_DISABLE = CANCEL_OFF};
2797#define pthread_setcancelstate(x, y) \
2798 (y == NULL) ? pthread_setcancel(x) : *y = pthread_setcancel
2799#define pthread_setcanceltype(x, y) \
2800 (y == NULL) ? pthread_setasynccancel(x) | *y = pthread_setasynccancel(x)
2801#else
2802#define pthread_setcanceltype(x, y)
2803#define pthread_setcancelstate(x, y)
2804#endif
2805#endif
2806
2807#ifdef _AIX
2808#ifdef HAVE_PTHREAD_SUSPEND
2809#undef HAVE_PTHREAD_SUSPEND
2810#endif
2811#endif
2812
2813#endif
2814
2815
2816 ])
2817
2818])
2819m4trace:m4/ost_reentrant.m4:23: -1- AC_DEFUN([OST_LIB_REENTRANT], [
2820 reentrant_lib=${ost_cv_thread_library}
2821 if test -z "$reentrant_lib" ; then
2822 reentrant_lib=c_r
2823 fi
2824 if test "c" = "$reentrant_lib" ; then
2825 reentrant_lib=c_r
2826 fi
2827 if test "none" = "$reentrant_lib" ; then
2828 reentrant_lib=c_r
2829 fi
2830
2831 AC_CHECK_FUNCS(setenv)
2832 AC_CHECK_LIB($reentrant_lib, localtime_r,[
2833 AC_DEFINE(HAVE_STRTOK_R, [1], [reentrant strtok])
2834 AC_DEFINE(HAVE_LOCALTIME_R, [1], [reentrant localtime])],[
2835 AC_CHECK_LIB(c, strtok_r, AC_DEFINE(HAVE_STRTOK_R))
2836 AC_CHECK_LIB(c, localtime_r, AC_DEFINE(HAVE_LOCALTIME_R))
2837 ])
2838 AC_CHECK_LIB($reentrant_lib, readdir_r,[
2839 AC_DEFINE(HAVE_READDIR_R, [1], [reentrant readdir])],[
2840 AC_CHECK_LIB(c, readdir_r, AC_DEFINE(HAVE_READDIR_R, [1]))
2841 ])
2842 AC_CHECK_LIB($reentrant_lib, strerror_r,[
2843 AC_DEFINE(HAVE_STRERROR_R, [1], [reentrant strerror])],[
2844 AC_CHECK_LIB(c, strerror_r, AC_DEFINE(HAVE_STRERROR_R, [1]))
2845 ])
2846 AC_CHECK_LIB($reentrant_lib, getpwuid_r,[
2847 AC_DEFINE(HAVE_GETPWUID_R, [1], [reentrant getuid])
2848 AC_DEFINE(HAVE_GETPWNAM_R, [1], [reentrant getnam])],[
2849 AC_CHECK_LIB(c, getpwuid_r, AC_DEFINE(HAVE_GETPWUID_R))
2850 AC_CHECK_LIB(c, getpwnam_r, AC_DEFINE(HAVE_GETPWNAM_R))
2851 ])
2852 AC_CHECK_LIB($reentrant_lib, getgrnam_r,[
2853 AC_DEFINE(HAVE_GETGRNAM_R, [1], [reentrant getgrnam])],[
2854 AC_CHECK_LIB(c, getgrnam_r, AC_DEFINE(HAVE_GETGRNAM_R))
2855 ])
2856 AH_BOTTOM([
2857
2858#ifndef HAVE_STRERROR_R
2859#define strerror_r(e, b, l) b = ::strerror(e)
2860#endif
2861
2862#ifndef HAVE_GETPWUID_R
2863#define getpwuid_r(uid, rec, buf, size, ptr) ptr = ::getpwuid(uid)
2864#define getpwnam_r(name, rec, buf, size, ptr) ptr = ::getpwnam(name)
2865#endif
2866
2867 ])
2868])
2869m4trace:m4/ost_signal.m4:23: -1- AC_DEFUN([OST_CC_SIGNAL], [
2870 AC_REQUIRE([OST_SYS_POSIX])
2871 AC_CHECK_FUNCS(sigaction)
2872 AC_CHECK_FUNCS(setitimer)
2873 AC_CHECK_FUNCS(sigwait)
2874 AC_CHECK_HEADERS(bsd/signal.h)
2875 AC_TYPE_SIGNAL
2876 AC_CACHE_CHECK(whether sigwait has 2 arguments,
2877 ac_cv_ost_sigwait2,
2878 AC_TRY_COMPILE([
2879 #ifndef _POSIX_PTHREAD_SEMANTICS
2880 #define _POSIX_PTHREAD_SEMANTICS
2881 #endif
2882 #ifndef _GNU_SOURCE
2883 #define _GNU_SOURCE
2884 #endif
2885 #include <stdio.h>
2886 #include <signal.h>
2887 ],[
2888 sigset_t sigs; int signo; sigwait(&sigs, &signo);],
2889 ac_cv_ost_sigwait2=yes,
2890 ac_cv_ost_sigwait2=no
2891 )
2892 )
2893 if test "$ac_cv_ost_sigwait2" = "yes" ; then
2894 AC_DEFINE(HAVE_SIGWAIT2, [1], [2 argument form])
2895 fi
2896AH_BOTTOM([
2897#ifdef HAVE_SIGACTION
2898#ifdef HAVE_BSD_SIGNAL_H
2899#undef HAVE_BSD_SIGNAL_H
2900#endif
2901#endif
2902
2903/* Cause problem with Solaris... and perhaps Digital Unix?
2904 However, the autoconf test in ost_signal defines _POSIX_PTHREAD_SEMANTICS
2905 when trying to compile sigwait2. */
2906
2907#ifdef HAVE_SIGWAIT2
2908#ifndef _POSIX_PTHREAD_SEMANTICS
2909#define _POSIX_PTHREAD_SEMANTICS
2910#endif
2911#endif
2912
2913#ifdef HAVE_BSD_SIGNAL_H
2914#include <bsd/signal.h>
2915#else
2916#include <signal.h>
2917#endif
2918#ifndef SA_ONESHOT
2919#define SA_ONESHOT SA_RESETHAND
2920#endif
2921
2922 ])
2923])
2924m4trace:m4/ost_socket.m4:23: -1- AC_DEFUN([OST_SYS_SOCKET], [
2925 AC_REQUIRE([OST_CC_SYSTIME])
2926 AC_REQUIRE([OST_CC_TYPES])
2927 ost_cv_inet_sockets=no
2928 ost_cv_unix_sockets=no
2929 ost_cv_lib_socket="c"
2930 ost_cv_ipv6=yes
2931 ost_cv_nat=yes
2932 ost_cv_nat_detected=no
2933 SOCKET_LIBS=""
2934 AC_CHECK_HEADERS(net/if.h)
2935 AC_CHECK_HEADERS(sys/socket.h,[
2936 AC_CHECK_HEADERS(select.h sys/select.h netinet/in_systm.h netinet/ip.h)
2937 AC_CHECK_HEADERS(netinet/inet.h netinet/in.h)
2938 AC_CHECK_HEADERS(arpa/inet.h, ost_cv_inet_sockets=yes)
2939 AC_CHECK_HEADERS(sys/sockio.h)
2940 AC_CHECK_HEADERS(sys/un.h, ost_cv_unix_sockets=yes)
2941 ],[
2942 AC_CHECK_HEADERS(winsock2.h winsock.h,[
2943 ost_cv_lib_socket="wsock32"
2944 SOCKET_LIBS="-lwsock32 -liberty -lws2_32"
2945 ost_cv_inet_sockets=yes
2946 ])
2947 ])
2948 AC_CHECK_LIB(socket, socket, [
2949 ost_cv_lib_socket="socket"
2950 SOCKET_LIBS="-lsocket"
2951 ])
2952
2953 if test $ost_cv_inet_sockets = yes ; then
2954 AC_CHECK_LIB(${ost_cv_lib_socket}, getaddrinfo,[
2955 AC_DEFINE(HAVE_GETADDRINFO, [1], [getaddrinfo interface support])
2956 ])
2957 AC_ARG_WITH(ipv6, [ --without-ipv6 Disable ipv6],
2958 ost_cv_ipv6=no,[
2959 AC_CHECK_HEADERS(netinet6/in6.h linux/in6.h)
2960 AC_CHECK_LIB(${ost_cv_lib_socket}, inet_pton,[
2961 AC_DEFINE(HAVE_INET_PTON, [1], [ipv6 support])])
2962 AC_CHECK_LIB(${ost_cv_lib_socket}, gethostbyname2,[
2963 AC_DEFINE(HAVE_GETHOSTBYNAME2, [1], [ipv6 host lookup])])
2964 ])
2965 AC_CHECK_HEADERS(sys/libcsys.h)
2966 AC_DEFINE(HAVE_INET_SOCKETS, [1], [inet sockets])
2967 AC_CHECK_LIB(${ost_cv_lib_socket}, inet_aton,[
2968 AC_DEFINE(HAVE_INET_ATON, [1], [has inet_aton])])
2969 AC_CACHE_CHECK([for socklen_t defined], ost_cv_socklen_t, [
2970 ost_cv_socklen_t='no'
2971 AC_EGREP_HEADER(socklen_t, sys/socket.h,
2972 ost_cv_socklen_t='yes',[
2973 AC_EGREP_HEADER(socklen_t, cygwin/socket.h,
2974 ost_cv_socklen_t='yes')])
2975 ])
2976 if test $ost_cv_socklen_t = yes ; then
2977 AC_DEFINE(HAVE_SOCKLEN_T, [1], [has socklen_t type])
2978 fi
2979
2980 AC_ARG_WITH([nat],
2981 [AC_HELP_STRING([--without-nat],[ Disable NAT class interface (pf, ipf or netfilter), default is enabled.])],
2982 [ost_cv_nat=no]
2983 )
2984
2985 if test "$ost_cv_nat" = "yes" ; then
2986
2987 AC_CHECK_HEADERS([errno.h limits.h sys/types.h sys/socket.h sys/ioctl.h unistd.h])
2988 AC_CHECK_HEADERS([net/if.h],,,
2989 [#ifdef HAVE_SYS_SOCKET_H
2990 #include <sys/socket.h>
2991 #endif])
2992
2993 if test "$ost_cv_nat_detected" = "no" ; then
2994 AC_CHECK_HEADERS([linux/netfilter_ipv4.h linux/netfilter_ipv6.h],,,
2995 [#ifdef HAVE_LIMITS_H
2996 #include <limits.h>
2997 #endif])
2998 if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes" &&
2999 [ test "$ac_cv_header_linux_netfilter_ipv6_h" = "yes" &&
3000 test "$ost_cv_ipv6" = "yes" ||
3001 test "$ost_cv_ipv6" = "no" ] ; then
3002 AC_DEFINE(HAVE_NAT_NETFILTER, [1], [NetFilter NAT support])
3003 ost_cv_nat_detected="yes"
3004 fi
3005 fi
3006
3007 if test "$ost_cv_nat_detected" = "no" ; then
3008 ip_filter_compat="no"
3009 AC_CHECK_HEADERS([netinet/ip_compat.h ip_compat.h netinet/ip_fil_compat.h ip_fil_compat.h],
3010 [ip_filter_compat=$ac_header
3011 break],,
3012 [#ifdef HAVE_SYS_TYPES_H
3013 #include <sys/types.h>
3014 #endif
3015 #ifdef HAVE_SYS_SOCKET_H
3016 #include <sys/socket.h>
3017 #endif
3018 #ifdef HAVE_NETINET_IN_H
3019 #include <netinet/in.h>
3020 #endif])
3021 if test "$ip_filter_compat" != "no" ; then
3022 ip_filter_fil="no"
3023 AC_CHECK_HEADERS([netinet/ip_fil.h ip_fil.h],
3024 [ip_filter_fil=$ac_header
3025 break],,
3026 [#ifdef HAVE_SYS_TYPES_H
3027 #include <sys/types.h>
3028 #endif
3029 #ifdef HAVE_SYS_SOCKET_H
3030 #include <sys/socket.h>
3031 #endif
3032 #ifdef HAVE_NETINET_IN_H
3033 #include <netinet/in.h>
3034 #endif
3035 #include <$ip_filter_compat>])
3036 ip_filter_nat="no"
3037 AC_CHECK_HEADERS([netinet/ip_nat.h ip_nat.h],
3038 [ip_filter_nat=$ac_header
3039 break],,
3040 [#ifdef HAVE_SYS_TYPES_H
3041 #include <sys/types.h>
3042 #endif
3043 #ifdef HAVE_SYS_SOCKET_H
3044 #include <sys/socket.h>
3045 #endif
3046 #ifdef HAVE_NETINET_IN_H
3047 #include <netinet/in.h>
3048 #endif
3049 #include <$ip_filter_compat>
3050 #include <$ip_filter_fil>
3051 #ifdef HAVE_NET_IF_H
3052 #include <net/if.h>
3053 #endif])
3054 if test "$ip_filter_fil" != "no" &&
3055 test "$ip_filter_nat" != "no" ; then
3056 AC_DEFINE(HAVE_NAT_IPF, [1], [IPF NAT support])
3057 ost_cv_nat_detected="yes"
3058 fi
3059 fi
3060 fi
3061
3062 if test "$ost_cv_nat_detected" = "no" ; then
3063 AC_CHECK_HEADERS([net/pfvar.h],,,
3064 [#ifdef HAVE_SYS_TYPES_H
3065 #include <sys/types.h>
3066 #endif
3067 #ifdef HAVE_SYS_SOCKET_H
3068 #include <sys/socket.h>
3069 #endif
3070 #ifdef HAVE_NET_IF_H
3071 #include <net/if.h>
3072 #endif
3073 #ifdef HAVE_NETINET_IN_H
3074 #include <netinet/in.h>
3075 #endif])
3076 if test "$ac_cv_header_net_pfvar.h" = "yes" ; then
3077 AC_DEFINE(HAVE_NAT_PF, [1], [PF NAT support])
3078 ost_cv_nat_detected="yes"
3079 fi
3080 fi
3081
3082 if test "$ost_cv_nat_detected" = "yes"; then
3083 AC_DEFINE(CCXX_NAT, [1], [NAT support])
3084 else
3085 AC_MSG_WARN([-------------------------------------------------------])
3086 AC_MSG_WARN([Could not autodetect NAT engine - pf, ipf or netfilter.])
3087 AC_MSG_WARN([NAT engine c++ class interface support was disabled. ])
3088 AC_MSG_WARN([This is not necessarilly a problem. If you do not plan ])
3089 AC_MSG_WARN([to use or don't know what this is, than it is safe to ])
3090 AC_MSG_WARN([assume that you don't need it. ])
3091 AC_MSG_WARN([-------------------------------------------------------])
3092 ost_cv_nat="no"
3093 fi
3094 fi
3095 fi
3096
3097 if test $ost_cv_unix_sockets = yes ; then
3098 AC_DEFINE(HAVE_UNIX_SOCKETS, [1], [has unix domain sockets])
3099 fi
3100 THREAD_LIBS="$SOCKET_LIBS $THREAD_LIBS"
3101 AC_SUBST(SOCKET_LIBS)
3102 AH_BOTTOM([
3103
3104#ifdef HAVE_SYS_LIBCSYS_H
3105#include <sys/libcsys.h>
3106#endif
3107
3108#ifdef HAVE_WINSOCK2_H
3109#include <winsock2.h>
3110#else
3111#ifdef HAVE_WINSOCK_H
3112#include <winsock.h>
3113#else
3114#ifdef HAVE_SYS_SOCKET_H
3115#include <sys/socket.h>
3116#ifdef HAVE_SELECT_H
3117#include <select.h>
3118#else
3119#ifdef HAVE_SYS_SELECT_H
3120#include <sys/select.h>
3121#endif
3122#endif
3123
3124#ifdef HAVE_NETINET_IN_H
3125#if defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
3126#undef _XOPEN_SOURCE_EXTENDED
3127#endif
3128#include <netinet/in.h>
3129#ifdef __hpux
3130#define _XOPEN_SOURCE_EXTENDED
3131#endif
3132#endif
3133#ifdef HAVE_ARPA_INET_H
3134#include <arpa/inet.h>
3135#include <netdb.h>
3136#endif
3137
3138#ifdef HAVE_NETINET6_IN6_H
3139#include <netinet6/in6.h>
3140#endif
3141
3142#ifdef HAVE_LINIX_IN6_H
3143#include <linux/in6.h>
3144#endif
3145
3146#ifdef HAVE_NETINET_IN_SYSTM_H
3147#include <netinet/in_systm.h>
3148#endif
3149#ifdef HAVE_NETINET_IP_H
3150#include <netinet/ip.h>
3151#endif
3152#ifdef HAVE_SYS_UN_H
3153#include <sys/un.h>
3154#endif
3155#endif
3156#endif
3157#endif
3158
3159#ifndef HAVE_INET_ATON
3160#define inet_aton(cp, addr) (((*(unsigned long int *)(addr)) = inet_addr(cp)) != -1)
3161#endif
3162
3163#ifndef SUN_LEN
3164#ifdef SCM_RIGHTS
3165#define HAVE_UN_LEN
3166#endif
3167#ifdef __linux__
3168#define HAVE_UN_LEN
3169#endif
3170#ifdef HAVE_UN_LEN
3171#define SUN_LEN(ptr) sizeof(sockaddr_un.sun_len) + sizeof(sockaddr_un.sun_family) + sizeof(sockaddr_un.sun_path) + 1
3172#else
3173#define SUN_LEN(ptr) ((size_t)((struct sockaddr_un *)0)->sun_path) + strlen((ptr)->sun_path))
3174#endif
3175#endif
3176
3177#ifndef _OSF_SOURCE
3178#ifndef HAVE_SOCKLEN_T
3179#if defined(i386) && defined(__svr4__)
3180#define HAVE_SOCKLEN_U
3181#else
3182#if defined(__CYGWIN32__)
3183#define socklen_t int
3184#else
3185typedef int socklen_t;
3186#endif
3187#endif
3188
3189#ifdef HAVE_SOCKLEN_U
3190#if !defined(__CYGWIN32__) && !defined(__MINGW32__)
3191typedef unsigned socklen_t;
3192#else
3193typedef int socklen_t;
3194#endif
3195#endif
3196#endif
3197#endif
3198
3199#ifdef __hpux
3200#ifdef mutable
3201#undef mutable
3202#endif
3203#endif
3204
3205#if defined(AF_INET6) && defined(HAVE_INET_PTON)
3206#define CCXX_IPV6
3207#endif
3208
3209#define CCXX_MULTIFAMILY_IP
3210
3211 ])
3212])
3213m4trace:m4/ost_ssl.m4:23: -1- AC_DEFUN([OST_LIB_NOSSL], [
3214 SSL_LIBS=""
3215 AC_SUBST(SSL_LIBS)
3216])
3217m4trace:m4/ost_ssl.m4:28: -1- AC_DEFUN([OST_LIB_SSL], [
3218 SSL_LIBS=""
3219#
3220# WE CANNOT YET USE GNUTLS BECAUSE GNUTLS OPENSSL EMULATION DOES
3221# NOT SUPPORT THREAD SAFETY, SO ssl.cpp MUST BE REWRITTEN TO USE
3222# NATIVE GNUTLS API.
3223#
3224# AC_CHECK_HEADER(gnutls/gnutls.h,[
3225# AC_CHECK_LIB(gnutls, gnutls_init, [
3226# SSL_LIBS="-lgnutls -lgcrypt -ltasn1"
3227# ost_cv_ssl=true
3228# AC_DEFINE(CCXX_SSL, [GNUTLS], [defines ssl])
3229# AC_DEFINE(CCXX_GNUTLS, [1], [define gnutls])
3230# ])
3231# ],[
3232 AC_CHECK_HEADER(openssl/ssl.h,[
3233 SSL_LIBS="-lssl"
3234 ost_cv_ssl=true
3235 AC_DEFINE(CCXX_OPENSSL, [1], [define openssl])
3236 AC_DEFINE(CCXX_SSL, [OPENSSL], [defines ssl])
3237 ])
3238# ])
3239 AC_SUBST(SSL_LIBS)
3240])
3241m4trace:m4/ost_stlport.m4:29: -1- AC_DEFUN([OST_SEARCH_LIBS], [
3242 AC_PREREQ([2.13])
3243 AC_CACHE_CHECK([for library containing $1], [ost_cv_search_$1],[
3244 ac_func_search_save_LIBS="$LIBS"
3245 ost_cv_search_$1="no"
3246 AC_TRY_LINK([$2], [$3], [ost_cv_search_$1="none required"])
3247 test "$ost_cv_search_$1" = "no" && for i in $4; do
3248 LIBS="-l$i $7 $ac_func_search_save_LIBS"
3249 AC_TRY_LINK([$2], [$3],[
3250 ost_cv_search_$1="-l$i"
3251 break
3252 ])
3253 done
3254 LIBS="$ac_func_search_save_LIBS"
3255 ])
3256 if test "$ost_cv_search_$1" != "no"; then
3257 test "$ost_cv_search_$1" = "none required" || LIBS="$ost_cv_search_$1 $LIBS"
3258 $5
3259 else :
3260 $6
3261 fi
3262])
3263m4trace:m4/ost_stlport.m4:53: -1- AC_DEFUN([OST_SGI_STLPORT], [
3264 AC_REQUIRE([OST_CXX_PROGRAMMING])
3265
3266 dnl
3267 dnl Check for sgi/stlport portable c++ library
3268 dnl
3269
3270 AC_LANG_SAVE
3271 ac_save_CXXFLAGS="$CXXFLAGS"
3272 CXXFLAGS=""
3273 AC_LANG_CPLUSPLUS
3274
3275 AC_ARG_WITH(stlport, [ --with-stlport[=dir] using SGI portable C++ stream library
3276 ie: /usr/local, not all include directory],[
3277 if test "$withval" = "" ; then
3278 COMMON_FLAGS="-I$(includedir)/stlport $COMMON_FLAGS"
3279 else
3280 COMMON_FLAGS="-I$withval/include/stlport $COMMON_FLAGS"
3281 LIBS="-L$withval/lib $LIBS"
3282 fi
3283 dnl AC_SEARCH_LIBS do not run (consider name mangling)
3284 OST_SEARCH_LIBS(__stl_throw_invalid_argument, [
3285 namespace _STL { void __stl_throw_invalid_argument(const char*); }
3286 ], [_STL::__stl_throw_invalid_argument("x")], [stlport_gcc stlport_cygwin stlport_mingw32 stlport_sunpro stlport_watcom])
3287 ])
3288
3289 AC_LANG_RESTORE
3290 CXXFLAGS="$ac_save_CXXFLAGS"
3291])
3292m4trace:m4/ost_string.m4:23: -1- AC_DEFUN([OST_CC_STRING], [
3293 AC_REQUIRE([OST_SYS_POSIX])
3294 AC_CHECK_FUNCS(strcasecmp)
3295 AC_CHECK_HEADERS(strings.h alloca.h)
3296
3297AH_BOTTOM([
3298#include <cstring>
3299#ifdef HAVE_STRINGS_H
3300#ifndef _AIX
3301#include <strings.h>
3302#endif
3303#endif
3304
3305#ifdef HAVE_ALLOCA_H
3306#include <alloca.h>
3307#endif
3308
3309#ifndef HAVE_SNPRINTF
3310#if defined(WIN32) && defined(_MSC_VER) && _MSC_VER < 1400
3311#define snprintf _snprintf
3312#define vsnprintf _vsnprintf
3313#endif
3314#endif
3315
3316#ifdef HAVE_STRCASECMP
3317#ifndef stricmp
3318#define stricmp(x,y) strcasecmp(x,y)
3319#endif
3320#ifndef strnicmp
3321#define strnicmp(x,y,n) strncasecmp(x,y,n)
3322#endif
3323#ifndef stristr
3324#define stristr(x, y) strcasestr(x,y)
3325#endif
3326#endif
3327
3328 ])
3329])
3330m4trace:m4/ost_systime.m4:23: -1- AC_DEFUN([OST_CC_SYSTIME], [
3331 AC_HEADER_TIME
3332 AC_CHECK_HEADERS(sys/time.h)
3333AH_TOP([
3334#undef HAVE_SYS_TIME_H
3335#undef TIME_WITH_SYS_TIME
3336#if TIME_WITH_SYS_TIME
3337#include <sys/time.h>
3338#else
3339#if HAVE_SYS_TIME_H
3340#include <sys/time.h>
3341#endif
3342#endif
3343 ])
3344
3345])
3346m4trace:m4/ost_types.m4:23: -1- AC_DEFUN([OST_CC_TYPES], [
3347 AC_REQUIRE([OST_SYS_POSIX])
3348 AC_CHECK_HEADERS(sys/types.h bits/wordsize.h)
3349 AC_EGREP_HEADER(u_int8_t,sys/types.h,[
3350 AC_DEFINE(HAVE_SYS_TYPES_STD, [1], [have systypes])
3351 AC_EGREP_HEADER(u_int64_t,sys/types.h,[
3352 AC_DEFINE(HAVE_SYS_TYPES_64, [1], [have 64 bit longs])
3353 ])
3354 ])
3355 AC_EGREP_HEADER(long long,sys/types.h,[
3356 AC_DEFINE(HAVE_LONG_LONG, [1], [have long longs])
3357 ])
3358 AH_TOP([
3359
3360#undef HAVE_SYS_TYPES_STD
3361#undef HAVE_SYS_TYPES_64
3362#undef HAVE_LONG_LONG
3363#undef HAVE_SYS_TYPES
3364
3365#ifdef HAVE_SYS_TYPES_H
3366#include <sys/types.h>
3367#endif
3368
3369#ifdef HAVE_BITS_WORSIZE_H
3370#include <bits/wordtypes.h>
3371#endif
3372
3373#ifdef HAVE_SYS_TYPES_STD
3374typedef int8_t int8;
3375typedef u_int8_t uint8;
3376typedef int16_t int16;
3377typedef u_int16_t uint16;
3378typedef int32_t int32;
3379typedef u_int32_t uint32;
3380#ifdef HAVE_SYS_TYPES_64
3381#define HAVE_64_BITS
3382typedef int64_t int64;
3383typedef u_int64_t uint64;
3384#endif
3385#else
3386typedef char int8;
3387typedef unsigned char uint8;
3388typedef short int16;
3389typedef unsigned short uint16;
3390typedef int int32;
3391typedef unsigned int uint32;
3392#endif
3393
3394#ifndef HAVE_SYS_TYPES_64
3395#if defined(__WORDSIZE) || defined(__arch64__)
3396#if __WORDSIZE >= 64 || defined(__arch64__)
3397typedef long int int64;
3398typedef unsigned long int uint64;
3399#define HAVE_SYS_TYPES_64
3400#define HAVE_64_BITS
3401#endif
3402#endif
3403#endif
3404
3405#ifndef HAVE_SYS_TYPES_64
3406#ifdef __GNUC__
3407#if defined(HAVE_LONG_LONG) || defined(_LONGLONG)
3408__extension__
3409typedef long long int int64;
3410__extension__
3411typedef unsigned long long int uint64;
3412#define HAVE_SYS_TYPES_64
3413#define HAVE_64_BITS
3414#endif
3415#endif
3416#endif
3417
3418#ifndef HAVE_SYS_TYPES_64
3419#if defined(HAVE_LONG_LONG) || defined(_LONGLONG)
3420#define HAVE_64_BITS
3421typedef long long int64;
3422typedef unsigned long long uint64;
3423#endif
3424#endif
3425 ])
3426])
3427m4trace:m4/ost_win32.m4:23: -1- AC_DEFUN([OST_WINVER], [
3428 WINVERSION="`echo $VERSION | sed 's/\./,/g'`,0"
3429 AC_SUBST(WINVERSION)
3430])
3431m4trace:m4/ost_win32.m4:28: -1- AC_DEFUN([OST_WIN32], [
3432 AC_REQUIRE([OST_PROG_CC_POSIX])
3433 AC_CACHE_CHECK(for Win32 gnu environment, ost_cv_gnuwin32,[
3434 ac_save_CFLAGS="$CFLAGS"
3435 CFLAGS=""
3436 AC_TRY_COMPILE([
3437 #ifdef __WIN32__
3438 #ifdef __MINGW32__
3439 #define __RETURN_WIN32__ __MINGW32__
3440 #endif
3441 #ifdef __CYGWIN32__
3442 #define __RETURN_WIN32__ __CYGWIN32__
3443 #endif
3444 #endif
3445 ],[return __RETURN_WIN32__;],
3446 [ost_cv_gnuwin32=yes
3447 ],[ost_cv_gnuwin32=no])
3448 rm -f conftest*
3449 CFLAGS="$ac_save_CFLAGS"
3450 ])
3451])
3452m4trace:m4/win32msc.m4:22: -1- AC_DEFUN([NP_FIND_DOSENV], [
3453 save_IFS="$IFS"
3454 $3=no
3455 IFS=","
3456 ENVVAR=`echo $$2 | tr ';' ','`
3457 for i in $ENVVAR ; do
3458 f=`cygpath -u "$i"`
3459 if test -r "$f/$1" ; then
3460 $3="$f"
3461 break
3462 fi
3463 done
3464 IFS="$save_IFS"
3465])
3466m4trace:m4/win32msc.m4:37: -1- AC_DEFUN([NP_PROG_MSC], [
3467 AC_ARG_WITH(wininc,
3468 [ --with-wininc=DIR define windows include directory],
3469 [win32inc="$withval"],[win32inc=no]
3470 )
3471 AC_ARG_WITH(winlib,
3472 [ --with-winlib=DIR define windows lib directory],
3473 [win32lib="$withval"],[win32lib=no]
3474 )
3475 AC_CACHE_CHECK(for MSC environment, np_cv_prog_msc, [
3476 np_cv_prog_msc=no
3477 cat > conftest.c <<EOF
3478#ifndef _MSC_VER
3479#error NOMSC
3480#endif
3481int main() {}
3482EOF
3483 RET=`cl -nologo -c conftest.c 2>&1`
3484 case "$RET" in
3485 conftest.c?)
3486 np_cv_prog_msc=yes
3487 ;;
3488 *)
3489 ;;
3490 esac
3491 ])
3492 if test "x$np_cv_prog_msc" = "xyes" ; then
3493 if test "$win32inc" = "no" ; then
3494 AC_MSG_CHECKING(for Win32 include dir)
3495 NP_FIND_DOSENV(ras.h,INCLUDE,win32inc)
3496 AC_MSG_RESULT("$win32inc")
3497 fi
3498 if test "$win32inc" = "no" ; then
3499 AC_MSG_ERROR([Unable to get Win32 include dir from environment.])
3500 AC_MSG_ERROR([use --with-wininc=DIR to set it manually])
3501 fi
3502 if test "$win32lib" = "no" ; then
3503 AC_MSG_CHECKING(for Win32 lib dir)
3504 NP_FIND_DOSENV(wsock32.lib,LIB,win32lib)
3505 AC_MSG_RESULT("$win32lib")
3506 fi
3507 if test "$win32lib" = "no" ; then
3508 AC_MSG_ERROR([Unable to get Win32 lib dir from environment.])
3509 AC_MSG_ERROR([use --with-winlib=DIR to set it manually])
3510 fi
3511 CC="cl -nologo -GX -D__WIN32__ -D_MT -D_WIN32_WINNT=0x0400 -I$win32inc"
3512 CXX="cl -nologo -GX -D__WIN32__ -D_MT -D_WIN32_WINNT=0x0400 -I$win32inc"
3513 LD="link /libpath:$win32lib"
3514 AS=masm
3515 fi
3516 AM_CONDITIONAL(MSWIN32, test $np_cv_prog_msc = yes)
3517])
3518m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?A[CHUM]_])
3519m4trace:configure.ac:12: -1- m4_pattern_forbid([_AC_])
3520m4trace:configure.ac:12: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3521m4trace:configure.ac:12: -1- m4_pattern_allow([^AS_FLAGS$])
3522m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?m4_])
3523m4trace:configure.ac:12: -1- m4_pattern_forbid([^dnl$])
3524m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?AS_])
3525m4trace:configure.ac:12: -1- m4_pattern_allow([^SHELL$])
3526m4trace:configure.ac:12: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3527m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_NAME$])
3528m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3529m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3530m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_STRING$])
3531m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3532m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_URL$])
3533m4trace:configure.ac:12: -1- m4_pattern_allow([^exec_prefix$])
3534m4trace:configure.ac:12: -1- m4_pattern_allow([^prefix$])
3535m4trace:configure.ac:12: -1- m4_pattern_allow([^program_transform_name$])
3536m4trace:configure.ac:12: -1- m4_pattern_allow([^bindir$])
3537m4trace:configure.ac:12: -1- m4_pattern_allow([^sbindir$])
3538m4trace:configure.ac:12: -1- m4_pattern_allow([^libexecdir$])
3539m4trace:configure.ac:12: -1- m4_pattern_allow([^datarootdir$])
3540m4trace:configure.ac:12: -1- m4_pattern_allow([^datadir$])
3541m4trace:configure.ac:12: -1- m4_pattern_allow([^sysconfdir$])
3542m4trace:configure.ac:12: -1- m4_pattern_allow([^sharedstatedir$])
3543m4trace:configure.ac:12: -1- m4_pattern_allow([^localstatedir$])
3544m4trace:configure.ac:12: -1- m4_pattern_allow([^includedir$])
3545m4trace:configure.ac:12: -1- m4_pattern_allow([^oldincludedir$])
3546m4trace:configure.ac:12: -1- m4_pattern_allow([^docdir$])
3547m4trace:configure.ac:12: -1- m4_pattern_allow([^infodir$])
3548m4trace:configure.ac:12: -1- m4_pattern_allow([^htmldir$])
3549m4trace:configure.ac:12: -1- m4_pattern_allow([^dvidir$])
3550m4trace:configure.ac:12: -1- m4_pattern_allow([^pdfdir$])
3551m4trace:configure.ac:12: -1- m4_pattern_allow([^psdir$])
3552m4trace:configure.ac:12: -1- m4_pattern_allow([^libdir$])
3553m4trace:configure.ac:12: -1- m4_pattern_allow([^localedir$])
3554m4trace:configure.ac:12: -1- m4_pattern_allow([^mandir$])
3555m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_NAME$])
3556m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3557m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3558m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_STRING$])
3559m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3560m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE_URL$])
3561m4trace:configure.ac:12: -1- m4_pattern_allow([^DEFS$])
3562m4trace:configure.ac:12: -1- m4_pattern_allow([^ECHO_C$])
3563m4trace:configure.ac:12: -1- m4_pattern_allow([^ECHO_N$])
3564m4trace:configure.ac:12: -1- m4_pattern_allow([^ECHO_T$])
3565m4trace:configure.ac:12: -1- m4_pattern_allow([^LIBS$])
3566m4trace:configure.ac:12: -1- m4_pattern_allow([^build_alias$])
3567m4trace:configure.ac:12: -1- m4_pattern_allow([^host_alias$])
3568m4trace:configure.ac:12: -1- m4_pattern_allow([^target_alias$])
3569m4trace:configure.ac:14: -1- m4_pattern_allow([LT_VERSION])
3570m4trace:configure.ac:30: -1- m4_pattern_allow([^prefix$])
3571m4trace:configure.ac:30: -1- m4_pattern_allow([^CC$])
3572m4trace:configure.ac:30: -1- m4_pattern_allow([^CXX$])
3573m4trace:configure.ac:30: -1- m4_pattern_allow([^sysconfdir$])
3574m4trace:configure.ac:30: -1- m4_pattern_allow([^localstatedir$])
3575m4trace:configure.ac:61: -1- m4_pattern_allow([^mandir$])
3576m4trace:configure.ac:62: -1- m4_pattern_allow([^infodir$])
3577m4trace:configure.ac:63: -1- m4_pattern_allow([^sysconfdir$])
3578m4trace:configure.ac:64: -1- m4_pattern_allow([^localstatedir$])
3579m4trace:configure.ac:65: -1- m4_pattern_allow([^datadir$])
3580m4trace:configure.ac:66: -1- m4_pattern_allow([^prefix$])
3581m4trace:configure.ac:81: -1- m4_pattern_allow([^ccincludedir$])
3582m4trace:configure.ac:84: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
3583You should run autoupdate.], [../../lib/autoconf/general.m4:1858: AC_CANONICAL_SYSTEM is expanded from...
3584configure.ac:84: the top level])
3585m4trace:configure.ac:84: -1- m4_pattern_allow([^build$])
3586m4trace:configure.ac:84: -1- m4_pattern_allow([^build_cpu$])
3587m4trace:configure.ac:84: -1- m4_pattern_allow([^build_vendor$])
3588m4trace:configure.ac:84: -1- m4_pattern_allow([^build_os$])
3589m4trace:configure.ac:84: -1- m4_pattern_allow([^host$])
3590m4trace:configure.ac:84: -1- m4_pattern_allow([^host_cpu$])
3591m4trace:configure.ac:84: -1- m4_pattern_allow([^host_vendor$])
3592m4trace:configure.ac:84: -1- m4_pattern_allow([^host_os$])
3593m4trace:configure.ac:84: -1- m4_pattern_allow([^target$])
3594m4trace:configure.ac:84: -1- m4_pattern_allow([^target_cpu$])
3595m4trace:configure.ac:84: -1- m4_pattern_allow([^target_vendor$])
3596m4trace:configure.ac:84: -1- m4_pattern_allow([^target_os$])
3597m4trace:configure.ac:85: -1- m4_pattern_allow([^CC$])
3598m4trace:configure.ac:85: -1- m4_pattern_allow([^CFLAGS$])
3599m4trace:configure.ac:85: -1- m4_pattern_allow([^LDFLAGS$])
3600m4trace:configure.ac:85: -1- m4_pattern_allow([^LIBS$])
3601m4trace:configure.ac:85: -1- m4_pattern_allow([^CPPFLAGS$])
3602m4trace:configure.ac:85: -1- m4_pattern_allow([^CC$])
3603m4trace:configure.ac:85: -1- m4_pattern_allow([^CC$])
3604m4trace:configure.ac:85: -1- m4_pattern_allow([^CC$])
3605m4trace:configure.ac:85: -1- m4_pattern_allow([^CC$])
3606m4trace:configure.ac:85: -1- m4_pattern_allow([^ac_ct_CC$])
3607m4trace:configure.ac:85: -1- m4_pattern_allow([^EXEEXT$])
3608m4trace:configure.ac:85: -1- m4_pattern_allow([^OBJEXT$])
3609m4trace:configure.ac:85: -1- m4_pattern_allow([^CPP$])
3610m4trace:configure.ac:85: -1- m4_pattern_allow([^CPPFLAGS$])
3611m4trace:configure.ac:85: -1- m4_pattern_allow([^CPP$])
3612m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
3613m4trace:configure.ac:86: -1- m4_pattern_allow([^CFLAGS$])
3614m4trace:configure.ac:86: -1- m4_pattern_allow([^LDFLAGS$])
3615m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBS$])
3616m4trace:configure.ac:86: -1- m4_pattern_allow([^CPPFLAGS$])
3617m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
3618m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
3619m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
3620m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
3621m4trace:configure.ac:86: -1- m4_pattern_allow([^ac_ct_CC$])
3622m4trace:configure.ac:87: -1- m4_pattern_allow([^CXX$])
3623m4trace:configure.ac:87: -1- m4_pattern_allow([^CXXFLAGS$])
3624m4trace:configure.ac:87: -1- m4_pattern_allow([^LDFLAGS$])
3625m4trace:configure.ac:87: -1- m4_pattern_allow([^LIBS$])
3626m4trace:configure.ac:87: -1- m4_pattern_allow([^CPPFLAGS$])
3627m4trace:configure.ac:87: -1- m4_pattern_allow([^CXX$])
3628m4trace:configure.ac:87: -1- m4_pattern_allow([^ac_ct_CXX$])
3629m4trace:configure.ac:87: -1- m4_pattern_allow([^CXXCPP$])
3630m4trace:configure.ac:87: -1- m4_pattern_allow([^CPPFLAGS$])
3631m4trace:configure.ac:87: -1- m4_pattern_allow([^CXXCPP$])
3632m4trace:configure.ac:88: -1- m4_pattern_allow([^CXX$])
3633m4trace:configure.ac:88: -1- m4_pattern_allow([^CXXFLAGS$])
3634m4trace:configure.ac:88: -1- m4_pattern_allow([^LDFLAGS$])
3635m4trace:configure.ac:88: -1- m4_pattern_allow([^LIBS$])
3636m4trace:configure.ac:88: -1- m4_pattern_allow([^CPPFLAGS$])
3637m4trace:configure.ac:88: -1- m4_pattern_allow([^CXX$])
3638m4trace:configure.ac:88: -1- m4_pattern_allow([^ac_ct_CXX$])
3639m4trace:configure.ac:89: -1- OST_PROG_CC_POSIX
3640m4trace:configure.ac:89: -1- m4_pattern_allow([^CC$])
3641m4trace:configure.ac:89: -1- m4_pattern_allow([^CFLAGS$])
3642m4trace:configure.ac:89: -1- m4_pattern_allow([^LDFLAGS$])
3643m4trace:configure.ac:89: -1- m4_pattern_allow([^LIBS$])
3644m4trace:configure.ac:89: -1- m4_pattern_allow([^CPPFLAGS$])
3645m4trace:configure.ac:89: -1- m4_pattern_allow([^CC$])
3646m4trace:configure.ac:89: -1- m4_pattern_allow([^CC$])
3647m4trace:configure.ac:89: -1- m4_pattern_allow([^CC$])
3648m4trace:configure.ac:89: -1- m4_pattern_allow([^CC$])
3649m4trace:configure.ac:89: -1- m4_pattern_allow([^ac_ct_CC$])
3650m4trace:configure.ac:89: -1- m4_pattern_allow([^CPP$])
3651m4trace:configure.ac:89: -1- m4_pattern_allow([^CPPFLAGS$])
3652m4trace:configure.ac:89: -1- m4_pattern_allow([^CPP$])
3653m4trace:configure.ac:89: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
3654You should run autoupdate.], [../../lib/autoconf/specific.m4:442: AC_ISC_POSIX is expanded from...
3655m4/ost_prog.m4:23: OST_PROG_CC_POSIX is expanded from...
3656configure.ac:89: the top level])
3657m4trace:configure.ac:89: -1- _m4_warn([obsolete], [The macro `AC_MINIX' is obsolete.
3658You should run autoupdate.], [../../lib/autoconf/specific.m4:437: AC_MINIX is expanded from...
3659m4/ost_prog.m4:23: OST_PROG_CC_POSIX is expanded from...
3660configure.ac:89: the top level])
3661m4trace:configure.ac:89: -1- AC_PROG_EGREP
3662m4trace:configure.ac:89: -1- m4_pattern_allow([^GREP$])
3663m4trace:configure.ac:89: -1- m4_pattern_allow([^EGREP$])
3664m4trace:configure.ac:89: -1- m4_pattern_allow([^STDC_HEADERS$])
3665m4trace:configure.ac:89: -1- m4_pattern_allow([^_POSIX_SOURCE$])
3666m4trace:configure.ac:89: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
3667m4trace:configure.ac:89: -1- m4_pattern_allow([^_MINIX$])
3668m4trace:configure.ac:89: -1- m4_pattern_allow([^__EXTENSIONS__$])
3669m4trace:configure.ac:89: -1- m4_pattern_allow([^_ALL_SOURCE$])
3670m4trace:configure.ac:89: -1- m4_pattern_allow([^_GNU_SOURCE$])
3671m4trace:configure.ac:89: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
3672m4trace:configure.ac:89: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
3673m4trace:configure.ac:90: -1- NP_PROG_MSC
3674m4trace:configure.ac:90: -1- NP_FIND_DOSENV([ras.h], [INCLUDE], [win32inc])
3675m4trace:configure.ac:90: -1- NP_FIND_DOSENV([wsock32.lib], [LIB], [win32lib])
3676m4trace:configure.ac:90: -1- AM_CONDITIONAL([MSWIN32], [test $np_cv_prog_msc = yes])
3677m4trace:configure.ac:90: -1- m4_pattern_allow([^MSWIN32_TRUE$])
3678m4trace:configure.ac:90: -1- m4_pattern_allow([^MSWIN32_FALSE$])
3679m4trace:configure.ac:90: -1- _AM_SUBST_NOTMAKE([MSWIN32_TRUE])
3680m4trace:configure.ac:90: -1- _AM_SUBST_NOTMAKE([MSWIN32_FALSE])
3681m4trace:configure.ac:91: -1- AC_LIBTOOL_WIN32_DLL
3682m4trace:configure.ac:91: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
3683You should run autoupdate.], [m4/ltoptions.m4:146: AC_LIBTOOL_WIN32_DLL is expanded from...
3684configure.ac:91: the top level])
3685m4trace:configure.ac:91: -1- m4_pattern_allow([^AS$])
3686m4trace:configure.ac:91: -1- m4_pattern_allow([^DLLTOOL$])
3687m4trace:configure.ac:91: -1- m4_pattern_allow([^OBJDUMP$])
3688m4trace:configure.ac:91: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
3689put the `win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:146: AC_LIBTOOL_WIN32_DLL is expanded from...
3690configure.ac:91: the top level])
3691m4trace:configure.ac:92: -1- AM_PROG_LIBTOOL
3692m4trace:configure.ac:92: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
3693You should run autoupdate.], [m4/libtool.m4:108: AM_PROG_LIBTOOL is expanded from...
3694configure.ac:92: the top level])
3695m4trace:configure.ac:92: -1- LT_INIT
3696m4trace:configure.ac:92: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
3697m4trace:configure.ac:92: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
3698m4trace:configure.ac:92: -1- LTOPTIONS_VERSION
3699m4trace:configure.ac:92: -1- LTSUGAR_VERSION
3700m4trace:configure.ac:92: -1- LTVERSION_VERSION
3701m4trace:configure.ac:92: -1- LTOBSOLETE_VERSION
3702m4trace:configure.ac:92: -1- _LT_PROG_LTMAIN
3703m4trace:configure.ac:92: -1- m4_pattern_allow([^LIBTOOL$])
3704m4trace:configure.ac:92: -1- _LT_PREPARE_SED_QUOTE_VARS
3705m4trace:configure.ac:92: -1- _LT_PROG_ECHO_BACKSLASH
3706m4trace:configure.ac:92: -1- LT_PATH_LD
3707m4trace:configure.ac:92: -1- m4_pattern_allow([^SED$])
3708m4trace:configure.ac:92: -1- m4_pattern_allow([^FGREP$])
3709m4trace:configure.ac:92: -1- m4_pattern_allow([^GREP$])
3710m4trace:configure.ac:92: -1- m4_pattern_allow([^LD$])
3711m4trace:configure.ac:92: -1- LT_PATH_NM
3712m4trace:configure.ac:92: -1- m4_pattern_allow([^DUMPBIN$])
3713m4trace:configure.ac:92: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
3714m4trace:configure.ac:92: -1- m4_pattern_allow([^DUMPBIN$])
3715m4trace:configure.ac:92: -1- m4_pattern_allow([^NM$])
3716m4trace:configure.ac:92: -1- m4_pattern_allow([^LN_S$])
3717m4trace:configure.ac:92: -1- LT_CMD_MAX_LEN
3718m4trace:configure.ac:92: -1- m4_pattern_allow([^OBJDUMP$])
3719m4trace:configure.ac:92: -1- m4_pattern_allow([^OBJDUMP$])
3720m4trace:configure.ac:92: -1- m4_pattern_allow([^DLLTOOL$])
3721m4trace:configure.ac:92: -1- m4_pattern_allow([^DLLTOOL$])
3722m4trace:configure.ac:92: -1- m4_pattern_allow([^AR$])
3723m4trace:configure.ac:92: -1- m4_pattern_allow([^ac_ct_AR$])
3724m4trace:configure.ac:92: -1- m4_pattern_allow([^STRIP$])
3725m4trace:configure.ac:92: -1- m4_pattern_allow([^RANLIB$])
3726m4trace:configure.ac:92: -1- m4_pattern_allow([^AWK$])
3727m4trace:configure.ac:92: -1- _LT_WITH_SYSROOT
3728m4trace:configure.ac:92: -1- m4_pattern_allow([LT_OBJDIR])
3729m4trace:configure.ac:92: -1- m4_pattern_allow([^LT_OBJDIR$])
3730m4trace:configure.ac:92: -1- _LT_CC_BASENAME([$compiler])
3731m4trace:configure.ac:92: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
3732m4trace:configure.ac:92: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
3733m4trace:configure.ac:92: -1- LT_SUPPORTED_TAG([CC])
3734m4trace:configure.ac:92: -1- _LT_COMPILER_BOILERPLATE
3735m4trace:configure.ac:92: -1- _LT_LINKER_BOILERPLATE
3736m4trace:configure.ac:92: -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"])
3737m4trace:configure.ac:92: -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
3738 "" | " "*) ;;
3739 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
3740 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
3741 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
3742m4trace:configure.ac:92: -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, )=])
3743m4trace:configure.ac:92: -1- m4_pattern_allow([^MANIFEST_TOOL$])
3744m4trace:configure.ac:92: -1- _LT_REQUIRED_DARWIN_CHECKS
3745m4trace:configure.ac:92: -1- m4_pattern_allow([^DSYMUTIL$])
3746m4trace:configure.ac:92: -1- m4_pattern_allow([^NMEDIT$])
3747m4trace:configure.ac:92: -1- m4_pattern_allow([^LIPO$])
3748m4trace:configure.ac:92: -1- m4_pattern_allow([^OTOOL$])
3749m4trace:configure.ac:92: -1- m4_pattern_allow([^OTOOL64$])
3750m4trace:configure.ac:92: -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'])
3751m4trace:configure.ac:92: -1- LT_SYS_DLOPEN_SELF
3752m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
3753m4trace:configure.ac:92: -1- LT_LANG([CXX])
3754m4trace:configure.ac:92: -1- LT_SUPPORTED_TAG([CXX])
3755m4trace:configure.ac:92: -1- m4_pattern_allow([^CXXCPP$])
3756m4trace:configure.ac:92: -1- m4_pattern_allow([^CPPFLAGS$])
3757m4trace:configure.ac:92: -1- m4_pattern_allow([^CXXCPP$])
3758m4trace:configure.ac:92: -1- _LT_COMPILER_BOILERPLATE
3759m4trace:configure.ac:92: -1- _LT_LINKER_BOILERPLATE
3760m4trace:configure.ac:92: -1- _LT_CC_BASENAME([$compiler])
3761m4trace:configure.ac:92: -1- LT_PATH_LD
3762m4trace:configure.ac:92: -1- m4_pattern_allow([^LD$])
3763m4trace:configure.ac:92: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
3764 "" | " "*) ;;
3765 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
3766 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
3767 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
3768m4trace:configure.ac:92: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
3769m4trace:configure.ac:93: -1- AM_INIT_AUTOMAKE([commoncpp2], [$VERSION])
3770m4trace:configure.ac:93: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3771m4trace:configure.ac:93: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3772m4trace:configure.ac:93: -1- AM_AUTOMAKE_VERSION([1.11.1])
3773m4trace:configure.ac:93: -1- _AM_AUTOCONF_VERSION([2.68])
3774m4trace:configure.ac:93: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3775m4trace:configure.ac:93: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3776m4trace:configure.ac:93: -1- m4_pattern_allow([^INSTALL_DATA$])
3777m4trace:configure.ac:93: -1- m4_pattern_allow([^am__isrc$])
3778m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__isrc])
3779m4trace:configure.ac:93: -1- m4_pattern_allow([^CYGPATH_W$])
3780m4trace:configure.ac:93: -1- m4_pattern_allow([^PACKAGE$])
3781m4trace:configure.ac:93: -1- m4_pattern_allow([^VERSION$])
3782m4trace:configure.ac:93: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
3783 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
3784m4trace:configure.ac:93: -2- _AM_MANGLE_OPTION([no-define])
3785m4trace:configure.ac:93: -1- m4_pattern_allow([^PACKAGE$])
3786m4trace:configure.ac:93: -1- m4_pattern_allow([^VERSION$])
3787m4trace:configure.ac:93: -1- AM_SANITY_CHECK
3788m4trace:configure.ac:93: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3789m4trace:configure.ac:93: -1- AM_MISSING_HAS_RUN
3790m4trace:configure.ac:93: -1- AM_AUX_DIR_EXPAND
3791m4trace:configure.ac:93: -1- m4_pattern_allow([^ACLOCAL$])
3792m4trace:configure.ac:93: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3793m4trace:configure.ac:93: -1- m4_pattern_allow([^AUTOCONF$])
3794m4trace:configure.ac:93: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3795m4trace:configure.ac:93: -1- m4_pattern_allow([^AUTOMAKE$])
3796m4trace:configure.ac:93: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3797m4trace:configure.ac:93: -1- m4_pattern_allow([^AUTOHEADER$])
3798m4trace:configure.ac:93: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3799m4trace:configure.ac:93: -1- m4_pattern_allow([^MAKEINFO$])
3800m4trace:configure.ac:93: -1- AM_PROG_INSTALL_SH
3801m4trace:configure.ac:93: -1- m4_pattern_allow([^install_sh$])
3802m4trace:configure.ac:93: -1- AM_PROG_INSTALL_STRIP
3803m4trace:configure.ac:93: -1- m4_pattern_allow([^STRIP$])
3804m4trace:configure.ac:93: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3805m4trace:configure.ac:93: -1- AM_PROG_MKDIR_P
3806m4trace:configure.ac:93: -1- m4_pattern_allow([^MKDIR_P$])
3807m4trace:configure.ac:93: -1- m4_pattern_allow([^mkdir_p$])
3808m4trace:configure.ac:93: -1- m4_pattern_allow([^SET_MAKE$])
3809m4trace:configure.ac:93: -1- AM_SET_LEADING_DOT
3810m4trace:configure.ac:93: -1- m4_pattern_allow([^am__leading_dot$])
3811m4trace:configure.ac:93: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3812 [_AM_PROG_TAR([v7])])])
3813m4trace:configure.ac:93: -2- _AM_MANGLE_OPTION([tar-ustar])
3814m4trace:configure.ac:93: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3815m4trace:configure.ac:93: -2- _AM_MANGLE_OPTION([tar-pax])
3816m4trace:configure.ac:93: -1- _AM_PROG_TAR([v7])
3817m4trace:configure.ac:93: -1- AM_MISSING_PROG([AMTAR], [tar])
3818m4trace:configure.ac:93: -1- m4_pattern_allow([^AMTAR$])
3819m4trace:configure.ac:93: -1- m4_pattern_allow([^am__tar$])
3820m4trace:configure.ac:93: -1- m4_pattern_allow([^am__untar$])
3821m4trace:configure.ac:93: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3822 [_AM_DEPENDENCIES(CC)],
3823 [define([AC_PROG_CC],
3824 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
3825AC_PROVIDE_IFELSE([AC_PROG_CXX],
3826 [_AM_DEPENDENCIES(CXX)],
3827 [define([AC_PROG_CXX],
3828 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3829AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3830 [_AM_DEPENDENCIES(OBJC)],
3831 [define([AC_PROG_OBJC],
3832 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
3833])
3834m4trace:configure.ac:93: -2- _AM_MANGLE_OPTION([no-dependencies])
3835m4trace:configure.ac:93: -1- _AM_DEPENDENCIES([CC])
3836m4trace:configure.ac:93: -1- AM_SET_DEPDIR
3837m4trace:configure.ac:93: -1- m4_pattern_allow([^DEPDIR$])
3838m4trace:configure.ac:93: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3839m4trace:configure.ac:93: -1- AM_MAKE_INCLUDE
3840m4trace:configure.ac:93: -1- m4_pattern_allow([^am__include$])
3841m4trace:configure.ac:93: -1- m4_pattern_allow([^am__quote$])
3842m4trace:configure.ac:93: -1- AM_DEP_TRACK
3843m4trace:configure.ac:93: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3844m4trace:configure.ac:93: -1- m4_pattern_allow([^AMDEP_TRUE$])
3845m4trace:configure.ac:93: -1- m4_pattern_allow([^AMDEP_FALSE$])
3846m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3847m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3848m4trace:configure.ac:93: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3849m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3850m4trace:configure.ac:93: -1- m4_pattern_allow([^CCDEPMODE$])
3851m4trace:configure.ac:93: -1- AM_CONDITIONAL([am__fastdepCC], [
3852 test "x$enable_dependency_tracking" != xno \
3853 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3854m4trace:configure.ac:93: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3855m4trace:configure.ac:93: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3856m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3857m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3858m4trace:configure.ac:93: -1- _AM_DEPENDENCIES([CXX])
3859m4trace:configure.ac:93: -1- m4_pattern_allow([^CXXDEPMODE$])
3860m4trace:configure.ac:93: -1- AM_CONDITIONAL([am__fastdepCXX], [
3861 test "x$enable_dependency_tracking" != xno \
3862 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
3863m4trace:configure.ac:93: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
3864m4trace:configure.ac:93: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
3865m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
3866m4trace:configure.ac:93: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
3867m4trace:configure.ac:93: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
3868m4trace:configure.ac:93: -2- _AM_MANGLE_OPTION([silent-rules])
3869m4trace:configure.ac:94: -1- AM_CONFIG_HEADER([config.h])
3870m4trace:configure.ac:94: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
3871You should run autoupdate.], [/usr/share/aclocal-1.11/header.m4:12: AM_CONFIG_HEADER is expanded from...
3872configure.ac:94: the top level])
3873m4trace:configure.ac:96: -1- m4_pattern_allow([^restrict$])
3874m4trace:configure.ac:96: -1- m4_pattern_allow([^restrict$])
3875m4trace:configure.ac:97: -1- m4_pattern_allow([^volatile$])
3876m4trace:configure.ac:202: -1- OST_PROG_COMMON
3877m4trace:configure.ac:203: -1- OST_PROG_LIBVER
3878m4trace:configure.ac:203: -1- m4_pattern_allow([^LT_RELEASE$])
3879m4trace:configure.ac:203: -1- m4_pattern_allow([^LT_SUBVER$])
3880m4trace:configure.ac:203: -1- m4_pattern_allow([^LT_MAJOR$])
3881m4trace:configure.ac:203: -1- m4_pattern_allow([^LT_MINOR$])
3882m4trace:configure.ac:204: -1- OST_PROG_LIBRARY([CCXX], [$LT_VERSION])
3883m4trace:configure.ac:204: -1- m4_pattern_allow([^RANLIB$])
3884m4trace:configure.ac:204: -1- m4_pattern_allow([^LT_CCXX_VERSION$])
3885m4trace:configure.ac:205: -1- OST_AUTOMAKE_MODE
3886m4trace:configure.ac:206: -1- OST_MAINTAINER_MODE
3887m4trace:configure.ac:206: -1- AM_MAINTAINER_MODE
3888m4trace:configure.ac:206: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
3889m4trace:configure.ac:206: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
3890m4trace:configure.ac:206: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
3891m4trace:configure.ac:206: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
3892m4trace:configure.ac:206: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
3893m4trace:configure.ac:206: -1- m4_pattern_allow([^MAINT$])
3894m4trace:configure.ac:206: -1- m4_pattern_allow([^FTPDIR$])
3895m4trace:configure.ac:207: -1- OST_WINVER
3896m4trace:configure.ac:207: -1- m4_pattern_allow([^WINVERSION$])
3897m4trace:configure.ac:208: -1- OST_WIN32
3898m4trace:configure.ac:208: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3899You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
3900../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
3901../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
3902../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
3903m4/ost_win32.m4:28: OST_WIN32 is expanded from...
3904configure.ac:208: the top level])
3905m4trace:configure.ac:209: -1- OST_CC_FCNTL
3906m4trace:configure.ac:209: -1- OST_SYS_POSIX
3907m4trace:configure.ac:209: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3908You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
3909m4/ost_posix.m4:23: OST_SYS_POSIX is expanded from...
3910m4/ost_posix.m4:69: OST_CC_FCNTL is expanded from...
3911configure.ac:209: the top level])
3912m4trace:configure.ac:209: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
3913m4trace:configure.ac:209: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
3914m4trace:configure.ac:209: -1- m4_pattern_allow([^HAVE_FEATURES_H$])
3915m4trace:configure.ac:210: -1- OST_CC_SYSTIME
3916m4trace:configure.ac:210: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
3917m4trace:configure.ac:210: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$])
3918m4trace:configure.ac:211: -1- OST_CC_TYPES
3919m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_SYS_TYPES_STD$])
3920m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_SYS_TYPES_64$])
3921m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_LONG_LONG$])
3922m4trace:configure.ac:212: -1- OST_CC_ENDIAN
3923m4trace:configure.ac:212: -1- m4_pattern_allow([^HAVE_ENDIAN_H$])
3924m4trace:configure.ac:212: -1- m4_pattern_allow([^HAVE_SYS_ISA_DEFS_H$])
3925m4trace:configure.ac:212: -1- m4_pattern_allow([^__BYTE_ORDER$])
3926m4trace:configure.ac:212: -1- m4_pattern_allow([^__BYTE_ORDER$])
3927m4trace:configure.ac:213: -1- OST_CC_SIGNAL
3928m4trace:configure.ac:213: -1- m4_pattern_allow([^HAVE_SIGACTION$])
3929m4trace:configure.ac:213: -1- m4_pattern_allow([^HAVE_SETITIMER$])
3930m4trace:configure.ac:213: -1- m4_pattern_allow([^HAVE_SIGWAIT$])
3931m4trace:configure.ac:213: -1- m4_pattern_allow([^HAVE_BSD_SIGNAL_H$])
3932m4trace:configure.ac:213: -1- _m4_warn([obsolete], [The macro `AC_TYPE_SIGNAL' is obsolete.
3933You should run autoupdate.], [../../lib/autoconf/types.m4:738: AC_TYPE_SIGNAL is expanded from...
3934m4/ost_signal.m4:23: OST_CC_SIGNAL is expanded from...
3935configure.ac:213: the top level])
3936m4trace:configure.ac:213: -1- m4_pattern_allow([^RETSIGTYPE$])
3937m4trace:configure.ac:213: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3938You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
3939m4/ost_signal.m4:23: OST_CC_SIGNAL is expanded from...
3940configure.ac:213: the top level])
3941m4trace:configure.ac:213: -1- m4_pattern_allow([^HAVE_SIGWAIT2$])
3942m4trace:configure.ac:214: -1- OST_CC_STRING
3943m4trace:configure.ac:214: -1- m4_pattern_allow([^HAVE_STRCASECMP$])
3944m4trace:configure.ac:215: -1- OST_CC_GETOPT
3945m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT$])
3946m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT$])
3947m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT$])
3948m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
3949m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT_LONG$])
3950m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT_LONG$])
3951m4trace:configure.ac:215: -1- m4_pattern_allow([^HAVE_GETOPT_LONG$])
3952m4trace:configure.ac:215: -1- m4_pattern_allow([^GETOPT_LIBS$])
3953m4trace:configure.ac:215: -1- m4_pattern_allow([^LIBGETOPTOBJS$])
3954m4trace:configure.ac:216: -1- OST_CC_DYNAMIC
3955m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
3956m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_SHL_LOAD$])
3957m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_MODULES$])
3958m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_MODULES$])
3959m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_MACH_O_DYLD_H$])
3960m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_MODULES$])
3961m4trace:configure.ac:216: -1- m4_pattern_allow([^HAVE_MACH_DYLD$])
3962m4trace:configure.ac:216: -1- m4_pattern_allow([^DYN_LOADER$])
3963m4trace:configure.ac:217: -1- OST_LIB_PTHREAD
3964m4trace:configure.ac:217: -1- m4_pattern_allow([^WITH_LINUXTHREADS$])
3965m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_H$])
3966m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_H$])
3967m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
3968You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
3969m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3970configure.ac:217: the top level])
3971m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
3972You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
3973m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3974configure.ac:217: the top level])
3975m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_H$])
3976m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3977You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
3978m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3979configure.ac:217: the top level])
3980m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
3981You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
3982m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3983configure.ac:217: the top level])
3984m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
3985You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
3986m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3987configure.ac:217: the top level])
3988m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
3989You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
3990m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3991configure.ac:217: the top level])
3992m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_SYS_ATOMIC_OP_H$])
3993m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_ATOMIC_AIX$])
3994m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_SYS_ATOMIC_H$])
3995m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3996You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
3997m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
3998configure.ac:217: the top level])
3999m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_WORKING_SYS_ATOMIC_H$])
4000m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_BITS_ATOMICITY_H$])
4001m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4002You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4003m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4004configure.ac:217: the top level])
4005m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_GCC_BITS_ATOMIC$])
4006m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4007You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4008m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4009configure.ac:217: the top level])
4010m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_GCC_CXX_BITS_ATOMIC$])
4011m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4012You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4013m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4014configure.ac:217: the top level])
4015m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_THREAD_H$])
4016m4trace:configure.ac:217: -1- m4_pattern_allow([^thrprefix$])
4017m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_LIBMALLOC$])
4018m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_MACH_THREAD_NP$])
4019m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_NANOSLEEP$])
4020m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_NANOSLEEP$])
4021m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_NANOSLEEP$])
4022m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_HIRES_TIMER$])
4023m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
4024m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_HIRES_TIMER$])
4025m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_MLOCK$])
4026m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_MLOCKALL$])
4027m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_MLOCK$])
4028m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_MLOCKALL$])
4029m4trace:configure.ac:217: -1- m4_pattern_allow([^THREAD_FLAGS$])
4030m4trace:configure.ac:217: -1- m4_pattern_allow([^THREAD_LIBS$])
4031m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_NP_H$])
4032m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_SEMAPHORE_H$])
4033m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_SCHED_H$])
4034m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_SYS_SCHED_H$])
4035m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_SCHED_GETSCHEDULER$])
4036m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4037You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4038../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4039../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
4040../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
4041m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4042configure.ac:217: the top level])
4043m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4044You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4045../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4046../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
4047../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
4048m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4049configure.ac:217: the top level])
4050m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4051You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4052../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4053../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
4054../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
4055m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4056configure.ac:217: the top level])
4057m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4058You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4059m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4060configure.ac:217: the top level])
4061m4trace:configure.ac:217: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4062You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4063m4/ost_pthread.m4:23: OST_LIB_PTHREAD is expanded from...
4064configure.ac:217: the top level])
4065m4trace:configure.ac:217: -1- m4_pattern_allow([^PTHREAD_MUTEXTYPE_RECURSIVE$])
4066m4trace:configure.ac:217: -1- m4_pattern_allow([^PTHREAD_MUTEXTYPE_RECURSIVE$])
4067m4trace:configure.ac:217: -1- m4_pattern_allow([^PTHREAD_MUTEXTYPE_RECURSIVE$])
4068m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_MUTEXATTR_SETTYPE$])
4069m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP$])
4070m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_MUTEXATTR_SETKIND_NP$])
4071m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$])
4072m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PREAD_PWRITE$])
4073m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PREAD_PWRITE$])
4074m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PREAD_PWRITE$])
4075m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_SUSPEND$])
4076m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_ATTR_SETSTACKSIZE$])
4077m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_YIELD_NP$])
4078m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_YIELD$])
4079m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_SCHED_YIELD$])
4080m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_CANCEL$])
4081m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_SETCANCELTYPE$])
4082m4trace:configure.ac:217: -3- m4_pattern_allow([^HAVE_PTHREAD_SETCANCEL$])
4083m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_CANCEL$])
4084m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_PTHREAD_SETCANCELTYPE$])
4085m4trace:configure.ac:217: -2- m4_pattern_allow([^HAVE_PTHREAD_DELAY_NP$])
4086m4trace:configure.ac:217: -1- m4_pattern_allow([^PTHREAD_CC$])
4087m4trace:configure.ac:217: -1- m4_pattern_allow([^COMMON_AIX_FIXES$])
4088m4trace:configure.ac:218: -1- OST_LIB_REENTRANT
4089m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_SETENV$])
4090m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_STRTOK_R$])
4091m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_LOCALTIME_R$])
4092m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_STRTOK_R$])
4093m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_LOCALTIME_R$])
4094m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_READDIR_R$])
4095m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_READDIR_R$])
4096m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_STRERROR_R$])
4097m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_STRERROR_R$])
4098m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_GETPWUID_R$])
4099m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_GETPWNAM_R$])
4100m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_GETPWUID_R$])
4101m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_GETPWNAM_R$])
4102m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_GETGRNAM_R$])
4103m4trace:configure.ac:218: -2- m4_pattern_allow([^HAVE_GETGRNAM_R$])
4104m4trace:configure.ac:219: -1- OST_LIB_POLL
4105m4trace:configure.ac:219: -1- m4_pattern_allow([^HAVE_POLL$])
4106m4trace:configure.ac:220: -1- OST_SYS_SOCKET
4107m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_NET_IF_H$])
4108m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$])
4109m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$])
4110m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$])
4111m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_SYS_UN_H$])
4112m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_GETADDRINFO$])
4113m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_INET_PTON$])
4114m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME2$])
4115m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_SYS_LIBCSYS_H$])
4116m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_INET_SOCKETS$])
4117m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_INET_ATON$])
4118m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_SOCKLEN_T$])
4119m4trace:configure.ac:220: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
4120You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
4121../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4122m4/ost_socket.m4:23: OST_SYS_SOCKET is expanded from...
4123configure.ac:220: the top level])
4124m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_NET_IF_H$])
4125m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_NAT_NETFILTER$])
4126m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_NAT_IPF$])
4127m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_NET_PFVAR_H$])
4128m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_NAT_PF$])
4129m4trace:configure.ac:220: -1- m4_pattern_allow([^CCXX_NAT$])
4130m4trace:configure.ac:220: -1- m4_pattern_allow([^HAVE_UNIX_SOCKETS$])
4131m4trace:configure.ac:220: -1- m4_pattern_allow([^SOCKET_LIBS$])
4132m4trace:configure.ac:223: -1- m4_pattern_allow([^USE_MONOTONIC_TIMER$])
4133m4trace:configure.ac:227: -1- OST_LIB_NOZLIB
4134m4trace:configure.ac:227: -1- m4_pattern_allow([^ZSTREAM_LIBS$])
4135m4trace:configure.ac:227: -1- m4_pattern_allow([^HAVE_EXTRAS$])
4136m4trace:configure.ac:227: -1- m4_pattern_allow([^CCXX_SSL$])
4137m4trace:configure.ac:227: -1- m4_pattern_allow([^CCXX_GNUTLS$])
4138m4trace:configure.ac:227: -1- OST_LIB_SSL
4139m4trace:configure.ac:227: -1- m4_pattern_allow([^CCXX_OPENSSL$])
4140m4trace:configure.ac:227: -1- m4_pattern_allow([^CCXX_SSL$])
4141m4trace:configure.ac:227: -1- m4_pattern_allow([^SSL_LIBS$])
4142m4trace:configure.ac:227: -1- OST_LIB_NOSSL
4143m4trace:configure.ac:227: -1- m4_pattern_allow([^SSL_LIBS$])
4144m4trace:configure.ac:227: -1- OST_LIB_NOZLIB
4145m4trace:configure.ac:227: -1- m4_pattern_allow([^ZSTREAM_LIBS$])
4146m4trace:configure.ac:227: -1- OST_LIB_ZLIB
4147m4trace:configure.ac:227: -1- m4_pattern_allow([^HAVE_ZLIB_H$])
4148m4trace:configure.ac:227: -1- m4_pattern_allow([^HAVE_ZLIB_H$])
4149m4trace:configure.ac:227: -1- m4_pattern_allow([^ZSTREAM_LIBS$])
4150m4trace:configure.ac:254: -1- m4_pattern_allow([^COMMON_MEMORY_AUDIT$])
4151m4trace:configure.ac:266: -1- m4_pattern_allow([^CPPUNIT_LIBS$])
4152m4trace:configure.ac:268: -1- AM_CONDITIONAL([WITH_CPPUNIT_TESTS], [test "$CPPUNIT_LIBS" != " "])
4153m4trace:configure.ac:268: -1- m4_pattern_allow([^WITH_CPPUNIT_TESTS_TRUE$])
4154m4trace:configure.ac:268: -1- m4_pattern_allow([^WITH_CPPUNIT_TESTS_FALSE$])
4155m4trace:configure.ac:268: -1- _AM_SUBST_NOTMAKE([WITH_CPPUNIT_TESTS_TRUE])
4156m4trace:configure.ac:268: -1- _AM_SUBST_NOTMAKE([WITH_CPPUNIT_TESTS_FALSE])
4157m4trace:configure.ac:276: -1- OST_CXX_PROGRAMMING
4158m4trace:configure.ac:276: -1- m4_pattern_allow([^CPP$])
4159m4trace:configure.ac:276: -1- m4_pattern_allow([^CPPFLAGS$])
4160m4trace:configure.ac:276: -1- m4_pattern_allow([^CPP$])
4161m4trace:configure.ac:276: -1- m4_pattern_allow([^CXX$])
4162m4trace:configure.ac:276: -1- m4_pattern_allow([^CXXFLAGS$])
4163m4trace:configure.ac:276: -1- m4_pattern_allow([^LDFLAGS$])
4164m4trace:configure.ac:276: -1- m4_pattern_allow([^LIBS$])
4165m4trace:configure.ac:276: -1- m4_pattern_allow([^CPPFLAGS$])
4166m4trace:configure.ac:276: -1- m4_pattern_allow([^CXX$])
4167m4trace:configure.ac:276: -1- m4_pattern_allow([^ac_ct_CXX$])
4168m4trace:configure.ac:276: -1- m4_pattern_allow([^CXXCPP$])
4169m4trace:configure.ac:276: -1- m4_pattern_allow([^CPPFLAGS$])
4170m4trace:configure.ac:276: -1- m4_pattern_allow([^CXXCPP$])
4171m4trace:configure.ac:276: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4172You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4173m4/ost_cxx.m4:24: OST_CXX_PROGRAMMING is expanded from...
4174configure.ac:276: the top level])
4175m4trace:configure.ac:276: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4176You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4177m4/ost_cxx.m4:24: OST_CXX_PROGRAMMING is expanded from...
4178configure.ac:276: the top level])
4179m4trace:configure.ac:276: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4180You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4181m4/ost_cxx.m4:24: OST_CXX_PROGRAMMING is expanded from...
4182configure.ac:276: the top level])
4183m4trace:configure.ac:276: -1- m4_pattern_allow([^HAVE_BOOL_TYPE$])
4184m4trace:configure.ac:276: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4185You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4186m4/ost_cxx.m4:24: OST_CXX_PROGRAMMING is expanded from...
4187configure.ac:276: the top level])
4188m4trace:configure.ac:281: -1- OST_CXX_NOEXCEPTIONS
4189m4trace:configure.ac:281: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4190You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4191m4/ost_cxx.m4:234: OST_CXX_NOEXCEPTIONS is expanded from...
4192../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4193../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4194configure.ac:281: the top level])
4195m4trace:configure.ac:281: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4196You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4197m4/ost_cxx.m4:234: OST_CXX_NOEXCEPTIONS is expanded from...
4198../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4199../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4200configure.ac:281: the top level])
4201m4trace:configure.ac:281: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4202You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4203m4/ost_cxx.m4:234: OST_CXX_NOEXCEPTIONS is expanded from...
4204../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4205../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4206configure.ac:281: the top level])
4207m4trace:configure.ac:281: -1- OST_CXX_EXCEPTIONS
4208m4trace:configure.ac:281: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4209You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4210m4/ost_cxx.m4:316: OST_CXX_EXCEPTIONS is expanded from...
4211../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4212../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4213configure.ac:281: the top level])
4214m4trace:configure.ac:281: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4215You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4216m4/ost_cxx.m4:316: OST_CXX_EXCEPTIONS is expanded from...
4217../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4218../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4219configure.ac:281: the top level])
4220m4trace:configure.ac:281: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4221You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4222m4/ost_cxx.m4:316: OST_CXX_EXCEPTIONS is expanded from...
4223../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4224../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4225configure.ac:281: the top level])
4226m4trace:configure.ac:281: -1- m4_pattern_allow([^CCXX_EXCEPTIONS$])
4227m4trace:configure.ac:281: -1- m4_pattern_allow([^HAVE_EXCEPTION$])
4228m4trace:configure.ac:281: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4229You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4230m4/ost_cxx.m4:316: OST_CXX_EXCEPTIONS is expanded from...
4231../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4232../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4233configure.ac:281: the top level])
4234m4trace:configure.ac:286: -1- OST_CXX_MUTABLE
4235m4trace:configure.ac:286: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4236You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4237m4/ost_cxx.m4:205: OST_CXX_MUTABLE is expanded from...
4238configure.ac:286: the top level])
4239m4trace:configure.ac:286: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4240You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4241m4/ost_cxx.m4:205: OST_CXX_MUTABLE is expanded from...
4242configure.ac:286: the top level])
4243m4trace:configure.ac:286: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4244You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4245m4/ost_cxx.m4:205: OST_CXX_MUTABLE is expanded from...
4246configure.ac:286: the top level])
4247m4trace:configure.ac:286: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4248You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4249m4/ost_cxx.m4:205: OST_CXX_MUTABLE is expanded from...
4250configure.ac:286: the top level])
4251m4trace:configure.ac:287: -1- OST_CXX_NAMESPACE
4252m4trace:configure.ac:287: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4253You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4254m4/ost_cxx.m4:176: OST_CXX_NAMESPACE is expanded from...
4255configure.ac:287: the top level])
4256m4trace:configure.ac:287: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4257You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4258m4/ost_cxx.m4:176: OST_CXX_NAMESPACE is expanded from...
4259configure.ac:287: the top level])
4260m4trace:configure.ac:287: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4261You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4262m4/ost_cxx.m4:176: OST_CXX_NAMESPACE is expanded from...
4263configure.ac:287: the top level])
4264m4trace:configure.ac:287: -1- m4_pattern_allow([^CCXX_NAMESPACES$])
4265m4trace:configure.ac:287: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4266You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4267m4/ost_cxx.m4:176: OST_CXX_NAMESPACE is expanded from...
4268configure.ac:287: the top level])
4269m4trace:configure.ac:288: -1- OST_CXX_IOSTREAM
4270m4trace:configure.ac:288: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4271You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4272m4/ost_cxx.m4:138: OST_CXX_IOSTREAM is expanded from...
4273configure.ac:288: the top level])
4274m4trace:configure.ac:288: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4275You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4276m4/ost_cxx.m4:138: OST_CXX_IOSTREAM is expanded from...
4277configure.ac:288: the top level])
4278m4trace:configure.ac:288: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4279You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4280m4/ost_cxx.m4:138: OST_CXX_IOSTREAM is expanded from...
4281configure.ac:288: the top level])
4282m4trace:configure.ac:288: -1- m4_pattern_allow([^HAVE_OLD_IOSTREAM$])
4283m4trace:configure.ac:288: -1- m4_pattern_allow([^HAVE_SSTREAM$])
4284m4trace:configure.ac:288: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4285You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4286m4/ost_cxx.m4:138: OST_CXX_IOSTREAM is expanded from...
4287configure.ac:288: the top level])
4288m4trace:configure.ac:289: -1- OST_CXX_NEW_INIT
4289m4trace:configure.ac:289: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4290You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4291m4/ost_cxx.m4:64: OST_CXX_NEW_INIT is expanded from...
4292configure.ac:289: the top level])
4293m4trace:configure.ac:289: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4294You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4295m4/ost_cxx.m4:64: OST_CXX_NEW_INIT is expanded from...
4296configure.ac:289: the top level])
4297m4trace:configure.ac:289: -2- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
4298You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
4299m4/ost_cxx.m4:64: OST_CXX_NEW_INIT is expanded from...
4300configure.ac:289: the top level])
4301m4trace:configure.ac:289: -1- m4_pattern_allow([^CCXX_HAVE_NEW_INIT$])
4302m4trace:configure.ac:289: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4303You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4304m4/ost_cxx.m4:64: OST_CXX_NEW_INIT is expanded from...
4305configure.ac:289: the top level])
4306m4trace:configure.ac:290: -1- OST_SGI_STLPORT
4307m4trace:configure.ac:290: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
4308You should run autoupdate.], [../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
4309m4/ost_stlport.m4:53: OST_SGI_STLPORT is expanded from...
4310configure.ac:290: the top level])
4311m4trace:configure.ac:290: -1- _m4_warn([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
4312You should run autoupdate.], [../../lib/autoconf/c.m4:252: AC_LANG_CPLUSPLUS is expanded from...
4313m4/ost_stlport.m4:53: OST_SGI_STLPORT is expanded from...
4314configure.ac:290: the top level])
4315m4trace:configure.ac:290: -1- OST_SEARCH_LIBS([__stl_throw_invalid_argument], [
4316 namespace _STL { void __stl_throw_invalid_argument(const char*); }
4317 ], [_STL::__stl_throw_invalid_argument("x")], [stlport_gcc stlport_cygwin stlport_mingw32 stlport_sunpro stlport_watcom])
4318m4trace:configure.ac:290: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
4319You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
4320../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4321../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
4322../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
4323m4/ost_stlport.m4:29: OST_SEARCH_LIBS is expanded from...
4324../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4325../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4326m4/ost_stlport.m4:53: OST_SGI_STLPORT is expanded from...
4327configure.ac:290: the top level])
4328m4trace:configure.ac:290: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
4329You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
4330../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4331../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
4332../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
4333m4/ost_stlport.m4:29: OST_SEARCH_LIBS is expanded from...
4334../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
4335../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
4336m4/ost_stlport.m4:53: OST_SGI_STLPORT is expanded from...
4337configure.ac:290: the top level])
4338m4trace:configure.ac:290: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
4339You should run autoupdate.], [../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
4340m4/ost_stlport.m4:53: OST_SGI_STLPORT is expanded from...
4341configure.ac:290: the top level])
4342m4trace:configure.ac:298: -1- m4_pattern_allow([^WARN_FLAGS$])
4343m4trace:configure.ac:300: -1- OST_DEBUG
4344m4trace:configure.ac:312: -1- m4_pattern_allow([^LT_RELEASE$])
4345m4trace:configure.ac:313: -1- m4_pattern_allow([^KDOC_DIR$])
4346m4trace:configure.ac:314: -1- m4_pattern_allow([^CCXX_DIR$])
4347m4trace:configure.ac:315: -1- m4_pattern_allow([^incprefix$])
4348m4trace:configure.ac:316: -1- AM_CONDITIONAL([WIN32], [test $ost_cv_gnuwin32 = yes])
4349m4trace:configure.ac:316: -1- m4_pattern_allow([^WIN32_TRUE$])
4350m4trace:configure.ac:316: -1- m4_pattern_allow([^WIN32_FALSE$])
4351m4trace:configure.ac:316: -1- _AM_SUBST_NOTMAKE([WIN32_TRUE])
4352m4trace:configure.ac:316: -1- _AM_SUBST_NOTMAKE([WIN32_FALSE])
4353m4trace:configure.ac:317: -1- AM_CONDITIONAL([EXTRAS], [test $ost_cv_extras = yes])
4354m4trace:configure.ac:317: -1- m4_pattern_allow([^EXTRAS_TRUE$])
4355m4trace:configure.ac:317: -1- m4_pattern_allow([^EXTRAS_FALSE$])
4356m4trace:configure.ac:317: -1- _AM_SUBST_NOTMAKE([EXTRAS_TRUE])
4357m4trace:configure.ac:317: -1- _AM_SUBST_NOTMAKE([EXTRAS_FALSE])
4358m4trace:configure.ac:318: -1- m4_pattern_allow([^ost_cv_dynloader$])
4359m4trace:configure.ac:332: -1- m4_pattern_allow([^CYGWIN_IMPORTS$])
4360m4trace:configure.ac:339: -1- m4_pattern_allow([^_DARWIN6_$])
4361m4trace:configure.ac:349: -1- m4_pattern_allow([^COMMON_FLAGS$])
4362m4trace:configure.ac:350: -1- m4_pattern_allow([^SHARED_FLAGS$])
4363m4trace:configure.ac:351: -1- m4_pattern_allow([^MODULE_FLAGS$])
4364m4trace:configure.ac:352: -1- m4_pattern_allow([^BASE_LIB$])
4365m4trace:configure.ac:353: -1- m4_pattern_allow([^STAGE2$])
4366m4trace:configure.ac:355: -1- m4_pattern_allow([^sysconfdir$])
4367m4trace:configure.ac:356: -1- AC_SUBST_DIR([etc_confdir], [sysconfdir])
4368m4trace:configure.ac:356: -1- m4_pattern_allow([^etc_confdir$])
4369m4trace:configure.ac:359: -1- m4_pattern_allow([^ETC_PREFIX$])
4370m4trace:configure.ac:361: -1- m4_pattern_allow([^ETC_CONFDIR$])
4371m4trace:configure.ac:399: -1- m4_pattern_allow([^DOXYGEN$])
4372m4trace:configure.ac:400: -1- m4_pattern_allow([^DOXYGEN$])
4373m4trace:configure.ac:401: -1- AM_CONDITIONAL([DOXY], [test "$DOXYGEN" != "no"])
4374m4trace:configure.ac:401: -1- m4_pattern_allow([^DOXY_TRUE$])
4375m4trace:configure.ac:401: -1- m4_pattern_allow([^DOXY_FALSE$])
4376m4trace:configure.ac:401: -1- _AM_SUBST_NOTMAKE([DOXY_TRUE])
4377m4trace:configure.ac:401: -1- _AM_SUBST_NOTMAKE([DOXY_FALSE])
4378m4trace:configure.ac:403: -1- AM_CONDITIONAL([GETOPT_LONG], [test ! -z "$LIBGETOPTOBJS"])
4379m4trace:configure.ac:403: -1- m4_pattern_allow([^GETOPT_LONG_TRUE$])
4380m4trace:configure.ac:403: -1- m4_pattern_allow([^GETOPT_LONG_FALSE$])
4381m4trace:configure.ac:403: -1- _AM_SUBST_NOTMAKE([GETOPT_LONG_TRUE])
4382m4trace:configure.ac:403: -1- _AM_SUBST_NOTMAKE([GETOPT_LONG_FALSE])
4383m4trace:configure.ac:408: -1- m4_pattern_allow([^LIB_VERSION$])
4384m4trace:configure.ac:409: -1- m4_pattern_allow([^LIB_MAJOR$])
4385m4trace:configure.ac:411: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
4386You should run autoupdate.], [])
4387m4trace:configure.ac:411: -1- m4_pattern_allow([^LIB@&t@OBJS$])
4388m4trace:configure.ac:411: -1- m4_pattern_allow([^LTLIBOBJS$])
4389m4trace:configure.ac:411: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
4390m4trace:configure.ac:411: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
4391m4trace:configure.ac:411: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
4392m4trace:configure.ac:411: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
4393m4trace:configure.ac:411: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
4394m4trace:configure.ac:411: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
4395m4trace:configure.ac:411: -1- _LT_PROG_LTMAIN
4396m4trace:configure.ac:411: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS