Commit 43d697038dc02975e931e59214b996346945466c
1 parent
9bcef88b
Added configure.in patch by Romuald Conty, thanks :)
Showing
4 changed files
with
30 additions
and
6139 deletions
dsoextractfw/ChangeLog
| ... | ... | @@ -13,4 +13,10 @@ |
| 13 | 13 | 2010-08-26 Oliver Haag <oliver.haag@gmail.com> |
| 14 | 14 | * Version 0.6.2: |
| 15 | 15 | * Removed Oleg from AUTHORS |
| 16 | -* Renamed writeSRecords to writeIntelHex | |
| 17 | 16 | \ No newline at end of file |
| 17 | +* Renamed writeSRecords to writeIntelHex | |
| 18 | + | |
| 19 | +2010-11-17 Oliver Haag <oliver.haag@gmail.com> | |
| 20 | +* Patches by Romuald Conty <neomilium@gmail.com>: | |
| 21 | +* Updated configure.in | |
| 22 | +* Removed "warning: "PACKAGE_NAME" redefined" during make | |
| 23 | +* Error if bfd (libbfd) is not usable | ... | ... |
dsoextractfw/aclocal.m4 deleted
| 1 | -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- | |
| 2 | - | |
| 3 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
| 4 | -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
| 5 | -# This file is free software; the Free Software Foundation | |
| 6 | -# gives unlimited permission to copy and/or distribute it, | |
| 7 | -# with or without modifications, as long as this notice is preserved. | |
| 8 | - | |
| 9 | -# This program is distributed in the hope that it will be useful, | |
| 10 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
| 11 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
| 12 | -# PARTICULAR PURPOSE. | |
| 13 | - | |
| 14 | -m4_ifndef([AC_AUTOCONF_VERSION], | |
| 15 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
| 16 | -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, | |
| 17 | -[m4_warning([this file was generated for autoconf 2.67. | |
| 18 | -You have another version of autoconf. It may work, but is not guaranteed to. | |
| 19 | -If you have problems, you may need to regenerate the build system entirely. | |
| 20 | -To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
| 21 | - | |
| 22 | -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
| 23 | -# | |
| 24 | -# This file is free software; the Free Software Foundation | |
| 25 | -# gives unlimited permission to copy and/or distribute it, | |
| 26 | -# with or without modifications, as long as this notice is preserved. | |
| 27 | - | |
| 28 | -# AM_AUTOMAKE_VERSION(VERSION) | |
| 29 | -# ---------------------------- | |
| 30 | -# Automake X.Y traces this macro to ensure aclocal.m4 has been | |
| 31 | -# generated from the m4 files accompanying Automake X.Y. | |
| 32 | -# (This private macro should not be called outside this file.) | |
| 33 | -AC_DEFUN([AM_AUTOMAKE_VERSION], | |
| 34 | -[am__api_version='1.11' | |
| 35 | -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | |
| 36 | -dnl require some minimum version. Point them to the right macro. | |
| 37 | -m4_if([$1], [1.11.1], [], | |
| 38 | - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | |
| 39 | -]) | |
| 40 | - | |
| 41 | -# _AM_AUTOCONF_VERSION(VERSION) | |
| 42 | -# ----------------------------- | |
| 43 | -# aclocal traces this macro to find the Autoconf version. | |
| 44 | -# This is a private macro too. Using m4_define simplifies | |
| 45 | -# the logic in aclocal, which can simply ignore this definition. | |
| 46 | -m4_define([_AM_AUTOCONF_VERSION], []) | |
| 47 | - | |
| 48 | -# AM_SET_CURRENT_AUTOMAKE_VERSION | |
| 49 | -# ------------------------------- | |
| 50 | -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | |
| 51 | -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | |
| 52 | -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | |
| 53 | -[AM_AUTOMAKE_VERSION([1.11.1])dnl | |
| 54 | -m4_ifndef([AC_AUTOCONF_VERSION], | |
| 55 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | |
| 56 | -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | |
| 57 | - | |
| 58 | -# AM_AUX_DIR_EXPAND -*- Autoconf -*- | |
| 59 | - | |
| 60 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
| 61 | -# | |
| 62 | -# This file is free software; the Free Software Foundation | |
| 63 | -# gives unlimited permission to copy and/or distribute it, | |
| 64 | -# with or without modifications, as long as this notice is preserved. | |
| 65 | - | |
| 66 | -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | |
| 67 | -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
| 68 | -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
| 69 | -# | |
| 70 | -# Of course, Automake must honor this variable whenever it calls a | |
| 71 | -# tool from the auxiliary directory. The problem is that $srcdir (and | |
| 72 | -# therefore $ac_aux_dir as well) can be either absolute or relative, | |
| 73 | -# depending on how configure is run. This is pretty annoying, since | |
| 74 | -# it makes $ac_aux_dir quite unusable in subdirectories: in the top | |
| 75 | -# source directory, any form will work fine, but in subdirectories a | |
| 76 | -# relative path needs to be adjusted first. | |
| 77 | -# | |
| 78 | -# $ac_aux_dir/missing | |
| 79 | -# fails when called from a subdirectory if $ac_aux_dir is relative | |
| 80 | -# $top_srcdir/$ac_aux_dir/missing | |
| 81 | -# fails if $ac_aux_dir is absolute, | |
| 82 | -# fails when called from a subdirectory in a VPATH build with | |
| 83 | -# a relative $ac_aux_dir | |
| 84 | -# | |
| 85 | -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir | |
| 86 | -# are both prefixed by $srcdir. In an in-source build this is usually | |
| 87 | -# harmless because $srcdir is `.', but things will broke when you | |
| 88 | -# start a VPATH build or use an absolute $srcdir. | |
| 89 | -# | |
| 90 | -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | |
| 91 | -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: | |
| 92 | -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | |
| 93 | -# and then we would define $MISSING as | |
| 94 | -# MISSING="\${SHELL} $am_aux_dir/missing" | |
| 95 | -# This will work as long as MISSING is not called from configure, because | |
| 96 | -# unfortunately $(top_srcdir) has no meaning in configure. | |
| 97 | -# However there are other variables, like CC, which are often used in | |
| 98 | -# configure, and could therefore not use this "fixed" $ac_aux_dir. | |
| 99 | -# | |
| 100 | -# Another solution, used here, is to always expand $ac_aux_dir to an | |
| 101 | -# absolute PATH. The drawback is that using absolute paths prevent a | |
| 102 | -# configured tree to be moved without reconfiguration. | |
| 103 | - | |
| 104 | -AC_DEFUN([AM_AUX_DIR_EXPAND], | |
| 105 | -[dnl Rely on autoconf to set up CDPATH properly. | |
| 106 | -AC_PREREQ([2.50])dnl | |
| 107 | -# expand $ac_aux_dir to an absolute path | |
| 108 | -am_aux_dir=`cd $ac_aux_dir && pwd` | |
| 109 | -]) | |
| 110 | - | |
| 111 | -# AM_CONDITIONAL -*- Autoconf -*- | |
| 112 | - | |
| 113 | -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
| 114 | -# Free Software Foundation, Inc. | |
| 115 | -# | |
| 116 | -# This file is free software; the Free Software Foundation | |
| 117 | -# gives unlimited permission to copy and/or distribute it, | |
| 118 | -# with or without modifications, as long as this notice is preserved. | |
| 119 | - | |
| 120 | -# serial 9 | |
| 121 | - | |
| 122 | -# AM_CONDITIONAL(NAME, SHELL-CONDITION) | |
| 123 | -# ------------------------------------- | |
| 124 | -# Define a conditional. | |
| 125 | -AC_DEFUN([AM_CONDITIONAL], | |
| 126 | -[AC_PREREQ(2.52)dnl | |
| 127 | - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
| 128 | - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
| 129 | -AC_SUBST([$1_TRUE])dnl | |
| 130 | -AC_SUBST([$1_FALSE])dnl | |
| 131 | -_AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
| 132 | -_AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
| 133 | -m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
| 134 | -if $2; then | |
| 135 | - $1_TRUE= | |
| 136 | - $1_FALSE='#' | |
| 137 | -else | |
| 138 | - $1_TRUE='#' | |
| 139 | - $1_FALSE= | |
| 140 | -fi | |
| 141 | -AC_CONFIG_COMMANDS_PRE( | |
| 142 | -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
| 143 | - AC_MSG_ERROR([[conditional "$1" was never defined. | |
| 144 | -Usually this means the macro was only invoked conditionally.]]) | |
| 145 | -fi])]) | |
| 146 | - | |
| 147 | -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
| 148 | -# Free Software Foundation, Inc. | |
| 149 | -# | |
| 150 | -# This file is free software; the Free Software Foundation | |
| 151 | -# gives unlimited permission to copy and/or distribute it, | |
| 152 | -# with or without modifications, as long as this notice is preserved. | |
| 153 | - | |
| 154 | -# serial 10 | |
| 155 | - | |
| 156 | -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
| 157 | -# written in clear, in which case automake, when reading aclocal.m4, | |
| 158 | -# will think it sees a *use*, and therefore will trigger all it's | |
| 159 | -# C support machinery. Also note that it means that autoscan, seeing | |
| 160 | -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... | |
| 161 | - | |
| 162 | - | |
| 163 | -# _AM_DEPENDENCIES(NAME) | |
| 164 | -# ---------------------- | |
| 165 | -# See how the compiler implements dependency checking. | |
| 166 | -# NAME is "CC", "CXX", "GCJ", or "OBJC". | |
| 167 | -# We try a few techniques and use that to set a single cache variable. | |
| 168 | -# | |
| 169 | -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | |
| 170 | -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | |
| 171 | -# dependency, and given that the user is not expected to run this macro, | |
| 172 | -# just rely on AC_PROG_CC. | |
| 173 | -AC_DEFUN([_AM_DEPENDENCIES], | |
| 174 | -[AC_REQUIRE([AM_SET_DEPDIR])dnl | |
| 175 | -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | |
| 176 | -AC_REQUIRE([AM_MAKE_INCLUDE])dnl | |
| 177 | -AC_REQUIRE([AM_DEP_TRACK])dnl | |
| 178 | - | |
| 179 | -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
| 180 | - [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
| 181 | - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
| 182 | - [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
| 183 | - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
| 184 | - [depcc="$$1" am_compiler_list=]) | |
| 185 | - | |
| 186 | -AC_CACHE_CHECK([dependency style of $depcc], | |
| 187 | - [am_cv_$1_dependencies_compiler_type], | |
| 188 | -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
| 189 | - # We make a subdir and do the tests there. Otherwise we can end up | |
| 190 | - # making bogus files that we don't know about and never remove. For | |
| 191 | - # instance it was reported that on HP-UX the gcc test will end up | |
| 192 | - # making a dummy file named `D' -- because `-MD' means `put the output | |
| 193 | - # in D'. | |
| 194 | - mkdir conftest.dir | |
| 195 | - # Copy depcomp to subdir because otherwise we won't find it if we're | |
| 196 | - # using a relative directory. | |
| 197 | - cp "$am_depcomp" conftest.dir | |
| 198 | - cd conftest.dir | |
| 199 | - # We will build objects and dependencies in a subdirectory because | |
| 200 | - # it helps to detect inapplicable dependency modes. For instance | |
| 201 | - # both Tru64's cc and ICC support -MD to output dependencies as a | |
| 202 | - # side effect of compilation, but ICC will put the dependencies in | |
| 203 | - # the current directory while Tru64 will put them in the object | |
| 204 | - # directory. | |
| 205 | - mkdir sub | |
| 206 | - | |
| 207 | - am_cv_$1_dependencies_compiler_type=none | |
| 208 | - if test "$am_compiler_list" = ""; then | |
| 209 | - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | |
| 210 | - fi | |
| 211 | - am__universal=false | |
| 212 | - m4_case([$1], [CC], | |
| 213 | - [case " $depcc " in #( | |
| 214 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
| 215 | - esac], | |
| 216 | - [CXX], | |
| 217 | - [case " $depcc " in #( | |
| 218 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
| 219 | - esac]) | |
| 220 | - | |
| 221 | - for depmode in $am_compiler_list; do | |
| 222 | - # Setup a source with many dependencies, because some compilers | |
| 223 | - # like to wrap large dependency lists on column 80 (with \), and | |
| 224 | - # we should not choose a depcomp mode which is confused by this. | |
| 225 | - # | |
| 226 | - # We need to recreate these files for each test, as the compiler may | |
| 227 | - # overwrite some of them when testing with obscure command lines. | |
| 228 | - # This happens at least with the AIX C compiler. | |
| 229 | - : > sub/conftest.c | |
| 230 | - for i in 1 2 3 4 5 6; do | |
| 231 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
| 232 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
| 233 | - # Solaris 8's {/usr,}/bin/sh. | |
| 234 | - touch sub/conftst$i.h | |
| 235 | - done | |
| 236 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| 237 | - | |
| 238 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
| 239 | - # mode. It turns out that the SunPro C++ compiler does not properly | |
| 240 | - # handle `-M -o', and we need to detect this. Also, some Intel | |
| 241 | - # versions had trouble with output in subdirs | |
| 242 | - am__obj=sub/conftest.${OBJEXT-o} | |
| 243 | - am__minus_obj="-o $am__obj" | |
| 244 | - case $depmode in | |
| 245 | - gcc) | |
| 246 | - # This depmode causes a compiler race in universal mode. | |
| 247 | - test "$am__universal" = false || continue | |
| 248 | - ;; | |
| 249 | - nosideeffect) | |
| 250 | - # after this tag, mechanisms are not by side-effect, so they'll | |
| 251 | - # only be used when explicitly requested | |
| 252 | - if test "x$enable_dependency_tracking" = xyes; then | |
| 253 | - continue | |
| 254 | - else | |
| 255 | - break | |
| 256 | - fi | |
| 257 | - ;; | |
| 258 | - msvisualcpp | msvcmsys) | |
| 259 | - # This compiler won't grok `-c -o', but also, the minuso test has | |
| 260 | - # not run yet. These depmodes are late enough in the game, and | |
| 261 | - # so weak that their functioning should not be impacted. | |
| 262 | - am__obj=conftest.${OBJEXT-o} | |
| 263 | - am__minus_obj= | |
| 264 | - ;; | |
| 265 | - none) break ;; | |
| 266 | - esac | |
| 267 | - if depmode=$depmode \ | |
| 268 | - source=sub/conftest.c object=$am__obj \ | |
| 269 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
| 270 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
| 271 | - >/dev/null 2>conftest.err && | |
| 272 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
| 273 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| 274 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
| 275 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
| 276 | - # icc doesn't choke on unknown options, it will just issue warnings | |
| 277 | - # or remarks (even with -Werror). So we grep stderr for any message | |
| 278 | - # that says an option was ignored or not supported. | |
| 279 | - # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| 280 | - # icc: Command line warning: ignoring option '-M'; no argument required | |
| 281 | - # The diagnosis changed in icc 8.0: | |
| 282 | - # icc: Command line remark: option '-MP' not supported | |
| 283 | - if (grep 'ignoring option' conftest.err || | |
| 284 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| 285 | - am_cv_$1_dependencies_compiler_type=$depmode | |
| 286 | - break | |
| 287 | - fi | |
| 288 | - fi | |
| 289 | - done | |
| 290 | - | |
| 291 | - cd .. | |
| 292 | - rm -rf conftest.dir | |
| 293 | -else | |
| 294 | - am_cv_$1_dependencies_compiler_type=none | |
| 295 | -fi | |
| 296 | -]) | |
| 297 | -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | |
| 298 | -AM_CONDITIONAL([am__fastdep$1], [ | |
| 299 | - test "x$enable_dependency_tracking" != xno \ | |
| 300 | - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | |
| 301 | -]) | |
| 302 | - | |
| 303 | - | |
| 304 | -# AM_SET_DEPDIR | |
| 305 | -# ------------- | |
| 306 | -# Choose a directory name for dependency files. | |
| 307 | -# This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
| 308 | -AC_DEFUN([AM_SET_DEPDIR], | |
| 309 | -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
| 310 | -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | |
| 311 | -]) | |
| 312 | - | |
| 313 | - | |
| 314 | -# AM_DEP_TRACK | |
| 315 | -# ------------ | |
| 316 | -AC_DEFUN([AM_DEP_TRACK], | |
| 317 | -[AC_ARG_ENABLE(dependency-tracking, | |
| 318 | -[ --disable-dependency-tracking speeds up one-time build | |
| 319 | - --enable-dependency-tracking do not reject slow dependency extractors]) | |
| 320 | -if test "x$enable_dependency_tracking" != xno; then | |
| 321 | - am_depcomp="$ac_aux_dir/depcomp" | |
| 322 | - AMDEPBACKSLASH='\' | |
| 323 | -fi | |
| 324 | -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |
| 325 | -AC_SUBST([AMDEPBACKSLASH])dnl | |
| 326 | -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | |
| 327 | -]) | |
| 328 | - | |
| 329 | -# Generate code to set up dependency tracking. -*- Autoconf -*- | |
| 330 | - | |
| 331 | -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
| 332 | -# Free Software Foundation, Inc. | |
| 333 | -# | |
| 334 | -# This file is free software; the Free Software Foundation | |
| 335 | -# gives unlimited permission to copy and/or distribute it, | |
| 336 | -# with or without modifications, as long as this notice is preserved. | |
| 337 | - | |
| 338 | -#serial 5 | |
| 339 | - | |
| 340 | -# _AM_OUTPUT_DEPENDENCY_COMMANDS | |
| 341 | -# ------------------------------ | |
| 342 | -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | |
| 343 | -[{ | |
| 344 | - # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
| 345 | - # are listed without --file. Let's play safe and only enable the eval | |
| 346 | - # if we detect the quoting. | |
| 347 | - case $CONFIG_FILES in | |
| 348 | - *\'*) eval set x "$CONFIG_FILES" ;; | |
| 349 | - *) set x $CONFIG_FILES ;; | |
| 350 | - esac | |
| 351 | - shift | |
| 352 | - for mf | |
| 353 | - do | |
| 354 | - # Strip MF so we end up with the name of the file. | |
| 355 | - mf=`echo "$mf" | sed -e 's/:.*$//'` | |
| 356 | - # Check whether this is an Automake generated Makefile or not. | |
| 357 | - # We used to match only the files named `Makefile.in', but | |
| 358 | - # some people rename them; so instead we look at the file content. | |
| 359 | - # Grep'ing the first line is not enough: some people post-process | |
| 360 | - # each Makefile.in and add a new line on top of each file to say so. | |
| 361 | - # Grep'ing the whole file is not good either: AIX grep has a line | |
| 362 | - # limit of 2048, but all sed's we know have understand at least 4000. | |
| 363 | - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
| 364 | - dirpart=`AS_DIRNAME("$mf")` | |
| 365 | - else | |
| 366 | - continue | |
| 367 | - fi | |
| 368 | - # Extract the definition of DEPDIR, am__include, and am__quote | |
| 369 | - # from the Makefile without running `make'. | |
| 370 | - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
| 371 | - test -z "$DEPDIR" && continue | |
| 372 | - am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
| 373 | - test -z "am__include" && continue | |
| 374 | - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
| 375 | - # When using ansi2knr, U may be empty or an underscore; expand it | |
| 376 | - U=`sed -n 's/^U = //p' < "$mf"` | |
| 377 | - # Find all dependency output files, they are included files with | |
| 378 | - # $(DEPDIR) in their names. We invoke sed twice because it is the | |
| 379 | - # simplest approach to changing $(DEPDIR) to its actual value in the | |
| 380 | - # expansion. | |
| 381 | - for file in `sed -n " | |
| 382 | - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
| 383 | - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
| 384 | - # Make sure the directory exists. | |
| 385 | - test -f "$dirpart/$file" && continue | |
| 386 | - fdir=`AS_DIRNAME(["$file"])` | |
| 387 | - AS_MKDIR_P([$dirpart/$fdir]) | |
| 388 | - # echo "creating $dirpart/$file" | |
| 389 | - echo '# dummy' > "$dirpart/$file" | |
| 390 | - done | |
| 391 | - done | |
| 392 | -} | |
| 393 | -])# _AM_OUTPUT_DEPENDENCY_COMMANDS | |
| 394 | - | |
| 395 | - | |
| 396 | -# AM_OUTPUT_DEPENDENCY_COMMANDS | |
| 397 | -# ----------------------------- | |
| 398 | -# This macro should only be invoked once -- use via AC_REQUIRE. | |
| 399 | -# | |
| 400 | -# This code is only required when automatic dependency tracking | |
| 401 | -# is enabled. FIXME. This creates each `.P' file that we will | |
| 402 | -# need in order to bootstrap the dependency handling code. | |
| 403 | -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |
| 404 | -[AC_CONFIG_COMMANDS([depfiles], | |
| 405 | - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | |
| 406 | - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
| 407 | -]) | |
| 408 | - | |
| 409 | -# Do all the work for Automake. -*- Autoconf -*- | |
| 410 | - | |
| 411 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
| 412 | -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
| 413 | -# | |
| 414 | -# This file is free software; the Free Software Foundation | |
| 415 | -# gives unlimited permission to copy and/or distribute it, | |
| 416 | -# with or without modifications, as long as this notice is preserved. | |
| 417 | - | |
| 418 | -# serial 16 | |
| 419 | - | |
| 420 | -# This macro actually does too much. Some checks are only needed if | |
| 421 | -# your package does certain things. But this isn't really a big deal. | |
| 422 | - | |
| 423 | -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | |
| 424 | -# AM_INIT_AUTOMAKE([OPTIONS]) | |
| 425 | -# ----------------------------------------------- | |
| 426 | -# The call with PACKAGE and VERSION arguments is the old style | |
| 427 | -# call (pre autoconf-2.50), which is being phased out. PACKAGE | |
| 428 | -# and VERSION should now be passed to AC_INIT and removed from | |
| 429 | -# the call to AM_INIT_AUTOMAKE. | |
| 430 | -# We support both call styles for the transition. After | |
| 431 | -# the next Automake release, Autoconf can make the AC_INIT | |
| 432 | -# arguments mandatory, and then we can depend on a new Autoconf | |
| 433 | -# release and drop the old call support. | |
| 434 | -AC_DEFUN([AM_INIT_AUTOMAKE], | |
| 435 | -[AC_PREREQ([2.62])dnl | |
| 436 | -dnl Autoconf wants to disallow AM_ names. We explicitly allow | |
| 437 | -dnl the ones we care about. | |
| 438 | -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | |
| 439 | -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | |
| 440 | -AC_REQUIRE([AC_PROG_INSTALL])dnl | |
| 441 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
| 442 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
| 443 | - # is not polluted with repeated "-I." | |
| 444 | - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | |
| 445 | - # test to see if srcdir already configured | |
| 446 | - if test -f $srcdir/config.status; then | |
| 447 | - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | |
| 448 | - fi | |
| 449 | -fi | |
| 450 | - | |
| 451 | -# test whether we have cygpath | |
| 452 | -if test -z "$CYGPATH_W"; then | |
| 453 | - if (cygpath --version) >/dev/null 2>/dev/null; then | |
| 454 | - CYGPATH_W='cygpath -w' | |
| 455 | - else | |
| 456 | - CYGPATH_W=echo | |
| 457 | - fi | |
| 458 | -fi | |
| 459 | -AC_SUBST([CYGPATH_W]) | |
| 460 | - | |
| 461 | -# Define the identity of the package. | |
| 462 | -dnl Distinguish between old-style and new-style calls. | |
| 463 | -m4_ifval([$2], | |
| 464 | -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
| 465 | - AC_SUBST([PACKAGE], [$1])dnl | |
| 466 | - AC_SUBST([VERSION], [$2])], | |
| 467 | -[_AM_SET_OPTIONS([$1])dnl | |
| 468 | -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | |
| 469 | -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
| 470 | - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | |
| 471 | - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | |
| 472 | - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | |
| 473 | - | |
| 474 | -_AM_IF_OPTION([no-define],, | |
| 475 | -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
| 476 | - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
| 477 | - | |
| 478 | -# Some tools Automake needs. | |
| 479 | -AC_REQUIRE([AM_SANITY_CHECK])dnl | |
| 480 | -AC_REQUIRE([AC_ARG_PROGRAM])dnl | |
| 481 | -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
| 482 | -AM_MISSING_PROG(AUTOCONF, autoconf) | |
| 483 | -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
| 484 | -AM_MISSING_PROG(AUTOHEADER, autoheader) | |
| 485 | -AM_MISSING_PROG(MAKEINFO, makeinfo) | |
| 486 | -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
| 487 | -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | |
| 488 | -AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
| 489 | -# We need awk for the "check" target. The system "awk" is bad on | |
| 490 | -# some platforms. | |
| 491 | -AC_REQUIRE([AC_PROG_AWK])dnl | |
| 492 | -AC_REQUIRE([AC_PROG_MAKE_SET])dnl | |
| 493 | -AC_REQUIRE([AM_SET_LEADING_DOT])dnl | |
| 494 | -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
| 495 | - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | |
| 496 | - [_AM_PROG_TAR([v7])])]) | |
| 497 | -_AM_IF_OPTION([no-dependencies],, | |
| 498 | -[AC_PROVIDE_IFELSE([AC_PROG_CC], | |
| 499 | - [_AM_DEPENDENCIES(CC)], | |
| 500 | - [define([AC_PROG_CC], | |
| 501 | - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
| 502 | -AC_PROVIDE_IFELSE([AC_PROG_CXX], | |
| 503 | - [_AM_DEPENDENCIES(CXX)], | |
| 504 | - [define([AC_PROG_CXX], | |
| 505 | - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
| 506 | -AC_PROVIDE_IFELSE([AC_PROG_OBJC], | |
| 507 | - [_AM_DEPENDENCIES(OBJC)], | |
| 508 | - [define([AC_PROG_OBJC], | |
| 509 | - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
| 510 | -]) | |
| 511 | -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | |
| 512 | -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
| 513 | -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
| 514 | -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | |
| 515 | -AC_CONFIG_COMMANDS_PRE(dnl | |
| 516 | -[m4_provide_if([_AM_COMPILER_EXEEXT], | |
| 517 | - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | |
| 518 | -]) | |
| 519 | - | |
| 520 | -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
| 521 | -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | |
| 522 | -dnl mangled by Autoconf and run in a shell conditional statement. | |
| 523 | -m4_define([_AC_COMPILER_EXEEXT], | |
| 524 | -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | |
| 525 | - | |
| 526 | - | |
| 527 | -# When config.status generates a header, we must update the stamp-h file. | |
| 528 | -# This file resides in the same directory as the config header | |
| 529 | -# that is generated. The stamp files are numbered to have different names. | |
| 530 | - | |
| 531 | -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | |
| 532 | -# loop where config.status creates the headers, so we can generate | |
| 533 | -# our stamp files there. | |
| 534 | -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | |
| 535 | -[# Compute $1's index in $config_headers. | |
| 536 | -_am_arg=$1 | |
| 537 | -_am_stamp_count=1 | |
| 538 | -for _am_header in $config_headers :; do | |
| 539 | - case $_am_header in | |
| 540 | - $_am_arg | $_am_arg:* ) | |
| 541 | - break ;; | |
| 542 | - * ) | |
| 543 | - _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
| 544 | - esac | |
| 545 | -done | |
| 546 | -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | |
| 547 | - | |
| 548 | -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
| 549 | -# | |
| 550 | -# This file is free software; the Free Software Foundation | |
| 551 | -# gives unlimited permission to copy and/or distribute it, | |
| 552 | -# with or without modifications, as long as this notice is preserved. | |
| 553 | - | |
| 554 | -# AM_PROG_INSTALL_SH | |
| 555 | -# ------------------ | |
| 556 | -# Define $install_sh. | |
| 557 | -AC_DEFUN([AM_PROG_INSTALL_SH], | |
| 558 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
| 559 | -if test x"${install_sh}" != xset; then | |
| 560 | - case $am_aux_dir in | |
| 561 | - *\ * | *\ *) | |
| 562 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
| 563 | - *) | |
| 564 | - install_sh="\${SHELL} $am_aux_dir/install-sh" | |
| 565 | - esac | |
| 566 | -fi | |
| 567 | -AC_SUBST(install_sh)]) | |
| 568 | - | |
| 569 | -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
| 570 | -# | |
| 571 | -# This file is free software; the Free Software Foundation | |
| 572 | -# gives unlimited permission to copy and/or distribute it, | |
| 573 | -# with or without modifications, as long as this notice is preserved. | |
| 574 | - | |
| 575 | -# serial 2 | |
| 576 | - | |
| 577 | -# Check whether the underlying file-system supports filenames | |
| 578 | -# with a leading dot. For instance MS-DOS doesn't. | |
| 579 | -AC_DEFUN([AM_SET_LEADING_DOT], | |
| 580 | -[rm -rf .tst 2>/dev/null | |
| 581 | -mkdir .tst 2>/dev/null | |
| 582 | -if test -d .tst; then | |
| 583 | - am__leading_dot=. | |
| 584 | -else | |
| 585 | - am__leading_dot=_ | |
| 586 | -fi | |
| 587 | -rmdir .tst 2>/dev/null | |
| 588 | -AC_SUBST([am__leading_dot])]) | |
| 589 | - | |
| 590 | -# Check to see how 'make' treats includes. -*- Autoconf -*- | |
| 591 | - | |
| 592 | -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
| 593 | -# | |
| 594 | -# This file is free software; the Free Software Foundation | |
| 595 | -# gives unlimited permission to copy and/or distribute it, | |
| 596 | -# with or without modifications, as long as this notice is preserved. | |
| 597 | - | |
| 598 | -# serial 4 | |
| 599 | - | |
| 600 | -# AM_MAKE_INCLUDE() | |
| 601 | -# ----------------- | |
| 602 | -# Check to see how make treats includes. | |
| 603 | -AC_DEFUN([AM_MAKE_INCLUDE], | |
| 604 | -[am_make=${MAKE-make} | |
| 605 | -cat > confinc << 'END' | |
| 606 | -am__doit: | |
| 607 | - @echo this is the am__doit target | |
| 608 | -.PHONY: am__doit | |
| 609 | -END | |
| 610 | -# If we don't find an include directive, just comment out the code. | |
| 611 | -AC_MSG_CHECKING([for style of include used by $am_make]) | |
| 612 | -am__include="#" | |
| 613 | -am__quote= | |
| 614 | -_am_result=none | |
| 615 | -# First try GNU make style include. | |
| 616 | -echo "include confinc" > confmf | |
| 617 | -# Ignore all kinds of additional output from `make'. | |
| 618 | -case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 619 | -*the\ am__doit\ target*) | |
| 620 | - am__include=include | |
| 621 | - am__quote= | |
| 622 | - _am_result=GNU | |
| 623 | - ;; | |
| 624 | -esac | |
| 625 | -# Now try BSD make style include. | |
| 626 | -if test "$am__include" = "#"; then | |
| 627 | - echo '.include "confinc"' > confmf | |
| 628 | - case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 629 | - *the\ am__doit\ target*) | |
| 630 | - am__include=.include | |
| 631 | - am__quote="\"" | |
| 632 | - _am_result=BSD | |
| 633 | - ;; | |
| 634 | - esac | |
| 635 | -fi | |
| 636 | -AC_SUBST([am__include]) | |
| 637 | -AC_SUBST([am__quote]) | |
| 638 | -AC_MSG_RESULT([$_am_result]) | |
| 639 | -rm -f confinc confmf | |
| 640 | -]) | |
| 641 | - | |
| 642 | -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | |
| 643 | - | |
| 644 | -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
| 645 | -# Free Software Foundation, Inc. | |
| 646 | -# | |
| 647 | -# This file is free software; the Free Software Foundation | |
| 648 | -# gives unlimited permission to copy and/or distribute it, | |
| 649 | -# with or without modifications, as long as this notice is preserved. | |
| 650 | - | |
| 651 | -# serial 6 | |
| 652 | - | |
| 653 | -# AM_MISSING_PROG(NAME, PROGRAM) | |
| 654 | -# ------------------------------ | |
| 655 | -AC_DEFUN([AM_MISSING_PROG], | |
| 656 | -[AC_REQUIRE([AM_MISSING_HAS_RUN]) | |
| 657 | -$1=${$1-"${am_missing_run}$2"} | |
| 658 | -AC_SUBST($1)]) | |
| 659 | - | |
| 660 | - | |
| 661 | -# AM_MISSING_HAS_RUN | |
| 662 | -# ------------------ | |
| 663 | -# Define MISSING if not defined so far and test if it supports --run. | |
| 664 | -# If it does, set am_missing_run to use it, otherwise, to nothing. | |
| 665 | -AC_DEFUN([AM_MISSING_HAS_RUN], | |
| 666 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
| 667 | -AC_REQUIRE_AUX_FILE([missing])dnl | |
| 668 | -if test x"${MISSING+set}" != xset; then | |
| 669 | - case $am_aux_dir in | |
| 670 | - *\ * | *\ *) | |
| 671 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
| 672 | - *) | |
| 673 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
| 674 | - esac | |
| 675 | -fi | |
| 676 | -# Use eval to expand $SHELL | |
| 677 | -if eval "$MISSING --run true"; then | |
| 678 | - am_missing_run="$MISSING --run " | |
| 679 | -else | |
| 680 | - am_missing_run= | |
| 681 | - AC_MSG_WARN([`missing' script is too old or missing]) | |
| 682 | -fi | |
| 683 | -]) | |
| 684 | - | |
| 685 | -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
| 686 | -# | |
| 687 | -# This file is free software; the Free Software Foundation | |
| 688 | -# gives unlimited permission to copy and/or distribute it, | |
| 689 | -# with or without modifications, as long as this notice is preserved. | |
| 690 | - | |
| 691 | -# AM_PROG_MKDIR_P | |
| 692 | -# --------------- | |
| 693 | -# Check for `mkdir -p'. | |
| 694 | -AC_DEFUN([AM_PROG_MKDIR_P], | |
| 695 | -[AC_PREREQ([2.60])dnl | |
| 696 | -AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
| 697 | -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
| 698 | -dnl while keeping a definition of mkdir_p for backward compatibility. | |
| 699 | -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
| 700 | -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
| 701 | -dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
| 702 | -dnl adjustment using top_builddir (which is defined more often than | |
| 703 | -dnl MKDIR_P). | |
| 704 | -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
| 705 | -case $mkdir_p in | |
| 706 | - [[\\/$]]* | ?:[[\\/]]*) ;; | |
| 707 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
| 708 | -esac | |
| 709 | -]) | |
| 710 | - | |
| 711 | -# Helper functions for option handling. -*- Autoconf -*- | |
| 712 | - | |
| 713 | -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
| 714 | -# | |
| 715 | -# This file is free software; the Free Software Foundation | |
| 716 | -# gives unlimited permission to copy and/or distribute it, | |
| 717 | -# with or without modifications, as long as this notice is preserved. | |
| 718 | - | |
| 719 | -# serial 4 | |
| 720 | - | |
| 721 | -# _AM_MANGLE_OPTION(NAME) | |
| 722 | -# ----------------------- | |
| 723 | -AC_DEFUN([_AM_MANGLE_OPTION], | |
| 724 | -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | |
| 725 | - | |
| 726 | -# _AM_SET_OPTION(NAME) | |
| 727 | -# ------------------------------ | |
| 728 | -# Set option NAME. Presently that only means defining a flag for this option. | |
| 729 | -AC_DEFUN([_AM_SET_OPTION], | |
| 730 | -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
| 731 | - | |
| 732 | -# _AM_SET_OPTIONS(OPTIONS) | |
| 733 | -# ---------------------------------- | |
| 734 | -# OPTIONS is a space-separated list of Automake options. | |
| 735 | -AC_DEFUN([_AM_SET_OPTIONS], | |
| 736 | -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | |
| 737 | - | |
| 738 | -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | |
| 739 | -# ------------------------------------------- | |
| 740 | -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | |
| 741 | -AC_DEFUN([_AM_IF_OPTION], | |
| 742 | -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | |
| 743 | - | |
| 744 | -# Check to make sure that the build environment is sane. -*- Autoconf -*- | |
| 745 | - | |
| 746 | -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
| 747 | -# Free Software Foundation, Inc. | |
| 748 | -# | |
| 749 | -# This file is free software; the Free Software Foundation | |
| 750 | -# gives unlimited permission to copy and/or distribute it, | |
| 751 | -# with or without modifications, as long as this notice is preserved. | |
| 752 | - | |
| 753 | -# serial 5 | |
| 754 | - | |
| 755 | -# AM_SANITY_CHECK | |
| 756 | -# --------------- | |
| 757 | -AC_DEFUN([AM_SANITY_CHECK], | |
| 758 | -[AC_MSG_CHECKING([whether build environment is sane]) | |
| 759 | -# Just in case | |
| 760 | -sleep 1 | |
| 761 | -echo timestamp > conftest.file | |
| 762 | -# Reject unsafe characters in $srcdir or the absolute working directory | |
| 763 | -# name. Accept space and tab only in the latter. | |
| 764 | -am_lf=' | |
| 765 | -' | |
| 766 | -case `pwd` in | |
| 767 | - *[[\\\"\#\$\&\'\`$am_lf]]*) | |
| 768 | - AC_MSG_ERROR([unsafe absolute working directory name]);; | |
| 769 | -esac | |
| 770 | -case $srcdir in | |
| 771 | - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | |
| 772 | - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
| 773 | -esac | |
| 774 | - | |
| 775 | -# Do `set' in a subshell so we don't clobber the current shell's | |
| 776 | -# arguments. Must try -L first in case configure is actually a | |
| 777 | -# symlink; some systems play weird games with the mod time of symlinks | |
| 778 | -# (eg FreeBSD returns the mod time of the symlink's containing | |
| 779 | -# directory). | |
| 780 | -if ( | |
| 781 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
| 782 | - if test "$[*]" = "X"; then | |
| 783 | - # -L didn't work. | |
| 784 | - set X `ls -t "$srcdir/configure" conftest.file` | |
| 785 | - fi | |
| 786 | - rm -f conftest.file | |
| 787 | - if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
| 788 | - && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
| 789 | - | |
| 790 | - # If neither matched, then we have a broken ls. This can happen | |
| 791 | - # if, for instance, CONFIG_SHELL is bash and it inherits a | |
| 792 | - # broken ls alias from the environment. This has actually | |
| 793 | - # happened. Such a system could not be considered "sane". | |
| 794 | - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
| 795 | -alias in your environment]) | |
| 796 | - fi | |
| 797 | - | |
| 798 | - test "$[2]" = conftest.file | |
| 799 | - ) | |
| 800 | -then | |
| 801 | - # Ok. | |
| 802 | - : | |
| 803 | -else | |
| 804 | - AC_MSG_ERROR([newly created file is older than distributed files! | |
| 805 | -Check your system clock]) | |
| 806 | -fi | |
| 807 | -AC_MSG_RESULT(yes)]) | |
| 808 | - | |
| 809 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
| 810 | -# | |
| 811 | -# This file is free software; the Free Software Foundation | |
| 812 | -# gives unlimited permission to copy and/or distribute it, | |
| 813 | -# with or without modifications, as long as this notice is preserved. | |
| 814 | - | |
| 815 | -# AM_PROG_INSTALL_STRIP | |
| 816 | -# --------------------- | |
| 817 | -# One issue with vendor `install' (even GNU) is that you can't | |
| 818 | -# specify the program used to strip binaries. This is especially | |
| 819 | -# annoying in cross-compiling environments, where the build's strip | |
| 820 | -# is unlikely to handle the host's binaries. | |
| 821 | -# Fortunately install-sh will honor a STRIPPROG variable, so we | |
| 822 | -# always use install-sh in `make install-strip', and initialize | |
| 823 | -# STRIPPROG with the value of the STRIP variable (set by the user). | |
| 824 | -AC_DEFUN([AM_PROG_INSTALL_STRIP], | |
| 825 | -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
| 826 | -# Installed binaries are usually stripped using `strip' when the user | |
| 827 | -# run `make install-strip'. However `strip' might not be the right | |
| 828 | -# tool to use in cross-compilation environments, therefore Automake | |
| 829 | -# will honor the `STRIP' environment variable to overrule this program. | |
| 830 | -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
| 831 | -if test "$cross_compiling" != no; then | |
| 832 | - AC_CHECK_TOOL([STRIP], [strip], :) | |
| 833 | -fi | |
| 834 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 835 | -AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
| 836 | - | |
| 837 | -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
| 838 | -# | |
| 839 | -# This file is free software; the Free Software Foundation | |
| 840 | -# gives unlimited permission to copy and/or distribute it, | |
| 841 | -# with or without modifications, as long as this notice is preserved. | |
| 842 | - | |
| 843 | -# serial 2 | |
| 844 | - | |
| 845 | -# _AM_SUBST_NOTMAKE(VARIABLE) | |
| 846 | -# --------------------------- | |
| 847 | -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
| 848 | -# This macro is traced by Automake. | |
| 849 | -AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
| 850 | - | |
| 851 | -# AM_SUBST_NOTMAKE(VARIABLE) | |
| 852 | -# --------------------------- | |
| 853 | -# Public sister of _AM_SUBST_NOTMAKE. | |
| 854 | -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
| 855 | - | |
| 856 | -# Check how to create a tarball. -*- Autoconf -*- | |
| 857 | - | |
| 858 | -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
| 859 | -# | |
| 860 | -# This file is free software; the Free Software Foundation | |
| 861 | -# gives unlimited permission to copy and/or distribute it, | |
| 862 | -# with or without modifications, as long as this notice is preserved. | |
| 863 | - | |
| 864 | -# serial 2 | |
| 865 | - | |
| 866 | -# _AM_PROG_TAR(FORMAT) | |
| 867 | -# -------------------- | |
| 868 | -# Check how to create a tarball in format FORMAT. | |
| 869 | -# FORMAT should be one of `v7', `ustar', or `pax'. | |
| 870 | -# | |
| 871 | -# Substitute a variable $(am__tar) that is a command | |
| 872 | -# writing to stdout a FORMAT-tarball containing the directory | |
| 873 | -# $tardir. | |
| 874 | -# tardir=directory && $(am__tar) > result.tar | |
| 875 | -# | |
| 876 | -# Substitute a variable $(am__untar) that extract such | |
| 877 | -# a tarball read from stdin. | |
| 878 | -# $(am__untar) < result.tar | |
| 879 | -AC_DEFUN([_AM_PROG_TAR], | |
| 880 | -[# Always define AMTAR for backward compatibility. | |
| 881 | -AM_MISSING_PROG([AMTAR], [tar]) | |
| 882 | -m4_if([$1], [v7], | |
| 883 | - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
| 884 | - [m4_case([$1], [ustar],, [pax],, | |
| 885 | - [m4_fatal([Unknown tar format])]) | |
| 886 | -AC_MSG_CHECKING([how to create a $1 tar archive]) | |
| 887 | -# Loop over all known methods to create a tar archive until one works. | |
| 888 | -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | |
| 889 | -_am_tools=${am_cv_prog_tar_$1-$_am_tools} | |
| 890 | -# Do not fold the above two line into one, because Tru64 sh and | |
| 891 | -# Solaris sh will not grok spaces in the rhs of `-'. | |
| 892 | -for _am_tool in $_am_tools | |
| 893 | -do | |
| 894 | - case $_am_tool in | |
| 895 | - gnutar) | |
| 896 | - for _am_tar in tar gnutar gtar; | |
| 897 | - do | |
| 898 | - AM_RUN_LOG([$_am_tar --version]) && break | |
| 899 | - done | |
| 900 | - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | |
| 901 | - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | |
| 902 | - am__untar="$_am_tar -xf -" | |
| 903 | - ;; | |
| 904 | - plaintar) | |
| 905 | - # Must skip GNU tar: if it does not support --format= it doesn't create | |
| 906 | - # ustar tarball either. | |
| 907 | - (tar --version) >/dev/null 2>&1 && continue | |
| 908 | - am__tar='tar chf - "$$tardir"' | |
| 909 | - am__tar_='tar chf - "$tardir"' | |
| 910 | - am__untar='tar xf -' | |
| 911 | - ;; | |
| 912 | - pax) | |
| 913 | - am__tar='pax -L -x $1 -w "$$tardir"' | |
| 914 | - am__tar_='pax -L -x $1 -w "$tardir"' | |
| 915 | - am__untar='pax -r' | |
| 916 | - ;; | |
| 917 | - cpio) | |
| 918 | - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | |
| 919 | - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | |
| 920 | - am__untar='cpio -i -H $1 -d' | |
| 921 | - ;; | |
| 922 | - none) | |
| 923 | - am__tar=false | |
| 924 | - am__tar_=false | |
| 925 | - am__untar=false | |
| 926 | - ;; | |
| 927 | - esac | |
| 928 | - | |
| 929 | - # If the value was cached, stop now. We just wanted to have am__tar | |
| 930 | - # and am__untar set. | |
| 931 | - test -n "${am_cv_prog_tar_$1}" && break | |
| 932 | - | |
| 933 | - # tar/untar a dummy directory, and stop if the command works | |
| 934 | - rm -rf conftest.dir | |
| 935 | - mkdir conftest.dir | |
| 936 | - echo GrepMe > conftest.dir/file | |
| 937 | - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | |
| 938 | - rm -rf conftest.dir | |
| 939 | - if test -s conftest.tar; then | |
| 940 | - AM_RUN_LOG([$am__untar <conftest.tar]) | |
| 941 | - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | |
| 942 | - fi | |
| 943 | -done | |
| 944 | -rm -rf conftest.dir | |
| 945 | - | |
| 946 | -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | |
| 947 | -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | |
| 948 | -AC_SUBST([am__tar]) | |
| 949 | -AC_SUBST([am__untar]) | |
| 950 | -]) # _AM_PROG_TAR | |
| 951 | - |
dsoextractfw/configure deleted
Changes suppressed. Click to show
| 1 | -#! /bin/sh | |
| 2 | -# Guess values for system-dependent variables and create Makefiles. | |
| 3 | -# Generated by GNU Autoconf 2.67. | |
| 4 | -# | |
| 5 | -# | |
| 6 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
| 7 | -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
| 8 | -# Foundation, Inc. | |
| 9 | -# | |
| 10 | -# | |
| 11 | -# This configure script is free software; the Free Software Foundation | |
| 12 | -# gives unlimited permission to copy, distribute and modify it. | |
| 13 | -## -------------------- ## | |
| 14 | -## M4sh Initialization. ## | |
| 15 | -## -------------------- ## | |
| 16 | - | |
| 17 | -# Be more Bourne compatible | |
| 18 | -DUALCASE=1; export DUALCASE # for MKS sh | |
| 19 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 20 | - emulate sh | |
| 21 | - NULLCMD=: | |
| 22 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 23 | - # is contrary to our usage. Disable this feature. | |
| 24 | - alias -g '${1+"$@"}'='"$@"' | |
| 25 | - setopt NO_GLOB_SUBST | |
| 26 | -else | |
| 27 | - case `(set -o) 2>/dev/null` in #( | |
| 28 | - *posix*) : | |
| 29 | - set -o posix ;; #( | |
| 30 | - *) : | |
| 31 | - ;; | |
| 32 | -esac | |
| 33 | -fi | |
| 34 | - | |
| 35 | - | |
| 36 | -as_nl=' | |
| 37 | -' | |
| 38 | -export as_nl | |
| 39 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 40 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 41 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 42 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 43 | -# Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 44 | -# but without wasting forks for bash or zsh. | |
| 45 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 46 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 47 | - as_echo='print -r --' | |
| 48 | - as_echo_n='print -rn --' | |
| 49 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 50 | - as_echo='printf %s\n' | |
| 51 | - as_echo_n='printf %s' | |
| 52 | -else | |
| 53 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 54 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 55 | - as_echo_n='/usr/ucb/echo -n' | |
| 56 | - else | |
| 57 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 58 | - as_echo_n_body='eval | |
| 59 | - arg=$1; | |
| 60 | - case $arg in #( | |
| 61 | - *"$as_nl"*) | |
| 62 | - expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 63 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 64 | - esac; | |
| 65 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 66 | - ' | |
| 67 | - export as_echo_n_body | |
| 68 | - as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 69 | - fi | |
| 70 | - export as_echo_body | |
| 71 | - as_echo='sh -c $as_echo_body as_echo' | |
| 72 | -fi | |
| 73 | - | |
| 74 | -# The user is always right. | |
| 75 | -if test "${PATH_SEPARATOR+set}" != set; then | |
| 76 | - PATH_SEPARATOR=: | |
| 77 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 78 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 79 | - PATH_SEPARATOR=';' | |
| 80 | - } | |
| 81 | -fi | |
| 82 | - | |
| 83 | - | |
| 84 | -# IFS | |
| 85 | -# We need space, tab and new line, in precisely that order. Quoting is | |
| 86 | -# there to prevent editors from complaining about space-tab. | |
| 87 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 88 | -# splitting by setting IFS to empty value.) | |
| 89 | -IFS=" "" $as_nl" | |
| 90 | - | |
| 91 | -# Find who we are. Look in the path if we contain no directory separator. | |
| 92 | -case $0 in #(( | |
| 93 | - *[\\/]* ) as_myself=$0 ;; | |
| 94 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 95 | -for as_dir in $PATH | |
| 96 | -do | |
| 97 | - IFS=$as_save_IFS | |
| 98 | - test -z "$as_dir" && as_dir=. | |
| 99 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 100 | - done | |
| 101 | -IFS=$as_save_IFS | |
| 102 | - | |
| 103 | - ;; | |
| 104 | -esac | |
| 105 | -# We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 106 | -# in which case we are not to be found in the path. | |
| 107 | -if test "x$as_myself" = x; then | |
| 108 | - as_myself=$0 | |
| 109 | -fi | |
| 110 | -if test ! -f "$as_myself"; then | |
| 111 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 112 | - exit 1 | |
| 113 | -fi | |
| 114 | - | |
| 115 | -# Unset variables that we do not need and which cause bugs (e.g. in | |
| 116 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 117 | -# suppresses any "Segmentation fault" message there. '((' could | |
| 118 | -# trigger a bug in pdksh 5.2.14. | |
| 119 | -for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 120 | -do eval test x\${$as_var+set} = xset \ | |
| 121 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 122 | -done | |
| 123 | -PS1='$ ' | |
| 124 | -PS2='> ' | |
| 125 | -PS4='+ ' | |
| 126 | - | |
| 127 | -# NLS nuisances. | |
| 128 | -LC_ALL=C | |
| 129 | -export LC_ALL | |
| 130 | -LANGUAGE=C | |
| 131 | -export LANGUAGE | |
| 132 | - | |
| 133 | -# CDPATH. | |
| 134 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 135 | - | |
| 136 | -if test "x$CONFIG_SHELL" = x; then | |
| 137 | - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
| 138 | - emulate sh | |
| 139 | - NULLCMD=: | |
| 140 | - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
| 141 | - # is contrary to our usage. Disable this feature. | |
| 142 | - alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
| 143 | - setopt NO_GLOB_SUBST | |
| 144 | -else | |
| 145 | - case \`(set -o) 2>/dev/null\` in #( | |
| 146 | - *posix*) : | |
| 147 | - set -o posix ;; #( | |
| 148 | - *) : | |
| 149 | - ;; | |
| 150 | -esac | |
| 151 | -fi | |
| 152 | -" | |
| 153 | - as_required="as_fn_return () { (exit \$1); } | |
| 154 | -as_fn_success () { as_fn_return 0; } | |
| 155 | -as_fn_failure () { as_fn_return 1; } | |
| 156 | -as_fn_ret_success () { return 0; } | |
| 157 | -as_fn_ret_failure () { return 1; } | |
| 158 | - | |
| 159 | -exitcode=0 | |
| 160 | -as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
| 161 | -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
| 162 | -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
| 163 | -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
| 164 | -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
| 165 | - | |
| 166 | -else | |
| 167 | - exitcode=1; echo positional parameters were not saved. | |
| 168 | -fi | |
| 169 | -test x\$exitcode = x0 || exit 1" | |
| 170 | - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
| 171 | - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
| 172 | - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
| 173 | - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
| 174 | -test \$(( 1 + 1 )) = 2 || exit 1" | |
| 175 | - if (eval "$as_required") 2>/dev/null; then : | |
| 176 | - as_have_required=yes | |
| 177 | -else | |
| 178 | - as_have_required=no | |
| 179 | -fi | |
| 180 | - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
| 181 | - | |
| 182 | -else | |
| 183 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 184 | -as_found=false | |
| 185 | -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 186 | -do | |
| 187 | - IFS=$as_save_IFS | |
| 188 | - test -z "$as_dir" && as_dir=. | |
| 189 | - as_found=: | |
| 190 | - case $as_dir in #( | |
| 191 | - /*) | |
| 192 | - for as_base in sh bash ksh sh5; do | |
| 193 | - # Try only shells that exist, to save several forks. | |
| 194 | - as_shell=$as_dir/$as_base | |
| 195 | - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 196 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 197 | - CONFIG_SHELL=$as_shell as_have_required=yes | |
| 198 | - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 199 | - break 2 | |
| 200 | -fi | |
| 201 | -fi | |
| 202 | - done;; | |
| 203 | - esac | |
| 204 | - as_found=false | |
| 205 | -done | |
| 206 | -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
| 207 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
| 208 | - CONFIG_SHELL=$SHELL as_have_required=yes | |
| 209 | -fi; } | |
| 210 | -IFS=$as_save_IFS | |
| 211 | - | |
| 212 | - | |
| 213 | - if test "x$CONFIG_SHELL" != x; then : | |
| 214 | - # We cannot yet assume a decent shell, so we have to provide a | |
| 215 | - # neutralization value for shells without unset; and this also | |
| 216 | - # works around shells that cannot unset nonexistent variables. | |
| 217 | - BASH_ENV=/dev/null | |
| 218 | - ENV=/dev/null | |
| 219 | - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 220 | - export CONFIG_SHELL | |
| 221 | - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
| 222 | -fi | |
| 223 | - | |
| 224 | - if test x$as_have_required = xno; then : | |
| 225 | - $as_echo "$0: This script requires a shell more modern than all" | |
| 226 | - $as_echo "$0: the shells that I found on your system." | |
| 227 | - if test x${ZSH_VERSION+set} = xset ; then | |
| 228 | - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
| 229 | - $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
| 230 | - else | |
| 231 | - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
| 232 | -$0: including any error possibly output before this | |
| 233 | -$0: message. Then install a modern shell, or manually run | |
| 234 | -$0: the script under such a shell if you do have one." | |
| 235 | - fi | |
| 236 | - exit 1 | |
| 237 | -fi | |
| 238 | -fi | |
| 239 | -fi | |
| 240 | -SHELL=${CONFIG_SHELL-/bin/sh} | |
| 241 | -export SHELL | |
| 242 | -# Unset more variables known to interfere with behavior of common tools. | |
| 243 | -CLICOLOR_FORCE= GREP_OPTIONS= | |
| 244 | -unset CLICOLOR_FORCE GREP_OPTIONS | |
| 245 | - | |
| 246 | -## --------------------- ## | |
| 247 | -## M4sh Shell Functions. ## | |
| 248 | -## --------------------- ## | |
| 249 | -# as_fn_unset VAR | |
| 250 | -# --------------- | |
| 251 | -# Portably unset VAR. | |
| 252 | -as_fn_unset () | |
| 253 | -{ | |
| 254 | - { eval $1=; unset $1;} | |
| 255 | -} | |
| 256 | -as_unset=as_fn_unset | |
| 257 | - | |
| 258 | -# as_fn_set_status STATUS | |
| 259 | -# ----------------------- | |
| 260 | -# Set $? to STATUS, without forking. | |
| 261 | -as_fn_set_status () | |
| 262 | -{ | |
| 263 | - return $1 | |
| 264 | -} # as_fn_set_status | |
| 265 | - | |
| 266 | -# as_fn_exit STATUS | |
| 267 | -# ----------------- | |
| 268 | -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 269 | -as_fn_exit () | |
| 270 | -{ | |
| 271 | - set +e | |
| 272 | - as_fn_set_status $1 | |
| 273 | - exit $1 | |
| 274 | -} # as_fn_exit | |
| 275 | - | |
| 276 | -# as_fn_mkdir_p | |
| 277 | -# ------------- | |
| 278 | -# Create "$as_dir" as a directory, including parents if necessary. | |
| 279 | -as_fn_mkdir_p () | |
| 280 | -{ | |
| 281 | - | |
| 282 | - case $as_dir in #( | |
| 283 | - -*) as_dir=./$as_dir;; | |
| 284 | - esac | |
| 285 | - test -d "$as_dir" || eval $as_mkdir_p || { | |
| 286 | - as_dirs= | |
| 287 | - while :; do | |
| 288 | - case $as_dir in #( | |
| 289 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 290 | - *) as_qdir=$as_dir;; | |
| 291 | - esac | |
| 292 | - as_dirs="'$as_qdir' $as_dirs" | |
| 293 | - as_dir=`$as_dirname -- "$as_dir" || | |
| 294 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 295 | - X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 296 | - X"$as_dir" : 'X\(//\)$' \| \ | |
| 297 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 298 | -$as_echo X"$as_dir" | | |
| 299 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 300 | - s//\1/ | |
| 301 | - q | |
| 302 | - } | |
| 303 | - /^X\(\/\/\)[^/].*/{ | |
| 304 | - s//\1/ | |
| 305 | - q | |
| 306 | - } | |
| 307 | - /^X\(\/\/\)$/{ | |
| 308 | - s//\1/ | |
| 309 | - q | |
| 310 | - } | |
| 311 | - /^X\(\/\).*/{ | |
| 312 | - s//\1/ | |
| 313 | - q | |
| 314 | - } | |
| 315 | - s/.*/./; q'` | |
| 316 | - test -d "$as_dir" && break | |
| 317 | - done | |
| 318 | - test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 319 | - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 320 | - | |
| 321 | - | |
| 322 | -} # as_fn_mkdir_p | |
| 323 | -# as_fn_append VAR VALUE | |
| 324 | -# ---------------------- | |
| 325 | -# Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 326 | -# advantage of any shell optimizations that allow amortized linear growth over | |
| 327 | -# repeated appends, instead of the typical quadratic growth present in naive | |
| 328 | -# implementations. | |
| 329 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 330 | - eval 'as_fn_append () | |
| 331 | - { | |
| 332 | - eval $1+=\$2 | |
| 333 | - }' | |
| 334 | -else | |
| 335 | - as_fn_append () | |
| 336 | - { | |
| 337 | - eval $1=\$$1\$2 | |
| 338 | - } | |
| 339 | -fi # as_fn_append | |
| 340 | - | |
| 341 | -# as_fn_arith ARG... | |
| 342 | -# ------------------ | |
| 343 | -# Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 344 | -# global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 345 | -# must be portable across $(()) and expr. | |
| 346 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 347 | - eval 'as_fn_arith () | |
| 348 | - { | |
| 349 | - as_val=$(( $* )) | |
| 350 | - }' | |
| 351 | -else | |
| 352 | - as_fn_arith () | |
| 353 | - { | |
| 354 | - as_val=`expr "$@" || test $? -eq 1` | |
| 355 | - } | |
| 356 | -fi # as_fn_arith | |
| 357 | - | |
| 358 | - | |
| 359 | -# as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 360 | -# ---------------------------------------- | |
| 361 | -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 362 | -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 363 | -# script with STATUS, using 1 if that was 0. | |
| 364 | -as_fn_error () | |
| 365 | -{ | |
| 366 | - as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 367 | - if test "$4"; then | |
| 368 | - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 369 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 370 | - fi | |
| 371 | - $as_echo "$as_me: error: $2" >&2 | |
| 372 | - as_fn_exit $as_status | |
| 373 | -} # as_fn_error | |
| 374 | - | |
| 375 | -if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 376 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 377 | - as_expr=expr | |
| 378 | -else | |
| 379 | - as_expr=false | |
| 380 | -fi | |
| 381 | - | |
| 382 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 383 | - as_basename=basename | |
| 384 | -else | |
| 385 | - as_basename=false | |
| 386 | -fi | |
| 387 | - | |
| 388 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 389 | - as_dirname=dirname | |
| 390 | -else | |
| 391 | - as_dirname=false | |
| 392 | -fi | |
| 393 | - | |
| 394 | -as_me=`$as_basename -- "$0" || | |
| 395 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 396 | - X"$0" : 'X\(//\)$' \| \ | |
| 397 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 398 | -$as_echo X/"$0" | | |
| 399 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 400 | - s//\1/ | |
| 401 | - q | |
| 402 | - } | |
| 403 | - /^X\/\(\/\/\)$/{ | |
| 404 | - s//\1/ | |
| 405 | - q | |
| 406 | - } | |
| 407 | - /^X\/\(\/\).*/{ | |
| 408 | - s//\1/ | |
| 409 | - q | |
| 410 | - } | |
| 411 | - s/.*/./; q'` | |
| 412 | - | |
| 413 | -# Avoid depending upon Character Ranges. | |
| 414 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 415 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 416 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 417 | -as_cr_digits='0123456789' | |
| 418 | -as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 419 | - | |
| 420 | - | |
| 421 | - as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
| 422 | - as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
| 423 | - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
| 424 | - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
| 425 | - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
| 426 | - sed -n ' | |
| 427 | - p | |
| 428 | - /[$]LINENO/= | |
| 429 | - ' <$as_myself | | |
| 430 | - sed ' | |
| 431 | - s/[$]LINENO.*/&-/ | |
| 432 | - t lineno | |
| 433 | - b | |
| 434 | - :lineno | |
| 435 | - N | |
| 436 | - :loop | |
| 437 | - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 438 | - t loop | |
| 439 | - s/-\n.*// | |
| 440 | - ' >$as_me.lineno && | |
| 441 | - chmod +x "$as_me.lineno" || | |
| 442 | - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
| 443 | - | |
| 444 | - # Don't try to exec as it changes $[0], causing all sort of problems | |
| 445 | - # (the dirname of $[0] is not the place where we might find the | |
| 446 | - # original and so on. Autoconf is especially sensitive to this). | |
| 447 | - . "./$as_me.lineno" | |
| 448 | - # Exit status is that of the last command. | |
| 449 | - exit | |
| 450 | -} | |
| 451 | - | |
| 452 | -ECHO_C= ECHO_N= ECHO_T= | |
| 453 | -case `echo -n x` in #((((( | |
| 454 | --n*) | |
| 455 | - case `echo 'xy\c'` in | |
| 456 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 457 | - xy) ECHO_C='\c';; | |
| 458 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 459 | - ECHO_T=' ';; | |
| 460 | - esac;; | |
| 461 | -*) | |
| 462 | - ECHO_N='-n';; | |
| 463 | -esac | |
| 464 | - | |
| 465 | -rm -f conf$$ conf$$.exe conf$$.file | |
| 466 | -if test -d conf$$.dir; then | |
| 467 | - rm -f conf$$.dir/conf$$.file | |
| 468 | -else | |
| 469 | - rm -f conf$$.dir | |
| 470 | - mkdir conf$$.dir 2>/dev/null | |
| 471 | -fi | |
| 472 | -if (echo >conf$$.file) 2>/dev/null; then | |
| 473 | - if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 474 | - as_ln_s='ln -s' | |
| 475 | - # ... but there are two gotchas: | |
| 476 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 477 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 478 | - # In both cases, we have to default to `cp -p'. | |
| 479 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 480 | - as_ln_s='cp -p' | |
| 481 | - elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 482 | - as_ln_s=ln | |
| 483 | - else | |
| 484 | - as_ln_s='cp -p' | |
| 485 | - fi | |
| 486 | -else | |
| 487 | - as_ln_s='cp -p' | |
| 488 | -fi | |
| 489 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 490 | -rmdir conf$$.dir 2>/dev/null | |
| 491 | - | |
| 492 | -if mkdir -p . 2>/dev/null; then | |
| 493 | - as_mkdir_p='mkdir -p "$as_dir"' | |
| 494 | -else | |
| 495 | - test -d ./-p && rmdir ./-p | |
| 496 | - as_mkdir_p=false | |
| 497 | -fi | |
| 498 | - | |
| 499 | -if test -x / >/dev/null 2>&1; then | |
| 500 | - as_test_x='test -x' | |
| 501 | -else | |
| 502 | - if ls -dL / >/dev/null 2>&1; then | |
| 503 | - as_ls_L_option=L | |
| 504 | - else | |
| 505 | - as_ls_L_option= | |
| 506 | - fi | |
| 507 | - as_test_x=' | |
| 508 | - eval sh -c '\'' | |
| 509 | - if test -d "$1"; then | |
| 510 | - test -d "$1/."; | |
| 511 | - else | |
| 512 | - case $1 in #( | |
| 513 | - -*)set "./$1";; | |
| 514 | - esac; | |
| 515 | - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| 516 | - ???[sx]*):;;*)false;;esac;fi | |
| 517 | - '\'' sh | |
| 518 | - ' | |
| 519 | -fi | |
| 520 | -as_executable_p=$as_test_x | |
| 521 | - | |
| 522 | -# Sed expression to map a string onto a valid CPP name. | |
| 523 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 524 | - | |
| 525 | -# Sed expression to map a string onto a valid variable name. | |
| 526 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 527 | - | |
| 528 | - | |
| 529 | -test -n "$DJDIR" || exec 7<&0 </dev/null | |
| 530 | -exec 6>&1 | |
| 531 | - | |
| 532 | -# Name of the host. | |
| 533 | -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
| 534 | -# so uname gets run too. | |
| 535 | -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 536 | - | |
| 537 | -# | |
| 538 | -# Initializations. | |
| 539 | -# | |
| 540 | -ac_default_prefix=/usr/local | |
| 541 | -ac_clean_files= | |
| 542 | -ac_config_libobj_dir=. | |
| 543 | -LIBOBJS= | |
| 544 | -cross_compiling=no | |
| 545 | -subdirs= | |
| 546 | -MFLAGS= | |
| 547 | -MAKEFLAGS= | |
| 548 | - | |
| 549 | -# Identity of this package. | |
| 550 | -PACKAGE_NAME= | |
| 551 | -PACKAGE_TARNAME= | |
| 552 | -PACKAGE_VERSION= | |
| 553 | -PACKAGE_STRING= | |
| 554 | -PACKAGE_BUGREPORT= | |
| 555 | -PACKAGE_URL= | |
| 556 | - | |
| 557 | -ac_unique_file="dsoextractfw.c" | |
| 558 | -# Factoring default headers for most tests. | |
| 559 | -ac_includes_default="\ | |
| 560 | -#include <stdio.h> | |
| 561 | -#ifdef HAVE_SYS_TYPES_H | |
| 562 | -# include <sys/types.h> | |
| 563 | -#endif | |
| 564 | -#ifdef HAVE_SYS_STAT_H | |
| 565 | -# include <sys/stat.h> | |
| 566 | -#endif | |
| 567 | -#ifdef STDC_HEADERS | |
| 568 | -# include <stdlib.h> | |
| 569 | -# include <stddef.h> | |
| 570 | -#else | |
| 571 | -# ifdef HAVE_STDLIB_H | |
| 572 | -# include <stdlib.h> | |
| 573 | -# endif | |
| 574 | -#endif | |
| 575 | -#ifdef HAVE_STRING_H | |
| 576 | -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 577 | -# include <memory.h> | |
| 578 | -# endif | |
| 579 | -# include <string.h> | |
| 580 | -#endif | |
| 581 | -#ifdef HAVE_STRINGS_H | |
| 582 | -# include <strings.h> | |
| 583 | -#endif | |
| 584 | -#ifdef HAVE_INTTYPES_H | |
| 585 | -# include <inttypes.h> | |
| 586 | -#endif | |
| 587 | -#ifdef HAVE_STDINT_H | |
| 588 | -# include <stdint.h> | |
| 589 | -#endif | |
| 590 | -#ifdef HAVE_UNISTD_H | |
| 591 | -# include <unistd.h> | |
| 592 | -#endif" | |
| 593 | - | |
| 594 | -ac_subst_vars='am__EXEEXT_FALSE | |
| 595 | -am__EXEEXT_TRUE | |
| 596 | -LTLIBOBJS | |
| 597 | -LIBOBJS | |
| 598 | -EGREP | |
| 599 | -GREP | |
| 600 | -CPP | |
| 601 | -am__fastdepCC_FALSE | |
| 602 | -am__fastdepCC_TRUE | |
| 603 | -CCDEPMODE | |
| 604 | -AMDEPBACKSLASH | |
| 605 | -AMDEP_FALSE | |
| 606 | -AMDEP_TRUE | |
| 607 | -am__quote | |
| 608 | -am__include | |
| 609 | -DEPDIR | |
| 610 | -OBJEXT | |
| 611 | -EXEEXT | |
| 612 | -ac_ct_CC | |
| 613 | -CPPFLAGS | |
| 614 | -LDFLAGS | |
| 615 | -CFLAGS | |
| 616 | -CC | |
| 617 | -am__untar | |
| 618 | -am__tar | |
| 619 | -AMTAR | |
| 620 | -am__leading_dot | |
| 621 | -SET_MAKE | |
| 622 | -AWK | |
| 623 | -mkdir_p | |
| 624 | -MKDIR_P | |
| 625 | -INSTALL_STRIP_PROGRAM | |
| 626 | -STRIP | |
| 627 | -install_sh | |
| 628 | -MAKEINFO | |
| 629 | -AUTOHEADER | |
| 630 | -AUTOMAKE | |
| 631 | -AUTOCONF | |
| 632 | -ACLOCAL | |
| 633 | -VERSION | |
| 634 | -PACKAGE | |
| 635 | -CYGPATH_W | |
| 636 | -am__isrc | |
| 637 | -INSTALL_DATA | |
| 638 | -INSTALL_SCRIPT | |
| 639 | -INSTALL_PROGRAM | |
| 640 | -target_alias | |
| 641 | -host_alias | |
| 642 | -build_alias | |
| 643 | -LIBS | |
| 644 | -ECHO_T | |
| 645 | -ECHO_N | |
| 646 | -ECHO_C | |
| 647 | -DEFS | |
| 648 | -mandir | |
| 649 | -localedir | |
| 650 | -libdir | |
| 651 | -psdir | |
| 652 | -pdfdir | |
| 653 | -dvidir | |
| 654 | -htmldir | |
| 655 | -infodir | |
| 656 | -docdir | |
| 657 | -oldincludedir | |
| 658 | -includedir | |
| 659 | -localstatedir | |
| 660 | -sharedstatedir | |
| 661 | -sysconfdir | |
| 662 | -datadir | |
| 663 | -datarootdir | |
| 664 | -libexecdir | |
| 665 | -sbindir | |
| 666 | -bindir | |
| 667 | -program_transform_name | |
| 668 | -prefix | |
| 669 | -exec_prefix | |
| 670 | -PACKAGE_URL | |
| 671 | -PACKAGE_BUGREPORT | |
| 672 | -PACKAGE_STRING | |
| 673 | -PACKAGE_VERSION | |
| 674 | -PACKAGE_TARNAME | |
| 675 | -PACKAGE_NAME | |
| 676 | -PATH_SEPARATOR | |
| 677 | -SHELL' | |
| 678 | -ac_subst_files='' | |
| 679 | -ac_user_opts=' | |
| 680 | -enable_option_checking | |
| 681 | -enable_dependency_tracking | |
| 682 | -' | |
| 683 | - ac_precious_vars='build_alias | |
| 684 | -host_alias | |
| 685 | -target_alias | |
| 686 | -CC | |
| 687 | -CFLAGS | |
| 688 | -LDFLAGS | |
| 689 | -LIBS | |
| 690 | -CPPFLAGS | |
| 691 | -CPP' | |
| 692 | - | |
| 693 | - | |
| 694 | -# Initialize some variables set by options. | |
| 695 | -ac_init_help= | |
| 696 | -ac_init_version=false | |
| 697 | -ac_unrecognized_opts= | |
| 698 | -ac_unrecognized_sep= | |
| 699 | -# The variables have the same names as the options, with | |
| 700 | -# dashes changed to underlines. | |
| 701 | -cache_file=/dev/null | |
| 702 | -exec_prefix=NONE | |
| 703 | -no_create= | |
| 704 | -no_recursion= | |
| 705 | -prefix=NONE | |
| 706 | -program_prefix=NONE | |
| 707 | -program_suffix=NONE | |
| 708 | -program_transform_name=s,x,x, | |
| 709 | -silent= | |
| 710 | -site= | |
| 711 | -srcdir= | |
| 712 | -verbose= | |
| 713 | -x_includes=NONE | |
| 714 | -x_libraries=NONE | |
| 715 | - | |
| 716 | -# Installation directory options. | |
| 717 | -# These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 718 | -# and all the variables that are supposed to be based on exec_prefix | |
| 719 | -# by default will actually change. | |
| 720 | -# Use braces instead of parens because sh, perl, etc. also accept them. | |
| 721 | -# (The list follows the same order as the GNU Coding Standards.) | |
| 722 | -bindir='${exec_prefix}/bin' | |
| 723 | -sbindir='${exec_prefix}/sbin' | |
| 724 | -libexecdir='${exec_prefix}/libexec' | |
| 725 | -datarootdir='${prefix}/share' | |
| 726 | -datadir='${datarootdir}' | |
| 727 | -sysconfdir='${prefix}/etc' | |
| 728 | -sharedstatedir='${prefix}/com' | |
| 729 | -localstatedir='${prefix}/var' | |
| 730 | -includedir='${prefix}/include' | |
| 731 | -oldincludedir='/usr/include' | |
| 732 | -docdir='${datarootdir}/doc/${PACKAGE}' | |
| 733 | -infodir='${datarootdir}/info' | |
| 734 | -htmldir='${docdir}' | |
| 735 | -dvidir='${docdir}' | |
| 736 | -pdfdir='${docdir}' | |
| 737 | -psdir='${docdir}' | |
| 738 | -libdir='${exec_prefix}/lib' | |
| 739 | -localedir='${datarootdir}/locale' | |
| 740 | -mandir='${datarootdir}/man' | |
| 741 | - | |
| 742 | -ac_prev= | |
| 743 | -ac_dashdash= | |
| 744 | -for ac_option | |
| 745 | -do | |
| 746 | - # If the previous option needs an argument, assign it. | |
| 747 | - if test -n "$ac_prev"; then | |
| 748 | - eval $ac_prev=\$ac_option | |
| 749 | - ac_prev= | |
| 750 | - continue | |
| 751 | - fi | |
| 752 | - | |
| 753 | - case $ac_option in | |
| 754 | - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 755 | - *=) ac_optarg= ;; | |
| 756 | - *) ac_optarg=yes ;; | |
| 757 | - esac | |
| 758 | - | |
| 759 | - # Accept the important Cygnus configure options, so we can diagnose typos. | |
| 760 | - | |
| 761 | - case $ac_dashdash$ac_option in | |
| 762 | - --) | |
| 763 | - ac_dashdash=yes ;; | |
| 764 | - | |
| 765 | - -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
| 766 | - ac_prev=bindir ;; | |
| 767 | - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
| 768 | - bindir=$ac_optarg ;; | |
| 769 | - | |
| 770 | - -build | --build | --buil | --bui | --bu) | |
| 771 | - ac_prev=build_alias ;; | |
| 772 | - -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
| 773 | - build_alias=$ac_optarg ;; | |
| 774 | - | |
| 775 | - -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 776 | - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 777 | - ac_prev=cache_file ;; | |
| 778 | - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 779 | - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
| 780 | - cache_file=$ac_optarg ;; | |
| 781 | - | |
| 782 | - --config-cache | -C) | |
| 783 | - cache_file=config.cache ;; | |
| 784 | - | |
| 785 | - -datadir | --datadir | --datadi | --datad) | |
| 786 | - ac_prev=datadir ;; | |
| 787 | - -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
| 788 | - datadir=$ac_optarg ;; | |
| 789 | - | |
| 790 | - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 791 | - | --dataroo | --dataro | --datar) | |
| 792 | - ac_prev=datarootdir ;; | |
| 793 | - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 794 | - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 795 | - datarootdir=$ac_optarg ;; | |
| 796 | - | |
| 797 | - -disable-* | --disable-*) | |
| 798 | - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
| 799 | - # Reject names that are not valid shell variable names. | |
| 800 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 801 | - as_fn_error $? "invalid feature name: $ac_useropt" | |
| 802 | - ac_useropt_orig=$ac_useropt | |
| 803 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 804 | - case $ac_user_opts in | |
| 805 | - *" | |
| 806 | -"enable_$ac_useropt" | |
| 807 | -"*) ;; | |
| 808 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
| 809 | - ac_unrecognized_sep=', ';; | |
| 810 | - esac | |
| 811 | - eval enable_$ac_useropt=no ;; | |
| 812 | - | |
| 813 | - -docdir | --docdir | --docdi | --doc | --do) | |
| 814 | - ac_prev=docdir ;; | |
| 815 | - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 816 | - docdir=$ac_optarg ;; | |
| 817 | - | |
| 818 | - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 819 | - ac_prev=dvidir ;; | |
| 820 | - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 821 | - dvidir=$ac_optarg ;; | |
| 822 | - | |
| 823 | - -enable-* | --enable-*) | |
| 824 | - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
| 825 | - # Reject names that are not valid shell variable names. | |
| 826 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 827 | - as_fn_error $? "invalid feature name: $ac_useropt" | |
| 828 | - ac_useropt_orig=$ac_useropt | |
| 829 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 830 | - case $ac_user_opts in | |
| 831 | - *" | |
| 832 | -"enable_$ac_useropt" | |
| 833 | -"*) ;; | |
| 834 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
| 835 | - ac_unrecognized_sep=', ';; | |
| 836 | - esac | |
| 837 | - eval enable_$ac_useropt=\$ac_optarg ;; | |
| 838 | - | |
| 839 | - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
| 840 | - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
| 841 | - | --exec | --exe | --ex) | |
| 842 | - ac_prev=exec_prefix ;; | |
| 843 | - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
| 844 | - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
| 845 | - | --exec=* | --exe=* | --ex=*) | |
| 846 | - exec_prefix=$ac_optarg ;; | |
| 847 | - | |
| 848 | - -gas | --gas | --ga | --g) | |
| 849 | - # Obsolete; use --with-gas. | |
| 850 | - with_gas=yes ;; | |
| 851 | - | |
| 852 | - -help | --help | --hel | --he | -h) | |
| 853 | - ac_init_help=long ;; | |
| 854 | - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
| 855 | - ac_init_help=recursive ;; | |
| 856 | - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
| 857 | - ac_init_help=short ;; | |
| 858 | - | |
| 859 | - -host | --host | --hos | --ho) | |
| 860 | - ac_prev=host_alias ;; | |
| 861 | - -host=* | --host=* | --hos=* | --ho=*) | |
| 862 | - host_alias=$ac_optarg ;; | |
| 863 | - | |
| 864 | - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 865 | - ac_prev=htmldir ;; | |
| 866 | - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 867 | - | --ht=*) | |
| 868 | - htmldir=$ac_optarg ;; | |
| 869 | - | |
| 870 | - -includedir | --includedir | --includedi | --included | --include \ | |
| 871 | - | --includ | --inclu | --incl | --inc) | |
| 872 | - ac_prev=includedir ;; | |
| 873 | - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
| 874 | - | --includ=* | --inclu=* | --incl=* | --inc=*) | |
| 875 | - includedir=$ac_optarg ;; | |
| 876 | - | |
| 877 | - -infodir | --infodir | --infodi | --infod | --info | --inf) | |
| 878 | - ac_prev=infodir ;; | |
| 879 | - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
| 880 | - infodir=$ac_optarg ;; | |
| 881 | - | |
| 882 | - -libdir | --libdir | --libdi | --libd) | |
| 883 | - ac_prev=libdir ;; | |
| 884 | - -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
| 885 | - libdir=$ac_optarg ;; | |
| 886 | - | |
| 887 | - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
| 888 | - | --libexe | --libex | --libe) | |
| 889 | - ac_prev=libexecdir ;; | |
| 890 | - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
| 891 | - | --libexe=* | --libex=* | --libe=*) | |
| 892 | - libexecdir=$ac_optarg ;; | |
| 893 | - | |
| 894 | - -localedir | --localedir | --localedi | --localed | --locale) | |
| 895 | - ac_prev=localedir ;; | |
| 896 | - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 897 | - localedir=$ac_optarg ;; | |
| 898 | - | |
| 899 | - -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
| 900 | - | --localstate | --localstat | --localsta | --localst | --locals) | |
| 901 | - ac_prev=localstatedir ;; | |
| 902 | - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
| 903 | - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
| 904 | - localstatedir=$ac_optarg ;; | |
| 905 | - | |
| 906 | - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
| 907 | - ac_prev=mandir ;; | |
| 908 | - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
| 909 | - mandir=$ac_optarg ;; | |
| 910 | - | |
| 911 | - -nfp | --nfp | --nf) | |
| 912 | - # Obsolete; use --without-fp. | |
| 913 | - with_fp=no ;; | |
| 914 | - | |
| 915 | - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
| 916 | - | --no-cr | --no-c | -n) | |
| 917 | - no_create=yes ;; | |
| 918 | - | |
| 919 | - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
| 920 | - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
| 921 | - no_recursion=yes ;; | |
| 922 | - | |
| 923 | - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
| 924 | - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
| 925 | - | --oldin | --oldi | --old | --ol | --o) | |
| 926 | - ac_prev=oldincludedir ;; | |
| 927 | - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
| 928 | - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
| 929 | - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
| 930 | - oldincludedir=$ac_optarg ;; | |
| 931 | - | |
| 932 | - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 933 | - ac_prev=prefix ;; | |
| 934 | - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 935 | - prefix=$ac_optarg ;; | |
| 936 | - | |
| 937 | - -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
| 938 | - | --program-pre | --program-pr | --program-p) | |
| 939 | - ac_prev=program_prefix ;; | |
| 940 | - -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
| 941 | - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
| 942 | - program_prefix=$ac_optarg ;; | |
| 943 | - | |
| 944 | - -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
| 945 | - | --program-suf | --program-su | --program-s) | |
| 946 | - ac_prev=program_suffix ;; | |
| 947 | - -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
| 948 | - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
| 949 | - program_suffix=$ac_optarg ;; | |
| 950 | - | |
| 951 | - -program-transform-name | --program-transform-name \ | |
| 952 | - | --program-transform-nam | --program-transform-na \ | |
| 953 | - | --program-transform-n | --program-transform- \ | |
| 954 | - | --program-transform | --program-transfor \ | |
| 955 | - | --program-transfo | --program-transf \ | |
| 956 | - | --program-trans | --program-tran \ | |
| 957 | - | --progr-tra | --program-tr | --program-t) | |
| 958 | - ac_prev=program_transform_name ;; | |
| 959 | - -program-transform-name=* | --program-transform-name=* \ | |
| 960 | - | --program-transform-nam=* | --program-transform-na=* \ | |
| 961 | - | --program-transform-n=* | --program-transform-=* \ | |
| 962 | - | --program-transform=* | --program-transfor=* \ | |
| 963 | - | --program-transfo=* | --program-transf=* \ | |
| 964 | - | --program-trans=* | --program-tran=* \ | |
| 965 | - | --progr-tra=* | --program-tr=* | --program-t=*) | |
| 966 | - program_transform_name=$ac_optarg ;; | |
| 967 | - | |
| 968 | - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 969 | - ac_prev=pdfdir ;; | |
| 970 | - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 971 | - pdfdir=$ac_optarg ;; | |
| 972 | - | |
| 973 | - -psdir | --psdir | --psdi | --psd | --ps) | |
| 974 | - ac_prev=psdir ;; | |
| 975 | - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 976 | - psdir=$ac_optarg ;; | |
| 977 | - | |
| 978 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 979 | - | -silent | --silent | --silen | --sile | --sil) | |
| 980 | - silent=yes ;; | |
| 981 | - | |
| 982 | - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
| 983 | - ac_prev=sbindir ;; | |
| 984 | - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
| 985 | - | --sbi=* | --sb=*) | |
| 986 | - sbindir=$ac_optarg ;; | |
| 987 | - | |
| 988 | - -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
| 989 | - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
| 990 | - | --sharedst | --shareds | --shared | --share | --shar \ | |
| 991 | - | --sha | --sh) | |
| 992 | - ac_prev=sharedstatedir ;; | |
| 993 | - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
| 994 | - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
| 995 | - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
| 996 | - | --sha=* | --sh=*) | |
| 997 | - sharedstatedir=$ac_optarg ;; | |
| 998 | - | |
| 999 | - -site | --site | --sit) | |
| 1000 | - ac_prev=site ;; | |
| 1001 | - -site=* | --site=* | --sit=*) | |
| 1002 | - site=$ac_optarg ;; | |
| 1003 | - | |
| 1004 | - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 1005 | - ac_prev=srcdir ;; | |
| 1006 | - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 1007 | - srcdir=$ac_optarg ;; | |
| 1008 | - | |
| 1009 | - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
| 1010 | - | --syscon | --sysco | --sysc | --sys | --sy) | |
| 1011 | - ac_prev=sysconfdir ;; | |
| 1012 | - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
| 1013 | - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
| 1014 | - sysconfdir=$ac_optarg ;; | |
| 1015 | - | |
| 1016 | - -target | --target | --targe | --targ | --tar | --ta | --t) | |
| 1017 | - ac_prev=target_alias ;; | |
| 1018 | - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
| 1019 | - target_alias=$ac_optarg ;; | |
| 1020 | - | |
| 1021 | - -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
| 1022 | - verbose=yes ;; | |
| 1023 | - | |
| 1024 | - -version | --version | --versio | --versi | --vers | -V) | |
| 1025 | - ac_init_version=: ;; | |
| 1026 | - | |
| 1027 | - -with-* | --with-*) | |
| 1028 | - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
| 1029 | - # Reject names that are not valid shell variable names. | |
| 1030 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1031 | - as_fn_error $? "invalid package name: $ac_useropt" | |
| 1032 | - ac_useropt_orig=$ac_useropt | |
| 1033 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1034 | - case $ac_user_opts in | |
| 1035 | - *" | |
| 1036 | -"with_$ac_useropt" | |
| 1037 | -"*) ;; | |
| 1038 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
| 1039 | - ac_unrecognized_sep=', ';; | |
| 1040 | - esac | |
| 1041 | - eval with_$ac_useropt=\$ac_optarg ;; | |
| 1042 | - | |
| 1043 | - -without-* | --without-*) | |
| 1044 | - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
| 1045 | - # Reject names that are not valid shell variable names. | |
| 1046 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1047 | - as_fn_error $? "invalid package name: $ac_useropt" | |
| 1048 | - ac_useropt_orig=$ac_useropt | |
| 1049 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1050 | - case $ac_user_opts in | |
| 1051 | - *" | |
| 1052 | -"with_$ac_useropt" | |
| 1053 | -"*) ;; | |
| 1054 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
| 1055 | - ac_unrecognized_sep=', ';; | |
| 1056 | - esac | |
| 1057 | - eval with_$ac_useropt=no ;; | |
| 1058 | - | |
| 1059 | - --x) | |
| 1060 | - # Obsolete; use --with-x. | |
| 1061 | - with_x=yes ;; | |
| 1062 | - | |
| 1063 | - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
| 1064 | - | --x-incl | --x-inc | --x-in | --x-i) | |
| 1065 | - ac_prev=x_includes ;; | |
| 1066 | - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
| 1067 | - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
| 1068 | - x_includes=$ac_optarg ;; | |
| 1069 | - | |
| 1070 | - -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
| 1071 | - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
| 1072 | - ac_prev=x_libraries ;; | |
| 1073 | - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
| 1074 | - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
| 1075 | - x_libraries=$ac_optarg ;; | |
| 1076 | - | |
| 1077 | - -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
| 1078 | -Try \`$0 --help' for more information" | |
| 1079 | - ;; | |
| 1080 | - | |
| 1081 | - *=*) | |
| 1082 | - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1083 | - # Reject names that are not valid shell variable names. | |
| 1084 | - case $ac_envvar in #( | |
| 1085 | - '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
| 1086 | - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
| 1087 | - esac | |
| 1088 | - eval $ac_envvar=\$ac_optarg | |
| 1089 | - export $ac_envvar ;; | |
| 1090 | - | |
| 1091 | - *) | |
| 1092 | - # FIXME: should be removed in autoconf 3.0. | |
| 1093 | - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
| 1094 | - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1095 | - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
| 1096 | - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
| 1097 | - ;; | |
| 1098 | - | |
| 1099 | - esac | |
| 1100 | -done | |
| 1101 | - | |
| 1102 | -if test -n "$ac_prev"; then | |
| 1103 | - ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
| 1104 | - as_fn_error $? "missing argument to $ac_option" | |
| 1105 | -fi | |
| 1106 | - | |
| 1107 | -if test -n "$ac_unrecognized_opts"; then | |
| 1108 | - case $enable_option_checking in | |
| 1109 | - no) ;; | |
| 1110 | - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
| 1111 | - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
| 1112 | - esac | |
| 1113 | -fi | |
| 1114 | - | |
| 1115 | -# Check all directory arguments for consistency. | |
| 1116 | -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
| 1117 | - datadir sysconfdir sharedstatedir localstatedir includedir \ | |
| 1118 | - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
| 1119 | - libdir localedir mandir | |
| 1120 | -do | |
| 1121 | - eval ac_val=\$$ac_var | |
| 1122 | - # Remove trailing slashes. | |
| 1123 | - case $ac_val in | |
| 1124 | - */ ) | |
| 1125 | - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
| 1126 | - eval $ac_var=\$ac_val;; | |
| 1127 | - esac | |
| 1128 | - # Be sure to have absolute directory names. | |
| 1129 | - case $ac_val in | |
| 1130 | - [\\/$]* | ?:[\\/]* ) continue;; | |
| 1131 | - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1132 | - esac | |
| 1133 | - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
| 1134 | -done | |
| 1135 | - | |
| 1136 | -# There might be people who depend on the old broken behavior: `$host' | |
| 1137 | -# used to hold the argument of --host etc. | |
| 1138 | -# FIXME: To remove some day. | |
| 1139 | -build=$build_alias | |
| 1140 | -host=$host_alias | |
| 1141 | -target=$target_alias | |
| 1142 | - | |
| 1143 | -# FIXME: To remove some day. | |
| 1144 | -if test "x$host_alias" != x; then | |
| 1145 | - if test "x$build_alias" = x; then | |
| 1146 | - cross_compiling=maybe | |
| 1147 | - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
| 1148 | - If a cross compiler is detected then cross compile mode will be used" >&2 | |
| 1149 | - elif test "x$build_alias" != "x$host_alias"; then | |
| 1150 | - cross_compiling=yes | |
| 1151 | - fi | |
| 1152 | -fi | |
| 1153 | - | |
| 1154 | -ac_tool_prefix= | |
| 1155 | -test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
| 1156 | - | |
| 1157 | -test "$silent" = yes && exec 6>/dev/null | |
| 1158 | - | |
| 1159 | - | |
| 1160 | -ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1161 | -ac_ls_di=`ls -di .` && | |
| 1162 | -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1163 | - as_fn_error $? "working directory cannot be determined" | |
| 1164 | -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1165 | - as_fn_error $? "pwd does not report name of working directory" | |
| 1166 | - | |
| 1167 | - | |
| 1168 | -# Find the source files, if location was not specified. | |
| 1169 | -if test -z "$srcdir"; then | |
| 1170 | - ac_srcdir_defaulted=yes | |
| 1171 | - # Try the directory containing this script, then the parent directory. | |
| 1172 | - ac_confdir=`$as_dirname -- "$as_myself" || | |
| 1173 | -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 1174 | - X"$as_myself" : 'X\(//\)[^/]' \| \ | |
| 1175 | - X"$as_myself" : 'X\(//\)$' \| \ | |
| 1176 | - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
| 1177 | -$as_echo X"$as_myself" | | |
| 1178 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1179 | - s//\1/ | |
| 1180 | - q | |
| 1181 | - } | |
| 1182 | - /^X\(\/\/\)[^/].*/{ | |
| 1183 | - s//\1/ | |
| 1184 | - q | |
| 1185 | - } | |
| 1186 | - /^X\(\/\/\)$/{ | |
| 1187 | - s//\1/ | |
| 1188 | - q | |
| 1189 | - } | |
| 1190 | - /^X\(\/\).*/{ | |
| 1191 | - s//\1/ | |
| 1192 | - q | |
| 1193 | - } | |
| 1194 | - s/.*/./; q'` | |
| 1195 | - srcdir=$ac_confdir | |
| 1196 | - if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1197 | - srcdir=.. | |
| 1198 | - fi | |
| 1199 | -else | |
| 1200 | - ac_srcdir_defaulted=no | |
| 1201 | -fi | |
| 1202 | -if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1203 | - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
| 1204 | - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
| 1205 | -fi | |
| 1206 | -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
| 1207 | -ac_abs_confdir=`( | |
| 1208 | - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
| 1209 | - pwd)` | |
| 1210 | -# When building in place, set srcdir=. | |
| 1211 | -if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1212 | - srcdir=. | |
| 1213 | -fi | |
| 1214 | -# Remove unnecessary trailing slashes from srcdir. | |
| 1215 | -# Double slashes in file names in object file debugging info | |
| 1216 | -# mess up M-x gdb in Emacs. | |
| 1217 | -case $srcdir in | |
| 1218 | -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1219 | -esac | |
| 1220 | -for ac_var in $ac_precious_vars; do | |
| 1221 | - eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1222 | - eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1223 | - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1224 | - eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1225 | -done | |
| 1226 | - | |
| 1227 | -# | |
| 1228 | -# Report the --help message. | |
| 1229 | -# | |
| 1230 | -if test "$ac_init_help" = "long"; then | |
| 1231 | - # Omit some internal or obsolete options to make the list less imposing. | |
| 1232 | - # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1233 | - cat <<_ACEOF | |
| 1234 | -\`configure' configures this package to adapt to many kinds of systems. | |
| 1235 | - | |
| 1236 | -Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1237 | - | |
| 1238 | -To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1239 | -VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1240 | - | |
| 1241 | -Defaults for the options are specified in brackets. | |
| 1242 | - | |
| 1243 | -Configuration: | |
| 1244 | - -h, --help display this help and exit | |
| 1245 | - --help=short display options specific to this package | |
| 1246 | - --help=recursive display the short help of all the included packages | |
| 1247 | - -V, --version display version information and exit | |
| 1248 | - -q, --quiet, --silent do not print \`checking ...' messages | |
| 1249 | - --cache-file=FILE cache test results in FILE [disabled] | |
| 1250 | - -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1251 | - -n, --no-create do not create output files | |
| 1252 | - --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1253 | - | |
| 1254 | -Installation directories: | |
| 1255 | - --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1256 | - [$ac_default_prefix] | |
| 1257 | - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1258 | - [PREFIX] | |
| 1259 | - | |
| 1260 | -By default, \`make install' will install all the files in | |
| 1261 | -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1262 | -an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1263 | -for instance \`--prefix=\$HOME'. | |
| 1264 | - | |
| 1265 | -For better control, use the options below. | |
| 1266 | - | |
| 1267 | -Fine tuning of the installation directories: | |
| 1268 | - --bindir=DIR user executables [EPREFIX/bin] | |
| 1269 | - --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1270 | - --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1271 | - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1272 | - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1273 | - --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1274 | - --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1275 | - --includedir=DIR C header files [PREFIX/include] | |
| 1276 | - --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1277 | - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1278 | - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1279 | - --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1280 | - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1281 | - --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1282 | - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
| 1283 | - --htmldir=DIR html documentation [DOCDIR] | |
| 1284 | - --dvidir=DIR dvi documentation [DOCDIR] | |
| 1285 | - --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1286 | - --psdir=DIR ps documentation [DOCDIR] | |
| 1287 | -_ACEOF | |
| 1288 | - | |
| 1289 | - cat <<\_ACEOF | |
| 1290 | - | |
| 1291 | -Program names: | |
| 1292 | - --program-prefix=PREFIX prepend PREFIX to installed program names | |
| 1293 | - --program-suffix=SUFFIX append SUFFIX to installed program names | |
| 1294 | - --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
| 1295 | -_ACEOF | |
| 1296 | -fi | |
| 1297 | - | |
| 1298 | -if test -n "$ac_init_help"; then | |
| 1299 | - | |
| 1300 | - cat <<\_ACEOF | |
| 1301 | - | |
| 1302 | -Optional Features: | |
| 1303 | - --disable-option-checking ignore unrecognized --enable/--with options | |
| 1304 | - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1305 | - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1306 | - --disable-dependency-tracking speeds up one-time build | |
| 1307 | - --enable-dependency-tracking do not reject slow dependency extractors | |
| 1308 | - | |
| 1309 | -Some influential environment variables: | |
| 1310 | - CC C compiler command | |
| 1311 | - CFLAGS C compiler flags | |
| 1312 | - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1313 | - nonstandard directory <lib dir> | |
| 1314 | - LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1315 | - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
| 1316 | - you have headers in a nonstandard directory <include dir> | |
| 1317 | - CPP C preprocessor | |
| 1318 | - | |
| 1319 | -Use these variables to override the choices made by `configure' or to help | |
| 1320 | -it to find libraries and programs with nonstandard names/locations. | |
| 1321 | - | |
| 1322 | -Report bugs to the package provider. | |
| 1323 | -_ACEOF | |
| 1324 | -ac_status=$? | |
| 1325 | -fi | |
| 1326 | - | |
| 1327 | -if test "$ac_init_help" = "recursive"; then | |
| 1328 | - # If there are subdirs, report their specific --help. | |
| 1329 | - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1330 | - test -d "$ac_dir" || | |
| 1331 | - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
| 1332 | - continue | |
| 1333 | - ac_builddir=. | |
| 1334 | - | |
| 1335 | -case "$ac_dir" in | |
| 1336 | -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1337 | -*) | |
| 1338 | - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 1339 | - # A ".." for each directory in $ac_dir_suffix. | |
| 1340 | - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 1341 | - case $ac_top_builddir_sub in | |
| 1342 | - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1343 | - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1344 | - esac ;; | |
| 1345 | -esac | |
| 1346 | -ac_abs_top_builddir=$ac_pwd | |
| 1347 | -ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1348 | -# for backward compatibility: | |
| 1349 | -ac_top_builddir=$ac_top_build_prefix | |
| 1350 | - | |
| 1351 | -case $srcdir in | |
| 1352 | - .) # We are building in place. | |
| 1353 | - ac_srcdir=. | |
| 1354 | - ac_top_srcdir=$ac_top_builddir_sub | |
| 1355 | - ac_abs_top_srcdir=$ac_pwd ;; | |
| 1356 | - [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1357 | - ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1358 | - ac_top_srcdir=$srcdir | |
| 1359 | - ac_abs_top_srcdir=$srcdir ;; | |
| 1360 | - *) # Relative name. | |
| 1361 | - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1362 | - ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1363 | - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1364 | -esac | |
| 1365 | -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1366 | - | |
| 1367 | - cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1368 | - # Check for guested configure. | |
| 1369 | - if test -f "$ac_srcdir/configure.gnu"; then | |
| 1370 | - echo && | |
| 1371 | - $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1372 | - elif test -f "$ac_srcdir/configure"; then | |
| 1373 | - echo && | |
| 1374 | - $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1375 | - else | |
| 1376 | - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1377 | - fi || ac_status=$? | |
| 1378 | - cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1379 | - done | |
| 1380 | -fi | |
| 1381 | - | |
| 1382 | -test -n "$ac_init_help" && exit $ac_status | |
| 1383 | -if $ac_init_version; then | |
| 1384 | - cat <<\_ACEOF | |
| 1385 | -configure | |
| 1386 | -generated by GNU Autoconf 2.67 | |
| 1387 | - | |
| 1388 | -Copyright (C) 2010 Free Software Foundation, Inc. | |
| 1389 | -This configure script is free software; the Free Software Foundation | |
| 1390 | -gives unlimited permission to copy, distribute and modify it. | |
| 1391 | -_ACEOF | |
| 1392 | - exit | |
| 1393 | -fi | |
| 1394 | - | |
| 1395 | -## ------------------------ ## | |
| 1396 | -## Autoconf initialization. ## | |
| 1397 | -## ------------------------ ## | |
| 1398 | - | |
| 1399 | -# ac_fn_c_try_compile LINENO | |
| 1400 | -# -------------------------- | |
| 1401 | -# Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1402 | -ac_fn_c_try_compile () | |
| 1403 | -{ | |
| 1404 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1405 | - rm -f conftest.$ac_objext | |
| 1406 | - if { { ac_try="$ac_compile" | |
| 1407 | -case "(($ac_try" in | |
| 1408 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1409 | - *) ac_try_echo=$ac_try;; | |
| 1410 | -esac | |
| 1411 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1412 | -$as_echo "$ac_try_echo"; } >&5 | |
| 1413 | - (eval "$ac_compile") 2>conftest.err | |
| 1414 | - ac_status=$? | |
| 1415 | - if test -s conftest.err; then | |
| 1416 | - grep -v '^ *+' conftest.err >conftest.er1 | |
| 1417 | - cat conftest.er1 >&5 | |
| 1418 | - mv -f conftest.er1 conftest.err | |
| 1419 | - fi | |
| 1420 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1421 | - test $ac_status = 0; } && { | |
| 1422 | - test -z "$ac_c_werror_flag" || | |
| 1423 | - test ! -s conftest.err | |
| 1424 | - } && test -s conftest.$ac_objext; then : | |
| 1425 | - ac_retval=0 | |
| 1426 | -else | |
| 1427 | - $as_echo "$as_me: failed program was:" >&5 | |
| 1428 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1429 | - | |
| 1430 | - ac_retval=1 | |
| 1431 | -fi | |
| 1432 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
| 1433 | - as_fn_set_status $ac_retval | |
| 1434 | - | |
| 1435 | -} # ac_fn_c_try_compile | |
| 1436 | - | |
| 1437 | -# ac_fn_c_try_cpp LINENO | |
| 1438 | -# ---------------------- | |
| 1439 | -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
| 1440 | -ac_fn_c_try_cpp () | |
| 1441 | -{ | |
| 1442 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1443 | - if { { ac_try="$ac_cpp conftest.$ac_ext" | |
| 1444 | -case "(($ac_try" in | |
| 1445 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1446 | - *) ac_try_echo=$ac_try;; | |
| 1447 | -esac | |
| 1448 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1449 | -$as_echo "$ac_try_echo"; } >&5 | |
| 1450 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
| 1451 | - ac_status=$? | |
| 1452 | - if test -s conftest.err; then | |
| 1453 | - grep -v '^ *+' conftest.err >conftest.er1 | |
| 1454 | - cat conftest.er1 >&5 | |
| 1455 | - mv -f conftest.er1 conftest.err | |
| 1456 | - fi | |
| 1457 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1458 | - test $ac_status = 0; } > conftest.i && { | |
| 1459 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 1460 | - test ! -s conftest.err | |
| 1461 | - }; then : | |
| 1462 | - ac_retval=0 | |
| 1463 | -else | |
| 1464 | - $as_echo "$as_me: failed program was:" >&5 | |
| 1465 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1466 | - | |
| 1467 | - ac_retval=1 | |
| 1468 | -fi | |
| 1469 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
| 1470 | - as_fn_set_status $ac_retval | |
| 1471 | - | |
| 1472 | -} # ac_fn_c_try_cpp | |
| 1473 | - | |
| 1474 | -# ac_fn_c_try_run LINENO | |
| 1475 | -# ---------------------- | |
| 1476 | -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
| 1477 | -# that executables *can* be run. | |
| 1478 | -ac_fn_c_try_run () | |
| 1479 | -{ | |
| 1480 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1481 | - if { { ac_try="$ac_link" | |
| 1482 | -case "(($ac_try" in | |
| 1483 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1484 | - *) ac_try_echo=$ac_try;; | |
| 1485 | -esac | |
| 1486 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1487 | -$as_echo "$ac_try_echo"; } >&5 | |
| 1488 | - (eval "$ac_link") 2>&5 | |
| 1489 | - ac_status=$? | |
| 1490 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1491 | - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
| 1492 | - { { case "(($ac_try" in | |
| 1493 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1494 | - *) ac_try_echo=$ac_try;; | |
| 1495 | -esac | |
| 1496 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1497 | -$as_echo "$ac_try_echo"; } >&5 | |
| 1498 | - (eval "$ac_try") 2>&5 | |
| 1499 | - ac_status=$? | |
| 1500 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1501 | - test $ac_status = 0; }; }; then : | |
| 1502 | - ac_retval=0 | |
| 1503 | -else | |
| 1504 | - $as_echo "$as_me: program exited with status $ac_status" >&5 | |
| 1505 | - $as_echo "$as_me: failed program was:" >&5 | |
| 1506 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1507 | - | |
| 1508 | - ac_retval=$ac_status | |
| 1509 | -fi | |
| 1510 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1511 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
| 1512 | - as_fn_set_status $ac_retval | |
| 1513 | - | |
| 1514 | -} # ac_fn_c_try_run | |
| 1515 | - | |
| 1516 | -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
| 1517 | -# ------------------------------------------------------- | |
| 1518 | -# Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
| 1519 | -# the include files in INCLUDES and setting the cache variable VAR | |
| 1520 | -# accordingly. | |
| 1521 | -ac_fn_c_check_header_mongrel () | |
| 1522 | -{ | |
| 1523 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1524 | - if eval "test \"\${$3+set}\"" = set; then : | |
| 1525 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1526 | -$as_echo_n "checking for $2... " >&6; } | |
| 1527 | -if eval "test \"\${$3+set}\"" = set; then : | |
| 1528 | - $as_echo_n "(cached) " >&6 | |
| 1529 | -fi | |
| 1530 | -eval ac_res=\$$3 | |
| 1531 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1532 | -$as_echo "$ac_res" >&6; } | |
| 1533 | -else | |
| 1534 | - # Is the header compilable? | |
| 1535 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
| 1536 | -$as_echo_n "checking $2 usability... " >&6; } | |
| 1537 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1538 | -/* end confdefs.h. */ | |
| 1539 | -$4 | |
| 1540 | -#include <$2> | |
| 1541 | -_ACEOF | |
| 1542 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 1543 | - ac_header_compiler=yes | |
| 1544 | -else | |
| 1545 | - ac_header_compiler=no | |
| 1546 | -fi | |
| 1547 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1548 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
| 1549 | -$as_echo "$ac_header_compiler" >&6; } | |
| 1550 | - | |
| 1551 | -# Is the header present? | |
| 1552 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
| 1553 | -$as_echo_n "checking $2 presence... " >&6; } | |
| 1554 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1555 | -/* end confdefs.h. */ | |
| 1556 | -#include <$2> | |
| 1557 | -_ACEOF | |
| 1558 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
| 1559 | - ac_header_preproc=yes | |
| 1560 | -else | |
| 1561 | - ac_header_preproc=no | |
| 1562 | -fi | |
| 1563 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
| 1564 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
| 1565 | -$as_echo "$ac_header_preproc" >&6; } | |
| 1566 | - | |
| 1567 | -# So? What about this header? | |
| 1568 | -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
| 1569 | - yes:no: ) | |
| 1570 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
| 1571 | -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
| 1572 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
| 1573 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1574 | - ;; | |
| 1575 | - no:yes:* ) | |
| 1576 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
| 1577 | -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
| 1578 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
| 1579 | -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
| 1580 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
| 1581 | -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
| 1582 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
| 1583 | -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
| 1584 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
| 1585 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1586 | - ;; | |
| 1587 | -esac | |
| 1588 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1589 | -$as_echo_n "checking for $2... " >&6; } | |
| 1590 | -if eval "test \"\${$3+set}\"" = set; then : | |
| 1591 | - $as_echo_n "(cached) " >&6 | |
| 1592 | -else | |
| 1593 | - eval "$3=\$ac_header_compiler" | |
| 1594 | -fi | |
| 1595 | -eval ac_res=\$$3 | |
| 1596 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1597 | -$as_echo "$ac_res" >&6; } | |
| 1598 | -fi | |
| 1599 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
| 1600 | - | |
| 1601 | -} # ac_fn_c_check_header_mongrel | |
| 1602 | - | |
| 1603 | -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
| 1604 | -# ------------------------------------------------------- | |
| 1605 | -# Tests whether HEADER exists and can be compiled using the include files in | |
| 1606 | -# INCLUDES, setting the cache variable VAR accordingly. | |
| 1607 | -ac_fn_c_check_header_compile () | |
| 1608 | -{ | |
| 1609 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1610 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1611 | -$as_echo_n "checking for $2... " >&6; } | |
| 1612 | -if eval "test \"\${$3+set}\"" = set; then : | |
| 1613 | - $as_echo_n "(cached) " >&6 | |
| 1614 | -else | |
| 1615 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1616 | -/* end confdefs.h. */ | |
| 1617 | -$4 | |
| 1618 | -#include <$2> | |
| 1619 | -_ACEOF | |
| 1620 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 1621 | - eval "$3=yes" | |
| 1622 | -else | |
| 1623 | - eval "$3=no" | |
| 1624 | -fi | |
| 1625 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1626 | -fi | |
| 1627 | -eval ac_res=\$$3 | |
| 1628 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1629 | -$as_echo "$ac_res" >&6; } | |
| 1630 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
| 1631 | - | |
| 1632 | -} # ac_fn_c_check_header_compile | |
| 1633 | -cat >config.log <<_ACEOF | |
| 1634 | -This file contains any messages produced by compilers while | |
| 1635 | -running configure, to aid debugging if configure makes a mistake. | |
| 1636 | - | |
| 1637 | -It was created by $as_me, which was | |
| 1638 | -generated by GNU Autoconf 2.67. Invocation command line was | |
| 1639 | - | |
| 1640 | - $ $0 $@ | |
| 1641 | - | |
| 1642 | -_ACEOF | |
| 1643 | -exec 5>>config.log | |
| 1644 | -{ | |
| 1645 | -cat <<_ASUNAME | |
| 1646 | -## --------- ## | |
| 1647 | -## Platform. ## | |
| 1648 | -## --------- ## | |
| 1649 | - | |
| 1650 | -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1651 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1652 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1653 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1654 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1655 | - | |
| 1656 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1657 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1658 | - | |
| 1659 | -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1660 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1661 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1662 | -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 1663 | -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1664 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1665 | -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1666 | - | |
| 1667 | -_ASUNAME | |
| 1668 | - | |
| 1669 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1670 | -for as_dir in $PATH | |
| 1671 | -do | |
| 1672 | - IFS=$as_save_IFS | |
| 1673 | - test -z "$as_dir" && as_dir=. | |
| 1674 | - $as_echo "PATH: $as_dir" | |
| 1675 | - done | |
| 1676 | -IFS=$as_save_IFS | |
| 1677 | - | |
| 1678 | -} >&5 | |
| 1679 | - | |
| 1680 | -cat >&5 <<_ACEOF | |
| 1681 | - | |
| 1682 | - | |
| 1683 | -## ----------- ## | |
| 1684 | -## Core tests. ## | |
| 1685 | -## ----------- ## | |
| 1686 | - | |
| 1687 | -_ACEOF | |
| 1688 | - | |
| 1689 | - | |
| 1690 | -# Keep a trace of the command line. | |
| 1691 | -# Strip out --no-create and --no-recursion so they do not pile up. | |
| 1692 | -# Strip out --silent because we don't want to record it for future runs. | |
| 1693 | -# Also quote any args containing shell meta-characters. | |
| 1694 | -# Make two passes to allow for proper duplicate-argument suppression. | |
| 1695 | -ac_configure_args= | |
| 1696 | -ac_configure_args0= | |
| 1697 | -ac_configure_args1= | |
| 1698 | -ac_must_keep_next=false | |
| 1699 | -for ac_pass in 1 2 | |
| 1700 | -do | |
| 1701 | - for ac_arg | |
| 1702 | - do | |
| 1703 | - case $ac_arg in | |
| 1704 | - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 1705 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1706 | - | -silent | --silent | --silen | --sile | --sil) | |
| 1707 | - continue ;; | |
| 1708 | - *\'*) | |
| 1709 | - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1710 | - esac | |
| 1711 | - case $ac_pass in | |
| 1712 | - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
| 1713 | - 2) | |
| 1714 | - as_fn_append ac_configure_args1 " '$ac_arg'" | |
| 1715 | - if test $ac_must_keep_next = true; then | |
| 1716 | - ac_must_keep_next=false # Got value, back to normal. | |
| 1717 | - else | |
| 1718 | - case $ac_arg in | |
| 1719 | - *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 1720 | - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 1721 | - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 1722 | - | -with-* | --with-* | -without-* | --without-* | --x) | |
| 1723 | - case "$ac_configure_args0 " in | |
| 1724 | - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 1725 | - esac | |
| 1726 | - ;; | |
| 1727 | - -* ) ac_must_keep_next=true ;; | |
| 1728 | - esac | |
| 1729 | - fi | |
| 1730 | - as_fn_append ac_configure_args " '$ac_arg'" | |
| 1731 | - ;; | |
| 1732 | - esac | |
| 1733 | - done | |
| 1734 | -done | |
| 1735 | -{ ac_configure_args0=; unset ac_configure_args0;} | |
| 1736 | -{ ac_configure_args1=; unset ac_configure_args1;} | |
| 1737 | - | |
| 1738 | -# When interrupted or exit'd, cleanup temporary files, and complete | |
| 1739 | -# config.log. We remove comments because anyway the quotes in there | |
| 1740 | -# would cause problems or look ugly. | |
| 1741 | -# WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 1742 | -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 1743 | -trap 'exit_status=$? | |
| 1744 | - # Save into config.log some information that might help in debugging. | |
| 1745 | - { | |
| 1746 | - echo | |
| 1747 | - | |
| 1748 | - $as_echo "## ---------------- ## | |
| 1749 | -## Cache variables. ## | |
| 1750 | -## ---------------- ##" | |
| 1751 | - echo | |
| 1752 | - # The following way of writing the cache mishandles newlines in values, | |
| 1753 | -( | |
| 1754 | - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
| 1755 | - eval ac_val=\$$ac_var | |
| 1756 | - case $ac_val in #( | |
| 1757 | - *${as_nl}*) | |
| 1758 | - case $ac_var in #( | |
| 1759 | - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 1760 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 1761 | - esac | |
| 1762 | - case $ac_var in #( | |
| 1763 | - _ | IFS | as_nl) ;; #( | |
| 1764 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 1765 | - *) { eval $ac_var=; unset $ac_var;} ;; | |
| 1766 | - esac ;; | |
| 1767 | - esac | |
| 1768 | - done | |
| 1769 | - (set) 2>&1 | | |
| 1770 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 1771 | - *${as_nl}ac_space=\ *) | |
| 1772 | - sed -n \ | |
| 1773 | - "s/'\''/'\''\\\\'\'''\''/g; | |
| 1774 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
| 1775 | - ;; #( | |
| 1776 | - *) | |
| 1777 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 1778 | - ;; | |
| 1779 | - esac | | |
| 1780 | - sort | |
| 1781 | -) | |
| 1782 | - echo | |
| 1783 | - | |
| 1784 | - $as_echo "## ----------------- ## | |
| 1785 | -## Output variables. ## | |
| 1786 | -## ----------------- ##" | |
| 1787 | - echo | |
| 1788 | - for ac_var in $ac_subst_vars | |
| 1789 | - do | |
| 1790 | - eval ac_val=\$$ac_var | |
| 1791 | - case $ac_val in | |
| 1792 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1793 | - esac | |
| 1794 | - $as_echo "$ac_var='\''$ac_val'\''" | |
| 1795 | - done | sort | |
| 1796 | - echo | |
| 1797 | - | |
| 1798 | - if test -n "$ac_subst_files"; then | |
| 1799 | - $as_echo "## ------------------- ## | |
| 1800 | -## File substitutions. ## | |
| 1801 | -## ------------------- ##" | |
| 1802 | - echo | |
| 1803 | - for ac_var in $ac_subst_files | |
| 1804 | - do | |
| 1805 | - eval ac_val=\$$ac_var | |
| 1806 | - case $ac_val in | |
| 1807 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1808 | - esac | |
| 1809 | - $as_echo "$ac_var='\''$ac_val'\''" | |
| 1810 | - done | sort | |
| 1811 | - echo | |
| 1812 | - fi | |
| 1813 | - | |
| 1814 | - if test -s confdefs.h; then | |
| 1815 | - $as_echo "## ----------- ## | |
| 1816 | -## confdefs.h. ## | |
| 1817 | -## ----------- ##" | |
| 1818 | - echo | |
| 1819 | - cat confdefs.h | |
| 1820 | - echo | |
| 1821 | - fi | |
| 1822 | - test "$ac_signal" != 0 && | |
| 1823 | - $as_echo "$as_me: caught signal $ac_signal" | |
| 1824 | - $as_echo "$as_me: exit $exit_status" | |
| 1825 | - } >&5 | |
| 1826 | - rm -f core *.core core.conftest.* && | |
| 1827 | - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 1828 | - exit $exit_status | |
| 1829 | -' 0 | |
| 1830 | -for ac_signal in 1 2 13 15; do | |
| 1831 | - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
| 1832 | -done | |
| 1833 | -ac_signal=0 | |
| 1834 | - | |
| 1835 | -# confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 1836 | -rm -f -r conftest* confdefs.h | |
| 1837 | - | |
| 1838 | -$as_echo "/* confdefs.h */" > confdefs.h | |
| 1839 | - | |
| 1840 | -# Predefined preprocessor variables. | |
| 1841 | - | |
| 1842 | -cat >>confdefs.h <<_ACEOF | |
| 1843 | -#define PACKAGE_NAME "$PACKAGE_NAME" | |
| 1844 | -_ACEOF | |
| 1845 | - | |
| 1846 | -cat >>confdefs.h <<_ACEOF | |
| 1847 | -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 1848 | -_ACEOF | |
| 1849 | - | |
| 1850 | -cat >>confdefs.h <<_ACEOF | |
| 1851 | -#define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 1852 | -_ACEOF | |
| 1853 | - | |
| 1854 | -cat >>confdefs.h <<_ACEOF | |
| 1855 | -#define PACKAGE_STRING "$PACKAGE_STRING" | |
| 1856 | -_ACEOF | |
| 1857 | - | |
| 1858 | -cat >>confdefs.h <<_ACEOF | |
| 1859 | -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 1860 | -_ACEOF | |
| 1861 | - | |
| 1862 | -cat >>confdefs.h <<_ACEOF | |
| 1863 | -#define PACKAGE_URL "$PACKAGE_URL" | |
| 1864 | -_ACEOF | |
| 1865 | - | |
| 1866 | - | |
| 1867 | -# Let the site file select an alternate cache file if it wants to. | |
| 1868 | -# Prefer an explicitly selected file to automatically selected ones. | |
| 1869 | -ac_site_file1=NONE | |
| 1870 | -ac_site_file2=NONE | |
| 1871 | -if test -n "$CONFIG_SITE"; then | |
| 1872 | - # We do not want a PATH search for config.site. | |
| 1873 | - case $CONFIG_SITE in #(( | |
| 1874 | - -*) ac_site_file1=./$CONFIG_SITE;; | |
| 1875 | - */*) ac_site_file1=$CONFIG_SITE;; | |
| 1876 | - *) ac_site_file1=./$CONFIG_SITE;; | |
| 1877 | - esac | |
| 1878 | -elif test "x$prefix" != xNONE; then | |
| 1879 | - ac_site_file1=$prefix/share/config.site | |
| 1880 | - ac_site_file2=$prefix/etc/config.site | |
| 1881 | -else | |
| 1882 | - ac_site_file1=$ac_default_prefix/share/config.site | |
| 1883 | - ac_site_file2=$ac_default_prefix/etc/config.site | |
| 1884 | -fi | |
| 1885 | -for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
| 1886 | -do | |
| 1887 | - test "x$ac_site_file" = xNONE && continue | |
| 1888 | - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
| 1889 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
| 1890 | -$as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 1891 | - sed 's/^/| /' "$ac_site_file" >&5 | |
| 1892 | - . "$ac_site_file" \ | |
| 1893 | - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 1894 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 1895 | -as_fn_error $? "failed to load site script $ac_site_file | |
| 1896 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 1897 | - fi | |
| 1898 | -done | |
| 1899 | - | |
| 1900 | -if test -r "$cache_file"; then | |
| 1901 | - # Some versions of bash will fail to source /dev/null (special files | |
| 1902 | - # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
| 1903 | - if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
| 1904 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
| 1905 | -$as_echo "$as_me: loading cache $cache_file" >&6;} | |
| 1906 | - case $cache_file in | |
| 1907 | - [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 1908 | - *) . "./$cache_file";; | |
| 1909 | - esac | |
| 1910 | - fi | |
| 1911 | -else | |
| 1912 | - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
| 1913 | -$as_echo "$as_me: creating cache $cache_file" >&6;} | |
| 1914 | - >$cache_file | |
| 1915 | -fi | |
| 1916 | - | |
| 1917 | -# Check that the precious variables saved in the cache have kept the same | |
| 1918 | -# value. | |
| 1919 | -ac_cache_corrupted=false | |
| 1920 | -for ac_var in $ac_precious_vars; do | |
| 1921 | - eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 1922 | - eval ac_new_set=\$ac_env_${ac_var}_set | |
| 1923 | - eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 1924 | - eval ac_new_val=\$ac_env_${ac_var}_value | |
| 1925 | - case $ac_old_set,$ac_new_set in | |
| 1926 | - set,) | |
| 1927 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
| 1928 | -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
| 1929 | - ac_cache_corrupted=: ;; | |
| 1930 | - ,set) | |
| 1931 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
| 1932 | -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 1933 | - ac_cache_corrupted=: ;; | |
| 1934 | - ,);; | |
| 1935 | - *) | |
| 1936 | - if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 1937 | - # differences in whitespace do not lead to failure. | |
| 1938 | - ac_old_val_w=`echo x $ac_old_val` | |
| 1939 | - ac_new_val_w=`echo x $ac_new_val` | |
| 1940 | - if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
| 1941 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
| 1942 | -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 1943 | - ac_cache_corrupted=: | |
| 1944 | - else | |
| 1945 | - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
| 1946 | -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
| 1947 | - eval $ac_var=\$ac_old_val | |
| 1948 | - fi | |
| 1949 | - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
| 1950 | -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
| 1951 | - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
| 1952 | -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
| 1953 | - fi;; | |
| 1954 | - esac | |
| 1955 | - # Pass precious variables to config.status. | |
| 1956 | - if test "$ac_new_set" = set; then | |
| 1957 | - case $ac_new_val in | |
| 1958 | - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1959 | - *) ac_arg=$ac_var=$ac_new_val ;; | |
| 1960 | - esac | |
| 1961 | - case " $ac_configure_args " in | |
| 1962 | - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 1963 | - *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
| 1964 | - esac | |
| 1965 | - fi | |
| 1966 | -done | |
| 1967 | -if $ac_cache_corrupted; then | |
| 1968 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 1969 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 1970 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
| 1971 | -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
| 1972 | - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
| 1973 | -fi | |
| 1974 | -## -------------------- ## | |
| 1975 | -## Main body of script. ## | |
| 1976 | -## -------------------- ## | |
| 1977 | - | |
| 1978 | -ac_ext=c | |
| 1979 | -ac_cpp='$CPP $CPPFLAGS' | |
| 1980 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 1981 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 1982 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 1983 | - | |
| 1984 | - | |
| 1985 | -am__api_version='1.11' | |
| 1986 | - | |
| 1987 | -ac_aux_dir= | |
| 1988 | -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
| 1989 | - if test -f "$ac_dir/install-sh"; then | |
| 1990 | - ac_aux_dir=$ac_dir | |
| 1991 | - ac_install_sh="$ac_aux_dir/install-sh -c" | |
| 1992 | - break | |
| 1993 | - elif test -f "$ac_dir/install.sh"; then | |
| 1994 | - ac_aux_dir=$ac_dir | |
| 1995 | - ac_install_sh="$ac_aux_dir/install.sh -c" | |
| 1996 | - break | |
| 1997 | - elif test -f "$ac_dir/shtool"; then | |
| 1998 | - ac_aux_dir=$ac_dir | |
| 1999 | - ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 2000 | - break | |
| 2001 | - fi | |
| 2002 | -done | |
| 2003 | -if test -z "$ac_aux_dir"; then | |
| 2004 | - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
| 2005 | -fi | |
| 2006 | - | |
| 2007 | -# These three variables are undocumented and unsupported, | |
| 2008 | -# and are intended to be withdrawn in a future Autoconf release. | |
| 2009 | -# They can cause serious problems if a builder's source tree is in a directory | |
| 2010 | -# whose full name contains unusual characters. | |
| 2011 | -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
| 2012 | -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
| 2013 | -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
| 2014 | - | |
| 2015 | - | |
| 2016 | -# Find a good install program. We prefer a C program (faster), | |
| 2017 | -# so one script is as good as another. But avoid the broken or | |
| 2018 | -# incompatible versions: | |
| 2019 | -# SysV /etc/install, /usr/sbin/install | |
| 2020 | -# SunOS /usr/etc/install | |
| 2021 | -# IRIX /sbin/install | |
| 2022 | -# AIX /bin/install | |
| 2023 | -# AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 2024 | -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
| 2025 | -# AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
| 2026 | -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
| 2027 | -# OS/2's system install, which has a completely different semantic | |
| 2028 | -# ./install, which can be erroneously created by make from ./install.sh. | |
| 2029 | -# Reject install programs that cannot install multiple files. | |
| 2030 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
| 2031 | -$as_echo_n "checking for a BSD-compatible install... " >&6; } | |
| 2032 | -if test -z "$INSTALL"; then | |
| 2033 | -if test "${ac_cv_path_install+set}" = set; then : | |
| 2034 | - $as_echo_n "(cached) " >&6 | |
| 2035 | -else | |
| 2036 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2037 | -for as_dir in $PATH | |
| 2038 | -do | |
| 2039 | - IFS=$as_save_IFS | |
| 2040 | - test -z "$as_dir" && as_dir=. | |
| 2041 | - # Account for people who put trailing slashes in PATH elements. | |
| 2042 | -case $as_dir/ in #(( | |
| 2043 | - ./ | .// | /[cC]/* | \ | |
| 2044 | - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
| 2045 | - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
| 2046 | - /usr/ucb/* ) ;; | |
| 2047 | - *) | |
| 2048 | - # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 2049 | - # Don't use installbsd from OSF since it installs stuff as root | |
| 2050 | - # by default. | |
| 2051 | - for ac_prog in ginstall scoinst install; do | |
| 2052 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2053 | - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
| 2054 | - if test $ac_prog = install && | |
| 2055 | - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2056 | - # AIX install. It has an incompatible calling convention. | |
| 2057 | - : | |
| 2058 | - elif test $ac_prog = install && | |
| 2059 | - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2060 | - # program-specific install script used by HP pwplus--don't use. | |
| 2061 | - : | |
| 2062 | - else | |
| 2063 | - rm -rf conftest.one conftest.two conftest.dir | |
| 2064 | - echo one > conftest.one | |
| 2065 | - echo two > conftest.two | |
| 2066 | - mkdir conftest.dir | |
| 2067 | - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
| 2068 | - test -s conftest.one && test -s conftest.two && | |
| 2069 | - test -s conftest.dir/conftest.one && | |
| 2070 | - test -s conftest.dir/conftest.two | |
| 2071 | - then | |
| 2072 | - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 2073 | - break 3 | |
| 2074 | - fi | |
| 2075 | - fi | |
| 2076 | - fi | |
| 2077 | - done | |
| 2078 | - done | |
| 2079 | - ;; | |
| 2080 | -esac | |
| 2081 | - | |
| 2082 | - done | |
| 2083 | -IFS=$as_save_IFS | |
| 2084 | - | |
| 2085 | -rm -rf conftest.one conftest.two conftest.dir | |
| 2086 | - | |
| 2087 | -fi | |
| 2088 | - if test "${ac_cv_path_install+set}" = set; then | |
| 2089 | - INSTALL=$ac_cv_path_install | |
| 2090 | - else | |
| 2091 | - # As a last resort, use the slow shell script. Don't cache a | |
| 2092 | - # value for INSTALL within a source directory, because that will | |
| 2093 | - # break other packages using the cache if that directory is | |
| 2094 | - # removed, or if the value is a relative name. | |
| 2095 | - INSTALL=$ac_install_sh | |
| 2096 | - fi | |
| 2097 | -fi | |
| 2098 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
| 2099 | -$as_echo "$INSTALL" >&6; } | |
| 2100 | - | |
| 2101 | -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 2102 | -# It thinks the first close brace ends the variable substitution. | |
| 2103 | -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 2104 | - | |
| 2105 | -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 2106 | - | |
| 2107 | -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 2108 | - | |
| 2109 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | |
| 2110 | -$as_echo_n "checking whether build environment is sane... " >&6; } | |
| 2111 | -# Just in case | |
| 2112 | -sleep 1 | |
| 2113 | -echo timestamp > conftest.file | |
| 2114 | -# Reject unsafe characters in $srcdir or the absolute working directory | |
| 2115 | -# name. Accept space and tab only in the latter. | |
| 2116 | -am_lf=' | |
| 2117 | -' | |
| 2118 | -case `pwd` in | |
| 2119 | - *[\\\"\#\$\&\'\`$am_lf]*) | |
| 2120 | - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; | |
| 2121 | -esac | |
| 2122 | -case $srcdir in | |
| 2123 | - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
| 2124 | - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; | |
| 2125 | -esac | |
| 2126 | - | |
| 2127 | -# Do `set' in a subshell so we don't clobber the current shell's | |
| 2128 | -# arguments. Must try -L first in case configure is actually a | |
| 2129 | -# symlink; some systems play weird games with the mod time of symlinks | |
| 2130 | -# (eg FreeBSD returns the mod time of the symlink's containing | |
| 2131 | -# directory). | |
| 2132 | -if ( | |
| 2133 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
| 2134 | - if test "$*" = "X"; then | |
| 2135 | - # -L didn't work. | |
| 2136 | - set X `ls -t "$srcdir/configure" conftest.file` | |
| 2137 | - fi | |
| 2138 | - rm -f conftest.file | |
| 2139 | - if test "$*" != "X $srcdir/configure conftest.file" \ | |
| 2140 | - && test "$*" != "X conftest.file $srcdir/configure"; then | |
| 2141 | - | |
| 2142 | - # If neither matched, then we have a broken ls. This can happen | |
| 2143 | - # if, for instance, CONFIG_SHELL is bash and it inherits a | |
| 2144 | - # broken ls alias from the environment. This has actually | |
| 2145 | - # happened. Such a system could not be considered "sane". | |
| 2146 | - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
| 2147 | -alias in your environment" "$LINENO" 5 | |
| 2148 | - fi | |
| 2149 | - | |
| 2150 | - test "$2" = conftest.file | |
| 2151 | - ) | |
| 2152 | -then | |
| 2153 | - # Ok. | |
| 2154 | - : | |
| 2155 | -else | |
| 2156 | - as_fn_error $? "newly created file is older than distributed files! | |
| 2157 | -Check your system clock" "$LINENO" 5 | |
| 2158 | -fi | |
| 2159 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2160 | -$as_echo "yes" >&6; } | |
| 2161 | -test "$program_prefix" != NONE && | |
| 2162 | - program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
| 2163 | -# Use a double $ so make ignores it. | |
| 2164 | -test "$program_suffix" != NONE && | |
| 2165 | - program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
| 2166 | -# Double any \ or $. | |
| 2167 | -# By default was `s,x,x', remove it if useless. | |
| 2168 | -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
| 2169 | -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
| 2170 | - | |
| 2171 | -# expand $ac_aux_dir to an absolute path | |
| 2172 | -am_aux_dir=`cd $ac_aux_dir && pwd` | |
| 2173 | - | |
| 2174 | -if test x"${MISSING+set}" != xset; then | |
| 2175 | - case $am_aux_dir in | |
| 2176 | - *\ * | *\ *) | |
| 2177 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
| 2178 | - *) | |
| 2179 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
| 2180 | - esac | |
| 2181 | -fi | |
| 2182 | -# Use eval to expand $SHELL | |
| 2183 | -if eval "$MISSING --run true"; then | |
| 2184 | - am_missing_run="$MISSING --run " | |
| 2185 | -else | |
| 2186 | - am_missing_run= | |
| 2187 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
| 2188 | -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
| 2189 | -fi | |
| 2190 | - | |
| 2191 | -if test x"${install_sh}" != xset; then | |
| 2192 | - case $am_aux_dir in | |
| 2193 | - *\ * | *\ *) | |
| 2194 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
| 2195 | - *) | |
| 2196 | - install_sh="\${SHELL} $am_aux_dir/install-sh" | |
| 2197 | - esac | |
| 2198 | -fi | |
| 2199 | - | |
| 2200 | -# Installed binaries are usually stripped using `strip' when the user | |
| 2201 | -# run `make install-strip'. However `strip' might not be the right | |
| 2202 | -# tool to use in cross-compilation environments, therefore Automake | |
| 2203 | -# will honor the `STRIP' environment variable to overrule this program. | |
| 2204 | -if test "$cross_compiling" != no; then | |
| 2205 | - if test -n "$ac_tool_prefix"; then | |
| 2206 | - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
| 2207 | -set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 2208 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2209 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2210 | -if test "${ac_cv_prog_STRIP+set}" = set; then : | |
| 2211 | - $as_echo_n "(cached) " >&6 | |
| 2212 | -else | |
| 2213 | - if test -n "$STRIP"; then | |
| 2214 | - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 2215 | -else | |
| 2216 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2217 | -for as_dir in $PATH | |
| 2218 | -do | |
| 2219 | - IFS=$as_save_IFS | |
| 2220 | - test -z "$as_dir" && as_dir=. | |
| 2221 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2222 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2223 | - ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 2224 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2225 | - break 2 | |
| 2226 | - fi | |
| 2227 | -done | |
| 2228 | - done | |
| 2229 | -IFS=$as_save_IFS | |
| 2230 | - | |
| 2231 | -fi | |
| 2232 | -fi | |
| 2233 | -STRIP=$ac_cv_prog_STRIP | |
| 2234 | -if test -n "$STRIP"; then | |
| 2235 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 2236 | -$as_echo "$STRIP" >&6; } | |
| 2237 | -else | |
| 2238 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2239 | -$as_echo "no" >&6; } | |
| 2240 | -fi | |
| 2241 | - | |
| 2242 | - | |
| 2243 | -fi | |
| 2244 | -if test -z "$ac_cv_prog_STRIP"; then | |
| 2245 | - ac_ct_STRIP=$STRIP | |
| 2246 | - # Extract the first word of "strip", so it can be a program name with args. | |
| 2247 | -set dummy strip; ac_word=$2 | |
| 2248 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2249 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2250 | -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | |
| 2251 | - $as_echo_n "(cached) " >&6 | |
| 2252 | -else | |
| 2253 | - if test -n "$ac_ct_STRIP"; then | |
| 2254 | - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 2255 | -else | |
| 2256 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2257 | -for as_dir in $PATH | |
| 2258 | -do | |
| 2259 | - IFS=$as_save_IFS | |
| 2260 | - test -z "$as_dir" && as_dir=. | |
| 2261 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2262 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2263 | - ac_cv_prog_ac_ct_STRIP="strip" | |
| 2264 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2265 | - break 2 | |
| 2266 | - fi | |
| 2267 | -done | |
| 2268 | - done | |
| 2269 | -IFS=$as_save_IFS | |
| 2270 | - | |
| 2271 | -fi | |
| 2272 | -fi | |
| 2273 | -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 2274 | -if test -n "$ac_ct_STRIP"; then | |
| 2275 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 2276 | -$as_echo "$ac_ct_STRIP" >&6; } | |
| 2277 | -else | |
| 2278 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2279 | -$as_echo "no" >&6; } | |
| 2280 | -fi | |
| 2281 | - | |
| 2282 | - if test "x$ac_ct_STRIP" = x; then | |
| 2283 | - STRIP=":" | |
| 2284 | - else | |
| 2285 | - case $cross_compiling:$ac_tool_warned in | |
| 2286 | -yes:) | |
| 2287 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2288 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2289 | -ac_tool_warned=yes ;; | |
| 2290 | -esac | |
| 2291 | - STRIP=$ac_ct_STRIP | |
| 2292 | - fi | |
| 2293 | -else | |
| 2294 | - STRIP="$ac_cv_prog_STRIP" | |
| 2295 | -fi | |
| 2296 | - | |
| 2297 | -fi | |
| 2298 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 2299 | - | |
| 2300 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
| 2301 | -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
| 2302 | -if test -z "$MKDIR_P"; then | |
| 2303 | - if test "${ac_cv_path_mkdir+set}" = set; then : | |
| 2304 | - $as_echo_n "(cached) " >&6 | |
| 2305 | -else | |
| 2306 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2307 | -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
| 2308 | -do | |
| 2309 | - IFS=$as_save_IFS | |
| 2310 | - test -z "$as_dir" && as_dir=. | |
| 2311 | - for ac_prog in mkdir gmkdir; do | |
| 2312 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2313 | - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
| 2314 | - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
| 2315 | - 'mkdir (GNU coreutils) '* | \ | |
| 2316 | - 'mkdir (coreutils) '* | \ | |
| 2317 | - 'mkdir (fileutils) '4.1*) | |
| 2318 | - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
| 2319 | - break 3;; | |
| 2320 | - esac | |
| 2321 | - done | |
| 2322 | - done | |
| 2323 | - done | |
| 2324 | -IFS=$as_save_IFS | |
| 2325 | - | |
| 2326 | -fi | |
| 2327 | - | |
| 2328 | - test -d ./--version && rmdir ./--version | |
| 2329 | - if test "${ac_cv_path_mkdir+set}" = set; then | |
| 2330 | - MKDIR_P="$ac_cv_path_mkdir -p" | |
| 2331 | - else | |
| 2332 | - # As a last resort, use the slow shell script. Don't cache a | |
| 2333 | - # value for MKDIR_P within a source directory, because that will | |
| 2334 | - # break other packages using the cache if that directory is | |
| 2335 | - # removed, or if the value is a relative name. | |
| 2336 | - MKDIR_P="$ac_install_sh -d" | |
| 2337 | - fi | |
| 2338 | -fi | |
| 2339 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
| 2340 | -$as_echo "$MKDIR_P" >&6; } | |
| 2341 | - | |
| 2342 | -mkdir_p="$MKDIR_P" | |
| 2343 | -case $mkdir_p in | |
| 2344 | - [\\/$]* | ?:[\\/]*) ;; | |
| 2345 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
| 2346 | -esac | |
| 2347 | - | |
| 2348 | -for ac_prog in gawk mawk nawk awk | |
| 2349 | -do | |
| 2350 | - # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2351 | -set dummy $ac_prog; ac_word=$2 | |
| 2352 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2353 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2354 | -if test "${ac_cv_prog_AWK+set}" = set; then : | |
| 2355 | - $as_echo_n "(cached) " >&6 | |
| 2356 | -else | |
| 2357 | - if test -n "$AWK"; then | |
| 2358 | - ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| 2359 | -else | |
| 2360 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2361 | -for as_dir in $PATH | |
| 2362 | -do | |
| 2363 | - IFS=$as_save_IFS | |
| 2364 | - test -z "$as_dir" && as_dir=. | |
| 2365 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2366 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2367 | - ac_cv_prog_AWK="$ac_prog" | |
| 2368 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2369 | - break 2 | |
| 2370 | - fi | |
| 2371 | -done | |
| 2372 | - done | |
| 2373 | -IFS=$as_save_IFS | |
| 2374 | - | |
| 2375 | -fi | |
| 2376 | -fi | |
| 2377 | -AWK=$ac_cv_prog_AWK | |
| 2378 | -if test -n "$AWK"; then | |
| 2379 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
| 2380 | -$as_echo "$AWK" >&6; } | |
| 2381 | -else | |
| 2382 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2383 | -$as_echo "no" >&6; } | |
| 2384 | -fi | |
| 2385 | - | |
| 2386 | - | |
| 2387 | - test -n "$AWK" && break | |
| 2388 | -done | |
| 2389 | - | |
| 2390 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
| 2391 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
| 2392 | -set x ${MAKE-make} | |
| 2393 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
| 2394 | -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | |
| 2395 | - $as_echo_n "(cached) " >&6 | |
| 2396 | -else | |
| 2397 | - cat >conftest.make <<\_ACEOF | |
| 2398 | -SHELL = /bin/sh | |
| 2399 | -all: | |
| 2400 | - @echo '@@@%%%=$(MAKE)=@@@%%%' | |
| 2401 | -_ACEOF | |
| 2402 | -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
| 2403 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
| 2404 | - *@@@%%%=?*=@@@%%%*) | |
| 2405 | - eval ac_cv_prog_make_${ac_make}_set=yes;; | |
| 2406 | - *) | |
| 2407 | - eval ac_cv_prog_make_${ac_make}_set=no;; | |
| 2408 | -esac | |
| 2409 | -rm -f conftest.make | |
| 2410 | -fi | |
| 2411 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
| 2412 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2413 | -$as_echo "yes" >&6; } | |
| 2414 | - SET_MAKE= | |
| 2415 | -else | |
| 2416 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2417 | -$as_echo "no" >&6; } | |
| 2418 | - SET_MAKE="MAKE=${MAKE-make}" | |
| 2419 | -fi | |
| 2420 | - | |
| 2421 | -rm -rf .tst 2>/dev/null | |
| 2422 | -mkdir .tst 2>/dev/null | |
| 2423 | -if test -d .tst; then | |
| 2424 | - am__leading_dot=. | |
| 2425 | -else | |
| 2426 | - am__leading_dot=_ | |
| 2427 | -fi | |
| 2428 | -rmdir .tst 2>/dev/null | |
| 2429 | - | |
| 2430 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
| 2431 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
| 2432 | - # is not polluted with repeated "-I." | |
| 2433 | - am__isrc=' -I$(srcdir)' | |
| 2434 | - # test to see if srcdir already configured | |
| 2435 | - if test -f $srcdir/config.status; then | |
| 2436 | - as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
| 2437 | - fi | |
| 2438 | -fi | |
| 2439 | - | |
| 2440 | -# test whether we have cygpath | |
| 2441 | -if test -z "$CYGPATH_W"; then | |
| 2442 | - if (cygpath --version) >/dev/null 2>/dev/null; then | |
| 2443 | - CYGPATH_W='cygpath -w' | |
| 2444 | - else | |
| 2445 | - CYGPATH_W=echo | |
| 2446 | - fi | |
| 2447 | -fi | |
| 2448 | - | |
| 2449 | - | |
| 2450 | -# Define the identity of the package. | |
| 2451 | - PACKAGE=dsoextractfw | |
| 2452 | - VERSION=0.6.2 | |
| 2453 | - | |
| 2454 | - | |
| 2455 | -cat >>confdefs.h <<_ACEOF | |
| 2456 | -#define PACKAGE "$PACKAGE" | |
| 2457 | -_ACEOF | |
| 2458 | - | |
| 2459 | - | |
| 2460 | -cat >>confdefs.h <<_ACEOF | |
| 2461 | -#define VERSION "$VERSION" | |
| 2462 | -_ACEOF | |
| 2463 | - | |
| 2464 | -# Some tools Automake needs. | |
| 2465 | - | |
| 2466 | -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
| 2467 | - | |
| 2468 | - | |
| 2469 | -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
| 2470 | - | |
| 2471 | - | |
| 2472 | -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
| 2473 | - | |
| 2474 | - | |
| 2475 | -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
| 2476 | - | |
| 2477 | - | |
| 2478 | -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
| 2479 | - | |
| 2480 | -# We need awk for the "check" target. The system "awk" is bad on | |
| 2481 | -# some platforms. | |
| 2482 | -# Always define AMTAR for backward compatibility. | |
| 2483 | - | |
| 2484 | -AMTAR=${AMTAR-"${am_missing_run}tar"} | |
| 2485 | - | |
| 2486 | -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
| 2487 | - | |
| 2488 | - | |
| 2489 | - | |
| 2490 | - | |
| 2491 | - | |
| 2492 | -ac_ext=c | |
| 2493 | -ac_cpp='$CPP $CPPFLAGS' | |
| 2494 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2495 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2496 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2497 | -if test -n "$ac_tool_prefix"; then | |
| 2498 | - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 2499 | -set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2500 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2501 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2502 | -if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2503 | - $as_echo_n "(cached) " >&6 | |
| 2504 | -else | |
| 2505 | - if test -n "$CC"; then | |
| 2506 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2507 | -else | |
| 2508 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2509 | -for as_dir in $PATH | |
| 2510 | -do | |
| 2511 | - IFS=$as_save_IFS | |
| 2512 | - test -z "$as_dir" && as_dir=. | |
| 2513 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2514 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2515 | - ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2516 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2517 | - break 2 | |
| 2518 | - fi | |
| 2519 | -done | |
| 2520 | - done | |
| 2521 | -IFS=$as_save_IFS | |
| 2522 | - | |
| 2523 | -fi | |
| 2524 | -fi | |
| 2525 | -CC=$ac_cv_prog_CC | |
| 2526 | -if test -n "$CC"; then | |
| 2527 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2528 | -$as_echo "$CC" >&6; } | |
| 2529 | -else | |
| 2530 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2531 | -$as_echo "no" >&6; } | |
| 2532 | -fi | |
| 2533 | - | |
| 2534 | - | |
| 2535 | -fi | |
| 2536 | -if test -z "$ac_cv_prog_CC"; then | |
| 2537 | - ac_ct_CC=$CC | |
| 2538 | - # Extract the first word of "gcc", so it can be a program name with args. | |
| 2539 | -set dummy gcc; ac_word=$2 | |
| 2540 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2541 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2542 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
| 2543 | - $as_echo_n "(cached) " >&6 | |
| 2544 | -else | |
| 2545 | - if test -n "$ac_ct_CC"; then | |
| 2546 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2547 | -else | |
| 2548 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2549 | -for as_dir in $PATH | |
| 2550 | -do | |
| 2551 | - IFS=$as_save_IFS | |
| 2552 | - test -z "$as_dir" && as_dir=. | |
| 2553 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2554 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2555 | - ac_cv_prog_ac_ct_CC="gcc" | |
| 2556 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2557 | - break 2 | |
| 2558 | - fi | |
| 2559 | -done | |
| 2560 | - done | |
| 2561 | -IFS=$as_save_IFS | |
| 2562 | - | |
| 2563 | -fi | |
| 2564 | -fi | |
| 2565 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2566 | -if test -n "$ac_ct_CC"; then | |
| 2567 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2568 | -$as_echo "$ac_ct_CC" >&6; } | |
| 2569 | -else | |
| 2570 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2571 | -$as_echo "no" >&6; } | |
| 2572 | -fi | |
| 2573 | - | |
| 2574 | - if test "x$ac_ct_CC" = x; then | |
| 2575 | - CC="" | |
| 2576 | - else | |
| 2577 | - case $cross_compiling:$ac_tool_warned in | |
| 2578 | -yes:) | |
| 2579 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2580 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2581 | -ac_tool_warned=yes ;; | |
| 2582 | -esac | |
| 2583 | - CC=$ac_ct_CC | |
| 2584 | - fi | |
| 2585 | -else | |
| 2586 | - CC="$ac_cv_prog_CC" | |
| 2587 | -fi | |
| 2588 | - | |
| 2589 | -if test -z "$CC"; then | |
| 2590 | - if test -n "$ac_tool_prefix"; then | |
| 2591 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 2592 | -set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2593 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2594 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2595 | -if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2596 | - $as_echo_n "(cached) " >&6 | |
| 2597 | -else | |
| 2598 | - if test -n "$CC"; then | |
| 2599 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2600 | -else | |
| 2601 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2602 | -for as_dir in $PATH | |
| 2603 | -do | |
| 2604 | - IFS=$as_save_IFS | |
| 2605 | - test -z "$as_dir" && as_dir=. | |
| 2606 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2607 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2608 | - ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2609 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2610 | - break 2 | |
| 2611 | - fi | |
| 2612 | -done | |
| 2613 | - done | |
| 2614 | -IFS=$as_save_IFS | |
| 2615 | - | |
| 2616 | -fi | |
| 2617 | -fi | |
| 2618 | -CC=$ac_cv_prog_CC | |
| 2619 | -if test -n "$CC"; then | |
| 2620 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2621 | -$as_echo "$CC" >&6; } | |
| 2622 | -else | |
| 2623 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2624 | -$as_echo "no" >&6; } | |
| 2625 | -fi | |
| 2626 | - | |
| 2627 | - | |
| 2628 | - fi | |
| 2629 | -fi | |
| 2630 | -if test -z "$CC"; then | |
| 2631 | - # Extract the first word of "cc", so it can be a program name with args. | |
| 2632 | -set dummy cc; ac_word=$2 | |
| 2633 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2634 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2635 | -if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2636 | - $as_echo_n "(cached) " >&6 | |
| 2637 | -else | |
| 2638 | - if test -n "$CC"; then | |
| 2639 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2640 | -else | |
| 2641 | - ac_prog_rejected=no | |
| 2642 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2643 | -for as_dir in $PATH | |
| 2644 | -do | |
| 2645 | - IFS=$as_save_IFS | |
| 2646 | - test -z "$as_dir" && as_dir=. | |
| 2647 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2648 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2649 | - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 2650 | - ac_prog_rejected=yes | |
| 2651 | - continue | |
| 2652 | - fi | |
| 2653 | - ac_cv_prog_CC="cc" | |
| 2654 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2655 | - break 2 | |
| 2656 | - fi | |
| 2657 | -done | |
| 2658 | - done | |
| 2659 | -IFS=$as_save_IFS | |
| 2660 | - | |
| 2661 | -if test $ac_prog_rejected = yes; then | |
| 2662 | - # We found a bogon in the path, so make sure we never use it. | |
| 2663 | - set dummy $ac_cv_prog_CC | |
| 2664 | - shift | |
| 2665 | - if test $# != 0; then | |
| 2666 | - # We chose a different compiler from the bogus one. | |
| 2667 | - # However, it has the same basename, so the bogon will be chosen | |
| 2668 | - # first if we set CC to just the basename; use the full file name. | |
| 2669 | - shift | |
| 2670 | - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 2671 | - fi | |
| 2672 | -fi | |
| 2673 | -fi | |
| 2674 | -fi | |
| 2675 | -CC=$ac_cv_prog_CC | |
| 2676 | -if test -n "$CC"; then | |
| 2677 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2678 | -$as_echo "$CC" >&6; } | |
| 2679 | -else | |
| 2680 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2681 | -$as_echo "no" >&6; } | |
| 2682 | -fi | |
| 2683 | - | |
| 2684 | - | |
| 2685 | -fi | |
| 2686 | -if test -z "$CC"; then | |
| 2687 | - if test -n "$ac_tool_prefix"; then | |
| 2688 | - for ac_prog in cl.exe | |
| 2689 | - do | |
| 2690 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 2691 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2692 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2693 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2694 | -if test "${ac_cv_prog_CC+set}" = set; then : | |
| 2695 | - $as_echo_n "(cached) " >&6 | |
| 2696 | -else | |
| 2697 | - if test -n "$CC"; then | |
| 2698 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2699 | -else | |
| 2700 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2701 | -for as_dir in $PATH | |
| 2702 | -do | |
| 2703 | - IFS=$as_save_IFS | |
| 2704 | - test -z "$as_dir" && as_dir=. | |
| 2705 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2706 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2707 | - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 2708 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2709 | - break 2 | |
| 2710 | - fi | |
| 2711 | -done | |
| 2712 | - done | |
| 2713 | -IFS=$as_save_IFS | |
| 2714 | - | |
| 2715 | -fi | |
| 2716 | -fi | |
| 2717 | -CC=$ac_cv_prog_CC | |
| 2718 | -if test -n "$CC"; then | |
| 2719 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2720 | -$as_echo "$CC" >&6; } | |
| 2721 | -else | |
| 2722 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2723 | -$as_echo "no" >&6; } | |
| 2724 | -fi | |
| 2725 | - | |
| 2726 | - | |
| 2727 | - test -n "$CC" && break | |
| 2728 | - done | |
| 2729 | -fi | |
| 2730 | -if test -z "$CC"; then | |
| 2731 | - ac_ct_CC=$CC | |
| 2732 | - for ac_prog in cl.exe | |
| 2733 | -do | |
| 2734 | - # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2735 | -set dummy $ac_prog; ac_word=$2 | |
| 2736 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2737 | -$as_echo_n "checking for $ac_word... " >&6; } | |
| 2738 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | |
| 2739 | - $as_echo_n "(cached) " >&6 | |
| 2740 | -else | |
| 2741 | - if test -n "$ac_ct_CC"; then | |
| 2742 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2743 | -else | |
| 2744 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2745 | -for as_dir in $PATH | |
| 2746 | -do | |
| 2747 | - IFS=$as_save_IFS | |
| 2748 | - test -z "$as_dir" && as_dir=. | |
| 2749 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2750 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2751 | - ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 2752 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2753 | - break 2 | |
| 2754 | - fi | |
| 2755 | -done | |
| 2756 | - done | |
| 2757 | -IFS=$as_save_IFS | |
| 2758 | - | |
| 2759 | -fi | |
| 2760 | -fi | |
| 2761 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2762 | -if test -n "$ac_ct_CC"; then | |
| 2763 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2764 | -$as_echo "$ac_ct_CC" >&6; } | |
| 2765 | -else | |
| 2766 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2767 | -$as_echo "no" >&6; } | |
| 2768 | -fi | |
| 2769 | - | |
| 2770 | - | |
| 2771 | - test -n "$ac_ct_CC" && break | |
| 2772 | -done | |
| 2773 | - | |
| 2774 | - if test "x$ac_ct_CC" = x; then | |
| 2775 | - CC="" | |
| 2776 | - else | |
| 2777 | - case $cross_compiling:$ac_tool_warned in | |
| 2778 | -yes:) | |
| 2779 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2780 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2781 | -ac_tool_warned=yes ;; | |
| 2782 | -esac | |
| 2783 | - CC=$ac_ct_CC | |
| 2784 | - fi | |
| 2785 | -fi | |
| 2786 | - | |
| 2787 | -fi | |
| 2788 | - | |
| 2789 | - | |
| 2790 | -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2791 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2792 | -as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 2793 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 2794 | - | |
| 2795 | -# Provide some information about the compiler. | |
| 2796 | -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 2797 | -set X $ac_compile | |
| 2798 | -ac_compiler=$2 | |
| 2799 | -for ac_option in --version -v -V -qversion; do | |
| 2800 | - { { ac_try="$ac_compiler $ac_option >&5" | |
| 2801 | -case "(($ac_try" in | |
| 2802 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2803 | - *) ac_try_echo=$ac_try;; | |
| 2804 | -esac | |
| 2805 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2806 | -$as_echo "$ac_try_echo"; } >&5 | |
| 2807 | - (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 2808 | - ac_status=$? | |
| 2809 | - if test -s conftest.err; then | |
| 2810 | - sed '10a\ | |
| 2811 | -... rest of stderr output deleted ... | |
| 2812 | - 10q' conftest.err >conftest.er1 | |
| 2813 | - cat conftest.er1 >&5 | |
| 2814 | - fi | |
| 2815 | - rm -f conftest.er1 conftest.err | |
| 2816 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2817 | - test $ac_status = 0; } | |
| 2818 | -done | |
| 2819 | - | |
| 2820 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2821 | -/* end confdefs.h. */ | |
| 2822 | - | |
| 2823 | -int | |
| 2824 | -main () | |
| 2825 | -{ | |
| 2826 | - | |
| 2827 | - ; | |
| 2828 | - return 0; | |
| 2829 | -} | |
| 2830 | -_ACEOF | |
| 2831 | -ac_clean_files_save=$ac_clean_files | |
| 2832 | -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
| 2833 | -# Try to create an executable without -o first, disregard a.out. | |
| 2834 | -# It will help us diagnose broken compilers, and finding out an intuition | |
| 2835 | -# of exeext. | |
| 2836 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
| 2837 | -$as_echo_n "checking whether the C compiler works... " >&6; } | |
| 2838 | -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 2839 | - | |
| 2840 | -# The possible output files: | |
| 2841 | -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
| 2842 | - | |
| 2843 | -ac_rmfiles= | |
| 2844 | -for ac_file in $ac_files | |
| 2845 | -do | |
| 2846 | - case $ac_file in | |
| 2847 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2848 | - * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 2849 | - esac | |
| 2850 | -done | |
| 2851 | -rm -f $ac_rmfiles | |
| 2852 | - | |
| 2853 | -if { { ac_try="$ac_link_default" | |
| 2854 | -case "(($ac_try" in | |
| 2855 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2856 | - *) ac_try_echo=$ac_try;; | |
| 2857 | -esac | |
| 2858 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2859 | -$as_echo "$ac_try_echo"; } >&5 | |
| 2860 | - (eval "$ac_link_default") 2>&5 | |
| 2861 | - ac_status=$? | |
| 2862 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2863 | - test $ac_status = 0; }; then : | |
| 2864 | - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 2865 | -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 2866 | -# in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 2867 | -# so that the user can short-circuit this test for compilers unknown to | |
| 2868 | -# Autoconf. | |
| 2869 | -for ac_file in $ac_files '' | |
| 2870 | -do | |
| 2871 | - test -f "$ac_file" || continue | |
| 2872 | - case $ac_file in | |
| 2873 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
| 2874 | - ;; | |
| 2875 | - [ab].out ) | |
| 2876 | - # We found the default executable, but exeext='' is most | |
| 2877 | - # certainly right. | |
| 2878 | - break;; | |
| 2879 | - *.* ) | |
| 2880 | - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 2881 | - then :; else | |
| 2882 | - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2883 | - fi | |
| 2884 | - # We set ac_cv_exeext here because the later test for it is not | |
| 2885 | - # safe: cross compilers may not add the suffix if given an `-o' | |
| 2886 | - # argument, so we may need to know it at that point already. | |
| 2887 | - # Even if this section looks crufty: it has the advantage of | |
| 2888 | - # actually working. | |
| 2889 | - break;; | |
| 2890 | - * ) | |
| 2891 | - break;; | |
| 2892 | - esac | |
| 2893 | -done | |
| 2894 | -test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 2895 | - | |
| 2896 | -else | |
| 2897 | - ac_file='' | |
| 2898 | -fi | |
| 2899 | -if test -z "$ac_file"; then : | |
| 2900 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2901 | -$as_echo "no" >&6; } | |
| 2902 | -$as_echo "$as_me: failed program was:" >&5 | |
| 2903 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2904 | - | |
| 2905 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2906 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2907 | -as_fn_error 77 "C compiler cannot create executables | |
| 2908 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 2909 | -else | |
| 2910 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2911 | -$as_echo "yes" >&6; } | |
| 2912 | -fi | |
| 2913 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
| 2914 | -$as_echo_n "checking for C compiler default output file name... " >&6; } | |
| 2915 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 2916 | -$as_echo "$ac_file" >&6; } | |
| 2917 | -ac_exeext=$ac_cv_exeext | |
| 2918 | - | |
| 2919 | -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
| 2920 | -ac_clean_files=$ac_clean_files_save | |
| 2921 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
| 2922 | -$as_echo_n "checking for suffix of executables... " >&6; } | |
| 2923 | -if { { ac_try="$ac_link" | |
| 2924 | -case "(($ac_try" in | |
| 2925 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2926 | - *) ac_try_echo=$ac_try;; | |
| 2927 | -esac | |
| 2928 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2929 | -$as_echo "$ac_try_echo"; } >&5 | |
| 2930 | - (eval "$ac_link") 2>&5 | |
| 2931 | - ac_status=$? | |
| 2932 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2933 | - test $ac_status = 0; }; then : | |
| 2934 | - # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 2935 | -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 2936 | -# work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 2937 | -# `rm'. | |
| 2938 | -for ac_file in conftest.exe conftest conftest.*; do | |
| 2939 | - test -f "$ac_file" || continue | |
| 2940 | - case $ac_file in | |
| 2941 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2942 | - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2943 | - break;; | |
| 2944 | - * ) break;; | |
| 2945 | - esac | |
| 2946 | -done | |
| 2947 | -else | |
| 2948 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2949 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2950 | -as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
| 2951 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 2952 | -fi | |
| 2953 | -rm -f conftest conftest$ac_cv_exeext | |
| 2954 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
| 2955 | -$as_echo "$ac_cv_exeext" >&6; } | |
| 2956 | - | |
| 2957 | -rm -f conftest.$ac_ext | |
| 2958 | -EXEEXT=$ac_cv_exeext | |
| 2959 | -ac_exeext=$EXEEXT | |
| 2960 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2961 | -/* end confdefs.h. */ | |
| 2962 | -#include <stdio.h> | |
| 2963 | -int | |
| 2964 | -main () | |
| 2965 | -{ | |
| 2966 | -FILE *f = fopen ("conftest.out", "w"); | |
| 2967 | - return ferror (f) || fclose (f) != 0; | |
| 2968 | - | |
| 2969 | - ; | |
| 2970 | - return 0; | |
| 2971 | -} | |
| 2972 | -_ACEOF | |
| 2973 | -ac_clean_files="$ac_clean_files conftest.out" | |
| 2974 | -# Check that the compiler produces executables we can run. If not, either | |
| 2975 | -# the compiler is broken, or we cross compile. | |
| 2976 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
| 2977 | -$as_echo_n "checking whether we are cross compiling... " >&6; } | |
| 2978 | -if test "$cross_compiling" != yes; then | |
| 2979 | - { { ac_try="$ac_link" | |
| 2980 | -case "(($ac_try" in | |
| 2981 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2982 | - *) ac_try_echo=$ac_try;; | |
| 2983 | -esac | |
| 2984 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2985 | -$as_echo "$ac_try_echo"; } >&5 | |
| 2986 | - (eval "$ac_link") 2>&5 | |
| 2987 | - ac_status=$? | |
| 2988 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2989 | - test $ac_status = 0; } | |
| 2990 | - if { ac_try='./conftest$ac_cv_exeext' | |
| 2991 | - { { case "(($ac_try" in | |
| 2992 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2993 | - *) ac_try_echo=$ac_try;; | |
| 2994 | -esac | |
| 2995 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2996 | -$as_echo "$ac_try_echo"; } >&5 | |
| 2997 | - (eval "$ac_try") 2>&5 | |
| 2998 | - ac_status=$? | |
| 2999 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3000 | - test $ac_status = 0; }; }; then | |
| 3001 | - cross_compiling=no | |
| 3002 | - else | |
| 3003 | - if test "$cross_compiling" = maybe; then | |
| 3004 | - cross_compiling=yes | |
| 3005 | - else | |
| 3006 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3007 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3008 | -as_fn_error $? "cannot run C compiled programs. | |
| 3009 | -If you meant to cross compile, use \`--host'. | |
| 3010 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 3011 | - fi | |
| 3012 | - fi | |
| 3013 | -fi | |
| 3014 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
| 3015 | -$as_echo "$cross_compiling" >&6; } | |
| 3016 | - | |
| 3017 | -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
| 3018 | -ac_clean_files=$ac_clean_files_save | |
| 3019 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
| 3020 | -$as_echo_n "checking for suffix of object files... " >&6; } | |
| 3021 | -if test "${ac_cv_objext+set}" = set; then : | |
| 3022 | - $as_echo_n "(cached) " >&6 | |
| 3023 | -else | |
| 3024 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3025 | -/* end confdefs.h. */ | |
| 3026 | - | |
| 3027 | -int | |
| 3028 | -main () | |
| 3029 | -{ | |
| 3030 | - | |
| 3031 | - ; | |
| 3032 | - return 0; | |
| 3033 | -} | |
| 3034 | -_ACEOF | |
| 3035 | -rm -f conftest.o conftest.obj | |
| 3036 | -if { { ac_try="$ac_compile" | |
| 3037 | -case "(($ac_try" in | |
| 3038 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3039 | - *) ac_try_echo=$ac_try;; | |
| 3040 | -esac | |
| 3041 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3042 | -$as_echo "$ac_try_echo"; } >&5 | |
| 3043 | - (eval "$ac_compile") 2>&5 | |
| 3044 | - ac_status=$? | |
| 3045 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3046 | - test $ac_status = 0; }; then : | |
| 3047 | - for ac_file in conftest.o conftest.obj conftest.*; do | |
| 3048 | - test -f "$ac_file" || continue; | |
| 3049 | - case $ac_file in | |
| 3050 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
| 3051 | - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 3052 | - break;; | |
| 3053 | - esac | |
| 3054 | -done | |
| 3055 | -else | |
| 3056 | - $as_echo "$as_me: failed program was:" >&5 | |
| 3057 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3058 | - | |
| 3059 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3060 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3061 | -as_fn_error $? "cannot compute suffix of object files: cannot compile | |
| 3062 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 3063 | -fi | |
| 3064 | -rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
| 3065 | -fi | |
| 3066 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
| 3067 | -$as_echo "$ac_cv_objext" >&6; } | |
| 3068 | -OBJEXT=$ac_cv_objext | |
| 3069 | -ac_objext=$OBJEXT | |
| 3070 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
| 3071 | -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 3072 | -if test "${ac_cv_c_compiler_gnu+set}" = set; then : | |
| 3073 | - $as_echo_n "(cached) " >&6 | |
| 3074 | -else | |
| 3075 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3076 | -/* end confdefs.h. */ | |
| 3077 | - | |
| 3078 | -int | |
| 3079 | -main () | |
| 3080 | -{ | |
| 3081 | -#ifndef __GNUC__ | |
| 3082 | - choke me | |
| 3083 | -#endif | |
| 3084 | - | |
| 3085 | - ; | |
| 3086 | - return 0; | |
| 3087 | -} | |
| 3088 | -_ACEOF | |
| 3089 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 3090 | - ac_compiler_gnu=yes | |
| 3091 | -else | |
| 3092 | - ac_compiler_gnu=no | |
| 3093 | -fi | |
| 3094 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3095 | -ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 3096 | - | |
| 3097 | -fi | |
| 3098 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 3099 | -$as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 3100 | -if test $ac_compiler_gnu = yes; then | |
| 3101 | - GCC=yes | |
| 3102 | -else | |
| 3103 | - GCC= | |
| 3104 | -fi | |
| 3105 | -ac_test_CFLAGS=${CFLAGS+set} | |
| 3106 | -ac_save_CFLAGS=$CFLAGS | |
| 3107 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
| 3108 | -$as_echo_n "checking whether $CC accepts -g... " >&6; } | |
| 3109 | -if test "${ac_cv_prog_cc_g+set}" = set; then : | |
| 3110 | - $as_echo_n "(cached) " >&6 | |
| 3111 | -else | |
| 3112 | - ac_save_c_werror_flag=$ac_c_werror_flag | |
| 3113 | - ac_c_werror_flag=yes | |
| 3114 | - ac_cv_prog_cc_g=no | |
| 3115 | - CFLAGS="-g" | |
| 3116 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3117 | -/* end confdefs.h. */ | |
| 3118 | - | |
| 3119 | -int | |
| 3120 | -main () | |
| 3121 | -{ | |
| 3122 | - | |
| 3123 | - ; | |
| 3124 | - return 0; | |
| 3125 | -} | |
| 3126 | -_ACEOF | |
| 3127 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 3128 | - ac_cv_prog_cc_g=yes | |
| 3129 | -else | |
| 3130 | - CFLAGS="" | |
| 3131 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3132 | -/* end confdefs.h. */ | |
| 3133 | - | |
| 3134 | -int | |
| 3135 | -main () | |
| 3136 | -{ | |
| 3137 | - | |
| 3138 | - ; | |
| 3139 | - return 0; | |
| 3140 | -} | |
| 3141 | -_ACEOF | |
| 3142 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 3143 | - | |
| 3144 | -else | |
| 3145 | - ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3146 | - CFLAGS="-g" | |
| 3147 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3148 | -/* end confdefs.h. */ | |
| 3149 | - | |
| 3150 | -int | |
| 3151 | -main () | |
| 3152 | -{ | |
| 3153 | - | |
| 3154 | - ; | |
| 3155 | - return 0; | |
| 3156 | -} | |
| 3157 | -_ACEOF | |
| 3158 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 3159 | - ac_cv_prog_cc_g=yes | |
| 3160 | -fi | |
| 3161 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3162 | -fi | |
| 3163 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3164 | -fi | |
| 3165 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3166 | - ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3167 | -fi | |
| 3168 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 3169 | -$as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 3170 | -if test "$ac_test_CFLAGS" = set; then | |
| 3171 | - CFLAGS=$ac_save_CFLAGS | |
| 3172 | -elif test $ac_cv_prog_cc_g = yes; then | |
| 3173 | - if test "$GCC" = yes; then | |
| 3174 | - CFLAGS="-g -O2" | |
| 3175 | - else | |
| 3176 | - CFLAGS="-g" | |
| 3177 | - fi | |
| 3178 | -else | |
| 3179 | - if test "$GCC" = yes; then | |
| 3180 | - CFLAGS="-O2" | |
| 3181 | - else | |
| 3182 | - CFLAGS= | |
| 3183 | - fi | |
| 3184 | -fi | |
| 3185 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
| 3186 | -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
| 3187 | -if test "${ac_cv_prog_cc_c89+set}" = set; then : | |
| 3188 | - $as_echo_n "(cached) " >&6 | |
| 3189 | -else | |
| 3190 | - ac_cv_prog_cc_c89=no | |
| 3191 | -ac_save_CC=$CC | |
| 3192 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3193 | -/* end confdefs.h. */ | |
| 3194 | -#include <stdarg.h> | |
| 3195 | -#include <stdio.h> | |
| 3196 | -#include <sys/types.h> | |
| 3197 | -#include <sys/stat.h> | |
| 3198 | -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 3199 | -struct buf { int x; }; | |
| 3200 | -FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 3201 | -static char *e (p, i) | |
| 3202 | - char **p; | |
| 3203 | - int i; | |
| 3204 | -{ | |
| 3205 | - return p[i]; | |
| 3206 | -} | |
| 3207 | -static char *f (char * (*g) (char **, int), char **p, ...) | |
| 3208 | -{ | |
| 3209 | - char *s; | |
| 3210 | - va_list v; | |
| 3211 | - va_start (v,p); | |
| 3212 | - s = g (p, va_arg (v,int)); | |
| 3213 | - va_end (v); | |
| 3214 | - return s; | |
| 3215 | -} | |
| 3216 | - | |
| 3217 | -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 3218 | - function prototypes and stuff, but not '\xHH' hex character constants. | |
| 3219 | - These don't provoke an error unfortunately, instead are silently treated | |
| 3220 | - as 'x'. The following induces an error, until -std is added to get | |
| 3221 | - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 3222 | - array size at least. It's necessary to write '\x00'==0 to get something | |
| 3223 | - that's true only with -std. */ | |
| 3224 | -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 3225 | - | |
| 3226 | -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 3227 | - inside strings and character constants. */ | |
| 3228 | -#define FOO(x) 'x' | |
| 3229 | -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 3230 | - | |
| 3231 | -int test (int i, double x); | |
| 3232 | -struct s1 {int (*f) (int a);}; | |
| 3233 | -struct s2 {int (*f) (double a);}; | |
| 3234 | -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| 3235 | -int argc; | |
| 3236 | -char **argv; | |
| 3237 | -int | |
| 3238 | -main () | |
| 3239 | -{ | |
| 3240 | -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 3241 | - ; | |
| 3242 | - return 0; | |
| 3243 | -} | |
| 3244 | -_ACEOF | |
| 3245 | -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 3246 | - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 3247 | -do | |
| 3248 | - CC="$ac_save_CC $ac_arg" | |
| 3249 | - if ac_fn_c_try_compile "$LINENO"; then : | |
| 3250 | - ac_cv_prog_cc_c89=$ac_arg | |
| 3251 | -fi | |
| 3252 | -rm -f core conftest.err conftest.$ac_objext | |
| 3253 | - test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3254 | -done | |
| 3255 | -rm -f conftest.$ac_ext | |
| 3256 | -CC=$ac_save_CC | |
| 3257 | - | |
| 3258 | -fi | |
| 3259 | -# AC_CACHE_VAL | |
| 3260 | -case "x$ac_cv_prog_cc_c89" in | |
| 3261 | - x) | |
| 3262 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 3263 | -$as_echo "none needed" >&6; } ;; | |
| 3264 | - xno) | |
| 3265 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 3266 | -$as_echo "unsupported" >&6; } ;; | |
| 3267 | - *) | |
| 3268 | - CC="$CC $ac_cv_prog_cc_c89" | |
| 3269 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 3270 | -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 3271 | -esac | |
| 3272 | -if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 3273 | - | |
| 3274 | -fi | |
| 3275 | - | |
| 3276 | -ac_ext=c | |
| 3277 | -ac_cpp='$CPP $CPPFLAGS' | |
| 3278 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3279 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3280 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3281 | -DEPDIR="${am__leading_dot}deps" | |
| 3282 | - | |
| 3283 | -ac_config_commands="$ac_config_commands depfiles" | |
| 3284 | - | |
| 3285 | - | |
| 3286 | -am_make=${MAKE-make} | |
| 3287 | -cat > confinc << 'END' | |
| 3288 | -am__doit: | |
| 3289 | - @echo this is the am__doit target | |
| 3290 | -.PHONY: am__doit | |
| 3291 | -END | |
| 3292 | -# If we don't find an include directive, just comment out the code. | |
| 3293 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
| 3294 | -$as_echo_n "checking for style of include used by $am_make... " >&6; } | |
| 3295 | -am__include="#" | |
| 3296 | -am__quote= | |
| 3297 | -_am_result=none | |
| 3298 | -# First try GNU make style include. | |
| 3299 | -echo "include confinc" > confmf | |
| 3300 | -# Ignore all kinds of additional output from `make'. | |
| 3301 | -case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 3302 | -*the\ am__doit\ target*) | |
| 3303 | - am__include=include | |
| 3304 | - am__quote= | |
| 3305 | - _am_result=GNU | |
| 3306 | - ;; | |
| 3307 | -esac | |
| 3308 | -# Now try BSD make style include. | |
| 3309 | -if test "$am__include" = "#"; then | |
| 3310 | - echo '.include "confinc"' > confmf | |
| 3311 | - case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 3312 | - *the\ am__doit\ target*) | |
| 3313 | - am__include=.include | |
| 3314 | - am__quote="\"" | |
| 3315 | - _am_result=BSD | |
| 3316 | - ;; | |
| 3317 | - esac | |
| 3318 | -fi | |
| 3319 | - | |
| 3320 | - | |
| 3321 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
| 3322 | -$as_echo "$_am_result" >&6; } | |
| 3323 | -rm -f confinc confmf | |
| 3324 | - | |
| 3325 | -# Check whether --enable-dependency-tracking was given. | |
| 3326 | -if test "${enable_dependency_tracking+set}" = set; then : | |
| 3327 | - enableval=$enable_dependency_tracking; | |
| 3328 | -fi | |
| 3329 | - | |
| 3330 | -if test "x$enable_dependency_tracking" != xno; then | |
| 3331 | - am_depcomp="$ac_aux_dir/depcomp" | |
| 3332 | - AMDEPBACKSLASH='\' | |
| 3333 | -fi | |
| 3334 | - if test "x$enable_dependency_tracking" != xno; then | |
| 3335 | - AMDEP_TRUE= | |
| 3336 | - AMDEP_FALSE='#' | |
| 3337 | -else | |
| 3338 | - AMDEP_TRUE='#' | |
| 3339 | - AMDEP_FALSE= | |
| 3340 | -fi | |
| 3341 | - | |
| 3342 | - | |
| 3343 | - | |
| 3344 | -depcc="$CC" am_compiler_list= | |
| 3345 | - | |
| 3346 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
| 3347 | -$as_echo_n "checking dependency style of $depcc... " >&6; } | |
| 3348 | -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | |
| 3349 | - $as_echo_n "(cached) " >&6 | |
| 3350 | -else | |
| 3351 | - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
| 3352 | - # We make a subdir and do the tests there. Otherwise we can end up | |
| 3353 | - # making bogus files that we don't know about and never remove. For | |
| 3354 | - # instance it was reported that on HP-UX the gcc test will end up | |
| 3355 | - # making a dummy file named `D' -- because `-MD' means `put the output | |
| 3356 | - # in D'. | |
| 3357 | - mkdir conftest.dir | |
| 3358 | - # Copy depcomp to subdir because otherwise we won't find it if we're | |
| 3359 | - # using a relative directory. | |
| 3360 | - cp "$am_depcomp" conftest.dir | |
| 3361 | - cd conftest.dir | |
| 3362 | - # We will build objects and dependencies in a subdirectory because | |
| 3363 | - # it helps to detect inapplicable dependency modes. For instance | |
| 3364 | - # both Tru64's cc and ICC support -MD to output dependencies as a | |
| 3365 | - # side effect of compilation, but ICC will put the dependencies in | |
| 3366 | - # the current directory while Tru64 will put them in the object | |
| 3367 | - # directory. | |
| 3368 | - mkdir sub | |
| 3369 | - | |
| 3370 | - am_cv_CC_dependencies_compiler_type=none | |
| 3371 | - if test "$am_compiler_list" = ""; then | |
| 3372 | - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
| 3373 | - fi | |
| 3374 | - am__universal=false | |
| 3375 | - case " $depcc " in #( | |
| 3376 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
| 3377 | - esac | |
| 3378 | - | |
| 3379 | - for depmode in $am_compiler_list; do | |
| 3380 | - # Setup a source with many dependencies, because some compilers | |
| 3381 | - # like to wrap large dependency lists on column 80 (with \), and | |
| 3382 | - # we should not choose a depcomp mode which is confused by this. | |
| 3383 | - # | |
| 3384 | - # We need to recreate these files for each test, as the compiler may | |
| 3385 | - # overwrite some of them when testing with obscure command lines. | |
| 3386 | - # This happens at least with the AIX C compiler. | |
| 3387 | - : > sub/conftest.c | |
| 3388 | - for i in 1 2 3 4 5 6; do | |
| 3389 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
| 3390 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
| 3391 | - # Solaris 8's {/usr,}/bin/sh. | |
| 3392 | - touch sub/conftst$i.h | |
| 3393 | - done | |
| 3394 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| 3395 | - | |
| 3396 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
| 3397 | - # mode. It turns out that the SunPro C++ compiler does not properly | |
| 3398 | - # handle `-M -o', and we need to detect this. Also, some Intel | |
| 3399 | - # versions had trouble with output in subdirs | |
| 3400 | - am__obj=sub/conftest.${OBJEXT-o} | |
| 3401 | - am__minus_obj="-o $am__obj" | |
| 3402 | - case $depmode in | |
| 3403 | - gcc) | |
| 3404 | - # This depmode causes a compiler race in universal mode. | |
| 3405 | - test "$am__universal" = false || continue | |
| 3406 | - ;; | |
| 3407 | - nosideeffect) | |
| 3408 | - # after this tag, mechanisms are not by side-effect, so they'll | |
| 3409 | - # only be used when explicitly requested | |
| 3410 | - if test "x$enable_dependency_tracking" = xyes; then | |
| 3411 | - continue | |
| 3412 | - else | |
| 3413 | - break | |
| 3414 | - fi | |
| 3415 | - ;; | |
| 3416 | - msvisualcpp | msvcmsys) | |
| 3417 | - # This compiler won't grok `-c -o', but also, the minuso test has | |
| 3418 | - # not run yet. These depmodes are late enough in the game, and | |
| 3419 | - # so weak that their functioning should not be impacted. | |
| 3420 | - am__obj=conftest.${OBJEXT-o} | |
| 3421 | - am__minus_obj= | |
| 3422 | - ;; | |
| 3423 | - none) break ;; | |
| 3424 | - esac | |
| 3425 | - if depmode=$depmode \ | |
| 3426 | - source=sub/conftest.c object=$am__obj \ | |
| 3427 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
| 3428 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
| 3429 | - >/dev/null 2>conftest.err && | |
| 3430 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3431 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3432 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
| 3433 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
| 3434 | - # icc doesn't choke on unknown options, it will just issue warnings | |
| 3435 | - # or remarks (even with -Werror). So we grep stderr for any message | |
| 3436 | - # that says an option was ignored or not supported. | |
| 3437 | - # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| 3438 | - # icc: Command line warning: ignoring option '-M'; no argument required | |
| 3439 | - # The diagnosis changed in icc 8.0: | |
| 3440 | - # icc: Command line remark: option '-MP' not supported | |
| 3441 | - if (grep 'ignoring option' conftest.err || | |
| 3442 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| 3443 | - am_cv_CC_dependencies_compiler_type=$depmode | |
| 3444 | - break | |
| 3445 | - fi | |
| 3446 | - fi | |
| 3447 | - done | |
| 3448 | - | |
| 3449 | - cd .. | |
| 3450 | - rm -rf conftest.dir | |
| 3451 | -else | |
| 3452 | - am_cv_CC_dependencies_compiler_type=none | |
| 3453 | -fi | |
| 3454 | - | |
| 3455 | -fi | |
| 3456 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
| 3457 | -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
| 3458 | -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
| 3459 | - | |
| 3460 | - if | |
| 3461 | - test "x$enable_dependency_tracking" != xno \ | |
| 3462 | - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
| 3463 | - am__fastdepCC_TRUE= | |
| 3464 | - am__fastdepCC_FALSE='#' | |
| 3465 | -else | |
| 3466 | - am__fastdepCC_TRUE='#' | |
| 3467 | - am__fastdepCC_FALSE= | |
| 3468 | -fi | |
| 3469 | - | |
| 3470 | - | |
| 3471 | - | |
| 3472 | - | |
| 3473 | -ac_ext=c | |
| 3474 | -ac_cpp='$CPP $CPPFLAGS' | |
| 3475 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3476 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3477 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3478 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
| 3479 | -$as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 3480 | -# On Suns, sometimes $CPP names a directory. | |
| 3481 | -if test -n "$CPP" && test -d "$CPP"; then | |
| 3482 | - CPP= | |
| 3483 | -fi | |
| 3484 | -if test -z "$CPP"; then | |
| 3485 | - if test "${ac_cv_prog_CPP+set}" = set; then : | |
| 3486 | - $as_echo_n "(cached) " >&6 | |
| 3487 | -else | |
| 3488 | - # Double quotes because CPP needs to be expanded | |
| 3489 | - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 3490 | - do | |
| 3491 | - ac_preproc_ok=false | |
| 3492 | -for ac_c_preproc_warn_flag in '' yes | |
| 3493 | -do | |
| 3494 | - # Use a header file that comes with gcc, so configuring glibc | |
| 3495 | - # with a fresh cross-compiler works. | |
| 3496 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3497 | - # <limits.h> exists even on freestanding compilers. | |
| 3498 | - # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3499 | - # not just through cpp. "Syntax error" is here to catch this case. | |
| 3500 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3501 | -/* end confdefs.h. */ | |
| 3502 | -#ifdef __STDC__ | |
| 3503 | -# include <limits.h> | |
| 3504 | -#else | |
| 3505 | -# include <assert.h> | |
| 3506 | -#endif | |
| 3507 | - Syntax error | |
| 3508 | -_ACEOF | |
| 3509 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3510 | - | |
| 3511 | -else | |
| 3512 | - # Broken: fails on valid input. | |
| 3513 | -continue | |
| 3514 | -fi | |
| 3515 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3516 | - | |
| 3517 | - # OK, works on sane cases. Now check whether nonexistent headers | |
| 3518 | - # can be detected and how. | |
| 3519 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3520 | -/* end confdefs.h. */ | |
| 3521 | -#include <ac_nonexistent.h> | |
| 3522 | -_ACEOF | |
| 3523 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3524 | - # Broken: success on invalid input. | |
| 3525 | -continue | |
| 3526 | -else | |
| 3527 | - # Passes both tests. | |
| 3528 | -ac_preproc_ok=: | |
| 3529 | -break | |
| 3530 | -fi | |
| 3531 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3532 | - | |
| 3533 | -done | |
| 3534 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3535 | -rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3536 | -if $ac_preproc_ok; then : | |
| 3537 | - break | |
| 3538 | -fi | |
| 3539 | - | |
| 3540 | - done | |
| 3541 | - ac_cv_prog_CPP=$CPP | |
| 3542 | - | |
| 3543 | -fi | |
| 3544 | - CPP=$ac_cv_prog_CPP | |
| 3545 | -else | |
| 3546 | - ac_cv_prog_CPP=$CPP | |
| 3547 | -fi | |
| 3548 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
| 3549 | -$as_echo "$CPP" >&6; } | |
| 3550 | -ac_preproc_ok=false | |
| 3551 | -for ac_c_preproc_warn_flag in '' yes | |
| 3552 | -do | |
| 3553 | - # Use a header file that comes with gcc, so configuring glibc | |
| 3554 | - # with a fresh cross-compiler works. | |
| 3555 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3556 | - # <limits.h> exists even on freestanding compilers. | |
| 3557 | - # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3558 | - # not just through cpp. "Syntax error" is here to catch this case. | |
| 3559 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3560 | -/* end confdefs.h. */ | |
| 3561 | -#ifdef __STDC__ | |
| 3562 | -# include <limits.h> | |
| 3563 | -#else | |
| 3564 | -# include <assert.h> | |
| 3565 | -#endif | |
| 3566 | - Syntax error | |
| 3567 | -_ACEOF | |
| 3568 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3569 | - | |
| 3570 | -else | |
| 3571 | - # Broken: fails on valid input. | |
| 3572 | -continue | |
| 3573 | -fi | |
| 3574 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3575 | - | |
| 3576 | - # OK, works on sane cases. Now check whether nonexistent headers | |
| 3577 | - # can be detected and how. | |
| 3578 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3579 | -/* end confdefs.h. */ | |
| 3580 | -#include <ac_nonexistent.h> | |
| 3581 | -_ACEOF | |
| 3582 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3583 | - # Broken: success on invalid input. | |
| 3584 | -continue | |
| 3585 | -else | |
| 3586 | - # Passes both tests. | |
| 3587 | -ac_preproc_ok=: | |
| 3588 | -break | |
| 3589 | -fi | |
| 3590 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3591 | - | |
| 3592 | -done | |
| 3593 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3594 | -rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3595 | -if $ac_preproc_ok; then : | |
| 3596 | - | |
| 3597 | -else | |
| 3598 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3599 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3600 | -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 3601 | -See \`config.log' for more details" "$LINENO" 5 ; } | |
| 3602 | -fi | |
| 3603 | - | |
| 3604 | -ac_ext=c | |
| 3605 | -ac_cpp='$CPP $CPPFLAGS' | |
| 3606 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3607 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3608 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3609 | - | |
| 3610 | - | |
| 3611 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
| 3612 | -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
| 3613 | -if test "${ac_cv_path_GREP+set}" = set; then : | |
| 3614 | - $as_echo_n "(cached) " >&6 | |
| 3615 | -else | |
| 3616 | - if test -z "$GREP"; then | |
| 3617 | - ac_path_GREP_found=false | |
| 3618 | - # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3619 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3620 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3621 | -do | |
| 3622 | - IFS=$as_save_IFS | |
| 3623 | - test -z "$as_dir" && as_dir=. | |
| 3624 | - for ac_prog in grep ggrep; do | |
| 3625 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3626 | - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3627 | - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
| 3628 | -# Check for GNU ac_path_GREP and select it if it is found. | |
| 3629 | - # Check for GNU $ac_path_GREP | |
| 3630 | -case `"$ac_path_GREP" --version 2>&1` in | |
| 3631 | -*GNU*) | |
| 3632 | - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 3633 | -*) | |
| 3634 | - ac_count=0 | |
| 3635 | - $as_echo_n 0123456789 >"conftest.in" | |
| 3636 | - while : | |
| 3637 | - do | |
| 3638 | - cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3639 | - mv "conftest.tmp" "conftest.in" | |
| 3640 | - cp "conftest.in" "conftest.nl" | |
| 3641 | - $as_echo 'GREP' >> "conftest.nl" | |
| 3642 | - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3643 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3644 | - as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3645 | - if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 3646 | - # Best one so far, save it but keep looking for a better one | |
| 3647 | - ac_cv_path_GREP="$ac_path_GREP" | |
| 3648 | - ac_path_GREP_max=$ac_count | |
| 3649 | - fi | |
| 3650 | - # 10*(2^10) chars as input seems more than enough | |
| 3651 | - test $ac_count -gt 10 && break | |
| 3652 | - done | |
| 3653 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3654 | -esac | |
| 3655 | - | |
| 3656 | - $ac_path_GREP_found && break 3 | |
| 3657 | - done | |
| 3658 | - done | |
| 3659 | - done | |
| 3660 | -IFS=$as_save_IFS | |
| 3661 | - if test -z "$ac_cv_path_GREP"; then | |
| 3662 | - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 3663 | - fi | |
| 3664 | -else | |
| 3665 | - ac_cv_path_GREP=$GREP | |
| 3666 | -fi | |
| 3667 | - | |
| 3668 | -fi | |
| 3669 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
| 3670 | -$as_echo "$ac_cv_path_GREP" >&6; } | |
| 3671 | - GREP="$ac_cv_path_GREP" | |
| 3672 | - | |
| 3673 | - | |
| 3674 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
| 3675 | -$as_echo_n "checking for egrep... " >&6; } | |
| 3676 | -if test "${ac_cv_path_EGREP+set}" = set; then : | |
| 3677 | - $as_echo_n "(cached) " >&6 | |
| 3678 | -else | |
| 3679 | - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 3680 | - then ac_cv_path_EGREP="$GREP -E" | |
| 3681 | - else | |
| 3682 | - if test -z "$EGREP"; then | |
| 3683 | - ac_path_EGREP_found=false | |
| 3684 | - # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3685 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3686 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3687 | -do | |
| 3688 | - IFS=$as_save_IFS | |
| 3689 | - test -z "$as_dir" && as_dir=. | |
| 3690 | - for ac_prog in egrep; do | |
| 3691 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3692 | - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3693 | - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
| 3694 | -# Check for GNU ac_path_EGREP and select it if it is found. | |
| 3695 | - # Check for GNU $ac_path_EGREP | |
| 3696 | -case `"$ac_path_EGREP" --version 2>&1` in | |
| 3697 | -*GNU*) | |
| 3698 | - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 3699 | -*) | |
| 3700 | - ac_count=0 | |
| 3701 | - $as_echo_n 0123456789 >"conftest.in" | |
| 3702 | - while : | |
| 3703 | - do | |
| 3704 | - cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3705 | - mv "conftest.tmp" "conftest.in" | |
| 3706 | - cp "conftest.in" "conftest.nl" | |
| 3707 | - $as_echo 'EGREP' >> "conftest.nl" | |
| 3708 | - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3709 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3710 | - as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3711 | - if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 3712 | - # Best one so far, save it but keep looking for a better one | |
| 3713 | - ac_cv_path_EGREP="$ac_path_EGREP" | |
| 3714 | - ac_path_EGREP_max=$ac_count | |
| 3715 | - fi | |
| 3716 | - # 10*(2^10) chars as input seems more than enough | |
| 3717 | - test $ac_count -gt 10 && break | |
| 3718 | - done | |
| 3719 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3720 | -esac | |
| 3721 | - | |
| 3722 | - $ac_path_EGREP_found && break 3 | |
| 3723 | - done | |
| 3724 | - done | |
| 3725 | - done | |
| 3726 | -IFS=$as_save_IFS | |
| 3727 | - if test -z "$ac_cv_path_EGREP"; then | |
| 3728 | - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 3729 | - fi | |
| 3730 | -else | |
| 3731 | - ac_cv_path_EGREP=$EGREP | |
| 3732 | -fi | |
| 3733 | - | |
| 3734 | - fi | |
| 3735 | -fi | |
| 3736 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
| 3737 | -$as_echo "$ac_cv_path_EGREP" >&6; } | |
| 3738 | - EGREP="$ac_cv_path_EGREP" | |
| 3739 | - | |
| 3740 | - | |
| 3741 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| 3742 | -$as_echo_n "checking for ANSI C header files... " >&6; } | |
| 3743 | -if test "${ac_cv_header_stdc+set}" = set; then : | |
| 3744 | - $as_echo_n "(cached) " >&6 | |
| 3745 | -else | |
| 3746 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3747 | -/* end confdefs.h. */ | |
| 3748 | -#include <stdlib.h> | |
| 3749 | -#include <stdarg.h> | |
| 3750 | -#include <string.h> | |
| 3751 | -#include <float.h> | |
| 3752 | - | |
| 3753 | -int | |
| 3754 | -main () | |
| 3755 | -{ | |
| 3756 | - | |
| 3757 | - ; | |
| 3758 | - return 0; | |
| 3759 | -} | |
| 3760 | -_ACEOF | |
| 3761 | -if ac_fn_c_try_compile "$LINENO"; then : | |
| 3762 | - ac_cv_header_stdc=yes | |
| 3763 | -else | |
| 3764 | - ac_cv_header_stdc=no | |
| 3765 | -fi | |
| 3766 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3767 | - | |
| 3768 | -if test $ac_cv_header_stdc = yes; then | |
| 3769 | - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 3770 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3771 | -/* end confdefs.h. */ | |
| 3772 | -#include <string.h> | |
| 3773 | - | |
| 3774 | -_ACEOF | |
| 3775 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3776 | - $EGREP "memchr" >/dev/null 2>&1; then : | |
| 3777 | - | |
| 3778 | -else | |
| 3779 | - ac_cv_header_stdc=no | |
| 3780 | -fi | |
| 3781 | -rm -f conftest* | |
| 3782 | - | |
| 3783 | -fi | |
| 3784 | - | |
| 3785 | -if test $ac_cv_header_stdc = yes; then | |
| 3786 | - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 3787 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3788 | -/* end confdefs.h. */ | |
| 3789 | -#include <stdlib.h> | |
| 3790 | - | |
| 3791 | -_ACEOF | |
| 3792 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3793 | - $EGREP "free" >/dev/null 2>&1; then : | |
| 3794 | - | |
| 3795 | -else | |
| 3796 | - ac_cv_header_stdc=no | |
| 3797 | -fi | |
| 3798 | -rm -f conftest* | |
| 3799 | - | |
| 3800 | -fi | |
| 3801 | - | |
| 3802 | -if test $ac_cv_header_stdc = yes; then | |
| 3803 | - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 3804 | - if test "$cross_compiling" = yes; then : | |
| 3805 | - : | |
| 3806 | -else | |
| 3807 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3808 | -/* end confdefs.h. */ | |
| 3809 | -#include <ctype.h> | |
| 3810 | -#include <stdlib.h> | |
| 3811 | -#if ((' ' & 0x0FF) == 0x020) | |
| 3812 | -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 3813 | -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 3814 | -#else | |
| 3815 | -# define ISLOWER(c) \ | |
| 3816 | - (('a' <= (c) && (c) <= 'i') \ | |
| 3817 | - || ('j' <= (c) && (c) <= 'r') \ | |
| 3818 | - || ('s' <= (c) && (c) <= 'z')) | |
| 3819 | -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 3820 | -#endif | |
| 3821 | - | |
| 3822 | -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 3823 | -int | |
| 3824 | -main () | |
| 3825 | -{ | |
| 3826 | - int i; | |
| 3827 | - for (i = 0; i < 256; i++) | |
| 3828 | - if (XOR (islower (i), ISLOWER (i)) | |
| 3829 | - || toupper (i) != TOUPPER (i)) | |
| 3830 | - return 2; | |
| 3831 | - return 0; | |
| 3832 | -} | |
| 3833 | -_ACEOF | |
| 3834 | -if ac_fn_c_try_run "$LINENO"; then : | |
| 3835 | - | |
| 3836 | -else | |
| 3837 | - ac_cv_header_stdc=no | |
| 3838 | -fi | |
| 3839 | -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 3840 | - conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 3841 | -fi | |
| 3842 | - | |
| 3843 | -fi | |
| 3844 | -fi | |
| 3845 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| 3846 | -$as_echo "$ac_cv_header_stdc" >&6; } | |
| 3847 | -if test $ac_cv_header_stdc = yes; then | |
| 3848 | - | |
| 3849 | -$as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| 3850 | - | |
| 3851 | -fi | |
| 3852 | - | |
| 3853 | -# On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
| 3854 | -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
| 3855 | - inttypes.h stdint.h unistd.h | |
| 3856 | -do : | |
| 3857 | - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 3858 | -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
| 3859 | -" | |
| 3860 | -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 3861 | - cat >>confdefs.h <<_ACEOF | |
| 3862 | -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 3863 | -_ACEOF | |
| 3864 | - | |
| 3865 | -fi | |
| 3866 | - | |
| 3867 | -done | |
| 3868 | - | |
| 3869 | - | |
| 3870 | -for ac_header in stdio.h malloc.h string.h bfd.h | |
| 3871 | -do : | |
| 3872 | - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 3873 | -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | |
| 3874 | -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 3875 | - cat >>confdefs.h <<_ACEOF | |
| 3876 | -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 3877 | -_ACEOF | |
| 3878 | - | |
| 3879 | -fi | |
| 3880 | - | |
| 3881 | -done | |
| 3882 | - | |
| 3883 | -$as_echo "#define PACKAGE_NAME \"dsoextractfw\"" >>confdefs.h | |
| 3884 | - | |
| 3885 | -ac_config_files="$ac_config_files Makefile" | |
| 3886 | - | |
| 3887 | -cat >confcache <<\_ACEOF | |
| 3888 | -# This file is a shell script that caches the results of configure | |
| 3889 | -# tests run on this system so they can be shared between configure | |
| 3890 | -# scripts and configure runs, see configure's option --config-cache. | |
| 3891 | -# It is not useful on other systems. If it contains results you don't | |
| 3892 | -# want to keep, you may remove or edit it. | |
| 3893 | -# | |
| 3894 | -# config.status only pays attention to the cache file if you give it | |
| 3895 | -# the --recheck option to rerun configure. | |
| 3896 | -# | |
| 3897 | -# `ac_cv_env_foo' variables (set or unset) will be overridden when | |
| 3898 | -# loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 3899 | -# following values. | |
| 3900 | - | |
| 3901 | -_ACEOF | |
| 3902 | - | |
| 3903 | -# The following way of writing the cache mishandles newlines in values, | |
| 3904 | -# but we know of no workaround that is simple, portable, and efficient. | |
| 3905 | -# So, we kill variables containing newlines. | |
| 3906 | -# Ultrix sh set writes to stderr and can't be redirected directly, | |
| 3907 | -# and sets the high bit in the cache file unless we assign to the vars. | |
| 3908 | -( | |
| 3909 | - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
| 3910 | - eval ac_val=\$$ac_var | |
| 3911 | - case $ac_val in #( | |
| 3912 | - *${as_nl}*) | |
| 3913 | - case $ac_var in #( | |
| 3914 | - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 3915 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 3916 | - esac | |
| 3917 | - case $ac_var in #( | |
| 3918 | - _ | IFS | as_nl) ;; #( | |
| 3919 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 3920 | - *) { eval $ac_var=; unset $ac_var;} ;; | |
| 3921 | - esac ;; | |
| 3922 | - esac | |
| 3923 | - done | |
| 3924 | - | |
| 3925 | - (set) 2>&1 | | |
| 3926 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
| 3927 | - *${as_nl}ac_space=\ *) | |
| 3928 | - # `set' does not quote correctly, so add quotes: double-quote | |
| 3929 | - # substitution turns \\\\ into \\, and sed turns \\ into \. | |
| 3930 | - sed -n \ | |
| 3931 | - "s/'/'\\\\''/g; | |
| 3932 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 3933 | - ;; #( | |
| 3934 | - *) | |
| 3935 | - # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 3936 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 3937 | - ;; | |
| 3938 | - esac | | |
| 3939 | - sort | |
| 3940 | -) | | |
| 3941 | - sed ' | |
| 3942 | - /^ac_cv_env_/b end | |
| 3943 | - t clear | |
| 3944 | - :clear | |
| 3945 | - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 3946 | - t end | |
| 3947 | - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 3948 | - :end' >>confcache | |
| 3949 | -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 3950 | - if test -w "$cache_file"; then | |
| 3951 | - test "x$cache_file" != "x/dev/null" && | |
| 3952 | - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
| 3953 | -$as_echo "$as_me: updating cache $cache_file" >&6;} | |
| 3954 | - cat confcache >$cache_file | |
| 3955 | - else | |
| 3956 | - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
| 3957 | -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 3958 | - fi | |
| 3959 | -fi | |
| 3960 | -rm -f confcache | |
| 3961 | - | |
| 3962 | -test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
| 3963 | -# Let make expand exec_prefix. | |
| 3964 | -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
| 3965 | - | |
| 3966 | -# Transform confdefs.h into DEFS. | |
| 3967 | -# Protect against shell expansion while executing Makefile rules. | |
| 3968 | -# Protect against Makefile macro expansion. | |
| 3969 | -# | |
| 3970 | -# If the first sed substitution is executed (which looks for macros that | |
| 3971 | -# take arguments), then branch to the quote section. Otherwise, | |
| 3972 | -# look for a macro that doesn't take arguments. | |
| 3973 | -ac_script=' | |
| 3974 | -:mline | |
| 3975 | -/\\$/{ | |
| 3976 | - N | |
| 3977 | - s,\\\n,, | |
| 3978 | - b mline | |
| 3979 | -} | |
| 3980 | -t clear | |
| 3981 | -:clear | |
| 3982 | -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
| 3983 | -t quote | |
| 3984 | -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | |
| 3985 | -t quote | |
| 3986 | -b any | |
| 3987 | -:quote | |
| 3988 | -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
| 3989 | -s/\[/\\&/g | |
| 3990 | -s/\]/\\&/g | |
| 3991 | -s/\$/$$/g | |
| 3992 | -H | |
| 3993 | -:any | |
| 3994 | -${ | |
| 3995 | - g | |
| 3996 | - s/^\n// | |
| 3997 | - s/\n/ /g | |
| 3998 | - p | |
| 3999 | -} | |
| 4000 | -' | |
| 4001 | -DEFS=`sed -n "$ac_script" confdefs.h` | |
| 4002 | - | |
| 4003 | - | |
| 4004 | -ac_libobjs= | |
| 4005 | -ac_ltlibobjs= | |
| 4006 | -U= | |
| 4007 | -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 4008 | - # 1. Remove the extension, and $U if already installed. | |
| 4009 | - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
| 4010 | - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
| 4011 | - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
| 4012 | - # will be set to the directory where LIBOBJS objects are built. | |
| 4013 | - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 4014 | - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 4015 | -done | |
| 4016 | -LIBOBJS=$ac_libobjs | |
| 4017 | - | |
| 4018 | -LTLIBOBJS=$ac_ltlibobjs | |
| 4019 | - | |
| 4020 | - | |
| 4021 | - if test -n "$EXEEXT"; then | |
| 4022 | - am__EXEEXT_TRUE= | |
| 4023 | - am__EXEEXT_FALSE='#' | |
| 4024 | -else | |
| 4025 | - am__EXEEXT_TRUE='#' | |
| 4026 | - am__EXEEXT_FALSE= | |
| 4027 | -fi | |
| 4028 | - | |
| 4029 | -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
| 4030 | - as_fn_error $? "conditional \"AMDEP\" was never defined. | |
| 4031 | -Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 4032 | -fi | |
| 4033 | -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
| 4034 | - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
| 4035 | -Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 4036 | -fi | |
| 4037 | - | |
| 4038 | -: ${CONFIG_STATUS=./config.status} | |
| 4039 | -ac_write_fail=0 | |
| 4040 | -ac_clean_files_save=$ac_clean_files | |
| 4041 | -ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 4042 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
| 4043 | -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 4044 | -as_write_fail=0 | |
| 4045 | -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
| 4046 | -#! $SHELL | |
| 4047 | -# Generated by $as_me. | |
| 4048 | -# Run this file to recreate the current configuration. | |
| 4049 | -# Compiler output produced by configure, useful for debugging | |
| 4050 | -# configure, is in config.log if it exists. | |
| 4051 | - | |
| 4052 | -debug=false | |
| 4053 | -ac_cs_recheck=false | |
| 4054 | -ac_cs_silent=false | |
| 4055 | - | |
| 4056 | -SHELL=\${CONFIG_SHELL-$SHELL} | |
| 4057 | -export SHELL | |
| 4058 | -_ASEOF | |
| 4059 | -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
| 4060 | -## -------------------- ## | |
| 4061 | -## M4sh Initialization. ## | |
| 4062 | -## -------------------- ## | |
| 4063 | - | |
| 4064 | -# Be more Bourne compatible | |
| 4065 | -DUALCASE=1; export DUALCASE # for MKS sh | |
| 4066 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 4067 | - emulate sh | |
| 4068 | - NULLCMD=: | |
| 4069 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 4070 | - # is contrary to our usage. Disable this feature. | |
| 4071 | - alias -g '${1+"$@"}'='"$@"' | |
| 4072 | - setopt NO_GLOB_SUBST | |
| 4073 | -else | |
| 4074 | - case `(set -o) 2>/dev/null` in #( | |
| 4075 | - *posix*) : | |
| 4076 | - set -o posix ;; #( | |
| 4077 | - *) : | |
| 4078 | - ;; | |
| 4079 | -esac | |
| 4080 | -fi | |
| 4081 | - | |
| 4082 | - | |
| 4083 | -as_nl=' | |
| 4084 | -' | |
| 4085 | -export as_nl | |
| 4086 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 4087 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 4088 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 4089 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 4090 | -# Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 4091 | -# but without wasting forks for bash or zsh. | |
| 4092 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 4093 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 4094 | - as_echo='print -r --' | |
| 4095 | - as_echo_n='print -rn --' | |
| 4096 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 4097 | - as_echo='printf %s\n' | |
| 4098 | - as_echo_n='printf %s' | |
| 4099 | -else | |
| 4100 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 4101 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 4102 | - as_echo_n='/usr/ucb/echo -n' | |
| 4103 | - else | |
| 4104 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 4105 | - as_echo_n_body='eval | |
| 4106 | - arg=$1; | |
| 4107 | - case $arg in #( | |
| 4108 | - *"$as_nl"*) | |
| 4109 | - expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 4110 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 4111 | - esac; | |
| 4112 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 4113 | - ' | |
| 4114 | - export as_echo_n_body | |
| 4115 | - as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 4116 | - fi | |
| 4117 | - export as_echo_body | |
| 4118 | - as_echo='sh -c $as_echo_body as_echo' | |
| 4119 | -fi | |
| 4120 | - | |
| 4121 | -# The user is always right. | |
| 4122 | -if test "${PATH_SEPARATOR+set}" != set; then | |
| 4123 | - PATH_SEPARATOR=: | |
| 4124 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 4125 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 4126 | - PATH_SEPARATOR=';' | |
| 4127 | - } | |
| 4128 | -fi | |
| 4129 | - | |
| 4130 | - | |
| 4131 | -# IFS | |
| 4132 | -# We need space, tab and new line, in precisely that order. Quoting is | |
| 4133 | -# there to prevent editors from complaining about space-tab. | |
| 4134 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 4135 | -# splitting by setting IFS to empty value.) | |
| 4136 | -IFS=" "" $as_nl" | |
| 4137 | - | |
| 4138 | -# Find who we are. Look in the path if we contain no directory separator. | |
| 4139 | -case $0 in #(( | |
| 4140 | - *[\\/]* ) as_myself=$0 ;; | |
| 4141 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4142 | -for as_dir in $PATH | |
| 4143 | -do | |
| 4144 | - IFS=$as_save_IFS | |
| 4145 | - test -z "$as_dir" && as_dir=. | |
| 4146 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 4147 | - done | |
| 4148 | -IFS=$as_save_IFS | |
| 4149 | - | |
| 4150 | - ;; | |
| 4151 | -esac | |
| 4152 | -# We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 4153 | -# in which case we are not to be found in the path. | |
| 4154 | -if test "x$as_myself" = x; then | |
| 4155 | - as_myself=$0 | |
| 4156 | -fi | |
| 4157 | -if test ! -f "$as_myself"; then | |
| 4158 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 4159 | - exit 1 | |
| 4160 | -fi | |
| 4161 | - | |
| 4162 | -# Unset variables that we do not need and which cause bugs (e.g. in | |
| 4163 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 4164 | -# suppresses any "Segmentation fault" message there. '((' could | |
| 4165 | -# trigger a bug in pdksh 5.2.14. | |
| 4166 | -for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 4167 | -do eval test x\${$as_var+set} = xset \ | |
| 4168 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 4169 | -done | |
| 4170 | -PS1='$ ' | |
| 4171 | -PS2='> ' | |
| 4172 | -PS4='+ ' | |
| 4173 | - | |
| 4174 | -# NLS nuisances. | |
| 4175 | -LC_ALL=C | |
| 4176 | -export LC_ALL | |
| 4177 | -LANGUAGE=C | |
| 4178 | -export LANGUAGE | |
| 4179 | - | |
| 4180 | -# CDPATH. | |
| 4181 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 4182 | - | |
| 4183 | - | |
| 4184 | -# as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 4185 | -# ---------------------------------------- | |
| 4186 | -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 4187 | -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 4188 | -# script with STATUS, using 1 if that was 0. | |
| 4189 | -as_fn_error () | |
| 4190 | -{ | |
| 4191 | - as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 4192 | - if test "$4"; then | |
| 4193 | - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 4194 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 4195 | - fi | |
| 4196 | - $as_echo "$as_me: error: $2" >&2 | |
| 4197 | - as_fn_exit $as_status | |
| 4198 | -} # as_fn_error | |
| 4199 | - | |
| 4200 | - | |
| 4201 | -# as_fn_set_status STATUS | |
| 4202 | -# ----------------------- | |
| 4203 | -# Set $? to STATUS, without forking. | |
| 4204 | -as_fn_set_status () | |
| 4205 | -{ | |
| 4206 | - return $1 | |
| 4207 | -} # as_fn_set_status | |
| 4208 | - | |
| 4209 | -# as_fn_exit STATUS | |
| 4210 | -# ----------------- | |
| 4211 | -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 4212 | -as_fn_exit () | |
| 4213 | -{ | |
| 4214 | - set +e | |
| 4215 | - as_fn_set_status $1 | |
| 4216 | - exit $1 | |
| 4217 | -} # as_fn_exit | |
| 4218 | - | |
| 4219 | -# as_fn_unset VAR | |
| 4220 | -# --------------- | |
| 4221 | -# Portably unset VAR. | |
| 4222 | -as_fn_unset () | |
| 4223 | -{ | |
| 4224 | - { eval $1=; unset $1;} | |
| 4225 | -} | |
| 4226 | -as_unset=as_fn_unset | |
| 4227 | -# as_fn_append VAR VALUE | |
| 4228 | -# ---------------------- | |
| 4229 | -# Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 4230 | -# advantage of any shell optimizations that allow amortized linear growth over | |
| 4231 | -# repeated appends, instead of the typical quadratic growth present in naive | |
| 4232 | -# implementations. | |
| 4233 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 4234 | - eval 'as_fn_append () | |
| 4235 | - { | |
| 4236 | - eval $1+=\$2 | |
| 4237 | - }' | |
| 4238 | -else | |
| 4239 | - as_fn_append () | |
| 4240 | - { | |
| 4241 | - eval $1=\$$1\$2 | |
| 4242 | - } | |
| 4243 | -fi # as_fn_append | |
| 4244 | - | |
| 4245 | -# as_fn_arith ARG... | |
| 4246 | -# ------------------ | |
| 4247 | -# Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 4248 | -# global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 4249 | -# must be portable across $(()) and expr. | |
| 4250 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 4251 | - eval 'as_fn_arith () | |
| 4252 | - { | |
| 4253 | - as_val=$(( $* )) | |
| 4254 | - }' | |
| 4255 | -else | |
| 4256 | - as_fn_arith () | |
| 4257 | - { | |
| 4258 | - as_val=`expr "$@" || test $? -eq 1` | |
| 4259 | - } | |
| 4260 | -fi # as_fn_arith | |
| 4261 | - | |
| 4262 | - | |
| 4263 | -if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 4264 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 4265 | - as_expr=expr | |
| 4266 | -else | |
| 4267 | - as_expr=false | |
| 4268 | -fi | |
| 4269 | - | |
| 4270 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 4271 | - as_basename=basename | |
| 4272 | -else | |
| 4273 | - as_basename=false | |
| 4274 | -fi | |
| 4275 | - | |
| 4276 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 4277 | - as_dirname=dirname | |
| 4278 | -else | |
| 4279 | - as_dirname=false | |
| 4280 | -fi | |
| 4281 | - | |
| 4282 | -as_me=`$as_basename -- "$0" || | |
| 4283 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 4284 | - X"$0" : 'X\(//\)$' \| \ | |
| 4285 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 4286 | -$as_echo X/"$0" | | |
| 4287 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 4288 | - s//\1/ | |
| 4289 | - q | |
| 4290 | - } | |
| 4291 | - /^X\/\(\/\/\)$/{ | |
| 4292 | - s//\1/ | |
| 4293 | - q | |
| 4294 | - } | |
| 4295 | - /^X\/\(\/\).*/{ | |
| 4296 | - s//\1/ | |
| 4297 | - q | |
| 4298 | - } | |
| 4299 | - s/.*/./; q'` | |
| 4300 | - | |
| 4301 | -# Avoid depending upon Character Ranges. | |
| 4302 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 4303 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 4304 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 4305 | -as_cr_digits='0123456789' | |
| 4306 | -as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 4307 | - | |
| 4308 | -ECHO_C= ECHO_N= ECHO_T= | |
| 4309 | -case `echo -n x` in #((((( | |
| 4310 | --n*) | |
| 4311 | - case `echo 'xy\c'` in | |
| 4312 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 4313 | - xy) ECHO_C='\c';; | |
| 4314 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 4315 | - ECHO_T=' ';; | |
| 4316 | - esac;; | |
| 4317 | -*) | |
| 4318 | - ECHO_N='-n';; | |
| 4319 | -esac | |
| 4320 | - | |
| 4321 | -rm -f conf$$ conf$$.exe conf$$.file | |
| 4322 | -if test -d conf$$.dir; then | |
| 4323 | - rm -f conf$$.dir/conf$$.file | |
| 4324 | -else | |
| 4325 | - rm -f conf$$.dir | |
| 4326 | - mkdir conf$$.dir 2>/dev/null | |
| 4327 | -fi | |
| 4328 | -if (echo >conf$$.file) 2>/dev/null; then | |
| 4329 | - if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 4330 | - as_ln_s='ln -s' | |
| 4331 | - # ... but there are two gotchas: | |
| 4332 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 4333 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 4334 | - # In both cases, we have to default to `cp -p'. | |
| 4335 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 4336 | - as_ln_s='cp -p' | |
| 4337 | - elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 4338 | - as_ln_s=ln | |
| 4339 | - else | |
| 4340 | - as_ln_s='cp -p' | |
| 4341 | - fi | |
| 4342 | -else | |
| 4343 | - as_ln_s='cp -p' | |
| 4344 | -fi | |
| 4345 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 4346 | -rmdir conf$$.dir 2>/dev/null | |
| 4347 | - | |
| 4348 | - | |
| 4349 | -# as_fn_mkdir_p | |
| 4350 | -# ------------- | |
| 4351 | -# Create "$as_dir" as a directory, including parents if necessary. | |
| 4352 | -as_fn_mkdir_p () | |
| 4353 | -{ | |
| 4354 | - | |
| 4355 | - case $as_dir in #( | |
| 4356 | - -*) as_dir=./$as_dir;; | |
| 4357 | - esac | |
| 4358 | - test -d "$as_dir" || eval $as_mkdir_p || { | |
| 4359 | - as_dirs= | |
| 4360 | - while :; do | |
| 4361 | - case $as_dir in #( | |
| 4362 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 4363 | - *) as_qdir=$as_dir;; | |
| 4364 | - esac | |
| 4365 | - as_dirs="'$as_qdir' $as_dirs" | |
| 4366 | - as_dir=`$as_dirname -- "$as_dir" || | |
| 4367 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 4368 | - X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 4369 | - X"$as_dir" : 'X\(//\)$' \| \ | |
| 4370 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 4371 | -$as_echo X"$as_dir" | | |
| 4372 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 4373 | - s//\1/ | |
| 4374 | - q | |
| 4375 | - } | |
| 4376 | - /^X\(\/\/\)[^/].*/{ | |
| 4377 | - s//\1/ | |
| 4378 | - q | |
| 4379 | - } | |
| 4380 | - /^X\(\/\/\)$/{ | |
| 4381 | - s//\1/ | |
| 4382 | - q | |
| 4383 | - } | |
| 4384 | - /^X\(\/\).*/{ | |
| 4385 | - s//\1/ | |
| 4386 | - q | |
| 4387 | - } | |
| 4388 | - s/.*/./; q'` | |
| 4389 | - test -d "$as_dir" && break | |
| 4390 | - done | |
| 4391 | - test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 4392 | - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 4393 | - | |
| 4394 | - | |
| 4395 | -} # as_fn_mkdir_p | |
| 4396 | -if mkdir -p . 2>/dev/null; then | |
| 4397 | - as_mkdir_p='mkdir -p "$as_dir"' | |
| 4398 | -else | |
| 4399 | - test -d ./-p && rmdir ./-p | |
| 4400 | - as_mkdir_p=false | |
| 4401 | -fi | |
| 4402 | - | |
| 4403 | -if test -x / >/dev/null 2>&1; then | |
| 4404 | - as_test_x='test -x' | |
| 4405 | -else | |
| 4406 | - if ls -dL / >/dev/null 2>&1; then | |
| 4407 | - as_ls_L_option=L | |
| 4408 | - else | |
| 4409 | - as_ls_L_option= | |
| 4410 | - fi | |
| 4411 | - as_test_x=' | |
| 4412 | - eval sh -c '\'' | |
| 4413 | - if test -d "$1"; then | |
| 4414 | - test -d "$1/."; | |
| 4415 | - else | |
| 4416 | - case $1 in #( | |
| 4417 | - -*)set "./$1";; | |
| 4418 | - esac; | |
| 4419 | - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| 4420 | - ???[sx]*):;;*)false;;esac;fi | |
| 4421 | - '\'' sh | |
| 4422 | - ' | |
| 4423 | -fi | |
| 4424 | -as_executable_p=$as_test_x | |
| 4425 | - | |
| 4426 | -# Sed expression to map a string onto a valid CPP name. | |
| 4427 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 4428 | - | |
| 4429 | -# Sed expression to map a string onto a valid variable name. | |
| 4430 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 4431 | - | |
| 4432 | - | |
| 4433 | -exec 6>&1 | |
| 4434 | -## ----------------------------------- ## | |
| 4435 | -## Main body of $CONFIG_STATUS script. ## | |
| 4436 | -## ----------------------------------- ## | |
| 4437 | -_ASEOF | |
| 4438 | -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
| 4439 | - | |
| 4440 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4441 | -# Save the log message, to keep $0 and so on meaningful, and to | |
| 4442 | -# report actual input values of CONFIG_FILES etc. instead of their | |
| 4443 | -# values after options handling. | |
| 4444 | -ac_log=" | |
| 4445 | -This file was extended by $as_me, which was | |
| 4446 | -generated by GNU Autoconf 2.67. Invocation command line was | |
| 4447 | - | |
| 4448 | - CONFIG_FILES = $CONFIG_FILES | |
| 4449 | - CONFIG_HEADERS = $CONFIG_HEADERS | |
| 4450 | - CONFIG_LINKS = $CONFIG_LINKS | |
| 4451 | - CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 4452 | - $ $0 $@ | |
| 4453 | - | |
| 4454 | -on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 4455 | -" | |
| 4456 | - | |
| 4457 | -_ACEOF | |
| 4458 | - | |
| 4459 | -case $ac_config_files in *" | |
| 4460 | -"*) set x $ac_config_files; shift; ac_config_files=$*;; | |
| 4461 | -esac | |
| 4462 | - | |
| 4463 | - | |
| 4464 | - | |
| 4465 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4466 | -# Files that config.status was made for. | |
| 4467 | -config_files="$ac_config_files" | |
| 4468 | -config_commands="$ac_config_commands" | |
| 4469 | - | |
| 4470 | -_ACEOF | |
| 4471 | - | |
| 4472 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4473 | -ac_cs_usage="\ | |
| 4474 | -\`$as_me' instantiates files and other configuration actions | |
| 4475 | -from templates according to the current configuration. Unless the files | |
| 4476 | -and actions are specified as TAGs, all are instantiated by default. | |
| 4477 | - | |
| 4478 | -Usage: $0 [OPTION]... [TAG]... | |
| 4479 | - | |
| 4480 | - -h, --help print this help, then exit | |
| 4481 | - -V, --version print version number and configuration settings, then exit | |
| 4482 | - --config print configuration, then exit | |
| 4483 | - -q, --quiet, --silent | |
| 4484 | - do not print progress messages | |
| 4485 | - -d, --debug don't remove temporary files | |
| 4486 | - --recheck update $as_me by reconfiguring in the same conditions | |
| 4487 | - --file=FILE[:TEMPLATE] | |
| 4488 | - instantiate the configuration file FILE | |
| 4489 | - | |
| 4490 | -Configuration files: | |
| 4491 | -$config_files | |
| 4492 | - | |
| 4493 | -Configuration commands: | |
| 4494 | -$config_commands | |
| 4495 | - | |
| 4496 | -Report bugs to the package provider." | |
| 4497 | - | |
| 4498 | -_ACEOF | |
| 4499 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4500 | -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
| 4501 | -ac_cs_version="\\ | |
| 4502 | -config.status | |
| 4503 | -configured by $0, generated by GNU Autoconf 2.67, | |
| 4504 | - with options \\"\$ac_cs_config\\" | |
| 4505 | - | |
| 4506 | -Copyright (C) 2010 Free Software Foundation, Inc. | |
| 4507 | -This config.status script is free software; the Free Software Foundation | |
| 4508 | -gives unlimited permission to copy, distribute and modify it." | |
| 4509 | - | |
| 4510 | -ac_pwd='$ac_pwd' | |
| 4511 | -srcdir='$srcdir' | |
| 4512 | -INSTALL='$INSTALL' | |
| 4513 | -MKDIR_P='$MKDIR_P' | |
| 4514 | -AWK='$AWK' | |
| 4515 | -test -n "\$AWK" || AWK=awk | |
| 4516 | -_ACEOF | |
| 4517 | - | |
| 4518 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4519 | -# The default lists apply if the user does not specify any file. | |
| 4520 | -ac_need_defaults=: | |
| 4521 | -while test $# != 0 | |
| 4522 | -do | |
| 4523 | - case $1 in | |
| 4524 | - --*=?*) | |
| 4525 | - ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 4526 | - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 4527 | - ac_shift=: | |
| 4528 | - ;; | |
| 4529 | - --*=) | |
| 4530 | - ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 4531 | - ac_optarg= | |
| 4532 | - ac_shift=: | |
| 4533 | - ;; | |
| 4534 | - *) | |
| 4535 | - ac_option=$1 | |
| 4536 | - ac_optarg=$2 | |
| 4537 | - ac_shift=shift | |
| 4538 | - ;; | |
| 4539 | - esac | |
| 4540 | - | |
| 4541 | - case $ac_option in | |
| 4542 | - # Handling of the options. | |
| 4543 | - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 4544 | - ac_cs_recheck=: ;; | |
| 4545 | - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 4546 | - $as_echo "$ac_cs_version"; exit ;; | |
| 4547 | - --config | --confi | --conf | --con | --co | --c ) | |
| 4548 | - $as_echo "$ac_cs_config"; exit ;; | |
| 4549 | - --debug | --debu | --deb | --de | --d | -d ) | |
| 4550 | - debug=: ;; | |
| 4551 | - --file | --fil | --fi | --f ) | |
| 4552 | - $ac_shift | |
| 4553 | - case $ac_optarg in | |
| 4554 | - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 4555 | - '') as_fn_error $? "missing file argument" ;; | |
| 4556 | - esac | |
| 4557 | - as_fn_append CONFIG_FILES " '$ac_optarg'" | |
| 4558 | - ac_need_defaults=false;; | |
| 4559 | - --he | --h | --help | --hel | -h ) | |
| 4560 | - $as_echo "$ac_cs_usage"; exit ;; | |
| 4561 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 4562 | - | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 4563 | - ac_cs_silent=: ;; | |
| 4564 | - | |
| 4565 | - # This is an error. | |
| 4566 | - -*) as_fn_error $? "unrecognized option: \`$1' | |
| 4567 | -Try \`$0 --help' for more information." ;; | |
| 4568 | - | |
| 4569 | - *) as_fn_append ac_config_targets " $1" | |
| 4570 | - ac_need_defaults=false ;; | |
| 4571 | - | |
| 4572 | - esac | |
| 4573 | - shift | |
| 4574 | -done | |
| 4575 | - | |
| 4576 | -ac_configure_extra_args= | |
| 4577 | - | |
| 4578 | -if $ac_cs_silent; then | |
| 4579 | - exec 6>/dev/null | |
| 4580 | - ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 4581 | -fi | |
| 4582 | - | |
| 4583 | -_ACEOF | |
| 4584 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4585 | -if \$ac_cs_recheck; then | |
| 4586 | - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
| 4587 | - shift | |
| 4588 | - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
| 4589 | - CONFIG_SHELL='$SHELL' | |
| 4590 | - export CONFIG_SHELL | |
| 4591 | - exec "\$@" | |
| 4592 | -fi | |
| 4593 | - | |
| 4594 | -_ACEOF | |
| 4595 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4596 | -exec 5>>config.log | |
| 4597 | -{ | |
| 4598 | - echo | |
| 4599 | - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 4600 | -## Running $as_me. ## | |
| 4601 | -_ASBOX | |
| 4602 | - $as_echo "$ac_log" | |
| 4603 | -} >&5 | |
| 4604 | - | |
| 4605 | -_ACEOF | |
| 4606 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4607 | -# | |
| 4608 | -# INIT-COMMANDS | |
| 4609 | -# | |
| 4610 | -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
| 4611 | - | |
| 4612 | -_ACEOF | |
| 4613 | - | |
| 4614 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4615 | - | |
| 4616 | -# Handling of arguments. | |
| 4617 | -for ac_config_target in $ac_config_targets | |
| 4618 | -do | |
| 4619 | - case $ac_config_target in | |
| 4620 | - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
| 4621 | - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
| 4622 | - | |
| 4623 | - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; | |
| 4624 | - esac | |
| 4625 | -done | |
| 4626 | - | |
| 4627 | - | |
| 4628 | -# If the user did not use the arguments to specify the items to instantiate, | |
| 4629 | -# then the envvar interface is used. Set only those that are not. | |
| 4630 | -# We use the long form for the default assignment because of an extremely | |
| 4631 | -# bizarre bug on SunOS 4.1.3. | |
| 4632 | -if $ac_need_defaults; then | |
| 4633 | - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
| 4634 | - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
| 4635 | -fi | |
| 4636 | - | |
| 4637 | -# Have a temporary directory for convenience. Make it in the build tree | |
| 4638 | -# simply because there is no reason against having it here, and in addition, | |
| 4639 | -# creating and moving files from /tmp can sometimes cause problems. | |
| 4640 | -# Hook for its removal unless debugging. | |
| 4641 | -# Note that there is a small window in which the directory will not be cleaned: | |
| 4642 | -# after its creation but before its name has been assigned to `$tmp'. | |
| 4643 | -$debug || | |
| 4644 | -{ | |
| 4645 | - tmp= | |
| 4646 | - trap 'exit_status=$? | |
| 4647 | - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
| 4648 | -' 0 | |
| 4649 | - trap 'as_fn_exit 1' 1 2 13 15 | |
| 4650 | -} | |
| 4651 | -# Create a (secure) tmp directory for tmp files. | |
| 4652 | - | |
| 4653 | -{ | |
| 4654 | - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
| 4655 | - test -n "$tmp" && test -d "$tmp" | |
| 4656 | -} || | |
| 4657 | -{ | |
| 4658 | - tmp=./conf$$-$RANDOM | |
| 4659 | - (umask 077 && mkdir "$tmp") | |
| 4660 | -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
| 4661 | - | |
| 4662 | -# Set up the scripts for CONFIG_FILES section. | |
| 4663 | -# No need to generate them if there are no CONFIG_FILES. | |
| 4664 | -# This happens for instance with `./config.status config.h'. | |
| 4665 | -if test -n "$CONFIG_FILES"; then | |
| 4666 | - | |
| 4667 | - | |
| 4668 | -ac_cr=`echo X | tr X '\015'` | |
| 4669 | -# On cygwin, bash can eat \r inside `` if the user requested igncr. | |
| 4670 | -# But we know of no other shell where ac_cr would be empty at this | |
| 4671 | -# point, so we can use a bashism as a fallback. | |
| 4672 | -if test "x$ac_cr" = x; then | |
| 4673 | - eval ac_cr=\$\'\\r\' | |
| 4674 | -fi | |
| 4675 | -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
| 4676 | -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
| 4677 | - ac_cs_awk_cr='\\r' | |
| 4678 | -else | |
| 4679 | - ac_cs_awk_cr=$ac_cr | |
| 4680 | -fi | |
| 4681 | - | |
| 4682 | -echo 'BEGIN {' >"$tmp/subs1.awk" && | |
| 4683 | -_ACEOF | |
| 4684 | - | |
| 4685 | - | |
| 4686 | -{ | |
| 4687 | - echo "cat >conf$$subs.awk <<_ACEOF" && | |
| 4688 | - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
| 4689 | - echo "_ACEOF" | |
| 4690 | -} >conf$$subs.sh || | |
| 4691 | - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 4692 | -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
| 4693 | -ac_delim='%!_!# ' | |
| 4694 | -for ac_last_try in false false false false false :; do | |
| 4695 | - . ./conf$$subs.sh || | |
| 4696 | - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 4697 | - | |
| 4698 | - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
| 4699 | - if test $ac_delim_n = $ac_delim_num; then | |
| 4700 | - break | |
| 4701 | - elif $ac_last_try; then | |
| 4702 | - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 4703 | - else | |
| 4704 | - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 4705 | - fi | |
| 4706 | -done | |
| 4707 | -rm -f conf$$subs.sh | |
| 4708 | - | |
| 4709 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4710 | -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
| 4711 | -_ACEOF | |
| 4712 | -sed -n ' | |
| 4713 | -h | |
| 4714 | -s/^/S["/; s/!.*/"]=/ | |
| 4715 | -p | |
| 4716 | -g | |
| 4717 | -s/^[^!]*!// | |
| 4718 | -:repl | |
| 4719 | -t repl | |
| 4720 | -s/'"$ac_delim"'$// | |
| 4721 | -t delim | |
| 4722 | -:nl | |
| 4723 | -h | |
| 4724 | -s/\(.\{148\}\)..*/\1/ | |
| 4725 | -t more1 | |
| 4726 | -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
| 4727 | -p | |
| 4728 | -n | |
| 4729 | -b repl | |
| 4730 | -:more1 | |
| 4731 | -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 4732 | -p | |
| 4733 | -g | |
| 4734 | -s/.\{148\}// | |
| 4735 | -t nl | |
| 4736 | -:delim | |
| 4737 | -h | |
| 4738 | -s/\(.\{148\}\)..*/\1/ | |
| 4739 | -t more2 | |
| 4740 | -s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
| 4741 | -p | |
| 4742 | -b | |
| 4743 | -:more2 | |
| 4744 | -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 4745 | -p | |
| 4746 | -g | |
| 4747 | -s/.\{148\}// | |
| 4748 | -t delim | |
| 4749 | -' <conf$$subs.awk | sed ' | |
| 4750 | -/^[^""]/{ | |
| 4751 | - N | |
| 4752 | - s/\n// | |
| 4753 | -} | |
| 4754 | -' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 4755 | -rm -f conf$$subs.awk | |
| 4756 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4757 | -_ACAWK | |
| 4758 | -cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
| 4759 | - for (key in S) S_is_set[key] = 1 | |
| 4760 | - FS = "" | |
| 4761 | - | |
| 4762 | -} | |
| 4763 | -{ | |
| 4764 | - line = $ 0 | |
| 4765 | - nfields = split(line, field, "@") | |
| 4766 | - substed = 0 | |
| 4767 | - len = length(field[1]) | |
| 4768 | - for (i = 2; i < nfields; i++) { | |
| 4769 | - key = field[i] | |
| 4770 | - keylen = length(key) | |
| 4771 | - if (S_is_set[key]) { | |
| 4772 | - value = S[key] | |
| 4773 | - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
| 4774 | - len += length(value) + length(field[++i]) | |
| 4775 | - substed = 1 | |
| 4776 | - } else | |
| 4777 | - len += 1 + keylen | |
| 4778 | - } | |
| 4779 | - | |
| 4780 | - print line | |
| 4781 | -} | |
| 4782 | - | |
| 4783 | -_ACAWK | |
| 4784 | -_ACEOF | |
| 4785 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4786 | -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
| 4787 | - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
| 4788 | -else | |
| 4789 | - cat | |
| 4790 | -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
| 4791 | - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
| 4792 | -_ACEOF | |
| 4793 | - | |
| 4794 | -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
| 4795 | -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
| 4796 | -# trailing colons and then remove the whole line if VPATH becomes empty | |
| 4797 | -# (actually we leave an empty line to preserve line numbers). | |
| 4798 | -if test "x$srcdir" = x.; then | |
| 4799 | - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
| 4800 | -h | |
| 4801 | -s/// | |
| 4802 | -s/^/:/ | |
| 4803 | -s/[ ]*$/:/ | |
| 4804 | -s/:\$(srcdir):/:/g | |
| 4805 | -s/:\${srcdir}:/:/g | |
| 4806 | -s/:@srcdir@:/:/g | |
| 4807 | -s/^:*// | |
| 4808 | -s/:*$// | |
| 4809 | -x | |
| 4810 | -s/\(=[ ]*\).*/\1/ | |
| 4811 | -G | |
| 4812 | -s/\n// | |
| 4813 | -s/^[^=]*=[ ]*$// | |
| 4814 | -}' | |
| 4815 | -fi | |
| 4816 | - | |
| 4817 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4818 | -fi # test -n "$CONFIG_FILES" | |
| 4819 | - | |
| 4820 | - | |
| 4821 | -eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" | |
| 4822 | -shift | |
| 4823 | -for ac_tag | |
| 4824 | -do | |
| 4825 | - case $ac_tag in | |
| 4826 | - :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 4827 | - esac | |
| 4828 | - case $ac_mode$ac_tag in | |
| 4829 | - :[FHL]*:*);; | |
| 4830 | - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; | |
| 4831 | - :[FH]-) ac_tag=-:-;; | |
| 4832 | - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
| 4833 | - esac | |
| 4834 | - ac_save_IFS=$IFS | |
| 4835 | - IFS=: | |
| 4836 | - set x $ac_tag | |
| 4837 | - IFS=$ac_save_IFS | |
| 4838 | - shift | |
| 4839 | - ac_file=$1 | |
| 4840 | - shift | |
| 4841 | - | |
| 4842 | - case $ac_mode in | |
| 4843 | - :L) ac_source=$1;; | |
| 4844 | - :[FH]) | |
| 4845 | - ac_file_inputs= | |
| 4846 | - for ac_f | |
| 4847 | - do | |
| 4848 | - case $ac_f in | |
| 4849 | - -) ac_f="$tmp/stdin";; | |
| 4850 | - *) # Look for the file first in the build tree, then in the source tree | |
| 4851 | - # (if the path is not absolute). The absolute path cannot be DOS-style, | |
| 4852 | - # because $ac_f cannot contain `:'. | |
| 4853 | - test -f "$ac_f" || | |
| 4854 | - case $ac_f in | |
| 4855 | - [\\/$]*) false;; | |
| 4856 | - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 4857 | - esac || | |
| 4858 | - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; | |
| 4859 | - esac | |
| 4860 | - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
| 4861 | - as_fn_append ac_file_inputs " '$ac_f'" | |
| 4862 | - done | |
| 4863 | - | |
| 4864 | - # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 4865 | - # use $as_me), people would be surprised to read: | |
| 4866 | - # /* config.h. Generated by config.status. */ | |
| 4867 | - configure_input='Generated from '` | |
| 4868 | - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
| 4869 | - `' by configure.' | |
| 4870 | - if test x"$ac_file" != x-; then | |
| 4871 | - configure_input="$ac_file. $configure_input" | |
| 4872 | - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
| 4873 | -$as_echo "$as_me: creating $ac_file" >&6;} | |
| 4874 | - fi | |
| 4875 | - # Neutralize special characters interpreted by sed in replacement strings. | |
| 4876 | - case $configure_input in #( | |
| 4877 | - *\&* | *\|* | *\\* ) | |
| 4878 | - ac_sed_conf_input=`$as_echo "$configure_input" | | |
| 4879 | - sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
| 4880 | - *) ac_sed_conf_input=$configure_input;; | |
| 4881 | - esac | |
| 4882 | - | |
| 4883 | - case $ac_tag in | |
| 4884 | - *:-:* | *:-) cat >"$tmp/stdin" \ | |
| 4885 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
| 4886 | - esac | |
| 4887 | - ;; | |
| 4888 | - esac | |
| 4889 | - | |
| 4890 | - ac_dir=`$as_dirname -- "$ac_file" || | |
| 4891 | -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 4892 | - X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 4893 | - X"$ac_file" : 'X\(//\)$' \| \ | |
| 4894 | - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 4895 | -$as_echo X"$ac_file" | | |
| 4896 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 4897 | - s//\1/ | |
| 4898 | - q | |
| 4899 | - } | |
| 4900 | - /^X\(\/\/\)[^/].*/{ | |
| 4901 | - s//\1/ | |
| 4902 | - q | |
| 4903 | - } | |
| 4904 | - /^X\(\/\/\)$/{ | |
| 4905 | - s//\1/ | |
| 4906 | - q | |
| 4907 | - } | |
| 4908 | - /^X\(\/\).*/{ | |
| 4909 | - s//\1/ | |
| 4910 | - q | |
| 4911 | - } | |
| 4912 | - s/.*/./; q'` | |
| 4913 | - as_dir="$ac_dir"; as_fn_mkdir_p | |
| 4914 | - ac_builddir=. | |
| 4915 | - | |
| 4916 | -case "$ac_dir" in | |
| 4917 | -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 4918 | -*) | |
| 4919 | - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 4920 | - # A ".." for each directory in $ac_dir_suffix. | |
| 4921 | - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 4922 | - case $ac_top_builddir_sub in | |
| 4923 | - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 4924 | - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 4925 | - esac ;; | |
| 4926 | -esac | |
| 4927 | -ac_abs_top_builddir=$ac_pwd | |
| 4928 | -ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 4929 | -# for backward compatibility: | |
| 4930 | -ac_top_builddir=$ac_top_build_prefix | |
| 4931 | - | |
| 4932 | -case $srcdir in | |
| 4933 | - .) # We are building in place. | |
| 4934 | - ac_srcdir=. | |
| 4935 | - ac_top_srcdir=$ac_top_builddir_sub | |
| 4936 | - ac_abs_top_srcdir=$ac_pwd ;; | |
| 4937 | - [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 4938 | - ac_srcdir=$srcdir$ac_dir_suffix; | |
| 4939 | - ac_top_srcdir=$srcdir | |
| 4940 | - ac_abs_top_srcdir=$srcdir ;; | |
| 4941 | - *) # Relative name. | |
| 4942 | - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 4943 | - ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 4944 | - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 4945 | -esac | |
| 4946 | -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 4947 | - | |
| 4948 | - | |
| 4949 | - case $ac_mode in | |
| 4950 | - :F) | |
| 4951 | - # | |
| 4952 | - # CONFIG_FILE | |
| 4953 | - # | |
| 4954 | - | |
| 4955 | - case $INSTALL in | |
| 4956 | - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
| 4957 | - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
| 4958 | - esac | |
| 4959 | - ac_MKDIR_P=$MKDIR_P | |
| 4960 | - case $MKDIR_P in | |
| 4961 | - [\\/$]* | ?:[\\/]* ) ;; | |
| 4962 | - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
| 4963 | - esac | |
| 4964 | -_ACEOF | |
| 4965 | - | |
| 4966 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4967 | -# If the template does not know about datarootdir, expand it. | |
| 4968 | -# FIXME: This hack should be removed a few years after 2.60. | |
| 4969 | -ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 4970 | -ac_sed_dataroot=' | |
| 4971 | -/datarootdir/ { | |
| 4972 | - p | |
| 4973 | - q | |
| 4974 | -} | |
| 4975 | -/@datadir@/p | |
| 4976 | -/@docdir@/p | |
| 4977 | -/@infodir@/p | |
| 4978 | -/@localedir@/p | |
| 4979 | -/@mandir@/p' | |
| 4980 | -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
| 4981 | -*datarootdir*) ac_datarootdir_seen=yes;; | |
| 4982 | -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 4983 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
| 4984 | -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
| 4985 | -_ACEOF | |
| 4986 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4987 | - ac_datarootdir_hack=' | |
| 4988 | - s&@datadir@&$datadir&g | |
| 4989 | - s&@docdir@&$docdir&g | |
| 4990 | - s&@infodir@&$infodir&g | |
| 4991 | - s&@localedir@&$localedir&g | |
| 4992 | - s&@mandir@&$mandir&g | |
| 4993 | - s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 4994 | -esac | |
| 4995 | -_ACEOF | |
| 4996 | - | |
| 4997 | -# Neutralize VPATH when `$srcdir' = `.'. | |
| 4998 | -# Shell code in configure.ac might set extrasub. | |
| 4999 | -# FIXME: do we really want to maintain this feature? | |
| 5000 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 5001 | -ac_sed_extra="$ac_vpsub | |
| 5002 | -$extrasub | |
| 5003 | -_ACEOF | |
| 5004 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 5005 | -:t | |
| 5006 | -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 5007 | -s|@configure_input@|$ac_sed_conf_input|;t t | |
| 5008 | -s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 5009 | -s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
| 5010 | -s&@srcdir@&$ac_srcdir&;t t | |
| 5011 | -s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 5012 | -s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 5013 | -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 5014 | -s&@builddir@&$ac_builddir&;t t | |
| 5015 | -s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 5016 | -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 5017 | -s&@INSTALL@&$ac_INSTALL&;t t | |
| 5018 | -s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
| 5019 | -$ac_datarootdir_hack | |
| 5020 | -" | |
| 5021 | -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
| 5022 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 5023 | - | |
| 5024 | -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 5025 | - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
| 5026 | - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | |
| 5027 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 5028 | -which seems to be undefined. Please make sure it is defined" >&5 | |
| 5029 | -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 5030 | -which seems to be undefined. Please make sure it is defined" >&2;} | |
| 5031 | - | |
| 5032 | - rm -f "$tmp/stdin" | |
| 5033 | - case $ac_file in | |
| 5034 | - -) cat "$tmp/out" && rm -f "$tmp/out";; | |
| 5035 | - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
| 5036 | - esac \ | |
| 5037 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 5038 | - ;; | |
| 5039 | - | |
| 5040 | - | |
| 5041 | - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
| 5042 | -$as_echo "$as_me: executing $ac_file commands" >&6;} | |
| 5043 | - ;; | |
| 5044 | - esac | |
| 5045 | - | |
| 5046 | - | |
| 5047 | - case $ac_file$ac_mode in | |
| 5048 | - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
| 5049 | - # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
| 5050 | - # are listed without --file. Let's play safe and only enable the eval | |
| 5051 | - # if we detect the quoting. | |
| 5052 | - case $CONFIG_FILES in | |
| 5053 | - *\'*) eval set x "$CONFIG_FILES" ;; | |
| 5054 | - *) set x $CONFIG_FILES ;; | |
| 5055 | - esac | |
| 5056 | - shift | |
| 5057 | - for mf | |
| 5058 | - do | |
| 5059 | - # Strip MF so we end up with the name of the file. | |
| 5060 | - mf=`echo "$mf" | sed -e 's/:.*$//'` | |
| 5061 | - # Check whether this is an Automake generated Makefile or not. | |
| 5062 | - # We used to match only the files named `Makefile.in', but | |
| 5063 | - # some people rename them; so instead we look at the file content. | |
| 5064 | - # Grep'ing the first line is not enough: some people post-process | |
| 5065 | - # each Makefile.in and add a new line on top of each file to say so. | |
| 5066 | - # Grep'ing the whole file is not good either: AIX grep has a line | |
| 5067 | - # limit of 2048, but all sed's we know have understand at least 4000. | |
| 5068 | - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
| 5069 | - dirpart=`$as_dirname -- "$mf" || | |
| 5070 | -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 5071 | - X"$mf" : 'X\(//\)[^/]' \| \ | |
| 5072 | - X"$mf" : 'X\(//\)$' \| \ | |
| 5073 | - X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
| 5074 | -$as_echo X"$mf" | | |
| 5075 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 5076 | - s//\1/ | |
| 5077 | - q | |
| 5078 | - } | |
| 5079 | - /^X\(\/\/\)[^/].*/{ | |
| 5080 | - s//\1/ | |
| 5081 | - q | |
| 5082 | - } | |
| 5083 | - /^X\(\/\/\)$/{ | |
| 5084 | - s//\1/ | |
| 5085 | - q | |
| 5086 | - } | |
| 5087 | - /^X\(\/\).*/{ | |
| 5088 | - s//\1/ | |
| 5089 | - q | |
| 5090 | - } | |
| 5091 | - s/.*/./; q'` | |
| 5092 | - else | |
| 5093 | - continue | |
| 5094 | - fi | |
| 5095 | - # Extract the definition of DEPDIR, am__include, and am__quote | |
| 5096 | - # from the Makefile without running `make'. | |
| 5097 | - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
| 5098 | - test -z "$DEPDIR" && continue | |
| 5099 | - am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
| 5100 | - test -z "am__include" && continue | |
| 5101 | - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
| 5102 | - # When using ansi2knr, U may be empty or an underscore; expand it | |
| 5103 | - U=`sed -n 's/^U = //p' < "$mf"` | |
| 5104 | - # Find all dependency output files, they are included files with | |
| 5105 | - # $(DEPDIR) in their names. We invoke sed twice because it is the | |
| 5106 | - # simplest approach to changing $(DEPDIR) to its actual value in the | |
| 5107 | - # expansion. | |
| 5108 | - for file in `sed -n " | |
| 5109 | - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
| 5110 | - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
| 5111 | - # Make sure the directory exists. | |
| 5112 | - test -f "$dirpart/$file" && continue | |
| 5113 | - fdir=`$as_dirname -- "$file" || | |
| 5114 | -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 5115 | - X"$file" : 'X\(//\)[^/]' \| \ | |
| 5116 | - X"$file" : 'X\(//\)$' \| \ | |
| 5117 | - X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
| 5118 | -$as_echo X"$file" | | |
| 5119 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 5120 | - s//\1/ | |
| 5121 | - q | |
| 5122 | - } | |
| 5123 | - /^X\(\/\/\)[^/].*/{ | |
| 5124 | - s//\1/ | |
| 5125 | - q | |
| 5126 | - } | |
| 5127 | - /^X\(\/\/\)$/{ | |
| 5128 | - s//\1/ | |
| 5129 | - q | |
| 5130 | - } | |
| 5131 | - /^X\(\/\).*/{ | |
| 5132 | - s//\1/ | |
| 5133 | - q | |
| 5134 | - } | |
| 5135 | - s/.*/./; q'` | |
| 5136 | - as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
| 5137 | - # echo "creating $dirpart/$file" | |
| 5138 | - echo '# dummy' > "$dirpart/$file" | |
| 5139 | - done | |
| 5140 | - done | |
| 5141 | -} | |
| 5142 | - ;; | |
| 5143 | - | |
| 5144 | - esac | |
| 5145 | -done # for ac_tag | |
| 5146 | - | |
| 5147 | - | |
| 5148 | -as_fn_exit 0 | |
| 5149 | -_ACEOF | |
| 5150 | -ac_clean_files=$ac_clean_files_save | |
| 5151 | - | |
| 5152 | -test $ac_write_fail = 0 || | |
| 5153 | - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
| 5154 | - | |
| 5155 | - | |
| 5156 | -# configure is writing to config.log, and then calls config.status. | |
| 5157 | -# config.status does its own redirection, appending to config.log. | |
| 5158 | -# Unfortunately, on DOS this fails, as config.log is still kept open | |
| 5159 | -# by configure, so config.status won't be able to write to it; its | |
| 5160 | -# output is simply discarded. So we exec the FD to /dev/null, | |
| 5161 | -# effectively closing config.log, so it can be properly (re)opened and | |
| 5162 | -# appended to by config.status. When coming back to configure, we | |
| 5163 | -# need to make the FD available again. | |
| 5164 | -if test "$no_create" != yes; then | |
| 5165 | - ac_cs_success=: | |
| 5166 | - ac_config_status_args= | |
| 5167 | - test "$silent" = yes && | |
| 5168 | - ac_config_status_args="$ac_config_status_args --quiet" | |
| 5169 | - exec 5>/dev/null | |
| 5170 | - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
| 5171 | - exec 5>>config.log | |
| 5172 | - # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
| 5173 | - # would make configure fail if this is the last instruction. | |
| 5174 | - $ac_cs_success || as_fn_exit 1 | |
| 5175 | -fi | |
| 5176 | -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
| 5177 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
| 5178 | -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
| 5179 | -fi | |
| 5180 | - |
dsoextractfw/configure.in
| 1 | -AC_INIT(dsoextractfw.c) | |
| 2 | -AM_INIT_AUTOMAKE([dsoextractfw], [0.6.2]) | |
| 1 | +AC_INIT([dsoextract], [0.6.2], [oliver.haag@gmail.com]) | |
| 2 | +AC_CONFIG_SRCDIR([dsoextractfw.c]) | |
| 3 | + | |
| 4 | +# Generates a config.h | |
| 5 | +#AC_CONFIG_HEADERS([config.h]) | |
| 6 | + | |
| 7 | +AM_INIT_AUTOMAKE | |
| 8 | + | |
| 9 | +# Checks for programs. | |
| 3 | 10 | AC_PROG_CC |
| 4 | -AC_PROG_INSTALL | |
| 5 | -AC_HEADER_STDC | |
| 6 | -AC_CHECK_HEADERS([stdio.h malloc.h string.h bfd.h]) | |
| 7 | -AC_DEFINE([PACKAGE_NAME], ["dsoextractfw"]) | |
| 8 | -AC_OUTPUT(Makefile) | |
| 11 | + | |
| 12 | +# Checks for libraries. | |
| 13 | +AC_CHECK_LIB([bfd], [main], [], AC_MSG_ERROR([The bfd library is missing])) | |
| 14 | + | |
| 15 | +# Checks for header files. | |
| 16 | +AC_CHECK_HEADERS([malloc.h string.h]) | |
| 17 | + | |
| 18 | +# Checks for typedefs, structures, and compiler characteristics. | |
| 19 | + | |
| 20 | +# Checks for library functions. | |
| 21 | +AC_FUNC_MALLOC | |
| 22 | + | |
| 23 | +AC_CONFIG_FILES([Makefile]) | |
| 24 | +AC_OUTPUT | ... | ... |