[1814] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 3 | # Generated by GNU Autoconf 2.58. |
---|
| 4 | # |
---|
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 6 | # This configure script is free software; the Free Software Foundation |
---|
| 7 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 8 | ## --------------------- ## |
---|
| 9 | ## M4sh Initialization. ## |
---|
| 10 | ## --------------------- ## |
---|
| 11 | |
---|
| 12 | # Be Bourne compatible |
---|
| 13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 14 | emulate sh |
---|
| 15 | NULLCMD=: |
---|
| 16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 17 | # is contrary to our usage. Disable this feature. |
---|
| 18 | alias -g '${1+"$@"}'='"$@"' |
---|
| 19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
| 20 | set -o posix |
---|
| 21 | fi |
---|
| 22 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 23 | |
---|
| 24 | # Support unset when possible. |
---|
| 25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 26 | as_unset=unset |
---|
| 27 | else |
---|
| 28 | as_unset=false |
---|
| 29 | fi |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
| 33 | $as_unset ENV MAIL MAILPATH |
---|
| 34 | PS1='$ ' |
---|
| 35 | PS2='> ' |
---|
| 36 | PS4='+ ' |
---|
| 37 | |
---|
| 38 | # NLS nuisances. |
---|
| 39 | for as_var in \ |
---|
| 40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 42 | LC_TELEPHONE LC_TIME |
---|
| 43 | do |
---|
| 44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 45 | eval $as_var=C; export $as_var |
---|
| 46 | else |
---|
| 47 | $as_unset $as_var |
---|
| 48 | fi |
---|
| 49 | done |
---|
| 50 | |
---|
| 51 | # Required to use basename. |
---|
| 52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 53 | as_expr=expr |
---|
| 54 | else |
---|
| 55 | as_expr=false |
---|
| 56 | fi |
---|
| 57 | |
---|
| 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
| 59 | as_basename=basename |
---|
| 60 | else |
---|
| 61 | as_basename=false |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | # Name of the executable. |
---|
| 66 | as_me=`$as_basename "$0" || |
---|
| 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 68 | X"$0" : 'X\(//\)$' \| \ |
---|
| 69 | X"$0" : 'X\(/\)$' \| \ |
---|
| 70 | . : '\(.\)' 2>/dev/null || |
---|
| 71 | echo X/"$0" | |
---|
| 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
| 74 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
| 75 | s/.*/./; q'` |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
| 79 | # Avoid depending upon Character Ranges. |
---|
| 80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 83 | as_cr_digits='0123456789' |
---|
| 84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 85 | |
---|
| 86 | # The user is always right. |
---|
| 87 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 88 | echo "#! /bin/sh" >conf$$.sh |
---|
| 89 | echo "exit 0" >>conf$$.sh |
---|
| 90 | chmod +x conf$$.sh |
---|
| 91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 92 | PATH_SEPARATOR=';' |
---|
| 93 | else |
---|
| 94 | PATH_SEPARATOR=: |
---|
| 95 | fi |
---|
| 96 | rm -f conf$$.sh |
---|
| 97 | fi |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | as_lineno_1=$LINENO |
---|
| 101 | as_lineno_2=$LINENO |
---|
| 102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
| 105 | # Find who we are. Look in the path if we contain no path at all |
---|
| 106 | # relative or not. |
---|
| 107 | case $0 in |
---|
| 108 | *[\\/]* ) as_myself=$0 ;; |
---|
| 109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 110 | for as_dir in $PATH |
---|
| 111 | do |
---|
| 112 | IFS=$as_save_IFS |
---|
| 113 | test -z "$as_dir" && as_dir=. |
---|
| 114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 115 | done |
---|
| 116 | |
---|
| 117 | ;; |
---|
| 118 | esac |
---|
| 119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 120 | # in which case we are not to be found in the path. |
---|
| 121 | if test "x$as_myself" = x; then |
---|
| 122 | as_myself=$0 |
---|
| 123 | fi |
---|
| 124 | if test ! -f "$as_myself"; then |
---|
| 125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
| 126 | { (exit 1); exit 1; }; } |
---|
| 127 | fi |
---|
| 128 | case $CONFIG_SHELL in |
---|
| 129 | '') |
---|
| 130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 132 | do |
---|
| 133 | IFS=$as_save_IFS |
---|
| 134 | test -z "$as_dir" && as_dir=. |
---|
| 135 | for as_base in sh bash ksh sh5; do |
---|
| 136 | case $as_dir in |
---|
| 137 | /*) |
---|
| 138 | if ("$as_dir/$as_base" -c ' |
---|
| 139 | as_lineno_1=$LINENO |
---|
| 140 | as_lineno_2=$LINENO |
---|
| 141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
| 144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
| 145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
| 146 | CONFIG_SHELL=$as_dir/$as_base |
---|
| 147 | export CONFIG_SHELL |
---|
| 148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
| 149 | fi;; |
---|
| 150 | esac |
---|
| 151 | done |
---|
| 152 | done |
---|
| 153 | ;; |
---|
| 154 | esac |
---|
| 155 | |
---|
| 156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 157 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
| 158 | # line-number line before each line; the second 'sed' does the real |
---|
| 159 | # work. The second script uses 'N' to pair each line-number line |
---|
| 160 | # with the numbered line, and appends trailing '-' during |
---|
| 161 | # substitution so that $LINENO is not a special case at line end. |
---|
| 162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
| 163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
| 164 | sed '=' <$as_myself | |
---|
| 165 | sed ' |
---|
| 166 | N |
---|
| 167 | s,$,-, |
---|
| 168 | : loop |
---|
| 169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
| 170 | t loop |
---|
| 171 | s,-$,, |
---|
| 172 | s,^['$as_cr_digits']*\n,, |
---|
| 173 | ' >$as_me.lineno && |
---|
| 174 | chmod +x $as_me.lineno || |
---|
| 175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
| 176 | { (exit 1); exit 1; }; } |
---|
| 177 | |
---|
| 178 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 179 | # (the dirname of $[0] is not the place where we might find the |
---|
| 180 | # original and so on. Autoconf is especially sensible to this). |
---|
| 181 | . ./$as_me.lineno |
---|
| 182 | # Exit status is that of the last command. |
---|
| 183 | exit |
---|
| 184 | } |
---|
| 185 | |
---|
| 186 | |
---|
| 187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
| 188 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
| 189 | ' ECHO_T=' ' ;; |
---|
| 190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
| 191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
| 192 | esac |
---|
| 193 | |
---|
| 194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 195 | as_expr=expr |
---|
| 196 | else |
---|
| 197 | as_expr=false |
---|
| 198 | fi |
---|
| 199 | |
---|
| 200 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 201 | echo >conf$$.file |
---|
| 202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 203 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
| 204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
| 205 | if test -f conf$$.exe; then |
---|
| 206 | # Don't use ln at all; we don't have any links |
---|
| 207 | as_ln_s='cp -p' |
---|
| 208 | else |
---|
| 209 | as_ln_s='ln -s' |
---|
| 210 | fi |
---|
| 211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 212 | as_ln_s=ln |
---|
| 213 | else |
---|
| 214 | as_ln_s='cp -p' |
---|
| 215 | fi |
---|
| 216 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 217 | |
---|
| 218 | if mkdir -p . 2>/dev/null; then |
---|
| 219 | as_mkdir_p=: |
---|
| 220 | else |
---|
| 221 | test -d ./-p && rmdir ./-p |
---|
| 222 | as_mkdir_p=false |
---|
| 223 | fi |
---|
| 224 | |
---|
| 225 | as_executable_p="test -f" |
---|
| 226 | |
---|
| 227 | # Sed expression to map a string onto a valid CPP name. |
---|
| 228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 229 | |
---|
| 230 | # Sed expression to map a string onto a valid variable name. |
---|
| 231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | # IFS |
---|
| 235 | # We need space, tab and new line, in precisely that order. |
---|
| 236 | as_nl=' |
---|
| 237 | ' |
---|
| 238 | IFS=" $as_nl" |
---|
| 239 | |
---|
| 240 | # CDPATH. |
---|
| 241 | $as_unset CDPATH |
---|
| 242 | |
---|
| 243 | |
---|
| 244 | # Name of the host. |
---|
| 245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
| 246 | # so uname gets run too. |
---|
| 247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 248 | |
---|
| 249 | exec 6>&1 |
---|
| 250 | |
---|
| 251 | # |
---|
| 252 | # Initializations. |
---|
| 253 | # |
---|
| 254 | ac_default_prefix=/usr/local |
---|
| 255 | ac_config_libobj_dir=. |
---|
| 256 | cross_compiling=no |
---|
| 257 | subdirs= |
---|
| 258 | MFLAGS= |
---|
| 259 | MAKEFLAGS= |
---|
| 260 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 261 | |
---|
| 262 | # Maximum number of lines to put in a shell here document. |
---|
| 263 | # This variable seems obsolete. It should probably be removed, and |
---|
| 264 | # only ac_max_sed_lines should be used. |
---|
| 265 | : ${ac_max_here_lines=38} |
---|
| 266 | |
---|
| 267 | # Identity of this package. |
---|
| 268 | PACKAGE_NAME= |
---|
| 269 | PACKAGE_TARNAME= |
---|
| 270 | PACKAGE_VERSION= |
---|
| 271 | PACKAGE_STRING= |
---|
| 272 | PACKAGE_BUGREPORT= |
---|
| 273 | |
---|
| 274 | ac_unique_file="orxonox_gui.c" |
---|
| 275 | # Factoring default headers for most tests. |
---|
| 276 | ac_includes_default="\ |
---|
| 277 | #include <stdio.h> |
---|
| 278 | #if HAVE_SYS_TYPES_H |
---|
| 279 | # include <sys/types.h> |
---|
| 280 | #endif |
---|
| 281 | #if HAVE_SYS_STAT_H |
---|
| 282 | # include <sys/stat.h> |
---|
| 283 | #endif |
---|
| 284 | #if STDC_HEADERS |
---|
| 285 | # include <stdlib.h> |
---|
| 286 | # include <stddef.h> |
---|
| 287 | #else |
---|
| 288 | # if HAVE_STDLIB_H |
---|
| 289 | # include <stdlib.h> |
---|
| 290 | # endif |
---|
| 291 | #endif |
---|
| 292 | #if HAVE_STRING_H |
---|
| 293 | # if !STDC_HEADERS && HAVE_MEMORY_H |
---|
| 294 | # include <memory.h> |
---|
| 295 | # endif |
---|
| 296 | # include <string.h> |
---|
| 297 | #endif |
---|
| 298 | #if HAVE_STRINGS_H |
---|
| 299 | # include <strings.h> |
---|
| 300 | #endif |
---|
| 301 | #if HAVE_INTTYPES_H |
---|
| 302 | # include <inttypes.h> |
---|
| 303 | #else |
---|
| 304 | # if HAVE_STDINT_H |
---|
| 305 | # include <stdint.h> |
---|
| 306 | # endif |
---|
| 307 | #endif |
---|
| 308 | #if HAVE_UNISTD_H |
---|
| 309 | # include <unistd.h> |
---|
| 310 | #endif" |
---|
| 311 | |
---|
| 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot ISODATE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP ALLOCA LIBOBJS LTLIBOBJS' |
---|
| 313 | ac_subst_files='' |
---|
| 314 | |
---|
| 315 | # Initialize some variables set by options. |
---|
| 316 | ac_init_help= |
---|
| 317 | ac_init_version=false |
---|
| 318 | # The variables have the same names as the options, with |
---|
| 319 | # dashes changed to underlines. |
---|
| 320 | cache_file=/dev/null |
---|
| 321 | exec_prefix=NONE |
---|
| 322 | no_create= |
---|
| 323 | no_recursion= |
---|
| 324 | prefix=NONE |
---|
| 325 | program_prefix=NONE |
---|
| 326 | program_suffix=NONE |
---|
| 327 | program_transform_name=s,x,x, |
---|
| 328 | silent= |
---|
| 329 | site= |
---|
| 330 | srcdir= |
---|
| 331 | verbose= |
---|
| 332 | x_includes=NONE |
---|
| 333 | x_libraries=NONE |
---|
| 334 | |
---|
| 335 | # Installation directory options. |
---|
| 336 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 337 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 338 | # by default will actually change. |
---|
| 339 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 340 | bindir='${exec_prefix}/bin' |
---|
| 341 | sbindir='${exec_prefix}/sbin' |
---|
| 342 | libexecdir='${exec_prefix}/libexec' |
---|
| 343 | datadir='${prefix}/share' |
---|
| 344 | sysconfdir='${prefix}/etc' |
---|
| 345 | sharedstatedir='${prefix}/com' |
---|
| 346 | localstatedir='${prefix}/var' |
---|
| 347 | libdir='${exec_prefix}/lib' |
---|
| 348 | includedir='${prefix}/include' |
---|
| 349 | oldincludedir='/usr/include' |
---|
| 350 | infodir='${prefix}/info' |
---|
| 351 | mandir='${prefix}/man' |
---|
| 352 | |
---|
| 353 | ac_prev= |
---|
| 354 | for ac_option |
---|
| 355 | do |
---|
| 356 | # If the previous option needs an argument, assign it. |
---|
| 357 | if test -n "$ac_prev"; then |
---|
| 358 | eval "$ac_prev=\$ac_option" |
---|
| 359 | ac_prev= |
---|
| 360 | continue |
---|
| 361 | fi |
---|
| 362 | |
---|
| 363 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
| 364 | |
---|
| 365 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 366 | |
---|
| 367 | case $ac_option in |
---|
| 368 | |
---|
| 369 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 370 | ac_prev=bindir ;; |
---|
| 371 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 372 | bindir=$ac_optarg ;; |
---|
| 373 | |
---|
| 374 | -build | --build | --buil | --bui | --bu) |
---|
| 375 | ac_prev=build_alias ;; |
---|
| 376 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 377 | build_alias=$ac_optarg ;; |
---|
| 378 | |
---|
| 379 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 380 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 381 | ac_prev=cache_file ;; |
---|
| 382 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 383 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 384 | cache_file=$ac_optarg ;; |
---|
| 385 | |
---|
| 386 | --config-cache | -C) |
---|
| 387 | cache_file=config.cache ;; |
---|
| 388 | |
---|
| 389 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
| 390 | ac_prev=datadir ;; |
---|
| 391 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
| 392 | | --da=*) |
---|
| 393 | datadir=$ac_optarg ;; |
---|
| 394 | |
---|
| 395 | -disable-* | --disable-*) |
---|
| 396 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 397 | # Reject names that are not valid shell variable names. |
---|
| 398 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 399 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 400 | { (exit 1); exit 1; }; } |
---|
| 401 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
| 402 | eval "enable_$ac_feature=no" ;; |
---|
| 403 | |
---|
| 404 | -enable-* | --enable-*) |
---|
| 405 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 406 | # Reject names that are not valid shell variable names. |
---|
| 407 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 408 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 409 | { (exit 1); exit 1; }; } |
---|
| 410 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
| 411 | case $ac_option in |
---|
| 412 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
| 413 | *) ac_optarg=yes ;; |
---|
| 414 | esac |
---|
| 415 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
| 416 | |
---|
| 417 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 418 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 419 | | --exec | --exe | --ex) |
---|
| 420 | ac_prev=exec_prefix ;; |
---|
| 421 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 422 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 423 | | --exec=* | --exe=* | --ex=*) |
---|
| 424 | exec_prefix=$ac_optarg ;; |
---|
| 425 | |
---|
| 426 | -gas | --gas | --ga | --g) |
---|
| 427 | # Obsolete; use --with-gas. |
---|
| 428 | with_gas=yes ;; |
---|
| 429 | |
---|
| 430 | -help | --help | --hel | --he | -h) |
---|
| 431 | ac_init_help=long ;; |
---|
| 432 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 433 | ac_init_help=recursive ;; |
---|
| 434 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 435 | ac_init_help=short ;; |
---|
| 436 | |
---|
| 437 | -host | --host | --hos | --ho) |
---|
| 438 | ac_prev=host_alias ;; |
---|
| 439 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 440 | host_alias=$ac_optarg ;; |
---|
| 441 | |
---|
| 442 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 443 | | --includ | --inclu | --incl | --inc) |
---|
| 444 | ac_prev=includedir ;; |
---|
| 445 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 446 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 447 | includedir=$ac_optarg ;; |
---|
| 448 | |
---|
| 449 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 450 | ac_prev=infodir ;; |
---|
| 451 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 452 | infodir=$ac_optarg ;; |
---|
| 453 | |
---|
| 454 | -libdir | --libdir | --libdi | --libd) |
---|
| 455 | ac_prev=libdir ;; |
---|
| 456 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 457 | libdir=$ac_optarg ;; |
---|
| 458 | |
---|
| 459 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 460 | | --libexe | --libex | --libe) |
---|
| 461 | ac_prev=libexecdir ;; |
---|
| 462 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 463 | | --libexe=* | --libex=* | --libe=*) |
---|
| 464 | libexecdir=$ac_optarg ;; |
---|
| 465 | |
---|
| 466 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 467 | | --localstate | --localstat | --localsta | --localst \ |
---|
| 468 | | --locals | --local | --loca | --loc | --lo) |
---|
| 469 | ac_prev=localstatedir ;; |
---|
| 470 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 471 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
| 472 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
| 473 | localstatedir=$ac_optarg ;; |
---|
| 474 | |
---|
| 475 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 476 | ac_prev=mandir ;; |
---|
| 477 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 478 | mandir=$ac_optarg ;; |
---|
| 479 | |
---|
| 480 | -nfp | --nfp | --nf) |
---|
| 481 | # Obsolete; use --without-fp. |
---|
| 482 | with_fp=no ;; |
---|
| 483 | |
---|
| 484 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 485 | | --no-cr | --no-c | -n) |
---|
| 486 | no_create=yes ;; |
---|
| 487 | |
---|
| 488 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 489 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 490 | no_recursion=yes ;; |
---|
| 491 | |
---|
| 492 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 493 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 494 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 495 | ac_prev=oldincludedir ;; |
---|
| 496 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 497 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 498 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 499 | oldincludedir=$ac_optarg ;; |
---|
| 500 | |
---|
| 501 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 502 | ac_prev=prefix ;; |
---|
| 503 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 504 | prefix=$ac_optarg ;; |
---|
| 505 | |
---|
| 506 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 507 | | --program-pre | --program-pr | --program-p) |
---|
| 508 | ac_prev=program_prefix ;; |
---|
| 509 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 510 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 511 | program_prefix=$ac_optarg ;; |
---|
| 512 | |
---|
| 513 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 514 | | --program-suf | --program-su | --program-s) |
---|
| 515 | ac_prev=program_suffix ;; |
---|
| 516 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 517 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 518 | program_suffix=$ac_optarg ;; |
---|
| 519 | |
---|
| 520 | -program-transform-name | --program-transform-name \ |
---|
| 521 | | --program-transform-nam | --program-transform-na \ |
---|
| 522 | | --program-transform-n | --program-transform- \ |
---|
| 523 | | --program-transform | --program-transfor \ |
---|
| 524 | | --program-transfo | --program-transf \ |
---|
| 525 | | --program-trans | --program-tran \ |
---|
| 526 | | --progr-tra | --program-tr | --program-t) |
---|
| 527 | ac_prev=program_transform_name ;; |
---|
| 528 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 529 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 530 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 531 | | --program-transform=* | --program-transfor=* \ |
---|
| 532 | | --program-transfo=* | --program-transf=* \ |
---|
| 533 | | --program-trans=* | --program-tran=* \ |
---|
| 534 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 535 | program_transform_name=$ac_optarg ;; |
---|
| 536 | |
---|
| 537 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 538 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 539 | silent=yes ;; |
---|
| 540 | |
---|
| 541 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 542 | ac_prev=sbindir ;; |
---|
| 543 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 544 | | --sbi=* | --sb=*) |
---|
| 545 | sbindir=$ac_optarg ;; |
---|
| 546 | |
---|
| 547 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 548 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 549 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 550 | | --sha | --sh) |
---|
| 551 | ac_prev=sharedstatedir ;; |
---|
| 552 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 553 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 554 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 555 | | --sha=* | --sh=*) |
---|
| 556 | sharedstatedir=$ac_optarg ;; |
---|
| 557 | |
---|
| 558 | -site | --site | --sit) |
---|
| 559 | ac_prev=site ;; |
---|
| 560 | -site=* | --site=* | --sit=*) |
---|
| 561 | site=$ac_optarg ;; |
---|
| 562 | |
---|
| 563 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 564 | ac_prev=srcdir ;; |
---|
| 565 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 566 | srcdir=$ac_optarg ;; |
---|
| 567 | |
---|
| 568 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 569 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 570 | ac_prev=sysconfdir ;; |
---|
| 571 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 572 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 573 | sysconfdir=$ac_optarg ;; |
---|
| 574 | |
---|
| 575 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 576 | ac_prev=target_alias ;; |
---|
| 577 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 578 | target_alias=$ac_optarg ;; |
---|
| 579 | |
---|
| 580 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 581 | verbose=yes ;; |
---|
| 582 | |
---|
| 583 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 584 | ac_init_version=: ;; |
---|
| 585 | |
---|
| 586 | -with-* | --with-*) |
---|
| 587 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 588 | # Reject names that are not valid shell variable names. |
---|
| 589 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 590 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 591 | { (exit 1); exit 1; }; } |
---|
| 592 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 593 | case $ac_option in |
---|
| 594 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
| 595 | *) ac_optarg=yes ;; |
---|
| 596 | esac |
---|
| 597 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
| 598 | |
---|
| 599 | -without-* | --without-*) |
---|
| 600 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 601 | # Reject names that are not valid shell variable names. |
---|
| 602 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 603 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 604 | { (exit 1); exit 1; }; } |
---|
| 605 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
| 606 | eval "with_$ac_package=no" ;; |
---|
| 607 | |
---|
| 608 | --x) |
---|
| 609 | # Obsolete; use --with-x. |
---|
| 610 | with_x=yes ;; |
---|
| 611 | |
---|
| 612 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 613 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 614 | ac_prev=x_includes ;; |
---|
| 615 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 616 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 617 | x_includes=$ac_optarg ;; |
---|
| 618 | |
---|
| 619 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 620 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 621 | ac_prev=x_libraries ;; |
---|
| 622 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 623 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 624 | x_libraries=$ac_optarg ;; |
---|
| 625 | |
---|
| 626 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
| 627 | Try \`$0 --help' for more information." >&2 |
---|
| 628 | { (exit 1); exit 1; }; } |
---|
| 629 | ;; |
---|
| 630 | |
---|
| 631 | *=*) |
---|
| 632 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 633 | # Reject names that are not valid shell variable names. |
---|
| 634 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 635 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
| 636 | { (exit 1); exit 1; }; } |
---|
| 637 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
| 638 | eval "$ac_envvar='$ac_optarg'" |
---|
| 639 | export $ac_envvar ;; |
---|
| 640 | |
---|
| 641 | *) |
---|
| 642 | # FIXME: should be removed in autoconf 3.0. |
---|
| 643 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 644 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 645 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 646 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
| 647 | ;; |
---|
| 648 | |
---|
| 649 | esac |
---|
| 650 | done |
---|
| 651 | |
---|
| 652 | if test -n "$ac_prev"; then |
---|
| 653 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 654 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
| 655 | { (exit 1); exit 1; }; } |
---|
| 656 | fi |
---|
| 657 | |
---|
| 658 | # Be sure to have absolute paths. |
---|
| 659 | for ac_var in exec_prefix prefix |
---|
| 660 | do |
---|
| 661 | eval ac_val=$`echo $ac_var` |
---|
| 662 | case $ac_val in |
---|
| 663 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
| 664 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 665 | { (exit 1); exit 1; }; };; |
---|
| 666 | esac |
---|
| 667 | done |
---|
| 668 | |
---|
| 669 | # Be sure to have absolute paths. |
---|
| 670 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
| 671 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
| 672 | do |
---|
| 673 | eval ac_val=$`echo $ac_var` |
---|
| 674 | case $ac_val in |
---|
| 675 | [\\/$]* | ?:[\\/]* ) ;; |
---|
| 676 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 677 | { (exit 1); exit 1; }; };; |
---|
| 678 | esac |
---|
| 679 | done |
---|
| 680 | |
---|
| 681 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 682 | # used to hold the argument of --host etc. |
---|
| 683 | # FIXME: To remove some day. |
---|
| 684 | build=$build_alias |
---|
| 685 | host=$host_alias |
---|
| 686 | target=$target_alias |
---|
| 687 | |
---|
| 688 | # FIXME: To remove some day. |
---|
| 689 | if test "x$host_alias" != x; then |
---|
| 690 | if test "x$build_alias" = x; then |
---|
| 691 | cross_compiling=maybe |
---|
| 692 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 693 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 694 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 695 | cross_compiling=yes |
---|
| 696 | fi |
---|
| 697 | fi |
---|
| 698 | |
---|
| 699 | ac_tool_prefix= |
---|
| 700 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 701 | |
---|
| 702 | test "$silent" = yes && exec 6>/dev/null |
---|
| 703 | |
---|
| 704 | |
---|
| 705 | # Find the source files, if location was not specified. |
---|
| 706 | if test -z "$srcdir"; then |
---|
| 707 | ac_srcdir_defaulted=yes |
---|
| 708 | # Try the directory containing this script, then its parent. |
---|
| 709 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
| 710 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 711 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
| 712 | X"$0" : 'X\(//\)$' \| \ |
---|
| 713 | X"$0" : 'X\(/\)' \| \ |
---|
| 714 | . : '\(.\)' 2>/dev/null || |
---|
| 715 | echo X"$0" | |
---|
| 716 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 717 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 718 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 719 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 720 | s/.*/./; q'` |
---|
| 721 | srcdir=$ac_confdir |
---|
| 722 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 723 | srcdir=.. |
---|
| 724 | fi |
---|
| 725 | else |
---|
| 726 | ac_srcdir_defaulted=no |
---|
| 727 | fi |
---|
| 728 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 729 | if test "$ac_srcdir_defaulted" = yes; then |
---|
| 730 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
| 731 | { (exit 1); exit 1; }; } |
---|
| 732 | else |
---|
| 733 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
| 734 | { (exit 1); exit 1; }; } |
---|
| 735 | fi |
---|
| 736 | fi |
---|
| 737 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
| 738 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
| 739 | { (exit 1); exit 1; }; } |
---|
| 740 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
| 741 | ac_env_build_alias_set=${build_alias+set} |
---|
| 742 | ac_env_build_alias_value=$build_alias |
---|
| 743 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
| 744 | ac_cv_env_build_alias_value=$build_alias |
---|
| 745 | ac_env_host_alias_set=${host_alias+set} |
---|
| 746 | ac_env_host_alias_value=$host_alias |
---|
| 747 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
| 748 | ac_cv_env_host_alias_value=$host_alias |
---|
| 749 | ac_env_target_alias_set=${target_alias+set} |
---|
| 750 | ac_env_target_alias_value=$target_alias |
---|
| 751 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
| 752 | ac_cv_env_target_alias_value=$target_alias |
---|
| 753 | ac_env_CC_set=${CC+set} |
---|
| 754 | ac_env_CC_value=$CC |
---|
| 755 | ac_cv_env_CC_set=${CC+set} |
---|
| 756 | ac_cv_env_CC_value=$CC |
---|
| 757 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
| 758 | ac_env_CFLAGS_value=$CFLAGS |
---|
| 759 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
| 760 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
| 761 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
| 762 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
| 763 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
| 764 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
| 765 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
| 766 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
| 767 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
| 768 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
| 769 | ac_env_CPP_set=${CPP+set} |
---|
| 770 | ac_env_CPP_value=$CPP |
---|
| 771 | ac_cv_env_CPP_set=${CPP+set} |
---|
| 772 | ac_cv_env_CPP_value=$CPP |
---|
| 773 | |
---|
| 774 | # |
---|
| 775 | # Report the --help message. |
---|
| 776 | # |
---|
| 777 | if test "$ac_init_help" = "long"; then |
---|
| 778 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 779 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 780 | cat <<_ACEOF |
---|
| 781 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 782 | |
---|
| 783 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 784 | |
---|
| 785 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 786 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 787 | |
---|
| 788 | Defaults for the options are specified in brackets. |
---|
| 789 | |
---|
| 790 | Configuration: |
---|
| 791 | -h, --help display this help and exit |
---|
| 792 | --help=short display options specific to this package |
---|
| 793 | --help=recursive display the short help of all the included packages |
---|
| 794 | -V, --version display version information and exit |
---|
| 795 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 796 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 797 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 798 | -n, --no-create do not create output files |
---|
| 799 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 800 | |
---|
| 801 | _ACEOF |
---|
| 802 | |
---|
| 803 | cat <<_ACEOF |
---|
| 804 | Installation directories: |
---|
| 805 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 806 | [$ac_default_prefix] |
---|
| 807 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 808 | [PREFIX] |
---|
| 809 | |
---|
| 810 | By default, \`make install' will install all the files in |
---|
| 811 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 812 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 813 | for instance \`--prefix=\$HOME'. |
---|
| 814 | |
---|
| 815 | For better control, use the options below. |
---|
| 816 | |
---|
| 817 | Fine tuning of the installation directories: |
---|
| 818 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 819 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 820 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 821 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
| 822 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 823 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 824 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 825 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 826 | --includedir=DIR C header files [PREFIX/include] |
---|
| 827 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 828 | --infodir=DIR info documentation [PREFIX/info] |
---|
| 829 | --mandir=DIR man documentation [PREFIX/man] |
---|
| 830 | _ACEOF |
---|
| 831 | |
---|
| 832 | cat <<\_ACEOF |
---|
| 833 | |
---|
| 834 | Program names: |
---|
| 835 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 836 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 837 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
| 838 | |
---|
| 839 | System types: |
---|
| 840 | --build=BUILD configure for building on BUILD [guessed] |
---|
| 841 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
| 842 | _ACEOF |
---|
| 843 | fi |
---|
| 844 | |
---|
| 845 | if test -n "$ac_init_help"; then |
---|
| 846 | |
---|
| 847 | cat <<\_ACEOF |
---|
| 848 | |
---|
| 849 | Optional Features: |
---|
| 850 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 851 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 852 | --disable-dependency-tracking speeds up one-time build |
---|
| 853 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
| 854 | |
---|
| 855 | Some influential environment variables: |
---|
| 856 | CC C compiler command |
---|
| 857 | CFLAGS C compiler flags |
---|
| 858 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 859 | nonstandard directory <lib dir> |
---|
| 860 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
| 861 | headers in a nonstandard directory <include dir> |
---|
| 862 | CPP C preprocessor |
---|
| 863 | |
---|
| 864 | Use these variables to override the choices made by `configure' or to help |
---|
| 865 | it to find libraries and programs with nonstandard names/locations. |
---|
| 866 | |
---|
| 867 | _ACEOF |
---|
| 868 | fi |
---|
| 869 | |
---|
| 870 | if test "$ac_init_help" = "recursive"; then |
---|
| 871 | # If there are subdirs, report their specific --help. |
---|
| 872 | ac_popdir=`pwd` |
---|
| 873 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 874 | test -d $ac_dir || continue |
---|
| 875 | ac_builddir=. |
---|
| 876 | |
---|
| 877 | if test "$ac_dir" != .; then |
---|
| 878 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 879 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 880 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 881 | else |
---|
| 882 | ac_dir_suffix= ac_top_builddir= |
---|
| 883 | fi |
---|
| 884 | |
---|
| 885 | case $srcdir in |
---|
| 886 | .) # No --srcdir option. We are building in place. |
---|
| 887 | ac_srcdir=. |
---|
| 888 | if test -z "$ac_top_builddir"; then |
---|
| 889 | ac_top_srcdir=. |
---|
| 890 | else |
---|
| 891 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 892 | fi ;; |
---|
| 893 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 894 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 895 | ac_top_srcdir=$srcdir ;; |
---|
| 896 | *) # Relative path. |
---|
| 897 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 898 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 899 | esac |
---|
| 900 | case "$ac_dir" in |
---|
| 901 | .) ac_abs_builddir=$ac_builddir;; |
---|
| 902 | *) |
---|
| 903 | case $ac_builddir in |
---|
| 904 | .) ac_abs_builddir="$ac_dir";; |
---|
| 905 | [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
---|
| 906 | *) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
---|
| 907 | esac;; |
---|
| 908 | esac |
---|
| 909 | case "$ac_dir" in |
---|
| 910 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 911 | *) |
---|
| 912 | case ${ac_top_builddir}. in |
---|
| 913 | .) ac_abs_top_builddir="$ac_dir";; |
---|
| 914 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 915 | *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
---|
| 916 | esac;; |
---|
| 917 | esac |
---|
| 918 | case "$ac_dir" in |
---|
| 919 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 920 | *) |
---|
| 921 | case $ac_srcdir in |
---|
| 922 | .) ac_abs_srcdir="$ac_dir";; |
---|
| 923 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 924 | *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
---|
| 925 | esac;; |
---|
| 926 | esac |
---|
| 927 | case "$ac_dir" in |
---|
| 928 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 929 | *) |
---|
| 930 | case $ac_top_srcdir in |
---|
| 931 | .) ac_abs_top_srcdir="$ac_dir";; |
---|
| 932 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 933 | *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
---|
| 934 | esac;; |
---|
| 935 | esac |
---|
| 936 | |
---|
| 937 | cd $ac_dir |
---|
| 938 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
| 939 | if test -f $ac_srcdir/configure.gnu; then |
---|
| 940 | echo |
---|
| 941 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
| 942 | elif test -f $ac_srcdir/configure; then |
---|
| 943 | echo |
---|
| 944 | $SHELL $ac_srcdir/configure --help=recursive |
---|
| 945 | elif test -f $ac_srcdir/configure.ac || |
---|
| 946 | test -f $ac_srcdir/configure.in; then |
---|
| 947 | echo |
---|
| 948 | $ac_configure --help |
---|
| 949 | else |
---|
| 950 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 951 | fi |
---|
| 952 | cd $ac_popdir |
---|
| 953 | done |
---|
| 954 | fi |
---|
| 955 | |
---|
| 956 | test -n "$ac_init_help" && exit 0 |
---|
| 957 | if $ac_init_version; then |
---|
| 958 | cat <<\_ACEOF |
---|
| 959 | |
---|
| 960 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 961 | This configure script is free software; the Free Software Foundation |
---|
| 962 | gives unlimited permission to copy, distribute and modify it. |
---|
| 963 | _ACEOF |
---|
| 964 | exit 0 |
---|
| 965 | fi |
---|
| 966 | exec 5>config.log |
---|
| 967 | cat >&5 <<_ACEOF |
---|
| 968 | This file contains any messages produced by compilers while |
---|
| 969 | running configure, to aid debugging if configure makes a mistake. |
---|
| 970 | |
---|
| 971 | It was created by $as_me, which was |
---|
| 972 | generated by GNU Autoconf 2.58. Invocation command line was |
---|
| 973 | |
---|
| 974 | $ $0 $@ |
---|
| 975 | |
---|
| 976 | _ACEOF |
---|
| 977 | { |
---|
| 978 | cat <<_ASUNAME |
---|
| 979 | ## --------- ## |
---|
| 980 | ## Platform. ## |
---|
| 981 | ## --------- ## |
---|
| 982 | |
---|
| 983 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 984 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 985 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 986 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 987 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 988 | |
---|
| 989 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 990 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 991 | |
---|
| 992 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 993 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 994 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 995 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
| 996 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 997 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 998 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 999 | |
---|
| 1000 | _ASUNAME |
---|
| 1001 | |
---|
| 1002 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1003 | for as_dir in $PATH |
---|
| 1004 | do |
---|
| 1005 | IFS=$as_save_IFS |
---|
| 1006 | test -z "$as_dir" && as_dir=. |
---|
| 1007 | echo "PATH: $as_dir" |
---|
| 1008 | done |
---|
| 1009 | |
---|
| 1010 | } >&5 |
---|
| 1011 | |
---|
| 1012 | cat >&5 <<_ACEOF |
---|
| 1013 | |
---|
| 1014 | |
---|
| 1015 | ## ----------- ## |
---|
| 1016 | ## Core tests. ## |
---|
| 1017 | ## ----------- ## |
---|
| 1018 | |
---|
| 1019 | _ACEOF |
---|
| 1020 | |
---|
| 1021 | |
---|
| 1022 | # Keep a trace of the command line. |
---|
| 1023 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1024 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1025 | # Also quote any args containing shell meta-characters. |
---|
| 1026 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1027 | ac_configure_args= |
---|
| 1028 | ac_configure_args0= |
---|
| 1029 | ac_configure_args1= |
---|
| 1030 | ac_sep= |
---|
| 1031 | ac_must_keep_next=false |
---|
| 1032 | for ac_pass in 1 2 |
---|
| 1033 | do |
---|
| 1034 | for ac_arg |
---|
| 1035 | do |
---|
| 1036 | case $ac_arg in |
---|
| 1037 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1038 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1039 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1040 | continue ;; |
---|
| 1041 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
| 1042 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1043 | esac |
---|
| 1044 | case $ac_pass in |
---|
| 1045 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1046 | 2) |
---|
| 1047 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1048 | if test $ac_must_keep_next = true; then |
---|
| 1049 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1050 | else |
---|
| 1051 | case $ac_arg in |
---|
| 1052 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1053 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1054 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1055 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1056 | case "$ac_configure_args0 " in |
---|
| 1057 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1058 | esac |
---|
| 1059 | ;; |
---|
| 1060 | -* ) ac_must_keep_next=true ;; |
---|
| 1061 | esac |
---|
| 1062 | fi |
---|
| 1063 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
| 1064 | # Get rid of the leading space. |
---|
| 1065 | ac_sep=" " |
---|
| 1066 | ;; |
---|
| 1067 | esac |
---|
| 1068 | done |
---|
| 1069 | done |
---|
| 1070 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1071 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1072 | |
---|
| 1073 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1074 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1075 | # would cause problems or look ugly. |
---|
| 1076 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
| 1077 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
| 1078 | trap 'exit_status=$? |
---|
| 1079 | # Save into config.log some information that might help in debugging. |
---|
| 1080 | { |
---|
| 1081 | echo |
---|
| 1082 | |
---|
| 1083 | cat <<\_ASBOX |
---|
| 1084 | ## ---------------- ## |
---|
| 1085 | ## Cache variables. ## |
---|
| 1086 | ## ---------------- ## |
---|
| 1087 | _ASBOX |
---|
| 1088 | echo |
---|
| 1089 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1090 | { |
---|
| 1091 | (set) 2>&1 | |
---|
| 1092 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
| 1093 | *ac_space=\ *) |
---|
| 1094 | sed -n \ |
---|
| 1095 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
| 1096 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
| 1097 | ;; |
---|
| 1098 | *) |
---|
| 1099 | sed -n \ |
---|
| 1100 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
| 1101 | ;; |
---|
| 1102 | esac; |
---|
| 1103 | } |
---|
| 1104 | echo |
---|
| 1105 | |
---|
| 1106 | cat <<\_ASBOX |
---|
| 1107 | ## ----------------- ## |
---|
| 1108 | ## Output variables. ## |
---|
| 1109 | ## ----------------- ## |
---|
| 1110 | _ASBOX |
---|
| 1111 | echo |
---|
| 1112 | for ac_var in $ac_subst_vars |
---|
| 1113 | do |
---|
| 1114 | eval ac_val=$`echo $ac_var` |
---|
| 1115 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
| 1116 | done | sort |
---|
| 1117 | echo |
---|
| 1118 | |
---|
| 1119 | if test -n "$ac_subst_files"; then |
---|
| 1120 | cat <<\_ASBOX |
---|
| 1121 | ## ------------- ## |
---|
| 1122 | ## Output files. ## |
---|
| 1123 | ## ------------- ## |
---|
| 1124 | _ASBOX |
---|
| 1125 | echo |
---|
| 1126 | for ac_var in $ac_subst_files |
---|
| 1127 | do |
---|
| 1128 | eval ac_val=$`echo $ac_var` |
---|
| 1129 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
| 1130 | done | sort |
---|
| 1131 | echo |
---|
| 1132 | fi |
---|
| 1133 | |
---|
| 1134 | if test -s confdefs.h; then |
---|
| 1135 | cat <<\_ASBOX |
---|
| 1136 | ## ----------- ## |
---|
| 1137 | ## confdefs.h. ## |
---|
| 1138 | ## ----------- ## |
---|
| 1139 | _ASBOX |
---|
| 1140 | echo |
---|
| 1141 | sed "/^$/d" confdefs.h | sort |
---|
| 1142 | echo |
---|
| 1143 | fi |
---|
| 1144 | test "$ac_signal" != 0 && |
---|
| 1145 | echo "$as_me: caught signal $ac_signal" |
---|
| 1146 | echo "$as_me: exit $exit_status" |
---|
| 1147 | } >&5 |
---|
| 1148 | rm -f core *.core && |
---|
| 1149 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 1150 | exit $exit_status |
---|
| 1151 | ' 0 |
---|
| 1152 | for ac_signal in 1 2 13 15; do |
---|
| 1153 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1154 | done |
---|
| 1155 | ac_signal=0 |
---|
| 1156 | |
---|
| 1157 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 1158 | rm -rf conftest* confdefs.h |
---|
| 1159 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
| 1160 | echo >confdefs.h |
---|
| 1161 | |
---|
| 1162 | # Predefined preprocessor variables. |
---|
| 1163 | |
---|
| 1164 | cat >>confdefs.h <<_ACEOF |
---|
| 1165 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1166 | _ACEOF |
---|
| 1167 | |
---|
| 1168 | |
---|
| 1169 | cat >>confdefs.h <<_ACEOF |
---|
| 1170 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1171 | _ACEOF |
---|
| 1172 | |
---|
| 1173 | |
---|
| 1174 | cat >>confdefs.h <<_ACEOF |
---|
| 1175 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1176 | _ACEOF |
---|
| 1177 | |
---|
| 1178 | |
---|
| 1179 | cat >>confdefs.h <<_ACEOF |
---|
| 1180 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1181 | _ACEOF |
---|
| 1182 | |
---|
| 1183 | |
---|
| 1184 | cat >>confdefs.h <<_ACEOF |
---|
| 1185 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1186 | _ACEOF |
---|
| 1187 | |
---|
| 1188 | |
---|
| 1189 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1190 | # Prefer explicitly selected file to automatically selected ones. |
---|
| 1191 | if test -z "$CONFIG_SITE"; then |
---|
| 1192 | if test "x$prefix" != xNONE; then |
---|
| 1193 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
| 1194 | else |
---|
| 1195 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
| 1196 | fi |
---|
| 1197 | fi |
---|
| 1198 | for ac_site_file in $CONFIG_SITE; do |
---|
| 1199 | if test -r "$ac_site_file"; then |
---|
| 1200 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1201 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1202 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1203 | . "$ac_site_file" |
---|
| 1204 | fi |
---|
| 1205 | done |
---|
| 1206 | |
---|
| 1207 | if test -r "$cache_file"; then |
---|
| 1208 | # Some versions of bash will fail to source /dev/null (special |
---|
| 1209 | # files actually), so we avoid doing that. |
---|
| 1210 | if test -f "$cache_file"; then |
---|
| 1211 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
| 1212 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1213 | case $cache_file in |
---|
| 1214 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
| 1215 | *) . ./$cache_file;; |
---|
| 1216 | esac |
---|
| 1217 | fi |
---|
| 1218 | else |
---|
| 1219 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
| 1220 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1221 | >$cache_file |
---|
| 1222 | fi |
---|
| 1223 | |
---|
| 1224 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1225 | # value. |
---|
| 1226 | ac_cache_corrupted=false |
---|
| 1227 | for ac_var in `(set) 2>&1 | |
---|
| 1228 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
| 1229 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1230 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 1231 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
| 1232 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
| 1233 | case $ac_old_set,$ac_new_set in |
---|
| 1234 | set,) |
---|
| 1235 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1236 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1237 | ac_cache_corrupted=: ;; |
---|
| 1238 | ,set) |
---|
| 1239 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1240 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1241 | ac_cache_corrupted=: ;; |
---|
| 1242 | ,);; |
---|
| 1243 | *) |
---|
| 1244 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1245 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1246 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1247 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1248 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1249 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1250 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1251 | ac_cache_corrupted=: |
---|
| 1252 | fi;; |
---|
| 1253 | esac |
---|
| 1254 | # Pass precious variables to config.status. |
---|
| 1255 | if test "$ac_new_set" = set; then |
---|
| 1256 | case $ac_new_val in |
---|
| 1257 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
| 1258 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1259 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1260 | esac |
---|
| 1261 | case " $ac_configure_args " in |
---|
| 1262 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1263 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1264 | esac |
---|
| 1265 | fi |
---|
| 1266 | done |
---|
| 1267 | if $ac_cache_corrupted; then |
---|
| 1268 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1269 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1270 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1271 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1272 | { (exit 1); exit 1; }; } |
---|
| 1273 | fi |
---|
| 1274 | |
---|
| 1275 | ac_ext=c |
---|
| 1276 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1277 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1278 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1279 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1280 | |
---|
| 1281 | |
---|
| 1282 | |
---|
| 1283 | |
---|
| 1284 | |
---|
| 1285 | |
---|
| 1286 | |
---|
| 1287 | |
---|
| 1288 | |
---|
| 1289 | |
---|
| 1290 | |
---|
| 1291 | |
---|
| 1292 | |
---|
| 1293 | |
---|
| 1294 | |
---|
| 1295 | |
---|
| 1296 | |
---|
| 1297 | |
---|
| 1298 | |
---|
| 1299 | am__api_version="1.8" |
---|
| 1300 | ac_aux_dir= |
---|
| 1301 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
| 1302 | if test -f $ac_dir/install-sh; then |
---|
| 1303 | ac_aux_dir=$ac_dir |
---|
| 1304 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 1305 | break |
---|
| 1306 | elif test -f $ac_dir/install.sh; then |
---|
| 1307 | ac_aux_dir=$ac_dir |
---|
| 1308 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 1309 | break |
---|
| 1310 | elif test -f $ac_dir/shtool; then |
---|
| 1311 | ac_aux_dir=$ac_dir |
---|
| 1312 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 1313 | break |
---|
| 1314 | fi |
---|
| 1315 | done |
---|
| 1316 | if test -z "$ac_aux_dir"; then |
---|
| 1317 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
---|
| 1318 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
---|
| 1319 | { (exit 1); exit 1; }; } |
---|
| 1320 | fi |
---|
| 1321 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
---|
| 1322 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
---|
| 1323 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
---|
| 1324 | |
---|
| 1325 | # Find a good install program. We prefer a C program (faster), |
---|
| 1326 | # so one script is as good as another. But avoid the broken or |
---|
| 1327 | # incompatible versions: |
---|
| 1328 | # SysV /etc/install, /usr/sbin/install |
---|
| 1329 | # SunOS /usr/etc/install |
---|
| 1330 | # IRIX /sbin/install |
---|
| 1331 | # AIX /bin/install |
---|
| 1332 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 1333 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 1334 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 1335 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 1336 | # OS/2's system install, which has a completely different semantic |
---|
| 1337 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 1338 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
| 1339 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
| 1340 | if test -z "$INSTALL"; then |
---|
| 1341 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 1342 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1343 | else |
---|
| 1344 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1345 | for as_dir in $PATH |
---|
| 1346 | do |
---|
| 1347 | IFS=$as_save_IFS |
---|
| 1348 | test -z "$as_dir" && as_dir=. |
---|
| 1349 | # Account for people who put trailing slashes in PATH elements. |
---|
| 1350 | case $as_dir/ in |
---|
| 1351 | ./ | .// | /cC/* | \ |
---|
| 1352 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 1353 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
| 1354 | /usr/ucb/* ) ;; |
---|
| 1355 | *) |
---|
| 1356 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 1357 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 1358 | # by default. |
---|
| 1359 | for ac_prog in ginstall scoinst install; do |
---|
| 1360 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1361 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
| 1362 | if test $ac_prog = install && |
---|
| 1363 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1364 | # AIX install. It has an incompatible calling convention. |
---|
| 1365 | : |
---|
| 1366 | elif test $ac_prog = install && |
---|
| 1367 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1368 | # program-specific install script used by HP pwplus--don't use. |
---|
| 1369 | : |
---|
| 1370 | else |
---|
| 1371 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 1372 | break 3 |
---|
| 1373 | fi |
---|
| 1374 | fi |
---|
| 1375 | done |
---|
| 1376 | done |
---|
| 1377 | ;; |
---|
| 1378 | esac |
---|
| 1379 | done |
---|
| 1380 | |
---|
| 1381 | |
---|
| 1382 | fi |
---|
| 1383 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 1384 | INSTALL=$ac_cv_path_install |
---|
| 1385 | else |
---|
| 1386 | # As a last resort, use the slow shell script. We don't cache a |
---|
| 1387 | # path for INSTALL within a source directory, because that will |
---|
| 1388 | # break other packages using the cache if that directory is |
---|
| 1389 | # removed, or if the path is relative. |
---|
| 1390 | INSTALL=$ac_install_sh |
---|
| 1391 | fi |
---|
| 1392 | fi |
---|
| 1393 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
| 1394 | echo "${ECHO_T}$INSTALL" >&6 |
---|
| 1395 | |
---|
| 1396 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 1397 | # It thinks the first close brace ends the variable substitution. |
---|
| 1398 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 1399 | |
---|
| 1400 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 1401 | |
---|
| 1402 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 1403 | |
---|
| 1404 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
---|
| 1405 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
---|
| 1406 | # Just in case |
---|
| 1407 | sleep 1 |
---|
| 1408 | echo timestamp > conftest.file |
---|
| 1409 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
| 1410 | # arguments. Must try -L first in case configure is actually a |
---|
| 1411 | # symlink; some systems play weird games with the mod time of symlinks |
---|
| 1412 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
| 1413 | # directory). |
---|
| 1414 | if ( |
---|
| 1415 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
---|
| 1416 | if test "$*" = "X"; then |
---|
| 1417 | # -L didn't work. |
---|
| 1418 | set X `ls -t $srcdir/configure conftest.file` |
---|
| 1419 | fi |
---|
| 1420 | rm -f conftest.file |
---|
| 1421 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
| 1422 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
| 1423 | |
---|
| 1424 | # If neither matched, then we have a broken ls. This can happen |
---|
| 1425 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
| 1426 | # broken ls alias from the environment. This has actually |
---|
| 1427 | # happened. Such a system could not be considered "sane". |
---|
| 1428 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
---|
| 1429 | alias in your environment" >&5 |
---|
| 1430 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
---|
| 1431 | alias in your environment" >&2;} |
---|
| 1432 | { (exit 1); exit 1; }; } |
---|
| 1433 | fi |
---|
| 1434 | |
---|
| 1435 | test "$2" = conftest.file |
---|
| 1436 | ) |
---|
| 1437 | then |
---|
| 1438 | # Ok. |
---|
| 1439 | : |
---|
| 1440 | else |
---|
| 1441 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
---|
| 1442 | Check your system clock" >&5 |
---|
| 1443 | echo "$as_me: error: newly created file is older than distributed files! |
---|
| 1444 | Check your system clock" >&2;} |
---|
| 1445 | { (exit 1); exit 1; }; } |
---|
| 1446 | fi |
---|
| 1447 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 1448 | echo "${ECHO_T}yes" >&6 |
---|
| 1449 | test "$program_prefix" != NONE && |
---|
| 1450 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
---|
| 1451 | # Use a double $ so make ignores it. |
---|
| 1452 | test "$program_suffix" != NONE && |
---|
| 1453 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
---|
| 1454 | # Double any \ or $. echo might interpret backslashes. |
---|
| 1455 | # By default was `s,x,x', remove it if useless. |
---|
| 1456 | cat <<\_ACEOF >conftest.sed |
---|
| 1457 | s/[\\$]/&&/g;s/;s,x,x,$// |
---|
| 1458 | _ACEOF |
---|
| 1459 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
---|
| 1460 | rm conftest.sed |
---|
| 1461 | |
---|
| 1462 | # expand $ac_aux_dir to an absolute path |
---|
| 1463 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
| 1464 | |
---|
| 1465 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
---|
| 1466 | # Use eval to expand $SHELL |
---|
| 1467 | if eval "$MISSING --run true"; then |
---|
| 1468 | am_missing_run="$MISSING --run " |
---|
| 1469 | else |
---|
| 1470 | am_missing_run= |
---|
| 1471 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
---|
| 1472 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
| 1473 | fi |
---|
| 1474 | |
---|
| 1475 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
---|
| 1476 | # Keeping the `.' argument allows $(mkdir_p) to be used without |
---|
| 1477 | # argument. Indeed, we sometimes output rules like |
---|
| 1478 | # $(mkdir_p) $(somedir) |
---|
| 1479 | # where $(somedir) is conditionally defined. |
---|
| 1480 | # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more |
---|
| 1481 | # expensive solution, as it forces Make to start a sub-shell.) |
---|
| 1482 | mkdir_p='mkdir -p -- .' |
---|
| 1483 | else |
---|
| 1484 | # On NextStep and OpenStep, the `mkdir' command does not |
---|
| 1485 | # recognize any option. It will interpret all options as |
---|
| 1486 | # directories to create, and then abort because `.' already |
---|
| 1487 | # exists. |
---|
| 1488 | for d in ./-p ./--version; |
---|
| 1489 | do |
---|
| 1490 | test -d $d && rmdir $d |
---|
| 1491 | done |
---|
| 1492 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
---|
| 1493 | if test -f "$ac_aux_dir/mkinstalldirs"; then |
---|
| 1494 | mkdir_p='$(mkinstalldirs)' |
---|
| 1495 | else |
---|
| 1496 | mkdir_p='$(install_sh) -d' |
---|
| 1497 | fi |
---|
| 1498 | fi |
---|
| 1499 | |
---|
| 1500 | for ac_prog in gawk mawk nawk awk |
---|
| 1501 | do |
---|
| 1502 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1503 | set dummy $ac_prog; ac_word=$2 |
---|
| 1504 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1505 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1506 | if test "${ac_cv_prog_AWK+set}" = set; then |
---|
| 1507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1508 | else |
---|
| 1509 | if test -n "$AWK"; then |
---|
| 1510 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
| 1511 | else |
---|
| 1512 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1513 | for as_dir in $PATH |
---|
| 1514 | do |
---|
| 1515 | IFS=$as_save_IFS |
---|
| 1516 | test -z "$as_dir" && as_dir=. |
---|
| 1517 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1518 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1519 | ac_cv_prog_AWK="$ac_prog" |
---|
| 1520 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1521 | break 2 |
---|
| 1522 | fi |
---|
| 1523 | done |
---|
| 1524 | done |
---|
| 1525 | |
---|
| 1526 | fi |
---|
| 1527 | fi |
---|
| 1528 | AWK=$ac_cv_prog_AWK |
---|
| 1529 | if test -n "$AWK"; then |
---|
| 1530 | echo "$as_me:$LINENO: result: $AWK" >&5 |
---|
| 1531 | echo "${ECHO_T}$AWK" >&6 |
---|
| 1532 | else |
---|
| 1533 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1534 | echo "${ECHO_T}no" >&6 |
---|
| 1535 | fi |
---|
| 1536 | |
---|
| 1537 | test -n "$AWK" && break |
---|
| 1538 | done |
---|
| 1539 | |
---|
| 1540 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
| 1541 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
---|
| 1542 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
---|
| 1543 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
---|
| 1544 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1545 | else |
---|
| 1546 | cat >conftest.make <<\_ACEOF |
---|
| 1547 | all: |
---|
| 1548 | @echo 'ac_maketemp="$(MAKE)"' |
---|
| 1549 | _ACEOF |
---|
| 1550 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
| 1551 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
---|
| 1552 | if test -n "$ac_maketemp"; then |
---|
| 1553 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
| 1554 | else |
---|
| 1555 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
| 1556 | fi |
---|
| 1557 | rm -f conftest.make |
---|
| 1558 | fi |
---|
| 1559 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
| 1560 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 1561 | echo "${ECHO_T}yes" >&6 |
---|
| 1562 | SET_MAKE= |
---|
| 1563 | else |
---|
| 1564 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1565 | echo "${ECHO_T}no" >&6 |
---|
| 1566 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 1567 | fi |
---|
| 1568 | |
---|
| 1569 | rm -rf .tst 2>/dev/null |
---|
| 1570 | mkdir .tst 2>/dev/null |
---|
| 1571 | if test -d .tst; then |
---|
| 1572 | am__leading_dot=. |
---|
| 1573 | else |
---|
| 1574 | am__leading_dot=_ |
---|
| 1575 | fi |
---|
| 1576 | rmdir .tst 2>/dev/null |
---|
| 1577 | |
---|
| 1578 | # test to see if srcdir already configured |
---|
| 1579 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
---|
| 1580 | test -f $srcdir/config.status; then |
---|
| 1581 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
---|
| 1582 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
---|
| 1583 | { (exit 1); exit 1; }; } |
---|
| 1584 | fi |
---|
| 1585 | |
---|
| 1586 | # test whether we have cygpath |
---|
| 1587 | if test -z "$CYGPATH_W"; then |
---|
| 1588 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
| 1589 | CYGPATH_W='cygpath -w' |
---|
| 1590 | else |
---|
| 1591 | CYGPATH_W=echo |
---|
| 1592 | fi |
---|
| 1593 | fi |
---|
| 1594 | |
---|
| 1595 | |
---|
| 1596 | # Define the identity of the package. |
---|
| 1597 | PACKAGE=orxonox |
---|
| 1598 | VERSION=0.0.0 |
---|
| 1599 | |
---|
| 1600 | |
---|
| 1601 | cat >>confdefs.h <<_ACEOF |
---|
| 1602 | #define PACKAGE "$PACKAGE" |
---|
| 1603 | _ACEOF |
---|
| 1604 | |
---|
| 1605 | |
---|
| 1606 | cat >>confdefs.h <<_ACEOF |
---|
| 1607 | #define VERSION "$VERSION" |
---|
| 1608 | _ACEOF |
---|
| 1609 | |
---|
| 1610 | # Some tools Automake needs. |
---|
| 1611 | |
---|
| 1612 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
| 1613 | |
---|
| 1614 | |
---|
| 1615 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
| 1616 | |
---|
| 1617 | |
---|
| 1618 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
| 1619 | |
---|
| 1620 | |
---|
| 1621 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
| 1622 | |
---|
| 1623 | |
---|
| 1624 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
| 1625 | |
---|
| 1626 | |
---|
| 1627 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
| 1628 | |
---|
| 1629 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
---|
| 1630 | |
---|
| 1631 | # Installed binaries are usually stripped using `strip' when the user |
---|
| 1632 | # run `make install-strip'. However `strip' might not be the right |
---|
| 1633 | # tool to use in cross-compilation environments, therefore Automake |
---|
| 1634 | # will honor the `STRIP' environment variable to overrule this program. |
---|
| 1635 | if test "$cross_compiling" != no; then |
---|
| 1636 | if test -n "$ac_tool_prefix"; then |
---|
| 1637 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
| 1638 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
| 1639 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1640 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1641 | if test "${ac_cv_prog_STRIP+set}" = set; then |
---|
| 1642 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1643 | else |
---|
| 1644 | if test -n "$STRIP"; then |
---|
| 1645 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
| 1646 | else |
---|
| 1647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1648 | for as_dir in $PATH |
---|
| 1649 | do |
---|
| 1650 | IFS=$as_save_IFS |
---|
| 1651 | test -z "$as_dir" && as_dir=. |
---|
| 1652 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1653 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1654 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
| 1655 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1656 | break 2 |
---|
| 1657 | fi |
---|
| 1658 | done |
---|
| 1659 | done |
---|
| 1660 | |
---|
| 1661 | fi |
---|
| 1662 | fi |
---|
| 1663 | STRIP=$ac_cv_prog_STRIP |
---|
| 1664 | if test -n "$STRIP"; then |
---|
| 1665 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
---|
| 1666 | echo "${ECHO_T}$STRIP" >&6 |
---|
| 1667 | else |
---|
| 1668 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1669 | echo "${ECHO_T}no" >&6 |
---|
| 1670 | fi |
---|
| 1671 | |
---|
| 1672 | fi |
---|
| 1673 | if test -z "$ac_cv_prog_STRIP"; then |
---|
| 1674 | ac_ct_STRIP=$STRIP |
---|
| 1675 | # Extract the first word of "strip", so it can be a program name with args. |
---|
| 1676 | set dummy strip; ac_word=$2 |
---|
| 1677 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1678 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1679 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
---|
| 1680 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1681 | else |
---|
| 1682 | if test -n "$ac_ct_STRIP"; then |
---|
| 1683 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
| 1684 | else |
---|
| 1685 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1686 | for as_dir in $PATH |
---|
| 1687 | do |
---|
| 1688 | IFS=$as_save_IFS |
---|
| 1689 | test -z "$as_dir" && as_dir=. |
---|
| 1690 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1691 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1692 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
| 1693 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1694 | break 2 |
---|
| 1695 | fi |
---|
| 1696 | done |
---|
| 1697 | done |
---|
| 1698 | |
---|
| 1699 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
---|
| 1700 | fi |
---|
| 1701 | fi |
---|
| 1702 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
| 1703 | if test -n "$ac_ct_STRIP"; then |
---|
| 1704 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
---|
| 1705 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
---|
| 1706 | else |
---|
| 1707 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1708 | echo "${ECHO_T}no" >&6 |
---|
| 1709 | fi |
---|
| 1710 | |
---|
| 1711 | STRIP=$ac_ct_STRIP |
---|
| 1712 | else |
---|
| 1713 | STRIP="$ac_cv_prog_STRIP" |
---|
| 1714 | fi |
---|
| 1715 | |
---|
| 1716 | fi |
---|
| 1717 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
---|
| 1718 | |
---|
| 1719 | # We need awk for the "check" target. The system "awk" is bad on |
---|
| 1720 | # some platforms. |
---|
| 1721 | |
---|
| 1722 | |
---|
| 1723 | |
---|
| 1724 | |
---|
| 1725 | ac_config_headers="$ac_config_headers config.h" |
---|
| 1726 | |
---|
| 1727 | |
---|
| 1728 | |
---|
| 1729 | |
---|
| 1730 | ISODATE=`date +%Y-%m-%d` |
---|
| 1731 | |
---|
| 1732 | |
---|
| 1733 | # Make sure we can run config.sub. |
---|
| 1734 | $ac_config_sub sun4 >/dev/null 2>&1 || |
---|
| 1735 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
---|
| 1736 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
---|
| 1737 | { (exit 1); exit 1; }; } |
---|
| 1738 | |
---|
| 1739 | echo "$as_me:$LINENO: checking build system type" >&5 |
---|
| 1740 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
---|
| 1741 | if test "${ac_cv_build+set}" = set; then |
---|
| 1742 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1743 | else |
---|
| 1744 | ac_cv_build_alias=$build_alias |
---|
| 1745 | test -z "$ac_cv_build_alias" && |
---|
| 1746 | ac_cv_build_alias=`$ac_config_guess` |
---|
| 1747 | test -z "$ac_cv_build_alias" && |
---|
| 1748 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
---|
| 1749 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
---|
| 1750 | { (exit 1); exit 1; }; } |
---|
| 1751 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
---|
| 1752 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
---|
| 1753 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
---|
| 1754 | { (exit 1); exit 1; }; } |
---|
| 1755 | |
---|
| 1756 | fi |
---|
| 1757 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
---|
| 1758 | echo "${ECHO_T}$ac_cv_build" >&6 |
---|
| 1759 | build=$ac_cv_build |
---|
| 1760 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
| 1761 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
| 1762 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
| 1763 | |
---|
| 1764 | |
---|
| 1765 | echo "$as_me:$LINENO: checking host system type" >&5 |
---|
| 1766 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
---|
| 1767 | if test "${ac_cv_host+set}" = set; then |
---|
| 1768 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1769 | else |
---|
| 1770 | ac_cv_host_alias=$host_alias |
---|
| 1771 | test -z "$ac_cv_host_alias" && |
---|
| 1772 | ac_cv_host_alias=$ac_cv_build_alias |
---|
| 1773 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
---|
| 1774 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
---|
| 1775 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
---|
| 1776 | { (exit 1); exit 1; }; } |
---|
| 1777 | |
---|
| 1778 | fi |
---|
| 1779 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
---|
| 1780 | echo "${ECHO_T}$ac_cv_host" >&6 |
---|
| 1781 | host=$ac_cv_host |
---|
| 1782 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
| 1783 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
| 1784 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
| 1785 | |
---|
| 1786 | |
---|
| 1787 | |
---|
| 1788 | # Find a good install program. We prefer a C program (faster), |
---|
| 1789 | # so one script is as good as another. But avoid the broken or |
---|
| 1790 | # incompatible versions: |
---|
| 1791 | # SysV /etc/install, /usr/sbin/install |
---|
| 1792 | # SunOS /usr/etc/install |
---|
| 1793 | # IRIX /sbin/install |
---|
| 1794 | # AIX /bin/install |
---|
| 1795 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 1796 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 1797 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 1798 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 1799 | # OS/2's system install, which has a completely different semantic |
---|
| 1800 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 1801 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
| 1802 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
| 1803 | if test -z "$INSTALL"; then |
---|
| 1804 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 1805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1806 | else |
---|
| 1807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1808 | for as_dir in $PATH |
---|
| 1809 | do |
---|
| 1810 | IFS=$as_save_IFS |
---|
| 1811 | test -z "$as_dir" && as_dir=. |
---|
| 1812 | # Account for people who put trailing slashes in PATH elements. |
---|
| 1813 | case $as_dir/ in |
---|
| 1814 | ./ | .// | /cC/* | \ |
---|
| 1815 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 1816 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
| 1817 | /usr/ucb/* ) ;; |
---|
| 1818 | *) |
---|
| 1819 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 1820 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 1821 | # by default. |
---|
| 1822 | for ac_prog in ginstall scoinst install; do |
---|
| 1823 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1824 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
| 1825 | if test $ac_prog = install && |
---|
| 1826 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1827 | # AIX install. It has an incompatible calling convention. |
---|
| 1828 | : |
---|
| 1829 | elif test $ac_prog = install && |
---|
| 1830 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 1831 | # program-specific install script used by HP pwplus--don't use. |
---|
| 1832 | : |
---|
| 1833 | else |
---|
| 1834 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 1835 | break 3 |
---|
| 1836 | fi |
---|
| 1837 | fi |
---|
| 1838 | done |
---|
| 1839 | done |
---|
| 1840 | ;; |
---|
| 1841 | esac |
---|
| 1842 | done |
---|
| 1843 | |
---|
| 1844 | |
---|
| 1845 | fi |
---|
| 1846 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 1847 | INSTALL=$ac_cv_path_install |
---|
| 1848 | else |
---|
| 1849 | # As a last resort, use the slow shell script. We don't cache a |
---|
| 1850 | # path for INSTALL within a source directory, because that will |
---|
| 1851 | # break other packages using the cache if that directory is |
---|
| 1852 | # removed, or if the path is relative. |
---|
| 1853 | INSTALL=$ac_install_sh |
---|
| 1854 | fi |
---|
| 1855 | fi |
---|
| 1856 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
| 1857 | echo "${ECHO_T}$INSTALL" >&6 |
---|
| 1858 | |
---|
| 1859 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 1860 | # It thinks the first close brace ends the variable substitution. |
---|
| 1861 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 1862 | |
---|
| 1863 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 1864 | |
---|
| 1865 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 1866 | |
---|
| 1867 | ac_ext=c |
---|
| 1868 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1869 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1870 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1871 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1872 | if test -n "$ac_tool_prefix"; then |
---|
| 1873 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 1874 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
| 1875 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1876 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1877 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1878 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1879 | else |
---|
| 1880 | if test -n "$CC"; then |
---|
| 1881 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1882 | else |
---|
| 1883 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1884 | for as_dir in $PATH |
---|
| 1885 | do |
---|
| 1886 | IFS=$as_save_IFS |
---|
| 1887 | test -z "$as_dir" && as_dir=. |
---|
| 1888 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1889 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1890 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 1891 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1892 | break 2 |
---|
| 1893 | fi |
---|
| 1894 | done |
---|
| 1895 | done |
---|
| 1896 | |
---|
| 1897 | fi |
---|
| 1898 | fi |
---|
| 1899 | CC=$ac_cv_prog_CC |
---|
| 1900 | if test -n "$CC"; then |
---|
| 1901 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1902 | echo "${ECHO_T}$CC" >&6 |
---|
| 1903 | else |
---|
| 1904 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1905 | echo "${ECHO_T}no" >&6 |
---|
| 1906 | fi |
---|
| 1907 | |
---|
| 1908 | fi |
---|
| 1909 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1910 | ac_ct_CC=$CC |
---|
| 1911 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 1912 | set dummy gcc; ac_word=$2 |
---|
| 1913 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1914 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1915 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1916 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1917 | else |
---|
| 1918 | if test -n "$ac_ct_CC"; then |
---|
| 1919 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1920 | else |
---|
| 1921 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1922 | for as_dir in $PATH |
---|
| 1923 | do |
---|
| 1924 | IFS=$as_save_IFS |
---|
| 1925 | test -z "$as_dir" && as_dir=. |
---|
| 1926 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1927 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1928 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 1929 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1930 | break 2 |
---|
| 1931 | fi |
---|
| 1932 | done |
---|
| 1933 | done |
---|
| 1934 | |
---|
| 1935 | fi |
---|
| 1936 | fi |
---|
| 1937 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1938 | if test -n "$ac_ct_CC"; then |
---|
| 1939 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1940 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
| 1941 | else |
---|
| 1942 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1943 | echo "${ECHO_T}no" >&6 |
---|
| 1944 | fi |
---|
| 1945 | |
---|
| 1946 | CC=$ac_ct_CC |
---|
| 1947 | else |
---|
| 1948 | CC="$ac_cv_prog_CC" |
---|
| 1949 | fi |
---|
| 1950 | |
---|
| 1951 | if test -z "$CC"; then |
---|
| 1952 | if test -n "$ac_tool_prefix"; then |
---|
| 1953 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 1954 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
| 1955 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1956 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1957 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1958 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1959 | else |
---|
| 1960 | if test -n "$CC"; then |
---|
| 1961 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1962 | else |
---|
| 1963 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1964 | for as_dir in $PATH |
---|
| 1965 | do |
---|
| 1966 | IFS=$as_save_IFS |
---|
| 1967 | test -z "$as_dir" && as_dir=. |
---|
| 1968 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1969 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1970 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 1971 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1972 | break 2 |
---|
| 1973 | fi |
---|
| 1974 | done |
---|
| 1975 | done |
---|
| 1976 | |
---|
| 1977 | fi |
---|
| 1978 | fi |
---|
| 1979 | CC=$ac_cv_prog_CC |
---|
| 1980 | if test -n "$CC"; then |
---|
| 1981 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1982 | echo "${ECHO_T}$CC" >&6 |
---|
| 1983 | else |
---|
| 1984 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1985 | echo "${ECHO_T}no" >&6 |
---|
| 1986 | fi |
---|
| 1987 | |
---|
| 1988 | fi |
---|
| 1989 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1990 | ac_ct_CC=$CC |
---|
| 1991 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 1992 | set dummy cc; ac_word=$2 |
---|
| 1993 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1994 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1995 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1996 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1997 | else |
---|
| 1998 | if test -n "$ac_ct_CC"; then |
---|
| 1999 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2000 | else |
---|
| 2001 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2002 | for as_dir in $PATH |
---|
| 2003 | do |
---|
| 2004 | IFS=$as_save_IFS |
---|
| 2005 | test -z "$as_dir" && as_dir=. |
---|
| 2006 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2007 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2008 | ac_cv_prog_ac_ct_CC="cc" |
---|
| 2009 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2010 | break 2 |
---|
| 2011 | fi |
---|
| 2012 | done |
---|
| 2013 | done |
---|
| 2014 | |
---|
| 2015 | fi |
---|
| 2016 | fi |
---|
| 2017 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2018 | if test -n "$ac_ct_CC"; then |
---|
| 2019 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 2020 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
| 2021 | else |
---|
| 2022 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2023 | echo "${ECHO_T}no" >&6 |
---|
| 2024 | fi |
---|
| 2025 | |
---|
| 2026 | CC=$ac_ct_CC |
---|
| 2027 | else |
---|
| 2028 | CC="$ac_cv_prog_CC" |
---|
| 2029 | fi |
---|
| 2030 | |
---|
| 2031 | fi |
---|
| 2032 | if test -z "$CC"; then |
---|
| 2033 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 2034 | set dummy cc; ac_word=$2 |
---|
| 2035 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 2036 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 2037 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 2038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2039 | else |
---|
| 2040 | if test -n "$CC"; then |
---|
| 2041 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2042 | else |
---|
| 2043 | ac_prog_rejected=no |
---|
| 2044 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2045 | for as_dir in $PATH |
---|
| 2046 | do |
---|
| 2047 | IFS=$as_save_IFS |
---|
| 2048 | test -z "$as_dir" && as_dir=. |
---|
| 2049 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2050 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2051 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 2052 | ac_prog_rejected=yes |
---|
| 2053 | continue |
---|
| 2054 | fi |
---|
| 2055 | ac_cv_prog_CC="cc" |
---|
| 2056 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2057 | break 2 |
---|
| 2058 | fi |
---|
| 2059 | done |
---|
| 2060 | done |
---|
| 2061 | |
---|
| 2062 | if test $ac_prog_rejected = yes; then |
---|
| 2063 | # We found a bogon in the path, so make sure we never use it. |
---|
| 2064 | set dummy $ac_cv_prog_CC |
---|
| 2065 | shift |
---|
| 2066 | if test $# != 0; then |
---|
| 2067 | # We chose a different compiler from the bogus one. |
---|
| 2068 | # However, it has the same basename, so the bogon will be chosen |
---|
| 2069 | # first if we set CC to just the basename; use the full file name. |
---|
| 2070 | shift |
---|
| 2071 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 2072 | fi |
---|
| 2073 | fi |
---|
| 2074 | fi |
---|
| 2075 | fi |
---|
| 2076 | CC=$ac_cv_prog_CC |
---|
| 2077 | if test -n "$CC"; then |
---|
| 2078 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 2079 | echo "${ECHO_T}$CC" >&6 |
---|
| 2080 | else |
---|
| 2081 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2082 | echo "${ECHO_T}no" >&6 |
---|
| 2083 | fi |
---|
| 2084 | |
---|
| 2085 | fi |
---|
| 2086 | if test -z "$CC"; then |
---|
| 2087 | if test -n "$ac_tool_prefix"; then |
---|
| 2088 | for ac_prog in cl |
---|
| 2089 | do |
---|
| 2090 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 2091 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 2092 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 2093 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 2094 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 2095 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2096 | else |
---|
| 2097 | if test -n "$CC"; then |
---|
| 2098 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2099 | else |
---|
| 2100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2101 | for as_dir in $PATH |
---|
| 2102 | do |
---|
| 2103 | IFS=$as_save_IFS |
---|
| 2104 | test -z "$as_dir" && as_dir=. |
---|
| 2105 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2106 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2107 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 2108 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2109 | break 2 |
---|
| 2110 | fi |
---|
| 2111 | done |
---|
| 2112 | done |
---|
| 2113 | |
---|
| 2114 | fi |
---|
| 2115 | fi |
---|
| 2116 | CC=$ac_cv_prog_CC |
---|
| 2117 | if test -n "$CC"; then |
---|
| 2118 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 2119 | echo "${ECHO_T}$CC" >&6 |
---|
| 2120 | else |
---|
| 2121 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2122 | echo "${ECHO_T}no" >&6 |
---|
| 2123 | fi |
---|
| 2124 | |
---|
| 2125 | test -n "$CC" && break |
---|
| 2126 | done |
---|
| 2127 | fi |
---|
| 2128 | if test -z "$CC"; then |
---|
| 2129 | ac_ct_CC=$CC |
---|
| 2130 | for ac_prog in cl |
---|
| 2131 | do |
---|
| 2132 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2133 | set dummy $ac_prog; ac_word=$2 |
---|
| 2134 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 2135 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 2136 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 2137 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2138 | else |
---|
| 2139 | if test -n "$ac_ct_CC"; then |
---|
| 2140 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2141 | else |
---|
| 2142 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2143 | for as_dir in $PATH |
---|
| 2144 | do |
---|
| 2145 | IFS=$as_save_IFS |
---|
| 2146 | test -z "$as_dir" && as_dir=. |
---|
| 2147 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2148 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 2149 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 2150 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2151 | break 2 |
---|
| 2152 | fi |
---|
| 2153 | done |
---|
| 2154 | done |
---|
| 2155 | |
---|
| 2156 | fi |
---|
| 2157 | fi |
---|
| 2158 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2159 | if test -n "$ac_ct_CC"; then |
---|
| 2160 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 2161 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
| 2162 | else |
---|
| 2163 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2164 | echo "${ECHO_T}no" >&6 |
---|
| 2165 | fi |
---|
| 2166 | |
---|
| 2167 | test -n "$ac_ct_CC" && break |
---|
| 2168 | done |
---|
| 2169 | |
---|
| 2170 | CC=$ac_ct_CC |
---|
| 2171 | fi |
---|
| 2172 | |
---|
| 2173 | fi |
---|
| 2174 | |
---|
| 2175 | |
---|
| 2176 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
| 2177 | See \`config.log' for more details." >&5 |
---|
| 2178 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
| 2179 | See \`config.log' for more details." >&2;} |
---|
| 2180 | { (exit 1); exit 1; }; } |
---|
| 2181 | |
---|
| 2182 | # Provide some information about the compiler. |
---|
| 2183 | echo "$as_me:$LINENO:" \ |
---|
| 2184 | "checking for C compiler version" >&5 |
---|
| 2185 | ac_compiler=`set X $ac_compile; echo $2` |
---|
| 2186 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
| 2187 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
| 2188 | ac_status=$? |
---|
| 2189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2190 | (exit $ac_status); } |
---|
| 2191 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
| 2192 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
| 2193 | ac_status=$? |
---|
| 2194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2195 | (exit $ac_status); } |
---|
| 2196 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
| 2197 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
| 2198 | ac_status=$? |
---|
| 2199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2200 | (exit $ac_status); } |
---|
| 2201 | |
---|
| 2202 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2203 | /* confdefs.h. */ |
---|
| 2204 | _ACEOF |
---|
| 2205 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2206 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2207 | /* end confdefs.h. */ |
---|
| 2208 | |
---|
| 2209 | int |
---|
| 2210 | main () |
---|
| 2211 | { |
---|
| 2212 | |
---|
| 2213 | ; |
---|
| 2214 | return 0; |
---|
| 2215 | } |
---|
| 2216 | _ACEOF |
---|
| 2217 | ac_clean_files_save=$ac_clean_files |
---|
| 2218 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
| 2219 | # Try to create an executable without -o first, disregard a.out. |
---|
| 2220 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 2221 | # of exeext. |
---|
| 2222 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
| 2223 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
---|
| 2224 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 2225 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
| 2226 | (eval $ac_link_default) 2>&5 |
---|
| 2227 | ac_status=$? |
---|
| 2228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2229 | (exit $ac_status); }; then |
---|
| 2230 | # Find the output, starting from the most likely. This scheme is |
---|
| 2231 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
| 2232 | # resort. |
---|
| 2233 | |
---|
| 2234 | # Be careful to initialize this variable, since it used to be cached. |
---|
| 2235 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
| 2236 | ac_cv_exeext= |
---|
| 2237 | # b.out is created by i960 compilers. |
---|
| 2238 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
| 2239 | do |
---|
| 2240 | test -f "$ac_file" || continue |
---|
| 2241 | case $ac_file in |
---|
| 2242 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
| 2243 | ;; |
---|
| 2244 | conftest.$ac_ext ) |
---|
| 2245 | # This is the source file. |
---|
| 2246 | ;; |
---|
| 2247 | [ab].out ) |
---|
| 2248 | # We found the default executable, but exeext='' is most |
---|
| 2249 | # certainly right. |
---|
| 2250 | break;; |
---|
| 2251 | *.* ) |
---|
| 2252 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2253 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
| 2254 | # but it would be cool to find out if it's true. Does anybody |
---|
| 2255 | # maintain Libtool? --akim. |
---|
| 2256 | export ac_cv_exeext |
---|
| 2257 | break;; |
---|
| 2258 | * ) |
---|
| 2259 | break;; |
---|
| 2260 | esac |
---|
| 2261 | done |
---|
| 2262 | else |
---|
| 2263 | echo "$as_me: failed program was:" >&5 |
---|
| 2264 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2265 | |
---|
| 2266 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
| 2267 | See \`config.log' for more details." >&5 |
---|
| 2268 | echo "$as_me: error: C compiler cannot create executables |
---|
| 2269 | See \`config.log' for more details." >&2;} |
---|
| 2270 | { (exit 77); exit 77; }; } |
---|
| 2271 | fi |
---|
| 2272 | |
---|
| 2273 | ac_exeext=$ac_cv_exeext |
---|
| 2274 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
| 2275 | echo "${ECHO_T}$ac_file" >&6 |
---|
| 2276 | |
---|
| 2277 | # Check the compiler produces executables we can run. If not, either |
---|
| 2278 | # the compiler is broken, or we cross compile. |
---|
| 2279 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
| 2280 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
| 2281 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
| 2282 | # If not cross compiling, check that we can run a simple program. |
---|
| 2283 | if test "$cross_compiling" != yes; then |
---|
| 2284 | if { ac_try='./$ac_file' |
---|
| 2285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2286 | (eval $ac_try) 2>&5 |
---|
| 2287 | ac_status=$? |
---|
| 2288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2289 | (exit $ac_status); }; }; then |
---|
| 2290 | cross_compiling=no |
---|
| 2291 | else |
---|
| 2292 | if test "$cross_compiling" = maybe; then |
---|
| 2293 | cross_compiling=yes |
---|
| 2294 | else |
---|
| 2295 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
| 2296 | If you meant to cross compile, use \`--host'. |
---|
| 2297 | See \`config.log' for more details." >&5 |
---|
| 2298 | echo "$as_me: error: cannot run C compiled programs. |
---|
| 2299 | If you meant to cross compile, use \`--host'. |
---|
| 2300 | See \`config.log' for more details." >&2;} |
---|
| 2301 | { (exit 1); exit 1; }; } |
---|
| 2302 | fi |
---|
| 2303 | fi |
---|
| 2304 | fi |
---|
| 2305 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2306 | echo "${ECHO_T}yes" >&6 |
---|
| 2307 | |
---|
| 2308 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
| 2309 | ac_clean_files=$ac_clean_files_save |
---|
| 2310 | # Check the compiler produces executables we can run. If not, either |
---|
| 2311 | # the compiler is broken, or we cross compile. |
---|
| 2312 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
| 2313 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
| 2314 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
| 2315 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
| 2316 | |
---|
| 2317 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
| 2318 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
| 2319 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 2320 | (eval $ac_link) 2>&5 |
---|
| 2321 | ac_status=$? |
---|
| 2322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2323 | (exit $ac_status); }; then |
---|
| 2324 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 2325 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 2326 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 2327 | # `rm'. |
---|
| 2328 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 2329 | test -f "$ac_file" || continue |
---|
| 2330 | case $ac_file in |
---|
| 2331 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
| 2332 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2333 | export ac_cv_exeext |
---|
| 2334 | break;; |
---|
| 2335 | * ) break;; |
---|
| 2336 | esac |
---|
| 2337 | done |
---|
| 2338 | else |
---|
| 2339 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2340 | See \`config.log' for more details." >&5 |
---|
| 2341 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2342 | See \`config.log' for more details." >&2;} |
---|
| 2343 | { (exit 1); exit 1; }; } |
---|
| 2344 | fi |
---|
| 2345 | |
---|
| 2346 | rm -f conftest$ac_cv_exeext |
---|
| 2347 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
| 2348 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
| 2349 | |
---|
| 2350 | rm -f conftest.$ac_ext |
---|
| 2351 | EXEEXT=$ac_cv_exeext |
---|
| 2352 | ac_exeext=$EXEEXT |
---|
| 2353 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
| 2354 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
| 2355 | if test "${ac_cv_objext+set}" = set; then |
---|
| 2356 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2357 | else |
---|
| 2358 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2359 | /* confdefs.h. */ |
---|
| 2360 | _ACEOF |
---|
| 2361 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2362 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2363 | /* end confdefs.h. */ |
---|
| 2364 | |
---|
| 2365 | int |
---|
| 2366 | main () |
---|
| 2367 | { |
---|
| 2368 | |
---|
| 2369 | ; |
---|
| 2370 | return 0; |
---|
| 2371 | } |
---|
| 2372 | _ACEOF |
---|
| 2373 | rm -f conftest.o conftest.obj |
---|
| 2374 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2375 | (eval $ac_compile) 2>&5 |
---|
| 2376 | ac_status=$? |
---|
| 2377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2378 | (exit $ac_status); }; then |
---|
| 2379 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
| 2380 | case $ac_file in |
---|
| 2381 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
| 2382 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 2383 | break;; |
---|
| 2384 | esac |
---|
| 2385 | done |
---|
| 2386 | else |
---|
| 2387 | echo "$as_me: failed program was:" >&5 |
---|
| 2388 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2389 | |
---|
| 2390 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
| 2391 | See \`config.log' for more details." >&5 |
---|
| 2392 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
| 2393 | See \`config.log' for more details." >&2;} |
---|
| 2394 | { (exit 1); exit 1; }; } |
---|
| 2395 | fi |
---|
| 2396 | |
---|
| 2397 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 2398 | fi |
---|
| 2399 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
| 2400 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
| 2401 | OBJEXT=$ac_cv_objext |
---|
| 2402 | ac_objext=$OBJEXT |
---|
| 2403 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
| 2404 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
| 2405 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
| 2406 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2407 | else |
---|
| 2408 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2409 | /* confdefs.h. */ |
---|
| 2410 | _ACEOF |
---|
| 2411 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2412 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2413 | /* end confdefs.h. */ |
---|
| 2414 | |
---|
| 2415 | int |
---|
| 2416 | main () |
---|
| 2417 | { |
---|
| 2418 | #ifndef __GNUC__ |
---|
| 2419 | choke me |
---|
| 2420 | #endif |
---|
| 2421 | |
---|
| 2422 | ; |
---|
| 2423 | return 0; |
---|
| 2424 | } |
---|
| 2425 | _ACEOF |
---|
| 2426 | rm -f conftest.$ac_objext |
---|
| 2427 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2428 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2429 | ac_status=$? |
---|
| 2430 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2431 | rm -f conftest.er1 |
---|
| 2432 | cat conftest.err >&5 |
---|
| 2433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2434 | (exit $ac_status); } && |
---|
| 2435 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 2436 | || test ! -s conftest.err' |
---|
| 2437 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2438 | (eval $ac_try) 2>&5 |
---|
| 2439 | ac_status=$? |
---|
| 2440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2441 | (exit $ac_status); }; } && |
---|
| 2442 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2444 | (eval $ac_try) 2>&5 |
---|
| 2445 | ac_status=$? |
---|
| 2446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2447 | (exit $ac_status); }; }; then |
---|
| 2448 | ac_compiler_gnu=yes |
---|
| 2449 | else |
---|
| 2450 | echo "$as_me: failed program was:" >&5 |
---|
| 2451 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2452 | |
---|
| 2453 | ac_compiler_gnu=no |
---|
| 2454 | fi |
---|
| 2455 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2456 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 2457 | |
---|
| 2458 | fi |
---|
| 2459 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2460 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
| 2461 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
| 2462 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2463 | ac_save_CFLAGS=$CFLAGS |
---|
| 2464 | CFLAGS="-g" |
---|
| 2465 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
| 2466 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
| 2467 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
| 2468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2469 | else |
---|
| 2470 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2471 | /* confdefs.h. */ |
---|
| 2472 | _ACEOF |
---|
| 2473 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2474 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2475 | /* end confdefs.h. */ |
---|
| 2476 | |
---|
| 2477 | int |
---|
| 2478 | main () |
---|
| 2479 | { |
---|
| 2480 | |
---|
| 2481 | ; |
---|
| 2482 | return 0; |
---|
| 2483 | } |
---|
| 2484 | _ACEOF |
---|
| 2485 | rm -f conftest.$ac_objext |
---|
| 2486 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2487 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2488 | ac_status=$? |
---|
| 2489 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2490 | rm -f conftest.er1 |
---|
| 2491 | cat conftest.err >&5 |
---|
| 2492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2493 | (exit $ac_status); } && |
---|
| 2494 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 2495 | || test ! -s conftest.err' |
---|
| 2496 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2497 | (eval $ac_try) 2>&5 |
---|
| 2498 | ac_status=$? |
---|
| 2499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2500 | (exit $ac_status); }; } && |
---|
| 2501 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2503 | (eval $ac_try) 2>&5 |
---|
| 2504 | ac_status=$? |
---|
| 2505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2506 | (exit $ac_status); }; }; then |
---|
| 2507 | ac_cv_prog_cc_g=yes |
---|
| 2508 | else |
---|
| 2509 | echo "$as_me: failed program was:" >&5 |
---|
| 2510 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2511 | |
---|
| 2512 | ac_cv_prog_cc_g=no |
---|
| 2513 | fi |
---|
| 2514 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2515 | fi |
---|
| 2516 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2517 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
| 2518 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2519 | CFLAGS=$ac_save_CFLAGS |
---|
| 2520 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2521 | if test "$GCC" = yes; then |
---|
| 2522 | CFLAGS="-g -O2" |
---|
| 2523 | else |
---|
| 2524 | CFLAGS="-g" |
---|
| 2525 | fi |
---|
| 2526 | else |
---|
| 2527 | if test "$GCC" = yes; then |
---|
| 2528 | CFLAGS="-O2" |
---|
| 2529 | else |
---|
| 2530 | CFLAGS= |
---|
| 2531 | fi |
---|
| 2532 | fi |
---|
| 2533 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
| 2534 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
| 2535 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
| 2536 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2537 | else |
---|
| 2538 | ac_cv_prog_cc_stdc=no |
---|
| 2539 | ac_save_CC=$CC |
---|
| 2540 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2541 | /* confdefs.h. */ |
---|
| 2542 | _ACEOF |
---|
| 2543 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2544 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2545 | /* end confdefs.h. */ |
---|
| 2546 | #include <stdarg.h> |
---|
| 2547 | #include <stdio.h> |
---|
| 2548 | #include <sys/types.h> |
---|
| 2549 | #include <sys/stat.h> |
---|
| 2550 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2551 | struct buf { int x; }; |
---|
| 2552 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2553 | static char *e (p, i) |
---|
| 2554 | char **p; |
---|
| 2555 | int i; |
---|
| 2556 | { |
---|
| 2557 | return p[i]; |
---|
| 2558 | } |
---|
| 2559 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2560 | { |
---|
| 2561 | char *s; |
---|
| 2562 | va_list v; |
---|
| 2563 | va_start (v,p); |
---|
| 2564 | s = g (p, va_arg (v,int)); |
---|
| 2565 | va_end (v); |
---|
| 2566 | return s; |
---|
| 2567 | } |
---|
| 2568 | |
---|
| 2569 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2570 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2571 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 2572 | as 'x'. The following induces an error, until -std1 is added to get |
---|
| 2573 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2574 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 2575 | that's true only with -std1. */ |
---|
| 2576 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2577 | |
---|
| 2578 | int test (int i, double x); |
---|
| 2579 | struct s1 {int (*f) (int a);}; |
---|
| 2580 | struct s2 {int (*f) (double a);}; |
---|
| 2581 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2582 | int argc; |
---|
| 2583 | char **argv; |
---|
| 2584 | int |
---|
| 2585 | main () |
---|
| 2586 | { |
---|
| 2587 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 2588 | ; |
---|
| 2589 | return 0; |
---|
| 2590 | } |
---|
| 2591 | _ACEOF |
---|
| 2592 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
| 2593 | # breaks some systems' header files. |
---|
| 2594 | # AIX -qlanglvl=ansi |
---|
| 2595 | # Ultrix and OSF/1 -std1 |
---|
| 2596 | # HP-UX 10.20 and later -Ae |
---|
| 2597 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
| 2598 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
| 2599 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 2600 | do |
---|
| 2601 | CC="$ac_save_CC $ac_arg" |
---|
| 2602 | rm -f conftest.$ac_objext |
---|
| 2603 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2604 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2605 | ac_status=$? |
---|
| 2606 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2607 | rm -f conftest.er1 |
---|
| 2608 | cat conftest.err >&5 |
---|
| 2609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2610 | (exit $ac_status); } && |
---|
| 2611 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 2612 | || test ! -s conftest.err' |
---|
| 2613 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2614 | (eval $ac_try) 2>&5 |
---|
| 2615 | ac_status=$? |
---|
| 2616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2617 | (exit $ac_status); }; } && |
---|
| 2618 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2619 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2620 | (eval $ac_try) 2>&5 |
---|
| 2621 | ac_status=$? |
---|
| 2622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2623 | (exit $ac_status); }; }; then |
---|
| 2624 | ac_cv_prog_cc_stdc=$ac_arg |
---|
| 2625 | break |
---|
| 2626 | else |
---|
| 2627 | echo "$as_me: failed program was:" >&5 |
---|
| 2628 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2629 | |
---|
| 2630 | fi |
---|
| 2631 | rm -f conftest.err conftest.$ac_objext |
---|
| 2632 | done |
---|
| 2633 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
| 2634 | CC=$ac_save_CC |
---|
| 2635 | |
---|
| 2636 | fi |
---|
| 2637 | |
---|
| 2638 | case "x$ac_cv_prog_cc_stdc" in |
---|
| 2639 | x|xno) |
---|
| 2640 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
| 2641 | echo "${ECHO_T}none needed" >&6 ;; |
---|
| 2642 | *) |
---|
| 2643 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
| 2644 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
| 2645 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
| 2646 | esac |
---|
| 2647 | |
---|
| 2648 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
| 2649 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
| 2650 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
| 2651 | # the declaration of exit, since it's the most demanding environment. |
---|
| 2652 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2653 | #ifndef __cplusplus |
---|
| 2654 | choke me |
---|
| 2655 | #endif |
---|
| 2656 | _ACEOF |
---|
| 2657 | rm -f conftest.$ac_objext |
---|
| 2658 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2659 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2660 | ac_status=$? |
---|
| 2661 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2662 | rm -f conftest.er1 |
---|
| 2663 | cat conftest.err >&5 |
---|
| 2664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2665 | (exit $ac_status); } && |
---|
| 2666 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 2667 | || test ! -s conftest.err' |
---|
| 2668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2669 | (eval $ac_try) 2>&5 |
---|
| 2670 | ac_status=$? |
---|
| 2671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2672 | (exit $ac_status); }; } && |
---|
| 2673 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2675 | (eval $ac_try) 2>&5 |
---|
| 2676 | ac_status=$? |
---|
| 2677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2678 | (exit $ac_status); }; }; then |
---|
| 2679 | for ac_declaration in \ |
---|
| 2680 | '' \ |
---|
| 2681 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
| 2682 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
| 2683 | 'extern "C" void exit (int) throw ();' \ |
---|
| 2684 | 'extern "C" void exit (int);' \ |
---|
| 2685 | 'void exit (int);' |
---|
| 2686 | do |
---|
| 2687 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2688 | /* confdefs.h. */ |
---|
| 2689 | _ACEOF |
---|
| 2690 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2691 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2692 | /* end confdefs.h. */ |
---|
| 2693 | $ac_declaration |
---|
| 2694 | #include <stdlib.h> |
---|
| 2695 | int |
---|
| 2696 | main () |
---|
| 2697 | { |
---|
| 2698 | exit (42); |
---|
| 2699 | ; |
---|
| 2700 | return 0; |
---|
| 2701 | } |
---|
| 2702 | _ACEOF |
---|
| 2703 | rm -f conftest.$ac_objext |
---|
| 2704 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2705 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2706 | ac_status=$? |
---|
| 2707 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2708 | rm -f conftest.er1 |
---|
| 2709 | cat conftest.err >&5 |
---|
| 2710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2711 | (exit $ac_status); } && |
---|
| 2712 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 2713 | || test ! -s conftest.err' |
---|
| 2714 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2715 | (eval $ac_try) 2>&5 |
---|
| 2716 | ac_status=$? |
---|
| 2717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2718 | (exit $ac_status); }; } && |
---|
| 2719 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2721 | (eval $ac_try) 2>&5 |
---|
| 2722 | ac_status=$? |
---|
| 2723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2724 | (exit $ac_status); }; }; then |
---|
| 2725 | : |
---|
| 2726 | else |
---|
| 2727 | echo "$as_me: failed program was:" >&5 |
---|
| 2728 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2729 | |
---|
| 2730 | continue |
---|
| 2731 | fi |
---|
| 2732 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2733 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2734 | /* confdefs.h. */ |
---|
| 2735 | _ACEOF |
---|
| 2736 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2737 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2738 | /* end confdefs.h. */ |
---|
| 2739 | $ac_declaration |
---|
| 2740 | int |
---|
| 2741 | main () |
---|
| 2742 | { |
---|
| 2743 | exit (42); |
---|
| 2744 | ; |
---|
| 2745 | return 0; |
---|
| 2746 | } |
---|
| 2747 | _ACEOF |
---|
| 2748 | rm -f conftest.$ac_objext |
---|
| 2749 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2750 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2751 | ac_status=$? |
---|
| 2752 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2753 | rm -f conftest.er1 |
---|
| 2754 | cat conftest.err >&5 |
---|
| 2755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2756 | (exit $ac_status); } && |
---|
| 2757 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 2758 | || test ! -s conftest.err' |
---|
| 2759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2760 | (eval $ac_try) 2>&5 |
---|
| 2761 | ac_status=$? |
---|
| 2762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2763 | (exit $ac_status); }; } && |
---|
| 2764 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2765 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2766 | (eval $ac_try) 2>&5 |
---|
| 2767 | ac_status=$? |
---|
| 2768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2769 | (exit $ac_status); }; }; then |
---|
| 2770 | break |
---|
| 2771 | else |
---|
| 2772 | echo "$as_me: failed program was:" >&5 |
---|
| 2773 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2774 | |
---|
| 2775 | fi |
---|
| 2776 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2777 | done |
---|
| 2778 | rm -f conftest* |
---|
| 2779 | if test -n "$ac_declaration"; then |
---|
| 2780 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
| 2781 | echo $ac_declaration >>confdefs.h |
---|
| 2782 | echo '#endif' >>confdefs.h |
---|
| 2783 | fi |
---|
| 2784 | |
---|
| 2785 | else |
---|
| 2786 | echo "$as_me: failed program was:" >&5 |
---|
| 2787 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2788 | |
---|
| 2789 | fi |
---|
| 2790 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2791 | ac_ext=c |
---|
| 2792 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2793 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2794 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2795 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2796 | DEPDIR="${am__leading_dot}deps" |
---|
| 2797 | |
---|
| 2798 | ac_config_commands="$ac_config_commands depfiles" |
---|
| 2799 | |
---|
| 2800 | |
---|
| 2801 | am_make=${MAKE-make} |
---|
| 2802 | cat > confinc << 'END' |
---|
| 2803 | am__doit: |
---|
| 2804 | @echo done |
---|
| 2805 | .PHONY: am__doit |
---|
| 2806 | END |
---|
| 2807 | # If we don't find an include directive, just comment out the code. |
---|
| 2808 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
---|
| 2809 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
---|
| 2810 | am__include="#" |
---|
| 2811 | am__quote= |
---|
| 2812 | _am_result=none |
---|
| 2813 | # First try GNU make style include. |
---|
| 2814 | echo "include confinc" > confmf |
---|
| 2815 | # We grep out `Entering directory' and `Leaving directory' |
---|
| 2816 | # messages which can occur if `w' ends up in MAKEFLAGS. |
---|
| 2817 | # In particular we don't look at `^make:' because GNU make might |
---|
| 2818 | # be invoked under some other name (usually "gmake"), in which |
---|
| 2819 | # case it prints its new name instead of `make'. |
---|
| 2820 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
---|
| 2821 | am__include=include |
---|
| 2822 | am__quote= |
---|
| 2823 | _am_result=GNU |
---|
| 2824 | fi |
---|
| 2825 | # Now try BSD make style include. |
---|
| 2826 | if test "$am__include" = "#"; then |
---|
| 2827 | echo '.include "confinc"' > confmf |
---|
| 2828 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
---|
| 2829 | am__include=.include |
---|
| 2830 | am__quote="\"" |
---|
| 2831 | _am_result=BSD |
---|
| 2832 | fi |
---|
| 2833 | fi |
---|
| 2834 | |
---|
| 2835 | |
---|
| 2836 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
---|
| 2837 | echo "${ECHO_T}$_am_result" >&6 |
---|
| 2838 | rm -f confinc confmf |
---|
| 2839 | |
---|
| 2840 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
---|
| 2841 | if test "${enable_dependency_tracking+set}" = set; then |
---|
| 2842 | enableval="$enable_dependency_tracking" |
---|
| 2843 | |
---|
| 2844 | fi; |
---|
| 2845 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2846 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 2847 | AMDEPBACKSLASH='\' |
---|
| 2848 | fi |
---|
| 2849 | |
---|
| 2850 | |
---|
| 2851 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2852 | AMDEP_TRUE= |
---|
| 2853 | AMDEP_FALSE='#' |
---|
| 2854 | else |
---|
| 2855 | AMDEP_TRUE='#' |
---|
| 2856 | AMDEP_FALSE= |
---|
| 2857 | fi |
---|
| 2858 | |
---|
| 2859 | |
---|
| 2860 | |
---|
| 2861 | |
---|
| 2862 | depcc="$CC" am_compiler_list= |
---|
| 2863 | |
---|
| 2864 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
---|
| 2865 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
---|
| 2866 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
---|
| 2867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2868 | else |
---|
| 2869 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 2870 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 2871 | # making bogus files that we don't know about and never remove. For |
---|
| 2872 | # instance it was reported that on HP-UX the gcc test will end up |
---|
| 2873 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 2874 | # in D'. |
---|
| 2875 | mkdir conftest.dir |
---|
| 2876 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 2877 | # using a relative directory. |
---|
| 2878 | cp "$am_depcomp" conftest.dir |
---|
| 2879 | cd conftest.dir |
---|
| 2880 | # We will build objects and dependencies in a subdirectory because |
---|
| 2881 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 2882 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 2883 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 2884 | # the current directory while Tru64 will put them in the object |
---|
| 2885 | # directory. |
---|
| 2886 | mkdir sub |
---|
| 2887 | |
---|
| 2888 | am_cv_CC_dependencies_compiler_type=none |
---|
| 2889 | if test "$am_compiler_list" = ""; then |
---|
| 2890 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 2891 | fi |
---|
| 2892 | for depmode in $am_compiler_list; do |
---|
| 2893 | # Setup a source with many dependencies, because some compilers |
---|
| 2894 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 2895 | # we should not choose a depcomp mode which is confused by this. |
---|
| 2896 | # |
---|
| 2897 | # We need to recreate these files for each test, as the compiler may |
---|
| 2898 | # overwrite some of them when testing with obscure command lines. |
---|
| 2899 | # This happens at least with the AIX C compiler. |
---|
| 2900 | : > sub/conftest.c |
---|
| 2901 | for i in 1 2 3 4 5 6; do |
---|
| 2902 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
| 2903 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
| 2904 | # Solaris 8's {/usr,}/bin/sh. |
---|
| 2905 | touch sub/conftst$i.h |
---|
| 2906 | done |
---|
| 2907 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 2908 | |
---|
| 2909 | case $depmode in |
---|
| 2910 | nosideeffect) |
---|
| 2911 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
| 2912 | # only be used when explicitly requested |
---|
| 2913 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 2914 | continue |
---|
| 2915 | else |
---|
| 2916 | break |
---|
| 2917 | fi |
---|
| 2918 | ;; |
---|
| 2919 | none) break ;; |
---|
| 2920 | esac |
---|
| 2921 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
| 2922 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
| 2923 | # handle `-M -o', and we need to detect this. |
---|
| 2924 | if depmode=$depmode \ |
---|
| 2925 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
---|
| 2926 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 2927 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
---|
| 2928 | >/dev/null 2>conftest.err && |
---|
| 2929 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2930 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
---|
| 2931 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 2932 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 2933 | # (even with -Werror). So we grep stderr for any message |
---|
| 2934 | # that says an option was ignored. |
---|
| 2935 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
---|
| 2936 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
| 2937 | break |
---|
| 2938 | fi |
---|
| 2939 | fi |
---|
| 2940 | done |
---|
| 2941 | |
---|
| 2942 | cd .. |
---|
| 2943 | rm -rf conftest.dir |
---|
| 2944 | else |
---|
| 2945 | am_cv_CC_dependencies_compiler_type=none |
---|
| 2946 | fi |
---|
| 2947 | |
---|
| 2948 | fi |
---|
| 2949 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
| 2950 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
---|
| 2951 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
| 2952 | |
---|
| 2953 | |
---|
| 2954 | |
---|
| 2955 | if |
---|
| 2956 | test "x$enable_dependency_tracking" != xno \ |
---|
| 2957 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
| 2958 | am__fastdepCC_TRUE= |
---|
| 2959 | am__fastdepCC_FALSE='#' |
---|
| 2960 | else |
---|
| 2961 | am__fastdepCC_TRUE='#' |
---|
| 2962 | am__fastdepCC_FALSE= |
---|
| 2963 | fi |
---|
| 2964 | |
---|
| 2965 | |
---|
| 2966 | |
---|
| 2967 | |
---|
| 2968 | |
---|
| 2969 | ac_ext=c |
---|
| 2970 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2971 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2972 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2973 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2974 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
| 2975 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
---|
| 2976 | # On Suns, sometimes $CPP names a directory. |
---|
| 2977 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 2978 | CPP= |
---|
| 2979 | fi |
---|
| 2980 | if test -z "$CPP"; then |
---|
| 2981 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
| 2982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2983 | else |
---|
| 2984 | # Double quotes because CPP needs to be expanded |
---|
| 2985 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 2986 | do |
---|
| 2987 | ac_preproc_ok=false |
---|
| 2988 | for ac_c_preproc_warn_flag in '' yes |
---|
| 2989 | do |
---|
| 2990 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 2991 | # with a fresh cross-compiler works. |
---|
| 2992 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 2993 | # <limits.h> exists even on freestanding compilers. |
---|
| 2994 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 2995 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 2996 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2997 | /* confdefs.h. */ |
---|
| 2998 | _ACEOF |
---|
| 2999 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3000 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3001 | /* end confdefs.h. */ |
---|
| 3002 | #ifdef __STDC__ |
---|
| 3003 | # include <limits.h> |
---|
| 3004 | #else |
---|
| 3005 | # include <assert.h> |
---|
| 3006 | #endif |
---|
| 3007 | Syntax error |
---|
| 3008 | _ACEOF |
---|
| 3009 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 3010 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 3011 | ac_status=$? |
---|
| 3012 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3013 | rm -f conftest.er1 |
---|
| 3014 | cat conftest.err >&5 |
---|
| 3015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3016 | (exit $ac_status); } >/dev/null; then |
---|
| 3017 | if test -s conftest.err; then |
---|
| 3018 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 3019 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 3020 | else |
---|
| 3021 | ac_cpp_err= |
---|
| 3022 | fi |
---|
| 3023 | else |
---|
| 3024 | ac_cpp_err=yes |
---|
| 3025 | fi |
---|
| 3026 | if test -z "$ac_cpp_err"; then |
---|
| 3027 | : |
---|
| 3028 | else |
---|
| 3029 | echo "$as_me: failed program was:" >&5 |
---|
| 3030 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3031 | |
---|
| 3032 | # Broken: fails on valid input. |
---|
| 3033 | continue |
---|
| 3034 | fi |
---|
| 3035 | rm -f conftest.err conftest.$ac_ext |
---|
| 3036 | |
---|
| 3037 | # OK, works on sane cases. Now check whether non-existent headers |
---|
| 3038 | # can be detected and how. |
---|
| 3039 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3040 | /* confdefs.h. */ |
---|
| 3041 | _ACEOF |
---|
| 3042 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3043 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3044 | /* end confdefs.h. */ |
---|
| 3045 | #include <ac_nonexistent.h> |
---|
| 3046 | _ACEOF |
---|
| 3047 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 3048 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 3049 | ac_status=$? |
---|
| 3050 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3051 | rm -f conftest.er1 |
---|
| 3052 | cat conftest.err >&5 |
---|
| 3053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3054 | (exit $ac_status); } >/dev/null; then |
---|
| 3055 | if test -s conftest.err; then |
---|
| 3056 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 3057 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 3058 | else |
---|
| 3059 | ac_cpp_err= |
---|
| 3060 | fi |
---|
| 3061 | else |
---|
| 3062 | ac_cpp_err=yes |
---|
| 3063 | fi |
---|
| 3064 | if test -z "$ac_cpp_err"; then |
---|
| 3065 | # Broken: success on invalid input. |
---|
| 3066 | continue |
---|
| 3067 | else |
---|
| 3068 | echo "$as_me: failed program was:" >&5 |
---|
| 3069 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3070 | |
---|
| 3071 | # Passes both tests. |
---|
| 3072 | ac_preproc_ok=: |
---|
| 3073 | break |
---|
| 3074 | fi |
---|
| 3075 | rm -f conftest.err conftest.$ac_ext |
---|
| 3076 | |
---|
| 3077 | done |
---|
| 3078 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 3079 | rm -f conftest.err conftest.$ac_ext |
---|
| 3080 | if $ac_preproc_ok; then |
---|
| 3081 | break |
---|
| 3082 | fi |
---|
| 3083 | |
---|
| 3084 | done |
---|
| 3085 | ac_cv_prog_CPP=$CPP |
---|
| 3086 | |
---|
| 3087 | fi |
---|
| 3088 | CPP=$ac_cv_prog_CPP |
---|
| 3089 | else |
---|
| 3090 | ac_cv_prog_CPP=$CPP |
---|
| 3091 | fi |
---|
| 3092 | echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
| 3093 | echo "${ECHO_T}$CPP" >&6 |
---|
| 3094 | ac_preproc_ok=false |
---|
| 3095 | for ac_c_preproc_warn_flag in '' yes |
---|
| 3096 | do |
---|
| 3097 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 3098 | # with a fresh cross-compiler works. |
---|
| 3099 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3100 | # <limits.h> exists even on freestanding compilers. |
---|
| 3101 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 3102 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 3103 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3104 | /* confdefs.h. */ |
---|
| 3105 | _ACEOF |
---|
| 3106 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3107 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3108 | /* end confdefs.h. */ |
---|
| 3109 | #ifdef __STDC__ |
---|
| 3110 | # include <limits.h> |
---|
| 3111 | #else |
---|
| 3112 | # include <assert.h> |
---|
| 3113 | #endif |
---|
| 3114 | Syntax error |
---|
| 3115 | _ACEOF |
---|
| 3116 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 3117 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 3118 | ac_status=$? |
---|
| 3119 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3120 | rm -f conftest.er1 |
---|
| 3121 | cat conftest.err >&5 |
---|
| 3122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3123 | (exit $ac_status); } >/dev/null; then |
---|
| 3124 | if test -s conftest.err; then |
---|
| 3125 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 3126 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 3127 | else |
---|
| 3128 | ac_cpp_err= |
---|
| 3129 | fi |
---|
| 3130 | else |
---|
| 3131 | ac_cpp_err=yes |
---|
| 3132 | fi |
---|
| 3133 | if test -z "$ac_cpp_err"; then |
---|
| 3134 | : |
---|
| 3135 | else |
---|
| 3136 | echo "$as_me: failed program was:" >&5 |
---|
| 3137 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3138 | |
---|
| 3139 | # Broken: fails on valid input. |
---|
| 3140 | continue |
---|
| 3141 | fi |
---|
| 3142 | rm -f conftest.err conftest.$ac_ext |
---|
| 3143 | |
---|
| 3144 | # OK, works on sane cases. Now check whether non-existent headers |
---|
| 3145 | # can be detected and how. |
---|
| 3146 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3147 | /* confdefs.h. */ |
---|
| 3148 | _ACEOF |
---|
| 3149 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3150 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3151 | /* end confdefs.h. */ |
---|
| 3152 | #include <ac_nonexistent.h> |
---|
| 3153 | _ACEOF |
---|
| 3154 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 3155 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 3156 | ac_status=$? |
---|
| 3157 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3158 | rm -f conftest.er1 |
---|
| 3159 | cat conftest.err >&5 |
---|
| 3160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3161 | (exit $ac_status); } >/dev/null; then |
---|
| 3162 | if test -s conftest.err; then |
---|
| 3163 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 3164 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 3165 | else |
---|
| 3166 | ac_cpp_err= |
---|
| 3167 | fi |
---|
| 3168 | else |
---|
| 3169 | ac_cpp_err=yes |
---|
| 3170 | fi |
---|
| 3171 | if test -z "$ac_cpp_err"; then |
---|
| 3172 | # Broken: success on invalid input. |
---|
| 3173 | continue |
---|
| 3174 | else |
---|
| 3175 | echo "$as_me: failed program was:" >&5 |
---|
| 3176 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3177 | |
---|
| 3178 | # Passes both tests. |
---|
| 3179 | ac_preproc_ok=: |
---|
| 3180 | break |
---|
| 3181 | fi |
---|
| 3182 | rm -f conftest.err conftest.$ac_ext |
---|
| 3183 | |
---|
| 3184 | done |
---|
| 3185 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 3186 | rm -f conftest.err conftest.$ac_ext |
---|
| 3187 | if $ac_preproc_ok; then |
---|
| 3188 | : |
---|
| 3189 | else |
---|
| 3190 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 3191 | See \`config.log' for more details." >&5 |
---|
| 3192 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 3193 | See \`config.log' for more details." >&2;} |
---|
| 3194 | { (exit 1); exit 1; }; } |
---|
| 3195 | fi |
---|
| 3196 | |
---|
| 3197 | ac_ext=c |
---|
| 3198 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3199 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3200 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3201 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3202 | |
---|
| 3203 | |
---|
| 3204 | echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
| 3205 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
---|
| 3206 | if test "${ac_cv_prog_egrep+set}" = set; then |
---|
| 3207 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3208 | else |
---|
| 3209 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
---|
| 3210 | then ac_cv_prog_egrep='grep -E' |
---|
| 3211 | else ac_cv_prog_egrep='egrep' |
---|
| 3212 | fi |
---|
| 3213 | fi |
---|
| 3214 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
---|
| 3215 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
---|
| 3216 | EGREP=$ac_cv_prog_egrep |
---|
| 3217 | |
---|
| 3218 | |
---|
| 3219 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
| 3220 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
---|
| 3221 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
| 3222 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3223 | else |
---|
| 3224 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3225 | /* confdefs.h. */ |
---|
| 3226 | _ACEOF |
---|
| 3227 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3228 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3229 | /* end confdefs.h. */ |
---|
| 3230 | #include <stdlib.h> |
---|
| 3231 | #include <stdarg.h> |
---|
| 3232 | #include <string.h> |
---|
| 3233 | #include <float.h> |
---|
| 3234 | |
---|
| 3235 | int |
---|
| 3236 | main () |
---|
| 3237 | { |
---|
| 3238 | |
---|
| 3239 | ; |
---|
| 3240 | return 0; |
---|
| 3241 | } |
---|
| 3242 | _ACEOF |
---|
| 3243 | rm -f conftest.$ac_objext |
---|
| 3244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3245 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3246 | ac_status=$? |
---|
| 3247 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3248 | rm -f conftest.er1 |
---|
| 3249 | cat conftest.err >&5 |
---|
| 3250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3251 | (exit $ac_status); } && |
---|
| 3252 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3253 | || test ! -s conftest.err' |
---|
| 3254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3255 | (eval $ac_try) 2>&5 |
---|
| 3256 | ac_status=$? |
---|
| 3257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3258 | (exit $ac_status); }; } && |
---|
| 3259 | { ac_try='test -s conftest.$ac_objext' |
---|
| 3260 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3261 | (eval $ac_try) 2>&5 |
---|
| 3262 | ac_status=$? |
---|
| 3263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3264 | (exit $ac_status); }; }; then |
---|
| 3265 | ac_cv_header_stdc=yes |
---|
| 3266 | else |
---|
| 3267 | echo "$as_me: failed program was:" >&5 |
---|
| 3268 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3269 | |
---|
| 3270 | ac_cv_header_stdc=no |
---|
| 3271 | fi |
---|
| 3272 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3273 | |
---|
| 3274 | if test $ac_cv_header_stdc = yes; then |
---|
| 3275 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
| 3276 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3277 | /* confdefs.h. */ |
---|
| 3278 | _ACEOF |
---|
| 3279 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3280 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3281 | /* end confdefs.h. */ |
---|
| 3282 | #include <string.h> |
---|
| 3283 | |
---|
| 3284 | _ACEOF |
---|
| 3285 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 3286 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
| 3287 | : |
---|
| 3288 | else |
---|
| 3289 | ac_cv_header_stdc=no |
---|
| 3290 | fi |
---|
| 3291 | rm -f conftest* |
---|
| 3292 | |
---|
| 3293 | fi |
---|
| 3294 | |
---|
| 3295 | if test $ac_cv_header_stdc = yes; then |
---|
| 3296 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
| 3297 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3298 | /* confdefs.h. */ |
---|
| 3299 | _ACEOF |
---|
| 3300 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3301 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3302 | /* end confdefs.h. */ |
---|
| 3303 | #include <stdlib.h> |
---|
| 3304 | |
---|
| 3305 | _ACEOF |
---|
| 3306 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 3307 | $EGREP "free" >/dev/null 2>&1; then |
---|
| 3308 | : |
---|
| 3309 | else |
---|
| 3310 | ac_cv_header_stdc=no |
---|
| 3311 | fi |
---|
| 3312 | rm -f conftest* |
---|
| 3313 | |
---|
| 3314 | fi |
---|
| 3315 | |
---|
| 3316 | if test $ac_cv_header_stdc = yes; then |
---|
| 3317 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
| 3318 | if test "$cross_compiling" = yes; then |
---|
| 3319 | : |
---|
| 3320 | else |
---|
| 3321 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3322 | /* confdefs.h. */ |
---|
| 3323 | _ACEOF |
---|
| 3324 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3325 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3326 | /* end confdefs.h. */ |
---|
| 3327 | #include <ctype.h> |
---|
| 3328 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 3329 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 3330 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 3331 | #else |
---|
| 3332 | # define ISLOWER(c) \ |
---|
| 3333 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 3334 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 3335 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 3336 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 3337 | #endif |
---|
| 3338 | |
---|
| 3339 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 3340 | int |
---|
| 3341 | main () |
---|
| 3342 | { |
---|
| 3343 | int i; |
---|
| 3344 | for (i = 0; i < 256; i++) |
---|
| 3345 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 3346 | || toupper (i) != TOUPPER (i)) |
---|
| 3347 | exit(2); |
---|
| 3348 | exit (0); |
---|
| 3349 | } |
---|
| 3350 | _ACEOF |
---|
| 3351 | rm -f conftest$ac_exeext |
---|
| 3352 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 3353 | (eval $ac_link) 2>&5 |
---|
| 3354 | ac_status=$? |
---|
| 3355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3356 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 3357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3358 | (eval $ac_try) 2>&5 |
---|
| 3359 | ac_status=$? |
---|
| 3360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3361 | (exit $ac_status); }; }; then |
---|
| 3362 | : |
---|
| 3363 | else |
---|
| 3364 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 3365 | echo "$as_me: failed program was:" >&5 |
---|
| 3366 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3367 | |
---|
| 3368 | ( exit $ac_status ) |
---|
| 3369 | ac_cv_header_stdc=no |
---|
| 3370 | fi |
---|
| 3371 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 3372 | fi |
---|
| 3373 | fi |
---|
| 3374 | fi |
---|
| 3375 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
| 3376 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
---|
| 3377 | if test $ac_cv_header_stdc = yes; then |
---|
| 3378 | |
---|
| 3379 | cat >>confdefs.h <<\_ACEOF |
---|
| 3380 | #define STDC_HEADERS 1 |
---|
| 3381 | _ACEOF |
---|
| 3382 | |
---|
| 3383 | fi |
---|
| 3384 | |
---|
| 3385 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 3386 | |
---|
| 3387 | |
---|
| 3388 | |
---|
| 3389 | |
---|
| 3390 | |
---|
| 3391 | |
---|
| 3392 | |
---|
| 3393 | |
---|
| 3394 | |
---|
| 3395 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 3396 | inttypes.h stdint.h unistd.h |
---|
| 3397 | do |
---|
| 3398 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 3399 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 3400 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
| 3401 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3402 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3403 | else |
---|
| 3404 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3405 | /* confdefs.h. */ |
---|
| 3406 | _ACEOF |
---|
| 3407 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3408 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3409 | /* end confdefs.h. */ |
---|
| 3410 | $ac_includes_default |
---|
| 3411 | |
---|
| 3412 | #include <$ac_header> |
---|
| 3413 | _ACEOF |
---|
| 3414 | rm -f conftest.$ac_objext |
---|
| 3415 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3416 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3417 | ac_status=$? |
---|
| 3418 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3419 | rm -f conftest.er1 |
---|
| 3420 | cat conftest.err >&5 |
---|
| 3421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3422 | (exit $ac_status); } && |
---|
| 3423 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3424 | || test ! -s conftest.err' |
---|
| 3425 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3426 | (eval $ac_try) 2>&5 |
---|
| 3427 | ac_status=$? |
---|
| 3428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3429 | (exit $ac_status); }; } && |
---|
| 3430 | { ac_try='test -s conftest.$ac_objext' |
---|
| 3431 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3432 | (eval $ac_try) 2>&5 |
---|
| 3433 | ac_status=$? |
---|
| 3434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3435 | (exit $ac_status); }; }; then |
---|
| 3436 | eval "$as_ac_Header=yes" |
---|
| 3437 | else |
---|
| 3438 | echo "$as_me: failed program was:" >&5 |
---|
| 3439 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3440 | |
---|
| 3441 | eval "$as_ac_Header=no" |
---|
| 3442 | fi |
---|
| 3443 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3444 | fi |
---|
| 3445 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
| 3446 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
| 3447 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 3448 | cat >>confdefs.h <<_ACEOF |
---|
| 3449 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 3450 | _ACEOF |
---|
| 3451 | |
---|
| 3452 | fi |
---|
| 3453 | |
---|
| 3454 | done |
---|
| 3455 | |
---|
| 3456 | |
---|
| 3457 | |
---|
| 3458 | |
---|
| 3459 | |
---|
| 3460 | |
---|
| 3461 | |
---|
| 3462 | |
---|
| 3463 | |
---|
| 3464 | |
---|
| 3465 | |
---|
| 3466 | |
---|
| 3467 | |
---|
| 3468 | |
---|
| 3469 | |
---|
| 3470 | |
---|
| 3471 | for ac_header in unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h |
---|
| 3472 | do |
---|
| 3473 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 3474 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3475 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 3476 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
| 3477 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3478 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3479 | fi |
---|
| 3480 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
| 3481 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
| 3482 | else |
---|
| 3483 | # Is the header compilable? |
---|
| 3484 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
| 3485 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
---|
| 3486 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3487 | /* confdefs.h. */ |
---|
| 3488 | _ACEOF |
---|
| 3489 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3490 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3491 | /* end confdefs.h. */ |
---|
| 3492 | $ac_includes_default |
---|
| 3493 | #include <$ac_header> |
---|
| 3494 | _ACEOF |
---|
| 3495 | rm -f conftest.$ac_objext |
---|
| 3496 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3497 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3498 | ac_status=$? |
---|
| 3499 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3500 | rm -f conftest.er1 |
---|
| 3501 | cat conftest.err >&5 |
---|
| 3502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3503 | (exit $ac_status); } && |
---|
| 3504 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3505 | || test ! -s conftest.err' |
---|
| 3506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3507 | (eval $ac_try) 2>&5 |
---|
| 3508 | ac_status=$? |
---|
| 3509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3510 | (exit $ac_status); }; } && |
---|
| 3511 | { ac_try='test -s conftest.$ac_objext' |
---|
| 3512 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3513 | (eval $ac_try) 2>&5 |
---|
| 3514 | ac_status=$? |
---|
| 3515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3516 | (exit $ac_status); }; }; then |
---|
| 3517 | ac_header_compiler=yes |
---|
| 3518 | else |
---|
| 3519 | echo "$as_me: failed program was:" >&5 |
---|
| 3520 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3521 | |
---|
| 3522 | ac_header_compiler=no |
---|
| 3523 | fi |
---|
| 3524 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3525 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
| 3526 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
| 3527 | |
---|
| 3528 | # Is the header present? |
---|
| 3529 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
| 3530 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
---|
| 3531 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3532 | /* confdefs.h. */ |
---|
| 3533 | _ACEOF |
---|
| 3534 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3535 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3536 | /* end confdefs.h. */ |
---|
| 3537 | #include <$ac_header> |
---|
| 3538 | _ACEOF |
---|
| 3539 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 3540 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 3541 | ac_status=$? |
---|
| 3542 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3543 | rm -f conftest.er1 |
---|
| 3544 | cat conftest.err >&5 |
---|
| 3545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3546 | (exit $ac_status); } >/dev/null; then |
---|
| 3547 | if test -s conftest.err; then |
---|
| 3548 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 3549 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 3550 | else |
---|
| 3551 | ac_cpp_err= |
---|
| 3552 | fi |
---|
| 3553 | else |
---|
| 3554 | ac_cpp_err=yes |
---|
| 3555 | fi |
---|
| 3556 | if test -z "$ac_cpp_err"; then |
---|
| 3557 | ac_header_preproc=yes |
---|
| 3558 | else |
---|
| 3559 | echo "$as_me: failed program was:" >&5 |
---|
| 3560 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3561 | |
---|
| 3562 | ac_header_preproc=no |
---|
| 3563 | fi |
---|
| 3564 | rm -f conftest.err conftest.$ac_ext |
---|
| 3565 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
| 3566 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
| 3567 | |
---|
| 3568 | # So? What about this header? |
---|
| 3569 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
| 3570 | yes:no: ) |
---|
| 3571 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 3572 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 3573 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
| 3574 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
| 3575 | ac_header_preproc=yes |
---|
| 3576 | ;; |
---|
| 3577 | no:yes:* ) |
---|
| 3578 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
| 3579 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
| 3580 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
| 3581 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
| 3582 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
| 3583 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
| 3584 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 3585 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 3586 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
| 3587 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
| 3588 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
| 3589 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
| 3590 | ( |
---|
| 3591 | cat <<\_ASBOX |
---|
| 3592 | ## ------------------------------------------ ## |
---|
| 3593 | ## Report this to the AC_PACKAGE_NAME lists. ## |
---|
| 3594 | ## ------------------------------------------ ## |
---|
| 3595 | _ASBOX |
---|
| 3596 | ) | |
---|
| 3597 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 3598 | ;; |
---|
| 3599 | esac |
---|
| 3600 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 3601 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
| 3602 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3603 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3604 | else |
---|
| 3605 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
| 3606 | fi |
---|
| 3607 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
| 3608 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
| 3609 | |
---|
| 3610 | fi |
---|
| 3611 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 3612 | cat >>confdefs.h <<_ACEOF |
---|
| 3613 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 3614 | _ACEOF |
---|
| 3615 | |
---|
| 3616 | fi |
---|
| 3617 | |
---|
| 3618 | done |
---|
| 3619 | |
---|
| 3620 | |
---|
| 3621 | |
---|
| 3622 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
---|
| 3623 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
---|
| 3624 | if test "${ac_cv_header_time+set}" = set; then |
---|
| 3625 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3626 | else |
---|
| 3627 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3628 | /* confdefs.h. */ |
---|
| 3629 | _ACEOF |
---|
| 3630 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3631 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3632 | /* end confdefs.h. */ |
---|
| 3633 | #include <sys/types.h> |
---|
| 3634 | #include <sys/time.h> |
---|
| 3635 | #include <time.h> |
---|
| 3636 | |
---|
| 3637 | int |
---|
| 3638 | main () |
---|
| 3639 | { |
---|
| 3640 | if ((struct tm *) 0) |
---|
| 3641 | return 0; |
---|
| 3642 | ; |
---|
| 3643 | return 0; |
---|
| 3644 | } |
---|
| 3645 | _ACEOF |
---|
| 3646 | rm -f conftest.$ac_objext |
---|
| 3647 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3648 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3649 | ac_status=$? |
---|
| 3650 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3651 | rm -f conftest.er1 |
---|
| 3652 | cat conftest.err >&5 |
---|
| 3653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3654 | (exit $ac_status); } && |
---|
| 3655 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3656 | || test ! -s conftest.err' |
---|
| 3657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3658 | (eval $ac_try) 2>&5 |
---|
| 3659 | ac_status=$? |
---|
| 3660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3661 | (exit $ac_status); }; } && |
---|
| 3662 | { ac_try='test -s conftest.$ac_objext' |
---|
| 3663 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3664 | (eval $ac_try) 2>&5 |
---|
| 3665 | ac_status=$? |
---|
| 3666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3667 | (exit $ac_status); }; }; then |
---|
| 3668 | ac_cv_header_time=yes |
---|
| 3669 | else |
---|
| 3670 | echo "$as_me: failed program was:" >&5 |
---|
| 3671 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3672 | |
---|
| 3673 | ac_cv_header_time=no |
---|
| 3674 | fi |
---|
| 3675 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3676 | fi |
---|
| 3677 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
---|
| 3678 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
---|
| 3679 | if test $ac_cv_header_time = yes; then |
---|
| 3680 | |
---|
| 3681 | cat >>confdefs.h <<\_ACEOF |
---|
| 3682 | #define TIME_WITH_SYS_TIME 1 |
---|
| 3683 | _ACEOF |
---|
| 3684 | |
---|
| 3685 | fi |
---|
| 3686 | |
---|
| 3687 | |
---|
| 3688 | |
---|
| 3689 | for ac_header in utime.h |
---|
| 3690 | do |
---|
| 3691 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 3692 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3693 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 3694 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
| 3695 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3696 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3697 | fi |
---|
| 3698 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
| 3699 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
| 3700 | else |
---|
| 3701 | # Is the header compilable? |
---|
| 3702 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
| 3703 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
---|
| 3704 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3705 | /* confdefs.h. */ |
---|
| 3706 | _ACEOF |
---|
| 3707 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3708 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3709 | /* end confdefs.h. */ |
---|
| 3710 | $ac_includes_default |
---|
| 3711 | #include <$ac_header> |
---|
| 3712 | _ACEOF |
---|
| 3713 | rm -f conftest.$ac_objext |
---|
| 3714 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3715 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3716 | ac_status=$? |
---|
| 3717 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3718 | rm -f conftest.er1 |
---|
| 3719 | cat conftest.err >&5 |
---|
| 3720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3721 | (exit $ac_status); } && |
---|
| 3722 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3723 | || test ! -s conftest.err' |
---|
| 3724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3725 | (eval $ac_try) 2>&5 |
---|
| 3726 | ac_status=$? |
---|
| 3727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3728 | (exit $ac_status); }; } && |
---|
| 3729 | { ac_try='test -s conftest.$ac_objext' |
---|
| 3730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3731 | (eval $ac_try) 2>&5 |
---|
| 3732 | ac_status=$? |
---|
| 3733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3734 | (exit $ac_status); }; }; then |
---|
| 3735 | ac_header_compiler=yes |
---|
| 3736 | else |
---|
| 3737 | echo "$as_me: failed program was:" >&5 |
---|
| 3738 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3739 | |
---|
| 3740 | ac_header_compiler=no |
---|
| 3741 | fi |
---|
| 3742 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3743 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
| 3744 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
| 3745 | |
---|
| 3746 | # Is the header present? |
---|
| 3747 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
| 3748 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
---|
| 3749 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3750 | /* confdefs.h. */ |
---|
| 3751 | _ACEOF |
---|
| 3752 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3753 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3754 | /* end confdefs.h. */ |
---|
| 3755 | #include <$ac_header> |
---|
| 3756 | _ACEOF |
---|
| 3757 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 3758 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 3759 | ac_status=$? |
---|
| 3760 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3761 | rm -f conftest.er1 |
---|
| 3762 | cat conftest.err >&5 |
---|
| 3763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3764 | (exit $ac_status); } >/dev/null; then |
---|
| 3765 | if test -s conftest.err; then |
---|
| 3766 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 3767 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 3768 | else |
---|
| 3769 | ac_cpp_err= |
---|
| 3770 | fi |
---|
| 3771 | else |
---|
| 3772 | ac_cpp_err=yes |
---|
| 3773 | fi |
---|
| 3774 | if test -z "$ac_cpp_err"; then |
---|
| 3775 | ac_header_preproc=yes |
---|
| 3776 | else |
---|
| 3777 | echo "$as_me: failed program was:" >&5 |
---|
| 3778 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3779 | |
---|
| 3780 | ac_header_preproc=no |
---|
| 3781 | fi |
---|
| 3782 | rm -f conftest.err conftest.$ac_ext |
---|
| 3783 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
| 3784 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
| 3785 | |
---|
| 3786 | # So? What about this header? |
---|
| 3787 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
| 3788 | yes:no: ) |
---|
| 3789 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 3790 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 3791 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
| 3792 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
| 3793 | ac_header_preproc=yes |
---|
| 3794 | ;; |
---|
| 3795 | no:yes:* ) |
---|
| 3796 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
| 3797 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
| 3798 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
| 3799 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
| 3800 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
| 3801 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
| 3802 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 3803 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 3804 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
| 3805 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
| 3806 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
| 3807 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
| 3808 | ( |
---|
| 3809 | cat <<\_ASBOX |
---|
| 3810 | ## ------------------------------------------ ## |
---|
| 3811 | ## Report this to the AC_PACKAGE_NAME lists. ## |
---|
| 3812 | ## ------------------------------------------ ## |
---|
| 3813 | _ASBOX |
---|
| 3814 | ) | |
---|
| 3815 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 3816 | ;; |
---|
| 3817 | esac |
---|
| 3818 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 3819 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
---|
| 3820 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 3821 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3822 | else |
---|
| 3823 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
| 3824 | fi |
---|
| 3825 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
| 3826 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
| 3827 | |
---|
| 3828 | fi |
---|
| 3829 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 3830 | cat >>confdefs.h <<_ACEOF |
---|
| 3831 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 3832 | _ACEOF |
---|
| 3833 | |
---|
| 3834 | fi |
---|
| 3835 | |
---|
| 3836 | done |
---|
| 3837 | |
---|
| 3838 | |
---|
| 3839 | echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
---|
| 3840 | echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 |
---|
| 3841 | if test "${fu_cv_sys_struct_utimbuf+set}" = set; then |
---|
| 3842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3843 | else |
---|
| 3844 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3845 | /* confdefs.h. */ |
---|
| 3846 | _ACEOF |
---|
| 3847 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3848 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3849 | /* end confdefs.h. */ |
---|
| 3850 | |
---|
| 3851 | #ifdef TIME_WITH_SYS_TIME |
---|
| 3852 | # include <sys/time.h> |
---|
| 3853 | # include <time.h> |
---|
| 3854 | #else |
---|
| 3855 | # ifdef HAVE_SYS_TIME_H |
---|
| 3856 | # include <sys/time.h> |
---|
| 3857 | # else |
---|
| 3858 | # include <time.h> |
---|
| 3859 | # endif |
---|
| 3860 | #endif |
---|
| 3861 | #ifdef HAVE_UTIME_H |
---|
| 3862 | # include <utime.h> |
---|
| 3863 | #endif |
---|
| 3864 | |
---|
| 3865 | int |
---|
| 3866 | main () |
---|
| 3867 | { |
---|
| 3868 | static struct utimbuf x; x.actime = x.modtime; |
---|
| 3869 | ; |
---|
| 3870 | return 0; |
---|
| 3871 | } |
---|
| 3872 | _ACEOF |
---|
| 3873 | rm -f conftest.$ac_objext |
---|
| 3874 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3875 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3876 | ac_status=$? |
---|
| 3877 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3878 | rm -f conftest.er1 |
---|
| 3879 | cat conftest.err >&5 |
---|
| 3880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3881 | (exit $ac_status); } && |
---|
| 3882 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3883 | || test ! -s conftest.err' |
---|
| 3884 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3885 | (eval $ac_try) 2>&5 |
---|
| 3886 | ac_status=$? |
---|
| 3887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3888 | (exit $ac_status); }; } && |
---|
| 3889 | { ac_try='test -s conftest.$ac_objext' |
---|
| 3890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3891 | (eval $ac_try) 2>&5 |
---|
| 3892 | ac_status=$? |
---|
| 3893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3894 | (exit $ac_status); }; }; then |
---|
| 3895 | fu_cv_sys_struct_utimbuf=yes |
---|
| 3896 | else |
---|
| 3897 | echo "$as_me: failed program was:" >&5 |
---|
| 3898 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3899 | |
---|
| 3900 | fu_cv_sys_struct_utimbuf=no |
---|
| 3901 | fi |
---|
| 3902 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3903 | |
---|
| 3904 | fi |
---|
| 3905 | echo "$as_me:$LINENO: result: $fu_cv_sys_struct_utimbuf" >&5 |
---|
| 3906 | echo "${ECHO_T}$fu_cv_sys_struct_utimbuf" >&6 |
---|
| 3907 | |
---|
| 3908 | if test $fu_cv_sys_struct_utimbuf = yes; then |
---|
| 3909 | |
---|
| 3910 | cat >>confdefs.h <<_ACEOF |
---|
| 3911 | #define HAVE_STRUCT_UTIMBUF 1 |
---|
| 3912 | _ACEOF |
---|
| 3913 | |
---|
| 3914 | fi |
---|
| 3915 | |
---|
| 3916 | echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5 |
---|
| 3917 | echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6 |
---|
| 3918 | if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then |
---|
| 3919 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3920 | else |
---|
| 3921 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3922 | /* confdefs.h. */ |
---|
| 3923 | _ACEOF |
---|
| 3924 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3925 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3926 | /* end confdefs.h. */ |
---|
| 3927 | #include <sys/types.h> |
---|
| 3928 | int |
---|
| 3929 | main () |
---|
| 3930 | { |
---|
| 3931 | return makedev(0, 0); |
---|
| 3932 | ; |
---|
| 3933 | return 0; |
---|
| 3934 | } |
---|
| 3935 | _ACEOF |
---|
| 3936 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 3937 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 3938 | (eval $ac_link) 2>conftest.er1 |
---|
| 3939 | ac_status=$? |
---|
| 3940 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3941 | rm -f conftest.er1 |
---|
| 3942 | cat conftest.err >&5 |
---|
| 3943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3944 | (exit $ac_status); } && |
---|
| 3945 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 3946 | || test ! -s conftest.err' |
---|
| 3947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3948 | (eval $ac_try) 2>&5 |
---|
| 3949 | ac_status=$? |
---|
| 3950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3951 | (exit $ac_status); }; } && |
---|
| 3952 | { ac_try='test -s conftest$ac_exeext' |
---|
| 3953 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 3954 | (eval $ac_try) 2>&5 |
---|
| 3955 | ac_status=$? |
---|
| 3956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3957 | (exit $ac_status); }; }; then |
---|
| 3958 | ac_cv_header_sys_types_h_makedev=yes |
---|
| 3959 | else |
---|
| 3960 | echo "$as_me: failed program was:" >&5 |
---|
| 3961 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3962 | |
---|
| 3963 | ac_cv_header_sys_types_h_makedev=no |
---|
| 3964 | fi |
---|
| 3965 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 3966 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3967 | |
---|
| 3968 | fi |
---|
| 3969 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5 |
---|
| 3970 | echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6 |
---|
| 3971 | |
---|
| 3972 | if test $ac_cv_header_sys_types_h_makedev = no; then |
---|
| 3973 | if test "${ac_cv_header_sys_mkdev_h+set}" = set; then |
---|
| 3974 | echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 |
---|
| 3975 | echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 |
---|
| 3976 | if test "${ac_cv_header_sys_mkdev_h+set}" = set; then |
---|
| 3977 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3978 | fi |
---|
| 3979 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 |
---|
| 3980 | echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 |
---|
| 3981 | else |
---|
| 3982 | # Is the header compilable? |
---|
| 3983 | echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5 |
---|
| 3984 | echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6 |
---|
| 3985 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3986 | /* confdefs.h. */ |
---|
| 3987 | _ACEOF |
---|
| 3988 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3989 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3990 | /* end confdefs.h. */ |
---|
| 3991 | $ac_includes_default |
---|
| 3992 | #include <sys/mkdev.h> |
---|
| 3993 | _ACEOF |
---|
| 3994 | rm -f conftest.$ac_objext |
---|
| 3995 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 3996 | (eval $ac_compile) 2>conftest.er1 |
---|
| 3997 | ac_status=$? |
---|
| 3998 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3999 | rm -f conftest.er1 |
---|
| 4000 | cat conftest.err >&5 |
---|
| 4001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4002 | (exit $ac_status); } && |
---|
| 4003 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4004 | || test ! -s conftest.err' |
---|
| 4005 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4006 | (eval $ac_try) 2>&5 |
---|
| 4007 | ac_status=$? |
---|
| 4008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4009 | (exit $ac_status); }; } && |
---|
| 4010 | { ac_try='test -s conftest.$ac_objext' |
---|
| 4011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4012 | (eval $ac_try) 2>&5 |
---|
| 4013 | ac_status=$? |
---|
| 4014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4015 | (exit $ac_status); }; }; then |
---|
| 4016 | ac_header_compiler=yes |
---|
| 4017 | else |
---|
| 4018 | echo "$as_me: failed program was:" >&5 |
---|
| 4019 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4020 | |
---|
| 4021 | ac_header_compiler=no |
---|
| 4022 | fi |
---|
| 4023 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4024 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
| 4025 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
| 4026 | |
---|
| 4027 | # Is the header present? |
---|
| 4028 | echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5 |
---|
| 4029 | echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6 |
---|
| 4030 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4031 | /* confdefs.h. */ |
---|
| 4032 | _ACEOF |
---|
| 4033 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4034 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4035 | /* end confdefs.h. */ |
---|
| 4036 | #include <sys/mkdev.h> |
---|
| 4037 | _ACEOF |
---|
| 4038 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 4039 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 4040 | ac_status=$? |
---|
| 4041 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4042 | rm -f conftest.er1 |
---|
| 4043 | cat conftest.err >&5 |
---|
| 4044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4045 | (exit $ac_status); } >/dev/null; then |
---|
| 4046 | if test -s conftest.err; then |
---|
| 4047 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4048 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4049 | else |
---|
| 4050 | ac_cpp_err= |
---|
| 4051 | fi |
---|
| 4052 | else |
---|
| 4053 | ac_cpp_err=yes |
---|
| 4054 | fi |
---|
| 4055 | if test -z "$ac_cpp_err"; then |
---|
| 4056 | ac_header_preproc=yes |
---|
| 4057 | else |
---|
| 4058 | echo "$as_me: failed program was:" >&5 |
---|
| 4059 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4060 | |
---|
| 4061 | ac_header_preproc=no |
---|
| 4062 | fi |
---|
| 4063 | rm -f conftest.err conftest.$ac_ext |
---|
| 4064 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
| 4065 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
| 4066 | |
---|
| 4067 | # So? What about this header? |
---|
| 4068 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
| 4069 | yes:no: ) |
---|
| 4070 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 4071 | echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 4072 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5 |
---|
| 4073 | echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;} |
---|
| 4074 | ac_header_preproc=yes |
---|
| 4075 | ;; |
---|
| 4076 | no:yes:* ) |
---|
| 4077 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5 |
---|
| 4078 | echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;} |
---|
| 4079 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5 |
---|
| 4080 | echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;} |
---|
| 4081 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5 |
---|
| 4082 | echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;} |
---|
| 4083 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 4084 | echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 4085 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5 |
---|
| 4086 | echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;} |
---|
| 4087 | { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5 |
---|
| 4088 | echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;} |
---|
| 4089 | ( |
---|
| 4090 | cat <<\_ASBOX |
---|
| 4091 | ## ------------------------------------------ ## |
---|
| 4092 | ## Report this to the AC_PACKAGE_NAME lists. ## |
---|
| 4093 | ## ------------------------------------------ ## |
---|
| 4094 | _ASBOX |
---|
| 4095 | ) | |
---|
| 4096 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 4097 | ;; |
---|
| 4098 | esac |
---|
| 4099 | echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5 |
---|
| 4100 | echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 |
---|
| 4101 | if test "${ac_cv_header_sys_mkdev_h+set}" = set; then |
---|
| 4102 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4103 | else |
---|
| 4104 | ac_cv_header_sys_mkdev_h=$ac_header_preproc |
---|
| 4105 | fi |
---|
| 4106 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5 |
---|
| 4107 | echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 |
---|
| 4108 | |
---|
| 4109 | fi |
---|
| 4110 | if test $ac_cv_header_sys_mkdev_h = yes; then |
---|
| 4111 | |
---|
| 4112 | cat >>confdefs.h <<\_ACEOF |
---|
| 4113 | #define MAJOR_IN_MKDEV 1 |
---|
| 4114 | _ACEOF |
---|
| 4115 | |
---|
| 4116 | fi |
---|
| 4117 | |
---|
| 4118 | |
---|
| 4119 | |
---|
| 4120 | if test $ac_cv_header_sys_mkdev_h = no; then |
---|
| 4121 | if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then |
---|
| 4122 | echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 |
---|
| 4123 | echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 |
---|
| 4124 | if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then |
---|
| 4125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4126 | fi |
---|
| 4127 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 |
---|
| 4128 | echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 |
---|
| 4129 | else |
---|
| 4130 | # Is the header compilable? |
---|
| 4131 | echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5 |
---|
| 4132 | echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6 |
---|
| 4133 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4134 | /* confdefs.h. */ |
---|
| 4135 | _ACEOF |
---|
| 4136 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4137 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4138 | /* end confdefs.h. */ |
---|
| 4139 | $ac_includes_default |
---|
| 4140 | #include <sys/sysmacros.h> |
---|
| 4141 | _ACEOF |
---|
| 4142 | rm -f conftest.$ac_objext |
---|
| 4143 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 4144 | (eval $ac_compile) 2>conftest.er1 |
---|
| 4145 | ac_status=$? |
---|
| 4146 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4147 | rm -f conftest.er1 |
---|
| 4148 | cat conftest.err >&5 |
---|
| 4149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4150 | (exit $ac_status); } && |
---|
| 4151 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4152 | || test ! -s conftest.err' |
---|
| 4153 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4154 | (eval $ac_try) 2>&5 |
---|
| 4155 | ac_status=$? |
---|
| 4156 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4157 | (exit $ac_status); }; } && |
---|
| 4158 | { ac_try='test -s conftest.$ac_objext' |
---|
| 4159 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4160 | (eval $ac_try) 2>&5 |
---|
| 4161 | ac_status=$? |
---|
| 4162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4163 | (exit $ac_status); }; }; then |
---|
| 4164 | ac_header_compiler=yes |
---|
| 4165 | else |
---|
| 4166 | echo "$as_me: failed program was:" >&5 |
---|
| 4167 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4168 | |
---|
| 4169 | ac_header_compiler=no |
---|
| 4170 | fi |
---|
| 4171 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4172 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
| 4173 | echo "${ECHO_T}$ac_header_compiler" >&6 |
---|
| 4174 | |
---|
| 4175 | # Is the header present? |
---|
| 4176 | echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5 |
---|
| 4177 | echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6 |
---|
| 4178 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4179 | /* confdefs.h. */ |
---|
| 4180 | _ACEOF |
---|
| 4181 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4182 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4183 | /* end confdefs.h. */ |
---|
| 4184 | #include <sys/sysmacros.h> |
---|
| 4185 | _ACEOF |
---|
| 4186 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 4187 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 4188 | ac_status=$? |
---|
| 4189 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4190 | rm -f conftest.er1 |
---|
| 4191 | cat conftest.err >&5 |
---|
| 4192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4193 | (exit $ac_status); } >/dev/null; then |
---|
| 4194 | if test -s conftest.err; then |
---|
| 4195 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4196 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4197 | else |
---|
| 4198 | ac_cpp_err= |
---|
| 4199 | fi |
---|
| 4200 | else |
---|
| 4201 | ac_cpp_err=yes |
---|
| 4202 | fi |
---|
| 4203 | if test -z "$ac_cpp_err"; then |
---|
| 4204 | ac_header_preproc=yes |
---|
| 4205 | else |
---|
| 4206 | echo "$as_me: failed program was:" >&5 |
---|
| 4207 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4208 | |
---|
| 4209 | ac_header_preproc=no |
---|
| 4210 | fi |
---|
| 4211 | rm -f conftest.err conftest.$ac_ext |
---|
| 4212 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
| 4213 | echo "${ECHO_T}$ac_header_preproc" >&6 |
---|
| 4214 | |
---|
| 4215 | # So? What about this header? |
---|
| 4216 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
| 4217 | yes:no: ) |
---|
| 4218 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 4219 | echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 4220 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5 |
---|
| 4221 | echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;} |
---|
| 4222 | ac_header_preproc=yes |
---|
| 4223 | ;; |
---|
| 4224 | no:yes:* ) |
---|
| 4225 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5 |
---|
| 4226 | echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;} |
---|
| 4227 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5 |
---|
| 4228 | echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;} |
---|
| 4229 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5 |
---|
| 4230 | echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;} |
---|
| 4231 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 4232 | echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 4233 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5 |
---|
| 4234 | echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;} |
---|
| 4235 | { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5 |
---|
| 4236 | echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;} |
---|
| 4237 | ( |
---|
| 4238 | cat <<\_ASBOX |
---|
| 4239 | ## ------------------------------------------ ## |
---|
| 4240 | ## Report this to the AC_PACKAGE_NAME lists. ## |
---|
| 4241 | ## ------------------------------------------ ## |
---|
| 4242 | _ASBOX |
---|
| 4243 | ) | |
---|
| 4244 | sed "s/^/$as_me: WARNING: /" >&2 |
---|
| 4245 | ;; |
---|
| 4246 | esac |
---|
| 4247 | echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5 |
---|
| 4248 | echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 |
---|
| 4249 | if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then |
---|
| 4250 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4251 | else |
---|
| 4252 | ac_cv_header_sys_sysmacros_h=$ac_header_preproc |
---|
| 4253 | fi |
---|
| 4254 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5 |
---|
| 4255 | echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 |
---|
| 4256 | |
---|
| 4257 | fi |
---|
| 4258 | if test $ac_cv_header_sys_sysmacros_h = yes; then |
---|
| 4259 | |
---|
| 4260 | cat >>confdefs.h <<\_ACEOF |
---|
| 4261 | #define MAJOR_IN_SYSMACROS 1 |
---|
| 4262 | _ACEOF |
---|
| 4263 | |
---|
| 4264 | fi |
---|
| 4265 | |
---|
| 4266 | |
---|
| 4267 | fi |
---|
| 4268 | fi |
---|
| 4269 | |
---|
| 4270 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
---|
| 4271 | # for constant arguments. Useless! |
---|
| 4272 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
---|
| 4273 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
---|
| 4274 | if test "${ac_cv_working_alloca_h+set}" = set; then |
---|
| 4275 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4276 | else |
---|
| 4277 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4278 | /* confdefs.h. */ |
---|
| 4279 | _ACEOF |
---|
| 4280 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4281 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4282 | /* end confdefs.h. */ |
---|
| 4283 | #include <alloca.h> |
---|
| 4284 | int |
---|
| 4285 | main () |
---|
| 4286 | { |
---|
| 4287 | char *p = (char *) alloca (2 * sizeof (int)); |
---|
| 4288 | ; |
---|
| 4289 | return 0; |
---|
| 4290 | } |
---|
| 4291 | _ACEOF |
---|
| 4292 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 4293 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 4294 | (eval $ac_link) 2>conftest.er1 |
---|
| 4295 | ac_status=$? |
---|
| 4296 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4297 | rm -f conftest.er1 |
---|
| 4298 | cat conftest.err >&5 |
---|
| 4299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4300 | (exit $ac_status); } && |
---|
| 4301 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4302 | || test ! -s conftest.err' |
---|
| 4303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4304 | (eval $ac_try) 2>&5 |
---|
| 4305 | ac_status=$? |
---|
| 4306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4307 | (exit $ac_status); }; } && |
---|
| 4308 | { ac_try='test -s conftest$ac_exeext' |
---|
| 4309 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4310 | (eval $ac_try) 2>&5 |
---|
| 4311 | ac_status=$? |
---|
| 4312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4313 | (exit $ac_status); }; }; then |
---|
| 4314 | ac_cv_working_alloca_h=yes |
---|
| 4315 | else |
---|
| 4316 | echo "$as_me: failed program was:" >&5 |
---|
| 4317 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4318 | |
---|
| 4319 | ac_cv_working_alloca_h=no |
---|
| 4320 | fi |
---|
| 4321 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 4322 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4323 | fi |
---|
| 4324 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
---|
| 4325 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
---|
| 4326 | if test $ac_cv_working_alloca_h = yes; then |
---|
| 4327 | |
---|
| 4328 | cat >>confdefs.h <<\_ACEOF |
---|
| 4329 | #define HAVE_ALLOCA_H 1 |
---|
| 4330 | _ACEOF |
---|
| 4331 | |
---|
| 4332 | fi |
---|
| 4333 | |
---|
| 4334 | echo "$as_me:$LINENO: checking for alloca" >&5 |
---|
| 4335 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
---|
| 4336 | if test "${ac_cv_func_alloca_works+set}" = set; then |
---|
| 4337 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4338 | else |
---|
| 4339 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4340 | /* confdefs.h. */ |
---|
| 4341 | _ACEOF |
---|
| 4342 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4343 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4344 | /* end confdefs.h. */ |
---|
| 4345 | #ifdef __GNUC__ |
---|
| 4346 | # define alloca __builtin_alloca |
---|
| 4347 | #else |
---|
| 4348 | # ifdef _MSC_VER |
---|
| 4349 | # include <malloc.h> |
---|
| 4350 | # define alloca _alloca |
---|
| 4351 | # else |
---|
| 4352 | # if HAVE_ALLOCA_H |
---|
| 4353 | # include <alloca.h> |
---|
| 4354 | # else |
---|
| 4355 | # ifdef _AIX |
---|
| 4356 | #pragma alloca |
---|
| 4357 | # else |
---|
| 4358 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
---|
| 4359 | char *alloca (); |
---|
| 4360 | # endif |
---|
| 4361 | # endif |
---|
| 4362 | # endif |
---|
| 4363 | # endif |
---|
| 4364 | #endif |
---|
| 4365 | |
---|
| 4366 | int |
---|
| 4367 | main () |
---|
| 4368 | { |
---|
| 4369 | char *p = (char *) alloca (1); |
---|
| 4370 | ; |
---|
| 4371 | return 0; |
---|
| 4372 | } |
---|
| 4373 | _ACEOF |
---|
| 4374 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 4375 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 4376 | (eval $ac_link) 2>conftest.er1 |
---|
| 4377 | ac_status=$? |
---|
| 4378 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4379 | rm -f conftest.er1 |
---|
| 4380 | cat conftest.err >&5 |
---|
| 4381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4382 | (exit $ac_status); } && |
---|
| 4383 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4384 | || test ! -s conftest.err' |
---|
| 4385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4386 | (eval $ac_try) 2>&5 |
---|
| 4387 | ac_status=$? |
---|
| 4388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4389 | (exit $ac_status); }; } && |
---|
| 4390 | { ac_try='test -s conftest$ac_exeext' |
---|
| 4391 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4392 | (eval $ac_try) 2>&5 |
---|
| 4393 | ac_status=$? |
---|
| 4394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4395 | (exit $ac_status); }; }; then |
---|
| 4396 | ac_cv_func_alloca_works=yes |
---|
| 4397 | else |
---|
| 4398 | echo "$as_me: failed program was:" >&5 |
---|
| 4399 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4400 | |
---|
| 4401 | ac_cv_func_alloca_works=no |
---|
| 4402 | fi |
---|
| 4403 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 4404 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4405 | fi |
---|
| 4406 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
---|
| 4407 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
---|
| 4408 | |
---|
| 4409 | if test $ac_cv_func_alloca_works = yes; then |
---|
| 4410 | |
---|
| 4411 | cat >>confdefs.h <<\_ACEOF |
---|
| 4412 | #define HAVE_ALLOCA 1 |
---|
| 4413 | _ACEOF |
---|
| 4414 | |
---|
| 4415 | else |
---|
| 4416 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
---|
| 4417 | # that cause trouble. Some versions do not even contain alloca or |
---|
| 4418 | # contain a buggy version. If you still want to use their alloca, |
---|
| 4419 | # use ar to extract alloca.o from them instead of compiling alloca.c. |
---|
| 4420 | |
---|
| 4421 | ALLOCA=alloca.$ac_objext |
---|
| 4422 | |
---|
| 4423 | cat >>confdefs.h <<\_ACEOF |
---|
| 4424 | #define C_ALLOCA 1 |
---|
| 4425 | _ACEOF |
---|
| 4426 | |
---|
| 4427 | |
---|
| 4428 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
---|
| 4429 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
---|
| 4430 | if test "${ac_cv_os_cray+set}" = set; then |
---|
| 4431 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4432 | else |
---|
| 4433 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4434 | /* confdefs.h. */ |
---|
| 4435 | _ACEOF |
---|
| 4436 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4437 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4438 | /* end confdefs.h. */ |
---|
| 4439 | #if defined(CRAY) && ! defined(CRAY2) |
---|
| 4440 | webecray |
---|
| 4441 | #else |
---|
| 4442 | wenotbecray |
---|
| 4443 | #endif |
---|
| 4444 | |
---|
| 4445 | _ACEOF |
---|
| 4446 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 4447 | $EGREP "webecray" >/dev/null 2>&1; then |
---|
| 4448 | ac_cv_os_cray=yes |
---|
| 4449 | else |
---|
| 4450 | ac_cv_os_cray=no |
---|
| 4451 | fi |
---|
| 4452 | rm -f conftest* |
---|
| 4453 | |
---|
| 4454 | fi |
---|
| 4455 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
---|
| 4456 | echo "${ECHO_T}$ac_cv_os_cray" >&6 |
---|
| 4457 | if test $ac_cv_os_cray = yes; then |
---|
| 4458 | for ac_func in _getb67 GETB67 getb67; do |
---|
| 4459 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
| 4460 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
| 4461 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
| 4462 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
| 4463 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4464 | else |
---|
| 4465 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4466 | /* confdefs.h. */ |
---|
| 4467 | _ACEOF |
---|
| 4468 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4469 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4470 | /* end confdefs.h. */ |
---|
| 4471 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
| 4472 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 4473 | #define $ac_func innocuous_$ac_func |
---|
| 4474 | |
---|
| 4475 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 4476 | which can conflict with char $ac_func (); below. |
---|
| 4477 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4478 | <limits.h> exists even on freestanding compilers. */ |
---|
| 4479 | |
---|
| 4480 | #ifdef __STDC__ |
---|
| 4481 | # include <limits.h> |
---|
| 4482 | #else |
---|
| 4483 | # include <assert.h> |
---|
| 4484 | #endif |
---|
| 4485 | |
---|
| 4486 | #undef $ac_func |
---|
| 4487 | |
---|
| 4488 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 4489 | #ifdef __cplusplus |
---|
| 4490 | extern "C" |
---|
| 4491 | { |
---|
| 4492 | #endif |
---|
| 4493 | /* We use char because int might match the return type of a gcc2 |
---|
| 4494 | builtin and then its argument prototype would still apply. */ |
---|
| 4495 | char $ac_func (); |
---|
| 4496 | /* The GNU C library defines this for functions which it implements |
---|
| 4497 | to always fail with ENOSYS. Some functions are actually named |
---|
| 4498 | something starting with __ and the normal name is an alias. */ |
---|
| 4499 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
| 4500 | choke me |
---|
| 4501 | #else |
---|
| 4502 | char (*f) () = $ac_func; |
---|
| 4503 | #endif |
---|
| 4504 | #ifdef __cplusplus |
---|
| 4505 | } |
---|
| 4506 | #endif |
---|
| 4507 | |
---|
| 4508 | int |
---|
| 4509 | main () |
---|
| 4510 | { |
---|
| 4511 | return f != $ac_func; |
---|
| 4512 | ; |
---|
| 4513 | return 0; |
---|
| 4514 | } |
---|
| 4515 | _ACEOF |
---|
| 4516 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 4517 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 4518 | (eval $ac_link) 2>conftest.er1 |
---|
| 4519 | ac_status=$? |
---|
| 4520 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4521 | rm -f conftest.er1 |
---|
| 4522 | cat conftest.err >&5 |
---|
| 4523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4524 | (exit $ac_status); } && |
---|
| 4525 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4526 | || test ! -s conftest.err' |
---|
| 4527 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4528 | (eval $ac_try) 2>&5 |
---|
| 4529 | ac_status=$? |
---|
| 4530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4531 | (exit $ac_status); }; } && |
---|
| 4532 | { ac_try='test -s conftest$ac_exeext' |
---|
| 4533 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4534 | (eval $ac_try) 2>&5 |
---|
| 4535 | ac_status=$? |
---|
| 4536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4537 | (exit $ac_status); }; }; then |
---|
| 4538 | eval "$as_ac_var=yes" |
---|
| 4539 | else |
---|
| 4540 | echo "$as_me: failed program was:" >&5 |
---|
| 4541 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4542 | |
---|
| 4543 | eval "$as_ac_var=no" |
---|
| 4544 | fi |
---|
| 4545 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 4546 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4547 | fi |
---|
| 4548 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
| 4549 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
| 4550 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
| 4551 | |
---|
| 4552 | cat >>confdefs.h <<_ACEOF |
---|
| 4553 | #define CRAY_STACKSEG_END $ac_func |
---|
| 4554 | _ACEOF |
---|
| 4555 | |
---|
| 4556 | break |
---|
| 4557 | fi |
---|
| 4558 | |
---|
| 4559 | done |
---|
| 4560 | fi |
---|
| 4561 | |
---|
| 4562 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
---|
| 4563 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
---|
| 4564 | if test "${ac_cv_c_stack_direction+set}" = set; then |
---|
| 4565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4566 | else |
---|
| 4567 | if test "$cross_compiling" = yes; then |
---|
| 4568 | ac_cv_c_stack_direction=0 |
---|
| 4569 | else |
---|
| 4570 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4571 | /* confdefs.h. */ |
---|
| 4572 | _ACEOF |
---|
| 4573 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4574 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4575 | /* end confdefs.h. */ |
---|
| 4576 | int |
---|
| 4577 | find_stack_direction () |
---|
| 4578 | { |
---|
| 4579 | static char *addr = 0; |
---|
| 4580 | auto char dummy; |
---|
| 4581 | if (addr == 0) |
---|
| 4582 | { |
---|
| 4583 | addr = &dummy; |
---|
| 4584 | return find_stack_direction (); |
---|
| 4585 | } |
---|
| 4586 | else |
---|
| 4587 | return (&dummy > addr) ? 1 : -1; |
---|
| 4588 | } |
---|
| 4589 | |
---|
| 4590 | int |
---|
| 4591 | main () |
---|
| 4592 | { |
---|
| 4593 | exit (find_stack_direction () < 0); |
---|
| 4594 | } |
---|
| 4595 | _ACEOF |
---|
| 4596 | rm -f conftest$ac_exeext |
---|
| 4597 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 4598 | (eval $ac_link) 2>&5 |
---|
| 4599 | ac_status=$? |
---|
| 4600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4601 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 4602 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4603 | (eval $ac_try) 2>&5 |
---|
| 4604 | ac_status=$? |
---|
| 4605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4606 | (exit $ac_status); }; }; then |
---|
| 4607 | ac_cv_c_stack_direction=1 |
---|
| 4608 | else |
---|
| 4609 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 4610 | echo "$as_me: failed program was:" >&5 |
---|
| 4611 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4612 | |
---|
| 4613 | ( exit $ac_status ) |
---|
| 4614 | ac_cv_c_stack_direction=-1 |
---|
| 4615 | fi |
---|
| 4616 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 4617 | fi |
---|
| 4618 | fi |
---|
| 4619 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
---|
| 4620 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
---|
| 4621 | |
---|
| 4622 | cat >>confdefs.h <<_ACEOF |
---|
| 4623 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
---|
| 4624 | _ACEOF |
---|
| 4625 | |
---|
| 4626 | |
---|
| 4627 | fi |
---|
| 4628 | |
---|
| 4629 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
---|
| 4630 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
---|
| 4631 | if test "${ac_cv_struct_tm+set}" = set; then |
---|
| 4632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4633 | else |
---|
| 4634 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4635 | /* confdefs.h. */ |
---|
| 4636 | _ACEOF |
---|
| 4637 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4638 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4639 | /* end confdefs.h. */ |
---|
| 4640 | #include <sys/types.h> |
---|
| 4641 | #include <time.h> |
---|
| 4642 | |
---|
| 4643 | int |
---|
| 4644 | main () |
---|
| 4645 | { |
---|
| 4646 | struct tm *tp; tp->tm_sec; |
---|
| 4647 | ; |
---|
| 4648 | return 0; |
---|
| 4649 | } |
---|
| 4650 | _ACEOF |
---|
| 4651 | rm -f conftest.$ac_objext |
---|
| 4652 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 4653 | (eval $ac_compile) 2>conftest.er1 |
---|
| 4654 | ac_status=$? |
---|
| 4655 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4656 | rm -f conftest.er1 |
---|
| 4657 | cat conftest.err >&5 |
---|
| 4658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4659 | (exit $ac_status); } && |
---|
| 4660 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4661 | || test ! -s conftest.err' |
---|
| 4662 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4663 | (eval $ac_try) 2>&5 |
---|
| 4664 | ac_status=$? |
---|
| 4665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4666 | (exit $ac_status); }; } && |
---|
| 4667 | { ac_try='test -s conftest.$ac_objext' |
---|
| 4668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4669 | (eval $ac_try) 2>&5 |
---|
| 4670 | ac_status=$? |
---|
| 4671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4672 | (exit $ac_status); }; }; then |
---|
| 4673 | ac_cv_struct_tm=time.h |
---|
| 4674 | else |
---|
| 4675 | echo "$as_me: failed program was:" >&5 |
---|
| 4676 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4677 | |
---|
| 4678 | ac_cv_struct_tm=sys/time.h |
---|
| 4679 | fi |
---|
| 4680 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4681 | fi |
---|
| 4682 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
---|
| 4683 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
---|
| 4684 | if test $ac_cv_struct_tm = sys/time.h; then |
---|
| 4685 | |
---|
| 4686 | cat >>confdefs.h <<\_ACEOF |
---|
| 4687 | #define TM_IN_SYS_TIME 1 |
---|
| 4688 | _ACEOF |
---|
| 4689 | |
---|
| 4690 | fi |
---|
| 4691 | |
---|
| 4692 | echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5 |
---|
| 4693 | echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6 |
---|
| 4694 | if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then |
---|
| 4695 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4696 | else |
---|
| 4697 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4698 | /* confdefs.h. */ |
---|
| 4699 | _ACEOF |
---|
| 4700 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4701 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4702 | /* end confdefs.h. */ |
---|
| 4703 | $ac_includes_default |
---|
| 4704 | int |
---|
| 4705 | main () |
---|
| 4706 | { |
---|
| 4707 | static struct stat ac_aggr; |
---|
| 4708 | if (ac_aggr.st_blocks) |
---|
| 4709 | return 0; |
---|
| 4710 | ; |
---|
| 4711 | return 0; |
---|
| 4712 | } |
---|
| 4713 | _ACEOF |
---|
| 4714 | rm -f conftest.$ac_objext |
---|
| 4715 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 4716 | (eval $ac_compile) 2>conftest.er1 |
---|
| 4717 | ac_status=$? |
---|
| 4718 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4719 | rm -f conftest.er1 |
---|
| 4720 | cat conftest.err >&5 |
---|
| 4721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4722 | (exit $ac_status); } && |
---|
| 4723 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4724 | || test ! -s conftest.err' |
---|
| 4725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4726 | (eval $ac_try) 2>&5 |
---|
| 4727 | ac_status=$? |
---|
| 4728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4729 | (exit $ac_status); }; } && |
---|
| 4730 | { ac_try='test -s conftest.$ac_objext' |
---|
| 4731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4732 | (eval $ac_try) 2>&5 |
---|
| 4733 | ac_status=$? |
---|
| 4734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4735 | (exit $ac_status); }; }; then |
---|
| 4736 | ac_cv_member_struct_stat_st_blocks=yes |
---|
| 4737 | else |
---|
| 4738 | echo "$as_me: failed program was:" >&5 |
---|
| 4739 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4740 | |
---|
| 4741 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4742 | /* confdefs.h. */ |
---|
| 4743 | _ACEOF |
---|
| 4744 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4745 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4746 | /* end confdefs.h. */ |
---|
| 4747 | $ac_includes_default |
---|
| 4748 | int |
---|
| 4749 | main () |
---|
| 4750 | { |
---|
| 4751 | static struct stat ac_aggr; |
---|
| 4752 | if (sizeof ac_aggr.st_blocks) |
---|
| 4753 | return 0; |
---|
| 4754 | ; |
---|
| 4755 | return 0; |
---|
| 4756 | } |
---|
| 4757 | _ACEOF |
---|
| 4758 | rm -f conftest.$ac_objext |
---|
| 4759 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 4760 | (eval $ac_compile) 2>conftest.er1 |
---|
| 4761 | ac_status=$? |
---|
| 4762 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4763 | rm -f conftest.er1 |
---|
| 4764 | cat conftest.err >&5 |
---|
| 4765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4766 | (exit $ac_status); } && |
---|
| 4767 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4768 | || test ! -s conftest.err' |
---|
| 4769 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4770 | (eval $ac_try) 2>&5 |
---|
| 4771 | ac_status=$? |
---|
| 4772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4773 | (exit $ac_status); }; } && |
---|
| 4774 | { ac_try='test -s conftest.$ac_objext' |
---|
| 4775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4776 | (eval $ac_try) 2>&5 |
---|
| 4777 | ac_status=$? |
---|
| 4778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4779 | (exit $ac_status); }; }; then |
---|
| 4780 | ac_cv_member_struct_stat_st_blocks=yes |
---|
| 4781 | else |
---|
| 4782 | echo "$as_me: failed program was:" >&5 |
---|
| 4783 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4784 | |
---|
| 4785 | ac_cv_member_struct_stat_st_blocks=no |
---|
| 4786 | fi |
---|
| 4787 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4788 | fi |
---|
| 4789 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4790 | fi |
---|
| 4791 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5 |
---|
| 4792 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6 |
---|
| 4793 | if test $ac_cv_member_struct_stat_st_blocks = yes; then |
---|
| 4794 | |
---|
| 4795 | cat >>confdefs.h <<_ACEOF |
---|
| 4796 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 |
---|
| 4797 | _ACEOF |
---|
| 4798 | |
---|
| 4799 | |
---|
| 4800 | cat >>confdefs.h <<\_ACEOF |
---|
| 4801 | #define HAVE_ST_BLOCKS 1 |
---|
| 4802 | _ACEOF |
---|
| 4803 | |
---|
| 4804 | else |
---|
| 4805 | case $LIBOBJS in |
---|
| 4806 | "fileblocks.$ac_objext" | \ |
---|
| 4807 | *" fileblocks.$ac_objext" | \ |
---|
| 4808 | "fileblocks.$ac_objext "* | \ |
---|
| 4809 | *" fileblocks.$ac_objext "* ) ;; |
---|
| 4810 | *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;; |
---|
| 4811 | esac |
---|
| 4812 | |
---|
| 4813 | fi |
---|
| 4814 | |
---|
| 4815 | |
---|
| 4816 | |
---|
| 4817 | |
---|
| 4818 | |
---|
| 4819 | |
---|
| 4820 | |
---|
| 4821 | ac_header_dirent=no |
---|
| 4822 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
---|
| 4823 | as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
---|
| 4824 | echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
---|
| 4825 | echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
---|
| 4826 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
---|
| 4827 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4828 | else |
---|
| 4829 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4830 | /* confdefs.h. */ |
---|
| 4831 | _ACEOF |
---|
| 4832 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4833 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4834 | /* end confdefs.h. */ |
---|
| 4835 | #include <sys/types.h> |
---|
| 4836 | #include <$ac_hdr> |
---|
| 4837 | |
---|
| 4838 | int |
---|
| 4839 | main () |
---|
| 4840 | { |
---|
| 4841 | if ((DIR *) 0) |
---|
| 4842 | return 0; |
---|
| 4843 | ; |
---|
| 4844 | return 0; |
---|
| 4845 | } |
---|
| 4846 | _ACEOF |
---|
| 4847 | rm -f conftest.$ac_objext |
---|
| 4848 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 4849 | (eval $ac_compile) 2>conftest.er1 |
---|
| 4850 | ac_status=$? |
---|
| 4851 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4852 | rm -f conftest.er1 |
---|
| 4853 | cat conftest.err >&5 |
---|
| 4854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4855 | (exit $ac_status); } && |
---|
| 4856 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4857 | || test ! -s conftest.err' |
---|
| 4858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4859 | (eval $ac_try) 2>&5 |
---|
| 4860 | ac_status=$? |
---|
| 4861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4862 | (exit $ac_status); }; } && |
---|
| 4863 | { ac_try='test -s conftest.$ac_objext' |
---|
| 4864 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4865 | (eval $ac_try) 2>&5 |
---|
| 4866 | ac_status=$? |
---|
| 4867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4868 | (exit $ac_status); }; }; then |
---|
| 4869 | eval "$as_ac_Header=yes" |
---|
| 4870 | else |
---|
| 4871 | echo "$as_me: failed program was:" >&5 |
---|
| 4872 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4873 | |
---|
| 4874 | eval "$as_ac_Header=no" |
---|
| 4875 | fi |
---|
| 4876 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4877 | fi |
---|
| 4878 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
---|
| 4879 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
---|
| 4880 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 4881 | cat >>confdefs.h <<_ACEOF |
---|
| 4882 | #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
---|
| 4883 | _ACEOF |
---|
| 4884 | |
---|
| 4885 | ac_header_dirent=$ac_hdr; break |
---|
| 4886 | fi |
---|
| 4887 | |
---|
| 4888 | done |
---|
| 4889 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
---|
| 4890 | if test $ac_header_dirent = dirent.h; then |
---|
| 4891 | echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
---|
| 4892 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
---|
| 4893 | if test "${ac_cv_search_opendir+set}" = set; then |
---|
| 4894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4895 | else |
---|
| 4896 | ac_func_search_save_LIBS=$LIBS |
---|
| 4897 | ac_cv_search_opendir=no |
---|
| 4898 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4899 | /* confdefs.h. */ |
---|
| 4900 | _ACEOF |
---|
| 4901 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4902 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4903 | /* end confdefs.h. */ |
---|
| 4904 | |
---|
| 4905 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 4906 | #ifdef __cplusplus |
---|
| 4907 | extern "C" |
---|
| 4908 | #endif |
---|
| 4909 | /* We use char because int might match the return type of a gcc2 |
---|
| 4910 | builtin and then its argument prototype would still apply. */ |
---|
| 4911 | char opendir (); |
---|
| 4912 | int |
---|
| 4913 | main () |
---|
| 4914 | { |
---|
| 4915 | opendir (); |
---|
| 4916 | ; |
---|
| 4917 | return 0; |
---|
| 4918 | } |
---|
| 4919 | _ACEOF |
---|
| 4920 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 4921 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 4922 | (eval $ac_link) 2>conftest.er1 |
---|
| 4923 | ac_status=$? |
---|
| 4924 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4925 | rm -f conftest.er1 |
---|
| 4926 | cat conftest.err >&5 |
---|
| 4927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4928 | (exit $ac_status); } && |
---|
| 4929 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4930 | || test ! -s conftest.err' |
---|
| 4931 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4932 | (eval $ac_try) 2>&5 |
---|
| 4933 | ac_status=$? |
---|
| 4934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4935 | (exit $ac_status); }; } && |
---|
| 4936 | { ac_try='test -s conftest$ac_exeext' |
---|
| 4937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4938 | (eval $ac_try) 2>&5 |
---|
| 4939 | ac_status=$? |
---|
| 4940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4941 | (exit $ac_status); }; }; then |
---|
| 4942 | ac_cv_search_opendir="none required" |
---|
| 4943 | else |
---|
| 4944 | echo "$as_me: failed program was:" >&5 |
---|
| 4945 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4946 | |
---|
| 4947 | fi |
---|
| 4948 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 4949 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4950 | if test "$ac_cv_search_opendir" = no; then |
---|
| 4951 | for ac_lib in dir; do |
---|
| 4952 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
---|
| 4953 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4954 | /* confdefs.h. */ |
---|
| 4955 | _ACEOF |
---|
| 4956 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4957 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4958 | /* end confdefs.h. */ |
---|
| 4959 | |
---|
| 4960 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 4961 | #ifdef __cplusplus |
---|
| 4962 | extern "C" |
---|
| 4963 | #endif |
---|
| 4964 | /* We use char because int might match the return type of a gcc2 |
---|
| 4965 | builtin and then its argument prototype would still apply. */ |
---|
| 4966 | char opendir (); |
---|
| 4967 | int |
---|
| 4968 | main () |
---|
| 4969 | { |
---|
| 4970 | opendir (); |
---|
| 4971 | ; |
---|
| 4972 | return 0; |
---|
| 4973 | } |
---|
| 4974 | _ACEOF |
---|
| 4975 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 4976 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 4977 | (eval $ac_link) 2>conftest.er1 |
---|
| 4978 | ac_status=$? |
---|
| 4979 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4980 | rm -f conftest.er1 |
---|
| 4981 | cat conftest.err >&5 |
---|
| 4982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4983 | (exit $ac_status); } && |
---|
| 4984 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 4985 | || test ! -s conftest.err' |
---|
| 4986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4987 | (eval $ac_try) 2>&5 |
---|
| 4988 | ac_status=$? |
---|
| 4989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4990 | (exit $ac_status); }; } && |
---|
| 4991 | { ac_try='test -s conftest$ac_exeext' |
---|
| 4992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 4993 | (eval $ac_try) 2>&5 |
---|
| 4994 | ac_status=$? |
---|
| 4995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4996 | (exit $ac_status); }; }; then |
---|
| 4997 | ac_cv_search_opendir="-l$ac_lib" |
---|
| 4998 | break |
---|
| 4999 | else |
---|
| 5000 | echo "$as_me: failed program was:" >&5 |
---|
| 5001 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5002 | |
---|
| 5003 | fi |
---|
| 5004 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 5005 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5006 | done |
---|
| 5007 | fi |
---|
| 5008 | LIBS=$ac_func_search_save_LIBS |
---|
| 5009 | fi |
---|
| 5010 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
---|
| 5011 | echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
---|
| 5012 | if test "$ac_cv_search_opendir" != no; then |
---|
| 5013 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
---|
| 5014 | |
---|
| 5015 | fi |
---|
| 5016 | |
---|
| 5017 | else |
---|
| 5018 | echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
---|
| 5019 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
---|
| 5020 | if test "${ac_cv_search_opendir+set}" = set; then |
---|
| 5021 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 5022 | else |
---|
| 5023 | ac_func_search_save_LIBS=$LIBS |
---|
| 5024 | ac_cv_search_opendir=no |
---|
| 5025 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 5026 | /* confdefs.h. */ |
---|
| 5027 | _ACEOF |
---|
| 5028 | cat confdefs.h >>conftest.$ac_ext |
---|
| 5029 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 5030 | /* end confdefs.h. */ |
---|
| 5031 | |
---|
| 5032 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 5033 | #ifdef __cplusplus |
---|
| 5034 | extern "C" |
---|
| 5035 | #endif |
---|
| 5036 | /* We use char because int might match the return type of a gcc2 |
---|
| 5037 | builtin and then its argument prototype would still apply. */ |
---|
| 5038 | char opendir (); |
---|
| 5039 | int |
---|
| 5040 | main () |
---|
| 5041 | { |
---|
| 5042 | opendir (); |
---|
| 5043 | ; |
---|
| 5044 | return 0; |
---|
| 5045 | } |
---|
| 5046 | _ACEOF |
---|
| 5047 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 5048 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 5049 | (eval $ac_link) 2>conftest.er1 |
---|
| 5050 | ac_status=$? |
---|
| 5051 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 5052 | rm -f conftest.er1 |
---|
| 5053 | cat conftest.err >&5 |
---|
| 5054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5055 | (exit $ac_status); } && |
---|
| 5056 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 5057 | || test ! -s conftest.err' |
---|
| 5058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5059 | (eval $ac_try) 2>&5 |
---|
| 5060 | ac_status=$? |
---|
| 5061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5062 | (exit $ac_status); }; } && |
---|
| 5063 | { ac_try='test -s conftest$ac_exeext' |
---|
| 5064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5065 | (eval $ac_try) 2>&5 |
---|
| 5066 | ac_status=$? |
---|
| 5067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5068 | (exit $ac_status); }; }; then |
---|
| 5069 | ac_cv_search_opendir="none required" |
---|
| 5070 | else |
---|
| 5071 | echo "$as_me: failed program was:" >&5 |
---|
| 5072 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5073 | |
---|
| 5074 | fi |
---|
| 5075 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 5076 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5077 | if test "$ac_cv_search_opendir" = no; then |
---|
| 5078 | for ac_lib in x; do |
---|
| 5079 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
---|
| 5080 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 5081 | /* confdefs.h. */ |
---|
| 5082 | _ACEOF |
---|
| 5083 | cat confdefs.h >>conftest.$ac_ext |
---|
| 5084 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 5085 | /* end confdefs.h. */ |
---|
| 5086 | |
---|
| 5087 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 5088 | #ifdef __cplusplus |
---|
| 5089 | extern "C" |
---|
| 5090 | #endif |
---|
| 5091 | /* We use char because int might match the return type of a gcc2 |
---|
| 5092 | builtin and then its argument prototype would still apply. */ |
---|
| 5093 | char opendir (); |
---|
| 5094 | int |
---|
| 5095 | main () |
---|
| 5096 | { |
---|
| 5097 | opendir (); |
---|
| 5098 | ; |
---|
| 5099 | return 0; |
---|
| 5100 | } |
---|
| 5101 | _ACEOF |
---|
| 5102 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 5103 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 5104 | (eval $ac_link) 2>conftest.er1 |
---|
| 5105 | ac_status=$? |
---|
| 5106 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 5107 | rm -f conftest.er1 |
---|
| 5108 | cat conftest.err >&5 |
---|
| 5109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5110 | (exit $ac_status); } && |
---|
| 5111 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 5112 | || test ! -s conftest.err' |
---|
| 5113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5114 | (eval $ac_try) 2>&5 |
---|
| 5115 | ac_status=$? |
---|
| 5116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5117 | (exit $ac_status); }; } && |
---|
| 5118 | { ac_try='test -s conftest$ac_exeext' |
---|
| 5119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5120 | (eval $ac_try) 2>&5 |
---|
| 5121 | ac_status=$? |
---|
| 5122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5123 | (exit $ac_status); }; }; then |
---|
| 5124 | ac_cv_search_opendir="-l$ac_lib" |
---|
| 5125 | break |
---|
| 5126 | else |
---|
| 5127 | echo "$as_me: failed program was:" >&5 |
---|
| 5128 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5129 | |
---|
| 5130 | fi |
---|
| 5131 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 5132 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5133 | done |
---|
| 5134 | fi |
---|
| 5135 | LIBS=$ac_func_search_save_LIBS |
---|
| 5136 | fi |
---|
| 5137 | echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
---|
| 5138 | echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
---|
| 5139 | if test "$ac_cv_search_opendir" != no; then |
---|
| 5140 | test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
---|
| 5141 | |
---|
| 5142 | fi |
---|
| 5143 | |
---|
| 5144 | fi |
---|
| 5145 | |
---|
| 5146 | echo "$as_me:$LINENO: checking whether closedir returns void" >&5 |
---|
| 5147 | echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 |
---|
| 5148 | if test "${ac_cv_func_closedir_void+set}" = set; then |
---|
| 5149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 5150 | else |
---|
| 5151 | if test "$cross_compiling" = yes; then |
---|
| 5152 | ac_cv_func_closedir_void=yes |
---|
| 5153 | else |
---|
| 5154 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 5155 | /* confdefs.h. */ |
---|
| 5156 | _ACEOF |
---|
| 5157 | cat confdefs.h >>conftest.$ac_ext |
---|
| 5158 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 5159 | /* end confdefs.h. */ |
---|
| 5160 | $ac_includes_default |
---|
| 5161 | #include <$ac_header_dirent> |
---|
| 5162 | #ifndef __cplusplus |
---|
| 5163 | int closedir (); |
---|
| 5164 | #endif |
---|
| 5165 | |
---|
| 5166 | int |
---|
| 5167 | main () |
---|
| 5168 | { |
---|
| 5169 | exit (closedir (opendir (".")) != 0); |
---|
| 5170 | ; |
---|
| 5171 | return 0; |
---|
| 5172 | } |
---|
| 5173 | _ACEOF |
---|
| 5174 | rm -f conftest$ac_exeext |
---|
| 5175 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 5176 | (eval $ac_link) 2>&5 |
---|
| 5177 | ac_status=$? |
---|
| 5178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5179 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
| 5180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5181 | (eval $ac_try) 2>&5 |
---|
| 5182 | ac_status=$? |
---|
| 5183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5184 | (exit $ac_status); }; }; then |
---|
| 5185 | ac_cv_func_closedir_void=no |
---|
| 5186 | else |
---|
| 5187 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 5188 | echo "$as_me: failed program was:" >&5 |
---|
| 5189 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5190 | |
---|
| 5191 | ( exit $ac_status ) |
---|
| 5192 | ac_cv_func_closedir_void=yes |
---|
| 5193 | fi |
---|
| 5194 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
| 5195 | fi |
---|
| 5196 | fi |
---|
| 5197 | echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5 |
---|
| 5198 | echo "${ECHO_T}$ac_cv_func_closedir_void" >&6 |
---|
| 5199 | if test $ac_cv_func_closedir_void = yes; then |
---|
| 5200 | |
---|
| 5201 | cat >>confdefs.h <<\_ACEOF |
---|
| 5202 | #define CLOSEDIR_VOID 1 |
---|
| 5203 | _ACEOF |
---|
| 5204 | |
---|
| 5205 | fi |
---|
| 5206 | |
---|
| 5207 | |
---|
| 5208 | for ac_func in mkfifo |
---|
| 5209 | do |
---|
| 5210 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
| 5211 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
| 5212 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
---|
| 5213 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
---|
| 5214 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 5215 | else |
---|
| 5216 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 5217 | /* confdefs.h. */ |
---|
| 5218 | _ACEOF |
---|
| 5219 | cat confdefs.h >>conftest.$ac_ext |
---|
| 5220 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 5221 | /* end confdefs.h. */ |
---|
| 5222 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
| 5223 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 5224 | #define $ac_func innocuous_$ac_func |
---|
| 5225 | |
---|
| 5226 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 5227 | which can conflict with char $ac_func (); below. |
---|
| 5228 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 5229 | <limits.h> exists even on freestanding compilers. */ |
---|
| 5230 | |
---|
| 5231 | #ifdef __STDC__ |
---|
| 5232 | # include <limits.h> |
---|
| 5233 | #else |
---|
| 5234 | # include <assert.h> |
---|
| 5235 | #endif |
---|
| 5236 | |
---|
| 5237 | #undef $ac_func |
---|
| 5238 | |
---|
| 5239 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 5240 | #ifdef __cplusplus |
---|
| 5241 | extern "C" |
---|
| 5242 | { |
---|
| 5243 | #endif |
---|
| 5244 | /* We use char because int might match the return type of a gcc2 |
---|
| 5245 | builtin and then its argument prototype would still apply. */ |
---|
| 5246 | char $ac_func (); |
---|
| 5247 | /* The GNU C library defines this for functions which it implements |
---|
| 5248 | to always fail with ENOSYS. Some functions are actually named |
---|
| 5249 | something starting with __ and the normal name is an alias. */ |
---|
| 5250 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
| 5251 | choke me |
---|
| 5252 | #else |
---|
| 5253 | char (*f) () = $ac_func; |
---|
| 5254 | #endif |
---|
| 5255 | #ifdef __cplusplus |
---|
| 5256 | } |
---|
| 5257 | #endif |
---|
| 5258 | |
---|
| 5259 | int |
---|
| 5260 | main () |
---|
| 5261 | { |
---|
| 5262 | return f != $ac_func; |
---|
| 5263 | ; |
---|
| 5264 | return 0; |
---|
| 5265 | } |
---|
| 5266 | _ACEOF |
---|
| 5267 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 5268 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 5269 | (eval $ac_link) 2>conftest.er1 |
---|
| 5270 | ac_status=$? |
---|
| 5271 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 5272 | rm -f conftest.er1 |
---|
| 5273 | cat conftest.err >&5 |
---|
| 5274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5275 | (exit $ac_status); } && |
---|
| 5276 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 5277 | || test ! -s conftest.err' |
---|
| 5278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5279 | (eval $ac_try) 2>&5 |
---|
| 5280 | ac_status=$? |
---|
| 5281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5282 | (exit $ac_status); }; } && |
---|
| 5283 | { ac_try='test -s conftest$ac_exeext' |
---|
| 5284 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5285 | (eval $ac_try) 2>&5 |
---|
| 5286 | ac_status=$? |
---|
| 5287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5288 | (exit $ac_status); }; }; then |
---|
| 5289 | eval "$as_ac_var=yes" |
---|
| 5290 | else |
---|
| 5291 | echo "$as_me: failed program was:" >&5 |
---|
| 5292 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5293 | |
---|
| 5294 | eval "$as_ac_var=no" |
---|
| 5295 | fi |
---|
| 5296 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 5297 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5298 | fi |
---|
| 5299 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
---|
| 5300 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
---|
| 5301 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
| 5302 | cat >>confdefs.h <<_ACEOF |
---|
| 5303 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
| 5304 | _ACEOF |
---|
| 5305 | |
---|
| 5306 | fi |
---|
| 5307 | done |
---|
| 5308 | |
---|
| 5309 | echo "$as_me:$LINENO: checking for mknod" >&5 |
---|
| 5310 | echo $ECHO_N "checking for mknod... $ECHO_C" >&6 |
---|
| 5311 | if test "${ac_cv_func_mknod+set}" = set; then |
---|
| 5312 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 5313 | else |
---|
| 5314 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 5315 | /* confdefs.h. */ |
---|
| 5316 | _ACEOF |
---|
| 5317 | cat confdefs.h >>conftest.$ac_ext |
---|
| 5318 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 5319 | /* end confdefs.h. */ |
---|
| 5320 | /* Define mknod to an innocuous variant, in case <limits.h> declares mknod. |
---|
| 5321 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 5322 | #define mknod innocuous_mknod |
---|
| 5323 | |
---|
| 5324 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 5325 | which can conflict with char mknod (); below. |
---|
| 5326 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 5327 | <limits.h> exists even on freestanding compilers. */ |
---|
| 5328 | |
---|
| 5329 | #ifdef __STDC__ |
---|
| 5330 | # include <limits.h> |
---|
| 5331 | #else |
---|
| 5332 | # include <assert.h> |
---|
| 5333 | #endif |
---|
| 5334 | |
---|
| 5335 | #undef mknod |
---|
| 5336 | |
---|
| 5337 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 5338 | #ifdef __cplusplus |
---|
| 5339 | extern "C" |
---|
| 5340 | { |
---|
| 5341 | #endif |
---|
| 5342 | /* We use char because int might match the return type of a gcc2 |
---|
| 5343 | builtin and then its argument prototype would still apply. */ |
---|
| 5344 | char mknod (); |
---|
| 5345 | /* The GNU C library defines this for functions which it implements |
---|
| 5346 | to always fail with ENOSYS. Some functions are actually named |
---|
| 5347 | something starting with __ and the normal name is an alias. */ |
---|
| 5348 | #if defined (__stub_mknod) || defined (__stub___mknod) |
---|
| 5349 | choke me |
---|
| 5350 | #else |
---|
| 5351 | char (*f) () = mknod; |
---|
| 5352 | #endif |
---|
| 5353 | #ifdef __cplusplus |
---|
| 5354 | } |
---|
| 5355 | #endif |
---|
| 5356 | |
---|
| 5357 | int |
---|
| 5358 | main () |
---|
| 5359 | { |
---|
| 5360 | return f != mknod; |
---|
| 5361 | ; |
---|
| 5362 | return 0; |
---|
| 5363 | } |
---|
| 5364 | _ACEOF |
---|
| 5365 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 5366 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 5367 | (eval $ac_link) 2>conftest.er1 |
---|
| 5368 | ac_status=$? |
---|
| 5369 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 5370 | rm -f conftest.er1 |
---|
| 5371 | cat conftest.err >&5 |
---|
| 5372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5373 | (exit $ac_status); } && |
---|
| 5374 | { ac_try='test -z "$ac_c_werror_flag" |
---|
| 5375 | || test ! -s conftest.err' |
---|
| 5376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5377 | (eval $ac_try) 2>&5 |
---|
| 5378 | ac_status=$? |
---|
| 5379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5380 | (exit $ac_status); }; } && |
---|
| 5381 | { ac_try='test -s conftest$ac_exeext' |
---|
| 5382 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 5383 | (eval $ac_try) 2>&5 |
---|
| 5384 | ac_status=$? |
---|
| 5385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 5386 | (exit $ac_status); }; }; then |
---|
| 5387 | ac_cv_func_mknod=yes |
---|
| 5388 | else |
---|
| 5389 | echo "$as_me: failed program was:" >&5 |
---|
| 5390 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5391 | |
---|
| 5392 | ac_cv_func_mknod=no |
---|
| 5393 | fi |
---|
| 5394 | rm -f conftest.err conftest.$ac_objext \ |
---|
| 5395 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5396 | fi |
---|
| 5397 | echo "$as_me:$LINENO: result: $ac_cv_func_mknod" >&5 |
---|
| 5398 | echo "${ECHO_T}$ac_cv_func_mknod" >&6 |
---|
| 5399 | |
---|
| 5400 | |
---|
| 5401 | |
---|
| 5402 | |
---|
| 5403 | ac_config_files="$ac_config_files Makefile orxonox.lsm orxonox.spec" |
---|
| 5404 | cat >confcache <<\_ACEOF |
---|
| 5405 | # This file is a shell script that caches the results of configure |
---|
| 5406 | # tests run on this system so they can be shared between configure |
---|
| 5407 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 5408 | # It is not useful on other systems. If it contains results you don't |
---|
| 5409 | # want to keep, you may remove or edit it. |
---|
| 5410 | # |
---|
| 5411 | # config.status only pays attention to the cache file if you give it |
---|
| 5412 | # the --recheck option to rerun configure. |
---|
| 5413 | # |
---|
| 5414 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 5415 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 5416 | # following values. |
---|
| 5417 | |
---|
| 5418 | _ACEOF |
---|
| 5419 | |
---|
| 5420 | # The following way of writing the cache mishandles newlines in values, |
---|
| 5421 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 5422 | # So, don't put newlines in cache variables' values. |
---|
| 5423 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 5424 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 5425 | { |
---|
| 5426 | (set) 2>&1 | |
---|
| 5427 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
| 5428 | *ac_space=\ *) |
---|
| 5429 | # `set' does not quote correctly, so add quotes (double-quote |
---|
| 5430 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
| 5431 | sed -n \ |
---|
| 5432 | "s/'/'\\\\''/g; |
---|
| 5433 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 5434 | ;; |
---|
| 5435 | *) |
---|
| 5436 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 5437 | sed -n \ |
---|
| 5438 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
| 5439 | ;; |
---|
| 5440 | esac; |
---|
| 5441 | } | |
---|
| 5442 | sed ' |
---|
| 5443 | t clear |
---|
| 5444 | : clear |
---|
| 5445 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 5446 | t end |
---|
| 5447 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 5448 | : end' >>confcache |
---|
| 5449 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
| 5450 | if test -w $cache_file; then |
---|
| 5451 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
| 5452 | cat confcache >$cache_file |
---|
| 5453 | else |
---|
| 5454 | echo "not updating unwritable cache $cache_file" |
---|
| 5455 | fi |
---|
| 5456 | fi |
---|
| 5457 | rm -f confcache |
---|
| 5458 | |
---|
| 5459 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 5460 | # Let make expand exec_prefix. |
---|
| 5461 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 5462 | |
---|
| 5463 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 5464 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 5465 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 5466 | # (actually we leave an empty line to preserve line numbers). |
---|
| 5467 | if test "x$srcdir" = x.; then |
---|
| 5468 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 5469 | s/:*\$(srcdir):*/:/; |
---|
| 5470 | s/:*\${srcdir}:*/:/; |
---|
| 5471 | s/:*@srcdir@:*/:/; |
---|
| 5472 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
| 5473 | s/:*$//; |
---|
| 5474 | s/^[^=]*=[ ]*$//; |
---|
| 5475 | }' |
---|
| 5476 | fi |
---|
| 5477 | |
---|
| 5478 | DEFS=-DHAVE_CONFIG_H |
---|
| 5479 | |
---|
| 5480 | ac_libobjs= |
---|
| 5481 | ac_ltlibobjs= |
---|
| 5482 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 5483 | # 1. Remove the extension, and $U if already installed. |
---|
| 5484 | ac_i=`echo "$ac_i" | |
---|
| 5485 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
| 5486 | # 2. Add them. |
---|
| 5487 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
| 5488 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
| 5489 | done |
---|
| 5490 | LIBOBJS=$ac_libobjs |
---|
| 5491 | |
---|
| 5492 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 5493 | |
---|
| 5494 | |
---|
| 5495 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
| 5496 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
---|
| 5497 | Usually this means the macro was only invoked conditionally." >&5 |
---|
| 5498 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
---|
| 5499 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
| 5500 | { (exit 1); exit 1; }; } |
---|
| 5501 | fi |
---|
| 5502 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
| 5503 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
---|
| 5504 | Usually this means the macro was only invoked conditionally." >&5 |
---|
| 5505 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
---|
| 5506 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
| 5507 | { (exit 1); exit 1; }; } |
---|
| 5508 | fi |
---|
| 5509 | |
---|
| 5510 | : ${CONFIG_STATUS=./config.status} |
---|
| 5511 | ac_clean_files_save=$ac_clean_files |
---|
| 5512 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 5513 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 5514 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 5515 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 5516 | #! $SHELL |
---|
| 5517 | # Generated by $as_me. |
---|
| 5518 | # Run this file to recreate the current configuration. |
---|
| 5519 | # Compiler output produced by configure, useful for debugging |
---|
| 5520 | # configure, is in config.log if it exists. |
---|
| 5521 | |
---|
| 5522 | debug=false |
---|
| 5523 | ac_cs_recheck=false |
---|
| 5524 | ac_cs_silent=false |
---|
| 5525 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 5526 | _ACEOF |
---|
| 5527 | |
---|
| 5528 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5529 | ## --------------------- ## |
---|
| 5530 | ## M4sh Initialization. ## |
---|
| 5531 | ## --------------------- ## |
---|
| 5532 | |
---|
| 5533 | # Be Bourne compatible |
---|
| 5534 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 5535 | emulate sh |
---|
| 5536 | NULLCMD=: |
---|
| 5537 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 5538 | # is contrary to our usage. Disable this feature. |
---|
| 5539 | alias -g '${1+"$@"}'='"$@"' |
---|
| 5540 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
| 5541 | set -o posix |
---|
| 5542 | fi |
---|
| 5543 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 5544 | |
---|
| 5545 | # Support unset when possible. |
---|
| 5546 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 5547 | as_unset=unset |
---|
| 5548 | else |
---|
| 5549 | as_unset=false |
---|
| 5550 | fi |
---|
| 5551 | |
---|
| 5552 | |
---|
| 5553 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
| 5554 | $as_unset ENV MAIL MAILPATH |
---|
| 5555 | PS1='$ ' |
---|
| 5556 | PS2='> ' |
---|
| 5557 | PS4='+ ' |
---|
| 5558 | |
---|
| 5559 | # NLS nuisances. |
---|
| 5560 | for as_var in \ |
---|
| 5561 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 5562 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 5563 | LC_TELEPHONE LC_TIME |
---|
| 5564 | do |
---|
| 5565 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 5566 | eval $as_var=C; export $as_var |
---|
| 5567 | else |
---|
| 5568 | $as_unset $as_var |
---|
| 5569 | fi |
---|
| 5570 | done |
---|
| 5571 | |
---|
| 5572 | # Required to use basename. |
---|
| 5573 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 5574 | as_expr=expr |
---|
| 5575 | else |
---|
| 5576 | as_expr=false |
---|
| 5577 | fi |
---|
| 5578 | |
---|
| 5579 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
| 5580 | as_basename=basename |
---|
| 5581 | else |
---|
| 5582 | as_basename=false |
---|
| 5583 | fi |
---|
| 5584 | |
---|
| 5585 | |
---|
| 5586 | # Name of the executable. |
---|
| 5587 | as_me=`$as_basename "$0" || |
---|
| 5588 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 5589 | X"$0" : 'X\(//\)$' \| \ |
---|
| 5590 | X"$0" : 'X\(/\)$' \| \ |
---|
| 5591 | . : '\(.\)' 2>/dev/null || |
---|
| 5592 | echo X/"$0" | |
---|
| 5593 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
| 5594 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
| 5595 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
| 5596 | s/.*/./; q'` |
---|
| 5597 | |
---|
| 5598 | |
---|
| 5599 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
| 5600 | # Avoid depending upon Character Ranges. |
---|
| 5601 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 5602 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 5603 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 5604 | as_cr_digits='0123456789' |
---|
| 5605 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 5606 | |
---|
| 5607 | # The user is always right. |
---|
| 5608 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 5609 | echo "#! /bin/sh" >conf$$.sh |
---|
| 5610 | echo "exit 0" >>conf$$.sh |
---|
| 5611 | chmod +x conf$$.sh |
---|
| 5612 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 5613 | PATH_SEPARATOR=';' |
---|
| 5614 | else |
---|
| 5615 | PATH_SEPARATOR=: |
---|
| 5616 | fi |
---|
| 5617 | rm -f conf$$.sh |
---|
| 5618 | fi |
---|
| 5619 | |
---|
| 5620 | |
---|
| 5621 | as_lineno_1=$LINENO |
---|
| 5622 | as_lineno_2=$LINENO |
---|
| 5623 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 5624 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 5625 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
| 5626 | # Find who we are. Look in the path if we contain no path at all |
---|
| 5627 | # relative or not. |
---|
| 5628 | case $0 in |
---|
| 5629 | *[\\/]* ) as_myself=$0 ;; |
---|
| 5630 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5631 | for as_dir in $PATH |
---|
| 5632 | do |
---|
| 5633 | IFS=$as_save_IFS |
---|
| 5634 | test -z "$as_dir" && as_dir=. |
---|
| 5635 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 5636 | done |
---|
| 5637 | |
---|
| 5638 | ;; |
---|
| 5639 | esac |
---|
| 5640 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 5641 | # in which case we are not to be found in the path. |
---|
| 5642 | if test "x$as_myself" = x; then |
---|
| 5643 | as_myself=$0 |
---|
| 5644 | fi |
---|
| 5645 | if test ! -f "$as_myself"; then |
---|
| 5646 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
| 5647 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
| 5648 | { (exit 1); exit 1; }; } |
---|
| 5649 | fi |
---|
| 5650 | case $CONFIG_SHELL in |
---|
| 5651 | '') |
---|
| 5652 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5653 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 5654 | do |
---|
| 5655 | IFS=$as_save_IFS |
---|
| 5656 | test -z "$as_dir" && as_dir=. |
---|
| 5657 | for as_base in sh bash ksh sh5; do |
---|
| 5658 | case $as_dir in |
---|
| 5659 | /*) |
---|
| 5660 | if ("$as_dir/$as_base" -c ' |
---|
| 5661 | as_lineno_1=$LINENO |
---|
| 5662 | as_lineno_2=$LINENO |
---|
| 5663 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 5664 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 5665 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
| 5666 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
| 5667 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
| 5668 | CONFIG_SHELL=$as_dir/$as_base |
---|
| 5669 | export CONFIG_SHELL |
---|
| 5670 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
| 5671 | fi;; |
---|
| 5672 | esac |
---|
| 5673 | done |
---|
| 5674 | done |
---|
| 5675 | ;; |
---|
| 5676 | esac |
---|
| 5677 | |
---|
| 5678 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 5679 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
| 5680 | # line-number line before each line; the second 'sed' does the real |
---|
| 5681 | # work. The second script uses 'N' to pair each line-number line |
---|
| 5682 | # with the numbered line, and appends trailing '-' during |
---|
| 5683 | # substitution so that $LINENO is not a special case at line end. |
---|
| 5684 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
| 5685 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
| 5686 | sed '=' <$as_myself | |
---|
| 5687 | sed ' |
---|
| 5688 | N |
---|
| 5689 | s,$,-, |
---|
| 5690 | : loop |
---|
| 5691 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
| 5692 | t loop |
---|
| 5693 | s,-$,, |
---|
| 5694 | s,^['$as_cr_digits']*\n,, |
---|
| 5695 | ' >$as_me.lineno && |
---|
| 5696 | chmod +x $as_me.lineno || |
---|
| 5697 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
| 5698 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
| 5699 | { (exit 1); exit 1; }; } |
---|
| 5700 | |
---|
| 5701 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 5702 | # (the dirname of $[0] is not the place where we might find the |
---|
| 5703 | # original and so on. Autoconf is especially sensible to this). |
---|
| 5704 | . ./$as_me.lineno |
---|
| 5705 | # Exit status is that of the last command. |
---|
| 5706 | exit |
---|
| 5707 | } |
---|
| 5708 | |
---|
| 5709 | |
---|
| 5710 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
| 5711 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
| 5712 | ' ECHO_T=' ' ;; |
---|
| 5713 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
| 5714 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
| 5715 | esac |
---|
| 5716 | |
---|
| 5717 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 5718 | as_expr=expr |
---|
| 5719 | else |
---|
| 5720 | as_expr=false |
---|
| 5721 | fi |
---|
| 5722 | |
---|
| 5723 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 5724 | echo >conf$$.file |
---|
| 5725 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 5726 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
| 5727 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
| 5728 | if test -f conf$$.exe; then |
---|
| 5729 | # Don't use ln at all; we don't have any links |
---|
| 5730 | as_ln_s='cp -p' |
---|
| 5731 | else |
---|
| 5732 | as_ln_s='ln -s' |
---|
| 5733 | fi |
---|
| 5734 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 5735 | as_ln_s=ln |
---|
| 5736 | else |
---|
| 5737 | as_ln_s='cp -p' |
---|
| 5738 | fi |
---|
| 5739 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 5740 | |
---|
| 5741 | if mkdir -p . 2>/dev/null; then |
---|
| 5742 | as_mkdir_p=: |
---|
| 5743 | else |
---|
| 5744 | test -d ./-p && rmdir ./-p |
---|
| 5745 | as_mkdir_p=false |
---|
| 5746 | fi |
---|
| 5747 | |
---|
| 5748 | as_executable_p="test -f" |
---|
| 5749 | |
---|
| 5750 | # Sed expression to map a string onto a valid CPP name. |
---|
| 5751 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 5752 | |
---|
| 5753 | # Sed expression to map a string onto a valid variable name. |
---|
| 5754 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 5755 | |
---|
| 5756 | |
---|
| 5757 | # IFS |
---|
| 5758 | # We need space, tab and new line, in precisely that order. |
---|
| 5759 | as_nl=' |
---|
| 5760 | ' |
---|
| 5761 | IFS=" $as_nl" |
---|
| 5762 | |
---|
| 5763 | # CDPATH. |
---|
| 5764 | $as_unset CDPATH |
---|
| 5765 | |
---|
| 5766 | exec 6>&1 |
---|
| 5767 | |
---|
| 5768 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
| 5769 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 5770 | # values after options handling. Logging --version etc. is OK. |
---|
| 5771 | exec 5>>config.log |
---|
| 5772 | { |
---|
| 5773 | echo |
---|
| 5774 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 5775 | ## Running $as_me. ## |
---|
| 5776 | _ASBOX |
---|
| 5777 | } >&5 |
---|
| 5778 | cat >&5 <<_CSEOF |
---|
| 5779 | |
---|
| 5780 | This file was extended by $as_me, which was |
---|
| 5781 | generated by GNU Autoconf 2.58. Invocation command line was |
---|
| 5782 | |
---|
| 5783 | CONFIG_FILES = $CONFIG_FILES |
---|
| 5784 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 5785 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 5786 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 5787 | $ $0 $@ |
---|
| 5788 | |
---|
| 5789 | _CSEOF |
---|
| 5790 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
| 5791 | echo >&5 |
---|
| 5792 | _ACEOF |
---|
| 5793 | |
---|
| 5794 | # Files that config.status was made for. |
---|
| 5795 | if test -n "$ac_config_files"; then |
---|
| 5796 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
| 5797 | fi |
---|
| 5798 | |
---|
| 5799 | if test -n "$ac_config_headers"; then |
---|
| 5800 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
| 5801 | fi |
---|
| 5802 | |
---|
| 5803 | if test -n "$ac_config_links"; then |
---|
| 5804 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
| 5805 | fi |
---|
| 5806 | |
---|
| 5807 | if test -n "$ac_config_commands"; then |
---|
| 5808 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
| 5809 | fi |
---|
| 5810 | |
---|
| 5811 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5812 | |
---|
| 5813 | ac_cs_usage="\ |
---|
| 5814 | \`$as_me' instantiates files from templates according to the |
---|
| 5815 | current configuration. |
---|
| 5816 | |
---|
| 5817 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 5818 | |
---|
| 5819 | -h, --help print this help, then exit |
---|
| 5820 | -V, --version print version number, then exit |
---|
| 5821 | -q, --quiet do not print progress messages |
---|
| 5822 | -d, --debug don't remove temporary files |
---|
| 5823 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 5824 | --file=FILE[:TEMPLATE] |
---|
| 5825 | instantiate the configuration file FILE |
---|
| 5826 | --header=FILE[:TEMPLATE] |
---|
| 5827 | instantiate the configuration header FILE |
---|
| 5828 | |
---|
| 5829 | Configuration files: |
---|
| 5830 | $config_files |
---|
| 5831 | |
---|
| 5832 | Configuration headers: |
---|
| 5833 | $config_headers |
---|
| 5834 | |
---|
| 5835 | Configuration commands: |
---|
| 5836 | $config_commands |
---|
| 5837 | |
---|
| 5838 | Report bugs to <bug-autoconf@gnu.org>." |
---|
| 5839 | _ACEOF |
---|
| 5840 | |
---|
| 5841 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5842 | ac_cs_version="\\ |
---|
| 5843 | config.status |
---|
| 5844 | configured by $0, generated by GNU Autoconf 2.58, |
---|
| 5845 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
| 5846 | |
---|
| 5847 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 5848 | This config.status script is free software; the Free Software Foundation |
---|
| 5849 | gives unlimited permission to copy, distribute and modify it." |
---|
| 5850 | srcdir=$srcdir |
---|
| 5851 | INSTALL="$INSTALL" |
---|
| 5852 | _ACEOF |
---|
| 5853 | |
---|
| 5854 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5855 | # If no file are specified by the user, then we need to provide default |
---|
| 5856 | # value. By we need to know if files were specified by the user. |
---|
| 5857 | ac_need_defaults=: |
---|
| 5858 | while test $# != 0 |
---|
| 5859 | do |
---|
| 5860 | case $1 in |
---|
| 5861 | --*=*) |
---|
| 5862 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
| 5863 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
| 5864 | ac_shift=: |
---|
| 5865 | ;; |
---|
| 5866 | -*) |
---|
| 5867 | ac_option=$1 |
---|
| 5868 | ac_optarg=$2 |
---|
| 5869 | ac_shift=shift |
---|
| 5870 | ;; |
---|
| 5871 | *) # This is not an option, so the user has probably given explicit |
---|
| 5872 | # arguments. |
---|
| 5873 | ac_option=$1 |
---|
| 5874 | ac_need_defaults=false;; |
---|
| 5875 | esac |
---|
| 5876 | |
---|
| 5877 | case $ac_option in |
---|
| 5878 | # Handling of the options. |
---|
| 5879 | _ACEOF |
---|
| 5880 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5881 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 5882 | ac_cs_recheck=: ;; |
---|
| 5883 | --version | --vers* | -V ) |
---|
| 5884 | echo "$ac_cs_version"; exit 0 ;; |
---|
| 5885 | --he | --h) |
---|
| 5886 | # Conflict between --help and --header |
---|
| 5887 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
| 5888 | Try \`$0 --help' for more information." >&5 |
---|
| 5889 | echo "$as_me: error: ambiguous option: $1 |
---|
| 5890 | Try \`$0 --help' for more information." >&2;} |
---|
| 5891 | { (exit 1); exit 1; }; };; |
---|
| 5892 | --help | --hel | -h ) |
---|
| 5893 | echo "$ac_cs_usage"; exit 0 ;; |
---|
| 5894 | --debug | --d* | -d ) |
---|
| 5895 | debug=: ;; |
---|
| 5896 | --file | --fil | --fi | --f ) |
---|
| 5897 | $ac_shift |
---|
| 5898 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 5899 | ac_need_defaults=false;; |
---|
| 5900 | --header | --heade | --head | --hea ) |
---|
| 5901 | $ac_shift |
---|
| 5902 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
| 5903 | ac_need_defaults=false;; |
---|
| 5904 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 5905 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 5906 | ac_cs_silent=: ;; |
---|
| 5907 | |
---|
| 5908 | # This is an error. |
---|
| 5909 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
| 5910 | Try \`$0 --help' for more information." >&5 |
---|
| 5911 | echo "$as_me: error: unrecognized option: $1 |
---|
| 5912 | Try \`$0 --help' for more information." >&2;} |
---|
| 5913 | { (exit 1); exit 1; }; } ;; |
---|
| 5914 | |
---|
| 5915 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
| 5916 | |
---|
| 5917 | esac |
---|
| 5918 | shift |
---|
| 5919 | done |
---|
| 5920 | |
---|
| 5921 | ac_configure_extra_args= |
---|
| 5922 | |
---|
| 5923 | if $ac_cs_silent; then |
---|
| 5924 | exec 6>/dev/null |
---|
| 5925 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 5926 | fi |
---|
| 5927 | |
---|
| 5928 | _ACEOF |
---|
| 5929 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5930 | if \$ac_cs_recheck; then |
---|
| 5931 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 5932 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 5933 | fi |
---|
| 5934 | |
---|
| 5935 | _ACEOF |
---|
| 5936 | |
---|
| 5937 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5938 | # |
---|
| 5939 | # INIT-COMMANDS section. |
---|
| 5940 | # |
---|
| 5941 | |
---|
| 5942 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
| 5943 | |
---|
| 5944 | _ACEOF |
---|
| 5945 | |
---|
| 5946 | |
---|
| 5947 | |
---|
| 5948 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5949 | for ac_config_target in $ac_config_targets |
---|
| 5950 | do |
---|
| 5951 | case "$ac_config_target" in |
---|
| 5952 | # Handling of arguments. |
---|
| 5953 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 5954 | "orxonox.lsm" ) CONFIG_FILES="$CONFIG_FILES orxonox.lsm" ;; |
---|
| 5955 | "orxonox.spec" ) CONFIG_FILES="$CONFIG_FILES orxonox.spec" ;; |
---|
| 5956 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
| 5957 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
| 5958 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 5959 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 5960 | { (exit 1); exit 1; }; };; |
---|
| 5961 | esac |
---|
| 5962 | done |
---|
| 5963 | |
---|
| 5964 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 5965 | # then the envvar interface is used. Set only those that are not. |
---|
| 5966 | # We use the long form for the default assignment because of an extremely |
---|
| 5967 | # bizarre bug on SunOS 4.1.3. |
---|
| 5968 | if $ac_need_defaults; then |
---|
| 5969 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 5970 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
| 5971 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
| 5972 | fi |
---|
| 5973 | |
---|
| 5974 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 5975 | # simply because there is no reason to put it here, and in addition, |
---|
| 5976 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 5977 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
| 5978 | $debug || |
---|
| 5979 | { |
---|
| 5980 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
| 5981 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 5982 | } |
---|
| 5983 | |
---|
| 5984 | # Create a (secure) tmp directory for tmp files. |
---|
| 5985 | |
---|
| 5986 | { |
---|
| 5987 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
| 5988 | test -n "$tmp" && test -d "$tmp" |
---|
| 5989 | } || |
---|
| 5990 | { |
---|
| 5991 | tmp=./confstat$$-$RANDOM |
---|
| 5992 | (umask 077 && mkdir $tmp) |
---|
| 5993 | } || |
---|
| 5994 | { |
---|
| 5995 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 5996 | { (exit 1); exit 1; } |
---|
| 5997 | } |
---|
| 5998 | |
---|
| 5999 | _ACEOF |
---|
| 6000 | |
---|
| 6001 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 6002 | |
---|
| 6003 | # |
---|
| 6004 | # CONFIG_FILES section. |
---|
| 6005 | # |
---|
| 6006 | |
---|
| 6007 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
| 6008 | # This happens for instance when ./config.status config.h |
---|
| 6009 | if test -n "\$CONFIG_FILES"; then |
---|
| 6010 | # Protect against being on the right side of a sed subst in config.status. |
---|
| 6011 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
| 6012 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
| 6013 | s,@SHELL@,$SHELL,;t t |
---|
| 6014 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
| 6015 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
| 6016 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
| 6017 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
| 6018 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
| 6019 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
| 6020 | s,@exec_prefix@,$exec_prefix,;t t |
---|
| 6021 | s,@prefix@,$prefix,;t t |
---|
| 6022 | s,@program_transform_name@,$program_transform_name,;t t |
---|
| 6023 | s,@bindir@,$bindir,;t t |
---|
| 6024 | s,@sbindir@,$sbindir,;t t |
---|
| 6025 | s,@libexecdir@,$libexecdir,;t t |
---|
| 6026 | s,@datadir@,$datadir,;t t |
---|
| 6027 | s,@sysconfdir@,$sysconfdir,;t t |
---|
| 6028 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
| 6029 | s,@localstatedir@,$localstatedir,;t t |
---|
| 6030 | s,@libdir@,$libdir,;t t |
---|
| 6031 | s,@includedir@,$includedir,;t t |
---|
| 6032 | s,@oldincludedir@,$oldincludedir,;t t |
---|
| 6033 | s,@infodir@,$infodir,;t t |
---|
| 6034 | s,@mandir@,$mandir,;t t |
---|
| 6035 | s,@build_alias@,$build_alias,;t t |
---|
| 6036 | s,@host_alias@,$host_alias,;t t |
---|
| 6037 | s,@target_alias@,$target_alias,;t t |
---|
| 6038 | s,@DEFS@,$DEFS,;t t |
---|
| 6039 | s,@ECHO_C@,$ECHO_C,;t t |
---|
| 6040 | s,@ECHO_N@,$ECHO_N,;t t |
---|
| 6041 | s,@ECHO_T@,$ECHO_T,;t t |
---|
| 6042 | s,@LIBS@,$LIBS,;t t |
---|
| 6043 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
---|
| 6044 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
---|
| 6045 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
---|
| 6046 | s,@CYGPATH_W@,$CYGPATH_W,;t t |
---|
| 6047 | s,@PACKAGE@,$PACKAGE,;t t |
---|
| 6048 | s,@VERSION@,$VERSION,;t t |
---|
| 6049 | s,@ACLOCAL@,$ACLOCAL,;t t |
---|
| 6050 | s,@AUTOCONF@,$AUTOCONF,;t t |
---|
| 6051 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
---|
| 6052 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
---|
| 6053 | s,@MAKEINFO@,$MAKEINFO,;t t |
---|
| 6054 | s,@AMTAR@,$AMTAR,;t t |
---|
| 6055 | s,@install_sh@,$install_sh,;t t |
---|
| 6056 | s,@STRIP@,$STRIP,;t t |
---|
| 6057 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
---|
| 6058 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
---|
| 6059 | s,@mkdir_p@,$mkdir_p,;t t |
---|
| 6060 | s,@AWK@,$AWK,;t t |
---|
| 6061 | s,@SET_MAKE@,$SET_MAKE,;t t |
---|
| 6062 | s,@am__leading_dot@,$am__leading_dot,;t t |
---|
| 6063 | s,@ISODATE@,$ISODATE,;t t |
---|
| 6064 | s,@build@,$build,;t t |
---|
| 6065 | s,@build_cpu@,$build_cpu,;t t |
---|
| 6066 | s,@build_vendor@,$build_vendor,;t t |
---|
| 6067 | s,@build_os@,$build_os,;t t |
---|
| 6068 | s,@host@,$host,;t t |
---|
| 6069 | s,@host_cpu@,$host_cpu,;t t |
---|
| 6070 | s,@host_vendor@,$host_vendor,;t t |
---|
| 6071 | s,@host_os@,$host_os,;t t |
---|
| 6072 | s,@CC@,$CC,;t t |
---|
| 6073 | s,@CFLAGS@,$CFLAGS,;t t |
---|
| 6074 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
| 6075 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
| 6076 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
| 6077 | s,@EXEEXT@,$EXEEXT,;t t |
---|
| 6078 | s,@OBJEXT@,$OBJEXT,;t t |
---|
| 6079 | s,@DEPDIR@,$DEPDIR,;t t |
---|
| 6080 | s,@am__include@,$am__include,;t t |
---|
| 6081 | s,@am__quote@,$am__quote,;t t |
---|
| 6082 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
---|
| 6083 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
---|
| 6084 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
---|
| 6085 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
---|
| 6086 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
---|
| 6087 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
---|
| 6088 | s,@CPP@,$CPP,;t t |
---|
| 6089 | s,@EGREP@,$EGREP,;t t |
---|
| 6090 | s,@ALLOCA@,$ALLOCA,;t t |
---|
| 6091 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
| 6092 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
| 6093 | CEOF |
---|
| 6094 | |
---|
| 6095 | _ACEOF |
---|
| 6096 | |
---|
| 6097 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6098 | # Split the substitutions into bite-sized pieces for seds with |
---|
| 6099 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
| 6100 | ac_max_sed_lines=48 |
---|
| 6101 | ac_sed_frag=1 # Number of current file. |
---|
| 6102 | ac_beg=1 # First line for current file. |
---|
| 6103 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
| 6104 | ac_more_lines=: |
---|
| 6105 | ac_sed_cmds= |
---|
| 6106 | while $ac_more_lines; do |
---|
| 6107 | if test $ac_beg -gt 1; then |
---|
| 6108 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
| 6109 | else |
---|
| 6110 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
| 6111 | fi |
---|
| 6112 | if test ! -s $tmp/subs.frag; then |
---|
| 6113 | ac_more_lines=false |
---|
| 6114 | else |
---|
| 6115 | # The purpose of the label and of the branching condition is to |
---|
| 6116 | # speed up the sed processing (if there are no `@' at all, there |
---|
| 6117 | # is no need to browse any of the substitutions). |
---|
| 6118 | # These are the two extra sed commands mentioned above. |
---|
| 6119 | (echo ':t |
---|
| 6120 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
| 6121 | if test -z "$ac_sed_cmds"; then |
---|
| 6122 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
| 6123 | else |
---|
| 6124 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
| 6125 | fi |
---|
| 6126 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
| 6127 | ac_beg=$ac_end |
---|
| 6128 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
| 6129 | fi |
---|
| 6130 | done |
---|
| 6131 | if test -z "$ac_sed_cmds"; then |
---|
| 6132 | ac_sed_cmds=cat |
---|
| 6133 | fi |
---|
| 6134 | fi # test -n "$CONFIG_FILES" |
---|
| 6135 | |
---|
| 6136 | _ACEOF |
---|
| 6137 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6138 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
| 6139 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
| 6140 | case $ac_file in |
---|
| 6141 | - | *:- | *:-:* ) # input from stdin |
---|
| 6142 | cat >$tmp/stdin |
---|
| 6143 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 6144 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
| 6145 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 6146 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
| 6147 | * ) ac_file_in=$ac_file.in ;; |
---|
| 6148 | esac |
---|
| 6149 | |
---|
| 6150 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
| 6151 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
| 6152 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6153 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 6154 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 6155 | X"$ac_file" : 'X\(/\)' \| \ |
---|
| 6156 | . : '\(.\)' 2>/dev/null || |
---|
| 6157 | echo X"$ac_file" | |
---|
| 6158 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6159 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6160 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6161 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6162 | s/.*/./; q'` |
---|
| 6163 | { if $as_mkdir_p; then |
---|
| 6164 | mkdir -p "$ac_dir" |
---|
| 6165 | else |
---|
| 6166 | as_dir="$ac_dir" |
---|
| 6167 | as_dirs= |
---|
| 6168 | while test ! -d "$as_dir"; do |
---|
| 6169 | as_dirs="$as_dir $as_dirs" |
---|
| 6170 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
| 6171 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6172 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6173 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6174 | X"$as_dir" : 'X\(/\)' \| \ |
---|
| 6175 | . : '\(.\)' 2>/dev/null || |
---|
| 6176 | echo X"$as_dir" | |
---|
| 6177 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6178 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6179 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6180 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6181 | s/.*/./; q'` |
---|
| 6182 | done |
---|
| 6183 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
| 6184 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
| 6185 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
| 6186 | { (exit 1); exit 1; }; }; } |
---|
| 6187 | |
---|
| 6188 | ac_builddir=. |
---|
| 6189 | |
---|
| 6190 | if test "$ac_dir" != .; then |
---|
| 6191 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 6192 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 6193 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 6194 | else |
---|
| 6195 | ac_dir_suffix= ac_top_builddir= |
---|
| 6196 | fi |
---|
| 6197 | |
---|
| 6198 | case $srcdir in |
---|
| 6199 | .) # No --srcdir option. We are building in place. |
---|
| 6200 | ac_srcdir=. |
---|
| 6201 | if test -z "$ac_top_builddir"; then |
---|
| 6202 | ac_top_srcdir=. |
---|
| 6203 | else |
---|
| 6204 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 6205 | fi ;; |
---|
| 6206 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 6207 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 6208 | ac_top_srcdir=$srcdir ;; |
---|
| 6209 | *) # Relative path. |
---|
| 6210 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 6211 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 6212 | esac |
---|
| 6213 | case "$ac_dir" in |
---|
| 6214 | .) ac_abs_builddir=$ac_builddir;; |
---|
| 6215 | *) |
---|
| 6216 | case $ac_builddir in |
---|
| 6217 | .) ac_abs_builddir="$ac_dir";; |
---|
| 6218 | [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
---|
| 6219 | *) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
---|
| 6220 | esac;; |
---|
| 6221 | esac |
---|
| 6222 | case "$ac_dir" in |
---|
| 6223 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 6224 | *) |
---|
| 6225 | case ${ac_top_builddir}. in |
---|
| 6226 | .) ac_abs_top_builddir="$ac_dir";; |
---|
| 6227 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 6228 | *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
---|
| 6229 | esac;; |
---|
| 6230 | esac |
---|
| 6231 | case "$ac_dir" in |
---|
| 6232 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 6233 | *) |
---|
| 6234 | case $ac_srcdir in |
---|
| 6235 | .) ac_abs_srcdir="$ac_dir";; |
---|
| 6236 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 6237 | *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
---|
| 6238 | esac;; |
---|
| 6239 | esac |
---|
| 6240 | case "$ac_dir" in |
---|
| 6241 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 6242 | *) |
---|
| 6243 | case $ac_top_srcdir in |
---|
| 6244 | .) ac_abs_top_srcdir="$ac_dir";; |
---|
| 6245 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 6246 | *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
---|
| 6247 | esac;; |
---|
| 6248 | esac |
---|
| 6249 | |
---|
| 6250 | |
---|
| 6251 | case $INSTALL in |
---|
| 6252 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 6253 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
---|
| 6254 | esac |
---|
| 6255 | |
---|
| 6256 | if test x"$ac_file" != x-; then |
---|
| 6257 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 6258 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 6259 | rm -f "$ac_file" |
---|
| 6260 | fi |
---|
| 6261 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 6262 | # use $as_me), people would be surprised to read: |
---|
| 6263 | # /* config.h. Generated by config.status. */ |
---|
| 6264 | if test x"$ac_file" = x-; then |
---|
| 6265 | configure_input= |
---|
| 6266 | else |
---|
| 6267 | configure_input="$ac_file. " |
---|
| 6268 | fi |
---|
| 6269 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
| 6270 | sed 's,.*/,,'` by configure." |
---|
| 6271 | |
---|
| 6272 | # First look for the input files in the build tree, otherwise in the |
---|
| 6273 | # src tree. |
---|
| 6274 | ac_file_inputs=`IFS=: |
---|
| 6275 | for f in $ac_file_in; do |
---|
| 6276 | case $f in |
---|
| 6277 | -) echo $tmp/stdin ;; |
---|
| 6278 | [\\/$]*) |
---|
| 6279 | # Absolute (can't be DOS-style, as IFS=:) |
---|
| 6280 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
| 6281 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
| 6282 | { (exit 1); exit 1; }; } |
---|
| 6283 | echo "$f";; |
---|
| 6284 | *) # Relative |
---|
| 6285 | if test -f "$f"; then |
---|
| 6286 | # Build tree |
---|
| 6287 | echo "$f" |
---|
| 6288 | elif test -f "$srcdir/$f"; then |
---|
| 6289 | # Source tree |
---|
| 6290 | echo "$srcdir/$f" |
---|
| 6291 | else |
---|
| 6292 | # /dev/null tree |
---|
| 6293 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
| 6294 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
| 6295 | { (exit 1); exit 1; }; } |
---|
| 6296 | fi;; |
---|
| 6297 | esac |
---|
| 6298 | done` || { (exit 1); exit 1; } |
---|
| 6299 | _ACEOF |
---|
| 6300 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 6301 | sed "$ac_vpsub |
---|
| 6302 | $extrasub |
---|
| 6303 | _ACEOF |
---|
| 6304 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6305 | :t |
---|
| 6306 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 6307 | s,@configure_input@,$configure_input,;t t |
---|
| 6308 | s,@srcdir@,$ac_srcdir,;t t |
---|
| 6309 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
| 6310 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
| 6311 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
| 6312 | s,@builddir@,$ac_builddir,;t t |
---|
| 6313 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
| 6314 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
| 6315 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
| 6316 | s,@INSTALL@,$ac_INSTALL,;t t |
---|
| 6317 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
| 6318 | rm -f $tmp/stdin |
---|
| 6319 | if test x"$ac_file" != x-; then |
---|
| 6320 | mv $tmp/out $ac_file |
---|
| 6321 | else |
---|
| 6322 | cat $tmp/out |
---|
| 6323 | rm -f $tmp/out |
---|
| 6324 | fi |
---|
| 6325 | |
---|
| 6326 | done |
---|
| 6327 | _ACEOF |
---|
| 6328 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6329 | |
---|
| 6330 | # |
---|
| 6331 | # CONFIG_HEADER section. |
---|
| 6332 | # |
---|
| 6333 | |
---|
| 6334 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
| 6335 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
| 6336 | # |
---|
| 6337 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
| 6338 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
| 6339 | ac_dB='[ ].*$,\1#\2' |
---|
| 6340 | ac_dC=' ' |
---|
| 6341 | ac_dD=',;t' |
---|
| 6342 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
| 6343 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
| 6344 | ac_uB='$,\1#\2define\3' |
---|
| 6345 | ac_uC=' ' |
---|
| 6346 | ac_uD=',;t' |
---|
| 6347 | |
---|
| 6348 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
---|
| 6349 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
| 6350 | case $ac_file in |
---|
| 6351 | - | *:- | *:-:* ) # input from stdin |
---|
| 6352 | cat >$tmp/stdin |
---|
| 6353 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 6354 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
| 6355 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 6356 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
| 6357 | * ) ac_file_in=$ac_file.in ;; |
---|
| 6358 | esac |
---|
| 6359 | |
---|
| 6360 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 6361 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 6362 | |
---|
| 6363 | # First look for the input files in the build tree, otherwise in the |
---|
| 6364 | # src tree. |
---|
| 6365 | ac_file_inputs=`IFS=: |
---|
| 6366 | for f in $ac_file_in; do |
---|
| 6367 | case $f in |
---|
| 6368 | -) echo $tmp/stdin ;; |
---|
| 6369 | [\\/$]*) |
---|
| 6370 | # Absolute (can't be DOS-style, as IFS=:) |
---|
| 6371 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
| 6372 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
| 6373 | { (exit 1); exit 1; }; } |
---|
| 6374 | # Do quote $f, to prevent DOS paths from being IFS'd. |
---|
| 6375 | echo "$f";; |
---|
| 6376 | *) # Relative |
---|
| 6377 | if test -f "$f"; then |
---|
| 6378 | # Build tree |
---|
| 6379 | echo "$f" |
---|
| 6380 | elif test -f "$srcdir/$f"; then |
---|
| 6381 | # Source tree |
---|
| 6382 | echo "$srcdir/$f" |
---|
| 6383 | else |
---|
| 6384 | # /dev/null tree |
---|
| 6385 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
| 6386 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
| 6387 | { (exit 1); exit 1; }; } |
---|
| 6388 | fi;; |
---|
| 6389 | esac |
---|
| 6390 | done` || { (exit 1); exit 1; } |
---|
| 6391 | # Remove the trailing spaces. |
---|
| 6392 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
---|
| 6393 | |
---|
| 6394 | _ACEOF |
---|
| 6395 | |
---|
| 6396 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
---|
| 6397 | # `conftest.undefs', that substitutes the proper values into |
---|
| 6398 | # config.h.in to produce config.h. The first handles `#define' |
---|
| 6399 | # templates, and the second `#undef' templates. |
---|
| 6400 | # And first: Protect against being on the right side of a sed subst in |
---|
| 6401 | # config.status. Protect against being in an unquoted here document |
---|
| 6402 | # in config.status. |
---|
| 6403 | rm -f conftest.defines conftest.undefs |
---|
| 6404 | # Using a here document instead of a string reduces the quoting nightmare. |
---|
| 6405 | # Putting comments in sed scripts is not portable. |
---|
| 6406 | # |
---|
| 6407 | # `end' is used to avoid that the second main sed command (meant for |
---|
| 6408 | # 0-ary CPP macros) applies to n-ary macro definitions. |
---|
| 6409 | # See the Autoconf documentation for `clear'. |
---|
| 6410 | cat >confdef2sed.sed <<\_ACEOF |
---|
| 6411 | s/[\\&,]/\\&/g |
---|
| 6412 | s,[\\$`],\\&,g |
---|
| 6413 | t clear |
---|
| 6414 | : clear |
---|
| 6415 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
---|
| 6416 | t end |
---|
| 6417 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
---|
| 6418 | : end |
---|
| 6419 | _ACEOF |
---|
| 6420 | # If some macros were called several times there might be several times |
---|
| 6421 | # the same #defines, which is useless. Nevertheless, we may not want to |
---|
| 6422 | # sort them, since we want the *last* AC-DEFINE to be honored. |
---|
| 6423 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
---|
| 6424 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
---|
| 6425 | rm -f confdef2sed.sed |
---|
| 6426 | |
---|
| 6427 | # This sed command replaces #undef with comments. This is necessary, for |
---|
| 6428 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 6429 | # on some systems where configure will not decide to define it. |
---|
| 6430 | cat >>conftest.undefs <<\_ACEOF |
---|
| 6431 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
---|
| 6432 | _ACEOF |
---|
| 6433 | |
---|
| 6434 | # Break up conftest.defines because some shells have a limit on the size |
---|
| 6435 | # of here documents, and old seds have small limits too (100 cmds). |
---|
| 6436 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
---|
| 6437 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
---|
| 6438 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
---|
| 6439 | echo ' :' >>$CONFIG_STATUS |
---|
| 6440 | rm -f conftest.tail |
---|
| 6441 | while grep . conftest.defines >/dev/null |
---|
| 6442 | do |
---|
| 6443 | # Write a limited-size here document to $tmp/defines.sed. |
---|
| 6444 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
---|
| 6445 | # Speed up: don't consider the non `#define' lines. |
---|
| 6446 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
---|
| 6447 | # Work around the forget-to-reset-the-flag bug. |
---|
| 6448 | echo 't clr' >>$CONFIG_STATUS |
---|
| 6449 | echo ': clr' >>$CONFIG_STATUS |
---|
| 6450 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
---|
| 6451 | echo 'CEOF |
---|
| 6452 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
---|
| 6453 | rm -f $tmp/in |
---|
| 6454 | mv $tmp/out $tmp/in |
---|
| 6455 | ' >>$CONFIG_STATUS |
---|
| 6456 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
---|
| 6457 | rm -f conftest.defines |
---|
| 6458 | mv conftest.tail conftest.defines |
---|
| 6459 | done |
---|
| 6460 | rm -f conftest.defines |
---|
| 6461 | echo ' fi # grep' >>$CONFIG_STATUS |
---|
| 6462 | echo >>$CONFIG_STATUS |
---|
| 6463 | |
---|
| 6464 | # Break up conftest.undefs because some shells have a limit on the size |
---|
| 6465 | # of here documents, and old seds have small limits too (100 cmds). |
---|
| 6466 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
---|
| 6467 | rm -f conftest.tail |
---|
| 6468 | while grep . conftest.undefs >/dev/null |
---|
| 6469 | do |
---|
| 6470 | # Write a limited-size here document to $tmp/undefs.sed. |
---|
| 6471 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
---|
| 6472 | # Speed up: don't consider the non `#undef' |
---|
| 6473 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
---|
| 6474 | # Work around the forget-to-reset-the-flag bug. |
---|
| 6475 | echo 't clr' >>$CONFIG_STATUS |
---|
| 6476 | echo ': clr' >>$CONFIG_STATUS |
---|
| 6477 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
---|
| 6478 | echo 'CEOF |
---|
| 6479 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
---|
| 6480 | rm -f $tmp/in |
---|
| 6481 | mv $tmp/out $tmp/in |
---|
| 6482 | ' >>$CONFIG_STATUS |
---|
| 6483 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
---|
| 6484 | rm -f conftest.undefs |
---|
| 6485 | mv conftest.tail conftest.undefs |
---|
| 6486 | done |
---|
| 6487 | rm -f conftest.undefs |
---|
| 6488 | |
---|
| 6489 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6490 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 6491 | # use $as_me), people would be surprised to read: |
---|
| 6492 | # /* config.h. Generated by config.status. */ |
---|
| 6493 | if test x"$ac_file" = x-; then |
---|
| 6494 | echo "/* Generated by configure. */" >$tmp/config.h |
---|
| 6495 | else |
---|
| 6496 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
---|
| 6497 | fi |
---|
| 6498 | cat $tmp/in >>$tmp/config.h |
---|
| 6499 | rm -f $tmp/in |
---|
| 6500 | if test x"$ac_file" != x-; then |
---|
| 6501 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
---|
| 6502 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
| 6503 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
| 6504 | else |
---|
| 6505 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
| 6506 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6507 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 6508 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 6509 | X"$ac_file" : 'X\(/\)' \| \ |
---|
| 6510 | . : '\(.\)' 2>/dev/null || |
---|
| 6511 | echo X"$ac_file" | |
---|
| 6512 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6513 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6514 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6515 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6516 | s/.*/./; q'` |
---|
| 6517 | { if $as_mkdir_p; then |
---|
| 6518 | mkdir -p "$ac_dir" |
---|
| 6519 | else |
---|
| 6520 | as_dir="$ac_dir" |
---|
| 6521 | as_dirs= |
---|
| 6522 | while test ! -d "$as_dir"; do |
---|
| 6523 | as_dirs="$as_dir $as_dirs" |
---|
| 6524 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
| 6525 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6526 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6527 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6528 | X"$as_dir" : 'X\(/\)' \| \ |
---|
| 6529 | . : '\(.\)' 2>/dev/null || |
---|
| 6530 | echo X"$as_dir" | |
---|
| 6531 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6532 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6533 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6534 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6535 | s/.*/./; q'` |
---|
| 6536 | done |
---|
| 6537 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
| 6538 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
| 6539 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
| 6540 | { (exit 1); exit 1; }; }; } |
---|
| 6541 | |
---|
| 6542 | rm -f $ac_file |
---|
| 6543 | mv $tmp/config.h $ac_file |
---|
| 6544 | fi |
---|
| 6545 | else |
---|
| 6546 | cat $tmp/config.h |
---|
| 6547 | rm -f $tmp/config.h |
---|
| 6548 | fi |
---|
| 6549 | # Compute $ac_file's index in $config_headers. |
---|
| 6550 | _am_stamp_count=1 |
---|
| 6551 | for _am_header in $config_headers :; do |
---|
| 6552 | case $_am_header in |
---|
| 6553 | $ac_file | $ac_file:* ) |
---|
| 6554 | break ;; |
---|
| 6555 | * ) |
---|
| 6556 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
| 6557 | esac |
---|
| 6558 | done |
---|
| 6559 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
---|
| 6560 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6561 | X$ac_file : 'X\(//\)[^/]' \| \ |
---|
| 6562 | X$ac_file : 'X\(//\)$' \| \ |
---|
| 6563 | X$ac_file : 'X\(/\)' \| \ |
---|
| 6564 | . : '\(.\)' 2>/dev/null || |
---|
| 6565 | echo X$ac_file | |
---|
| 6566 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6567 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6568 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6569 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6570 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
| 6571 | done |
---|
| 6572 | _ACEOF |
---|
| 6573 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6574 | |
---|
| 6575 | # |
---|
| 6576 | # CONFIG_COMMANDS section. |
---|
| 6577 | # |
---|
| 6578 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
| 6579 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
| 6580 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 6581 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
| 6582 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6583 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
| 6584 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
| 6585 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
| 6586 | . : '\(.\)' 2>/dev/null || |
---|
| 6587 | echo X"$ac_dest" | |
---|
| 6588 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6589 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6590 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6591 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6592 | s/.*/./; q'` |
---|
| 6593 | { if $as_mkdir_p; then |
---|
| 6594 | mkdir -p "$ac_dir" |
---|
| 6595 | else |
---|
| 6596 | as_dir="$ac_dir" |
---|
| 6597 | as_dirs= |
---|
| 6598 | while test ! -d "$as_dir"; do |
---|
| 6599 | as_dirs="$as_dir $as_dirs" |
---|
| 6600 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
| 6601 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6602 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6603 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6604 | X"$as_dir" : 'X\(/\)' \| \ |
---|
| 6605 | . : '\(.\)' 2>/dev/null || |
---|
| 6606 | echo X"$as_dir" | |
---|
| 6607 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6608 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6609 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6610 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6611 | s/.*/./; q'` |
---|
| 6612 | done |
---|
| 6613 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
| 6614 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
| 6615 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
| 6616 | { (exit 1); exit 1; }; }; } |
---|
| 6617 | |
---|
| 6618 | ac_builddir=. |
---|
| 6619 | |
---|
| 6620 | if test "$ac_dir" != .; then |
---|
| 6621 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 6622 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 6623 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 6624 | else |
---|
| 6625 | ac_dir_suffix= ac_top_builddir= |
---|
| 6626 | fi |
---|
| 6627 | |
---|
| 6628 | case $srcdir in |
---|
| 6629 | .) # No --srcdir option. We are building in place. |
---|
| 6630 | ac_srcdir=. |
---|
| 6631 | if test -z "$ac_top_builddir"; then |
---|
| 6632 | ac_top_srcdir=. |
---|
| 6633 | else |
---|
| 6634 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 6635 | fi ;; |
---|
| 6636 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 6637 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 6638 | ac_top_srcdir=$srcdir ;; |
---|
| 6639 | *) # Relative path. |
---|
| 6640 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 6641 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 6642 | esac |
---|
| 6643 | case "$ac_dir" in |
---|
| 6644 | .) ac_abs_builddir=$ac_builddir;; |
---|
| 6645 | *) |
---|
| 6646 | case $ac_builddir in |
---|
| 6647 | .) ac_abs_builddir="$ac_dir";; |
---|
| 6648 | [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;; |
---|
| 6649 | *) ac_abs_builddir="$ac_dir"/$ac_builddir;; |
---|
| 6650 | esac;; |
---|
| 6651 | esac |
---|
| 6652 | case "$ac_dir" in |
---|
| 6653 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 6654 | *) |
---|
| 6655 | case ${ac_top_builddir}. in |
---|
| 6656 | .) ac_abs_top_builddir="$ac_dir";; |
---|
| 6657 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 6658 | *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; |
---|
| 6659 | esac;; |
---|
| 6660 | esac |
---|
| 6661 | case "$ac_dir" in |
---|
| 6662 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 6663 | *) |
---|
| 6664 | case $ac_srcdir in |
---|
| 6665 | .) ac_abs_srcdir="$ac_dir";; |
---|
| 6666 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 6667 | *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; |
---|
| 6668 | esac;; |
---|
| 6669 | esac |
---|
| 6670 | case "$ac_dir" in |
---|
| 6671 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 6672 | *) |
---|
| 6673 | case $ac_top_srcdir in |
---|
| 6674 | .) ac_abs_top_srcdir="$ac_dir";; |
---|
| 6675 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 6676 | *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; |
---|
| 6677 | esac;; |
---|
| 6678 | esac |
---|
| 6679 | |
---|
| 6680 | |
---|
| 6681 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
| 6682 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
| 6683 | case $ac_dest in |
---|
| 6684 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
---|
| 6685 | # Strip MF so we end up with the name of the file. |
---|
| 6686 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
| 6687 | # Check whether this is an Automake generated Makefile or not. |
---|
| 6688 | # We used to match only the files named `Makefile.in', but |
---|
| 6689 | # some people rename them; so instead we look at the file content. |
---|
| 6690 | # Grep'ing the first line is not enough: some people post-process |
---|
| 6691 | # each Makefile.in and add a new line on top of each file to say so. |
---|
| 6692 | # So let's grep whole file. |
---|
| 6693 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
---|
| 6694 | dirpart=`(dirname "$mf") 2>/dev/null || |
---|
| 6695 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6696 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
| 6697 | X"$mf" : 'X\(//\)$' \| \ |
---|
| 6698 | X"$mf" : 'X\(/\)' \| \ |
---|
| 6699 | . : '\(.\)' 2>/dev/null || |
---|
| 6700 | echo X"$mf" | |
---|
| 6701 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6702 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6703 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6704 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6705 | s/.*/./; q'` |
---|
| 6706 | else |
---|
| 6707 | continue |
---|
| 6708 | fi |
---|
| 6709 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
---|
| 6710 | # Extract the definition of DEP_FILES from the Makefile without |
---|
| 6711 | # running `make'. |
---|
| 6712 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
| 6713 | test -z "$DEPDIR" && continue |
---|
| 6714 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
| 6715 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
| 6716 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
---|
| 6717 | # We invoke sed twice because it is the simplest approach to |
---|
| 6718 | # changing $(DEPDIR) to its actual value in the expansion. |
---|
| 6719 | for file in `sed -n ' |
---|
| 6720 | /^DEP_FILES = .*\\\\$/ { |
---|
| 6721 | s/^DEP_FILES = // |
---|
| 6722 | :loop |
---|
| 6723 | s/\\\\$// |
---|
| 6724 | p |
---|
| 6725 | n |
---|
| 6726 | /\\\\$/ b loop |
---|
| 6727 | p |
---|
| 6728 | } |
---|
| 6729 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
---|
| 6730 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
| 6731 | # Make sure the directory exists. |
---|
| 6732 | test -f "$dirpart/$file" && continue |
---|
| 6733 | fdir=`(dirname "$file") 2>/dev/null || |
---|
| 6734 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6735 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
| 6736 | X"$file" : 'X\(//\)$' \| \ |
---|
| 6737 | X"$file" : 'X\(/\)' \| \ |
---|
| 6738 | . : '\(.\)' 2>/dev/null || |
---|
| 6739 | echo X"$file" | |
---|
| 6740 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6741 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6742 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6743 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6744 | s/.*/./; q'` |
---|
| 6745 | { if $as_mkdir_p; then |
---|
| 6746 | mkdir -p $dirpart/$fdir |
---|
| 6747 | else |
---|
| 6748 | as_dir=$dirpart/$fdir |
---|
| 6749 | as_dirs= |
---|
| 6750 | while test ! -d "$as_dir"; do |
---|
| 6751 | as_dirs="$as_dir $as_dirs" |
---|
| 6752 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
| 6753 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6754 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6755 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6756 | X"$as_dir" : 'X\(/\)' \| \ |
---|
| 6757 | . : '\(.\)' 2>/dev/null || |
---|
| 6758 | echo X"$as_dir" | |
---|
| 6759 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 6760 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 6761 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 6762 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 6763 | s/.*/./; q'` |
---|
| 6764 | done |
---|
| 6765 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
| 6766 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
---|
| 6767 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
---|
| 6768 | { (exit 1); exit 1; }; }; } |
---|
| 6769 | |
---|
| 6770 | # echo "creating $dirpart/$file" |
---|
| 6771 | echo '# dummy' > "$dirpart/$file" |
---|
| 6772 | done |
---|
| 6773 | done |
---|
| 6774 | ;; |
---|
| 6775 | esac |
---|
| 6776 | done |
---|
| 6777 | _ACEOF |
---|
| 6778 | |
---|
| 6779 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6780 | |
---|
| 6781 | { (exit 0); exit 0; } |
---|
| 6782 | _ACEOF |
---|
| 6783 | chmod +x $CONFIG_STATUS |
---|
| 6784 | ac_clean_files=$ac_clean_files_save |
---|
| 6785 | |
---|
| 6786 | |
---|
| 6787 | # configure is writing to config.log, and then calls config.status. |
---|
| 6788 | # config.status does its own redirection, appending to config.log. |
---|
| 6789 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 6790 | # by configure, so config.status won't be able to write to it; its |
---|
| 6791 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 6792 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 6793 | # appended to by config.status. When coming back to configure, we |
---|
| 6794 | # need to make the FD available again. |
---|
| 6795 | if test "$no_create" != yes; then |
---|
| 6796 | ac_cs_success=: |
---|
| 6797 | ac_config_status_args= |
---|
| 6798 | test "$silent" = yes && |
---|
| 6799 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 6800 | exec 5>/dev/null |
---|
| 6801 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 6802 | exec 5>>config.log |
---|
| 6803 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 6804 | # would make configure fail if this is the last instruction. |
---|
| 6805 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 6806 | fi |
---|
| 6807 | |
---|