| 1 |
@%:@! /bin/sh |
| 2 |
@%:@ Guess values for system-dependent variables and create Makefiles. |
| 3 |
@%:@ Generated by GNU Autoconf 2.59 for mnote 0.9. |
| 4 |
@%:@ |
| 5 |
@%:@ Report bugs to <hiroyuki@maloninc.com>. |
| 6 |
@%:@ |
| 7 |
@%:@ Copyright (C) 2003 Free Software Foundation, Inc. |
| 8 |
@%:@ This configure script is free software; the Free Software Foundation |
| 9 |
@%:@ gives unlimited permission to copy, distribute and modify it. |
| 10 |
## --------------------- ## |
| 11 |
## M4sh Initialization. ## |
| 12 |
## --------------------- ## |
| 13 |
|
| 14 |
# Be Bourne compatible |
| 15 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 16 |
emulate sh |
| 17 |
NULLCMD=: |
| 18 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 19 |
# is contrary to our usage. Disable this feature. |
| 20 |
alias -g '${1+"$@"}'='"$@"' |
| 21 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 22 |
set -o posix |
| 23 |
fi |
| 24 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 25 |
|
| 26 |
# Support unset when possible. |
| 27 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 28 |
as_unset=unset |
| 29 |
else |
| 30 |
as_unset=false |
| 31 |
fi |
| 32 |
|
| 33 |
|
| 34 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 35 |
$as_unset ENV MAIL MAILPATH |
| 36 |
PS1='$ ' |
| 37 |
PS2='> ' |
| 38 |
PS4='+ ' |
| 39 |
|
| 40 |
# NLS nuisances. |
| 41 |
for as_var in \ |
| 42 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 43 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 44 |
LC_TELEPHONE LC_TIME |
| 45 |
do |
| 46 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 47 |
eval $as_var=C; export $as_var |
| 48 |
else |
| 49 |
$as_unset $as_var |
| 50 |
fi |
| 51 |
done |
| 52 |
|
| 53 |
# Required to use basename. |
| 54 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 55 |
as_expr=expr |
| 56 |
else |
| 57 |
as_expr=false |
| 58 |
fi |
| 59 |
|
| 60 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 61 |
as_basename=basename |
| 62 |
else |
| 63 |
as_basename=false |
| 64 |
fi |
| 65 |
|
| 66 |
|
| 67 |
# Name of the executable. |
| 68 |
as_me=`$as_basename "$0" || |
| 69 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 70 |
X"$0" : 'X\(//\)$' \| \ |
| 71 |
X"$0" : 'X\(/\)$' \| \ |
| 72 |
. : '\(.\)' 2>/dev/null || |
| 73 |
echo X/"$0" | |
| 74 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 75 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 76 |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 77 |
s/.*/./; q'` |
| 78 |
|
| 79 |
|
| 80 |
# PATH needs CR, and LINENO needs CR and PATH. |
| 81 |
# Avoid depending upon Character Ranges. |
| 82 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 83 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 84 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 85 |
as_cr_digits='0123456789' |
| 86 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 87 |
|
| 88 |
# The user is always right. |
| 89 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 90 |
echo "#! /bin/sh" >conf$$.sh |
| 91 |
echo "exit 0" >>conf$$.sh |
| 92 |
chmod +x conf$$.sh |
| 93 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 94 |
PATH_SEPARATOR=';' |
| 95 |
else |
| 96 |
PATH_SEPARATOR=: |
| 97 |
fi |
| 98 |
rm -f conf$$.sh |
| 99 |
fi |
| 100 |
|
| 101 |
|
| 102 |
as_lineno_1=$LINENO |
| 103 |
as_lineno_2=$LINENO |
| 104 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 105 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 106 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 107 |
# Find who we are. Look in the path if we contain no path at all |
| 108 |
# relative or not. |
| 109 |
case $0 in |
| 110 |
*[\\/]* ) as_myself=$0 ;; |
| 111 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 112 |
for as_dir in $PATH |
| 113 |
do |
| 114 |
IFS=$as_save_IFS |
| 115 |
test -z "$as_dir" && as_dir=. |
| 116 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 117 |
done |
| 118 |
|
| 119 |
;; |
| 120 |
esac |
| 121 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 122 |
# in which case we are not to be found in the path. |
| 123 |
if test "x$as_myself" = x; then |
| 124 |
as_myself=$0 |
| 125 |
fi |
| 126 |
if test ! -f "$as_myself"; then |
| 127 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
| 128 |
{ (exit 1); exit 1; }; } |
| 129 |
fi |
| 130 |
case $CONFIG_SHELL in |
| 131 |
'') |
| 132 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 133 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 134 |
do |
| 135 |
IFS=$as_save_IFS |
| 136 |
test -z "$as_dir" && as_dir=. |
| 137 |
for as_base in sh bash ksh sh5; do |
| 138 |
case $as_dir in |
| 139 |
/*) |
| 140 |
if ("$as_dir/$as_base" -c ' |
| 141 |
as_lineno_1=$LINENO |
| 142 |
as_lineno_2=$LINENO |
| 143 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 144 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 145 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 146 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 147 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 148 |
CONFIG_SHELL=$as_dir/$as_base |
| 149 |
export CONFIG_SHELL |
| 150 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 151 |
fi;; |
| 152 |
esac |
| 153 |
done |
| 154 |
done |
| 155 |
;; |
| 156 |
esac |
| 157 |
|
| 158 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 159 |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 160 |
# line-number line before each line; the second 'sed' does the real |
| 161 |
# work. The second script uses 'N' to pair each line-number line |
| 162 |
# with the numbered line, and appends trailing '-' during |
| 163 |
# substitution so that $LINENO is not a special case at line end. |
| 164 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 165 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 166 |
sed '=' <$as_myself | |
| 167 |
sed ' |
| 168 |
N |
| 169 |
s,$,-, |
| 170 |
: loop |
| 171 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 172 |
t loop |
| 173 |
s,-$,, |
| 174 |
s,^['$as_cr_digits']*\n,, |
| 175 |
' >$as_me.lineno && |
| 176 |
chmod +x $as_me.lineno || |
| 177 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 178 |
{ (exit 1); exit 1; }; } |
| 179 |
|
| 180 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 181 |
# (the dirname of $[0] is not the place where we might find the |
| 182 |
# original and so on. Autoconf is especially sensible to this). |
| 183 |
. ./$as_me.lineno |
| 184 |
# Exit status is that of the last command. |
| 185 |
exit |
| 186 |
} |
| 187 |
|
| 188 |
|
| 189 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 190 |
*c*,-n*) ECHO_N= ECHO_C=' |
| 191 |
' ECHO_T=' ' ;; |
| 192 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 193 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 194 |
esac |
| 195 |
|
| 196 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 197 |
as_expr=expr |
| 198 |
else |
| 199 |
as_expr=false |
| 200 |
fi |
| 201 |
|
| 202 |
rm -f conf$$ conf$$.exe conf$$.file |
| 203 |
echo >conf$$.file |
| 204 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 205 |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 206 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 207 |
if test -f conf$$.exe; then |
| 208 |
# Don't use ln at all; we don't have any links |
| 209 |
as_ln_s='cp -p' |
| 210 |
else |
| 211 |
as_ln_s='ln -s' |
| 212 |
fi |
| 213 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 214 |
as_ln_s=ln |
| 215 |
else |
| 216 |
as_ln_s='cp -p' |
| 217 |
fi |
| 218 |
rm -f conf$$ conf$$.exe conf$$.file |
| 219 |
|
| 220 |
if mkdir -p . 2>/dev/null; then |
| 221 |
as_mkdir_p=: |
| 222 |
else |
| 223 |
test -d ./-p && rmdir ./-p |
| 224 |
as_mkdir_p=false |
| 225 |
fi |
| 226 |
|
| 227 |
as_executable_p="test -f" |
| 228 |
|
| 229 |
# Sed expression to map a string onto a valid CPP name. |
| 230 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 231 |
|
| 232 |
# Sed expression to map a string onto a valid variable name. |
| 233 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 234 |
|
| 235 |
|
| 236 |
# IFS |
| 237 |
# We need space, tab and new line, in precisely that order. |
| 238 |
as_nl=' |
| 239 |
' |
| 240 |
IFS=" $as_nl" |
| 241 |
|
| 242 |
# CDPATH. |
| 243 |
$as_unset CDPATH |
| 244 |
|
| 245 |
|
| 246 |
# Name of the host. |
| 247 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 248 |
# so uname gets run too. |
| 249 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 250 |
|
| 251 |
exec 6>&1 |
| 252 |
|
| 253 |
# |
| 254 |
# Initializations. |
| 255 |
# |
| 256 |
ac_default_prefix=/usr/local |
| 257 |
ac_config_libobj_dir=. |
| 258 |
cross_compiling=no |
| 259 |
subdirs= |
| 260 |
MFLAGS= |
| 261 |
MAKEFLAGS= |
| 262 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 263 |
|
| 264 |
# Maximum number of lines to put in a shell here document. |
| 265 |
# This variable seems obsolete. It should probably be removed, and |
| 266 |
# only ac_max_sed_lines should be used. |
| 267 |
: ${ac_max_here_lines=38} |
| 268 |
|
| 269 |
# Identity of this package. |
| 270 |
PACKAGE_NAME='mnote' |
| 271 |
PACKAGE_TARNAME='mnote' |
| 272 |
PACKAGE_VERSION='0.9' |
| 273 |
PACKAGE_STRING='mnote 0.9' |
| 274 |
PACKAGE_BUGREPORT='hiroyuki@maloninc.com' |
| 275 |
|
| 276 |
ac_unique_file="acconfig.h" |
| 277 |
# Factoring default headers for most tests. |
| 278 |
ac_includes_default="\ |
| 279 |
#include <stdio.h> |
| 280 |
#if HAVE_SYS_TYPES_H |
| 281 |
# include <sys/types.h> |
| 282 |
#endif |
| 283 |
#if HAVE_SYS_STAT_H |
| 284 |
# include <sys/stat.h> |
| 285 |
#endif |
| 286 |
#if STDC_HEADERS |
| 287 |
# include <stdlib.h> |
| 288 |
# include <stddef.h> |
| 289 |
#else |
| 290 |
# if HAVE_STDLIB_H |
| 291 |
# include <stdlib.h> |
| 292 |
# endif |
| 293 |
#endif |
| 294 |
#if HAVE_STRING_H |
| 295 |
# if !STDC_HEADERS && HAVE_MEMORY_H |
| 296 |
# include <memory.h> |
| 297 |
# endif |
| 298 |
# include <string.h> |
| 299 |
#endif |
| 300 |
#if HAVE_STRINGS_H |
| 301 |
# include <strings.h> |
| 302 |
#endif |
| 303 |
#if HAVE_INTTYPES_H |
| 304 |
# include <inttypes.h> |
| 305 |
#else |
| 306 |
# if HAVE_STDINT_H |
| 307 |
# include <stdint.h> |
| 308 |
# endif |
| 309 |
#endif |
| 310 |
#if HAVE_UNISTD_H |
| 311 |
# include <unistd.h> |
| 312 |
#endif" |
| 313 |
|
| 314 |
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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os IS_DARWIN_TRUE IS_DARWIN_FALSE IS_MINGW_TRUE IS_MINGW_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIB@&t@OBJS LTLIBOBJS' |
| 315 |
ac_subst_files='' |
| 316 |
|
| 317 |
# Initialize some variables set by options. |
| 318 |
ac_init_help= |
| 319 |
ac_init_version=false |
| 320 |
# The variables have the same names as the options, with |
| 321 |
# dashes changed to underlines. |
| 322 |
cache_file=/dev/null |
| 323 |
exec_prefix=NONE |
| 324 |
no_create= |
| 325 |
no_recursion= |
| 326 |
prefix=NONE |
| 327 |
program_prefix=NONE |
| 328 |
program_suffix=NONE |
| 329 |
program_transform_name=s,x,x, |
| 330 |
silent= |
| 331 |
site= |
| 332 |
srcdir= |
| 333 |
verbose= |
| 334 |
x_includes=NONE |
| 335 |
x_libraries=NONE |
| 336 |
|
| 337 |
# Installation directory options. |
| 338 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
| 339 |
# and all the variables that are supposed to be based on exec_prefix |
| 340 |
# by default will actually change. |
| 341 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 342 |
bindir='${exec_prefix}/bin' |
| 343 |
sbindir='${exec_prefix}/sbin' |
| 344 |
libexecdir='${exec_prefix}/libexec' |
| 345 |
datadir='${prefix}/share' |
| 346 |
sysconfdir='${prefix}/etc' |
| 347 |
sharedstatedir='${prefix}/com' |
| 348 |
localstatedir='${prefix}/var' |
| 349 |
libdir='${exec_prefix}/lib' |
| 350 |
includedir='${prefix}/include' |
| 351 |
oldincludedir='/usr/include' |
| 352 |
infodir='${prefix}/info' |
| 353 |
mandir='${prefix}/man' |
| 354 |
|
| 355 |
ac_prev= |
| 356 |
for ac_option |
| 357 |
do |
| 358 |
# If the previous option needs an argument, assign it. |
| 359 |
if test -n "$ac_prev"; then |
| 360 |
eval "$ac_prev=\$ac_option" |
| 361 |
ac_prev= |
| 362 |
continue |
| 363 |
fi |
| 364 |
|
| 365 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 366 |
|
| 367 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 368 |
|
| 369 |
case $ac_option in |
| 370 |
|
| 371 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 372 |
ac_prev=bindir ;; |
| 373 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 374 |
bindir=$ac_optarg ;; |
| 375 |
|
| 376 |
-build | --build | --buil | --bui | --bu) |
| 377 |
ac_prev=build_alias ;; |
| 378 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 379 |
build_alias=$ac_optarg ;; |
| 380 |
|
| 381 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 382 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 383 |
ac_prev=cache_file ;; |
| 384 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 385 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 386 |
cache_file=$ac_optarg ;; |
| 387 |
|
| 388 |
--config-cache | -C) |
| 389 |
cache_file=config.cache ;; |
| 390 |
|
| 391 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 392 |
ac_prev=datadir ;; |
| 393 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 394 |
| --da=*) |
| 395 |
datadir=$ac_optarg ;; |
| 396 |
|
| 397 |
-disable-* | --disable-*) |
| 398 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 399 |
# Reject names that are not valid shell variable names. |
| 400 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 401 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 402 |
{ (exit 1); exit 1; }; } |
| 403 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 404 |
eval "enable_$ac_feature=no" ;; |
| 405 |
|
| 406 |
-enable-* | --enable-*) |
| 407 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 408 |
# Reject names that are not valid shell variable names. |
| 409 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 410 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 411 |
{ (exit 1); exit 1; }; } |
| 412 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 413 |
case $ac_option in |
| 414 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 415 |
*) ac_optarg=yes ;; |
| 416 |
esac |
| 417 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
| 418 |
|
| 419 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 420 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 421 |
| --exec | --exe | --ex) |
| 422 |
ac_prev=exec_prefix ;; |
| 423 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 424 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 425 |
| --exec=* | --exe=* | --ex=*) |
| 426 |
exec_prefix=$ac_optarg ;; |
| 427 |
|
| 428 |
-gas | --gas | --ga | --g) |
| 429 |
# Obsolete; use --with-gas. |
| 430 |
with_gas=yes ;; |
| 431 |
|
| 432 |
-help | --help | --hel | --he | -h) |
| 433 |
ac_init_help=long ;; |
| 434 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 435 |
ac_init_help=recursive ;; |
| 436 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 437 |
ac_init_help=short ;; |
| 438 |
|
| 439 |
-host | --host | --hos | --ho) |
| 440 |
ac_prev=host_alias ;; |
| 441 |
-host=* | --host=* | --hos=* | --ho=*) |
| 442 |
host_alias=$ac_optarg ;; |
| 443 |
|
| 444 |
-includedir | --includedir | --includedi | --included | --include \ |
| 445 |
| --includ | --inclu | --incl | --inc) |
| 446 |
ac_prev=includedir ;; |
| 447 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 448 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| 449 |
includedir=$ac_optarg ;; |
| 450 |
|
| 451 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 452 |
ac_prev=infodir ;; |
| 453 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 454 |
infodir=$ac_optarg ;; |
| 455 |
|
| 456 |
-libdir | --libdir | --libdi | --libd) |
| 457 |
ac_prev=libdir ;; |
| 458 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 459 |
libdir=$ac_optarg ;; |
| 460 |
|
| 461 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 462 |
| --libexe | --libex | --libe) |
| 463 |
ac_prev=libexecdir ;; |
| 464 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 465 |
| --libexe=* | --libex=* | --libe=*) |
| 466 |
libexecdir=$ac_optarg ;; |
| 467 |
|
| 468 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 469 |
| --localstate | --localstat | --localsta | --localst \ |
| 470 |
| --locals | --local | --loca | --loc | --lo) |
| 471 |
ac_prev=localstatedir ;; |
| 472 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 473 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 474 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 475 |
localstatedir=$ac_optarg ;; |
| 476 |
|
| 477 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 478 |
ac_prev=mandir ;; |
| 479 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 480 |
mandir=$ac_optarg ;; |
| 481 |
|
| 482 |
-nfp | --nfp | --nf) |
| 483 |
# Obsolete; use --without-fp. |
| 484 |
with_fp=no ;; |
| 485 |
|
| 486 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 487 |
| --no-cr | --no-c | -n) |
| 488 |
no_create=yes ;; |
| 489 |
|
| 490 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 491 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 492 |
no_recursion=yes ;; |
| 493 |
|
| 494 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 495 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 496 |
| --oldin | --oldi | --old | --ol | --o) |
| 497 |
ac_prev=oldincludedir ;; |
| 498 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 499 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 500 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 501 |
oldincludedir=$ac_optarg ;; |
| 502 |
|
| 503 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 504 |
ac_prev=prefix ;; |
| 505 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 506 |
prefix=$ac_optarg ;; |
| 507 |
|
| 508 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 509 |
| --program-pre | --program-pr | --program-p) |
| 510 |
ac_prev=program_prefix ;; |
| 511 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 512 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 513 |
program_prefix=$ac_optarg ;; |
| 514 |
|
| 515 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 516 |
| --program-suf | --program-su | --program-s) |
| 517 |
ac_prev=program_suffix ;; |
| 518 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 519 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 520 |
program_suffix=$ac_optarg ;; |
| 521 |
|
| 522 |
-program-transform-name | --program-transform-name \ |
| 523 |
| --program-transform-nam | --program-transform-na \ |
| 524 |
| --program-transform-n | --program-transform- \ |
| 525 |
| --program-transform | --program-transfor \ |
| 526 |
| --program-transfo | --program-transf \ |
| 527 |
| --program-trans | --program-tran \ |
| 528 |
| --progr-tra | --program-tr | --program-t) |
| 529 |
ac_prev=program_transform_name ;; |
| 530 |
-program-transform-name=* | --program-transform-name=* \ |
| 531 |
| --program-transform-nam=* | --program-transform-na=* \ |
| 532 |
| --program-transform-n=* | --program-transform-=* \ |
| 533 |
| --program-transform=* | --program-transfor=* \ |
| 534 |
| --program-transfo=* | --program-transf=* \ |
| 535 |
| --program-trans=* | --program-tran=* \ |
| 536 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 537 |
program_transform_name=$ac_optarg ;; |
| 538 |
|
| 539 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 540 |
| -silent | --silent | --silen | --sile | --sil) |
| 541 |
silent=yes ;; |
| 542 |
|
| 543 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 544 |
ac_prev=sbindir ;; |
| 545 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 546 |
| --sbi=* | --sb=*) |
| 547 |
sbindir=$ac_optarg ;; |
| 548 |
|
| 549 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 550 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 551 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 552 |
| --sha | --sh) |
| 553 |
ac_prev=sharedstatedir ;; |
| 554 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 555 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 556 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 557 |
| --sha=* | --sh=*) |
| 558 |
sharedstatedir=$ac_optarg ;; |
| 559 |
|
| 560 |
-site | --site | --sit) |
| 561 |
ac_prev=site ;; |
| 562 |
-site=* | --site=* | --sit=*) |
| 563 |
site=$ac_optarg ;; |
| 564 |
|
| 565 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 566 |
ac_prev=srcdir ;; |
| 567 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 568 |
srcdir=$ac_optarg ;; |
| 569 |
|
| 570 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 571 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| 572 |
ac_prev=sysconfdir ;; |
| 573 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 574 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 575 |
sysconfdir=$ac_optarg ;; |
| 576 |
|
| 577 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 578 |
ac_prev=target_alias ;; |
| 579 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 580 |
target_alias=$ac_optarg ;; |
| 581 |
|
| 582 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 583 |
verbose=yes ;; |
| 584 |
|
| 585 |
-version | --version | --versio | --versi | --vers | -V) |
| 586 |
ac_init_version=: ;; |
| 587 |
|
| 588 |
-with-* | --with-*) |
| 589 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 590 |
# Reject names that are not valid shell variable names. |
| 591 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 592 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 593 |
{ (exit 1); exit 1; }; } |
| 594 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 595 |
case $ac_option in |
| 596 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 597 |
*) ac_optarg=yes ;; |
| 598 |
esac |
| 599 |
eval "with_$ac_package='$ac_optarg'" ;; |
| 600 |
|
| 601 |
-without-* | --without-*) |
| 602 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 603 |
# Reject names that are not valid shell variable names. |
| 604 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 605 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 606 |
{ (exit 1); exit 1; }; } |
| 607 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 608 |
eval "with_$ac_package=no" ;; |
| 609 |
|
| 610 |
--x) |
| 611 |
# Obsolete; use --with-x. |
| 612 |
with_x=yes ;; |
| 613 |
|
| 614 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 615 |
| --x-incl | --x-inc | --x-in | --x-i) |
| 616 |
ac_prev=x_includes ;; |
| 617 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 618 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 619 |
x_includes=$ac_optarg ;; |
| 620 |
|
| 621 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 622 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 623 |
ac_prev=x_libraries ;; |
| 624 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 625 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 626 |
x_libraries=$ac_optarg ;; |
| 627 |
|
| 628 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
| 629 |
Try \`$0 --help' for more information." >&2 |
| 630 |
{ (exit 1); exit 1; }; } |
| 631 |
;; |
| 632 |
|
| 633 |
*=*) |
| 634 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 635 |
# Reject names that are not valid shell variable names. |
| 636 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 637 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 638 |
{ (exit 1); exit 1; }; } |
| 639 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 640 |
eval "$ac_envvar='$ac_optarg'" |
| 641 |
export $ac_envvar ;; |
| 642 |
|
| 643 |
*) |
| 644 |
# FIXME: should be removed in autoconf 3.0. |
| 645 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 646 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 647 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 648 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 649 |
;; |
| 650 |
|
| 651 |
esac |
| 652 |
done |
| 653 |
|
| 654 |
if test -n "$ac_prev"; then |
| 655 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 656 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
| 657 |
{ (exit 1); exit 1; }; } |
| 658 |
fi |
| 659 |
|
| 660 |
# Be sure to have absolute paths. |
| 661 |
for ac_var in exec_prefix prefix |
| 662 |
do |
| 663 |
eval ac_val=$`echo $ac_var` |
| 664 |
case $ac_val in |
| 665 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| 666 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 667 |
{ (exit 1); exit 1; }; };; |
| 668 |
esac |
| 669 |
done |
| 670 |
|
| 671 |
# Be sure to have absolute paths. |
| 672 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 673 |
localstatedir libdir includedir oldincludedir infodir mandir |
| 674 |
do |
| 675 |
eval ac_val=$`echo $ac_var` |
| 676 |
case $ac_val in |
| 677 |
[\\/$]* | ?:[\\/]* ) ;; |
| 678 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 679 |
{ (exit 1); exit 1; }; };; |
| 680 |
esac |
| 681 |
done |
| 682 |
|
| 683 |
# There might be people who depend on the old broken behavior: `$host' |
| 684 |
# used to hold the argument of --host etc. |
| 685 |
# FIXME: To remove some day. |
| 686 |
build=$build_alias |
| 687 |
host=$host_alias |
| 688 |
target=$target_alias |
| 689 |
|
| 690 |
# FIXME: To remove some day. |
| 691 |
if test "x$host_alias" != x; then |
| 692 |
if test "x$build_alias" = x; then |
| 693 |
cross_compiling=maybe |
| 694 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 695 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 696 |
elif test "x$build_alias" != "x$host_alias"; then |
| 697 |
cross_compiling=yes |
| 698 |
fi |
| 699 |
fi |
| 700 |
|
| 701 |
ac_tool_prefix= |
| 702 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 703 |
|
| 704 |
test "$silent" = yes && exec 6>/dev/null |
| 705 |
|
| 706 |
|
| 707 |
# Find the source files, if location was not specified. |
| 708 |
if test -z "$srcdir"; then |
| 709 |
ac_srcdir_defaulted=yes |
| 710 |
# Try the directory containing this script, then its parent. |
| 711 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
| 712 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 713 |
X"$0" : 'X\(//\)[^/]' \| \ |
| 714 |
X"$0" : 'X\(//\)$' \| \ |
| 715 |
X"$0" : 'X\(/\)' \| \ |
| 716 |
. : '\(.\)' 2>/dev/null || |
| 717 |
echo X"$0" | |
| 718 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 719 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 720 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 721 |
/^X\(\/\).*/{ s//\1/; q; } |
| 722 |
s/.*/./; q'` |
| 723 |
srcdir=$ac_confdir |
| 724 |
if test ! -r $srcdir/$ac_unique_file; then |
| 725 |
srcdir=.. |
| 726 |
fi |
| 727 |
else |
| 728 |
ac_srcdir_defaulted=no |
| 729 |
fi |
| 730 |
if test ! -r $srcdir/$ac_unique_file; then |
| 731 |
if test "$ac_srcdir_defaulted" = yes; then |
| 732 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| 733 |
{ (exit 1); exit 1; }; } |
| 734 |
else |
| 735 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 736 |
{ (exit 1); exit 1; }; } |
| 737 |
fi |
| 738 |
fi |
| 739 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 740 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| 741 |
{ (exit 1); exit 1; }; } |
| 742 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 743 |
ac_env_build_alias_set=${build_alias+set} |
| 744 |
ac_env_build_alias_value=$build_alias |
| 745 |
ac_cv_env_build_alias_set=${build_alias+set} |
| 746 |
ac_cv_env_build_alias_value=$build_alias |
| 747 |
ac_env_host_alias_set=${host_alias+set} |
| 748 |
ac_env_host_alias_value=$host_alias |
| 749 |
ac_cv_env_host_alias_set=${host_alias+set} |
| 750 |
ac_cv_env_host_alias_value=$host_alias |
| 751 |
ac_env_target_alias_set=${target_alias+set} |
| 752 |
ac_env_target_alias_value=$target_alias |
| 753 |
ac_cv_env_target_alias_set=${target_alias+set} |
| 754 |
ac_cv_env_target_alias_value=$target_alias |
| 755 |
ac_env_CXX_set=${CXX+set} |
| 756 |
ac_env_CXX_value=$CXX |
| 757 |
ac_cv_env_CXX_set=${CXX+set} |
| 758 |
ac_cv_env_CXX_value=$CXX |
| 759 |
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 760 |
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 761 |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 762 |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 763 |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 764 |
ac_env_LDFLAGS_value=$LDFLAGS |
| 765 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 766 |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 767 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 768 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
| 769 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 770 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 771 |
ac_env_CC_set=${CC+set} |
| 772 |
ac_env_CC_value=$CC |
| 773 |
ac_cv_env_CC_set=${CC+set} |
| 774 |
ac_cv_env_CC_value=$CC |
| 775 |
ac_env_CFLAGS_set=${CFLAGS+set} |
| 776 |
ac_env_CFLAGS_value=$CFLAGS |
| 777 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 778 |
ac_cv_env_CFLAGS_value=$CFLAGS |
| 779 |
ac_env_CPP_set=${CPP+set} |
| 780 |
ac_env_CPP_value=$CPP |
| 781 |
ac_cv_env_CPP_set=${CPP+set} |
| 782 |
ac_cv_env_CPP_value=$CPP |
| 783 |
|
| 784 |
# |
| 785 |
# Report the --help message. |
| 786 |
# |
| 787 |
if test "$ac_init_help" = "long"; then |
| 788 |
# Omit some internal or obsolete options to make the list less imposing. |
| 789 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 790 |
cat <<_ACEOF |
| 791 |
\`configure' configures mnote 0.9 to adapt to many kinds of systems. |
| 792 |
|
| 793 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 794 |
|
| 795 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 796 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
| 797 |
|
| 798 |
Defaults for the options are specified in brackets. |
| 799 |
|
| 800 |
Configuration: |
| 801 |
-h, --help display this help and exit |
| 802 |
--help=short display options specific to this package |
| 803 |
--help=recursive display the short help of all the included packages |
| 804 |
-V, --version display version information and exit |
| 805 |
-q, --quiet, --silent do not print \`checking...' messages |
| 806 |
--cache-file=FILE cache test results in FILE [disabled] |
| 807 |
-C, --config-cache alias for \`--cache-file=config.cache' |
| 808 |
-n, --no-create do not create output files |
| 809 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 810 |
|
| 811 |
_ACEOF |
| 812 |
|
| 813 |
cat <<_ACEOF |
| 814 |
Installation directories: |
| 815 |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 816 |
[$ac_default_prefix] |
| 817 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 818 |
[PREFIX] |
| 819 |
|
| 820 |
By default, \`make install' will install all the files in |
| 821 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 822 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 823 |
for instance \`--prefix=\$HOME'. |
| 824 |
|
| 825 |
For better control, use the options below. |
| 826 |
|
| 827 |
Fine tuning of the installation directories: |
| 828 |
--bindir=DIR user executables [EPREFIX/bin] |
| 829 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 830 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 831 |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
| 832 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 833 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 834 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 835 |
--libdir=DIR object code libraries [EPREFIX/lib] |
| 836 |
--includedir=DIR C header files [PREFIX/include] |
| 837 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 838 |
--infodir=DIR info documentation [PREFIX/info] |
| 839 |
--mandir=DIR man documentation [PREFIX/man] |
| 840 |
_ACEOF |
| 841 |
|
| 842 |
cat <<\_ACEOF |
| 843 |
|
| 844 |
Program names: |
| 845 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
| 846 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
| 847 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 848 |
|
| 849 |
System types: |
| 850 |
--build=BUILD configure for building on BUILD [guessed] |
| 851 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 852 |
_ACEOF |
| 853 |
fi |
| 854 |
|
| 855 |
if test -n "$ac_init_help"; then |
| 856 |
case $ac_init_help in |
| 857 |
short | recursive ) echo "Configuration of mnote 0.9:";; |
| 858 |
esac |
| 859 |
cat <<\_ACEOF |
| 860 |
|
| 861 |
Optional Features: |
| 862 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 863 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 864 |
--disable-dependency-tracking speeds up one-time build |
| 865 |
--enable-dependency-tracking do not reject slow dependency extractors |
| 866 |
|
| 867 |
Some influential environment variables: |
| 868 |
CXX C++ compiler command |
| 869 |
CXXFLAGS C++ compiler flags |
| 870 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 871 |
nonstandard directory <lib dir> |
| 872 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 873 |
headers in a nonstandard directory <include dir> |
| 874 |
CC C compiler command |
| 875 |
CFLAGS C compiler flags |
| 876 |
CPP C preprocessor |
| 877 |
|
| 878 |
Use these variables to override the choices made by `configure' or to help |
| 879 |
it to find libraries and programs with nonstandard names/locations. |
| 880 |
|
| 881 |
Report bugs to <hiroyuki@maloninc.com>. |
| 882 |
_ACEOF |
| 883 |
fi |
| 884 |
|
| 885 |
if test "$ac_init_help" = "recursive"; then |
| 886 |
# If there are subdirs, report their specific --help. |
| 887 |
ac_popdir=`pwd` |
| 888 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 889 |
test -d $ac_dir || continue |
| 890 |
ac_builddir=. |
| 891 |
|
| 892 |
if test "$ac_dir" != .; then |
| 893 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 894 |
# A "../" for each directory in $ac_dir_suffix. |
| 895 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 896 |
else |
| 897 |
ac_dir_suffix= ac_top_builddir= |
| 898 |
fi |
| 899 |
|
| 900 |
case $srcdir in |
| 901 |
.) # No --srcdir option. We are building in place. |
| 902 |
ac_srcdir=. |
| 903 |
if test -z "$ac_top_builddir"; then |
| 904 |
ac_top_srcdir=. |
| 905 |
else |
| 906 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 907 |
fi ;; |
| 908 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 909 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 910 |
ac_top_srcdir=$srcdir ;; |
| 911 |
*) # Relative path. |
| 912 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 913 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 914 |
esac |
| 915 |
|
| 916 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 917 |
# the directories may not exist. |
| 918 |
case `pwd` in |
| 919 |
.) ac_abs_builddir="$ac_dir";; |
| 920 |
*) |
| 921 |
case "$ac_dir" in |
| 922 |
.) ac_abs_builddir=`pwd`;; |
| 923 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 924 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 925 |
esac;; |
| 926 |
esac |
| 927 |
case $ac_abs_builddir in |
| 928 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 929 |
*) |
| 930 |
case ${ac_top_builddir}. in |
| 931 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 932 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 933 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 934 |
esac;; |
| 935 |
esac |
| 936 |
case $ac_abs_builddir in |
| 937 |
.) ac_abs_srcdir=$ac_srcdir;; |
| 938 |
*) |
| 939 |
case $ac_srcdir in |
| 940 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 941 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 942 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 943 |
esac;; |
| 944 |
esac |
| 945 |
case $ac_abs_builddir in |
| 946 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 947 |
*) |
| 948 |
case $ac_top_srcdir in |
| 949 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 950 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 951 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 952 |
esac;; |
| 953 |
esac |
| 954 |
|
| 955 |
cd $ac_dir |
| 956 |
# Check for guested configure; otherwise get Cygnus style configure. |
| 957 |
if test -f $ac_srcdir/configure.gnu; then |
| 958 |
echo |
| 959 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
| 960 |
elif test -f $ac_srcdir/configure; then |
| 961 |
echo |
| 962 |
$SHELL $ac_srcdir/configure --help=recursive |
| 963 |
elif test -f $ac_srcdir/configure.ac || |
| 964 |
test -f $ac_srcdir/configure.in; then |
| 965 |
echo |
| 966 |
$ac_configure --help |
| 967 |
else |
| 968 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 969 |
fi |
| 970 |
cd $ac_popdir |
| 971 |
done |
| 972 |
fi |
| 973 |
|
| 974 |
test -n "$ac_init_help" && exit 0 |
| 975 |
if $ac_init_version; then |
| 976 |
cat <<\_ACEOF |
| 977 |
mnote configure 0.9 |
| 978 |
generated by GNU Autoconf 2.59 |
| 979 |
|
| 980 |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 981 |
This configure script is free software; the Free Software Foundation |
| 982 |
gives unlimited permission to copy, distribute and modify it. |
| 983 |
_ACEOF |
| 984 |
exit 0 |
| 985 |
fi |
| 986 |
exec 5>config.log |
| 987 |
cat >&5 <<_ACEOF |
| 988 |
This file contains any messages produced by compilers while |
| 989 |
running configure, to aid debugging if configure makes a mistake. |
| 990 |
|
| 991 |
It was created by mnote $as_me 0.9, which was |
| 992 |
generated by GNU Autoconf 2.59. Invocation command line was |
| 993 |
|
| 994 |
$ $0 $@ |
| 995 |
|
| 996 |
_ACEOF |
| 997 |
{ |
| 998 |
cat <<_ASUNAME |
| 999 |
@%:@@%:@ --------- @%:@@%:@ |
| 1000 |
@%:@@%:@ Platform. @%:@@%:@ |
| 1001 |
@%:@@%:@ --------- @%:@@%:@ |
| 1002 |
|
| 1003 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1004 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1005 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1006 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1007 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1008 |
|
| 1009 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1010 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1011 |
|
| 1012 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1013 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1014 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1015 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| 1016 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1017 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1018 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1019 |
|
| 1020 |
_ASUNAME |
| 1021 |
|
| 1022 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1023 |
for as_dir in $PATH |
| 1024 |
do |
| 1025 |
IFS=$as_save_IFS |
| 1026 |
test -z "$as_dir" && as_dir=. |
| 1027 |
echo "PATH: $as_dir" |
| 1028 |
done |
| 1029 |
|
| 1030 |
} >&5 |
| 1031 |
|
| 1032 |
cat >&5 <<_ACEOF |
| 1033 |
|
| 1034 |
|
| 1035 |
@%:@@%:@ ----------- @%:@@%:@ |
| 1036 |
@%:@@%:@ Core tests. @%:@@%:@ |
| 1037 |
@%:@@%:@ ----------- @%:@@%:@ |
| 1038 |
|
| 1039 |
_ACEOF |
| 1040 |
|
| 1041 |
|
| 1042 |
# Keep a trace of the command line. |
| 1043 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 1044 |
# Strip out --silent because we don't want to record it for future runs. |
| 1045 |
# Also quote any args containing shell meta-characters. |
| 1046 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 1047 |
ac_configure_args= |
| 1048 |
ac_configure_args0= |
| 1049 |
ac_configure_args1= |
| 1050 |
ac_sep= |
| 1051 |
ac_must_keep_next=false |
| 1052 |
for ac_pass in 1 2 |
| 1053 |
do |
| 1054 |
for ac_arg |
| 1055 |
do |
| 1056 |
case $ac_arg in |
| 1057 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1058 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1059 |
| -silent | --silent | --silen | --sile | --sil) |
| 1060 |
continue ;; |
| 1061 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1062 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1063 |
esac |
| 1064 |
case $ac_pass in |
| 1065 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 1066 |
2) |
| 1067 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1068 |
if test $ac_must_keep_next = true; then |
| 1069 |
ac_must_keep_next=false # Got value, back to normal. |
| 1070 |
else |
| 1071 |
case $ac_arg in |
| 1072 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1073 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1074 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1075 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1076 |
case "$ac_configure_args0 " in |
| 1077 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1078 |
esac |
| 1079 |
;; |
| 1080 |
-* ) ac_must_keep_next=true ;; |
| 1081 |
esac |
| 1082 |
fi |
| 1083 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1084 |
# Get rid of the leading space. |
| 1085 |
ac_sep=" " |
| 1086 |
;; |
| 1087 |
esac |
| 1088 |
done |
| 1089 |
done |
| 1090 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1091 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 1092 |
|
| 1093 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1094 |
# config.log. We remove comments because anyway the quotes in there |
| 1095 |
# would cause problems or look ugly. |
| 1096 |
# WARNING: Be sure not to use single quotes in there, as some shells, |
| 1097 |
# such as our DU 5.0 friend, will then `close' the trap. |
| 1098 |
trap 'exit_status=$? |
| 1099 |
# Save into config.log some information that might help in debugging. |
| 1100 |
{ |
| 1101 |
echo |
| 1102 |
|
| 1103 |
cat <<\_ASBOX |
| 1104 |
@%:@@%:@ ---------------- @%:@@%:@ |
| 1105 |
@%:@@%:@ Cache variables. @%:@@%:@ |
| 1106 |
@%:@@%:@ ---------------- @%:@@%:@ |
| 1107 |
_ASBOX |
| 1108 |
echo |
| 1109 |
# The following way of writing the cache mishandles newlines in values, |
| 1110 |
{ |
| 1111 |
(set) 2>&1 | |
| 1112 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1113 |
*ac_space=\ *) |
| 1114 |
sed -n \ |
| 1115 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1116 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1117 |
;; |
| 1118 |
*) |
| 1119 |
sed -n \ |
| 1120 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1121 |
;; |
| 1122 |
esac; |
| 1123 |
} |
| 1124 |
echo |
| 1125 |
|
| 1126 |
cat <<\_ASBOX |
| 1127 |
@%:@@%:@ ----------------- @%:@@%:@ |
| 1128 |
@%:@@%:@ Output variables. @%:@@%:@ |
| 1129 |
@%:@@%:@ ----------------- @%:@@%:@ |
| 1130 |
_ASBOX |
| 1131 |
echo |
| 1132 |
for ac_var in $ac_subst_vars |
| 1133 |
do |
| 1134 |
eval ac_val=$`echo $ac_var` |
| 1135 |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1136 |
done | sort |
| 1137 |
echo |
| 1138 |
|
| 1139 |
if test -n "$ac_subst_files"; then |
| 1140 |
cat <<\_ASBOX |
| 1141 |
@%:@@%:@ ------------- @%:@@%:@ |
| 1142 |
@%:@@%:@ Output files. @%:@@%:@ |
| 1143 |
@%:@@%:@ ------------- @%:@@%:@ |
| 1144 |
_ASBOX |
| 1145 |
echo |
| 1146 |
for ac_var in $ac_subst_files |
| 1147 |
do |
| 1148 |
eval ac_val=$`echo $ac_var` |
| 1149 |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1150 |
done | sort |
| 1151 |
echo |
| 1152 |
fi |
| 1153 |
|
| 1154 |
if test -s confdefs.h; then |
| 1155 |
cat <<\_ASBOX |
| 1156 |
@%:@@%:@ ----------- @%:@@%:@ |
| 1157 |
@%:@@%:@ confdefs.h. @%:@@%:@ |
| 1158 |
@%:@@%:@ ----------- @%:@@%:@ |
| 1159 |
_ASBOX |
| 1160 |
echo |
| 1161 |
sed "/^$/d" confdefs.h | sort |
| 1162 |
echo |
| 1163 |
fi |
| 1164 |
test "$ac_signal" != 0 && |
| 1165 |
echo "$as_me: caught signal $ac_signal" |
| 1166 |
echo "$as_me: exit $exit_status" |
| 1167 |
} >&5 |
| 1168 |
rm -f core *.core && |
| 1169 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1170 |
exit $exit_status |
| 1171 |
' 0 |
| 1172 |
for ac_signal in 1 2 13 15; do |
| 1173 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1174 |
done |
| 1175 |
ac_signal=0 |
| 1176 |
|
| 1177 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1178 |
rm -rf conftest* confdefs.h |
| 1179 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 1180 |
echo >confdefs.h |
| 1181 |
|
| 1182 |
# Predefined preprocessor variables. |
| 1183 |
|
| 1184 |
cat >>confdefs.h <<_ACEOF |
| 1185 |
@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
| 1186 |
_ACEOF |
| 1187 |
|
| 1188 |
|
| 1189 |
cat >>confdefs.h <<_ACEOF |
| 1190 |
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1191 |
_ACEOF |
| 1192 |
|
| 1193 |
|
| 1194 |
cat >>confdefs.h <<_ACEOF |
| 1195 |
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1196 |
_ACEOF |
| 1197 |
|
| 1198 |
|
| 1199 |
cat >>confdefs.h <<_ACEOF |
| 1200 |
@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
| 1201 |
_ACEOF |
| 1202 |
|
| 1203 |
|
| 1204 |
cat >>confdefs.h <<_ACEOF |
| 1205 |
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1206 |
_ACEOF |
| 1207 |
|
| 1208 |
|
| 1209 |
# Let the site file select an alternate cache file if it wants to. |
| 1210 |
# Prefer explicitly selected file to automatically selected ones. |
| 1211 |
if test -z "$CONFIG_SITE"; then |
| 1212 |
if test "x$prefix" != xNONE; then |
| 1213 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 1214 |
else |
| 1215 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1216 |
fi |
| 1217 |
fi |
| 1218 |
for ac_site_file in $CONFIG_SITE; do |
| 1219 |
if test -r "$ac_site_file"; then |
| 1220 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1221 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1222 |
sed 's/^/| /' "$ac_site_file" >&5 |
| 1223 |
. "$ac_site_file" |
| 1224 |
fi |
| 1225 |
done |
| 1226 |
|
| 1227 |
if test -r "$cache_file"; then |
| 1228 |
# Some versions of bash will fail to source /dev/null (special |
| 1229 |
# files actually), so we avoid doing that. |
| 1230 |
if test -f "$cache_file"; then |
| 1231 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1232 |
echo "$as_me: loading cache $cache_file" >&6;} |
| 1233 |
case $cache_file in |
| 1234 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
| 1235 |
*) . ./$cache_file;; |
| 1236 |
esac |
| 1237 |
fi |
| 1238 |
else |
| 1239 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1240 |
echo "$as_me: creating cache $cache_file" >&6;} |
| 1241 |
>$cache_file |
| 1242 |
fi |
| 1243 |
|
| 1244 |
# Check that the precious variables saved in the cache have kept the same |
| 1245 |
# value. |
| 1246 |
ac_cache_corrupted=false |
| 1247 |
for ac_var in `(set) 2>&1 | |
| 1248 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1249 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1250 |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1251 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1252 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
| 1253 |
case $ac_old_set,$ac_new_set in |
| 1254 |
set,) |
| 1255 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1256 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1257 |
ac_cache_corrupted=: ;; |
| 1258 |
,set) |
| 1259 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 1260 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1261 |
ac_cache_corrupted=: ;; |
| 1262 |
,);; |
| 1263 |
*) |
| 1264 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1265 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1266 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1267 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1268 |
echo "$as_me: former value: $ac_old_val" >&2;} |
| 1269 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1270 |
echo "$as_me: current value: $ac_new_val" >&2;} |
| 1271 |
ac_cache_corrupted=: |
| 1272 |
fi;; |
| 1273 |
esac |
| 1274 |
# Pass precious variables to config.status. |
| 1275 |
if test "$ac_new_set" = set; then |
| 1276 |
case $ac_new_val in |
| 1277 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1278 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1279 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 1280 |
esac |
| 1281 |
case " $ac_configure_args " in |
| 1282 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1283 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 1284 |
esac |
| 1285 |
fi |
| 1286 |
done |
| 1287 |
if $ac_cache_corrupted; then |
| 1288 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 1289 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1290 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1291 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| 1292 |
{ (exit 1); exit 1; }; } |
| 1293 |
fi |
| 1294 |
|
| 1295 |
ac_ext=c |
| 1296 |
ac_cpp='$CPP $CPPFLAGS' |
| 1297 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1298 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1299 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1300 |
|
| 1301 |
|
| 1302 |
|
| 1303 |
|
| 1304 |
|
| 1305 |
|
| 1306 |
|
| 1307 |
|
| 1308 |
|
| 1309 |
|
| 1310 |
|
| 1311 |
|
| 1312 |
|
| 1313 |
|
| 1314 |
|
| 1315 |
|
| 1316 |
|
| 1317 |
|
| 1318 |
|
| 1319 |
|
| 1320 |
|
| 1321 |
|
| 1322 |
|
| 1323 |
|
| 1324 |
|
| 1325 |
|
| 1326 |
|
| 1327 |
|
| 1328 |
am__api_version="1.9" |
| 1329 |
ac_aux_dir= |
| 1330 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| 1331 |
if test -f $ac_dir/install-sh; then |
| 1332 |
ac_aux_dir=$ac_dir |
| 1333 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1334 |
break |
| 1335 |
elif test -f $ac_dir/install.sh; then |
| 1336 |
ac_aux_dir=$ac_dir |
| 1337 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1338 |
break |
| 1339 |
elif test -f $ac_dir/shtool; then |
| 1340 |
ac_aux_dir=$ac_dir |
| 1341 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1342 |
break |
| 1343 |
fi |
| 1344 |
done |
| 1345 |
if test -z "$ac_aux_dir"; then |
| 1346 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
| 1347 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
| 1348 |
{ (exit 1); exit 1; }; } |
| 1349 |
fi |
| 1350 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
| 1351 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
| 1352 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| 1353 |
|
| 1354 |
# Find a good install program. We prefer a C program (faster), |
| 1355 |
# so one script is as good as another. But avoid the broken or |
| 1356 |
# incompatible versions: |
| 1357 |
# SysV /etc/install, /usr/sbin/install |
| 1358 |
# SunOS /usr/etc/install |
| 1359 |
# IRIX /sbin/install |
| 1360 |
# AIX /bin/install |
| 1361 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 1362 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1363 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1364 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1365 |
# OS/2's system install, which has a completely different semantic |
| 1366 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 1367 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 1368 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 1369 |
if test -z "$INSTALL"; then |
| 1370 |
if test "${ac_cv_path_install+set}" = set; then |
| 1371 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1372 |
else |
| 1373 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1374 |
for as_dir in $PATH |
| 1375 |
do |
| 1376 |
IFS=$as_save_IFS |
| 1377 |
test -z "$as_dir" && as_dir=. |
| 1378 |
# Account for people who put trailing slashes in PATH elements. |
| 1379 |
case $as_dir/ in |
| 1380 |
./ | .// | /cC/* | \ |
| 1381 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 1382 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 1383 |
/usr/ucb/* ) ;; |
| 1384 |
*) |
| 1385 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 1386 |
# Don't use installbsd from OSF since it installs stuff as root |
| 1387 |
# by default. |
| 1388 |
for ac_prog in ginstall scoinst install; do |
| 1389 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1390 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 1391 |
if test $ac_prog = install && |
| 1392 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1393 |
# AIX install. It has an incompatible calling convention. |
| 1394 |
: |
| 1395 |
elif test $ac_prog = install && |
| 1396 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1397 |
# program-specific install script used by HP pwplus--don't use. |
| 1398 |
: |
| 1399 |
else |
| 1400 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 1401 |
break 3 |
| 1402 |
fi |
| 1403 |
fi |
| 1404 |
done |
| 1405 |
done |
| 1406 |
;; |
| 1407 |
esac |
| 1408 |
done |
| 1409 |
|
| 1410 |
|
| 1411 |
fi |
| 1412 |
if test "${ac_cv_path_install+set}" = set; then |
| 1413 |
INSTALL=$ac_cv_path_install |
| 1414 |
else |
| 1415 |
# As a last resort, use the slow shell script. We don't cache a |
| 1416 |
# path for INSTALL within a source directory, because that will |
| 1417 |
# break other packages using the cache if that directory is |
| 1418 |
# removed, or if the path is relative. |
| 1419 |
INSTALL=$ac_install_sh |
| 1420 |
fi |
| 1421 |
fi |
| 1422 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 1423 |
echo "${ECHO_T}$INSTALL" >&6 |
| 1424 |
|
| 1425 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 1426 |
# It thinks the first close brace ends the variable substitution. |
| 1427 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 1428 |
|
| 1429 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 1430 |
|
| 1431 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1432 |
|
| 1433 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
| 1434 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
| 1435 |
# Just in case |
| 1436 |
sleep 1 |
| 1437 |
echo timestamp > conftest.file |
| 1438 |
# Do `set' in a subshell so we don't clobber the current shell's |
| 1439 |
# arguments. Must try -L first in case configure is actually a |
| 1440 |
# symlink; some systems play weird games with the mod time of symlinks |
| 1441 |
# (eg FreeBSD returns the mod time of the symlink's containing |
| 1442 |
# directory). |
| 1443 |
if ( |
| 1444 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
| 1445 |
if test "$*" = "X"; then |
| 1446 |
# -L didn't work. |
| 1447 |
set X `ls -t $srcdir/configure conftest.file` |
| 1448 |
fi |
| 1449 |
rm -f conftest.file |
| 1450 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 1451 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 1452 |
|
| 1453 |
# If neither matched, then we have a broken ls. This can happen |
| 1454 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 1455 |
# broken ls alias from the environment. This has actually |
| 1456 |
# happened. Such a system could not be considered "sane". |
| 1457 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
| 1458 |
alias in your environment" >&5 |
| 1459 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
| 1460 |
alias in your environment" >&2;} |
| 1461 |
{ (exit 1); exit 1; }; } |
| 1462 |
fi |
| 1463 |
|
| 1464 |
test "$2" = conftest.file |
| 1465 |
) |
| 1466 |
then |
| 1467 |
# Ok. |
| 1468 |
: |
| 1469 |
else |
| 1470 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
| 1471 |
Check your system clock" >&5 |
| 1472 |
echo "$as_me: error: newly created file is older than distributed files! |
| 1473 |
Check your system clock" >&2;} |
| 1474 |
{ (exit 1); exit 1; }; } |
| 1475 |
fi |
| 1476 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 1477 |
echo "${ECHO_T}yes" >&6 |
| 1478 |
test "$program_prefix" != NONE && |
| 1479 |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
| 1480 |
# Use a double $ so make ignores it. |
| 1481 |
test "$program_suffix" != NONE && |
| 1482 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
| 1483 |
# Double any \ or $. echo might interpret backslashes. |
| 1484 |
# By default was `s,x,x', remove it if useless. |
| 1485 |
cat <<\_ACEOF >conftest.sed |
| 1486 |
s/[\\$]/&&/g;s/;s,x,x,$// |
| 1487 |
_ACEOF |
| 1488 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
| 1489 |
rm conftest.sed |
| 1490 |
|
| 1491 |
# expand $ac_aux_dir to an absolute path |
| 1492 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 1493 |
|
| 1494 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
| 1495 |
# Use eval to expand $SHELL |
| 1496 |
if eval "$MISSING --run true"; then |
| 1497 |
am_missing_run="$MISSING --run " |
| 1498 |
else |
| 1499 |
am_missing_run= |
| 1500 |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
| 1501 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 1502 |
fi |
| 1503 |
|
| 1504 |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
| 1505 |
# We used to keeping the `.' as first argument, in order to |
| 1506 |
# allow $(mkdir_p) to be used without argument. As in |
| 1507 |
# $(mkdir_p) $(somedir) |
| 1508 |
# where $(somedir) is conditionally defined. However this is wrong |
| 1509 |
# for two reasons: |
| 1510 |
# 1. if the package is installed by a user who cannot write `.' |
| 1511 |
# make install will fail, |
| 1512 |
# 2. the above comment should most certainly read |
| 1513 |
# $(mkdir_p) $(DESTDIR)$(somedir) |
| 1514 |
# so it does not work when $(somedir) is undefined and |
| 1515 |
# $(DESTDIR) is not. |
| 1516 |
# To support the latter case, we have to write |
| 1517 |
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
| 1518 |
# so the `.' trick is pointless. |
| 1519 |
mkdir_p='mkdir -p --' |
| 1520 |
else |
| 1521 |
# On NextStep and OpenStep, the `mkdir' command does not |
| 1522 |
# recognize any option. It will interpret all options as |
| 1523 |
# directories to create, and then abort because `.' already |
| 1524 |
# exists. |
| 1525 |
for d in ./-p ./--version; |
| 1526 |
do |
| 1527 |
test -d $d && rmdir $d |
| 1528 |
done |
| 1529 |
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
| 1530 |
if test -f "$ac_aux_dir/mkinstalldirs"; then |
| 1531 |
mkdir_p='$(mkinstalldirs)' |
| 1532 |
else |
| 1533 |
mkdir_p='$(install_sh) -d' |
| 1534 |
fi |
| 1535 |
fi |
| 1536 |
|
| 1537 |
for ac_prog in gawk mawk nawk awk |
| 1538 |
do |
| 1539 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1540 |
set dummy $ac_prog; ac_word=$2 |
| 1541 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1542 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1543 |
if test "${ac_cv_prog_AWK+set}" = set; then |
| 1544 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1545 |
else |
| 1546 |
if test -n "$AWK"; then |
| 1547 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 1548 |
else |
| 1549 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1550 |
for as_dir in $PATH |
| 1551 |
do |
| 1552 |
IFS=$as_save_IFS |
| 1553 |
test -z "$as_dir" && as_dir=. |
| 1554 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1555 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1556 |
ac_cv_prog_AWK="$ac_prog" |
| 1557 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1558 |
break 2 |
| 1559 |
fi |
| 1560 |
done |
| 1561 |
done |
| 1562 |
|
| 1563 |
fi |
| 1564 |
fi |
| 1565 |
AWK=$ac_cv_prog_AWK |
| 1566 |
if test -n "$AWK"; then |
| 1567 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
| 1568 |
echo "${ECHO_T}$AWK" >&6 |
| 1569 |
else |
| 1570 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1571 |
echo "${ECHO_T}no" >&6 |
| 1572 |
fi |
| 1573 |
|
| 1574 |
test -n "$AWK" && break |
| 1575 |
done |
| 1576 |
|
| 1577 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 1578 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 1579 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 1580 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 1581 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1582 |
else |
| 1583 |
cat >conftest.make <<\_ACEOF |
| 1584 |
all: |
| 1585 |
@echo 'ac_maketemp="$(MAKE)"' |
| 1586 |
_ACEOF |
| 1587 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 1588 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| 1589 |
if test -n "$ac_maketemp"; then |
| 1590 |
eval ac_cv_prog_make_${ac_make}_set=yes |
| 1591 |
else |
| 1592 |
eval ac_cv_prog_make_${ac_make}_set=no |
| 1593 |
fi |
| 1594 |
rm -f conftest.make |
| 1595 |
fi |
| 1596 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| 1597 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 1598 |
echo "${ECHO_T}yes" >&6 |
| 1599 |
SET_MAKE= |
| 1600 |
else |
| 1601 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1602 |
echo "${ECHO_T}no" >&6 |
| 1603 |
SET_MAKE="MAKE=${MAKE-make}" |
| 1604 |
fi |
| 1605 |
|
| 1606 |
rm -rf .tst 2>/dev/null |
| 1607 |
mkdir .tst 2>/dev/null |
| 1608 |
if test -d .tst; then |
| 1609 |
am__leading_dot=. |
| 1610 |
else |
| 1611 |
am__leading_dot=_ |
| 1612 |
fi |
| 1613 |
rmdir .tst 2>/dev/null |
| 1614 |
|
| 1615 |
# test to see if srcdir already configured |
| 1616 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
| 1617 |
test -f $srcdir/config.status; then |
| 1618 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
| 1619 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
| 1620 |
{ (exit 1); exit 1; }; } |
| 1621 |
fi |
| 1622 |
|
| 1623 |
# test whether we have cygpath |
| 1624 |
if test -z "$CYGPATH_W"; then |
| 1625 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
| 1626 |
CYGPATH_W='cygpath -w' |
| 1627 |
else |
| 1628 |
CYGPATH_W=echo |
| 1629 |
fi |
| 1630 |
fi |
| 1631 |
|
| 1632 |
|
| 1633 |
# Define the identity of the package. |
| 1634 |
PACKAGE=mnote |
| 1635 |
VERSION=0.9 |
| 1636 |
|
| 1637 |
|
| 1638 |
# Some tools Automake needs. |
| 1639 |
|
| 1640 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 1641 |
|
| 1642 |
|
| 1643 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 1644 |
|
| 1645 |
|
| 1646 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 1647 |
|
| 1648 |
|
| 1649 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 1650 |
|
| 1651 |
|
| 1652 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 1653 |
|
| 1654 |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
| 1655 |
|
| 1656 |
# Installed binaries are usually stripped using `strip' when the user |
| 1657 |
# run `make install-strip'. However `strip' might not be the right |
| 1658 |
# tool to use in cross-compilation environments, therefore Automake |
| 1659 |
# will honor the `STRIP' environment variable to overrule this program. |
| 1660 |
if test "$cross_compiling" != no; then |
| 1661 |
if test -n "$ac_tool_prefix"; then |
| 1662 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 1663 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 1664 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1665 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1666 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
| 1667 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1668 |
else |
| 1669 |
if test -n "$STRIP"; then |
| 1670 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 1671 |
else |
| 1672 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1673 |
for as_dir in $PATH |
| 1674 |
do |
| 1675 |
IFS=$as_save_IFS |
| 1676 |
test -z "$as_dir" && as_dir=. |
| 1677 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1678 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1679 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 1680 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1681 |
break 2 |
| 1682 |
fi |
| 1683 |
done |
| 1684 |
done |
| 1685 |
|
| 1686 |
fi |
| 1687 |
fi |
| 1688 |
STRIP=$ac_cv_prog_STRIP |
| 1689 |
if test -n "$STRIP"; then |
| 1690 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 1691 |
echo "${ECHO_T}$STRIP" >&6 |
| 1692 |
else |
| 1693 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1694 |
echo "${ECHO_T}no" >&6 |
| 1695 |
fi |
| 1696 |
|
| 1697 |
fi |
| 1698 |
if test -z "$ac_cv_prog_STRIP"; then |
| 1699 |
ac_ct_STRIP=$STRIP |
| 1700 |
# Extract the first word of "strip", so it can be a program name with args. |
| 1701 |
set dummy strip; ac_word=$2 |
| 1702 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1703 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1704 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
| 1705 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1706 |
else |
| 1707 |
if test -n "$ac_ct_STRIP"; then |
| 1708 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 1709 |
else |
| 1710 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1711 |
for as_dir in $PATH |
| 1712 |
do |
| 1713 |
IFS=$as_save_IFS |
| 1714 |
test -z "$as_dir" && as_dir=. |
| 1715 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1716 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1717 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 1718 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1719 |
break 2 |
| 1720 |
fi |
| 1721 |
done |
| 1722 |
done |
| 1723 |
|
| 1724 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
| 1725 |
fi |
| 1726 |
fi |
| 1727 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 1728 |
if test -n "$ac_ct_STRIP"; then |
| 1729 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
| 1730 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
| 1731 |
else |
| 1732 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1733 |
echo "${ECHO_T}no" >&6 |
| 1734 |
fi |
| 1735 |
|
| 1736 |
STRIP=$ac_ct_STRIP |
| 1737 |
else |
| 1738 |
STRIP="$ac_cv_prog_STRIP" |
| 1739 |
fi |
| 1740 |
|
| 1741 |
fi |
| 1742 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
| 1743 |
|
| 1744 |
# We need awk for the "check" target. The system "awk" is bad on |
| 1745 |
# some platforms. |
| 1746 |
# Always define AMTAR for backward compatibility. |
| 1747 |
|
| 1748 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 1749 |
|
| 1750 |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
| 1751 |
|
| 1752 |
|
| 1753 |
|
| 1754 |
|
| 1755 |
|
| 1756 |
ac_config_headers="$ac_config_headers config.h" |
| 1757 |
|
| 1758 |
|
| 1759 |
# Make sure we can run config.sub. |
| 1760 |
$ac_config_sub sun4 >/dev/null 2>&1 || |
| 1761 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| 1762 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
| 1763 |
{ (exit 1); exit 1; }; } |
| 1764 |
|
| 1765 |
echo "$as_me:$LINENO: checking build system type" >&5 |
| 1766 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
| 1767 |
if test "${ac_cv_build+set}" = set; then |
| 1768 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1769 |
else |
| 1770 |
ac_cv_build_alias=$build_alias |
| 1771 |
test -z "$ac_cv_build_alias" && |
| 1772 |
ac_cv_build_alias=`$ac_config_guess` |
| 1773 |
test -z "$ac_cv_build_alias" && |
| 1774 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1775 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1776 |
{ (exit 1); exit 1; }; } |
| 1777 |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
| 1778 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
| 1779 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
| 1780 |
{ (exit 1); exit 1; }; } |
| 1781 |
|
| 1782 |
fi |
| 1783 |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1784 |
echo "${ECHO_T}$ac_cv_build" >&6 |
| 1785 |
build=$ac_cv_build |
| 1786 |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1787 |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1788 |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1789 |
|
| 1790 |
|
| 1791 |
echo "$as_me:$LINENO: checking host system type" >&5 |
| 1792 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
| 1793 |
if test "${ac_cv_host+set}" = set; then |
| 1794 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1795 |
else |
| 1796 |
ac_cv_host_alias=$host_alias |
| 1797 |
test -z "$ac_cv_host_alias" && |
| 1798 |
ac_cv_host_alias=$ac_cv_build_alias |
| 1799 |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
| 1800 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
| 1801 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
| 1802 |
{ (exit 1); exit 1; }; } |
| 1803 |
|
| 1804 |
fi |
| 1805 |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1806 |
echo "${ECHO_T}$ac_cv_host" >&6 |
| 1807 |
host=$ac_cv_host |
| 1808 |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1809 |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1810 |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1811 |
|
| 1812 |
|
| 1813 |
|
| 1814 |
|
| 1815 |
if echo "$host_os" | grep -i darwin; then |
| 1816 |
IS_DARWIN_TRUE= |
| 1817 |
IS_DARWIN_FALSE='#' |
| 1818 |
else |
| 1819 |
IS_DARWIN_TRUE='#' |
| 1820 |
IS_DARWIN_FALSE= |
| 1821 |
fi |
| 1822 |
|
| 1823 |
|
| 1824 |
|
| 1825 |
if echo "$host_os" | grep -i mingw; then |
| 1826 |
IS_MINGW_TRUE= |
| 1827 |
IS_MINGW_FALSE='#' |
| 1828 |
else |
| 1829 |
IS_MINGW_TRUE='#' |
| 1830 |
IS_MINGW_FALSE= |
| 1831 |
fi |
| 1832 |
|
| 1833 |
|
| 1834 |
# Checks for programs. |
| 1835 |
ac_ext=cc |
| 1836 |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 1837 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1838 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1839 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 1840 |
if test -n "$ac_tool_prefix"; then |
| 1841 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 1842 |
do |
| 1843 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1844 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1845 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1846 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1847 |
if test "${ac_cv_prog_CXX+set}" = set; then |
| 1848 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1849 |
else |
| 1850 |
if test -n "$CXX"; then |
| 1851 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 1852 |
else |
| 1853 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1854 |
for as_dir in $PATH |
| 1855 |
do |
| 1856 |
IFS=$as_save_IFS |
| 1857 |
test -z "$as_dir" && as_dir=. |
| 1858 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1859 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1860 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 1861 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1862 |
break 2 |
| 1863 |
fi |
| 1864 |
done |
| 1865 |
done |
| 1866 |
|
| 1867 |
fi |
| 1868 |
fi |
| 1869 |
CXX=$ac_cv_prog_CXX |
| 1870 |
if test -n "$CXX"; then |
| 1871 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
| 1872 |
echo "${ECHO_T}$CXX" >&6 |
| 1873 |
else |
| 1874 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1875 |
echo "${ECHO_T}no" >&6 |
| 1876 |
fi |
| 1877 |
|
| 1878 |
test -n "$CXX" && break |
| 1879 |
done |
| 1880 |
fi |
| 1881 |
if test -z "$CXX"; then |
| 1882 |
ac_ct_CXX=$CXX |
| 1883 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 1884 |
do |
| 1885 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1886 |
set dummy $ac_prog; ac_word=$2 |
| 1887 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1888 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1889 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 1890 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1891 |
else |
| 1892 |
if test -n "$ac_ct_CXX"; then |
| 1893 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 1894 |
else |
| 1895 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1896 |
for as_dir in $PATH |
| 1897 |
do |
| 1898 |
IFS=$as_save_IFS |
| 1899 |
test -z "$as_dir" && as_dir=. |
| 1900 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1901 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1902 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 1903 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1904 |
break 2 |
| 1905 |
fi |
| 1906 |
done |
| 1907 |
done |
| 1908 |
|
| 1909 |
fi |
| 1910 |
fi |
| 1911 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 1912 |
if test -n "$ac_ct_CXX"; then |
| 1913 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 1914 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
| 1915 |
else |
| 1916 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1917 |
echo "${ECHO_T}no" >&6 |
| 1918 |
fi |
| 1919 |
|
| 1920 |
test -n "$ac_ct_CXX" && break |
| 1921 |
done |
| 1922 |
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
| 1923 |
|
| 1924 |
CXX=$ac_ct_CXX |
| 1925 |
fi |
| 1926 |
|
| 1927 |
|
| 1928 |
# Provide some information about the compiler. |
| 1929 |
echo "$as_me:$LINENO:" \ |
| 1930 |
"checking for C++ compiler version" >&5 |
| 1931 |
ac_compiler=`set X $ac_compile; echo $2` |
| 1932 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 1933 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 1934 |
ac_status=$? |
| 1935 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1936 |
(exit $ac_status); } |
| 1937 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 1938 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 1939 |
ac_status=$? |
| 1940 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1941 |
(exit $ac_status); } |
| 1942 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 1943 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 1944 |
ac_status=$? |
| 1945 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1946 |
(exit $ac_status); } |
| 1947 |
|
| 1948 |
cat >conftest.$ac_ext <<_ACEOF |
| 1949 |
/* confdefs.h. */ |
| 1950 |
_ACEOF |
| 1951 |
cat confdefs.h >>conftest.$ac_ext |
| 1952 |
cat >>conftest.$ac_ext <<_ACEOF |
| 1953 |
/* end confdefs.h. */ |
| 1954 |
|
| 1955 |
int |
| 1956 |
main () |
| 1957 |
{ |
| 1958 |
|
| 1959 |
; |
| 1960 |
return 0; |
| 1961 |
} |
| 1962 |
_ACEOF |
| 1963 |
ac_clean_files_save=$ac_clean_files |
| 1964 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 1965 |
# Try to create an executable without -o first, disregard a.out. |
| 1966 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 1967 |
# of exeext. |
| 1968 |
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
| 1969 |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 |
| 1970 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 1971 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 1972 |
(eval $ac_link_default) 2>&5 |
| 1973 |
ac_status=$? |
| 1974 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1975 |
(exit $ac_status); }; then |
| 1976 |
# Find the output, starting from the most likely. This scheme is |
| 1977 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 1978 |
# resort. |
| 1979 |
|
| 1980 |
# Be careful to initialize this variable, since it used to be cached. |
| 1981 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 1982 |
ac_cv_exeext= |
| 1983 |
# b.out is created by i960 compilers. |
| 1984 |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 1985 |
do |
| 1986 |
test -f "$ac_file" || continue |
| 1987 |
case $ac_file in |
| 1988 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 1989 |
;; |
| 1990 |
conftest.$ac_ext ) |
| 1991 |
# This is the source file. |
| 1992 |
;; |
| 1993 |
[ab].out ) |
| 1994 |
# We found the default executable, but exeext='' is most |
| 1995 |
# certainly right. |
| 1996 |
break;; |
| 1997 |
*.* ) |
| 1998 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1999 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2000 |
# but it would be cool to find out if it's true. Does anybody |
| 2001 |
# maintain Libtool? --akim. |
| 2002 |
export ac_cv_exeext |
| 2003 |
break;; |
| 2004 |
* ) |
| 2005 |
break;; |
| 2006 |
esac |
| 2007 |
done |
| 2008 |
else |
| 2009 |
echo "$as_me: failed program was:" >&5 |
| 2010 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2011 |
|
| 2012 |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
| 2013 |
See \`config.log' for more details." >&5 |
| 2014 |
echo "$as_me: error: C++ compiler cannot create executables |
| 2015 |
See \`config.log' for more details." >&2;} |
| 2016 |
{ (exit 77); exit 77; }; } |
| 2017 |
fi |
| 2018 |
|
| 2019 |
ac_exeext=$ac_cv_exeext |
| 2020 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2021 |
echo "${ECHO_T}$ac_file" >&6 |
| 2022 |
|
| 2023 |
# Check the compiler produces executables we can run. If not, either |
| 2024 |
# the compiler is broken, or we cross compile. |
| 2025 |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
| 2026 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
| 2027 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2028 |
# If not cross compiling, check that we can run a simple program. |
| 2029 |
if test "$cross_compiling" != yes; then |
| 2030 |
if { ac_try='./$ac_file' |
| 2031 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2032 |
(eval $ac_try) 2>&5 |
| 2033 |
ac_status=$? |
| 2034 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2035 |
(exit $ac_status); }; }; then |
| 2036 |
cross_compiling=no |
| 2037 |
else |
| 2038 |
if test "$cross_compiling" = maybe; then |
| 2039 |
cross_compiling=yes |
| 2040 |
else |
| 2041 |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
| 2042 |
If you meant to cross compile, use \`--host'. |
| 2043 |
See \`config.log' for more details." >&5 |
| 2044 |
echo "$as_me: error: cannot run C++ compiled programs. |
| 2045 |
If you meant to cross compile, use \`--host'. |
| 2046 |
See \`config.log' for more details." >&2;} |
| 2047 |
{ (exit 1); exit 1; }; } |
| 2048 |
fi |
| 2049 |
fi |
| 2050 |
fi |
| 2051 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 2052 |
echo "${ECHO_T}yes" >&6 |
| 2053 |
|
| 2054 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2055 |
ac_clean_files=$ac_clean_files_save |
| 2056 |
# Check the compiler produces executables we can run. If not, either |
| 2057 |
# the compiler is broken, or we cross compile. |
| 2058 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2059 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 2060 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2061 |
echo "${ECHO_T}$cross_compiling" >&6 |
| 2062 |
|
| 2063 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2064 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 2065 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2066 |
(eval $ac_link) 2>&5 |
| 2067 |
ac_status=$? |
| 2068 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2069 |
(exit $ac_status); }; then |
| 2070 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 2071 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2072 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2073 |
# `rm'. |
| 2074 |
for ac_file in conftest.exe conftest conftest.*; do |
| 2075 |
test -f "$ac_file" || continue |
| 2076 |
case $ac_file in |
| 2077 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2078 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2079 |
export ac_cv_exeext |
| 2080 |
break;; |
| 2081 |
* ) break;; |
| 2082 |
esac |
| 2083 |
done |
| 2084 |
else |
| 2085 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 2086 |
See \`config.log' for more details." >&5 |
| 2087 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 2088 |
See \`config.log' for more details." >&2;} |
| 2089 |
{ (exit 1); exit 1; }; } |
| 2090 |
fi |
| 2091 |
|
| 2092 |
rm -f conftest$ac_cv_exeext |
| 2093 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2094 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 2095 |
|
| 2096 |
rm -f conftest.$ac_ext |
| 2097 |
EXEEXT=$ac_cv_exeext |
| 2098 |
ac_exeext=$EXEEXT |
| 2099 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2100 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 2101 |
if test "${ac_cv_objext+set}" = set; then |
| 2102 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2103 |
else |
| 2104 |
cat >conftest.$ac_ext <<_ACEOF |
| 2105 |
/* confdefs.h. */ |
| 2106 |
_ACEOF |
| 2107 |
cat confdefs.h >>conftest.$ac_ext |
| 2108 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2109 |
/* end confdefs.h. */ |
| 2110 |
|
| 2111 |
int |
| 2112 |
main () |
| 2113 |
{ |
| 2114 |
|
| 2115 |
; |
| 2116 |
return 0; |
| 2117 |
} |
| 2118 |
_ACEOF |
| 2119 |
rm -f conftest.o conftest.obj |
| 2120 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2121 |
(eval $ac_compile) 2>&5 |
| 2122 |
ac_status=$? |
| 2123 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2124 |
(exit $ac_status); }; then |
| 2125 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2126 |
case $ac_file in |
| 2127 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2128 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2129 |
break;; |
| 2130 |
esac |
| 2131 |
done |
| 2132 |
else |
| 2133 |
echo "$as_me: failed program was:" >&5 |
| 2134 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2135 |
|
| 2136 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 2137 |
See \`config.log' for more details." >&5 |
| 2138 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 2139 |
See \`config.log' for more details." >&2;} |
| 2140 |
{ (exit 1); exit 1; }; } |
| 2141 |
fi |
| 2142 |
|
| 2143 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2144 |
fi |
| 2145 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2146 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2147 |
OBJEXT=$ac_cv_objext |
| 2148 |
ac_objext=$OBJEXT |
| 2149 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 2150 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 2151 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 2152 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2153 |
else |
| 2154 |
cat >conftest.$ac_ext <<_ACEOF |
| 2155 |
/* confdefs.h. */ |
| 2156 |
_ACEOF |
| 2157 |
cat confdefs.h >>conftest.$ac_ext |
| 2158 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2159 |
/* end confdefs.h. */ |
| 2160 |
|
| 2161 |
int |
| 2162 |
main () |
| 2163 |
{ |
| 2164 |
#ifndef __GNUC__ |
| 2165 |
choke me |
| 2166 |
#endif |
| 2167 |
|
| 2168 |
; |
| 2169 |
return 0; |
| 2170 |
} |
| 2171 |
_ACEOF |
| 2172 |
rm -f conftest.$ac_objext |
| 2173 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2174 |
(eval $ac_compile) 2>conftest.er1 |
| 2175 |
ac_status=$? |
| 2176 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2177 |
rm -f conftest.er1 |
| 2178 |
cat conftest.err >&5 |
| 2179 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2180 |
(exit $ac_status); } && |
| 2181 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2182 |
|| test ! -s conftest.err' |
| 2183 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2184 |
(eval $ac_try) 2>&5 |
| 2185 |
ac_status=$? |
| 2186 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2187 |
(exit $ac_status); }; } && |
| 2188 |
{ ac_try='test -s conftest.$ac_objext' |
| 2189 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2190 |
(eval $ac_try) 2>&5 |
| 2191 |
ac_status=$? |
| 2192 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2193 |
(exit $ac_status); }; }; then |
| 2194 |
ac_compiler_gnu=yes |
| 2195 |
else |
| 2196 |
echo "$as_me: failed program was:" >&5 |
| 2197 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2198 |
|
| 2199 |
ac_compiler_gnu=no |
| 2200 |
fi |
| 2201 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2202 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2203 |
|
| 2204 |
fi |
| 2205 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 2206 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| 2207 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 2208 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 2209 |
ac_save_CXXFLAGS=$CXXFLAGS |
| 2210 |
CXXFLAGS="-g" |
| 2211 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 2212 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| 2213 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 2214 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2215 |
else |
| 2216 |
cat >conftest.$ac_ext <<_ACEOF |
| 2217 |
/* confdefs.h. */ |
| 2218 |
_ACEOF |
| 2219 |
cat confdefs.h >>conftest.$ac_ext |
| 2220 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2221 |
/* end confdefs.h. */ |
| 2222 |
|
| 2223 |
int |
| 2224 |
main () |
| 2225 |
{ |
| 2226 |
|
| 2227 |
; |
| 2228 |
return 0; |
| 2229 |
} |
| 2230 |
_ACEOF |
| 2231 |
rm -f conftest.$ac_objext |
| 2232 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2233 |
(eval $ac_compile) 2>conftest.er1 |
| 2234 |
ac_status=$? |
| 2235 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2236 |
rm -f conftest.er1 |
| 2237 |
cat conftest.err >&5 |
| 2238 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2239 |
(exit $ac_status); } && |
| 2240 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2241 |
|| test ! -s conftest.err' |
| 2242 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2243 |
(eval $ac_try) 2>&5 |
| 2244 |
ac_status=$? |
| 2245 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2246 |
(exit $ac_status); }; } && |
| 2247 |
{ ac_try='test -s conftest.$ac_objext' |
| 2248 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2249 |
(eval $ac_try) 2>&5 |
| 2250 |
ac_status=$? |
| 2251 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2252 |
(exit $ac_status); }; }; then |
| 2253 |
ac_cv_prog_cxx_g=yes |
| 2254 |
else |
| 2255 |
echo "$as_me: failed program was:" >&5 |
| 2256 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2257 |
|
| 2258 |
ac_cv_prog_cxx_g=no |
| 2259 |
fi |
| 2260 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2261 |
fi |
| 2262 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2263 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2264 |
if test "$ac_test_CXXFLAGS" = set; then |
| 2265 |
CXXFLAGS=$ac_save_CXXFLAGS |
| 2266 |
elif test $ac_cv_prog_cxx_g = yes; then |
| 2267 |
if test "$GXX" = yes; then |
| 2268 |
CXXFLAGS="-g -O2" |
| 2269 |
else |
| 2270 |
CXXFLAGS="-g" |
| 2271 |
fi |
| 2272 |
else |
| 2273 |
if test "$GXX" = yes; then |
| 2274 |
CXXFLAGS="-O2" |
| 2275 |
else |
| 2276 |
CXXFLAGS= |
| 2277 |
fi |
| 2278 |
fi |
| 2279 |
for ac_declaration in \ |
| 2280 |
'' \ |
| 2281 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2282 |
'extern "C" void std::exit (int); using std::exit;' \ |
| 2283 |
'extern "C" void exit (int) throw ();' \ |
| 2284 |
'extern "C" void exit (int);' \ |
| 2285 |
'void exit (int);' |
| 2286 |
do |
| 2287 |
cat >conftest.$ac_ext <<_ACEOF |
| 2288 |
/* confdefs.h. */ |
| 2289 |
_ACEOF |
| 2290 |
cat confdefs.h >>conftest.$ac_ext |
| 2291 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2292 |
/* end confdefs.h. */ |
| 2293 |
$ac_declaration |
| 2294 |
@%:@include <stdlib.h> |
| 2295 |
int |
| 2296 |
main () |
| 2297 |
{ |
| 2298 |
exit (42); |
| 2299 |
; |
| 2300 |
return 0; |
| 2301 |
} |
| 2302 |
_ACEOF |
| 2303 |
rm -f conftest.$ac_objext |
| 2304 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2305 |
(eval $ac_compile) 2>conftest.er1 |
| 2306 |
ac_status=$? |
| 2307 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2308 |
rm -f conftest.er1 |
| 2309 |
cat conftest.err >&5 |
| 2310 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2311 |
(exit $ac_status); } && |
| 2312 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2313 |
|| test ! -s conftest.err' |
| 2314 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2315 |
(eval $ac_try) 2>&5 |
| 2316 |
ac_status=$? |
| 2317 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2318 |
(exit $ac_status); }; } && |
| 2319 |
{ ac_try='test -s conftest.$ac_objext' |
| 2320 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2321 |
(eval $ac_try) 2>&5 |
| 2322 |
ac_status=$? |
| 2323 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2324 |
(exit $ac_status); }; }; then |
| 2325 |
: |
| 2326 |
else |
| 2327 |
echo "$as_me: failed program was:" >&5 |
| 2328 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2329 |
|
| 2330 |
continue |
| 2331 |
fi |
| 2332 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2333 |
cat >conftest.$ac_ext <<_ACEOF |
| 2334 |
/* confdefs.h. */ |
| 2335 |
_ACEOF |
| 2336 |
cat confdefs.h >>conftest.$ac_ext |
| 2337 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2338 |
/* end confdefs.h. */ |
| 2339 |
$ac_declaration |
| 2340 |
int |
| 2341 |
main () |
| 2342 |
{ |
| 2343 |
exit (42); |
| 2344 |
; |
| 2345 |
return 0; |
| 2346 |
} |
| 2347 |
_ACEOF |
| 2348 |
rm -f conftest.$ac_objext |
| 2349 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2350 |
(eval $ac_compile) 2>conftest.er1 |
| 2351 |
ac_status=$? |
| 2352 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2353 |
rm -f conftest.er1 |
| 2354 |
cat conftest.err >&5 |
| 2355 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2356 |
(exit $ac_status); } && |
| 2357 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2358 |
|| test ! -s conftest.err' |
| 2359 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2360 |
(eval $ac_try) 2>&5 |
| 2361 |
ac_status=$? |
| 2362 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2363 |
(exit $ac_status); }; } && |
| 2364 |
{ ac_try='test -s conftest.$ac_objext' |
| 2365 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2366 |
(eval $ac_try) 2>&5 |
| 2367 |
ac_status=$? |
| 2368 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2369 |
(exit $ac_status); }; }; then |
| 2370 |
break |
| 2371 |
else |
| 2372 |
echo "$as_me: failed program was:" >&5 |
| 2373 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2374 |
|
| 2375 |
fi |
| 2376 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2377 |
done |
| 2378 |
rm -f conftest* |
| 2379 |
if test -n "$ac_declaration"; then |
| 2380 |
echo '#ifdef __cplusplus' >>confdefs.h |
| 2381 |
echo $ac_declaration >>confdefs.h |
| 2382 |
echo '#endif' >>confdefs.h |
| 2383 |
fi |
| 2384 |
|
| 2385 |
ac_ext=c |
| 2386 |
ac_cpp='$CPP $CPPFLAGS' |
| 2387 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2388 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2389 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2390 |
DEPDIR="${am__leading_dot}deps" |
| 2391 |
|
| 2392 |
ac_config_commands="$ac_config_commands depfiles" |
| 2393 |
|
| 2394 |
|
| 2395 |
am_make=${MAKE-make} |
| 2396 |
cat > confinc << 'END' |
| 2397 |
am__doit: |
| 2398 |
@echo done |
| 2399 |
.PHONY: am__doit |
| 2400 |
END |
| 2401 |
# If we don't find an include directive, just comment out the code. |
| 2402 |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
| 2403 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
| 2404 |
am__include="#" |
| 2405 |
am__quote= |
| 2406 |
_am_result=none |
| 2407 |
# First try GNU make style include. |
| 2408 |
echo "include confinc" > confmf |
| 2409 |
# We grep out `Entering directory' and `Leaving directory' |
| 2410 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
| 2411 |
# In particular we don't look at `^make:' because GNU make might |
| 2412 |
# be invoked under some other name (usually "gmake"), in which |
| 2413 |
# case it prints its new name instead of `make'. |
| 2414 |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
| 2415 |
am__include=include |
| 2416 |
am__quote= |
| 2417 |
_am_result=GNU |
| 2418 |
fi |
| 2419 |
# Now try BSD make style include. |
| 2420 |
if test "$am__include" = "#"; then |
| 2421 |
echo '.include "confinc"' > confmf |
| 2422 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
| 2423 |
am__include=.include |
| 2424 |
am__quote="\"" |
| 2425 |
_am_result=BSD |
| 2426 |
fi |
| 2427 |
fi |
| 2428 |
|
| 2429 |
|
| 2430 |
echo "$as_me:$LINENO: result: $_am_result" >&5 |
| 2431 |
echo "${ECHO_T}$_am_result" >&6 |
| 2432 |
rm -f confinc confmf |
| 2433 |
|
| 2434 |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
| 2435 |
if test "${enable_dependency_tracking+set}" = set; then |
| 2436 |
enableval="$enable_dependency_tracking" |
| 2437 |
|
| 2438 |
fi; |
| 2439 |
if test "x$enable_dependency_tracking" != xno; then |
| 2440 |
am_depcomp="$ac_aux_dir/depcomp" |
| 2441 |
AMDEPBACKSLASH='\' |
| 2442 |
fi |
| 2443 |
|
| 2444 |
|
| 2445 |
if test "x$enable_dependency_tracking" != xno; then |
| 2446 |
AMDEP_TRUE= |
| 2447 |
AMDEP_FALSE='#' |
| 2448 |
else |
| 2449 |
AMDEP_TRUE='#' |
| 2450 |
AMDEP_FALSE= |
| 2451 |
fi |
| 2452 |
|
| 2453 |
|
| 2454 |
|
| 2455 |
|
| 2456 |
depcc="$CXX" am_compiler_list= |
| 2457 |
|
| 2458 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 2459 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 2460 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
| 2461 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2462 |
else |
| 2463 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 2464 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 2465 |
# making bogus files that we don't know about and never remove. For |
| 2466 |
# instance it was reported that on HP-UX the gcc test will end up |
| 2467 |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 2468 |
# in D'. |
| 2469 |
mkdir conftest.dir |
| 2470 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 2471 |
# using a relative directory. |
| 2472 |
cp "$am_depcomp" conftest.dir |
| 2473 |
cd conftest.dir |
| 2474 |
# We will build objects and dependencies in a subdirectory because |
| 2475 |
# it helps to detect inapplicable dependency modes. For instance |
| 2476 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 2477 |
# side effect of compilation, but ICC will put the dependencies in |
| 2478 |
# the current directory while Tru64 will put them in the object |
| 2479 |
# directory. |
| 2480 |
mkdir sub |
| 2481 |
|
| 2482 |
am_cv_CXX_dependencies_compiler_type=none |
| 2483 |
if test "$am_compiler_list" = ""; then |
| 2484 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 2485 |
fi |
| 2486 |
for depmode in $am_compiler_list; do |
| 2487 |
# Setup a source with many dependencies, because some compilers |
| 2488 |
# like to wrap large dependency lists on column 80 (with \), and |
| 2489 |
# we should not choose a depcomp mode which is confused by this. |
| 2490 |
# |
| 2491 |
# We need to recreate these files for each test, as the compiler may |
| 2492 |
# overwrite some of them when testing with obscure command lines. |
| 2493 |
# This happens at least with the AIX C compiler. |
| 2494 |
: > sub/conftest.c |
| 2495 |
for i in 1 2 3 4 5 6; do |
| 2496 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 2497 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 2498 |
# Solaris 8's {/usr,}/bin/sh. |
| 2499 |
touch sub/conftst$i.h |
| 2500 |
done |
| 2501 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 2502 |
|
| 2503 |
case $depmode in |
| 2504 |
nosideeffect) |
| 2505 |
# after this tag, mechanisms are not by side-effect, so they'll |
| 2506 |
# only be used when explicitly requested |
| 2507 |
if test "x$enable_dependency_tracking" = xyes; then |
| 2508 |
continue |
| 2509 |
else |
| 2510 |
break |
| 2511 |
fi |
| 2512 |
;; |
| 2513 |
none) break ;; |
| 2514 |
esac |
| 2515 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 2516 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 2517 |
# handle `-M -o', and we need to detect this. |
| 2518 |
if depmode=$depmode \ |
| 2519 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| 2520 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 2521 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 2522 |
>/dev/null 2>conftest.err && |
| 2523 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 2524 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 2525 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 2526 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 2527 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 2528 |
# that says an option was ignored or not supported. |
| 2529 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 2530 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 2531 |
# The diagnosis changed in icc 8.0: |
| 2532 |
# icc: Command line remark: option '-MP' not supported |
| 2533 |
if (grep 'ignoring option' conftest.err || |
| 2534 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 2535 |
am_cv_CXX_dependencies_compiler_type=$depmode |
| 2536 |
break |
| 2537 |
fi |
| 2538 |
fi |
| 2539 |
done |
| 2540 |
|
| 2541 |
cd .. |
| 2542 |
rm -rf conftest.dir |
| 2543 |
else |
| 2544 |
am_cv_CXX_dependencies_compiler_type=none |
| 2545 |
fi |
| 2546 |
|
| 2547 |
fi |
| 2548 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| 2549 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
| 2550 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| 2551 |
|
| 2552 |
|
| 2553 |
|
| 2554 |
if |
| 2555 |
test "x$enable_dependency_tracking" != xno \ |
| 2556 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
| 2557 |
am__fastdepCXX_TRUE= |
| 2558 |
am__fastdepCXX_FALSE='#' |
| 2559 |
else |
| 2560 |
am__fastdepCXX_TRUE='#' |
| 2561 |
am__fastdepCXX_FALSE= |
| 2562 |
fi |
| 2563 |
|
| 2564 |
|
| 2565 |
ac_ext=c |
| 2566 |
ac_cpp='$CPP $CPPFLAGS' |
| 2567 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2568 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2569 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2570 |
if test -n "$ac_tool_prefix"; then |
| 2571 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 2572 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 2573 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2574 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2575 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2576 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2577 |
else |
| 2578 |
if test -n "$CC"; then |
| 2579 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2580 |
else |
| 2581 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2582 |
for as_dir in $PATH |
| 2583 |
do |
| 2584 |
IFS=$as_save_IFS |
| 2585 |
test -z "$as_dir" && as_dir=. |
| 2586 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2587 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2588 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2589 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2590 |
break 2 |
| 2591 |
fi |
| 2592 |
done |
| 2593 |
done |
| 2594 |
|
| 2595 |
fi |
| 2596 |
fi |
| 2597 |
CC=$ac_cv_prog_CC |
| 2598 |
if test -n "$CC"; then |
| 2599 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2600 |
echo "${ECHO_T}$CC" >&6 |
| 2601 |
else |
| 2602 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2603 |
echo "${ECHO_T}no" >&6 |
| 2604 |
fi |
| 2605 |
|
| 2606 |
fi |
| 2607 |
if test -z "$ac_cv_prog_CC"; then |
| 2608 |
ac_ct_CC=$CC |
| 2609 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 2610 |
set dummy gcc; ac_word=$2 |
| 2611 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2612 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2613 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2614 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2615 |
else |
| 2616 |
if test -n "$ac_ct_CC"; then |
| 2617 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2618 |
else |
| 2619 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2620 |
for as_dir in $PATH |
| 2621 |
do |
| 2622 |
IFS=$as_save_IFS |
| 2623 |
test -z "$as_dir" && as_dir=. |
| 2624 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2625 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2626 |
ac_cv_prog_ac_ct_CC="gcc" |
| 2627 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2628 |
break 2 |
| 2629 |
fi |
| 2630 |
done |
| 2631 |
done |
| 2632 |
|
| 2633 |
fi |
| 2634 |
fi |
| 2635 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2636 |
if test -n "$ac_ct_CC"; then |
| 2637 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2638 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2639 |
else |
| 2640 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2641 |
echo "${ECHO_T}no" >&6 |
| 2642 |
fi |
| 2643 |
|
| 2644 |
CC=$ac_ct_CC |
| 2645 |
else |
| 2646 |
CC="$ac_cv_prog_CC" |
| 2647 |
fi |
| 2648 |
|
| 2649 |
if test -z "$CC"; then |
| 2650 |
if test -n "$ac_tool_prefix"; then |
| 2651 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2652 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2653 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2654 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2655 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2656 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2657 |
else |
| 2658 |
if test -n "$CC"; then |
| 2659 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2660 |
else |
| 2661 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2662 |
for as_dir in $PATH |
| 2663 |
do |
| 2664 |
IFS=$as_save_IFS |
| 2665 |
test -z "$as_dir" && as_dir=. |
| 2666 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2667 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2668 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2669 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2670 |
break 2 |
| 2671 |
fi |
| 2672 |
done |
| 2673 |
done |
| 2674 |
|
| 2675 |
fi |
| 2676 |
fi |
| 2677 |
CC=$ac_cv_prog_CC |
| 2678 |
if test -n "$CC"; then |
| 2679 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2680 |
echo "${ECHO_T}$CC" >&6 |
| 2681 |
else |
| 2682 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2683 |
echo "${ECHO_T}no" >&6 |
| 2684 |
fi |
| 2685 |
|
| 2686 |
fi |
| 2687 |
if test -z "$ac_cv_prog_CC"; then |
| 2688 |
ac_ct_CC=$CC |
| 2689 |
# Extract the first word of "cc", so it can be a program name with args. |
| 2690 |
set dummy cc; ac_word=$2 |
| 2691 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2692 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2693 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2694 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2695 |
else |
| 2696 |
if test -n "$ac_ct_CC"; then |
| 2697 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2698 |
else |
| 2699 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2700 |
for as_dir in $PATH |
| 2701 |
do |
| 2702 |
IFS=$as_save_IFS |
| 2703 |
test -z "$as_dir" && as_dir=. |
| 2704 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2705 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2706 |
ac_cv_prog_ac_ct_CC="cc" |
| 2707 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2708 |
break 2 |
| 2709 |
fi |
| 2710 |
done |
| 2711 |
done |
| 2712 |
|
| 2713 |
fi |
| 2714 |
fi |
| 2715 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2716 |
if test -n "$ac_ct_CC"; then |
| 2717 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2718 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2719 |
else |
| 2720 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2721 |
echo "${ECHO_T}no" >&6 |
| 2722 |
fi |
| 2723 |
|
| 2724 |
CC=$ac_ct_CC |
| 2725 |
else |
| 2726 |
CC="$ac_cv_prog_CC" |
| 2727 |
fi |
| 2728 |
|
| 2729 |
fi |
| 2730 |
if test -z "$CC"; then |
| 2731 |
# Extract the first word of "cc", so it can be a program name with args. |
| 2732 |
set dummy cc; ac_word=$2 |
| 2733 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2734 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2735 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2736 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2737 |
else |
| 2738 |
if test -n "$CC"; then |
| 2739 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2740 |
else |
| 2741 |
ac_prog_rejected=no |
| 2742 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2743 |
for as_dir in $PATH |
| 2744 |
do |
| 2745 |
IFS=$as_save_IFS |
| 2746 |
test -z "$as_dir" && as_dir=. |
| 2747 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2748 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2749 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2750 |
ac_prog_rejected=yes |
| 2751 |
continue |
| 2752 |
fi |
| 2753 |
ac_cv_prog_CC="cc" |
| 2754 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2755 |
break 2 |
| 2756 |
fi |
| 2757 |
done |
| 2758 |
done |
| 2759 |
|
| 2760 |
if test $ac_prog_rejected = yes; then |
| 2761 |
# We found a bogon in the path, so make sure we never use it. |
| 2762 |
set dummy $ac_cv_prog_CC |
| 2763 |
shift |
| 2764 |
if test $@%:@ != 0; then |
| 2765 |
# We chose a different compiler from the bogus one. |
| 2766 |
# However, it has the same basename, so the bogon will be chosen |
| 2767 |
# first if we set CC to just the basename; use the full file name. |
| 2768 |
shift |
| 2769 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2770 |
fi |
| 2771 |
fi |
| 2772 |
fi |
| 2773 |
fi |
| 2774 |
CC=$ac_cv_prog_CC |
| 2775 |
if test -n "$CC"; then |
| 2776 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2777 |
echo "${ECHO_T}$CC" >&6 |
| 2778 |
else |
| 2779 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2780 |
echo "${ECHO_T}no" >&6 |
| 2781 |
fi |
| 2782 |
|
| 2783 |
fi |
| 2784 |
if test -z "$CC"; then |
| 2785 |
if test -n "$ac_tool_prefix"; then |
| 2786 |
for ac_prog in cl |
| 2787 |
do |
| 2788 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2789 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2790 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2791 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2792 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2793 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2794 |
else |
| 2795 |
if test -n "$CC"; then |
| 2796 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2797 |
else |
| 2798 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2799 |
for as_dir in $PATH |
| 2800 |
do |
| 2801 |
IFS=$as_save_IFS |
| 2802 |
test -z "$as_dir" && as_dir=. |
| 2803 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2804 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2805 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2806 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2807 |
break 2 |
| 2808 |
fi |
| 2809 |
done |
| 2810 |
done |
| 2811 |
|
| 2812 |
fi |
| 2813 |
fi |
| 2814 |
CC=$ac_cv_prog_CC |
| 2815 |
if test -n "$CC"; then |
| 2816 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2817 |
echo "${ECHO_T}$CC" >&6 |
| 2818 |
else |
| 2819 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2820 |
echo "${ECHO_T}no" >&6 |
| 2821 |
fi |
| 2822 |
|
| 2823 |
test -n "$CC" && break |
| 2824 |
done |
| 2825 |
fi |
| 2826 |
if test -z "$CC"; then |
| 2827 |
ac_ct_CC=$CC |
| 2828 |
for ac_prog in cl |
| 2829 |
do |
| 2830 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2831 |
set dummy $ac_prog; ac_word=$2 |
| 2832 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2833 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2834 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2835 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2836 |
else |
| 2837 |
if test -n "$ac_ct_CC"; then |
| 2838 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2839 |
else |
| 2840 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2841 |
for as_dir in $PATH |
| 2842 |
do |
| 2843 |
IFS=$as_save_IFS |
| 2844 |
test -z "$as_dir" && as_dir=. |
| 2845 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2846 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2847 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2848 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2849 |
break 2 |
| 2850 |
fi |
| 2851 |
done |
| 2852 |
done |
| 2853 |
|
| 2854 |
fi |
| 2855 |
fi |
| 2856 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2857 |
if test -n "$ac_ct_CC"; then |
| 2858 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2859 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2860 |
else |
| 2861 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2862 |
echo "${ECHO_T}no" >&6 |
| 2863 |
fi |
| 2864 |
|
| 2865 |
test -n "$ac_ct_CC" && break |
| 2866 |
done |
| 2867 |
|
| 2868 |
CC=$ac_ct_CC |
| 2869 |
fi |
| 2870 |
|
| 2871 |
fi |
| 2872 |
|
| 2873 |
|
| 2874 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 2875 |
See \`config.log' for more details." >&5 |
| 2876 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 2877 |
See \`config.log' for more details." >&2;} |
| 2878 |
{ (exit 1); exit 1; }; } |
| 2879 |
|
| 2880 |
# Provide some information about the compiler. |
| 2881 |
echo "$as_me:$LINENO:" \ |
| 2882 |
"checking for C compiler version" >&5 |
| 2883 |
ac_compiler=`set X $ac_compile; echo $2` |
| 2884 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2885 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2886 |
ac_status=$? |
| 2887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2888 |
(exit $ac_status); } |
| 2889 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2890 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2891 |
ac_status=$? |
| 2892 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2893 |
(exit $ac_status); } |
| 2894 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2895 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2896 |
ac_status=$? |
| 2897 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2898 |
(exit $ac_status); } |
| 2899 |
|
| 2900 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2901 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 2902 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2903 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2904 |
else |
| 2905 |
cat >conftest.$ac_ext <<_ACEOF |
| 2906 |
/* confdefs.h. */ |
| 2907 |
_ACEOF |
| 2908 |
cat confdefs.h >>conftest.$ac_ext |
| 2909 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2910 |
/* end confdefs.h. */ |
| 2911 |
|
| 2912 |
int |
| 2913 |
main () |
| 2914 |
{ |
| 2915 |
#ifndef __GNUC__ |
| 2916 |
choke me |
| 2917 |
#endif |
| 2918 |
|
| 2919 |
; |
| 2920 |
return 0; |
| 2921 |
} |
| 2922 |
_ACEOF |
| 2923 |
rm -f conftest.$ac_objext |
| 2924 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2925 |
(eval $ac_compile) 2>conftest.er1 |
| 2926 |
ac_status=$? |
| 2927 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2928 |
rm -f conftest.er1 |
| 2929 |
cat conftest.err >&5 |
| 2930 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2931 |
(exit $ac_status); } && |
| 2932 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2933 |
|| test ! -s conftest.err' |
| 2934 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2935 |
(eval $ac_try) 2>&5 |
| 2936 |
ac_status=$? |
| 2937 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2938 |
(exit $ac_status); }; } && |
| 2939 |
{ ac_try='test -s conftest.$ac_objext' |
| 2940 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2941 |
(eval $ac_try) 2>&5 |
| 2942 |
ac_status=$? |
| 2943 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2944 |
(exit $ac_status); }; }; then |
| 2945 |
ac_compiler_gnu=yes |
| 2946 |
else |
| 2947 |
echo "$as_me: failed program was:" >&5 |
| 2948 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2949 |
|
| 2950 |
ac_compiler_gnu=no |
| 2951 |
fi |
| 2952 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2953 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2954 |
|
| 2955 |
fi |
| 2956 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2957 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2958 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2959 |
ac_test_CFLAGS=${CFLAGS+set} |
| 2960 |
ac_save_CFLAGS=$CFLAGS |
| 2961 |
CFLAGS="-g" |
| 2962 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2963 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2964 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 2965 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2966 |
else |
| 2967 |
cat >conftest.$ac_ext <<_ACEOF |
| 2968 |
/* confdefs.h. */ |
| 2969 |
_ACEOF |
| 2970 |
cat confdefs.h >>conftest.$ac_ext |
| 2971 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2972 |
/* end confdefs.h. */ |
| 2973 |
|
| 2974 |
int |
| 2975 |
main () |
| 2976 |
{ |
| 2977 |
|
| 2978 |
; |
| 2979 |
return 0; |
| 2980 |
} |
| 2981 |
_ACEOF |
| 2982 |
rm -f conftest.$ac_objext |
| 2983 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2984 |
(eval $ac_compile) 2>conftest.er1 |
| 2985 |
ac_status=$? |
| 2986 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2987 |
rm -f conftest.er1 |
| 2988 |
cat conftest.err >&5 |
| 2989 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2990 |
(exit $ac_status); } && |
| 2991 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2992 |
|| test ! -s conftest.err' |
| 2993 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2994 |
(eval $ac_try) 2>&5 |
| 2995 |
ac_status=$? |
| 2996 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2997 |
(exit $ac_status); }; } && |
| 2998 |
{ ac_try='test -s conftest.$ac_objext' |
| 2999 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3000 |
(eval $ac_try) 2>&5 |
| 3001 |
ac_status=$? |
| 3002 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3003 |
(exit $ac_status); }; }; then |
| 3004 |
ac_cv_prog_cc_g=yes |
| 3005 |
else |
| 3006 |
echo "$as_me: failed program was:" >&5 |
| 3007 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3008 |
|
| 3009 |
ac_cv_prog_cc_g=no |
| 3010 |
fi |
| 3011 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3012 |
fi |
| 3013 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 3014 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 3015 |
if test "$ac_test_CFLAGS" = set; then |
| 3016 |
CFLAGS=$ac_save_CFLAGS |
| 3017 |
elif test $ac_cv_prog_cc_g = yes; then |
| 3018 |
if test "$GCC" = yes; then |
| 3019 |
CFLAGS="-g -O2" |
| 3020 |
else |
| 3021 |
CFLAGS="-g" |
| 3022 |
fi |
| 3023 |
else |
| 3024 |
if test "$GCC" = yes; then |
| 3025 |
CFLAGS="-O2" |
| 3026 |
else |
| 3027 |
CFLAGS= |
| 3028 |
fi |
| 3029 |
fi |
| 3030 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 3031 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 3032 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 3033 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3034 |
else |
| 3035 |
ac_cv_prog_cc_stdc=no |
| 3036 |
ac_save_CC=$CC |
| 3037 |
cat >conftest.$ac_ext <<_ACEOF |
| 3038 |
/* confdefs.h. */ |
| 3039 |
_ACEOF |
| 3040 |
cat confdefs.h >>conftest.$ac_ext |
| 3041 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3042 |
/* end confdefs.h. */ |
| 3043 |
#include <stdarg.h> |
| 3044 |
#include <stdio.h> |
| 3045 |
#include <sys/types.h> |
| 3046 |
#include <sys/stat.h> |
| 3047 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3048 |
struct buf { int x; }; |
| 3049 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3050 |
static char *e (p, i) |
| 3051 |
char **p; |
| 3052 |
int i; |
| 3053 |
{ |
| 3054 |
return p[i]; |
| 3055 |
} |
| 3056 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 3057 |
{ |
| 3058 |
char *s; |
| 3059 |
va_list v; |
| 3060 |
va_start (v,p); |
| 3061 |
s = g (p, va_arg (v,int)); |
| 3062 |
va_end (v); |
| 3063 |
return s; |
| 3064 |
} |
| 3065 |
|
| 3066 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3067 |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 3068 |
These don't provoke an error unfortunately, instead are silently treated |
| 3069 |
as 'x'. The following induces an error, until -std1 is added to get |
| 3070 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3071 |
array size at least. It's necessary to write '\x00'==0 to get something |
| 3072 |
that's true only with -std1. */ |
| 3073 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3074 |
|
| 3075 |
int test (int i, double x); |
| 3076 |
struct s1 {int (*f) (int a);}; |
| 3077 |
struct s2 {int (*f) (double a);}; |
| 3078 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 3079 |
int argc; |
| 3080 |
char **argv; |
| 3081 |
int |
| 3082 |
main () |
| 3083 |
{ |
| 3084 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3085 |
; |
| 3086 |
return 0; |
| 3087 |
} |
| 3088 |
_ACEOF |
| 3089 |
# Don't try gcc -ansi; that turns off useful extensions and |
| 3090 |
# breaks some systems' header files. |
| 3091 |
# AIX -qlanglvl=ansi |
| 3092 |
# Ultrix and OSF/1 -std1 |
| 3093 |
# HP-UX 10.20 and later -Ae |
| 3094 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 3095 |
# SVR4 -Xc -D__EXTENSIONS__ |
| 3096 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3097 |
do |
| 3098 |
CC="$ac_save_CC $ac_arg" |
| 3099 |
rm -f conftest.$ac_objext |
| 3100 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3101 |
(eval $ac_compile) 2>conftest.er1 |
| 3102 |
ac_status=$? |
| 3103 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3104 |
rm -f conftest.er1 |
| 3105 |
cat conftest.err >&5 |
| 3106 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3107 |
(exit $ac_status); } && |
| 3108 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3109 |
|| test ! -s conftest.err' |
| 3110 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3111 |
(eval $ac_try) 2>&5 |
| 3112 |
ac_status=$? |
| 3113 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3114 |
(exit $ac_status); }; } && |
| 3115 |
{ ac_try='test -s conftest.$ac_objext' |
| 3116 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3117 |
(eval $ac_try) 2>&5 |
| 3118 |
ac_status=$? |
| 3119 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3120 |
(exit $ac_status); }; }; then |
| 3121 |
ac_cv_prog_cc_stdc=$ac_arg |
| 3122 |
break |
| 3123 |
else |
| 3124 |
echo "$as_me: failed program was:" >&5 |
| 3125 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3126 |
|
| 3127 |
fi |
| 3128 |
rm -f conftest.err conftest.$ac_objext |
| 3129 |
done |
| 3130 |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 3131 |
CC=$ac_save_CC |
| 3132 |
|
| 3133 |
fi |
| 3134 |
|
| 3135 |
case "x$ac_cv_prog_cc_stdc" in |
| 3136 |
x|xno) |
| 3137 |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 3138 |
echo "${ECHO_T}none needed" >&6 ;; |
| 3139 |
*) |
| 3140 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 3141 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 3142 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 3143 |
esac |
| 3144 |
|
| 3145 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 3146 |
# in C++ we need to declare it. In case someone uses the same compiler |
| 3147 |
# for both compiling C and C++ we need to have the C++ compiler decide |
| 3148 |
# the declaration of exit, since it's the most demanding environment. |
| 3149 |
cat >conftest.$ac_ext <<_ACEOF |
| 3150 |
@%:@ifndef __cplusplus |
| 3151 |
choke me |
| 3152 |
@%:@endif |
| 3153 |
_ACEOF |
| 3154 |
rm -f conftest.$ac_objext |
| 3155 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3156 |
(eval $ac_compile) 2>conftest.er1 |
| 3157 |
ac_status=$? |
| 3158 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3159 |
rm -f conftest.er1 |
| 3160 |
cat conftest.err >&5 |
| 3161 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3162 |
(exit $ac_status); } && |
| 3163 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3164 |
|| test ! -s conftest.err' |
| 3165 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3166 |
(eval $ac_try) 2>&5 |
| 3167 |
ac_status=$? |
| 3168 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3169 |
(exit $ac_status); }; } && |
| 3170 |
{ ac_try='test -s conftest.$ac_objext' |
| 3171 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3172 |
(eval $ac_try) 2>&5 |
| 3173 |
ac_status=$? |
| 3174 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3175 |
(exit $ac_status); }; }; then |
| 3176 |
for ac_declaration in \ |
| 3177 |
'' \ |
| 3178 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3179 |
'extern "C" void std::exit (int); using std::exit;' \ |
| 3180 |
'extern "C" void exit (int) throw ();' \ |
| 3181 |
'extern "C" void exit (int);' \ |
| 3182 |
'void exit (int);' |
| 3183 |
do |
| 3184 |
cat >conftest.$ac_ext <<_ACEOF |
| 3185 |
/* confdefs.h. */ |
| 3186 |
_ACEOF |
| 3187 |
cat confdefs.h >>conftest.$ac_ext |
| 3188 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3189 |
/* end confdefs.h. */ |
| 3190 |
$ac_declaration |
| 3191 |
@%:@include <stdlib.h> |
| 3192 |
int |
| 3193 |
main () |
| 3194 |
{ |
| 3195 |
exit (42); |
| 3196 |
; |
| 3197 |
return 0; |
| 3198 |
} |
| 3199 |
_ACEOF |
| 3200 |
rm -f conftest.$ac_objext |
| 3201 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3202 |
(eval $ac_compile) 2>conftest.er1 |
| 3203 |
ac_status=$? |
| 3204 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3205 |
rm -f conftest.er1 |
| 3206 |
cat conftest.err >&5 |
| 3207 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3208 |
(exit $ac_status); } && |
| 3209 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3210 |
|| test ! -s conftest.err' |
| 3211 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3212 |
(eval $ac_try) 2>&5 |
| 3213 |
ac_status=$? |
| 3214 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3215 |
(exit $ac_status); }; } && |
| 3216 |
{ ac_try='test -s conftest.$ac_objext' |
| 3217 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3218 |
(eval $ac_try) 2>&5 |
| 3219 |
ac_status=$? |
| 3220 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3221 |
(exit $ac_status); }; }; then |
| 3222 |
: |
| 3223 |
else |
| 3224 |
echo "$as_me: failed program was:" >&5 |
| 3225 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3226 |
|
| 3227 |
continue |
| 3228 |
fi |
| 3229 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3230 |
cat >conftest.$ac_ext <<_ACEOF |
| 3231 |
/* confdefs.h. */ |
| 3232 |
_ACEOF |
| 3233 |
cat confdefs.h >>conftest.$ac_ext |
| 3234 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3235 |
/* end confdefs.h. */ |
| 3236 |
$ac_declaration |
| 3237 |
int |
| 3238 |
main () |
| 3239 |
{ |
| 3240 |
exit (42); |
| 3241 |
; |
| 3242 |
return 0; |
| 3243 |
} |
| 3244 |
_ACEOF |
| 3245 |
rm -f conftest.$ac_objext |
| 3246 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3247 |
(eval $ac_compile) 2>conftest.er1 |
| 3248 |
ac_status=$? |
| 3249 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3250 |
rm -f conftest.er1 |
| 3251 |
cat conftest.err >&5 |
| 3252 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3253 |
(exit $ac_status); } && |
| 3254 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3255 |
|| test ! -s conftest.err' |
| 3256 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3257 |
(eval $ac_try) 2>&5 |
| 3258 |
ac_status=$? |
| 3259 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3260 |
(exit $ac_status); }; } && |
| 3261 |
{ ac_try='test -s conftest.$ac_objext' |
| 3262 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3263 |
(eval $ac_try) 2>&5 |
| 3264 |
ac_status=$? |
| 3265 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3266 |
(exit $ac_status); }; }; then |
| 3267 |
break |
| 3268 |
else |
| 3269 |
echo "$as_me: failed program was:" >&5 |
| 3270 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3271 |
|
| 3272 |
fi |
| 3273 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3274 |
done |
| 3275 |
rm -f conftest* |
| 3276 |
if test -n "$ac_declaration"; then |
| 3277 |
echo '#ifdef __cplusplus' >>confdefs.h |
| 3278 |
echo $ac_declaration >>confdefs.h |
| 3279 |
echo '#endif' >>confdefs.h |
| 3280 |
fi |
| 3281 |
|
| 3282 |
else |
| 3283 |
echo "$as_me: failed program was:" >&5 |
| 3284 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3285 |
|
| 3286 |
fi |
| 3287 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3288 |
ac_ext=c |
| 3289 |
ac_cpp='$CPP $CPPFLAGS' |
| 3290 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3291 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3292 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3293 |
|
| 3294 |
depcc="$CC" am_compiler_list= |
| 3295 |
|
| 3296 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 3297 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 3298 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
| 3299 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3300 |
else |
| 3301 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3302 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 3303 |
# making bogus files that we don't know about and never remove. For |
| 3304 |
# instance it was reported that on HP-UX the gcc test will end up |
| 3305 |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 3306 |
# in D'. |
| 3307 |
mkdir conftest.dir |
| 3308 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 3309 |
# using a relative directory. |
| 3310 |
cp "$am_depcomp" conftest.dir |
| 3311 |
cd conftest.dir |
| 3312 |
# We will build objects and dependencies in a subdirectory because |
| 3313 |
# it helps to detect inapplicable dependency modes. For instance |
| 3314 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 3315 |
# side effect of compilation, but ICC will put the dependencies in |
| 3316 |
# the current directory while Tru64 will put them in the object |
| 3317 |
# directory. |
| 3318 |
mkdir sub |
| 3319 |
|
| 3320 |
am_cv_CC_dependencies_compiler_type=none |
| 3321 |
if test "$am_compiler_list" = ""; then |
| 3322 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 3323 |
fi |
| 3324 |
for depmode in $am_compiler_list; do |
| 3325 |
# Setup a source with many dependencies, because some compilers |
| 3326 |
# like to wrap large dependency lists on column 80 (with \), and |
| 3327 |
# we should not choose a depcomp mode which is confused by this. |
| 3328 |
# |
| 3329 |
# We need to recreate these files for each test, as the compiler may |
| 3330 |
# overwrite some of them when testing with obscure command lines. |
| 3331 |
# This happens at least with the AIX C compiler. |
| 3332 |
: > sub/conftest.c |
| 3333 |
for i in 1 2 3 4 5 6; do |
| 3334 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3335 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3336 |
# Solaris 8's {/usr,}/bin/sh. |
| 3337 |
touch sub/conftst$i.h |
| 3338 |
done |
| 3339 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3340 |
|
| 3341 |
case $depmode in |
| 3342 |
nosideeffect) |
| 3343 |
# after this tag, mechanisms are not by side-effect, so they'll |
| 3344 |
# only be used when explicitly requested |
| 3345 |
if test "x$enable_dependency_tracking" = xyes; then |
| 3346 |
continue |
| 3347 |
else |
| 3348 |
break |
| 3349 |
fi |
| 3350 |
;; |
| 3351 |
none) break ;; |
| 3352 |
esac |
| 3353 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3354 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 3355 |
# handle `-M -o', and we need to detect this. |
| 3356 |
if depmode=$depmode \ |
| 3357 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| 3358 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 3359 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 3360 |
>/dev/null 2>conftest.err && |
| 3361 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 3362 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 3363 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3364 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 3365 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 3366 |
# that says an option was ignored or not supported. |
| 3367 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 3368 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 3369 |
# The diagnosis changed in icc 8.0: |
| 3370 |
# icc: Command line remark: option '-MP' not supported |
| 3371 |
if (grep 'ignoring option' conftest.err || |
| 3372 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 3373 |
am_cv_CC_dependencies_compiler_type=$depmode |
| 3374 |
break |
| 3375 |
fi |
| 3376 |
fi |
| 3377 |
done |
| 3378 |
|
| 3379 |
cd .. |
| 3380 |
rm -rf conftest.dir |
| 3381 |
else |
| 3382 |
am_cv_CC_dependencies_compiler_type=none |
| 3383 |
fi |
| 3384 |
|
| 3385 |
fi |
| 3386 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 3387 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
| 3388 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 3389 |
|
| 3390 |
|
| 3391 |
|
| 3392 |
if |
| 3393 |
test "x$enable_dependency_tracking" != xno \ |
| 3394 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 3395 |
am__fastdepCC_TRUE= |
| 3396 |
am__fastdepCC_FALSE='#' |
| 3397 |
else |
| 3398 |
am__fastdepCC_TRUE='#' |
| 3399 |
am__fastdepCC_FALSE= |
| 3400 |
fi |
| 3401 |
|
| 3402 |
|
| 3403 |
|
| 3404 |
# Checks for libraries. |
| 3405 |
# FIXME: Replace `main' with a function in `-liconv': |
| 3406 |
|
| 3407 |
|
| 3408 |
echo "$as_me:$LINENO: checking for main in -liconv" >&5 |
| 3409 |
echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 |
| 3410 |
if test "${ac_cv_lib_iconv_main+set}" = set; then |
| 3411 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3412 |
else |
| 3413 |
ac_check_lib_save_LIBS=$LIBS |
| 3414 |
LIBS="-liconv $LIBS" |
| 3415 |
cat >conftest.$ac_ext <<_ACEOF |
| 3416 |
/* confdefs.h. */ |
| 3417 |
_ACEOF |
| 3418 |
cat confdefs.h >>conftest.$ac_ext |
| 3419 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3420 |
/* end confdefs.h. */ |
| 3421 |
|
| 3422 |
|
| 3423 |
int |
| 3424 |
main () |
| 3425 |
{ |
| 3426 |
main (); |
| 3427 |
; |
| 3428 |
return 0; |
| 3429 |
} |
| 3430 |
_ACEOF |
| 3431 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3432 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3433 |
(eval $ac_link) 2>conftest.er1 |
| 3434 |
ac_status=$? |
| 3435 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3436 |
rm -f conftest.er1 |
| 3437 |
cat conftest.err >&5 |
| 3438 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3439 |
(exit $ac_status); } && |
| 3440 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3441 |
|| test ! -s conftest.err' |
| 3442 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3443 |
(eval $ac_try) 2>&5 |
| 3444 |
ac_status=$? |
| 3445 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3446 |
(exit $ac_status); }; } && |
| 3447 |
{ ac_try='test -s conftest$ac_exeext' |
| 3448 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3449 |
(eval $ac_try) 2>&5 |
| 3450 |
ac_status=$? |
| 3451 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3452 |
(exit $ac_status); }; }; then |
| 3453 |
ac_cv_lib_iconv_main=yes |
| 3454 |
else |
| 3455 |
echo "$as_me: failed program was:" >&5 |
| 3456 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3457 |
|
| 3458 |
ac_cv_lib_iconv_main=no |
| 3459 |
fi |
| 3460 |
rm -f conftest.err conftest.$ac_objext \ |
| 3461 |
conftest$ac_exeext conftest.$ac_ext |
| 3462 |
LIBS=$ac_check_lib_save_LIBS |
| 3463 |
fi |
| 3464 |
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 |
| 3465 |
echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 |
| 3466 |
if test $ac_cv_lib_iconv_main = yes; then |
| 3467 |
cat >>confdefs.h <<_ACEOF |
| 3468 |
@%:@define HAVE_LIBICONV 1 |
| 3469 |
_ACEOF |
| 3470 |
|
| 3471 |
LIBS="-liconv $LIBS" |
| 3472 |
|
| 3473 |
fi |
| 3474 |
|
| 3475 |
|
| 3476 |
# Checks for header files. |
| 3477 |
|
| 3478 |
# Checks for typedefs, structures, and compiler characteristics. |
| 3479 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 3480 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 3481 |
if test "${ac_cv_c_const+set}" = set; then |
| 3482 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3483 |
else |
| 3484 |
cat >conftest.$ac_ext <<_ACEOF |
| 3485 |
/* confdefs.h. */ |
| 3486 |
_ACEOF |
| 3487 |
cat confdefs.h >>conftest.$ac_ext |
| 3488 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3489 |
/* end confdefs.h. */ |
| 3490 |
|
| 3491 |
int |
| 3492 |
main () |
| 3493 |
{ |
| 3494 |
/* FIXME: Include the comments suggested by Paul. */ |
| 3495 |
#ifndef __cplusplus |
| 3496 |
/* Ultrix mips cc rejects this. */ |
| 3497 |
typedef int charset[2]; |
| 3498 |
const charset x; |
| 3499 |
/* SunOS 4.1.1 cc rejects this. */ |
| 3500 |
char const *const *ccp; |
| 3501 |
char **p; |
| 3502 |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 3503 |
struct point {int x, y;}; |
| 3504 |
static struct point const zero = {0,0}; |
| 3505 |
/* AIX XL C 1.02.0.0 rejects this. |
| 3506 |
It does not let you subtract one const X* pointer from another in |
| 3507 |
an arm of an if-expression whose if-part is not a constant |
| 3508 |
expression */ |
| 3509 |
const char *g = "string"; |
| 3510 |
ccp = &g + (g ? g-g : 0); |
| 3511 |
/* HPUX 7.0 cc rejects these. */ |
| 3512 |
++ccp; |
| 3513 |
p = (char**) ccp; |
| 3514 |
ccp = (char const *const *) p; |
| 3515 |
{ /* SCO 3.2v4 cc rejects this. */ |
| 3516 |
char *t; |
| 3517 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 3518 |
|
| 3519 |
*t++ = 0; |
| 3520 |
} |
| 3521 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 3522 |
int x[] = {25, 17}; |
| 3523 |
const int *foo = &x[0]; |
| 3524 |
++foo; |
| 3525 |
} |
| 3526 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 3527 |
typedef const int *iptr; |
| 3528 |
iptr p = 0; |
| 3529 |
++p; |
| 3530 |
} |
| 3531 |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 3532 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 3533 |
struct s { int j; const int *ap[3]; }; |
| 3534 |
struct s *b; b->j = 5; |
| 3535 |
} |
| 3536 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 3537 |
const int foo = 10; |
| 3538 |
} |
| 3539 |
#endif |
| 3540 |
|
| 3541 |
; |
| 3542 |
return 0; |
| 3543 |
} |
| 3544 |
_ACEOF |
| 3545 |
rm -f conftest.$ac_objext |
| 3546 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3547 |
(eval $ac_compile) 2>conftest.er1 |
| 3548 |
ac_status=$? |
| 3549 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3550 |
rm -f conftest.er1 |
| 3551 |
cat conftest.err >&5 |
| 3552 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3553 |
(exit $ac_status); } && |
| 3554 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3555 |
|| test ! -s conftest.err' |
| 3556 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3557 |
(eval $ac_try) 2>&5 |
| 3558 |
ac_status=$? |
| 3559 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3560 |
(exit $ac_status); }; } && |
| 3561 |
{ ac_try='test -s conftest.$ac_objext' |
| 3562 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3563 |
(eval $ac_try) 2>&5 |
| 3564 |
ac_status=$? |
| 3565 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3566 |
(exit $ac_status); }; }; then |
| 3567 |
ac_cv_c_const=yes |
| 3568 |
else |
| 3569 |
echo "$as_me: failed program was:" >&5 |
| 3570 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3571 |
|
| 3572 |
ac_cv_c_const=no |
| 3573 |
fi |
| 3574 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3575 |
fi |
| 3576 |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 3577 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 3578 |
if test $ac_cv_c_const = no; then |
| 3579 |
|
| 3580 |
cat >>confdefs.h <<\_ACEOF |
| 3581 |
@%:@define const |
| 3582 |
_ACEOF |
| 3583 |
|
| 3584 |
fi |
| 3585 |
|
| 3586 |
ac_ext=c |
| 3587 |
ac_cpp='$CPP $CPPFLAGS' |
| 3588 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3589 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3590 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3591 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3592 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 3593 |
# On Suns, sometimes $CPP names a directory. |
| 3594 |
if test -n "$CPP" && test -d "$CPP"; then |
| 3595 |
CPP= |
| 3596 |
fi |
| 3597 |
if test -z "$CPP"; then |
| 3598 |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 3599 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3600 |
else |
| 3601 |
# Double quotes because CPP needs to be expanded |
| 3602 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 3603 |
do |
| 3604 |
ac_preproc_ok=false |
| 3605 |
for ac_c_preproc_warn_flag in '' yes |
| 3606 |
do |
| 3607 |
# Use a header file that comes with gcc, so configuring glibc |
| 3608 |
# with a fresh cross-compiler works. |
| 3609 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3610 |
# <limits.h> exists even on freestanding compilers. |
| 3611 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3612 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3613 |
cat >conftest.$ac_ext <<_ACEOF |
| 3614 |
/* confdefs.h. */ |
| 3615 |
_ACEOF |
| 3616 |
cat confdefs.h >>conftest.$ac_ext |
| 3617 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3618 |
/* end confdefs.h. */ |
| 3619 |
@%:@ifdef __STDC__ |
| 3620 |
@%:@ include <limits.h> |
| 3621 |
@%:@else |
| 3622 |
@%:@ include <assert.h> |
| 3623 |
@%:@endif |
| 3624 |
Syntax error |
| 3625 |
_ACEOF |
| 3626 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3627 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3628 |
ac_status=$? |
| 3629 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3630 |
rm -f conftest.er1 |
| 3631 |
cat conftest.err >&5 |
| 3632 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3633 |
(exit $ac_status); } >/dev/null; then |
| 3634 |
if test -s conftest.err; then |
| 3635 |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3636 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3637 |
else |
| 3638 |
ac_cpp_err= |
| 3639 |
fi |
| 3640 |
else |
| 3641 |
ac_cpp_err=yes |
| 3642 |
fi |
| 3643 |
if test -z "$ac_cpp_err"; then |
| 3644 |
: |
| 3645 |
else |
| 3646 |
echo "$as_me: failed program was:" >&5 |
| 3647 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3648 |
|
| 3649 |
# Broken: fails on valid input. |
| 3650 |
continue |
| 3651 |
fi |
| 3652 |
rm -f conftest.err conftest.$ac_ext |
| 3653 |
|
| 3654 |
# OK, works on sane cases. Now check whether non-existent headers |
| 3655 |
# can be detected and how. |
| 3656 |
cat >conftest.$ac_ext <<_ACEOF |
| 3657 |
/* confdefs.h. */ |
| 3658 |
_ACEOF |
| 3659 |
cat confdefs.h >>conftest.$ac_ext |
| 3660 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3661 |
/* end confdefs.h. */ |
| 3662 |
@%:@include <ac_nonexistent.h> |
| 3663 |
_ACEOF |
| 3664 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3665 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3666 |
ac_status=$? |
| 3667 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3668 |
rm -f conftest.er1 |
| 3669 |
cat conftest.err >&5 |
| 3670 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3671 |
(exit $ac_status); } >/dev/null; then |
| 3672 |
if test -s conftest.err; then |
| 3673 |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3674 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3675 |
else |
| 3676 |
ac_cpp_err= |
| 3677 |
fi |
| 3678 |
else |
| 3679 |
ac_cpp_err=yes |
| 3680 |
fi |
| 3681 |
if test -z "$ac_cpp_err"; then |
| 3682 |
# Broken: success on invalid input. |
| 3683 |
continue |
| 3684 |
else |
| 3685 |
echo "$as_me: failed program was:" >&5 |
| 3686 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3687 |
|
| 3688 |
# Passes both tests. |
| 3689 |
ac_preproc_ok=: |
| 3690 |
break |
| 3691 |
fi |
| 3692 |
rm -f conftest.err conftest.$ac_ext |
| 3693 |
|
| 3694 |
done |
| 3695 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3696 |
rm -f conftest.err conftest.$ac_ext |
| 3697 |
if $ac_preproc_ok; then |
| 3698 |
break |
| 3699 |
fi |
| 3700 |
|
| 3701 |
done |
| 3702 |
ac_cv_prog_CPP=$CPP |
| 3703 |
|
| 3704 |
fi |
| 3705 |
CPP=$ac_cv_prog_CPP |
| 3706 |
else |
| 3707 |
ac_cv_prog_CPP=$CPP |
| 3708 |
fi |
| 3709 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3710 |
echo "${ECHO_T}$CPP" >&6 |
| 3711 |
ac_preproc_ok=false |
| 3712 |
for ac_c_preproc_warn_flag in '' yes |
| 3713 |
do |
| 3714 |
# Use a header file that comes with gcc, so configuring glibc |
| 3715 |
# with a fresh cross-compiler works. |
| 3716 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3717 |
# <limits.h> exists even on freestanding compilers. |
| 3718 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 3719 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 3720 |
cat >conftest.$ac_ext <<_ACEOF |
| 3721 |
/* confdefs.h. */ |
| 3722 |
_ACEOF |
| 3723 |
cat confdefs.h >>conftest.$ac_ext |
| 3724 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3725 |
/* end confdefs.h. */ |
| 3726 |
@%:@ifdef __STDC__ |
| 3727 |
@%:@ include <limits.h> |
| 3728 |
@%:@else |
| 3729 |
@%:@ include <assert.h> |
| 3730 |
@%:@endif |
| 3731 |
Syntax error |
| 3732 |
_ACEOF |
| 3733 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3734 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3735 |
ac_status=$? |
| 3736 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3737 |
rm -f conftest.er1 |
| 3738 |
cat conftest.err >&5 |
| 3739 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3740 |
(exit $ac_status); } >/dev/null; then |
| 3741 |
if test -s conftest.err; then |
| 3742 |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3743 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3744 |
else |
| 3745 |
ac_cpp_err= |
| 3746 |
fi |
| 3747 |
else |
| 3748 |
ac_cpp_err=yes |
| 3749 |
fi |
| 3750 |
if test -z "$ac_cpp_err"; then |
| 3751 |
: |
| 3752 |
else |
| 3753 |
echo "$as_me: failed program was:" >&5 |
| 3754 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3755 |
|
| 3756 |
# Broken: fails on valid input. |
| 3757 |
continue |
| 3758 |
fi |
| 3759 |
rm -f conftest.err conftest.$ac_ext |
| 3760 |
|
| 3761 |
# OK, works on sane cases. Now check whether non-existent headers |
| 3762 |
# can be detected and how. |
| 3763 |
cat >conftest.$ac_ext <<_ACEOF |
| 3764 |
/* confdefs.h. */ |
| 3765 |
_ACEOF |
| 3766 |
cat confdefs.h >>conftest.$ac_ext |
| 3767 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3768 |
/* end confdefs.h. */ |
| 3769 |
@%:@include <ac_nonexistent.h> |
| 3770 |
_ACEOF |
| 3771 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3772 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3773 |
ac_status=$? |
| 3774 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3775 |
rm -f conftest.er1 |
| 3776 |
cat conftest.err >&5 |
| 3777 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3778 |
(exit $ac_status); } >/dev/null; then |
| 3779 |
if test -s conftest.err; then |
| 3780 |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3781 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3782 |
else |
| 3783 |
ac_cpp_err= |
| 3784 |
fi |
| 3785 |
else |
| 3786 |
ac_cpp_err=yes |
| 3787 |
fi |
| 3788 |
if test -z "$ac_cpp_err"; then |
| 3789 |
# Broken: success on invalid input. |
| 3790 |
continue |
| 3791 |
else |
| 3792 |
echo "$as_me: failed program was:" >&5 |
| 3793 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3794 |
|
| 3795 |
# Passes both tests. |
| 3796 |
ac_preproc_ok=: |
| 3797 |
break |
| 3798 |
fi |
| 3799 |
rm -f conftest.err conftest.$ac_ext |
| 3800 |
|
| 3801 |
done |
| 3802 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3803 |
rm -f conftest.err conftest.$ac_ext |
| 3804 |
if $ac_preproc_ok; then |
| 3805 |
: |
| 3806 |
else |
| 3807 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 3808 |
See \`config.log' for more details." >&5 |
| 3809 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 3810 |
See \`config.log' for more details." >&2;} |
| 3811 |
{ (exit 1); exit 1; }; } |
| 3812 |
fi |
| 3813 |
|
| 3814 |
ac_ext=c |
| 3815 |
ac_cpp='$CPP $CPPFLAGS' |
| 3816 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3817 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3818 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3819 |
|
| 3820 |
|
| 3821 |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3822 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 3823 |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 3824 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3825 |
else |
| 3826 |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3827 |
then ac_cv_prog_egrep='grep -E' |
| 3828 |
else ac_cv_prog_egrep='egrep' |
| 3829 |
fi |
| 3830 |
fi |
| 3831 |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 3832 |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 3833 |
EGREP=$ac_cv_prog_egrep |
| 3834 |
|
| 3835 |
|
| 3836 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 3837 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 3838 |
if test "${ac_cv_header_stdc+set}" = set; then |
| 3839 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3840 |
else |
| 3841 |
cat >conftest.$ac_ext <<_ACEOF |
| 3842 |
/* confdefs.h. */ |
| 3843 |
_ACEOF |
| 3844 |
cat confdefs.h >>conftest.$ac_ext |
| 3845 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3846 |
/* end confdefs.h. */ |
| 3847 |
#include <stdlib.h> |
| 3848 |
#include <stdarg.h> |
| 3849 |
#include <string.h> |
| 3850 |
#include <float.h> |
| 3851 |
|
| 3852 |
int |
| 3853 |
main () |
| 3854 |
{ |
| 3855 |
|
| 3856 |
; |
| 3857 |
return 0; |
| 3858 |
} |
| 3859 |
_ACEOF |
| 3860 |
rm -f conftest.$ac_objext |
| 3861 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3862 |
(eval $ac_compile) 2>conftest.er1 |
| 3863 |
ac_status=$? |
| 3864 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3865 |
rm -f conftest.er1 |
| 3866 |
cat conftest.err >&5 |
| 3867 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3868 |
(exit $ac_status); } && |
| 3869 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3870 |
|| test ! -s conftest.err' |
| 3871 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3872 |
(eval $ac_try) 2>&5 |
| 3873 |
ac_status=$? |
| 3874 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3875 |
(exit $ac_status); }; } && |
| 3876 |
{ ac_try='test -s conftest.$ac_objext' |
| 3877 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3878 |
(eval $ac_try) 2>&5 |
| 3879 |
ac_status=$? |
| 3880 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3881 |
(exit $ac_status); }; }; then |
| 3882 |
ac_cv_header_stdc=yes |
| 3883 |
else |
| 3884 |
echo "$as_me: failed program was:" >&5 |
| 3885 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3886 |
|
| 3887 |
ac_cv_header_stdc=no |
| 3888 |
fi |
| 3889 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3890 |
|
| 3891 |
if test $ac_cv_header_stdc = yes; then |
| 3892 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3893 |
cat >conftest.$ac_ext <<_ACEOF |
| 3894 |
/* confdefs.h. */ |
| 3895 |
_ACEOF |
| 3896 |
cat confdefs.h >>conftest.$ac_ext |
| 3897 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3898 |
/* end confdefs.h. */ |
| 3899 |
#include <string.h> |
| 3900 |
|
| 3901 |
_ACEOF |
| 3902 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3903 |
$EGREP "memchr" >/dev/null 2>&1; then |
| 3904 |
: |
| 3905 |
else |
| 3906 |
ac_cv_header_stdc=no |
| 3907 |
fi |
| 3908 |
rm -f conftest* |
| 3909 |
|
| 3910 |
fi |
| 3911 |
|
| 3912 |
if test $ac_cv_header_stdc = yes; then |
| 3913 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3914 |
cat >conftest.$ac_ext <<_ACEOF |
| 3915 |
/* confdefs.h. */ |
| 3916 |
_ACEOF |
| 3917 |
cat confdefs.h >>conftest.$ac_ext |
| 3918 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3919 |
/* end confdefs.h. */ |
| 3920 |
#include <stdlib.h> |
| 3921 |
|
| 3922 |
_ACEOF |
| 3923 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3924 |
$EGREP "free" >/dev/null 2>&1; then |
| 3925 |
: |
| 3926 |
else |
| 3927 |
ac_cv_header_stdc=no |
| 3928 |
fi |
| 3929 |
rm -f conftest* |
| 3930 |
|
| 3931 |
fi |
| 3932 |
|
| 3933 |
if test $ac_cv_header_stdc = yes; then |
| 3934 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3935 |
if test "$cross_compiling" = yes; then |
| 3936 |
: |
| 3937 |
else |
| 3938 |
cat >conftest.$ac_ext <<_ACEOF |
| 3939 |
/* confdefs.h. */ |
| 3940 |
_ACEOF |
| 3941 |
cat confdefs.h >>conftest.$ac_ext |
| 3942 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3943 |
/* end confdefs.h. */ |
| 3944 |
#include <ctype.h> |
| 3945 |
#if ((' ' & 0x0FF) == 0x020) |
| 3946 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3947 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3948 |
#else |
| 3949 |
# define ISLOWER(c) \ |
| 3950 |
(('a' <= (c) && (c) <= 'i') \ |
| 3951 |
|| ('j' <= (c) && (c) <= 'r') \ |
| 3952 |
|| ('s' <= (c) && (c) <= 'z')) |
| 3953 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 3954 |
#endif |
| 3955 |
|
| 3956 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3957 |
int |
| 3958 |
main () |
| 3959 |
{ |
| 3960 |
int i; |
| 3961 |
for (i = 0; i < 256; i++) |
| 3962 |
if (XOR (islower (i), ISLOWER (i)) |
| 3963 |
|| toupper (i) != TOUPPER (i)) |
| 3964 |
exit(2); |
| 3965 |
exit (0); |
| 3966 |
} |
| 3967 |
_ACEOF |
| 3968 |
rm -f conftest$ac_exeext |
| 3969 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3970 |
(eval $ac_link) 2>&5 |
| 3971 |
ac_status=$? |
| 3972 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3973 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 3974 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3975 |
(eval $ac_try) 2>&5 |
| 3976 |
ac_status=$? |
| 3977 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3978 |
(exit $ac_status); }; }; then |
| 3979 |
: |
| 3980 |
else |
| 3981 |
echo "$as_me: program exited with status $ac_status" >&5 |
| 3982 |
echo "$as_me: failed program was:" >&5 |
| 3983 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3984 |
|
| 3985 |
( exit $ac_status ) |
| 3986 |
ac_cv_header_stdc=no |
| 3987 |
fi |
| 3988 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 3989 |
fi |
| 3990 |
fi |
| 3991 |
fi |
| 3992 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 3993 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 3994 |
if test $ac_cv_header_stdc = yes; then |
| 3995 |
|
| 3996 |
cat >>confdefs.h <<\_ACEOF |
| 3997 |
@%:@define STDC_HEADERS 1 |
| 3998 |
_ACEOF |
| 3999 |
|
| 4000 |
fi |
| 4001 |
|
| 4002 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4003 |
|
| 4004 |
|
| 4005 |
|
| 4006 |
|
| 4007 |
|
| 4008 |
|
| 4009 |
|
| 4010 |
|
| 4011 |
|
| 4012 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4013 |
inttypes.h stdint.h unistd.h |
| 4014 |
do |
| 4015 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4016 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4017 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4018 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4019 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4020 |
else |
| 4021 |
cat >conftest.$ac_ext <<_ACEOF |
| 4022 |
/* confdefs.h. */ |
| 4023 |
_ACEOF |
| 4024 |
cat confdefs.h >>conftest.$ac_ext |
| 4025 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4026 |
/* end confdefs.h. */ |
| 4027 |
$ac_includes_default |
| 4028 |
|
| 4029 |
@%:@include <$ac_header> |
| 4030 |
_ACEOF |
| 4031 |
rm -f conftest.$ac_objext |
| 4032 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4033 |
(eval $ac_compile) 2>conftest.er1 |
| 4034 |
ac_status=$? |
| 4035 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4036 |
rm -f conftest.er1 |
| 4037 |
cat conftest.err >&5 |
| 4038 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4039 |
(exit $ac_status); } && |
| 4040 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4041 |
|| test ! -s conftest.err' |
| 4042 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4043 |
(eval $ac_try) 2>&5 |
| 4044 |
ac_status=$? |
| 4045 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4046 |
(exit $ac_status); }; } && |
| 4047 |
{ ac_try='test -s conftest.$ac_objext' |
| 4048 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4049 |
(eval $ac_try) 2>&5 |
| 4050 |
ac_status=$? |
| 4051 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4052 |
(exit $ac_status); }; }; then |
| 4053 |
eval "$as_ac_Header=yes" |
| 4054 |
else |
| 4055 |
echo "$as_me: failed program was:" >&5 |
| 4056 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4057 |
|
| 4058 |
eval "$as_ac_Header=no" |
| 4059 |
fi |
| 4060 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4061 |
fi |
| 4062 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4063 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4064 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4065 |
cat >>confdefs.h <<_ACEOF |
| 4066 |
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4067 |
_ACEOF |
| 4068 |
|
| 4069 |
fi |
| 4070 |
|
| 4071 |
done |
| 4072 |
|
| 4073 |
|
| 4074 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
| 4075 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
| 4076 |
if test "${ac_cv_type_size_t+set}" = set; then |
| 4077 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4078 |
else |
| 4079 |
cat >conftest.$ac_ext <<_ACEOF |
| 4080 |
/* confdefs.h. */ |
| 4081 |
_ACEOF |
| 4082 |
cat confdefs.h >>conftest.$ac_ext |
| 4083 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4084 |
/* end confdefs.h. */ |
| 4085 |
$ac_includes_default |
| 4086 |
int |
| 4087 |
main () |
| 4088 |
{ |
| 4089 |
if ((size_t *) 0) |
| 4090 |
return 0; |
| 4091 |
if (sizeof (size_t)) |
| 4092 |
return 0; |
| 4093 |
; |
| 4094 |
return 0; |
| 4095 |
} |
| 4096 |
_ACEOF |
| 4097 |
rm -f conftest.$ac_objext |
| 4098 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4099 |
(eval $ac_compile) 2>conftest.er1 |
| 4100 |
ac_status=$? |
| 4101 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4102 |
rm -f conftest.er1 |
| 4103 |
cat conftest.err >&5 |
| 4104 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4105 |
(exit $ac_status); } && |
| 4106 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4107 |
|| test ! -s conftest.err' |
| 4108 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4109 |
(eval $ac_try) 2>&5 |
| 4110 |
ac_status=$? |
| 4111 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4112 |
(exit $ac_status); }; } && |
| 4113 |
{ ac_try='test -s conftest.$ac_objext' |
| 4114 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4115 |
(eval $ac_try) 2>&5 |
| 4116 |
ac_status=$? |
| 4117 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4118 |
(exit $ac_status); }; }; then |
| 4119 |
ac_cv_type_size_t=yes |
| 4120 |
else |
| 4121 |
echo "$as_me: failed program was:" >&5 |
| 4122 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4123 |
|
| 4124 |
ac_cv_type_size_t=no |
| 4125 |
fi |
| 4126 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4127 |
fi |
| 4128 |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
| 4129 |
echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
| 4130 |
if test $ac_cv_type_size_t = yes; then |
| 4131 |
: |
| 4132 |
else |
| 4133 |
|
| 4134 |
cat >>confdefs.h <<_ACEOF |
| 4135 |
@%:@define size_t unsigned |
| 4136 |
_ACEOF |
| 4137 |
|
| 4138 |
fi |
| 4139 |
|
| 4140 |
|
| 4141 |
# Checks for library functions. |
| 4142 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4143 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4144 |
if test "${ac_cv_header_stdc+set}" = set; then |
| 4145 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4146 |
else |
| 4147 |
cat >conftest.$ac_ext <<_ACEOF |
| 4148 |
/* confdefs.h. */ |
| 4149 |
_ACEOF |
| 4150 |
cat confdefs.h >>conftest.$ac_ext |
| 4151 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4152 |
/* end confdefs.h. */ |
| 4153 |
#include <stdlib.h> |
| 4154 |
#include <stdarg.h> |
| 4155 |
#include <string.h> |
| 4156 |
#include <float.h> |
| 4157 |
|
| 4158 |
int |
| 4159 |
main () |
| 4160 |
{ |
| 4161 |
|
| 4162 |
; |
| 4163 |
return 0; |
| 4164 |
} |
| 4165 |
_ACEOF |
| 4166 |
rm -f conftest.$ac_objext |
| 4167 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4168 |
(eval $ac_compile) 2>conftest.er1 |
| 4169 |
ac_status=$? |
| 4170 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4171 |
rm -f conftest.er1 |
| 4172 |
cat conftest.err >&5 |
| 4173 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4174 |
(exit $ac_status); } && |
| 4175 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4176 |
|| test ! -s conftest.err' |
| 4177 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4178 |
(eval $ac_try) 2>&5 |
| 4179 |
ac_status=$? |
| 4180 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4181 |
(exit $ac_status); }; } && |
| 4182 |
{ ac_try='test -s conftest.$ac_objext' |
| 4183 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4184 |
(eval $ac_try) 2>&5 |
| 4185 |
ac_status=$? |
| 4186 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4187 |
(exit $ac_status); }; }; then |
| 4188 |
ac_cv_header_stdc=yes |
| 4189 |
else |
| 4190 |
echo "$as_me: failed program was:" >&5 |
| 4191 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4192 |
|
| 4193 |
ac_cv_header_stdc=no |
| 4194 |
fi |
| 4195 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4196 |
|
| 4197 |
if test $ac_cv_header_stdc = yes; then |
| 4198 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4199 |
cat >conftest.$ac_ext <<_ACEOF |
| 4200 |
/* confdefs.h. */ |
| 4201 |
_ACEOF |
| 4202 |
cat confdefs.h >>conftest.$ac_ext |
| 4203 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4204 |
/* end confdefs.h. */ |
| 4205 |
#include <string.h> |
| 4206 |
|
| 4207 |
_ACEOF |
| 4208 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4209 |
$EGREP "memchr" >/dev/null 2>&1; then |
| 4210 |
: |
| 4211 |
else |
| 4212 |
ac_cv_header_stdc=no |
| 4213 |
fi |
| 4214 |
rm -f conftest* |
| 4215 |
|
| 4216 |
fi |
| 4217 |
|
| 4218 |
if test $ac_cv_header_stdc = yes; then |
| 4219 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4220 |
cat >conftest.$ac_ext <<_ACEOF |
| 4221 |
/* confdefs.h. */ |
| 4222 |
_ACEOF |
| 4223 |
cat confdefs.h >>conftest.$ac_ext |
| 4224 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4225 |
/* end confdefs.h. */ |
| 4226 |
#include <stdlib.h> |
| 4227 |
|
| 4228 |
_ACEOF |
| 4229 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4230 |
$EGREP "free" >/dev/null 2>&1; then |
| 4231 |
: |
| 4232 |
else |
| 4233 |
ac_cv_header_stdc=no |
| 4234 |
fi |
| 4235 |
rm -f conftest* |
| 4236 |
|
| 4237 |
fi |
| 4238 |
|
| 4239 |
if test $ac_cv_header_stdc = yes; then |
| 4240 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4241 |
if test "$cross_compiling" = yes; then |
| 4242 |
: |
| 4243 |
else |
| 4244 |
cat >conftest.$ac_ext <<_ACEOF |
| 4245 |
/* confdefs.h. */ |
| 4246 |
_ACEOF |
| 4247 |
cat confdefs.h >>conftest.$ac_ext |
| 4248 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4249 |
/* end confdefs.h. */ |
| 4250 |
#include <ctype.h> |
| 4251 |
#if ((' ' & 0x0FF) == 0x020) |
| 4252 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4253 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4254 |
#else |
| 4255 |
# define ISLOWER(c) \ |
| 4256 |
(('a' <= (c) && (c) <= 'i') \ |
| 4257 |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4258 |
|| ('s' <= (c) && (c) <= 'z')) |
| 4259 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4260 |
#endif |
| 4261 |
|
| 4262 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 4263 |
int |
| 4264 |
main () |
| 4265 |
{ |
| 4266 |
int i; |
| 4267 |
for (i = 0; i < 256; i++) |
| 4268 |
if (XOR (islower (i), ISLOWER (i)) |
| 4269 |
|| toupper (i) != TOUPPER (i)) |
| 4270 |
exit(2); |
| 4271 |
exit (0); |
| 4272 |
} |
| 4273 |
_ACEOF |
| 4274 |
rm -f conftest$ac_exeext |
| 4275 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4276 |
(eval $ac_link) 2>&5 |
| 4277 |
ac_status=$? |
| 4278 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4279 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 4280 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4281 |
(eval $ac_try) 2>&5 |
| 4282 |
ac_status=$? |
| 4283 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4284 |
(exit $ac_status); }; }; then |
| 4285 |
: |
| 4286 |
else |
| 4287 |
echo "$as_me: program exited with status $ac_status" >&5 |
| 4288 |
echo "$as_me: failed program was:" >&5 |
| 4289 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4290 |
|
| 4291 |
( exit $ac_status ) |
| 4292 |
ac_cv_header_stdc=no |
| 4293 |
fi |
| 4294 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4295 |
fi |
| 4296 |
fi |
| 4297 |
fi |
| 4298 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4299 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 4300 |
if test $ac_cv_header_stdc = yes; then |
| 4301 |
|
| 4302 |
cat >>confdefs.h <<\_ACEOF |
| 4303 |
@%:@define STDC_HEADERS 1 |
| 4304 |
_ACEOF |
| 4305 |
|
| 4306 |
fi |
| 4307 |
|
| 4308 |
|
| 4309 |
|
| 4310 |
|
| 4311 |
for ac_func in memset strstr strtol |
| 4312 |
do |
| 4313 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 4314 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 4315 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 4316 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 4317 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4318 |
else |
| 4319 |
cat >conftest.$ac_ext <<_ACEOF |
| 4320 |
/* confdefs.h. */ |
| 4321 |
_ACEOF |
| 4322 |
cat confdefs.h >>conftest.$ac_ext |
| 4323 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4324 |
/* end confdefs.h. */ |
| 4325 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 4326 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 4327 |
#define $ac_func innocuous_$ac_func |
| 4328 |
|
| 4329 |
/* System header to define __stub macros and hopefully few prototypes, |
| 4330 |
which can conflict with char $ac_func (); below. |
| 4331 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4332 |
<limits.h> exists even on freestanding compilers. */ |
| 4333 |
|
| 4334 |
#ifdef __STDC__ |
| 4335 |
# include <limits.h> |
| 4336 |
#else |
| 4337 |
# include <assert.h> |
| 4338 |
#endif |
| 4339 |
|
| 4340 |
#undef $ac_func |
| 4341 |
|
| 4342 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4343 |
#ifdef __cplusplus |
| 4344 |
extern "C" |
| 4345 |
{ |
| 4346 |
#endif |
| 4347 |
/* We use char because int might match the return type of a gcc2 |
| 4348 |
builtin and then its argument prototype would still apply. */ |
| 4349 |
char $ac_func (); |
| 4350 |
/* The GNU C library defines this for functions which it implements |
| 4351 |
to always fail with ENOSYS. Some functions are actually named |
| 4352 |
something starting with __ and the normal name is an alias. */ |
| 4353 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4354 |
choke me |
| 4355 |
#else |
| 4356 |
char (*f) () = $ac_func; |
| 4357 |
#endif |
| 4358 |
#ifdef __cplusplus |
| 4359 |
} |
| 4360 |
#endif |
| 4361 |
|
| 4362 |
int |
| 4363 |
main () |
| 4364 |
{ |
| 4365 |
return f != $ac_func; |
| 4366 |
; |
| 4367 |
return 0; |
| 4368 |
} |
| 4369 |
_ACEOF |
| 4370 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4371 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4372 |
(eval $ac_link) 2>conftest.er1 |
| 4373 |
ac_status=$? |
| 4374 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4375 |
rm -f conftest.er1 |
| 4376 |
cat conftest.err >&5 |
| 4377 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4378 |
(exit $ac_status); } && |
| 4379 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4380 |
|| test ! -s conftest.err' |
| 4381 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4382 |
(eval $ac_try) 2>&5 |
| 4383 |
ac_status=$? |
| 4384 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4385 |
(exit $ac_status); }; } && |
| 4386 |
{ ac_try='test -s conftest$ac_exeext' |
| 4387 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4388 |
(eval $ac_try) 2>&5 |
| 4389 |
ac_status=$? |
| 4390 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4391 |
(exit $ac_status); }; }; then |
| 4392 |
eval "$as_ac_var=yes" |
| 4393 |
else |
| 4394 |
echo "$as_me: failed program was:" >&5 |
| 4395 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4396 |
|
| 4397 |
eval "$as_ac_var=no" |
| 4398 |
fi |
| 4399 |
rm -f conftest.err conftest.$ac_objext \ |
| 4400 |
conftest$ac_exeext conftest.$ac_ext |
| 4401 |
fi |
| 4402 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 4403 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 4404 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 4405 |
cat >>confdefs.h <<_ACEOF |
| 4406 |
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 4407 |
_ACEOF |
| 4408 |
|
| 4409 |
fi |
| 4410 |
done |
| 4411 |
|
| 4412 |
|
| 4413 |
ac_config_files="$ac_config_files Makefile" |
| 4414 |
|
| 4415 |
cat >confcache <<\_ACEOF |
| 4416 |
# This file is a shell script that caches the results of configure |
| 4417 |
# tests run on this system so they can be shared between configure |
| 4418 |
# scripts and configure runs, see configure's option --config-cache. |
| 4419 |
# It is not useful on other systems. If it contains results you don't |
| 4420 |
# want to keep, you may remove or edit it. |
| 4421 |
# |
| 4422 |
# config.status only pays attention to the cache file if you give it |
| 4423 |
# the --recheck option to rerun configure. |
| 4424 |
# |
| 4425 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 4426 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 4427 |
# following values. |
| 4428 |
|
| 4429 |
_ACEOF |
| 4430 |
|
| 4431 |
# The following way of writing the cache mishandles newlines in values, |
| 4432 |
# but we know of no workaround that is simple, portable, and efficient. |
| 4433 |
# So, don't put newlines in cache variables' values. |
| 4434 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 4435 |
# and sets the high bit in the cache file unless we assign to the vars. |
| 4436 |
{ |
| 4437 |
(set) 2>&1 | |
| 4438 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 4439 |
*ac_space=\ *) |
| 4440 |
# `set' does not quote correctly, so add quotes (double-quote |
| 4441 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 4442 |
sed -n \ |
| 4443 |
"s/'/'\\\\''/g; |
| 4444 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 4445 |
;; |
| 4446 |
*) |
| 4447 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 4448 |
sed -n \ |
| 4449 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 4450 |
;; |
| 4451 |
esac; |
| 4452 |
} | |
| 4453 |
sed ' |
| 4454 |
t clear |
| 4455 |
: clear |
| 4456 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 4457 |
t end |
| 4458 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 4459 |
: end' >>confcache |
| 4460 |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 4461 |
if test -w $cache_file; then |
| 4462 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 4463 |
cat confcache >$cache_file |
| 4464 |
else |
| 4465 |
echo "not updating unwritable cache $cache_file" |
| 4466 |
fi |
| 4467 |
fi |
| 4468 |
rm -f confcache |
| 4469 |
|
| 4470 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 4471 |
# Let make expand exec_prefix. |
| 4472 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 4473 |
|
| 4474 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 4475 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 4476 |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 4477 |
# (actually we leave an empty line to preserve line numbers). |
| 4478 |
if test "x$srcdir" = x.; then |
| 4479 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 4480 |
s/:*\$(srcdir):*/:/; |
| 4481 |
s/:*\${srcdir}:*/:/; |
| 4482 |
s/:*@srcdir@:*/:/; |
| 4483 |
s/^\([^=]*=[ ]*\):*/\1/; |
| 4484 |
s/:*$//; |
| 4485 |
s/^[^=]*=[ ]*$//; |
| 4486 |
}' |
| 4487 |
fi |
| 4488 |
|
| 4489 |
DEFS=-DHAVE_CONFIG_H |
| 4490 |
|
| 4491 |
ac_libobjs= |
| 4492 |
ac_ltlibobjs= |
| 4493 |
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
| 4494 |
# 1. Remove the extension, and $U if already installed. |
| 4495 |
ac_i=`echo "$ac_i" | |
| 4496 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 4497 |
# 2. Add them. |
| 4498 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 4499 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 4500 |
done |
| 4501 |
LIB@&t@OBJS=$ac_libobjs |
| 4502 |
|
| 4503 |
LTLIBOBJS=$ac_ltlibobjs |
| 4504 |
|
| 4505 |
|
| 4506 |
if test -z "${IS_DARWIN_TRUE}" && test -z "${IS_DARWIN_FALSE}"; then |
| 4507 |
{ { echo "$as_me:$LINENO: error: conditional \"IS_DARWIN\" was never defined. |
| 4508 |
Usually this means the macro was only invoked conditionally." >&5 |
| 4509 |
echo "$as_me: error: conditional \"IS_DARWIN\" was never defined. |
| 4510 |
Usually this means the macro was only invoked conditionally." >&2;} |
| 4511 |
{ (exit 1); exit 1; }; } |
| 4512 |
fi |
| 4513 |
if test -z "${IS_MINGW_TRUE}" && test -z "${IS_MINGW_FALSE}"; then |
| 4514 |
{ { echo "$as_me:$LINENO: error: conditional \"IS_MINGW\" was never defined. |
| 4515 |
Usually this means the macro was only invoked conditionally." >&5 |
| 4516 |
echo "$as_me: error: conditional \"IS_MINGW\" was never defined. |
| 4517 |
Usually this means the macro was only invoked conditionally." >&2;} |
| 4518 |
{ (exit 1); exit 1; }; } |
| 4519 |
fi |
| 4520 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 4521 |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
| 4522 |
Usually this means the macro was only invoked conditionally." >&5 |
| 4523 |
echo "$as_me: error: conditional \"AMDEP\" was never defined. |
| 4524 |
Usually this means the macro was only invoked conditionally." >&2;} |
| 4525 |
{ (exit 1); exit 1; }; } |
| 4526 |
fi |
| 4527 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| 4528 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
| 4529 |
Usually this means the macro was only invoked conditionally." >&5 |
| 4530 |
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
| 4531 |
Usually this means the macro was only invoked conditionally." >&2;} |
| 4532 |
{ (exit 1); exit 1; }; } |
| 4533 |
fi |
| 4534 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 4535 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| 4536 |
Usually this means the macro was only invoked conditionally." >&5 |
| 4537 |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| 4538 |
Usually this means the macro was only invoked conditionally." >&2;} |
| 4539 |
{ (exit 1); exit 1; }; } |
| 4540 |
fi |
| 4541 |
|
| 4542 |
: ${CONFIG_STATUS=./config.status} |
| 4543 |
ac_clean_files_save=$ac_clean_files |
| 4544 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 4545 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 4546 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 4547 |
cat >$CONFIG_STATUS <<_ACEOF |
| 4548 |
#! $SHELL |
| 4549 |
# Generated by $as_me. |
| 4550 |
# Run this file to recreate the current configuration. |
| 4551 |
# Compiler output produced by configure, useful for debugging |
| 4552 |
# configure, is in config.log if it exists. |
| 4553 |
|
| 4554 |
debug=false |
| 4555 |
ac_cs_recheck=false |
| 4556 |
ac_cs_silent=false |
| 4557 |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 4558 |
_ACEOF |
| 4559 |
|
| 4560 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 4561 |
## --------------------- ## |
| 4562 |
## M4sh Initialization. ## |
| 4563 |
## --------------------- ## |
| 4564 |
|
| 4565 |
# Be Bourne compatible |
| 4566 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 4567 |
emulate sh |
| 4568 |
NULLCMD=: |
| 4569 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 4570 |
# is contrary to our usage. Disable this feature. |
| 4571 |
alias -g '${1+"$@"}'='"$@"' |
| 4572 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 4573 |
set -o posix |
| 4574 |
fi |
| 4575 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 4576 |
|
| 4577 |
# Support unset when possible. |
| 4578 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 4579 |
as_unset=unset |
| 4580 |
else |
| 4581 |
as_unset=false |
| 4582 |
fi |
| 4583 |
|
| 4584 |
|
| 4585 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 4586 |
$as_unset ENV MAIL MAILPATH |
| 4587 |
PS1='$ ' |
| 4588 |
PS2='> ' |
| 4589 |
PS4='+ ' |
| 4590 |
|
| 4591 |
# NLS nuisances. |
| 4592 |
for as_var in \ |
| 4593 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 4594 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 4595 |
LC_TELEPHONE LC_TIME |
| 4596 |
do |
| 4597 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 4598 |
eval $as_var=C; export $as_var |
| 4599 |
else |
| 4600 |
$as_unset $as_var |
| 4601 |
fi |
| 4602 |
done |
| 4603 |
|
| 4604 |
# Required to use basename. |
| 4605 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 4606 |
as_expr=expr |
| 4607 |
else |
| 4608 |
as_expr=false |
| 4609 |
fi |
| 4610 |
|
| 4611 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 4612 |
as_basename=basename |
| 4613 |
else |
| 4614 |
as_basename=false |
| 4615 |
fi |
| 4616 |
|
| 4617 |
|
| 4618 |
# Name of the executable. |
| 4619 |
as_me=`$as_basename "$0" || |
| 4620 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 4621 |
X"$0" : 'X\(//\)$' \| \ |
| 4622 |
X"$0" : 'X\(/\)$' \| \ |
| 4623 |
. : '\(.\)' 2>/dev/null || |
| 4624 |
echo X/"$0" | |
| 4625 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 4626 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 4627 |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 4628 |
s/.*/./; q'` |
| 4629 |
|
| 4630 |
|
| 4631 |
# PATH needs CR, and LINENO needs CR and PATH. |
| 4632 |
# Avoid depending upon Character Ranges. |
| 4633 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 4634 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 4635 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 4636 |
as_cr_digits='0123456789' |
| 4637 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 4638 |
|
| 4639 |
# The user is always right. |
| 4640 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 4641 |
echo "#! /bin/sh" >conf$$.sh |
| 4642 |
echo "exit 0" >>conf$$.sh |
| 4643 |
chmod +x conf$$.sh |
| 4644 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 4645 |
PATH_SEPARATOR=';' |
| 4646 |
else |
| 4647 |
PATH_SEPARATOR=: |
| 4648 |
fi |
| 4649 |
rm -f conf$$.sh |
| 4650 |
fi |
| 4651 |
|
| 4652 |
|
| 4653 |
as_lineno_1=$LINENO |
| 4654 |
as_lineno_2=$LINENO |
| 4655 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 4656 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 4657 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 4658 |
# Find who we are. Look in the path if we contain no path at all |
| 4659 |
# relative or not. |
| 4660 |
case $0 in |
| 4661 |
*[\\/]* ) as_myself=$0 ;; |
| 4662 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4663 |
for as_dir in $PATH |
| 4664 |
do |
| 4665 |
IFS=$as_save_IFS |
| 4666 |
test -z "$as_dir" && as_dir=. |
| 4667 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 4668 |
done |
| 4669 |
|
| 4670 |
;; |
| 4671 |
esac |
| 4672 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 4673 |
# in which case we are not to be found in the path. |
| 4674 |
if test "x$as_myself" = x; then |
| 4675 |
as_myself=$0 |
| 4676 |
fi |
| 4677 |
if test ! -f "$as_myself"; then |
| 4678 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
| 4679 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
| 4680 |
{ (exit 1); exit 1; }; } |
| 4681 |
fi |
| 4682 |
case $CONFIG_SHELL in |
| 4683 |
'') |
| 4684 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4685 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 4686 |
do |
| 4687 |
IFS=$as_save_IFS |
| 4688 |
test -z "$as_dir" && as_dir=. |
| 4689 |
for as_base in sh bash ksh sh5; do |
| 4690 |
case $as_dir in |
| 4691 |
/*) |
| 4692 |
if ("$as_dir/$as_base" -c ' |
| 4693 |
as_lineno_1=$LINENO |
| 4694 |
as_lineno_2=$LINENO |
| 4695 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 4696 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 4697 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 4698 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 4699 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 4700 |
CONFIG_SHELL=$as_dir/$as_base |
| 4701 |
export CONFIG_SHELL |
| 4702 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 4703 |
fi;; |
| 4704 |
esac |
| 4705 |
done |
| 4706 |
done |
| 4707 |
;; |
| 4708 |
esac |
| 4709 |
|
| 4710 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 4711 |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 4712 |
# line-number line before each line; the second 'sed' does the real |
| 4713 |
# work. The second script uses 'N' to pair each line-number line |
| 4714 |
# with the numbered line, and appends trailing '-' during |
| 4715 |
# substitution so that $LINENO is not a special case at line end. |
| 4716 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 4717 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 4718 |
sed '=' <$as_myself | |
| 4719 |
sed ' |
| 4720 |
N |
| 4721 |
s,$,-, |
| 4722 |
: loop |
| 4723 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 4724 |
t loop |
| 4725 |
s,-$,, |
| 4726 |
s,^['$as_cr_digits']*\n,, |
| 4727 |
' >$as_me.lineno && |
| 4728 |
chmod +x $as_me.lineno || |
| 4729 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
| 4730 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
| 4731 |
{ (exit 1); exit 1; }; } |
| 4732 |
|
| 4733 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 4734 |
# (the dirname of $[0] is not the place where we might find the |
| 4735 |
# original and so on. Autoconf is especially sensible to this). |
| 4736 |
. ./$as_me.lineno |
| 4737 |
# Exit status is that of the last command. |
| 4738 |
exit |
| 4739 |
} |
| 4740 |
|
| 4741 |
|
| 4742 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 4743 |
*c*,-n*) ECHO_N= ECHO_C=' |
| 4744 |
' ECHO_T=' ' ;; |
| 4745 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 4746 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 4747 |
esac |
| 4748 |
|
| 4749 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 4750 |
as_expr=expr |
| 4751 |
else |
| 4752 |
as_expr=false |
| 4753 |
fi |
| 4754 |
|
| 4755 |
rm -f conf$$ conf$$.exe conf$$.file |
| 4756 |
echo >conf$$.file |
| 4757 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 4758 |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 4759 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 4760 |
if test -f conf$$.exe; then |
| 4761 |
# Don't use ln at all; we don't have any links |
| 4762 |
as_ln_s='cp -p' |
| 4763 |
else |
| 4764 |
as_ln_s='ln -s' |
| 4765 |
fi |
| 4766 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 4767 |
as_ln_s=ln |
| 4768 |
else |
| 4769 |
as_ln_s='cp -p' |
| 4770 |
fi |
| 4771 |
rm -f conf$$ conf$$.exe conf$$.file |
| 4772 |
|
| 4773 |
if mkdir -p . 2>/dev/null; then |
| 4774 |
as_mkdir_p=: |
| 4775 |
else |
| 4776 |
test -d ./-p && rmdir ./-p |
| 4777 |
as_mkdir_p=false |
| 4778 |
fi |
| 4779 |
|
| 4780 |
as_executable_p="test -f" |
| 4781 |
|
| 4782 |
# Sed expression to map a string onto a valid CPP name. |
| 4783 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 4784 |
|
| 4785 |
# Sed expression to map a string onto a valid variable name. |
| 4786 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 4787 |
|
| 4788 |
|
| 4789 |
# IFS |
| 4790 |
# We need space, tab and new line, in precisely that order. |
| 4791 |
as_nl=' |
| 4792 |
' |
| 4793 |
IFS=" $as_nl" |
| 4794 |
|
| 4795 |
# CDPATH. |
| 4796 |
$as_unset CDPATH |
| 4797 |
|
| 4798 |
exec 6>&1 |
| 4799 |
|
| 4800 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
| 4801 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 4802 |
# values after options handling. Logging --version etc. is OK. |
| 4803 |
exec 5>>config.log |
| 4804 |
{ |
| 4805 |
echo |
| 4806 |
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
| 4807 |
@%:@@%:@ Running $as_me. @%:@@%:@ |
| 4808 |
_ASBOX |
| 4809 |
} >&5 |
| 4810 |
cat >&5 <<_CSEOF |
| 4811 |
|
| 4812 |
This file was extended by mnote $as_me 0.9, which was |
| 4813 |
generated by GNU Autoconf 2.59. Invocation command line was |
| 4814 |
|
| 4815 |
CONFIG_FILES = $CONFIG_FILES |
| 4816 |
CONFIG_HEADERS = $CONFIG_HEADERS |
| 4817 |
CONFIG_LINKS = $CONFIG_LINKS |
| 4818 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 4819 |
$ $0 $@ |
| 4820 |
|
| 4821 |
_CSEOF |
| 4822 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
| 4823 |
echo >&5 |
| 4824 |
_ACEOF |
| 4825 |
|
| 4826 |
# Files that config.status was made for. |
| 4827 |
if test -n "$ac_config_files"; then |
| 4828 |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
| 4829 |
fi |
| 4830 |
|
| 4831 |
if test -n "$ac_config_headers"; then |
| 4832 |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
| 4833 |
fi |
| 4834 |
|
| 4835 |
if test -n "$ac_config_links"; then |
| 4836 |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
| 4837 |
fi |
| 4838 |
|
| 4839 |
if test -n "$ac_config_commands"; then |
| 4840 |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
| 4841 |
fi |
| 4842 |
|
| 4843 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 4844 |
|
| 4845 |
ac_cs_usage="\ |
| 4846 |
\`$as_me' instantiates files from templates according to the |
| 4847 |
current configuration. |
| 4848 |
|
| 4849 |
Usage: $0 [OPTIONS] [FILE]... |
| 4850 |
|
| 4851 |
-h, --help print this help, then exit |
| 4852 |
-V, --version print version number, then exit |
| 4853 |
-q, --quiet do not print progress messages |
| 4854 |
-d, --debug don't remove temporary files |
| 4855 |
--recheck update $as_me by reconfiguring in the same conditions |
| 4856 |
--file=FILE[:TEMPLATE] |
| 4857 |
instantiate the configuration file FILE |
| 4858 |
--header=FILE[:TEMPLATE] |
| 4859 |
instantiate the configuration header FILE |
| 4860 |
|
| 4861 |
Configuration files: |
| 4862 |
$config_files |
| 4863 |
|
| 4864 |
Configuration headers: |
| 4865 |
$config_headers |
| 4866 |
|
| 4867 |
Configuration commands: |
| 4868 |
$config_commands |
| 4869 |
|
| 4870 |
Report bugs to <bug-autoconf@gnu.org>." |
| 4871 |
_ACEOF |
| 4872 |
|
| 4873 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 4874 |
ac_cs_version="\\ |
| 4875 |
mnote config.status 0.9 |
| 4876 |
configured by $0, generated by GNU Autoconf 2.59, |
| 4877 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 4878 |
|
| 4879 |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 4880 |
This config.status script is free software; the Free Software Foundation |
| 4881 |
gives unlimited permission to copy, distribute and modify it." |
| 4882 |
srcdir=$srcdir |
| 4883 |
INSTALL="$INSTALL" |
| 4884 |
_ACEOF |
| 4885 |
|
| 4886 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 4887 |
# If no file are specified by the user, then we need to provide default |
| 4888 |
# value. By we need to know if files were specified by the user. |
| 4889 |
ac_need_defaults=: |
| 4890 |
while test $# != 0 |
| 4891 |
do |
| 4892 |
case $1 in |
| 4893 |
--*=*) |
| 4894 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| 4895 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| 4896 |
ac_shift=: |
| 4897 |
;; |
| 4898 |
-*) |
| 4899 |
ac_option=$1 |
| 4900 |
ac_optarg=$2 |
| 4901 |
ac_shift=shift |
| 4902 |
;; |
| 4903 |
*) # This is not an option, so the user has probably given explicit |
| 4904 |
# arguments. |
| 4905 |
ac_option=$1 |
| 4906 |
ac_need_defaults=false;; |
| 4907 |
esac |
| 4908 |
|
| 4909 |
case $ac_option in |
| 4910 |
# Handling of the options. |
| 4911 |
_ACEOF |
| 4912 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 4913 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 4914 |
ac_cs_recheck=: ;; |
| 4915 |
--version | --vers* | -V ) |
| 4916 |
echo "$ac_cs_version"; exit 0 ;; |
| 4917 |
--he | --h) |
| 4918 |
# Conflict between --help and --header |
| 4919 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
| 4920 |
Try \`$0 --help' for more information." >&5 |
| 4921 |
echo "$as_me: error: ambiguous option: $1 |
| 4922 |
Try \`$0 --help' for more information." >&2;} |
| 4923 |
{ (exit 1); exit 1; }; };; |
| 4924 |
--help | --hel | -h ) |
| 4925 |
echo "$ac_cs_usage"; exit 0 ;; |
| 4926 |
--debug | --d* | -d ) |
| 4927 |
debug=: ;; |
| 4928 |
--file | --fil | --fi | --f ) |
| 4929 |
$ac_shift |
| 4930 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
| 4931 |
ac_need_defaults=false;; |
| 4932 |
--header | --heade | --head | --hea ) |
| 4933 |
$ac_shift |
| 4934 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 4935 |
ac_need_defaults=false;; |
| 4936 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 4937 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 4938 |
ac_cs_silent=: ;; |
| 4939 |
|
| 4940 |
# This is an error. |
| 4941 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
| 4942 |
Try \`$0 --help' for more information." >&5 |
| 4943 |
echo "$as_me: error: unrecognized option: $1 |
| 4944 |
Try \`$0 --help' for more information." >&2;} |
| 4945 |
{ (exit 1); exit 1; }; } ;; |
| 4946 |
|
| 4947 |
*) ac_config_targets="$ac_config_targets $1" ;; |
| 4948 |
|
| 4949 |
esac |
| 4950 |
shift |
| 4951 |
done |
| 4952 |
|
| 4953 |
ac_configure_extra_args= |
| 4954 |
|
| 4955 |
if $ac_cs_silent; then |
| 4956 |
exec 6>/dev/null |
| 4957 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 4958 |
fi |
| 4959 |
|
| 4960 |
_ACEOF |
| 4961 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 4962 |
if \$ac_cs_recheck; then |
| 4963 |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 4964 |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 4965 |
fi |
| 4966 |
|
| 4967 |
_ACEOF |
| 4968 |
|
| 4969 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 4970 |
# |
| 4971 |
# INIT-COMMANDS section. |
| 4972 |
# |
| 4973 |
|
| 4974 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 4975 |
|
| 4976 |
_ACEOF |
| 4977 |
|
| 4978 |
|
| 4979 |
|
| 4980 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 4981 |
for ac_config_target in $ac_config_targets |
| 4982 |
do |
| 4983 |
case "$ac_config_target" in |
| 4984 |
# Handling of arguments. |
| 4985 |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 4986 |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 4987 |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 4988 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 4989 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 4990 |
{ (exit 1); exit 1; }; };; |
| 4991 |
esac |
| 4992 |
done |
| 4993 |
|
| 4994 |
# If the user did not use the arguments to specify the items to instantiate, |
| 4995 |
# then the envvar interface is used. Set only those that are not. |
| 4996 |
# We use the long form for the default assignment because of an extremely |
| 4997 |
# bizarre bug on SunOS 4.1.3. |
| 4998 |
if $ac_need_defaults; then |
| 4999 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 5000 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 5001 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 5002 |
fi |
| 5003 |
|
| 5004 |
# Have a temporary directory for convenience. Make it in the build tree |
| 5005 |
# simply because there is no reason to put it here, and in addition, |
| 5006 |
# creating and moving files from /tmp can sometimes cause problems. |
| 5007 |
# Create a temporary directory, and hook for its removal unless debugging. |
| 5008 |
$debug || |
| 5009 |
{ |
| 5010 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| 5011 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 5012 |
} |
| 5013 |
|
| 5014 |
# Create a (secure) tmp directory for tmp files. |
| 5015 |
|
| 5016 |
{ |
| 5017 |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| 5018 |
test -n "$tmp" && test -d "$tmp" |
| 5019 |
} || |
| 5020 |
{ |
| 5021 |
tmp=./confstat$$-$RANDOM |
| 5022 |
(umask 077 && mkdir $tmp) |
| 5023 |
} || |
| 5024 |
{ |
| 5025 |
echo "$me: cannot create a temporary directory in ." >&2 |
| 5026 |
{ (exit 1); exit 1; } |
| 5027 |
} |
| 5028 |
|
| 5029 |
_ACEOF |
| 5030 |
|
| 5031 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 5032 |
|
| 5033 |
# |
| 5034 |
# CONFIG_FILES section. |
| 5035 |
# |
| 5036 |
|
| 5037 |
# No need to generate the scripts if there are no CONFIG_FILES. |
| 5038 |
# This happens for instance when ./config.status config.h |
| 5039 |
if test -n "\$CONFIG_FILES"; then |
| 5040 |
# Protect against being on the right side of a sed subst in config.status. |
| 5041 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
| 5042 |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
| 5043 |
s,@SHELL@,$SHELL,;t t |
| 5044 |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
| 5045 |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
| 5046 |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
| 5047 |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
| 5048 |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
| 5049 |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
| 5050 |
s,@exec_prefix@,$exec_prefix,;t t |
| 5051 |
s,@prefix@,$prefix,;t t |
| 5052 |
s,@program_transform_name@,$program_transform_name,;t t |
| 5053 |
s,@bindir@,$bindir,;t t |
| 5054 |
s,@sbindir@,$sbindir,;t t |
| 5055 |
s,@libexecdir@,$libexecdir,;t t |
| 5056 |
s,@datadir@,$datadir,;t t |
| 5057 |
s,@sysconfdir@,$sysconfdir,;t t |
| 5058 |
s,@sharedstatedir@,$sharedstatedir,;t t |
| 5059 |
s,@localstatedir@,$localstatedir,;t t |
| 5060 |
s,@libdir@,$libdir,;t t |
| 5061 |
s,@includedir@,$includedir,;t t |
| 5062 |
s,@oldincludedir@,$oldincludedir,;t t |
| 5063 |
s,@infodir@,$infodir,;t t |
| 5064 |
s,@mandir@,$mandir,;t t |
| 5065 |
s,@build_alias@,$build_alias,;t t |
| 5066 |
s,@host_alias@,$host_alias,;t t |
| 5067 |
s,@target_alias@,$target_alias,;t t |
| 5068 |
s,@DEFS@,$DEFS,;t t |
| 5069 |
s,@ECHO_C@,$ECHO_C,;t t |
| 5070 |
s,@ECHO_N@,$ECHO_N,;t t |
| 5071 |
s,@ECHO_T@,$ECHO_T,;t t |
| 5072 |
s,@LIBS@,$LIBS,;t t |
| 5073 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 5074 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 5075 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 5076 |
s,@CYGPATH_W@,$CYGPATH_W,;t t |
| 5077 |
s,@PACKAGE@,$PACKAGE,;t t |
| 5078 |
s,@VERSION@,$VERSION,;t t |
| 5079 |
s,@ACLOCAL@,$ACLOCAL,;t t |
| 5080 |
s,@AUTOCONF@,$AUTOCONF,;t t |
| 5081 |
s,@AUTOMAKE@,$AUTOMAKE,;t t |
| 5082 |
s,@AUTOHEADER@,$AUTOHEADER,;t t |
| 5083 |
s,@MAKEINFO@,$MAKEINFO,;t t |
| 5084 |
s,@install_sh@,$install_sh,;t t |
| 5085 |
s,@STRIP@,$STRIP,;t t |
| 5086 |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
| 5087 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
| 5088 |
s,@mkdir_p@,$mkdir_p,;t t |
| 5089 |
s,@AWK@,$AWK,;t t |
| 5090 |
s,@SET_MAKE@,$SET_MAKE,;t t |
| 5091 |
s,@am__leading_dot@,$am__leading_dot,;t t |
| 5092 |
s,@AMTAR@,$AMTAR,;t t |
| 5093 |
s,@am__tar@,$am__tar,;t t |
| 5094 |
s,@am__untar@,$am__untar,;t t |
| 5095 |
s,@build@,$build,;t t |
| 5096 |
s,@build_cpu@,$build_cpu,;t t |
| 5097 |
s,@build_vendor@,$build_vendor,;t t |
| 5098 |
s,@build_os@,$build_os,;t t |
| 5099 |
s,@host@,$host,;t t |
| 5100 |
s,@host_cpu@,$host_cpu,;t t |
| 5101 |
s,@host_vendor@,$host_vendor,;t t |
| 5102 |
s,@host_os@,$host_os,;t t |
| 5103 |
s,@IS_DARWIN_TRUE@,$IS_DARWIN_TRUE,;t t |
| 5104 |
s,@IS_DARWIN_FALSE@,$IS_DARWIN_FALSE,;t t |
| 5105 |
s,@IS_MINGW_TRUE@,$IS_MINGW_TRUE,;t t |
| 5106 |
s,@IS_MINGW_FALSE@,$IS_MINGW_FALSE,;t t |
| 5107 |
s,@CXX@,$CXX,;t t |
| 5108 |
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 5109 |
s,@LDFLAGS@,$LDFLAGS,;t t |
| 5110 |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 5111 |
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 5112 |
s,@EXEEXT@,$EXEEXT,;t t |
| 5113 |
s,@OBJEXT@,$OBJEXT,;t t |
| 5114 |
s,@DEPDIR@,$DEPDIR,;t t |
| 5115 |
s,@am__include@,$am__include,;t t |
| 5116 |
s,@am__quote@,$am__quote,;t t |
| 5117 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
| 5118 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
| 5119 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
| 5120 |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
| 5121 |
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t |
| 5122 |
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t |
| 5123 |
s,@CC@,$CC,;t t |
| 5124 |
s,@CFLAGS@,$CFLAGS,;t t |
| 5125 |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 5126 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
| 5127 |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
| 5128 |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
| 5129 |
s,@CPP@,$CPP,;t t |
| 5130 |
s,@EGREP@,$EGREP,;t t |
| 5131 |
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t |
| 5132 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 5133 |
CEOF |
| 5134 |
|
| 5135 |
_ACEOF |
| 5136 |
|
| 5137 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5138 |
# Split the substitutions into bite-sized pieces for seds with |
| 5139 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
| 5140 |
ac_max_sed_lines=48 |
| 5141 |
ac_sed_frag=1 # Number of current file. |
| 5142 |
ac_beg=1 # First line for current file. |
| 5143 |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
| 5144 |
ac_more_lines=: |
| 5145 |
ac_sed_cmds= |
| 5146 |
while $ac_more_lines; do |
| 5147 |
if test $ac_beg -gt 1; then |
| 5148 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 5149 |
else |
| 5150 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 5151 |
fi |
| 5152 |
if test ! -s $tmp/subs.frag; then |
| 5153 |
ac_more_lines=false |
| 5154 |
else |
| 5155 |
# The purpose of the label and of the branching condition is to |
| 5156 |
# speed up the sed processing (if there are no `@' at all, there |
| 5157 |
# is no need to browse any of the substitutions). |
| 5158 |
# These are the two extra sed commands mentioned above. |
| 5159 |
(echo ':t |
| 5160 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 5161 |
if test -z "$ac_sed_cmds"; then |
| 5162 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 5163 |
else |
| 5164 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 5165 |
fi |
| 5166 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
| 5167 |
ac_beg=$ac_end |
| 5168 |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
| 5169 |
fi |
| 5170 |
done |
| 5171 |
if test -z "$ac_sed_cmds"; then |
| 5172 |
ac_sed_cmds=cat |
| 5173 |
fi |
| 5174 |
fi # test -n "$CONFIG_FILES" |
| 5175 |
|
| 5176 |
_ACEOF |
| 5177 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5178 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
| 5179 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 5180 |
case $ac_file in |
| 5181 |
- | *:- | *:-:* ) # input from stdin |
| 5182 |
cat >$tmp/stdin |
| 5183 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 5184 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 5185 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 5186 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 5187 |
* ) ac_file_in=$ac_file.in ;; |
| 5188 |
esac |
| 5189 |
|
| 5190 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 5191 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 5192 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5193 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 5194 |
X"$ac_file" : 'X\(//\)$' \| \ |
| 5195 |
X"$ac_file" : 'X\(/\)' \| \ |
| 5196 |
. : '\(.\)' 2>/dev/null || |
| 5197 |
echo X"$ac_file" | |
| 5198 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5199 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5200 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5201 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5202 |
s/.*/./; q'` |
| 5203 |
{ if $as_mkdir_p; then |
| 5204 |
mkdir -p "$ac_dir" |
| 5205 |
else |
| 5206 |
as_dir="$ac_dir" |
| 5207 |
as_dirs= |
| 5208 |
while test ! -d "$as_dir"; do |
| 5209 |
as_dirs="$as_dir $as_dirs" |
| 5210 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 5211 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5212 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 5213 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 5214 |
X"$as_dir" : 'X\(/\)' \| \ |
| 5215 |
. : '\(.\)' 2>/dev/null || |
| 5216 |
echo X"$as_dir" | |
| 5217 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5218 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5219 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5220 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5221 |
s/.*/./; q'` |
| 5222 |
done |
| 5223 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 5224 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 5225 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 5226 |
{ (exit 1); exit 1; }; }; } |
| 5227 |
|
| 5228 |
ac_builddir=. |
| 5229 |
|
| 5230 |
if test "$ac_dir" != .; then |
| 5231 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 5232 |
# A "../" for each directory in $ac_dir_suffix. |
| 5233 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 5234 |
else |
| 5235 |
ac_dir_suffix= ac_top_builddir= |
| 5236 |
fi |
| 5237 |
|
| 5238 |
case $srcdir in |
| 5239 |
.) # No --srcdir option. We are building in place. |
| 5240 |
ac_srcdir=. |
| 5241 |
if test -z "$ac_top_builddir"; then |
| 5242 |
ac_top_srcdir=. |
| 5243 |
else |
| 5244 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 5245 |
fi ;; |
| 5246 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 5247 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 5248 |
ac_top_srcdir=$srcdir ;; |
| 5249 |
*) # Relative path. |
| 5250 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 5251 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 5252 |
esac |
| 5253 |
|
| 5254 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 5255 |
# the directories may not exist. |
| 5256 |
case `pwd` in |
| 5257 |
.) ac_abs_builddir="$ac_dir";; |
| 5258 |
*) |
| 5259 |
case "$ac_dir" in |
| 5260 |
.) ac_abs_builddir=`pwd`;; |
| 5261 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 5262 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 5263 |
esac;; |
| 5264 |
esac |
| 5265 |
case $ac_abs_builddir in |
| 5266 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 5267 |
*) |
| 5268 |
case ${ac_top_builddir}. in |
| 5269 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 5270 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 5271 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 5272 |
esac;; |
| 5273 |
esac |
| 5274 |
case $ac_abs_builddir in |
| 5275 |
.) ac_abs_srcdir=$ac_srcdir;; |
| 5276 |
*) |
| 5277 |
case $ac_srcdir in |
| 5278 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 5279 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 5280 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 5281 |
esac;; |
| 5282 |
esac |
| 5283 |
case $ac_abs_builddir in |
| 5284 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 5285 |
*) |
| 5286 |
case $ac_top_srcdir in |
| 5287 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 5288 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 5289 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 5290 |
esac;; |
| 5291 |
esac |
| 5292 |
|
| 5293 |
|
| 5294 |
case $INSTALL in |
| 5295 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 5296 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 5297 |
esac |
| 5298 |
|
| 5299 |
if test x"$ac_file" != x-; then |
| 5300 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 5301 |
echo "$as_me: creating $ac_file" >&6;} |
| 5302 |
rm -f "$ac_file" |
| 5303 |
fi |
| 5304 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 5305 |
# use $as_me), people would be surprised to read: |
| 5306 |
# /* config.h. Generated by config.status. */ |
| 5307 |
if test x"$ac_file" = x-; then |
| 5308 |
configure_input= |
| 5309 |
else |
| 5310 |
configure_input="$ac_file. " |
| 5311 |
fi |
| 5312 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 5313 |
sed 's,.*/,,'` by configure." |
| 5314 |
|
| 5315 |
# First look for the input files in the build tree, otherwise in the |
| 5316 |
# src tree. |
| 5317 |
ac_file_inputs=`IFS=: |
| 5318 |
for f in $ac_file_in; do |
| 5319 |
case $f in |
| 5320 |
-) echo $tmp/stdin ;; |
| 5321 |
[\\/$]*) |
| 5322 |
# Absolute (can't be DOS-style, as IFS=:) |
| 5323 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 5324 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 5325 |
{ (exit 1); exit 1; }; } |
| 5326 |
echo "$f";; |
| 5327 |
*) # Relative |
| 5328 |
if test -f "$f"; then |
| 5329 |
# Build tree |
| 5330 |
echo "$f" |
| 5331 |
elif test -f "$srcdir/$f"; then |
| 5332 |
# Source tree |
| 5333 |
echo "$srcdir/$f" |
| 5334 |
else |
| 5335 |
# /dev/null tree |
| 5336 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 5337 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 5338 |
{ (exit 1); exit 1; }; } |
| 5339 |
fi;; |
| 5340 |
esac |
| 5341 |
done` || { (exit 1); exit 1; } |
| 5342 |
_ACEOF |
| 5343 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 5344 |
sed "$ac_vpsub |
| 5345 |
$extrasub |
| 5346 |
_ACEOF |
| 5347 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5348 |
:t |
| 5349 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 5350 |
s,@configure_input@,$configure_input,;t t |
| 5351 |
s,@srcdir@,$ac_srcdir,;t t |
| 5352 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
| 5353 |
s,@top_srcdir@,$ac_top_srcdir,;t t |
| 5354 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
| 5355 |
s,@builddir@,$ac_builddir,;t t |
| 5356 |
s,@abs_builddir@,$ac_abs_builddir,;t t |
| 5357 |
s,@top_builddir@,$ac_top_builddir,;t t |
| 5358 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
| 5359 |
s,@INSTALL@,$ac_INSTALL,;t t |
| 5360 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
| 5361 |
rm -f $tmp/stdin |
| 5362 |
if test x"$ac_file" != x-; then |
| 5363 |
mv $tmp/out $ac_file |
| 5364 |
else |
| 5365 |
cat $tmp/out |
| 5366 |
rm -f $tmp/out |
| 5367 |
fi |
| 5368 |
|
| 5369 |
done |
| 5370 |
_ACEOF |
| 5371 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5372 |
|
| 5373 |
# |
| 5374 |
# CONFIG_HEADER section. |
| 5375 |
# |
| 5376 |
|
| 5377 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
| 5378 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 5379 |
# |
| 5380 |
# ac_d sets the value in "#define NAME VALUE" lines. |
| 5381 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 5382 |
ac_dB='[ ].*$,\1#\2' |
| 5383 |
ac_dC=' ' |
| 5384 |
ac_dD=',;t' |
| 5385 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 5386 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 5387 |
ac_uB='$,\1#\2define\3' |
| 5388 |
ac_uC=' ' |
| 5389 |
ac_uD=',;t' |
| 5390 |
|
| 5391 |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
| 5392 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 5393 |
case $ac_file in |
| 5394 |
- | *:- | *:-:* ) # input from stdin |
| 5395 |
cat >$tmp/stdin |
| 5396 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 5397 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 5398 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 5399 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 5400 |
* ) ac_file_in=$ac_file.in ;; |
| 5401 |
esac |
| 5402 |
|
| 5403 |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 5404 |
echo "$as_me: creating $ac_file" >&6;} |
| 5405 |
|
| 5406 |
# First look for the input files in the build tree, otherwise in the |
| 5407 |
# src tree. |
| 5408 |
ac_file_inputs=`IFS=: |
| 5409 |
for f in $ac_file_in; do |
| 5410 |
case $f in |
| 5411 |
-) echo $tmp/stdin ;; |
| 5412 |
[\\/$]*) |
| 5413 |
# Absolute (can't be DOS-style, as IFS=:) |
| 5414 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 5415 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 5416 |
{ (exit 1); exit 1; }; } |
| 5417 |
# Do quote $f, to prevent DOS paths from being IFS'd. |
| 5418 |
echo "$f";; |
| 5419 |
*) # Relative |
| 5420 |
if test -f "$f"; then |
| 5421 |
# Build tree |
| 5422 |
echo "$f" |
| 5423 |
elif test -f "$srcdir/$f"; then |
| 5424 |
# Source tree |
| 5425 |
echo "$srcdir/$f" |
| 5426 |
else |
| 5427 |
# /dev/null tree |
| 5428 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 5429 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 5430 |
{ (exit 1); exit 1; }; } |
| 5431 |
fi;; |
| 5432 |
esac |
| 5433 |
done` || { (exit 1); exit 1; } |
| 5434 |
# Remove the trailing spaces. |
| 5435 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 5436 |
|
| 5437 |
_ACEOF |
| 5438 |
|
| 5439 |
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
| 5440 |
# `conftest.undefs', that substitutes the proper values into |
| 5441 |
# config.h.in to produce config.h. The first handles `#define' |
| 5442 |
# templates, and the second `#undef' templates. |
| 5443 |
# And first: Protect against being on the right side of a sed subst in |
| 5444 |
# config.status. Protect against being in an unquoted here document |
| 5445 |
# in config.status. |
| 5446 |
rm -f conftest.defines conftest.undefs |
| 5447 |
# Using a here document instead of a string reduces the quoting nightmare. |
| 5448 |
# Putting comments in sed scripts is not portable. |
| 5449 |
# |
| 5450 |
# `end' is used to avoid that the second main sed command (meant for |
| 5451 |
# 0-ary CPP macros) applies to n-ary macro definitions. |
| 5452 |
# See the Autoconf documentation for `clear'. |
| 5453 |
cat >confdef2sed.sed <<\_ACEOF |
| 5454 |
s/[\\&,]/\\&/g |
| 5455 |
s,[\\$`],\\&,g |
| 5456 |
t clear |
| 5457 |
: clear |
| 5458 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 5459 |
t end |
| 5460 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 5461 |
: end |
| 5462 |
_ACEOF |
| 5463 |
# If some macros were called several times there might be several times |
| 5464 |
# the same #defines, which is useless. Nevertheless, we may not want to |
| 5465 |
# sort them, since we want the *last* AC-DEFINE to be honored. |
| 5466 |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
| 5467 |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
| 5468 |
rm -f confdef2sed.sed |
| 5469 |
|
| 5470 |
# This sed command replaces #undef with comments. This is necessary, for |
| 5471 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 5472 |
# on some systems where configure will not decide to define it. |
| 5473 |
cat >>conftest.undefs <<\_ACEOF |
| 5474 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 5475 |
_ACEOF |
| 5476 |
|
| 5477 |
# Break up conftest.defines because some shells have a limit on the size |
| 5478 |
# of here documents, and old seds have small limits too (100 cmds). |
| 5479 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 5480 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 5481 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 5482 |
echo ' :' >>$CONFIG_STATUS |
| 5483 |
rm -f conftest.tail |
| 5484 |
while grep . conftest.defines >/dev/null |
| 5485 |
do |
| 5486 |
# Write a limited-size here document to $tmp/defines.sed. |
| 5487 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 5488 |
# Speed up: don't consider the non `#define' lines. |
| 5489 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 5490 |
# Work around the forget-to-reset-the-flag bug. |
| 5491 |
echo 't clr' >>$CONFIG_STATUS |
| 5492 |
echo ': clr' >>$CONFIG_STATUS |
| 5493 |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
| 5494 |
echo 'CEOF |
| 5495 |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
| 5496 |
rm -f $tmp/in |
| 5497 |
mv $tmp/out $tmp/in |
| 5498 |
' >>$CONFIG_STATUS |
| 5499 |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
| 5500 |
rm -f conftest.defines |
| 5501 |
mv conftest.tail conftest.defines |
| 5502 |
done |
| 5503 |
rm -f conftest.defines |
| 5504 |
echo ' fi # grep' >>$CONFIG_STATUS |
| 5505 |
echo >>$CONFIG_STATUS |
| 5506 |
|
| 5507 |
# Break up conftest.undefs because some shells have a limit on the size |
| 5508 |
# of here documents, and old seds have small limits too (100 cmds). |
| 5509 |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
| 5510 |
rm -f conftest.tail |
| 5511 |
while grep . conftest.undefs >/dev/null |
| 5512 |
do |
| 5513 |
# Write a limited-size here document to $tmp/undefs.sed. |
| 5514 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 5515 |
# Speed up: don't consider the non `#undef' |
| 5516 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 5517 |
# Work around the forget-to-reset-the-flag bug. |
| 5518 |
echo 't clr' >>$CONFIG_STATUS |
| 5519 |
echo ': clr' >>$CONFIG_STATUS |
| 5520 |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
| 5521 |
echo 'CEOF |
| 5522 |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
| 5523 |
rm -f $tmp/in |
| 5524 |
mv $tmp/out $tmp/in |
| 5525 |
' >>$CONFIG_STATUS |
| 5526 |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
| 5527 |
rm -f conftest.undefs |
| 5528 |
mv conftest.tail conftest.undefs |
| 5529 |
done |
| 5530 |
rm -f conftest.undefs |
| 5531 |
|
| 5532 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5533 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 5534 |
# use $as_me), people would be surprised to read: |
| 5535 |
# /* config.h. Generated by config.status. */ |
| 5536 |
if test x"$ac_file" = x-; then |
| 5537 |
echo "/* Generated by configure. */" >$tmp/config.h |
| 5538 |
else |
| 5539 |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
| 5540 |
fi |
| 5541 |
cat $tmp/in >>$tmp/config.h |
| 5542 |
rm -f $tmp/in |
| 5543 |
if test x"$ac_file" != x-; then |
| 5544 |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
| 5545 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 5546 |
echo "$as_me: $ac_file is unchanged" >&6;} |
| 5547 |
else |
| 5548 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 5549 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5550 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 5551 |
X"$ac_file" : 'X\(//\)$' \| \ |
| 5552 |
X"$ac_file" : 'X\(/\)' \| \ |
| 5553 |
. : '\(.\)' 2>/dev/null || |
| 5554 |
echo X"$ac_file" | |
| 5555 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5556 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5557 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5558 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5559 |
s/.*/./; q'` |
| 5560 |
{ if $as_mkdir_p; then |
| 5561 |
mkdir -p "$ac_dir" |
| 5562 |
else |
| 5563 |
as_dir="$ac_dir" |
| 5564 |
as_dirs= |
| 5565 |
while test ! -d "$as_dir"; do |
| 5566 |
as_dirs="$as_dir $as_dirs" |
| 5567 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 5568 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5569 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 5570 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 5571 |
X"$as_dir" : 'X\(/\)' \| \ |
| 5572 |
. : '\(.\)' 2>/dev/null || |
| 5573 |
echo X"$as_dir" | |
| 5574 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5575 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5576 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5577 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5578 |
s/.*/./; q'` |
| 5579 |
done |
| 5580 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 5581 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 5582 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 5583 |
{ (exit 1); exit 1; }; }; } |
| 5584 |
|
| 5585 |
rm -f $ac_file |
| 5586 |
mv $tmp/config.h $ac_file |
| 5587 |
fi |
| 5588 |
else |
| 5589 |
cat $tmp/config.h |
| 5590 |
rm -f $tmp/config.h |
| 5591 |
fi |
| 5592 |
# Compute $ac_file's index in $config_headers. |
| 5593 |
_am_stamp_count=1 |
| 5594 |
for _am_header in $config_headers :; do |
| 5595 |
case $_am_header in |
| 5596 |
$ac_file | $ac_file:* ) |
| 5597 |
break ;; |
| 5598 |
* ) |
| 5599 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 5600 |
esac |
| 5601 |
done |
| 5602 |
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
| 5603 |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5604 |
X$ac_file : 'X\(//\)[^/]' \| \ |
| 5605 |
X$ac_file : 'X\(//\)$' \| \ |
| 5606 |
X$ac_file : 'X\(/\)' \| \ |
| 5607 |
. : '\(.\)' 2>/dev/null || |
| 5608 |
echo X$ac_file | |
| 5609 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5610 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5611 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5612 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5613 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
| 5614 |
done |
| 5615 |
_ACEOF |
| 5616 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5617 |
|
| 5618 |
# |
| 5619 |
# CONFIG_COMMANDS section. |
| 5620 |
# |
| 5621 |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
| 5622 |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
| 5623 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 5624 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
| 5625 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5626 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 5627 |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 5628 |
X"$ac_dest" : 'X\(/\)' \| \ |
| 5629 |
. : '\(.\)' 2>/dev/null || |
| 5630 |
echo X"$ac_dest" | |
| 5631 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5632 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5633 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5634 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5635 |
s/.*/./; q'` |
| 5636 |
{ if $as_mkdir_p; then |
| 5637 |
mkdir -p "$ac_dir" |
| 5638 |
else |
| 5639 |
as_dir="$ac_dir" |
| 5640 |
as_dirs= |
| 5641 |
while test ! -d "$as_dir"; do |
| 5642 |
as_dirs="$as_dir $as_dirs" |
| 5643 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 5644 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5645 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 5646 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 5647 |
X"$as_dir" : 'X\(/\)' \| \ |
| 5648 |
. : '\(.\)' 2>/dev/null || |
| 5649 |
echo X"$as_dir" | |
| 5650 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5651 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5652 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5653 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5654 |
s/.*/./; q'` |
| 5655 |
done |
| 5656 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 5657 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 5658 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 5659 |
{ (exit 1); exit 1; }; }; } |
| 5660 |
|
| 5661 |
ac_builddir=. |
| 5662 |
|
| 5663 |
if test "$ac_dir" != .; then |
| 5664 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 5665 |
# A "../" for each directory in $ac_dir_suffix. |
| 5666 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 5667 |
else |
| 5668 |
ac_dir_suffix= ac_top_builddir= |
| 5669 |
fi |
| 5670 |
|
| 5671 |
case $srcdir in |
| 5672 |
.) # No --srcdir option. We are building in place. |
| 5673 |
ac_srcdir=. |
| 5674 |
if test -z "$ac_top_builddir"; then |
| 5675 |
ac_top_srcdir=. |
| 5676 |
else |
| 5677 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 5678 |
fi ;; |
| 5679 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 5680 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 5681 |
ac_top_srcdir=$srcdir ;; |
| 5682 |
*) # Relative path. |
| 5683 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 5684 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 5685 |
esac |
| 5686 |
|
| 5687 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 5688 |
# the directories may not exist. |
| 5689 |
case `pwd` in |
| 5690 |
.) ac_abs_builddir="$ac_dir";; |
| 5691 |
*) |
| 5692 |
case "$ac_dir" in |
| 5693 |
.) ac_abs_builddir=`pwd`;; |
| 5694 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 5695 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 5696 |
esac;; |
| 5697 |
esac |
| 5698 |
case $ac_abs_builddir in |
| 5699 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 5700 |
*) |
| 5701 |
case ${ac_top_builddir}. in |
| 5702 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 5703 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 5704 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 5705 |
esac;; |
| 5706 |
esac |
| 5707 |
case $ac_abs_builddir in |
| 5708 |
.) ac_abs_srcdir=$ac_srcdir;; |
| 5709 |
*) |
| 5710 |
case $ac_srcdir in |
| 5711 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 5712 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 5713 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 5714 |
esac;; |
| 5715 |
esac |
| 5716 |
case $ac_abs_builddir in |
| 5717 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 5718 |
*) |
| 5719 |
case $ac_top_srcdir in |
| 5720 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 5721 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 5722 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 5723 |
esac;; |
| 5724 |
esac |
| 5725 |
|
| 5726 |
|
| 5727 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
| 5728 |
echo "$as_me: executing $ac_dest commands" >&6;} |
| 5729 |
case $ac_dest in |
| 5730 |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
| 5731 |
# Strip MF so we end up with the name of the file. |
| 5732 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 5733 |
# Check whether this is an Automake generated Makefile or not. |
| 5734 |
# We used to match only the files named `Makefile.in', but |
| 5735 |
# some people rename them; so instead we look at the file content. |
| 5736 |
# Grep'ing the first line is not enough: some people post-process |
| 5737 |
# each Makefile.in and add a new line on top of each file to say so. |
| 5738 |
# So let's grep whole file. |
| 5739 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
| 5740 |
dirpart=`(dirname "$mf") 2>/dev/null || |
| 5741 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5742 |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 5743 |
X"$mf" : 'X\(//\)$' \| \ |
| 5744 |
X"$mf" : 'X\(/\)' \| \ |
| 5745 |
. : '\(.\)' 2>/dev/null || |
| 5746 |
echo X"$mf" | |
| 5747 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5748 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5749 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5750 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5751 |
s/.*/./; q'` |
| 5752 |
else |
| 5753 |
continue |
| 5754 |
fi |
| 5755 |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 5756 |
# from the Makefile without running `make'. |
| 5757 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 5758 |
test -z "$DEPDIR" && continue |
| 5759 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 5760 |
test -z "am__include" && continue |
| 5761 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 5762 |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 5763 |
U=`sed -n 's/^U = //p' < "$mf"` |
| 5764 |
# Find all dependency output files, they are included files with |
| 5765 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 5766 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 5767 |
# expansion. |
| 5768 |
for file in `sed -n " |
| 5769 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 5770 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 5771 |
# Make sure the directory exists. |
| 5772 |
test -f "$dirpart/$file" && continue |
| 5773 |
fdir=`(dirname "$file") 2>/dev/null || |
| 5774 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5775 |
X"$file" : 'X\(//\)[^/]' \| \ |
| 5776 |
X"$file" : 'X\(//\)$' \| \ |
| 5777 |
X"$file" : 'X\(/\)' \| \ |
| 5778 |
. : '\(.\)' 2>/dev/null || |
| 5779 |
echo X"$file" | |
| 5780 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5781 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5782 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5783 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5784 |
s/.*/./; q'` |
| 5785 |
{ if $as_mkdir_p; then |
| 5786 |
mkdir -p $dirpart/$fdir |
| 5787 |
else |
| 5788 |
as_dir=$dirpart/$fdir |
| 5789 |
as_dirs= |
| 5790 |
while test ! -d "$as_dir"; do |
| 5791 |
as_dirs="$as_dir $as_dirs" |
| 5792 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 5793 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5794 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 5795 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 5796 |
X"$as_dir" : 'X\(/\)' \| \ |
| 5797 |
. : '\(.\)' 2>/dev/null || |
| 5798 |
echo X"$as_dir" | |
| 5799 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 5800 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 5801 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 5802 |
/^X\(\/\).*/{ s//\1/; q; } |
| 5803 |
s/.*/./; q'` |
| 5804 |
done |
| 5805 |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 5806 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
| 5807 |
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
| 5808 |
{ (exit 1); exit 1; }; }; } |
| 5809 |
|
| 5810 |
# echo "creating $dirpart/$file" |
| 5811 |
echo '# dummy' > "$dirpart/$file" |
| 5812 |
done |
| 5813 |
done |
| 5814 |
;; |
| 5815 |
esac |
| 5816 |
done |
| 5817 |
_ACEOF |
| 5818 |
|
| 5819 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5820 |
|
| 5821 |
{ (exit 0); exit 0; } |
| 5822 |
_ACEOF |
| 5823 |
chmod +x $CONFIG_STATUS |
| 5824 |
ac_clean_files=$ac_clean_files_save |
| 5825 |
|
| 5826 |
|
| 5827 |
# configure is writing to config.log, and then calls config.status. |
| 5828 |
# config.status does its own redirection, appending to config.log. |
| 5829 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
| 5830 |
# by configure, so config.status won't be able to write to it; its |
| 5831 |
# output is simply discarded. So we exec the FD to /dev/null, |
| 5832 |
# effectively closing config.log, so it can be properly (re)opened and |
| 5833 |
# appended to by config.status. When coming back to configure, we |
| 5834 |
# need to make the FD available again. |
| 5835 |
if test "$no_create" != yes; then |
| 5836 |
ac_cs_success=: |
| 5837 |
ac_config_status_args= |
| 5838 |
test "$silent" = yes && |
| 5839 |
ac_config_status_args="$ac_config_status_args --quiet" |
| 5840 |
exec 5>/dev/null |
| 5841 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 5842 |
exec 5>>config.log |
| 5843 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 5844 |
# would make configure fail if this is the last instruction. |
| 5845 |
$ac_cs_success || { (exit 1); exit 1; } |
| 5846 |
fi |
| 5847 |
|