[444] | 1 | m4trace:/home/azad/bin/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' |
---|
| 2 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
---|
| 3 | dnl require some minimum version. Point them to the right macro. |
---|
| 4 | m4_if([$1], [1.11.1], [], |
---|
| 5 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
---|
| 6 | ]) |
---|
| 7 | m4trace:/home/azad/bin/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl |
---|
| 8 | m4_ifndef([AC_AUTOCONF_VERSION], |
---|
| 9 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
---|
| 10 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
---|
| 11 | m4trace:/home/azad/bin/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. |
---|
| 12 | AC_PREREQ([2.50])dnl |
---|
| 13 | # expand $ac_aux_dir to an absolute path |
---|
| 14 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
| 15 | ]) |
---|
| 16 | m4trace:/home/azad/bin/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 |
---|
| 19 | AC_SUBST([$1_TRUE])dnl |
---|
| 20 | AC_SUBST([$1_FALSE])dnl |
---|
| 21 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
---|
| 22 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl |
---|
| 23 | m4_define([_AM_COND_VALUE_$1], [$2])dnl |
---|
| 24 | if $2; then |
---|
| 25 | $1_TRUE= |
---|
| 26 | $1_FALSE='#' |
---|
| 27 | else |
---|
| 28 | $1_TRUE='#' |
---|
| 29 | $1_FALSE= |
---|
| 30 | fi |
---|
| 31 | AC_CONFIG_COMMANDS_PRE( |
---|
| 32 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
---|
| 33 | AC_MSG_ERROR([[conditional "$1" was never defined. |
---|
| 34 | Usually this means the macro was only invoked conditionally.]]) |
---|
| 35 | fi])]) |
---|
| 36 | m4trace:/home/azad/bin/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl |
---|
| 37 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
---|
| 38 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
---|
| 39 | AC_REQUIRE([AM_DEP_TRACK])dnl |
---|
| 40 | |
---|
| 41 | ifelse([$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 | |
---|
| 48 | AC_CACHE_CHECK([dependency style of $depcc], |
---|
| 49 | [am_cv_$1_dependencies_compiler_type], |
---|
| 50 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 51 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 52 | # making bogus files that we don't know about and never remove. For |
---|
| 53 | # instance it was reported that on HP-UX the gcc test will end up |
---|
| 54 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 55 | # in D'. |
---|
| 56 | 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 |
---|
| 155 | else |
---|
| 156 | am_cv_$1_dependencies_compiler_type=none |
---|
| 157 | fi |
---|
| 158 | ]) |
---|
| 159 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
---|
| 160 | AM_CONDITIONAL([am__fastdep$1], [ |
---|
| 161 | test "x$enable_dependency_tracking" != xno \ |
---|
| 162 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
---|
| 163 | ]) |
---|
| 164 | m4trace:/home/azad/bin/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
---|
| 165 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
---|
| 166 | ]) |
---|
| 167 | m4trace:/home/azad/bin/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]) |
---|
| 170 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 171 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 172 | AMDEPBACKSLASH='\' |
---|
| 173 | fi |
---|
| 174 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
---|
| 175 | AC_SUBST([AMDEPBACKSLASH])dnl |
---|
| 176 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
---|
| 177 | ]) |
---|
| 178 | m4trace:/home/azad/bin/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 | ]) |
---|
| 229 | m4trace:/home/azad/bin/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 | ]) |
---|
| 233 | m4trace:/home/azad/bin/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl |
---|
| 234 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
---|
| 235 | dnl the ones we care about. |
---|
| 236 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
---|
| 237 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
---|
| 238 | AC_REQUIRE([AC_PROG_INSTALL])dnl |
---|
| 239 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
| 240 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
| 241 | # is not polluted with repeated "-I." |
---|
| 242 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
---|
| 243 | # test to see if srcdir already configured |
---|
| 244 | if test -f $srcdir/config.status; then |
---|
| 245 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
---|
| 246 | fi |
---|
| 247 | fi |
---|
| 248 | |
---|
| 249 | # test whether we have cygpath |
---|
| 250 | if test -z "$CYGPATH_W"; then |
---|
| 251 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
| 252 | CYGPATH_W='cygpath -w' |
---|
| 253 | else |
---|
| 254 | CYGPATH_W=echo |
---|
| 255 | fi |
---|
| 256 | fi |
---|
| 257 | AC_SUBST([CYGPATH_W]) |
---|
| 258 | |
---|
| 259 | # Define the identity of the package. |
---|
| 260 | dnl Distinguish between old-style and new-style calls. |
---|
| 261 | m4_ifval([$2], |
---|
| 262 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
---|
| 263 | AC_SUBST([PACKAGE], [$1])dnl |
---|
| 264 | AC_SUBST([VERSION], [$2])], |
---|
| 265 | [_AM_SET_OPTIONS([$1])dnl |
---|
| 266 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
---|
| 267 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
---|
| 268 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
---|
| 269 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
---|
| 270 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
---|
| 271 | |
---|
| 272 | _AM_IF_OPTION([no-define],, |
---|
| 273 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
---|
| 274 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
---|
| 275 | |
---|
| 276 | # Some tools Automake needs. |
---|
| 277 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
---|
| 278 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
---|
| 279 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
---|
| 280 | AM_MISSING_PROG(AUTOCONF, autoconf) |
---|
| 281 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
---|
| 282 | AM_MISSING_PROG(AUTOHEADER, autoheader) |
---|
| 283 | AM_MISSING_PROG(MAKEINFO, makeinfo) |
---|
| 284 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
---|
| 285 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
---|
| 286 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
---|
| 287 | # We need awk for the "check" target. The system "awk" is bad on |
---|
| 288 | # some platforms. |
---|
| 289 | AC_REQUIRE([AC_PROG_AWK])dnl |
---|
| 290 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
---|
| 291 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
---|
| 292 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
---|
| 293 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
---|
| 294 | [_AM_PROG_TAR([v7])])]) |
---|
| 295 | _AM_IF_OPTION([no-dependencies],, |
---|
| 296 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
---|
| 297 | [_AM_DEPENDENCIES(CC)], |
---|
| 298 | [define([AC_PROG_CC], |
---|
| 299 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
---|
| 300 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
---|
| 301 | [_AM_DEPENDENCIES(CXX)], |
---|
| 302 | [define([AC_PROG_CXX], |
---|
| 303 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
---|
| 304 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
---|
| 305 | [_AM_DEPENDENCIES(OBJC)], |
---|
| 306 | [define([AC_PROG_OBJC], |
---|
| 307 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
---|
| 308 | ]) |
---|
| 309 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
---|
| 310 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |
---|
| 311 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
---|
| 312 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
---|
| 313 | AC_CONFIG_COMMANDS_PRE(dnl |
---|
| 314 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
---|
| 315 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
---|
| 316 | ]) |
---|
| 317 | m4trace:/home/azad/bin/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. |
---|
| 318 | _am_arg=$1 |
---|
| 319 | _am_stamp_count=1 |
---|
| 320 | for _am_header in $config_headers :; do |
---|
| 321 | case $_am_header in |
---|
| 322 | $_am_arg | $_am_arg:* ) |
---|
| 323 | break ;; |
---|
| 324 | * ) |
---|
| 325 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
| 326 | esac |
---|
| 327 | done |
---|
| 328 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
---|
| 329 | m4trace:/home/azad/bin/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
---|
| 330 | if test x"${install_sh}" != xset; then |
---|
| 331 | case $am_aux_dir in |
---|
| 332 | *\ * | *\ *) |
---|
| 333 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
| 334 | *) |
---|
| 335 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
| 336 | esac |
---|
| 337 | fi |
---|
| 338 | AC_SUBST(install_sh)]) |
---|
| 339 | m4trace:/home/azad/bin/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null |
---|
| 340 | mkdir .tst 2>/dev/null |
---|
| 341 | if test -d .tst; then |
---|
| 342 | am__leading_dot=. |
---|
| 343 | else |
---|
| 344 | am__leading_dot=_ |
---|
| 345 | fi |
---|
| 346 | rmdir .tst 2>/dev/null |
---|
| 347 | AC_SUBST([am__leading_dot])]) |
---|
| 348 | m4trace:/home/azad/bin/share/aclocal-1.11/maintainer.m4:19: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), |
---|
| 349 | [enable], [m4_define([am_maintainer_other], [disable])], |
---|
| 350 | [disable], [m4_define([am_maintainer_other], [enable])], |
---|
| 351 | [m4_define([am_maintainer_other], [enable]) |
---|
| 352 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
---|
| 353 | AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) |
---|
| 354 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
---|
| 355 | AC_ARG_ENABLE([maintainer-mode], |
---|
| 356 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful |
---|
| 357 | (and sometimes confusing) to the casual installer], |
---|
| 358 | [USE_MAINTAINER_MODE=$enableval], |
---|
| 359 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
---|
| 360 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
---|
| 361 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
---|
| 362 | MAINT=$MAINTAINER_MODE_TRUE |
---|
| 363 | AC_SUBST([MAINT])dnl |
---|
| 364 | |
---|
| 365 | ]) |
---|
| 366 | m4trace:/home/azad/bin/share/aclocal-1.11/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
---|
| 367 | m4trace:/home/azad/bin/share/aclocal-1.11/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete. |
---|
| 368 | You should run autoupdate.])dnl |
---|
| 369 | AM_MAINTAINER_MODE]) |
---|
| 370 | m4trace:/home/azad/bin/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} |
---|
| 371 | cat > confinc << 'END' |
---|
| 372 | am__doit: |
---|
| 373 | @echo this is the am__doit target |
---|
| 374 | .PHONY: am__doit |
---|
| 375 | END |
---|
| 376 | # If we don't find an include directive, just comment out the code. |
---|
| 377 | AC_MSG_CHECKING([for style of include used by $am_make]) |
---|
| 378 | am__include="#" |
---|
| 379 | am__quote= |
---|
| 380 | _am_result=none |
---|
| 381 | # First try GNU make style include. |
---|
| 382 | echo "include confinc" > confmf |
---|
| 383 | # Ignore all kinds of additional output from `make'. |
---|
| 384 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 385 | *the\ am__doit\ target*) |
---|
| 386 | am__include=include |
---|
| 387 | am__quote= |
---|
| 388 | _am_result=GNU |
---|
| 389 | ;; |
---|
| 390 | esac |
---|
| 391 | # Now try BSD make style include. |
---|
| 392 | if test "$am__include" = "#"; then |
---|
| 393 | echo '.include "confinc"' > confmf |
---|
| 394 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 395 | *the\ am__doit\ target*) |
---|
| 396 | am__include=.include |
---|
| 397 | am__quote="\"" |
---|
| 398 | _am_result=BSD |
---|
| 399 | ;; |
---|
| 400 | esac |
---|
| 401 | fi |
---|
| 402 | AC_SUBST([am__include]) |
---|
| 403 | AC_SUBST([am__quote]) |
---|
| 404 | AC_MSG_RESULT([$_am_result]) |
---|
| 405 | rm -f confinc confmf |
---|
| 406 | ]) |
---|
| 407 | m4trace:/home/azad/bin/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) |
---|
| 408 | $1=${$1-"${am_missing_run}$2"} |
---|
| 409 | AC_SUBST($1)]) |
---|
| 410 | m4trace:/home/azad/bin/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
---|
| 411 | AC_REQUIRE_AUX_FILE([missing])dnl |
---|
| 412 | if test x"${MISSING+set}" != xset; then |
---|
| 413 | case $am_aux_dir in |
---|
| 414 | *\ * | *\ *) |
---|
| 415 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
| 416 | *) |
---|
| 417 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
| 418 | esac |
---|
| 419 | fi |
---|
| 420 | # Use eval to expand $SHELL |
---|
| 421 | if eval "$MISSING --run true"; then |
---|
| 422 | am_missing_run="$MISSING --run " |
---|
| 423 | else |
---|
| 424 | am_missing_run= |
---|
| 425 | AC_MSG_WARN([`missing' script is too old or missing]) |
---|
| 426 | fi |
---|
| 427 | ]) |
---|
| 428 | m4trace:/home/azad/bin/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl |
---|
| 429 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
---|
| 430 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
---|
| 431 | dnl while keeping a definition of mkdir_p for backward compatibility. |
---|
| 432 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
---|
| 433 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
---|
| 434 | dnl Makefile.ins that do not define MKDIR_P, so we do our own |
---|
| 435 | dnl adjustment using top_builddir (which is defined more often than |
---|
| 436 | dnl MKDIR_P). |
---|
| 437 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
---|
| 438 | case $mkdir_p in |
---|
| 439 | [[\\/$]]* | ?:[[\\/]]*) ;; |
---|
| 440 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
---|
| 441 | esac |
---|
| 442 | ]) |
---|
| 443 | m4trace:/home/azad/bin/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
---|
| 444 | m4trace:/home/azad/bin/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
---|
| 445 | m4trace:/home/azad/bin/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
---|
| 446 | m4trace:/home/azad/bin/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
---|
| 447 | m4trace:/home/azad/bin/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
---|
| 448 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
---|
| 449 | ac_status=$? |
---|
| 450 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
---|
| 451 | (exit $ac_status); }]) |
---|
| 452 | m4trace:/home/azad/bin/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) |
---|
| 453 | # Just in case |
---|
| 454 | sleep 1 |
---|
| 455 | echo timestamp > conftest.file |
---|
| 456 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
| 457 | # name. Accept space and tab only in the latter. |
---|
| 458 | am_lf=' |
---|
| 459 | ' |
---|
| 460 | case `pwd` in |
---|
| 461 | *[[\\\"\#\$\&\'\`$am_lf]]*) |
---|
| 462 | AC_MSG_ERROR([unsafe absolute working directory name]);; |
---|
| 463 | esac |
---|
| 464 | case $srcdir in |
---|
| 465 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
---|
| 466 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |
---|
| 467 | esac |
---|
| 468 | |
---|
| 469 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
| 470 | # arguments. Must try -L first in case configure is actually a |
---|
| 471 | # symlink; some systems play weird games with the mod time of symlinks |
---|
| 472 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
| 473 | # directory). |
---|
| 474 | if ( |
---|
| 475 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
| 476 | if test "$[*]" = "X"; then |
---|
| 477 | # -L didn't work. |
---|
| 478 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
| 479 | fi |
---|
| 480 | rm -f conftest.file |
---|
| 481 | if test "$[*]" != "X $srcdir/configure conftest.file" \ |
---|
| 482 | && test "$[*]" != "X conftest.file $srcdir/configure"; then |
---|
| 483 | |
---|
| 484 | # If neither matched, then we have a broken ls. This can happen |
---|
| 485 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
| 486 | # broken ls alias from the environment. This has actually |
---|
| 487 | # happened. Such a system could not be considered "sane". |
---|
| 488 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
---|
| 489 | alias in your environment]) |
---|
| 490 | fi |
---|
| 491 | |
---|
| 492 | test "$[2]" = conftest.file |
---|
| 493 | ) |
---|
| 494 | then |
---|
| 495 | # Ok. |
---|
| 496 | : |
---|
| 497 | else |
---|
| 498 | AC_MSG_ERROR([newly created file is older than distributed files! |
---|
| 499 | Check your system clock]) |
---|
| 500 | fi |
---|
| 501 | AC_MSG_RESULT(yes)]) |
---|
| 502 | m4trace:/home/azad/bin/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], |
---|
| 503 | [ --enable-silent-rules less verbose build output (undo: `make V=1') |
---|
| 504 | --disable-silent-rules verbose build output (undo: `make V=0')]) |
---|
| 505 | case $enable_silent_rules in |
---|
| 506 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
| 507 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
| 508 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
---|
| 509 | esac |
---|
| 510 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
---|
| 511 | AM_BACKSLASH='\' |
---|
| 512 | AC_SUBST([AM_BACKSLASH])dnl |
---|
| 513 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
---|
| 514 | ]) |
---|
| 515 | m4trace:/home/azad/bin/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
---|
| 516 | # Installed binaries are usually stripped using `strip' when the user |
---|
| 517 | # run `make install-strip'. However `strip' might not be the right |
---|
| 518 | # tool to use in cross-compilation environments, therefore Automake |
---|
| 519 | # will honor the `STRIP' environment variable to overrule this program. |
---|
| 520 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
---|
| 521 | if test "$cross_compiling" != no; then |
---|
| 522 | AC_CHECK_TOOL([STRIP], [strip], :) |
---|
| 523 | fi |
---|
| 524 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
| 525 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
---|
| 526 | m4trace:/home/azad/bin/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) |
---|
| 527 | m4trace:/home/azad/bin/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
---|
| 528 | m4trace:/home/azad/bin/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. |
---|
| 529 | AM_MISSING_PROG([AMTAR], [tar]) |
---|
| 530 | m4_if([$1], [v7], |
---|
| 531 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
---|
| 532 | [m4_case([$1], [ustar],, [pax],, |
---|
| 533 | [m4_fatal([Unknown tar format])]) |
---|
| 534 | AC_MSG_CHECKING([how to create a $1 tar archive]) |
---|
| 535 | # Loop over all known methods to create a tar archive until one works. |
---|
| 536 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
---|
| 537 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
---|
| 538 | # Do not fold the above two line into one, because Tru64 sh and |
---|
| 539 | # Solaris sh will not grok spaces in the rhs of `-'. |
---|
| 540 | for _am_tool in $_am_tools |
---|
| 541 | do |
---|
| 542 | case $_am_tool in |
---|
| 543 | gnutar) |
---|
| 544 | for _am_tar in tar gnutar gtar; |
---|
| 545 | do |
---|
| 546 | AM_RUN_LOG([$_am_tar --version]) && break |
---|
| 547 | done |
---|
| 548 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
---|
| 549 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
---|
| 550 | am__untar="$_am_tar -xf -" |
---|
| 551 | ;; |
---|
| 552 | plaintar) |
---|
| 553 | # Must skip GNU tar: if it does not support --format= it doesn't create |
---|
| 554 | # ustar tarball either. |
---|
| 555 | (tar --version) >/dev/null 2>&1 && continue |
---|
| 556 | am__tar='tar chf - "$$tardir"' |
---|
| 557 | am__tar_='tar chf - "$tardir"' |
---|
| 558 | am__untar='tar xf -' |
---|
| 559 | ;; |
---|
| 560 | pax) |
---|
| 561 | am__tar='pax -L -x $1 -w "$$tardir"' |
---|
| 562 | am__tar_='pax -L -x $1 -w "$tardir"' |
---|
| 563 | am__untar='pax -r' |
---|
| 564 | ;; |
---|
| 565 | cpio) |
---|
| 566 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
---|
| 567 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
---|
| 568 | am__untar='cpio -i -H $1 -d' |
---|
| 569 | ;; |
---|
| 570 | none) |
---|
| 571 | am__tar=false |
---|
| 572 | am__tar_=false |
---|
| 573 | am__untar=false |
---|
| 574 | ;; |
---|
| 575 | esac |
---|
| 576 | |
---|
| 577 | # If the value was cached, stop now. We just wanted to have am__tar |
---|
| 578 | # and am__untar set. |
---|
| 579 | test -n "${am_cv_prog_tar_$1}" && break |
---|
| 580 | |
---|
| 581 | # tar/untar a dummy directory, and stop if the command works |
---|
| 582 | rm -rf conftest.dir |
---|
| 583 | mkdir conftest.dir |
---|
| 584 | echo GrepMe > conftest.dir/file |
---|
| 585 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
---|
| 586 | rm -rf conftest.dir |
---|
| 587 | if test -s conftest.tar; then |
---|
| 588 | AM_RUN_LOG([$am__untar <conftest.tar]) |
---|
| 589 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
---|
| 590 | fi |
---|
| 591 | done |
---|
| 592 | rm -rf conftest.dir |
---|
| 593 | |
---|
| 594 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
---|
| 595 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
---|
| 596 | AC_SUBST([am__tar]) |
---|
| 597 | AC_SUBST([am__untar]) |
---|
| 598 | ]) |
---|
| 599 | m4trace:../../../acinclude.m4:4: -1- AC_DEFUN([DEF_NEWLIB_MAJOR_VERSION], []) |
---|
| 600 | m4trace:../../../acinclude.m4:5: -1- AC_DEFUN([DEF_NEWLIB_MINOR_VERSION], []) |
---|
| 601 | m4trace:../../../acinclude.m4:6: -1- AC_DEFUN([DEF_NEWLIB_PATCHLEVEL_VERSION], []) |
---|
| 602 | m4trace:../../../acinclude.m4:7: -1- AC_DEFUN([DEF_NEWLIB_VERSION], []) |
---|
| 603 | m4trace:../../../acinclude.m4:14: -1- AC_DEFUN([NEWLIB_CONFIGURE], [AC_REQUIRE([DEF_NEWLIB_VERSION]) |
---|
| 604 | dnl Default to --enable-multilib |
---|
| 605 | AC_ARG_ENABLE(multilib, |
---|
| 606 | [ --enable-multilib build many library versions (default)], |
---|
| 607 | [case "${enableval}" in |
---|
| 608 | yes) multilib=yes ;; |
---|
| 609 | no) multilib=no ;; |
---|
| 610 | *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;; |
---|
| 611 | esac], [multilib=yes])dnl |
---|
| 612 | |
---|
| 613 | dnl Support --enable-target-optspace |
---|
| 614 | AC_ARG_ENABLE(target-optspace, |
---|
| 615 | [ --enable-target-optspace optimize for space], |
---|
| 616 | [case "${enableval}" in |
---|
| 617 | yes) target_optspace=yes ;; |
---|
| 618 | no) target_optspace=no ;; |
---|
| 619 | *) AC_MSG_ERROR(bad value ${enableval} for target-optspace option) ;; |
---|
| 620 | esac], [target_optspace=])dnl |
---|
| 621 | |
---|
| 622 | dnl Support --enable-malloc-debugging - currently only supported for Cygwin |
---|
| 623 | AC_ARG_ENABLE(malloc-debugging, |
---|
| 624 | [ --enable-malloc-debugging indicate malloc debugging requested], |
---|
| 625 | [case "${enableval}" in |
---|
| 626 | yes) malloc_debugging=yes ;; |
---|
| 627 | no) malloc_debugging=no ;; |
---|
| 628 | *) AC_MSG_ERROR(bad value ${enableval} for malloc-debugging option) ;; |
---|
| 629 | esac], [malloc_debugging=])dnl |
---|
| 630 | |
---|
| 631 | dnl Support --enable-newlib-multithread |
---|
| 632 | AC_ARG_ENABLE(newlib-multithread, |
---|
| 633 | [ --enable-newlib-multithread enable support for multiple threads], |
---|
| 634 | [case "${enableval}" in |
---|
| 635 | yes) newlib_multithread=yes ;; |
---|
| 636 | no) newlib_multithread=no ;; |
---|
| 637 | *) AC_MSG_ERROR(bad value ${enableval} for newlib-multithread option) ;; |
---|
| 638 | esac], [newlib_multithread=yes])dnl |
---|
| 639 | |
---|
| 640 | dnl Support --enable-newlib-iconv |
---|
| 641 | AC_ARG_ENABLE(newlib-iconv, |
---|
| 642 | [ --enable-newlib-iconv enable iconv library support], |
---|
| 643 | [if test "${newlib_iconv+set}" != set; then |
---|
| 644 | case "${enableval}" in |
---|
| 645 | yes) newlib_iconv=yes ;; |
---|
| 646 | no) newlib_iconv=no ;; |
---|
| 647 | *) AC_MSG_ERROR(bad value ${enableval} for newlib-iconv option) ;; |
---|
| 648 | esac |
---|
| 649 | fi], [newlib_iconv=${newlib_iconv}])dnl |
---|
| 650 | |
---|
| 651 | dnl Support --enable-newlib-elix-level |
---|
| 652 | AC_ARG_ENABLE(newlib-elix-level, |
---|
| 653 | [ --enable-newlib-elix-level supply desired elix library level (1-4)], |
---|
| 654 | [case "${enableval}" in |
---|
| 655 | 0) newlib_elix_level=0 ;; |
---|
| 656 | 1) newlib_elix_level=1 ;; |
---|
| 657 | 2) newlib_elix_level=2 ;; |
---|
| 658 | 3) newlib_elix_level=3 ;; |
---|
| 659 | 4) newlib_elix_level=4 ;; |
---|
| 660 | *) AC_MSG_ERROR(bad value ${enableval} for newlib-elix-level option) ;; |
---|
| 661 | esac], [newlib_elix_level=0])dnl |
---|
| 662 | |
---|
| 663 | dnl Support --disable-newlib-io-float |
---|
| 664 | AC_ARG_ENABLE(newlib-io-float, |
---|
| 665 | [ --disable-newlib-io-float disable printf/scanf family float support], |
---|
| 666 | [case "${enableval}" in |
---|
| 667 | yes) newlib_io_float=yes ;; |
---|
| 668 | no) newlib_io_float=no ;; |
---|
| 669 | *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-float option) ;; |
---|
| 670 | esac], [newlib_io_float=yes])dnl |
---|
| 671 | |
---|
| 672 | dnl Support --disable-newlib-supplied-syscalls |
---|
| 673 | AC_ARG_ENABLE(newlib-supplied-syscalls, |
---|
| 674 | [ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls], |
---|
| 675 | [case "${enableval}" in |
---|
| 676 | yes) newlib_may_supply_syscalls=yes ;; |
---|
| 677 | no) newlib_may_supply_syscalls=no ;; |
---|
| 678 | *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;; |
---|
| 679 | esac], [newlib_may_supply_syscalls=yes])dnl |
---|
| 680 | |
---|
| 681 | AM_CONDITIONAL(MAY_SUPPLY_SYSCALLS, test x[$]{newlib_may_supply_syscalls} = xyes) |
---|
| 682 | |
---|
| 683 | dnl We may get other options which we don't document: |
---|
| 684 | dnl --with-target-subdir, --with-multisrctop, --with-multisubdir |
---|
| 685 | |
---|
| 686 | test -z "[$]{with_target_subdir}" && with_target_subdir=. |
---|
| 687 | |
---|
| 688 | if test "[$]{srcdir}" = "."; then |
---|
| 689 | if test "[$]{with_target_subdir}" != "."; then |
---|
| 690 | newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../$1" |
---|
| 691 | else |
---|
| 692 | newlib_basedir="[$]{srcdir}/[$]{with_multisrctop}$1" |
---|
| 693 | fi |
---|
| 694 | else |
---|
| 695 | newlib_basedir="[$]{srcdir}/$1" |
---|
| 696 | fi |
---|
| 697 | AC_SUBST(newlib_basedir) |
---|
| 698 | |
---|
| 699 | AC_CANONICAL_HOST |
---|
| 700 | |
---|
| 701 | AM_INIT_AUTOMAKE([cygnus no-define 1.9.5]) |
---|
| 702 | |
---|
| 703 | # FIXME: We temporarily define our own version of AC_PROG_CC. This is |
---|
| 704 | # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We |
---|
| 705 | # are probably using a cross compiler, which will not be able to fully |
---|
| 706 | # link an executable. This should really be fixed in autoconf |
---|
| 707 | # itself. |
---|
| 708 | |
---|
| 709 | AC_DEFUN([LIB_AC_PROG_CC_GNU], |
---|
| 710 | [AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc, |
---|
| 711 | [dnl The semicolon is to pacify NeXT's syntax-checking cpp. |
---|
| 712 | cat > conftest.c <<EOF |
---|
| 713 | #ifdef __GNUC__ |
---|
| 714 | yes; |
---|
| 715 | #endif |
---|
| 716 | EOF |
---|
| 717 | if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then |
---|
| 718 | ac_cv_prog_gcc=yes |
---|
| 719 | else |
---|
| 720 | ac_cv_prog_gcc=no |
---|
| 721 | fi])]) |
---|
| 722 | |
---|
| 723 | AC_DEFUN([LIB_AM_PROG_AS], |
---|
| 724 | [# By default we simply use the C compiler to build assembly code. |
---|
| 725 | AC_REQUIRE([LIB_AC_PROG_CC]) |
---|
| 726 | test "${CCAS+set}" = set || CCAS=$CC |
---|
| 727 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
---|
| 728 | AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)]) |
---|
| 729 | AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)]) |
---|
| 730 | ]) |
---|
| 731 | |
---|
| 732 | AC_DEFUN([LIB_AC_PROG_CC], |
---|
| 733 | [AC_BEFORE([$0], [AC_PROG_CPP])dnl |
---|
| 734 | AC_CHECK_PROG(CC, gcc, gcc) |
---|
| 735 | _AM_DEPENDENCIES(CC) |
---|
| 736 | if test -z "$CC"; then |
---|
| 737 | AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) |
---|
| 738 | test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) |
---|
| 739 | fi |
---|
| 740 | |
---|
| 741 | LIB_AC_PROG_CC_GNU |
---|
| 742 | |
---|
| 743 | if test $ac_cv_prog_gcc = yes; then |
---|
| 744 | GCC=yes |
---|
| 745 | dnl Check whether -g works, even if CFLAGS is set, in case the package |
---|
| 746 | dnl plays around with CFLAGS (such as to build both debugging and |
---|
| 747 | dnl normal versions of a library), tasteless as that idea is. |
---|
| 748 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 749 | ac_save_CFLAGS="$CFLAGS" |
---|
| 750 | _AC_PROG_CC_G |
---|
| 751 | if test "$ac_test_CFLAGS" = set; then |
---|
| 752 | CFLAGS="$ac_save_CFLAGS" |
---|
| 753 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 754 | CFLAGS="-g -O2" |
---|
| 755 | else |
---|
| 756 | CFLAGS="-O2" |
---|
| 757 | fi |
---|
| 758 | else |
---|
| 759 | GCC= |
---|
| 760 | test "${CFLAGS+set}" = set || CFLAGS="-g" |
---|
| 761 | fi |
---|
| 762 | ]) |
---|
| 763 | |
---|
| 764 | LIB_AC_PROG_CC |
---|
| 765 | |
---|
| 766 | AC_CHECK_TOOL(AS, as) |
---|
| 767 | AC_CHECK_TOOL(AR, ar) |
---|
| 768 | AC_CHECK_TOOL(RANLIB, ranlib, :) |
---|
| 769 | AC_CHECK_TOOL(READELF, readelf, :) |
---|
| 770 | |
---|
| 771 | AC_PROG_INSTALL |
---|
| 772 | |
---|
| 773 | # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ |
---|
| 774 | ac_given_INSTALL=$INSTALL |
---|
| 775 | |
---|
| 776 | AM_MAINTAINER_MODE |
---|
| 777 | LIB_AM_PROG_AS |
---|
| 778 | |
---|
| 779 | # We need AC_EXEEXT to keep automake happy in cygnus mode. However, |
---|
| 780 | # at least currently, we never actually build a program, so we never |
---|
| 781 | # need to use $(EXEEXT). Moreover, the test for EXEEXT normally |
---|
| 782 | # fails, because we are probably configuring with a cross compiler |
---|
| 783 | # which can't create executables. So we include AC_EXEEXT to keep |
---|
| 784 | # automake happy, but we don't execute it, since we don't care about |
---|
| 785 | # the result. |
---|
| 786 | if false; then |
---|
| 787 | AC_EXEEXT |
---|
| 788 | dummy_var=1 |
---|
| 789 | fi |
---|
| 790 | |
---|
| 791 | . [$]{newlib_basedir}/configure.host |
---|
| 792 | |
---|
| 793 | newlib_cflags="[$]{newlib_cflags} -fno-builtin" |
---|
| 794 | |
---|
| 795 | NEWLIB_CFLAGS=${newlib_cflags} |
---|
| 796 | AC_SUBST(NEWLIB_CFLAGS) |
---|
| 797 | |
---|
| 798 | NO_INCLUDE_LIST=${noinclude} |
---|
| 799 | AC_SUBST(NO_INCLUDE_LIST) |
---|
| 800 | |
---|
| 801 | LDFLAGS=${ldflags} |
---|
| 802 | AC_SUBST(LDFLAGS) |
---|
| 803 | |
---|
| 804 | AM_CONDITIONAL(ELIX_LEVEL_0, test x[$]{newlib_elix_level} = x0) |
---|
| 805 | AM_CONDITIONAL(ELIX_LEVEL_1, test x[$]{newlib_elix_level} = x1) |
---|
| 806 | AM_CONDITIONAL(ELIX_LEVEL_2, test x[$]{newlib_elix_level} = x2) |
---|
| 807 | AM_CONDITIONAL(ELIX_LEVEL_3, test x[$]{newlib_elix_level} = x3) |
---|
| 808 | AM_CONDITIONAL(ELIX_LEVEL_4, test x[$]{newlib_elix_level} = x4) |
---|
| 809 | |
---|
| 810 | AM_CONDITIONAL(USE_LIBTOOL, test x[$]{use_libtool} = xyes) |
---|
| 811 | |
---|
| 812 | # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we |
---|
| 813 | # use oext, which is set in configure.host based on the target platform. |
---|
| 814 | OBJEXT=${oext} |
---|
| 815 | |
---|
| 816 | AC_SUBST(OBJEXT) |
---|
| 817 | AC_SUBST(oext) |
---|
| 818 | AC_SUBST(aext) |
---|
| 819 | AC_SUBST(lpfx) |
---|
| 820 | |
---|
| 821 | AC_SUBST(libm_machine_dir) |
---|
| 822 | AC_SUBST(machine_dir) |
---|
| 823 | AC_SUBST(sys_dir) |
---|
| 824 | ]) |
---|
| 825 | m4trace:configure.in:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
---|
| 826 | m4trace:configure.in:5: -1- m4_pattern_forbid([_AC_]) |
---|
| 827 | m4trace:configure.in:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
---|
| 828 | m4trace:configure.in:5: -1- m4_pattern_allow([^AS_FLAGS$]) |
---|
| 829 | m4trace:configure.in:5: -1- m4_pattern_forbid([^_?m4_]) |
---|
| 830 | m4trace:configure.in:5: -1- m4_pattern_forbid([^dnl$]) |
---|
| 831 | m4trace:configure.in:5: -1- m4_pattern_forbid([^_?AS_]) |
---|
| 832 | m4trace:configure.in:5: -1- m4_pattern_allow([^SHELL$]) |
---|
| 833 | m4trace:configure.in:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) |
---|
| 834 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) |
---|
| 835 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) |
---|
| 836 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) |
---|
| 837 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) |
---|
| 838 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) |
---|
| 839 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_URL$]) |
---|
| 840 | m4trace:configure.in:5: -1- m4_pattern_allow([^exec_prefix$]) |
---|
| 841 | m4trace:configure.in:5: -1- m4_pattern_allow([^prefix$]) |
---|
| 842 | m4trace:configure.in:5: -1- m4_pattern_allow([^program_transform_name$]) |
---|
| 843 | m4trace:configure.in:5: -1- m4_pattern_allow([^bindir$]) |
---|
| 844 | m4trace:configure.in:5: -1- m4_pattern_allow([^sbindir$]) |
---|
| 845 | m4trace:configure.in:5: -1- m4_pattern_allow([^libexecdir$]) |
---|
| 846 | m4trace:configure.in:5: -1- m4_pattern_allow([^datarootdir$]) |
---|
| 847 | m4trace:configure.in:5: -1- m4_pattern_allow([^datadir$]) |
---|
| 848 | m4trace:configure.in:5: -1- m4_pattern_allow([^sysconfdir$]) |
---|
| 849 | m4trace:configure.in:5: -1- m4_pattern_allow([^sharedstatedir$]) |
---|
| 850 | m4trace:configure.in:5: -1- m4_pattern_allow([^localstatedir$]) |
---|
| 851 | m4trace:configure.in:5: -1- m4_pattern_allow([^includedir$]) |
---|
| 852 | m4trace:configure.in:5: -1- m4_pattern_allow([^oldincludedir$]) |
---|
| 853 | m4trace:configure.in:5: -1- m4_pattern_allow([^docdir$]) |
---|
| 854 | m4trace:configure.in:5: -1- m4_pattern_allow([^infodir$]) |
---|
| 855 | m4trace:configure.in:5: -1- m4_pattern_allow([^htmldir$]) |
---|
| 856 | m4trace:configure.in:5: -1- m4_pattern_allow([^dvidir$]) |
---|
| 857 | m4trace:configure.in:5: -1- m4_pattern_allow([^pdfdir$]) |
---|
| 858 | m4trace:configure.in:5: -1- m4_pattern_allow([^psdir$]) |
---|
| 859 | m4trace:configure.in:5: -1- m4_pattern_allow([^libdir$]) |
---|
| 860 | m4trace:configure.in:5: -1- m4_pattern_allow([^localedir$]) |
---|
| 861 | m4trace:configure.in:5: -1- m4_pattern_allow([^mandir$]) |
---|
| 862 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) |
---|
| 863 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) |
---|
| 864 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) |
---|
| 865 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) |
---|
| 866 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) |
---|
| 867 | m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE_URL$]) |
---|
| 868 | m4trace:configure.in:5: -1- m4_pattern_allow([^DEFS$]) |
---|
| 869 | m4trace:configure.in:5: -1- m4_pattern_allow([^ECHO_C$]) |
---|
| 870 | m4trace:configure.in:5: -1- m4_pattern_allow([^ECHO_N$]) |
---|
| 871 | m4trace:configure.in:5: -1- m4_pattern_allow([^ECHO_T$]) |
---|
| 872 | m4trace:configure.in:5: -1- m4_pattern_allow([^LIBS$]) |
---|
| 873 | m4trace:configure.in:5: -1- m4_pattern_allow([^build_alias$]) |
---|
| 874 | m4trace:configure.in:5: -1- m4_pattern_allow([^host_alias$]) |
---|
| 875 | m4trace:configure.in:5: -1- m4_pattern_allow([^target_alias$]) |
---|
| 876 | m4trace:configure.in:11: -1- NEWLIB_CONFIGURE([../../..]) |
---|
| 877 | m4trace:configure.in:11: -1- DEF_NEWLIB_VERSION |
---|
| 878 | m4trace:configure.in:11: -1- AM_CONDITIONAL([MAY_SUPPLY_SYSCALLS], [test x${newlib_may_supply_syscalls} = xyes]) |
---|
| 879 | m4trace:configure.in:11: -1- m4_pattern_allow([^MAY_SUPPLY_SYSCALLS_TRUE$]) |
---|
| 880 | m4trace:configure.in:11: -1- m4_pattern_allow([^MAY_SUPPLY_SYSCALLS_FALSE$]) |
---|
| 881 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([MAY_SUPPLY_SYSCALLS_TRUE]) |
---|
| 882 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([MAY_SUPPLY_SYSCALLS_FALSE]) |
---|
| 883 | m4trace:configure.in:11: -1- m4_pattern_allow([^newlib_basedir$]) |
---|
| 884 | m4trace:configure.in:11: -1- m4_pattern_allow([^build$]) |
---|
| 885 | m4trace:configure.in:11: -1- m4_pattern_allow([^build_cpu$]) |
---|
| 886 | m4trace:configure.in:11: -1- m4_pattern_allow([^build_vendor$]) |
---|
| 887 | m4trace:configure.in:11: -1- m4_pattern_allow([^build_os$]) |
---|
| 888 | m4trace:configure.in:11: -1- m4_pattern_allow([^host$]) |
---|
| 889 | m4trace:configure.in:11: -1- m4_pattern_allow([^host_cpu$]) |
---|
| 890 | m4trace:configure.in:11: -1- m4_pattern_allow([^host_vendor$]) |
---|
| 891 | m4trace:configure.in:11: -1- m4_pattern_allow([^host_os$]) |
---|
| 892 | m4trace:configure.in:11: -1- AM_INIT_AUTOMAKE([cygnus no-define 1.9.5]) |
---|
| 893 | m4trace:configure.in:11: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) |
---|
| 894 | m4trace:configure.in:11: -1- AM_SET_CURRENT_AUTOMAKE_VERSION |
---|
| 895 | m4trace:configure.in:11: -1- AM_AUTOMAKE_VERSION([1.11.1]) |
---|
| 896 | m4trace:configure.in:11: -1- _AM_AUTOCONF_VERSION([2.65]) |
---|
| 897 | m4trace:configure.in:11: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) |
---|
| 898 | m4trace:configure.in:11: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) |
---|
| 899 | m4trace:configure.in:11: -1- m4_pattern_allow([^INSTALL_DATA$]) |
---|
| 900 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__isrc$]) |
---|
| 901 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([am__isrc]) |
---|
| 902 | m4trace:configure.in:11: -1- m4_pattern_allow([^CYGPATH_W$]) |
---|
| 903 | m4trace:configure.in:11: -1- _AM_SET_OPTIONS([cygnus no-define 1.9.5]) |
---|
| 904 | m4trace:configure.in:11: -1- _AM_SET_OPTION([cygnus]) |
---|
| 905 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([cygnus]) |
---|
| 906 | m4trace:configure.in:11: -1- _AM_SET_OPTION([no-define]) |
---|
| 907 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([no-define]) |
---|
| 908 | m4trace:configure.in:11: -1- _AM_SET_OPTION([1.9.5]) |
---|
| 909 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([1.9.5]) |
---|
| 910 | m4trace:configure.in:11: -1- m4_pattern_allow([^PACKAGE$]) |
---|
| 911 | m4trace:configure.in:11: -1- m4_pattern_allow([^VERSION$]) |
---|
| 912 | m4trace:configure.in:11: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
---|
| 913 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) |
---|
| 914 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([no-define]) |
---|
| 915 | m4trace:configure.in:11: -1- AM_SANITY_CHECK |
---|
| 916 | m4trace:configure.in:11: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
---|
| 917 | m4trace:configure.in:11: -1- AM_MISSING_HAS_RUN |
---|
| 918 | m4trace:configure.in:11: -1- AM_AUX_DIR_EXPAND |
---|
| 919 | m4trace:configure.in:11: -1- m4_pattern_allow([^ACLOCAL$]) |
---|
| 920 | m4trace:configure.in:11: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) |
---|
| 921 | m4trace:configure.in:11: -1- m4_pattern_allow([^AUTOCONF$]) |
---|
| 922 | m4trace:configure.in:11: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
---|
| 923 | m4trace:configure.in:11: -1- m4_pattern_allow([^AUTOMAKE$]) |
---|
| 924 | m4trace:configure.in:11: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
---|
| 925 | m4trace:configure.in:11: -1- m4_pattern_allow([^AUTOHEADER$]) |
---|
| 926 | m4trace:configure.in:11: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
---|
| 927 | m4trace:configure.in:11: -1- m4_pattern_allow([^MAKEINFO$]) |
---|
| 928 | m4trace:configure.in:11: -1- AM_PROG_INSTALL_SH |
---|
| 929 | m4trace:configure.in:11: -1- m4_pattern_allow([^install_sh$]) |
---|
| 930 | m4trace:configure.in:11: -1- AM_PROG_INSTALL_STRIP |
---|
| 931 | m4trace:configure.in:11: -1- m4_pattern_allow([^STRIP$]) |
---|
| 932 | m4trace:configure.in:11: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) |
---|
| 933 | m4trace:configure.in:11: -1- AM_PROG_MKDIR_P |
---|
| 934 | m4trace:configure.in:11: -1- m4_pattern_allow([^MKDIR_P$]) |
---|
| 935 | m4trace:configure.in:11: -1- m4_pattern_allow([^mkdir_p$]) |
---|
| 936 | m4trace:configure.in:11: -1- m4_pattern_allow([^AWK$]) |
---|
| 937 | m4trace:configure.in:11: -1- m4_pattern_allow([^SET_MAKE$]) |
---|
| 938 | m4trace:configure.in:11: -1- AM_SET_LEADING_DOT |
---|
| 939 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__leading_dot$]) |
---|
| 940 | m4trace:configure.in:11: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
---|
| 941 | [_AM_PROG_TAR([v7])])]) |
---|
| 942 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([tar-ustar]) |
---|
| 943 | m4trace:configure.in:11: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) |
---|
| 944 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([tar-pax]) |
---|
| 945 | m4trace:configure.in:11: -1- _AM_PROG_TAR([v7]) |
---|
| 946 | m4trace:configure.in:11: -1- AM_MISSING_PROG([AMTAR], [tar]) |
---|
| 947 | m4trace:configure.in:11: -1- m4_pattern_allow([^AMTAR$]) |
---|
| 948 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__tar$]) |
---|
| 949 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__untar$]) |
---|
| 950 | m4trace:configure.in:11: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], |
---|
| 951 | [_AM_DEPENDENCIES(CC)], |
---|
| 952 | [define([AC_PROG_CC], |
---|
| 953 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
---|
| 954 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
---|
| 955 | [_AM_DEPENDENCIES(CXX)], |
---|
| 956 | [define([AC_PROG_CXX], |
---|
| 957 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
---|
| 958 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
---|
| 959 | [_AM_DEPENDENCIES(OBJC)], |
---|
| 960 | [define([AC_PROG_OBJC], |
---|
| 961 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
---|
| 962 | ]) |
---|
| 963 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([no-dependencies]) |
---|
| 964 | m4trace:configure.in:11: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) |
---|
| 965 | m4trace:configure.in:11: -2- _AM_MANGLE_OPTION([silent-rules]) |
---|
| 966 | m4trace:configure.in:11: -1- AC_DEFUN([LIB_AC_PROG_CC_GNU], [AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc, |
---|
| 967 | [dnl The semicolon is to pacify NeXT's syntax-checking cpp. |
---|
| 968 | cat > conftest.c <<EOF |
---|
| 969 | #ifdef __GNUC__ |
---|
| 970 | yes; |
---|
| 971 | #endif |
---|
| 972 | EOF |
---|
| 973 | if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then |
---|
| 974 | ac_cv_prog_gcc=yes |
---|
| 975 | else |
---|
| 976 | ac_cv_prog_gcc=no |
---|
| 977 | fi])]) |
---|
| 978 | m4trace:configure.in:11: -1- AC_DEFUN([LIB_AM_PROG_AS], [# By default we simply use the C compiler to build assembly code. |
---|
| 979 | AC_REQUIRE([LIB_AC_PROG_CC]) |
---|
| 980 | test "${CCAS+set}" = set || CCAS=$CC |
---|
| 981 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS |
---|
| 982 | AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)]) |
---|
| 983 | AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)]) |
---|
| 984 | ]) |
---|
| 985 | m4trace:configure.in:11: -1- AC_DEFUN([LIB_AC_PROG_CC], [AC_BEFORE([NEWLIB_CONFIGURE], [AC_PROG_CPP])dnl |
---|
| 986 | AC_CHECK_PROG(CC, gcc, gcc) |
---|
| 987 | _AM_DEPENDENCIES(CC) |
---|
| 988 | if test -z "$CC"; then |
---|
| 989 | AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) |
---|
| 990 | test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) |
---|
| 991 | fi |
---|
| 992 | |
---|
| 993 | LIB_AC_PROG_CC_GNU |
---|
| 994 | |
---|
| 995 | if test $ac_cv_prog_gcc = yes; then |
---|
| 996 | GCC=yes |
---|
| 997 | dnl Check whether -g works, even if CFLAGS is set, in case the package |
---|
| 998 | dnl plays around with CFLAGS (such as to build both debugging and |
---|
| 999 | dnl normal versions of a library), tasteless as that idea is. |
---|
| 1000 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 1001 | ac_save_CFLAGS="$CFLAGS" |
---|
| 1002 | _AC_PROG_CC_G |
---|
| 1003 | if test "$ac_test_CFLAGS" = set; then |
---|
| 1004 | CFLAGS="$ac_save_CFLAGS" |
---|
| 1005 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 1006 | CFLAGS="-g -O2" |
---|
| 1007 | else |
---|
| 1008 | CFLAGS="-O2" |
---|
| 1009 | fi |
---|
| 1010 | else |
---|
| 1011 | GCC= |
---|
| 1012 | test "${CFLAGS+set}" = set || CFLAGS="-g" |
---|
| 1013 | fi |
---|
| 1014 | ]) |
---|
| 1015 | m4trace:configure.in:11: -1- LIB_AC_PROG_CC |
---|
| 1016 | m4trace:configure.in:11: -1- m4_pattern_allow([^CC$]) |
---|
| 1017 | m4trace:configure.in:11: -1- _AM_DEPENDENCIES([CC]) |
---|
| 1018 | m4trace:configure.in:11: -1- AM_SET_DEPDIR |
---|
| 1019 | m4trace:configure.in:11: -1- m4_pattern_allow([^DEPDIR$]) |
---|
| 1020 | m4trace:configure.in:11: -1- AM_OUTPUT_DEPENDENCY_COMMANDS |
---|
| 1021 | m4trace:configure.in:11: -1- AM_MAKE_INCLUDE |
---|
| 1022 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__include$]) |
---|
| 1023 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__quote$]) |
---|
| 1024 | m4trace:configure.in:11: -1- AM_DEP_TRACK |
---|
| 1025 | m4trace:configure.in:11: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
---|
| 1026 | m4trace:configure.in:11: -1- m4_pattern_allow([^AMDEP_TRUE$]) |
---|
| 1027 | m4trace:configure.in:11: -1- m4_pattern_allow([^AMDEP_FALSE$]) |
---|
| 1028 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) |
---|
| 1029 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) |
---|
| 1030 | m4trace:configure.in:11: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) |
---|
| 1031 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) |
---|
| 1032 | m4trace:configure.in:11: -1- m4_pattern_allow([^CCDEPMODE$]) |
---|
| 1033 | m4trace:configure.in:11: -1- AM_CONDITIONAL([am__fastdepCC], [ |
---|
| 1034 | test "x$enable_dependency_tracking" != xno \ |
---|
| 1035 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) |
---|
| 1036 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) |
---|
| 1037 | m4trace:configure.in:11: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) |
---|
| 1038 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) |
---|
| 1039 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) |
---|
| 1040 | m4trace:configure.in:11: -1- m4_pattern_allow([^CC$]) |
---|
| 1041 | m4trace:configure.in:11: -1- LIB_AC_PROG_CC_GNU |
---|
| 1042 | m4trace:configure.in:11: -2- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete. |
---|
| 1043 | You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from... |
---|
| 1044 | configure.in:11: LIB_AC_PROG_CC_GNU is expanded from... |
---|
| 1045 | configure.in:11: LIB_AC_PROG_CC is expanded from... |
---|
| 1046 | ../../../acinclude.m4:14: NEWLIB_CONFIGURE is expanded from... |
---|
| 1047 | configure.in:11: the top level]) |
---|
| 1048 | m4trace:configure.in:11: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete. |
---|
| 1049 | You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from... |
---|
| 1050 | ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... |
---|
| 1051 | ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... |
---|
| 1052 | ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... |
---|
| 1053 | configure.in:11: LIB_AC_PROG_CC_GNU is expanded from... |
---|
| 1054 | configure.in:11: LIB_AC_PROG_CC is expanded from... |
---|
| 1055 | ../../../acinclude.m4:14: NEWLIB_CONFIGURE is expanded from... |
---|
| 1056 | configure.in:11: the top level]) |
---|
| 1057 | m4trace:configure.in:11: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete. |
---|
| 1058 | You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from... |
---|
| 1059 | ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... |
---|
| 1060 | ../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from... |
---|
| 1061 | ../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from... |
---|
| 1062 | configure.in:11: LIB_AC_PROG_CC_GNU is expanded from... |
---|
| 1063 | configure.in:11: LIB_AC_PROG_CC is expanded from... |
---|
| 1064 | ../../../acinclude.m4:14: NEWLIB_CONFIGURE is expanded from... |
---|
| 1065 | configure.in:11: the top level]) |
---|
| 1066 | m4trace:configure.in:11: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete. |
---|
| 1067 | You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from... |
---|
| 1068 | configure.in:11: LIB_AC_PROG_CC is expanded from... |
---|
| 1069 | ../../../acinclude.m4:14: NEWLIB_CONFIGURE is expanded from... |
---|
| 1070 | configure.in:11: the top level]) |
---|
| 1071 | m4trace:configure.in:11: -1- m4_pattern_allow([^AS$]) |
---|
| 1072 | m4trace:configure.in:11: -1- m4_pattern_allow([^AR$]) |
---|
| 1073 | m4trace:configure.in:11: -1- m4_pattern_allow([^RANLIB$]) |
---|
| 1074 | m4trace:configure.in:11: -1- m4_pattern_allow([^READELF$]) |
---|
| 1075 | m4trace:configure.in:11: -1- AM_MAINTAINER_MODE |
---|
| 1076 | m4trace:configure.in:11: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
---|
| 1077 | m4trace:configure.in:11: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) |
---|
| 1078 | m4trace:configure.in:11: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) |
---|
| 1079 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) |
---|
| 1080 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) |
---|
| 1081 | m4trace:configure.in:11: -1- m4_pattern_allow([^MAINT$]) |
---|
| 1082 | m4trace:configure.in:11: -1- LIB_AM_PROG_AS |
---|
| 1083 | m4trace:configure.in:11: -1- m4_pattern_allow([^CCAS$]) |
---|
| 1084 | m4trace:configure.in:11: -1- m4_pattern_allow([^CCASFLAGS$]) |
---|
| 1085 | m4trace:configure.in:11: -1- m4_pattern_allow([^NEWLIB_CFLAGS$]) |
---|
| 1086 | m4trace:configure.in:11: -1- m4_pattern_allow([^NO_INCLUDE_LIST$]) |
---|
| 1087 | m4trace:configure.in:11: -1- m4_pattern_allow([^LDFLAGS$]) |
---|
| 1088 | m4trace:configure.in:11: -1- AM_CONDITIONAL([ELIX_LEVEL_0], [test x${newlib_elix_level} = x0]) |
---|
| 1089 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_0_TRUE$]) |
---|
| 1090 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_0_FALSE$]) |
---|
| 1091 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_0_TRUE]) |
---|
| 1092 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_0_FALSE]) |
---|
| 1093 | m4trace:configure.in:11: -1- AM_CONDITIONAL([ELIX_LEVEL_1], [test x${newlib_elix_level} = x1]) |
---|
| 1094 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_1_TRUE$]) |
---|
| 1095 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_1_FALSE$]) |
---|
| 1096 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_1_TRUE]) |
---|
| 1097 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_1_FALSE]) |
---|
| 1098 | m4trace:configure.in:11: -1- AM_CONDITIONAL([ELIX_LEVEL_2], [test x${newlib_elix_level} = x2]) |
---|
| 1099 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_2_TRUE$]) |
---|
| 1100 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_2_FALSE$]) |
---|
| 1101 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_2_TRUE]) |
---|
| 1102 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_2_FALSE]) |
---|
| 1103 | m4trace:configure.in:11: -1- AM_CONDITIONAL([ELIX_LEVEL_3], [test x${newlib_elix_level} = x3]) |
---|
| 1104 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_3_TRUE$]) |
---|
| 1105 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_3_FALSE$]) |
---|
| 1106 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_3_TRUE]) |
---|
| 1107 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_3_FALSE]) |
---|
| 1108 | m4trace:configure.in:11: -1- AM_CONDITIONAL([ELIX_LEVEL_4], [test x${newlib_elix_level} = x4]) |
---|
| 1109 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_4_TRUE$]) |
---|
| 1110 | m4trace:configure.in:11: -1- m4_pattern_allow([^ELIX_LEVEL_4_FALSE$]) |
---|
| 1111 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_4_TRUE]) |
---|
| 1112 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([ELIX_LEVEL_4_FALSE]) |
---|
| 1113 | m4trace:configure.in:11: -1- AM_CONDITIONAL([USE_LIBTOOL], [test x${use_libtool} = xyes]) |
---|
| 1114 | m4trace:configure.in:11: -1- m4_pattern_allow([^USE_LIBTOOL_TRUE$]) |
---|
| 1115 | m4trace:configure.in:11: -1- m4_pattern_allow([^USE_LIBTOOL_FALSE$]) |
---|
| 1116 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([USE_LIBTOOL_TRUE]) |
---|
| 1117 | m4trace:configure.in:11: -1- _AM_SUBST_NOTMAKE([USE_LIBTOOL_FALSE]) |
---|
| 1118 | m4trace:configure.in:11: -1- m4_pattern_allow([^OBJEXT$]) |
---|
| 1119 | m4trace:configure.in:11: -1- m4_pattern_allow([^oext$]) |
---|
| 1120 | m4trace:configure.in:11: -1- m4_pattern_allow([^aext$]) |
---|
| 1121 | m4trace:configure.in:11: -1- m4_pattern_allow([^lpfx$]) |
---|
| 1122 | m4trace:configure.in:11: -1- m4_pattern_allow([^libm_machine_dir$]) |
---|
| 1123 | m4trace:configure.in:11: -1- m4_pattern_allow([^machine_dir$]) |
---|
| 1124 | m4trace:configure.in:11: -1- m4_pattern_allow([^sys_dir$]) |
---|
| 1125 | m4trace:configure.in:14: -1- m4_pattern_allow([^LIB@&t@OBJS$]) |
---|
| 1126 | m4trace:configure.in:14: -1- m4_pattern_allow([^LTLIBOBJS$]) |
---|
| 1127 | m4trace:configure.in:14: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS |
---|