| 1 |
#! /bin/sh |
| 2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.69 for star-snow-notes 1.0.0. |
| 4 |
# |
| 5 |
# Report bugs to <bowkenken@users.sourceforge.jp>. |
| 6 |
# |
| 7 |
# |
| 8 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 9 |
# |
| 10 |
# |
| 11 |
# This configure script is free software; the Free Software Foundation |
| 12 |
# gives unlimited permission to copy, distribute and modify it. |
| 13 |
## -------------------- ## |
| 14 |
## M4sh Initialization. ## |
| 15 |
## -------------------- ## |
| 16 |
|
| 17 |
# Be more Bourne compatible |
| 18 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 20 |
emulate sh |
| 21 |
NULLCMD=: |
| 22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 23 |
# is contrary to our usage. Disable this feature. |
| 24 |
alias -g '${1+"$@"}'='"$@"' |
| 25 |
setopt NO_GLOB_SUBST |
| 26 |
else |
| 27 |
case `(set -o) 2>/dev/null` in #( |
| 28 |
*posix*) : |
| 29 |
set -o posix ;; #( |
| 30 |
*) : |
| 31 |
;; |
| 32 |
esac |
| 33 |
fi |
| 34 |
|
| 35 |
|
| 36 |
as_nl=' |
| 37 |
' |
| 38 |
export as_nl |
| 39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 43 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 44 |
# but without wasting forks for bash or zsh. |
| 45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 47 |
as_echo='print -r --' |
| 48 |
as_echo_n='print -rn --' |
| 49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 50 |
as_echo='printf %s\n' |
| 51 |
as_echo_n='printf %s' |
| 52 |
else |
| 53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 55 |
as_echo_n='/usr/ucb/echo -n' |
| 56 |
else |
| 57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 58 |
as_echo_n_body='eval |
| 59 |
arg=$1; |
| 60 |
case $arg in #( |
| 61 |
*"$as_nl"*) |
| 62 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 64 |
esac; |
| 65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 66 |
' |
| 67 |
export as_echo_n_body |
| 68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 69 |
fi |
| 70 |
export as_echo_body |
| 71 |
as_echo='sh -c $as_echo_body as_echo' |
| 72 |
fi |
| 73 |
|
| 74 |
# The user is always right. |
| 75 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 76 |
PATH_SEPARATOR=: |
| 77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 79 |
PATH_SEPARATOR=';' |
| 80 |
} |
| 81 |
fi |
| 82 |
|
| 83 |
|
| 84 |
# IFS |
| 85 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 86 |
# there to prevent editors from complaining about space-tab. |
| 87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 88 |
# splitting by setting IFS to empty value.) |
| 89 |
IFS=" "" $as_nl" |
| 90 |
|
| 91 |
# Find who we are. Look in the path if we contain no directory separator. |
| 92 |
as_myself= |
| 93 |
case $0 in #(( |
| 94 |
*[\\/]* ) as_myself=$0 ;; |
| 95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 96 |
for as_dir in $PATH |
| 97 |
do |
| 98 |
IFS=$as_save_IFS |
| 99 |
test -z "$as_dir" && as_dir=. |
| 100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 101 |
done |
| 102 |
IFS=$as_save_IFS |
| 103 |
|
| 104 |
;; |
| 105 |
esac |
| 106 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 107 |
# in which case we are not to be found in the path. |
| 108 |
if test "x$as_myself" = x; then |
| 109 |
as_myself=$0 |
| 110 |
fi |
| 111 |
if test ! -f "$as_myself"; then |
| 112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 113 |
exit 1 |
| 114 |
fi |
| 115 |
|
| 116 |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 118 |
# suppresses any "Segmentation fault" message there. '((' could |
| 119 |
# trigger a bug in pdksh 5.2.14. |
| 120 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 121 |
do eval test x\${$as_var+set} = xset \ |
| 122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 123 |
done |
| 124 |
PS1='$ ' |
| 125 |
PS2='> ' |
| 126 |
PS4='+ ' |
| 127 |
|
| 128 |
# NLS nuisances. |
| 129 |
LC_ALL=C |
| 130 |
export LC_ALL |
| 131 |
LANGUAGE=C |
| 132 |
export LANGUAGE |
| 133 |
|
| 134 |
# CDPATH. |
| 135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 136 |
|
| 137 |
# Use a proper internal environment variable to ensure we don't fall |
| 138 |
# into an infinite loop, continuously re-executing ourselves. |
| 139 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 140 |
_as_can_reexec=no; export _as_can_reexec; |
| 141 |
# We cannot yet assume a decent shell, so we have to provide a |
| 142 |
# neutralization value for shells without unset; and this also |
| 143 |
# works around shells that cannot unset nonexistent variables. |
| 144 |
# Preserve -v and -x to the replacement shell. |
| 145 |
BASH_ENV=/dev/null |
| 146 |
ENV=/dev/null |
| 147 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 148 |
case $- in # (((( |
| 149 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 150 |
*v* ) as_opts=-v ;; |
| 151 |
*x* ) as_opts=-x ;; |
| 152 |
* ) as_opts= ;; |
| 153 |
esac |
| 154 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 155 |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 156 |
# out after a failed `exec'. |
| 157 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 158 |
as_fn_exit 255 |
| 159 |
fi |
| 160 |
# We don't want this to propagate to other subprocesses. |
| 161 |
{ _as_can_reexec=; unset _as_can_reexec;} |
| 162 |
if test "x$CONFIG_SHELL" = x; then |
| 163 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 164 |
emulate sh |
| 165 |
NULLCMD=: |
| 166 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 167 |
# is contrary to our usage. Disable this feature. |
| 168 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 169 |
setopt NO_GLOB_SUBST |
| 170 |
else |
| 171 |
case \`(set -o) 2>/dev/null\` in #( |
| 172 |
*posix*) : |
| 173 |
set -o posix ;; #( |
| 174 |
*) : |
| 175 |
;; |
| 176 |
esac |
| 177 |
fi |
| 178 |
" |
| 179 |
as_required="as_fn_return () { (exit \$1); } |
| 180 |
as_fn_success () { as_fn_return 0; } |
| 181 |
as_fn_failure () { as_fn_return 1; } |
| 182 |
as_fn_ret_success () { return 0; } |
| 183 |
as_fn_ret_failure () { return 1; } |
| 184 |
|
| 185 |
exitcode=0 |
| 186 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 187 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 188 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 189 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 190 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 191 |
|
| 192 |
else |
| 193 |
exitcode=1; echo positional parameters were not saved. |
| 194 |
fi |
| 195 |
test x\$exitcode = x0 || exit 1 |
| 196 |
test -x / || exit 1" |
| 197 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 198 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 199 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 200 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 201 |
test \$(( 1 + 1 )) = 2 || exit 1" |
| 202 |
if (eval "$as_required") 2>/dev/null; then : |
| 203 |
as_have_required=yes |
| 204 |
else |
| 205 |
as_have_required=no |
| 206 |
fi |
| 207 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 208 |
|
| 209 |
else |
| 210 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 211 |
as_found=false |
| 212 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 213 |
do |
| 214 |
IFS=$as_save_IFS |
| 215 |
test -z "$as_dir" && as_dir=. |
| 216 |
as_found=: |
| 217 |
case $as_dir in #( |
| 218 |
/*) |
| 219 |
for as_base in sh bash ksh sh5; do |
| 220 |
# Try only shells that exist, to save several forks. |
| 221 |
as_shell=$as_dir/$as_base |
| 222 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 223 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 224 |
CONFIG_SHELL=$as_shell as_have_required=yes |
| 225 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 226 |
break 2 |
| 227 |
fi |
| 228 |
fi |
| 229 |
done;; |
| 230 |
esac |
| 231 |
as_found=false |
| 232 |
done |
| 233 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 234 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
| 235 |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 236 |
fi; } |
| 237 |
IFS=$as_save_IFS |
| 238 |
|
| 239 |
|
| 240 |
if test "x$CONFIG_SHELL" != x; then : |
| 241 |
export CONFIG_SHELL |
| 242 |
# We cannot yet assume a decent shell, so we have to provide a |
| 243 |
# neutralization value for shells without unset; and this also |
| 244 |
# works around shells that cannot unset nonexistent variables. |
| 245 |
# Preserve -v and -x to the replacement shell. |
| 246 |
BASH_ENV=/dev/null |
| 247 |
ENV=/dev/null |
| 248 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 249 |
case $- in # (((( |
| 250 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 251 |
*v* ) as_opts=-v ;; |
| 252 |
*x* ) as_opts=-x ;; |
| 253 |
* ) as_opts= ;; |
| 254 |
esac |
| 255 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 256 |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 257 |
# out after a failed `exec'. |
| 258 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 259 |
exit 255 |
| 260 |
fi |
| 261 |
|
| 262 |
if test x$as_have_required = xno; then : |
| 263 |
$as_echo "$0: This script requires a shell more modern than all" |
| 264 |
$as_echo "$0: the shells that I found on your system." |
| 265 |
if test x${ZSH_VERSION+set} = xset ; then |
| 266 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 267 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 268 |
else |
| 269 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
| 270 |
$0: bowkenken@users.sourceforge.jp about your system, |
| 271 |
$0: including any error possibly output before this |
| 272 |
$0: message. Then install a modern shell, or manually run |
| 273 |
$0: the script under such a shell if you do have one." |
| 274 |
fi |
| 275 |
exit 1 |
| 276 |
fi |
| 277 |
fi |
| 278 |
fi |
| 279 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 280 |
export SHELL |
| 281 |
# Unset more variables known to interfere with behavior of common tools. |
| 282 |
CLICOLOR_FORCE= GREP_OPTIONS= |
| 283 |
unset CLICOLOR_FORCE GREP_OPTIONS |
| 284 |
|
| 285 |
## --------------------- ## |
| 286 |
## M4sh Shell Functions. ## |
| 287 |
## --------------------- ## |
| 288 |
# as_fn_unset VAR |
| 289 |
# --------------- |
| 290 |
# Portably unset VAR. |
| 291 |
as_fn_unset () |
| 292 |
{ |
| 293 |
{ eval $1=; unset $1;} |
| 294 |
} |
| 295 |
as_unset=as_fn_unset |
| 296 |
|
| 297 |
# as_fn_set_status STATUS |
| 298 |
# ----------------------- |
| 299 |
# Set $? to STATUS, without forking. |
| 300 |
as_fn_set_status () |
| 301 |
{ |
| 302 |
return $1 |
| 303 |
} # as_fn_set_status |
| 304 |
|
| 305 |
# as_fn_exit STATUS |
| 306 |
# ----------------- |
| 307 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 308 |
as_fn_exit () |
| 309 |
{ |
| 310 |
set +e |
| 311 |
as_fn_set_status $1 |
| 312 |
exit $1 |
| 313 |
} # as_fn_exit |
| 314 |
|
| 315 |
# as_fn_mkdir_p |
| 316 |
# ------------- |
| 317 |
# Create "$as_dir" as a directory, including parents if necessary. |
| 318 |
as_fn_mkdir_p () |
| 319 |
{ |
| 320 |
|
| 321 |
case $as_dir in #( |
| 322 |
-*) as_dir=./$as_dir;; |
| 323 |
esac |
| 324 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 325 |
as_dirs= |
| 326 |
while :; do |
| 327 |
case $as_dir in #( |
| 328 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 329 |
*) as_qdir=$as_dir;; |
| 330 |
esac |
| 331 |
as_dirs="'$as_qdir' $as_dirs" |
| 332 |
as_dir=`$as_dirname -- "$as_dir" || |
| 333 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 334 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 335 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 336 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 337 |
$as_echo X"$as_dir" | |
| 338 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 339 |
s//\1/ |
| 340 |
q |
| 341 |
} |
| 342 |
/^X\(\/\/\)[^/].*/{ |
| 343 |
s//\1/ |
| 344 |
q |
| 345 |
} |
| 346 |
/^X\(\/\/\)$/{ |
| 347 |
s//\1/ |
| 348 |
q |
| 349 |
} |
| 350 |
/^X\(\/\).*/{ |
| 351 |
s//\1/ |
| 352 |
q |
| 353 |
} |
| 354 |
s/.*/./; q'` |
| 355 |
test -d "$as_dir" && break |
| 356 |
done |
| 357 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 358 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 359 |
|
| 360 |
|
| 361 |
} # as_fn_mkdir_p |
| 362 |
|
| 363 |
# as_fn_executable_p FILE |
| 364 |
# ----------------------- |
| 365 |
# Test if FILE is an executable regular file. |
| 366 |
as_fn_executable_p () |
| 367 |
{ |
| 368 |
test -f "$1" && test -x "$1" |
| 369 |
} # as_fn_executable_p |
| 370 |
# as_fn_append VAR VALUE |
| 371 |
# ---------------------- |
| 372 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 373 |
# advantage of any shell optimizations that allow amortized linear growth over |
| 374 |
# repeated appends, instead of the typical quadratic growth present in naive |
| 375 |
# implementations. |
| 376 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 377 |
eval 'as_fn_append () |
| 378 |
{ |
| 379 |
eval $1+=\$2 |
| 380 |
}' |
| 381 |
else |
| 382 |
as_fn_append () |
| 383 |
{ |
| 384 |
eval $1=\$$1\$2 |
| 385 |
} |
| 386 |
fi # as_fn_append |
| 387 |
|
| 388 |
# as_fn_arith ARG... |
| 389 |
# ------------------ |
| 390 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 391 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 392 |
# must be portable across $(()) and expr. |
| 393 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 394 |
eval 'as_fn_arith () |
| 395 |
{ |
| 396 |
as_val=$(( $* )) |
| 397 |
}' |
| 398 |
else |
| 399 |
as_fn_arith () |
| 400 |
{ |
| 401 |
as_val=`expr "$@" || test $? -eq 1` |
| 402 |
} |
| 403 |
fi # as_fn_arith |
| 404 |
|
| 405 |
|
| 406 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 407 |
# ---------------------------------------- |
| 408 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 409 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 410 |
# script with STATUS, using 1 if that was 0. |
| 411 |
as_fn_error () |
| 412 |
{ |
| 413 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 414 |
if test "$4"; then |
| 415 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 416 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 417 |
fi |
| 418 |
$as_echo "$as_me: error: $2" >&2 |
| 419 |
as_fn_exit $as_status |
| 420 |
} # as_fn_error |
| 421 |
|
| 422 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 423 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 424 |
as_expr=expr |
| 425 |
else |
| 426 |
as_expr=false |
| 427 |
fi |
| 428 |
|
| 429 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 430 |
as_basename=basename |
| 431 |
else |
| 432 |
as_basename=false |
| 433 |
fi |
| 434 |
|
| 435 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 436 |
as_dirname=dirname |
| 437 |
else |
| 438 |
as_dirname=false |
| 439 |
fi |
| 440 |
|
| 441 |
as_me=`$as_basename -- "$0" || |
| 442 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 443 |
X"$0" : 'X\(//\)$' \| \ |
| 444 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 445 |
$as_echo X/"$0" | |
| 446 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 447 |
s//\1/ |
| 448 |
q |
| 449 |
} |
| 450 |
/^X\/\(\/\/\)$/{ |
| 451 |
s//\1/ |
| 452 |
q |
| 453 |
} |
| 454 |
/^X\/\(\/\).*/{ |
| 455 |
s//\1/ |
| 456 |
q |
| 457 |
} |
| 458 |
s/.*/./; q'` |
| 459 |
|
| 460 |
# Avoid depending upon Character Ranges. |
| 461 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 462 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 463 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 464 |
as_cr_digits='0123456789' |
| 465 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 466 |
|
| 467 |
|
| 468 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 469 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 470 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 471 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 472 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 473 |
sed -n ' |
| 474 |
p |
| 475 |
/[$]LINENO/= |
| 476 |
' <$as_myself | |
| 477 |
sed ' |
| 478 |
s/[$]LINENO.*/&-/ |
| 479 |
t lineno |
| 480 |
b |
| 481 |
:lineno |
| 482 |
N |
| 483 |
:loop |
| 484 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 485 |
t loop |
| 486 |
s/-\n.*// |
| 487 |
' >$as_me.lineno && |
| 488 |
chmod +x "$as_me.lineno" || |
| 489 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 490 |
|
| 491 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 492 |
# already done that, so ensure we don't try to do so again and fall |
| 493 |
# in an infinite loop. This has already happened in practice. |
| 494 |
_as_can_reexec=no; export _as_can_reexec |
| 495 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 496 |
# (the dirname of $[0] is not the place where we might find the |
| 497 |
# original and so on. Autoconf is especially sensitive to this). |
| 498 |
. "./$as_me.lineno" |
| 499 |
# Exit status is that of the last command. |
| 500 |
exit |
| 501 |
} |
| 502 |
|
| 503 |
ECHO_C= ECHO_N= ECHO_T= |
| 504 |
case `echo -n x` in #((((( |
| 505 |
-n*) |
| 506 |
case `echo 'xy\c'` in |
| 507 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 508 |
xy) ECHO_C='\c';; |
| 509 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 510 |
ECHO_T=' ';; |
| 511 |
esac;; |
| 512 |
*) |
| 513 |
ECHO_N='-n';; |
| 514 |
esac |
| 515 |
|
| 516 |
rm -f conf$$ conf$$.exe conf$$.file |
| 517 |
if test -d conf$$.dir; then |
| 518 |
rm -f conf$$.dir/conf$$.file |
| 519 |
else |
| 520 |
rm -f conf$$.dir |
| 521 |
mkdir conf$$.dir 2>/dev/null |
| 522 |
fi |
| 523 |
if (echo >conf$$.file) 2>/dev/null; then |
| 524 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 525 |
as_ln_s='ln -s' |
| 526 |
# ... but there are two gotchas: |
| 527 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 528 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 529 |
# In both cases, we have to default to `cp -pR'. |
| 530 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 531 |
as_ln_s='cp -pR' |
| 532 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 533 |
as_ln_s=ln |
| 534 |
else |
| 535 |
as_ln_s='cp -pR' |
| 536 |
fi |
| 537 |
else |
| 538 |
as_ln_s='cp -pR' |
| 539 |
fi |
| 540 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 541 |
rmdir conf$$.dir 2>/dev/null |
| 542 |
|
| 543 |
if mkdir -p . 2>/dev/null; then |
| 544 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 545 |
else |
| 546 |
test -d ./-p && rmdir ./-p |
| 547 |
as_mkdir_p=false |
| 548 |
fi |
| 549 |
|
| 550 |
as_test_x='test -x' |
| 551 |
as_executable_p=as_fn_executable_p |
| 552 |
|
| 553 |
# Sed expression to map a string onto a valid CPP name. |
| 554 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 555 |
|
| 556 |
# Sed expression to map a string onto a valid variable name. |
| 557 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 558 |
|
| 559 |
|
| 560 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 561 |
exec 6>&1 |
| 562 |
|
| 563 |
# Name of the host. |
| 564 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 565 |
# so uname gets run too. |
| 566 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 567 |
|
| 568 |
# |
| 569 |
# Initializations. |
| 570 |
# |
| 571 |
ac_default_prefix=/usr/local |
| 572 |
ac_clean_files= |
| 573 |
ac_config_libobj_dir=. |
| 574 |
LIBOBJS= |
| 575 |
cross_compiling=no |
| 576 |
subdirs= |
| 577 |
MFLAGS= |
| 578 |
MAKEFLAGS= |
| 579 |
|
| 580 |
# Identity of this package. |
| 581 |
PACKAGE_NAME='star-snow-notes' |
| 582 |
PACKAGE_TARNAME='star-snow-notes' |
| 583 |
PACKAGE_VERSION='1.0.0' |
| 584 |
PACKAGE_STRING='star-snow-notes 1.0.0' |
| 585 |
PACKAGE_BUGREPORT='bowkenken@users.sourceforge.jp' |
| 586 |
PACKAGE_URL='' |
| 587 |
|
| 588 |
ac_unique_file="src/main.cpp" |
| 589 |
# Factoring default headers for most tests. |
| 590 |
ac_includes_default="\ |
| 591 |
#include <stdio.h> |
| 592 |
#ifdef HAVE_SYS_TYPES_H |
| 593 |
# include <sys/types.h> |
| 594 |
#endif |
| 595 |
#ifdef HAVE_SYS_STAT_H |
| 596 |
# include <sys/stat.h> |
| 597 |
#endif |
| 598 |
#ifdef STDC_HEADERS |
| 599 |
# include <stdlib.h> |
| 600 |
# include <stddef.h> |
| 601 |
#else |
| 602 |
# ifdef HAVE_STDLIB_H |
| 603 |
# include <stdlib.h> |
| 604 |
# endif |
| 605 |
#endif |
| 606 |
#ifdef HAVE_STRING_H |
| 607 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 608 |
# include <memory.h> |
| 609 |
# endif |
| 610 |
# include <string.h> |
| 611 |
#endif |
| 612 |
#ifdef HAVE_STRINGS_H |
| 613 |
# include <strings.h> |
| 614 |
#endif |
| 615 |
#ifdef HAVE_INTTYPES_H |
| 616 |
# include <inttypes.h> |
| 617 |
#endif |
| 618 |
#ifdef HAVE_STDINT_H |
| 619 |
# include <stdint.h> |
| 620 |
#endif |
| 621 |
#ifdef HAVE_UNISTD_H |
| 622 |
# include <unistd.h> |
| 623 |
#endif" |
| 624 |
|
| 625 |
ac_subst_vars='am__EXEEXT_FALSE |
| 626 |
am__EXEEXT_TRUE |
| 627 |
LTLIBOBJS |
| 628 |
LIBOBJS |
| 629 |
EGREP |
| 630 |
GREP |
| 631 |
CPP |
| 632 |
LN_S |
| 633 |
am__fastdepCXX_FALSE |
| 634 |
am__fastdepCXX_TRUE |
| 635 |
CXXDEPMODE |
| 636 |
ac_ct_CXX |
| 637 |
CXXFLAGS |
| 638 |
CXX |
| 639 |
am__fastdepCC_FALSE |
| 640 |
am__fastdepCC_TRUE |
| 641 |
CCDEPMODE |
| 642 |
am__nodep |
| 643 |
AMDEPBACKSLASH |
| 644 |
AMDEP_FALSE |
| 645 |
AMDEP_TRUE |
| 646 |
am__quote |
| 647 |
am__include |
| 648 |
DEPDIR |
| 649 |
OBJEXT |
| 650 |
EXEEXT |
| 651 |
ac_ct_CC |
| 652 |
CPPFLAGS |
| 653 |
LDFLAGS |
| 654 |
CFLAGS |
| 655 |
CC |
| 656 |
CHK_DEBUG_FALSE |
| 657 |
CHK_DEBUG_TRUE |
| 658 |
host_os |
| 659 |
host_vendor |
| 660 |
host_cpu |
| 661 |
host |
| 662 |
build_os |
| 663 |
build_vendor |
| 664 |
build_cpu |
| 665 |
build |
| 666 |
am__untar |
| 667 |
am__tar |
| 668 |
AMTAR |
| 669 |
am__leading_dot |
| 670 |
SET_MAKE |
| 671 |
AWK |
| 672 |
mkdir_p |
| 673 |
MKDIR_P |
| 674 |
INSTALL_STRIP_PROGRAM |
| 675 |
STRIP |
| 676 |
install_sh |
| 677 |
MAKEINFO |
| 678 |
AUTOHEADER |
| 679 |
AUTOMAKE |
| 680 |
AUTOCONF |
| 681 |
ACLOCAL |
| 682 |
VERSION |
| 683 |
PACKAGE |
| 684 |
CYGPATH_W |
| 685 |
am__isrc |
| 686 |
INSTALL_DATA |
| 687 |
INSTALL_SCRIPT |
| 688 |
INSTALL_PROGRAM |
| 689 |
target_alias |
| 690 |
host_alias |
| 691 |
build_alias |
| 692 |
LIBS |
| 693 |
ECHO_T |
| 694 |
ECHO_N |
| 695 |
ECHO_C |
| 696 |
DEFS |
| 697 |
mandir |
| 698 |
localedir |
| 699 |
libdir |
| 700 |
psdir |
| 701 |
pdfdir |
| 702 |
dvidir |
| 703 |
htmldir |
| 704 |
infodir |
| 705 |
docdir |
| 706 |
oldincludedir |
| 707 |
includedir |
| 708 |
localstatedir |
| 709 |
sharedstatedir |
| 710 |
sysconfdir |
| 711 |
datadir |
| 712 |
datarootdir |
| 713 |
libexecdir |
| 714 |
sbindir |
| 715 |
bindir |
| 716 |
program_transform_name |
| 717 |
prefix |
| 718 |
exec_prefix |
| 719 |
PACKAGE_URL |
| 720 |
PACKAGE_BUGREPORT |
| 721 |
PACKAGE_STRING |
| 722 |
PACKAGE_VERSION |
| 723 |
PACKAGE_TARNAME |
| 724 |
PACKAGE_NAME |
| 725 |
PATH_SEPARATOR |
| 726 |
SHELL' |
| 727 |
ac_subst_files='' |
| 728 |
ac_user_opts=' |
| 729 |
enable_option_checking |
| 730 |
enable_dependency_tracking |
| 731 |
' |
| 732 |
ac_precious_vars='build_alias |
| 733 |
host_alias |
| 734 |
target_alias |
| 735 |
CC |
| 736 |
CFLAGS |
| 737 |
LDFLAGS |
| 738 |
LIBS |
| 739 |
CPPFLAGS |
| 740 |
CXX |
| 741 |
CXXFLAGS |
| 742 |
CCC |
| 743 |
CPP' |
| 744 |
|
| 745 |
|
| 746 |
# Initialize some variables set by options. |
| 747 |
ac_init_help= |
| 748 |
ac_init_version=false |
| 749 |
ac_unrecognized_opts= |
| 750 |
ac_unrecognized_sep= |
| 751 |
# The variables have the same names as the options, with |
| 752 |
# dashes changed to underlines. |
| 753 |
cache_file=/dev/null |
| 754 |
exec_prefix=NONE |
| 755 |
no_create= |
| 756 |
no_recursion= |
| 757 |
prefix=NONE |
| 758 |
program_prefix=NONE |
| 759 |
program_suffix=NONE |
| 760 |
program_transform_name=s,x,x, |
| 761 |
silent= |
| 762 |
site= |
| 763 |
srcdir= |
| 764 |
verbose= |
| 765 |
x_includes=NONE |
| 766 |
x_libraries=NONE |
| 767 |
|
| 768 |
# Installation directory options. |
| 769 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
| 770 |
# and all the variables that are supposed to be based on exec_prefix |
| 771 |
# by default will actually change. |
| 772 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 773 |
# (The list follows the same order as the GNU Coding Standards.) |
| 774 |
bindir='${exec_prefix}/bin' |
| 775 |
sbindir='${exec_prefix}/sbin' |
| 776 |
libexecdir='${exec_prefix}/libexec' |
| 777 |
datarootdir='${prefix}/share' |
| 778 |
datadir='${datarootdir}' |
| 779 |
sysconfdir='${prefix}/etc' |
| 780 |
sharedstatedir='${prefix}/com' |
| 781 |
localstatedir='${prefix}/var' |
| 782 |
includedir='${prefix}/include' |
| 783 |
oldincludedir='/usr/include' |
| 784 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 785 |
infodir='${datarootdir}/info' |
| 786 |
htmldir='${docdir}' |
| 787 |
dvidir='${docdir}' |
| 788 |
pdfdir='${docdir}' |
| 789 |
psdir='${docdir}' |
| 790 |
libdir='${exec_prefix}/lib' |
| 791 |
localedir='${datarootdir}/locale' |
| 792 |
mandir='${datarootdir}/man' |
| 793 |
|
| 794 |
ac_prev= |
| 795 |
ac_dashdash= |
| 796 |
for ac_option |
| 797 |
do |
| 798 |
# If the previous option needs an argument, assign it. |
| 799 |
if test -n "$ac_prev"; then |
| 800 |
eval $ac_prev=\$ac_option |
| 801 |
ac_prev= |
| 802 |
continue |
| 803 |
fi |
| 804 |
|
| 805 |
case $ac_option in |
| 806 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 807 |
*=) ac_optarg= ;; |
| 808 |
*) ac_optarg=yes ;; |
| 809 |
esac |
| 810 |
|
| 811 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 812 |
|
| 813 |
case $ac_dashdash$ac_option in |
| 814 |
--) |
| 815 |
ac_dashdash=yes ;; |
| 816 |
|
| 817 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 818 |
ac_prev=bindir ;; |
| 819 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 820 |
bindir=$ac_optarg ;; |
| 821 |
|
| 822 |
-build | --build | --buil | --bui | --bu) |
| 823 |
ac_prev=build_alias ;; |
| 824 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 825 |
build_alias=$ac_optarg ;; |
| 826 |
|
| 827 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 828 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 829 |
ac_prev=cache_file ;; |
| 830 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 831 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 832 |
cache_file=$ac_optarg ;; |
| 833 |
|
| 834 |
--config-cache | -C) |
| 835 |
cache_file=config.cache ;; |
| 836 |
|
| 837 |
-datadir | --datadir | --datadi | --datad) |
| 838 |
ac_prev=datadir ;; |
| 839 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 840 |
datadir=$ac_optarg ;; |
| 841 |
|
| 842 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 843 |
| --dataroo | --dataro | --datar) |
| 844 |
ac_prev=datarootdir ;; |
| 845 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 846 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 847 |
datarootdir=$ac_optarg ;; |
| 848 |
|
| 849 |
-disable-* | --disable-*) |
| 850 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 851 |
# Reject names that are not valid shell variable names. |
| 852 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 853 |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 854 |
ac_useropt_orig=$ac_useropt |
| 855 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 856 |
case $ac_user_opts in |
| 857 |
*" |
| 858 |
"enable_$ac_useropt" |
| 859 |
"*) ;; |
| 860 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 861 |
ac_unrecognized_sep=', ';; |
| 862 |
esac |
| 863 |
eval enable_$ac_useropt=no ;; |
| 864 |
|
| 865 |
-docdir | --docdir | --docdi | --doc | --do) |
| 866 |
ac_prev=docdir ;; |
| 867 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 868 |
docdir=$ac_optarg ;; |
| 869 |
|
| 870 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 871 |
ac_prev=dvidir ;; |
| 872 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 873 |
dvidir=$ac_optarg ;; |
| 874 |
|
| 875 |
-enable-* | --enable-*) |
| 876 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 877 |
# Reject names that are not valid shell variable names. |
| 878 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 879 |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 880 |
ac_useropt_orig=$ac_useropt |
| 881 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 882 |
case $ac_user_opts in |
| 883 |
*" |
| 884 |
"enable_$ac_useropt" |
| 885 |
"*) ;; |
| 886 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 887 |
ac_unrecognized_sep=', ';; |
| 888 |
esac |
| 889 |
eval enable_$ac_useropt=\$ac_optarg ;; |
| 890 |
|
| 891 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 892 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 893 |
| --exec | --exe | --ex) |
| 894 |
ac_prev=exec_prefix ;; |
| 895 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 896 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 897 |
| --exec=* | --exe=* | --ex=*) |
| 898 |
exec_prefix=$ac_optarg ;; |
| 899 |
|
| 900 |
-gas | --gas | --ga | --g) |
| 901 |
# Obsolete; use --with-gas. |
| 902 |
with_gas=yes ;; |
| 903 |
|
| 904 |
-help | --help | --hel | --he | -h) |
| 905 |
ac_init_help=long ;; |
| 906 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 907 |
ac_init_help=recursive ;; |
| 908 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 909 |
ac_init_help=short ;; |
| 910 |
|
| 911 |
-host | --host | --hos | --ho) |
| 912 |
ac_prev=host_alias ;; |
| 913 |
-host=* | --host=* | --hos=* | --ho=*) |
| 914 |
host_alias=$ac_optarg ;; |
| 915 |
|
| 916 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 917 |
ac_prev=htmldir ;; |
| 918 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 919 |
| --ht=*) |
| 920 |
htmldir=$ac_optarg ;; |
| 921 |
|
| 922 |
-includedir | --includedir | --includedi | --included | --include \ |
| 923 |
| --includ | --inclu | --incl | --inc) |
| 924 |
ac_prev=includedir ;; |
| 925 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 926 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| 927 |
includedir=$ac_optarg ;; |
| 928 |
|
| 929 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 930 |
ac_prev=infodir ;; |
| 931 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 932 |
infodir=$ac_optarg ;; |
| 933 |
|
| 934 |
-libdir | --libdir | --libdi | --libd) |
| 935 |
ac_prev=libdir ;; |
| 936 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 937 |
libdir=$ac_optarg ;; |
| 938 |
|
| 939 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 940 |
| --libexe | --libex | --libe) |
| 941 |
ac_prev=libexecdir ;; |
| 942 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 943 |
| --libexe=* | --libex=* | --libe=*) |
| 944 |
libexecdir=$ac_optarg ;; |
| 945 |
|
| 946 |
-localedir | --localedir | --localedi | --localed | --locale) |
| 947 |
ac_prev=localedir ;; |
| 948 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 949 |
localedir=$ac_optarg ;; |
| 950 |
|
| 951 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 952 |
| --localstate | --localstat | --localsta | --localst | --locals) |
| 953 |
ac_prev=localstatedir ;; |
| 954 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 955 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 956 |
localstatedir=$ac_optarg ;; |
| 957 |
|
| 958 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 959 |
ac_prev=mandir ;; |
| 960 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 961 |
mandir=$ac_optarg ;; |
| 962 |
|
| 963 |
-nfp | --nfp | --nf) |
| 964 |
# Obsolete; use --without-fp. |
| 965 |
with_fp=no ;; |
| 966 |
|
| 967 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 968 |
| --no-cr | --no-c | -n) |
| 969 |
no_create=yes ;; |
| 970 |
|
| 971 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 972 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 973 |
no_recursion=yes ;; |
| 974 |
|
| 975 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 976 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 977 |
| --oldin | --oldi | --old | --ol | --o) |
| 978 |
ac_prev=oldincludedir ;; |
| 979 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 980 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 981 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 982 |
oldincludedir=$ac_optarg ;; |
| 983 |
|
| 984 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 985 |
ac_prev=prefix ;; |
| 986 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 987 |
prefix=$ac_optarg ;; |
| 988 |
|
| 989 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 990 |
| --program-pre | --program-pr | --program-p) |
| 991 |
ac_prev=program_prefix ;; |
| 992 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 993 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 994 |
program_prefix=$ac_optarg ;; |
| 995 |
|
| 996 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 997 |
| --program-suf | --program-su | --program-s) |
| 998 |
ac_prev=program_suffix ;; |
| 999 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1000 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1001 |
program_suffix=$ac_optarg ;; |
| 1002 |
|
| 1003 |
-program-transform-name | --program-transform-name \ |
| 1004 |
| --program-transform-nam | --program-transform-na \ |
| 1005 |
| --program-transform-n | --program-transform- \ |
| 1006 |
| --program-transform | --program-transfor \ |
| 1007 |
| --program-transfo | --program-transf \ |
| 1008 |
| --program-trans | --program-tran \ |
| 1009 |
| --progr-tra | --program-tr | --program-t) |
| 1010 |
ac_prev=program_transform_name ;; |
| 1011 |
-program-transform-name=* | --program-transform-name=* \ |
| 1012 |
| --program-transform-nam=* | --program-transform-na=* \ |
| 1013 |
| --program-transform-n=* | --program-transform-=* \ |
| 1014 |
| --program-transform=* | --program-transfor=* \ |
| 1015 |
| --program-transfo=* | --program-transf=* \ |
| 1016 |
| --program-trans=* | --program-tran=* \ |
| 1017 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 1018 |
program_transform_name=$ac_optarg ;; |
| 1019 |
|
| 1020 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1021 |
ac_prev=pdfdir ;; |
| 1022 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1023 |
pdfdir=$ac_optarg ;; |
| 1024 |
|
| 1025 |
-psdir | --psdir | --psdi | --psd | --ps) |
| 1026 |
ac_prev=psdir ;; |
| 1027 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1028 |
psdir=$ac_optarg ;; |
| 1029 |
|
| 1030 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1031 |
| -silent | --silent | --silen | --sile | --sil) |
| 1032 |
silent=yes ;; |
| 1033 |
|
| 1034 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1035 |
ac_prev=sbindir ;; |
| 1036 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1037 |
| --sbi=* | --sb=*) |
| 1038 |
sbindir=$ac_optarg ;; |
| 1039 |
|
| 1040 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1041 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1042 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 1043 |
| --sha | --sh) |
| 1044 |
ac_prev=sharedstatedir ;; |
| 1045 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1046 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1047 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1048 |
| --sha=* | --sh=*) |
| 1049 |
sharedstatedir=$ac_optarg ;; |
| 1050 |
|
| 1051 |
-site | --site | --sit) |
| 1052 |
ac_prev=site ;; |
| 1053 |
-site=* | --site=* | --sit=*) |
| 1054 |
site=$ac_optarg ;; |
| 1055 |
|
| 1056 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1057 |
ac_prev=srcdir ;; |
| 1058 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1059 |
srcdir=$ac_optarg ;; |
| 1060 |
|
| 1061 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1062 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| 1063 |
ac_prev=sysconfdir ;; |
| 1064 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1065 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1066 |
sysconfdir=$ac_optarg ;; |
| 1067 |
|
| 1068 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 1069 |
ac_prev=target_alias ;; |
| 1070 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1071 |
target_alias=$ac_optarg ;; |
| 1072 |
|
| 1073 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1074 |
verbose=yes ;; |
| 1075 |
|
| 1076 |
-version | --version | --versio | --versi | --vers | -V) |
| 1077 |
ac_init_version=: ;; |
| 1078 |
|
| 1079 |
-with-* | --with-*) |
| 1080 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1081 |
# Reject names that are not valid shell variable names. |
| 1082 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1083 |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1084 |
ac_useropt_orig=$ac_useropt |
| 1085 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1086 |
case $ac_user_opts in |
| 1087 |
*" |
| 1088 |
"with_$ac_useropt" |
| 1089 |
"*) ;; |
| 1090 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1091 |
ac_unrecognized_sep=', ';; |
| 1092 |
esac |
| 1093 |
eval with_$ac_useropt=\$ac_optarg ;; |
| 1094 |
|
| 1095 |
-without-* | --without-*) |
| 1096 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1097 |
# Reject names that are not valid shell variable names. |
| 1098 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1099 |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1100 |
ac_useropt_orig=$ac_useropt |
| 1101 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1102 |
case $ac_user_opts in |
| 1103 |
*" |
| 1104 |
"with_$ac_useropt" |
| 1105 |
"*) ;; |
| 1106 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1107 |
ac_unrecognized_sep=', ';; |
| 1108 |
esac |
| 1109 |
eval with_$ac_useropt=no ;; |
| 1110 |
|
| 1111 |
--x) |
| 1112 |
# Obsolete; use --with-x. |
| 1113 |
with_x=yes ;; |
| 1114 |
|
| 1115 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1116 |
| --x-incl | --x-inc | --x-in | --x-i) |
| 1117 |
ac_prev=x_includes ;; |
| 1118 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1119 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1120 |
x_includes=$ac_optarg ;; |
| 1121 |
|
| 1122 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1123 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1124 |
ac_prev=x_libraries ;; |
| 1125 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1126 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1127 |
x_libraries=$ac_optarg ;; |
| 1128 |
|
| 1129 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1130 |
Try \`$0 --help' for more information" |
| 1131 |
;; |
| 1132 |
|
| 1133 |
*=*) |
| 1134 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1135 |
# Reject names that are not valid shell variable names. |
| 1136 |
case $ac_envvar in #( |
| 1137 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1138 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1139 |
esac |
| 1140 |
eval $ac_envvar=\$ac_optarg |
| 1141 |
export $ac_envvar ;; |
| 1142 |
|
| 1143 |
*) |
| 1144 |
# FIXME: should be removed in autoconf 3.0. |
| 1145 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1146 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1147 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1148 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1149 |
;; |
| 1150 |
|
| 1151 |
esac |
| 1152 |
done |
| 1153 |
|
| 1154 |
if test -n "$ac_prev"; then |
| 1155 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1156 |
as_fn_error $? "missing argument to $ac_option" |
| 1157 |
fi |
| 1158 |
|
| 1159 |
if test -n "$ac_unrecognized_opts"; then |
| 1160 |
case $enable_option_checking in |
| 1161 |
no) ;; |
| 1162 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1163 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1164 |
esac |
| 1165 |
fi |
| 1166 |
|
| 1167 |
# Check all directory arguments for consistency. |
| 1168 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1169 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1170 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1171 |
libdir localedir mandir |
| 1172 |
do |
| 1173 |
eval ac_val=\$$ac_var |
| 1174 |
# Remove trailing slashes. |
| 1175 |
case $ac_val in |
| 1176 |
*/ ) |
| 1177 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1178 |
eval $ac_var=\$ac_val;; |
| 1179 |
esac |
| 1180 |
# Be sure to have absolute directory names. |
| 1181 |
case $ac_val in |
| 1182 |
[\\/$]* | ?:[\\/]* ) continue;; |
| 1183 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1184 |
esac |
| 1185 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1186 |
done |
| 1187 |
|
| 1188 |
# There might be people who depend on the old broken behavior: `$host' |
| 1189 |
# used to hold the argument of --host etc. |
| 1190 |
# FIXME: To remove some day. |
| 1191 |
build=$build_alias |
| 1192 |
host=$host_alias |
| 1193 |
target=$target_alias |
| 1194 |
|
| 1195 |
# FIXME: To remove some day. |
| 1196 |
if test "x$host_alias" != x; then |
| 1197 |
if test "x$build_alias" = x; then |
| 1198 |
cross_compiling=maybe |
| 1199 |
elif test "x$build_alias" != "x$host_alias"; then |
| 1200 |
cross_compiling=yes |
| 1201 |
fi |
| 1202 |
fi |
| 1203 |
|
| 1204 |
ac_tool_prefix= |
| 1205 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1206 |
|
| 1207 |
test "$silent" = yes && exec 6>/dev/null |
| 1208 |
|
| 1209 |
|
| 1210 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1211 |
ac_ls_di=`ls -di .` && |
| 1212 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1213 |
as_fn_error $? "working directory cannot be determined" |
| 1214 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1215 |
as_fn_error $? "pwd does not report name of working directory" |
| 1216 |
|
| 1217 |
|
| 1218 |
# Find the source files, if location was not specified. |
| 1219 |
if test -z "$srcdir"; then |
| 1220 |
ac_srcdir_defaulted=yes |
| 1221 |
# Try the directory containing this script, then the parent directory. |
| 1222 |
ac_confdir=`$as_dirname -- "$as_myself" || |
| 1223 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1224 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1225 |
X"$as_myself" : 'X\(//\)$' \| \ |
| 1226 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1227 |
$as_echo X"$as_myself" | |
| 1228 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1229 |
s//\1/ |
| 1230 |
q |
| 1231 |
} |
| 1232 |
/^X\(\/\/\)[^/].*/{ |
| 1233 |
s//\1/ |
| 1234 |
q |
| 1235 |
} |
| 1236 |
/^X\(\/\/\)$/{ |
| 1237 |
s//\1/ |
| 1238 |
q |
| 1239 |
} |
| 1240 |
/^X\(\/\).*/{ |
| 1241 |
s//\1/ |
| 1242 |
q |
| 1243 |
} |
| 1244 |
s/.*/./; q'` |
| 1245 |
srcdir=$ac_confdir |
| 1246 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1247 |
srcdir=.. |
| 1248 |
fi |
| 1249 |
else |
| 1250 |
ac_srcdir_defaulted=no |
| 1251 |
fi |
| 1252 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1253 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1254 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1255 |
fi |
| 1256 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1257 |
ac_abs_confdir=`( |
| 1258 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1259 |
pwd)` |
| 1260 |
# When building in place, set srcdir=. |
| 1261 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1262 |
srcdir=. |
| 1263 |
fi |
| 1264 |
# Remove unnecessary trailing slashes from srcdir. |
| 1265 |
# Double slashes in file names in object file debugging info |
| 1266 |
# mess up M-x gdb in Emacs. |
| 1267 |
case $srcdir in |
| 1268 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1269 |
esac |
| 1270 |
for ac_var in $ac_precious_vars; do |
| 1271 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1272 |
eval ac_env_${ac_var}_value=\$${ac_var} |
| 1273 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1274 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1275 |
done |
| 1276 |
|
| 1277 |
# |
| 1278 |
# Report the --help message. |
| 1279 |
# |
| 1280 |
if test "$ac_init_help" = "long"; then |
| 1281 |
# Omit some internal or obsolete options to make the list less imposing. |
| 1282 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1283 |
cat <<_ACEOF |
| 1284 |
\`configure' configures star-snow-notes 1.0.0 to adapt to many kinds of systems. |
| 1285 |
|
| 1286 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1287 |
|
| 1288 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1289 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1290 |
|
| 1291 |
Defaults for the options are specified in brackets. |
| 1292 |
|
| 1293 |
Configuration: |
| 1294 |
-h, --help display this help and exit |
| 1295 |
--help=short display options specific to this package |
| 1296 |
--help=recursive display the short help of all the included packages |
| 1297 |
-V, --version display version information and exit |
| 1298 |
-q, --quiet, --silent do not print \`checking ...' messages |
| 1299 |
--cache-file=FILE cache test results in FILE [disabled] |
| 1300 |
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1301 |
-n, --no-create do not create output files |
| 1302 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1303 |
|
| 1304 |
Installation directories: |
| 1305 |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 1306 |
[$ac_default_prefix] |
| 1307 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1308 |
[PREFIX] |
| 1309 |
|
| 1310 |
By default, \`make install' will install all the files in |
| 1311 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1312 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1313 |
for instance \`--prefix=\$HOME'. |
| 1314 |
|
| 1315 |
For better control, use the options below. |
| 1316 |
|
| 1317 |
Fine tuning of the installation directories: |
| 1318 |
--bindir=DIR user executables [EPREFIX/bin] |
| 1319 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1320 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 1321 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1322 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1323 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1324 |
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1325 |
--includedir=DIR C header files [PREFIX/include] |
| 1326 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1327 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1328 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1329 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
| 1330 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1331 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
| 1332 |
--docdir=DIR documentation root [DATAROOTDIR/doc/star-snow-notes] |
| 1333 |
--htmldir=DIR html documentation [DOCDIR] |
| 1334 |
--dvidir=DIR dvi documentation [DOCDIR] |
| 1335 |
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1336 |
--psdir=DIR ps documentation [DOCDIR] |
| 1337 |
_ACEOF |
| 1338 |
|
| 1339 |
cat <<\_ACEOF |
| 1340 |
|
| 1341 |
Program names: |
| 1342 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
| 1343 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
| 1344 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1345 |
|
| 1346 |
System types: |
| 1347 |
--build=BUILD configure for building on BUILD [guessed] |
| 1348 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1349 |
_ACEOF |
| 1350 |
fi |
| 1351 |
|
| 1352 |
if test -n "$ac_init_help"; then |
| 1353 |
case $ac_init_help in |
| 1354 |
short | recursive ) echo "Configuration of star-snow-notes 1.0.0:";; |
| 1355 |
esac |
| 1356 |
cat <<\_ACEOF |
| 1357 |
|
| 1358 |
Optional Features: |
| 1359 |
--disable-option-checking ignore unrecognized --enable/--with options |
| 1360 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1361 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1362 |
--disable-dependency-tracking speeds up one-time build |
| 1363 |
--enable-dependency-tracking do not reject slow dependency extractors |
| 1364 |
|
| 1365 |
Some influential environment variables: |
| 1366 |
CC C compiler command |
| 1367 |
CFLAGS C compiler flags |
| 1368 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1369 |
nonstandard directory <lib dir> |
| 1370 |
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1371 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1372 |
you have headers in a nonstandard directory <include dir> |
| 1373 |
CXX C++ compiler command |
| 1374 |
CXXFLAGS C++ compiler flags |
| 1375 |
CPP C preprocessor |
| 1376 |
|
| 1377 |
Use these variables to override the choices made by `configure' or to help |
| 1378 |
it to find libraries and programs with nonstandard names/locations. |
| 1379 |
|
| 1380 |
Report bugs to <bowkenken@users.sourceforge.jp>. |
| 1381 |
_ACEOF |
| 1382 |
ac_status=$? |
| 1383 |
fi |
| 1384 |
|
| 1385 |
if test "$ac_init_help" = "recursive"; then |
| 1386 |
# If there are subdirs, report their specific --help. |
| 1387 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1388 |
test -d "$ac_dir" || |
| 1389 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 1390 |
continue |
| 1391 |
ac_builddir=. |
| 1392 |
|
| 1393 |
case "$ac_dir" in |
| 1394 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1395 |
*) |
| 1396 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1397 |
# A ".." for each directory in $ac_dir_suffix. |
| 1398 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1399 |
case $ac_top_builddir_sub in |
| 1400 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1401 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1402 |
esac ;; |
| 1403 |
esac |
| 1404 |
ac_abs_top_builddir=$ac_pwd |
| 1405 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1406 |
# for backward compatibility: |
| 1407 |
ac_top_builddir=$ac_top_build_prefix |
| 1408 |
|
| 1409 |
case $srcdir in |
| 1410 |
.) # We are building in place. |
| 1411 |
ac_srcdir=. |
| 1412 |
ac_top_srcdir=$ac_top_builddir_sub |
| 1413 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 1414 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 1415 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 1416 |
ac_top_srcdir=$srcdir |
| 1417 |
ac_abs_top_srcdir=$srcdir ;; |
| 1418 |
*) # Relative name. |
| 1419 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1420 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1421 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1422 |
esac |
| 1423 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1424 |
|
| 1425 |
cd "$ac_dir" || { ac_status=$?; continue; } |
| 1426 |
# Check for guested configure. |
| 1427 |
if test -f "$ac_srcdir/configure.gnu"; then |
| 1428 |
echo && |
| 1429 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1430 |
elif test -f "$ac_srcdir/configure"; then |
| 1431 |
echo && |
| 1432 |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1433 |
else |
| 1434 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1435 |
fi || ac_status=$? |
| 1436 |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1437 |
done |
| 1438 |
fi |
| 1439 |
|
| 1440 |
test -n "$ac_init_help" && exit $ac_status |
| 1441 |
if $ac_init_version; then |
| 1442 |
cat <<\_ACEOF |
| 1443 |
star-snow-notes configure 1.0.0 |
| 1444 |
generated by GNU Autoconf 2.69 |
| 1445 |
|
| 1446 |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1447 |
This configure script is free software; the Free Software Foundation |
| 1448 |
gives unlimited permission to copy, distribute and modify it. |
| 1449 |
_ACEOF |
| 1450 |
exit |
| 1451 |
fi |
| 1452 |
|
| 1453 |
## ------------------------ ## |
| 1454 |
## Autoconf initialization. ## |
| 1455 |
## ------------------------ ## |
| 1456 |
|
| 1457 |
# ac_fn_c_try_compile LINENO |
| 1458 |
# -------------------------- |
| 1459 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1460 |
ac_fn_c_try_compile () |
| 1461 |
{ |
| 1462 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1463 |
rm -f conftest.$ac_objext |
| 1464 |
if { { ac_try="$ac_compile" |
| 1465 |
case "(($ac_try" in |
| 1466 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1467 |
*) ac_try_echo=$ac_try;; |
| 1468 |
esac |
| 1469 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1470 |
$as_echo "$ac_try_echo"; } >&5 |
| 1471 |
(eval "$ac_compile") 2>conftest.err |
| 1472 |
ac_status=$? |
| 1473 |
if test -s conftest.err; then |
| 1474 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1475 |
cat conftest.er1 >&5 |
| 1476 |
mv -f conftest.er1 conftest.err |
| 1477 |
fi |
| 1478 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1479 |
test $ac_status = 0; } && { |
| 1480 |
test -z "$ac_c_werror_flag" || |
| 1481 |
test ! -s conftest.err |
| 1482 |
} && test -s conftest.$ac_objext; then : |
| 1483 |
ac_retval=0 |
| 1484 |
else |
| 1485 |
$as_echo "$as_me: failed program was:" >&5 |
| 1486 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1487 |
|
| 1488 |
ac_retval=1 |
| 1489 |
fi |
| 1490 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1491 |
as_fn_set_status $ac_retval |
| 1492 |
|
| 1493 |
} # ac_fn_c_try_compile |
| 1494 |
|
| 1495 |
# ac_fn_cxx_try_compile LINENO |
| 1496 |
# ---------------------------- |
| 1497 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1498 |
ac_fn_cxx_try_compile () |
| 1499 |
{ |
| 1500 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1501 |
rm -f conftest.$ac_objext |
| 1502 |
if { { ac_try="$ac_compile" |
| 1503 |
case "(($ac_try" in |
| 1504 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1505 |
*) ac_try_echo=$ac_try;; |
| 1506 |
esac |
| 1507 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1508 |
$as_echo "$ac_try_echo"; } >&5 |
| 1509 |
(eval "$ac_compile") 2>conftest.err |
| 1510 |
ac_status=$? |
| 1511 |
if test -s conftest.err; then |
| 1512 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1513 |
cat conftest.er1 >&5 |
| 1514 |
mv -f conftest.er1 conftest.err |
| 1515 |
fi |
| 1516 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1517 |
test $ac_status = 0; } && { |
| 1518 |
test -z "$ac_cxx_werror_flag" || |
| 1519 |
test ! -s conftest.err |
| 1520 |
} && test -s conftest.$ac_objext; then : |
| 1521 |
ac_retval=0 |
| 1522 |
else |
| 1523 |
$as_echo "$as_me: failed program was:" >&5 |
| 1524 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1525 |
|
| 1526 |
ac_retval=1 |
| 1527 |
fi |
| 1528 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1529 |
as_fn_set_status $ac_retval |
| 1530 |
|
| 1531 |
} # ac_fn_cxx_try_compile |
| 1532 |
|
| 1533 |
# ac_fn_c_try_link LINENO |
| 1534 |
# ----------------------- |
| 1535 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
| 1536 |
ac_fn_c_try_link () |
| 1537 |
{ |
| 1538 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1539 |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 1540 |
if { { ac_try="$ac_link" |
| 1541 |
case "(($ac_try" in |
| 1542 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1543 |
*) ac_try_echo=$ac_try;; |
| 1544 |
esac |
| 1545 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1546 |
$as_echo "$ac_try_echo"; } >&5 |
| 1547 |
(eval "$ac_link") 2>conftest.err |
| 1548 |
ac_status=$? |
| 1549 |
if test -s conftest.err; then |
| 1550 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1551 |
cat conftest.er1 >&5 |
| 1552 |
mv -f conftest.er1 conftest.err |
| 1553 |
fi |
| 1554 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1555 |
test $ac_status = 0; } && { |
| 1556 |
test -z "$ac_c_werror_flag" || |
| 1557 |
test ! -s conftest.err |
| 1558 |
} && test -s conftest$ac_exeext && { |
| 1559 |
test "$cross_compiling" = yes || |
| 1560 |
test -x conftest$ac_exeext |
| 1561 |
}; then : |
| 1562 |
ac_retval=0 |
| 1563 |
else |
| 1564 |
$as_echo "$as_me: failed program was:" >&5 |
| 1565 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1566 |
|
| 1567 |
ac_retval=1 |
| 1568 |
fi |
| 1569 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 1570 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 1571 |
# interfere with the next link command; also delete a directory that is |
| 1572 |
# left behind by Apple's compiler. We do this before executing the actions. |
| 1573 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1574 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1575 |
as_fn_set_status $ac_retval |
| 1576 |
|
| 1577 |
} # ac_fn_c_try_link |
| 1578 |
|
| 1579 |
# ac_fn_c_try_cpp LINENO |
| 1580 |
# ---------------------- |
| 1581 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1582 |
ac_fn_c_try_cpp () |
| 1583 |
{ |
| 1584 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1585 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1586 |
case "(($ac_try" in |
| 1587 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1588 |
*) ac_try_echo=$ac_try;; |
| 1589 |
esac |
| 1590 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1591 |
$as_echo "$ac_try_echo"; } >&5 |
| 1592 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1593 |
ac_status=$? |
| 1594 |
if test -s conftest.err; then |
| 1595 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1596 |
cat conftest.er1 >&5 |
| 1597 |
mv -f conftest.er1 conftest.err |
| 1598 |
fi |
| 1599 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1600 |
test $ac_status = 0; } > conftest.i && { |
| 1601 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1602 |
test ! -s conftest.err |
| 1603 |
}; then : |
| 1604 |
ac_retval=0 |
| 1605 |
else |
| 1606 |
$as_echo "$as_me: failed program was:" >&5 |
| 1607 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1608 |
|
| 1609 |
ac_retval=1 |
| 1610 |
fi |
| 1611 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1612 |
as_fn_set_status $ac_retval |
| 1613 |
|
| 1614 |
} # ac_fn_c_try_cpp |
| 1615 |
|
| 1616 |
# ac_fn_c_try_run LINENO |
| 1617 |
# ---------------------- |
| 1618 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1619 |
# that executables *can* be run. |
| 1620 |
ac_fn_c_try_run () |
| 1621 |
{ |
| 1622 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1623 |
if { { ac_try="$ac_link" |
| 1624 |
case "(($ac_try" in |
| 1625 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1626 |
*) ac_try_echo=$ac_try;; |
| 1627 |
esac |
| 1628 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1629 |
$as_echo "$ac_try_echo"; } >&5 |
| 1630 |
(eval "$ac_link") 2>&5 |
| 1631 |
ac_status=$? |
| 1632 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1633 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1634 |
{ { case "(($ac_try" in |
| 1635 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1636 |
*) ac_try_echo=$ac_try;; |
| 1637 |
esac |
| 1638 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1639 |
$as_echo "$ac_try_echo"; } >&5 |
| 1640 |
(eval "$ac_try") 2>&5 |
| 1641 |
ac_status=$? |
| 1642 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1643 |
test $ac_status = 0; }; }; then : |
| 1644 |
ac_retval=0 |
| 1645 |
else |
| 1646 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1647 |
$as_echo "$as_me: failed program was:" >&5 |
| 1648 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1649 |
|
| 1650 |
ac_retval=$ac_status |
| 1651 |
fi |
| 1652 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1653 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1654 |
as_fn_set_status $ac_retval |
| 1655 |
|
| 1656 |
} # ac_fn_c_try_run |
| 1657 |
|
| 1658 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1659 |
# ------------------------------------------------------- |
| 1660 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 1661 |
# the include files in INCLUDES and setting the cache variable VAR |
| 1662 |
# accordingly. |
| 1663 |
ac_fn_c_check_header_mongrel () |
| 1664 |
{ |
| 1665 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1666 |
if eval \${$3+:} false; then : |
| 1667 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1668 |
$as_echo_n "checking for $2... " >&6; } |
| 1669 |
if eval \${$3+:} false; then : |
| 1670 |
$as_echo_n "(cached) " >&6 |
| 1671 |
fi |
| 1672 |
eval ac_res=\$$3 |
| 1673 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1674 |
$as_echo "$ac_res" >&6; } |
| 1675 |
else |
| 1676 |
# Is the header compilable? |
| 1677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 1678 |
$as_echo_n "checking $2 usability... " >&6; } |
| 1679 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1680 |
/* end confdefs.h. */ |
| 1681 |
$4 |
| 1682 |
#include <$2> |
| 1683 |
_ACEOF |
| 1684 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1685 |
ac_header_compiler=yes |
| 1686 |
else |
| 1687 |
ac_header_compiler=no |
| 1688 |
fi |
| 1689 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 1691 |
$as_echo "$ac_header_compiler" >&6; } |
| 1692 |
|
| 1693 |
# Is the header present? |
| 1694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 1695 |
$as_echo_n "checking $2 presence... " >&6; } |
| 1696 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1697 |
/* end confdefs.h. */ |
| 1698 |
#include <$2> |
| 1699 |
_ACEOF |
| 1700 |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 1701 |
ac_header_preproc=yes |
| 1702 |
else |
| 1703 |
ac_header_preproc=no |
| 1704 |
fi |
| 1705 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 1706 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1707 |
$as_echo "$ac_header_preproc" >&6; } |
| 1708 |
|
| 1709 |
# So? What about this header? |
| 1710 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 1711 |
yes:no: ) |
| 1712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 1713 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 1714 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1715 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1716 |
;; |
| 1717 |
no:yes:* ) |
| 1718 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
| 1719 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 1720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
| 1721 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
| 1722 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
| 1723 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 1724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
| 1725 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 1726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1727 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1728 |
( $as_echo "## --------------------------------------------- ## |
| 1729 |
## Report this to bowkenken@users.sourceforge.jp ## |
| 1730 |
## --------------------------------------------- ##" |
| 1731 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 1732 |
;; |
| 1733 |
esac |
| 1734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1735 |
$as_echo_n "checking for $2... " >&6; } |
| 1736 |
if eval \${$3+:} false; then : |
| 1737 |
$as_echo_n "(cached) " >&6 |
| 1738 |
else |
| 1739 |
eval "$3=\$ac_header_compiler" |
| 1740 |
fi |
| 1741 |
eval ac_res=\$$3 |
| 1742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1743 |
$as_echo "$ac_res" >&6; } |
| 1744 |
fi |
| 1745 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1746 |
|
| 1747 |
} # ac_fn_c_check_header_mongrel |
| 1748 |
|
| 1749 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 1750 |
# ------------------------------------------------------- |
| 1751 |
# Tests whether HEADER exists and can be compiled using the include files in |
| 1752 |
# INCLUDES, setting the cache variable VAR accordingly. |
| 1753 |
ac_fn_c_check_header_compile () |
| 1754 |
{ |
| 1755 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1757 |
$as_echo_n "checking for $2... " >&6; } |
| 1758 |
if eval \${$3+:} false; then : |
| 1759 |
$as_echo_n "(cached) " >&6 |
| 1760 |
else |
| 1761 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1762 |
/* end confdefs.h. */ |
| 1763 |
$4 |
| 1764 |
#include <$2> |
| 1765 |
_ACEOF |
| 1766 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1767 |
eval "$3=yes" |
| 1768 |
else |
| 1769 |
eval "$3=no" |
| 1770 |
fi |
| 1771 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1772 |
fi |
| 1773 |
eval ac_res=\$$3 |
| 1774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1775 |
$as_echo "$ac_res" >&6; } |
| 1776 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1777 |
|
| 1778 |
} # ac_fn_c_check_header_compile |
| 1779 |
|
| 1780 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 1781 |
# ------------------------------------------- |
| 1782 |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
| 1783 |
# variable VAR accordingly. |
| 1784 |
ac_fn_c_check_type () |
| 1785 |
{ |
| 1786 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1787 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1788 |
$as_echo_n "checking for $2... " >&6; } |
| 1789 |
if eval \${$3+:} false; then : |
| 1790 |
$as_echo_n "(cached) " >&6 |
| 1791 |
else |
| 1792 |
eval "$3=no" |
| 1793 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1794 |
/* end confdefs.h. */ |
| 1795 |
$4 |
| 1796 |
int |
| 1797 |
main () |
| 1798 |
{ |
| 1799 |
if (sizeof ($2)) |
| 1800 |
return 0; |
| 1801 |
; |
| 1802 |
return 0; |
| 1803 |
} |
| 1804 |
_ACEOF |
| 1805 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1806 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1807 |
/* end confdefs.h. */ |
| 1808 |
$4 |
| 1809 |
int |
| 1810 |
main () |
| 1811 |
{ |
| 1812 |
if (sizeof (($2))) |
| 1813 |
return 0; |
| 1814 |
; |
| 1815 |
return 0; |
| 1816 |
} |
| 1817 |
_ACEOF |
| 1818 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1819 |
|
| 1820 |
else |
| 1821 |
eval "$3=yes" |
| 1822 |
fi |
| 1823 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1824 |
fi |
| 1825 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1826 |
fi |
| 1827 |
eval ac_res=\$$3 |
| 1828 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1829 |
$as_echo "$ac_res" >&6; } |
| 1830 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1831 |
|
| 1832 |
} # ac_fn_c_check_type |
| 1833 |
|
| 1834 |
# ac_fn_c_check_func LINENO FUNC VAR |
| 1835 |
# ---------------------------------- |
| 1836 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 1837 |
ac_fn_c_check_func () |
| 1838 |
{ |
| 1839 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1840 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1841 |
$as_echo_n "checking for $2... " >&6; } |
| 1842 |
if eval \${$3+:} false; then : |
| 1843 |
$as_echo_n "(cached) " >&6 |
| 1844 |
else |
| 1845 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1846 |
/* end confdefs.h. */ |
| 1847 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 1848 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 1849 |
#define $2 innocuous_$2 |
| 1850 |
|
| 1851 |
/* System header to define __stub macros and hopefully few prototypes, |
| 1852 |
which can conflict with char $2 (); below. |
| 1853 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 1854 |
<limits.h> exists even on freestanding compilers. */ |
| 1855 |
|
| 1856 |
#ifdef __STDC__ |
| 1857 |
# include <limits.h> |
| 1858 |
#else |
| 1859 |
# include <assert.h> |
| 1860 |
#endif |
| 1861 |
|
| 1862 |
#undef $2 |
| 1863 |
|
| 1864 |
/* Override any GCC internal prototype to avoid an error. |
| 1865 |
Use char because int might match the return type of a GCC |
| 1866 |
builtin and then its argument prototype would still apply. */ |
| 1867 |
#ifdef __cplusplus |
| 1868 |
extern "C" |
| 1869 |
#endif |
| 1870 |
char $2 (); |
| 1871 |
/* The GNU C library defines this for functions which it implements |
| 1872 |
to always fail with ENOSYS. Some functions are actually named |
| 1873 |
something starting with __ and the normal name is an alias. */ |
| 1874 |
#if defined __stub_$2 || defined __stub___$2 |
| 1875 |
choke me |
| 1876 |
#endif |
| 1877 |
|
| 1878 |
int |
| 1879 |
main () |
| 1880 |
{ |
| 1881 |
return $2 (); |
| 1882 |
; |
| 1883 |
return 0; |
| 1884 |
} |
| 1885 |
_ACEOF |
| 1886 |
if ac_fn_c_try_link "$LINENO"; then : |
| 1887 |
eval "$3=yes" |
| 1888 |
else |
| 1889 |
eval "$3=no" |
| 1890 |
fi |
| 1891 |
rm -f core conftest.err conftest.$ac_objext \ |
| 1892 |
conftest$ac_exeext conftest.$ac_ext |
| 1893 |
fi |
| 1894 |
eval ac_res=\$$3 |
| 1895 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1896 |
$as_echo "$ac_res" >&6; } |
| 1897 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1898 |
|
| 1899 |
} # ac_fn_c_check_func |
| 1900 |
cat >config.log <<_ACEOF |
| 1901 |
This file contains any messages produced by compilers while |
| 1902 |
running configure, to aid debugging if configure makes a mistake. |
| 1903 |
|
| 1904 |
It was created by star-snow-notes $as_me 1.0.0, which was |
| 1905 |
generated by GNU Autoconf 2.69. Invocation command line was |
| 1906 |
|
| 1907 |
$ $0 $@ |
| 1908 |
|
| 1909 |
_ACEOF |
| 1910 |
exec 5>>config.log |
| 1911 |
{ |
| 1912 |
cat <<_ASUNAME |
| 1913 |
## --------- ## |
| 1914 |
## Platform. ## |
| 1915 |
## --------- ## |
| 1916 |
|
| 1917 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1918 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1919 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1920 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1921 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1922 |
|
| 1923 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1924 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1925 |
|
| 1926 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1927 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1928 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1929 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1930 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1931 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1932 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1933 |
|
| 1934 |
_ASUNAME |
| 1935 |
|
| 1936 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1937 |
for as_dir in $PATH |
| 1938 |
do |
| 1939 |
IFS=$as_save_IFS |
| 1940 |
test -z "$as_dir" && as_dir=. |
| 1941 |
$as_echo "PATH: $as_dir" |
| 1942 |
done |
| 1943 |
IFS=$as_save_IFS |
| 1944 |
|
| 1945 |
} >&5 |
| 1946 |
|
| 1947 |
cat >&5 <<_ACEOF |
| 1948 |
|
| 1949 |
|
| 1950 |
## ----------- ## |
| 1951 |
## Core tests. ## |
| 1952 |
## ----------- ## |
| 1953 |
|
| 1954 |
_ACEOF |
| 1955 |
|
| 1956 |
|
| 1957 |
# Keep a trace of the command line. |
| 1958 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 1959 |
# Strip out --silent because we don't want to record it for future runs. |
| 1960 |
# Also quote any args containing shell meta-characters. |
| 1961 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 1962 |
ac_configure_args= |
| 1963 |
ac_configure_args0= |
| 1964 |
ac_configure_args1= |
| 1965 |
ac_must_keep_next=false |
| 1966 |
for ac_pass in 1 2 |
| 1967 |
do |
| 1968 |
for ac_arg |
| 1969 |
do |
| 1970 |
case $ac_arg in |
| 1971 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1972 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1973 |
| -silent | --silent | --silen | --sile | --sil) |
| 1974 |
continue ;; |
| 1975 |
*\'*) |
| 1976 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1977 |
esac |
| 1978 |
case $ac_pass in |
| 1979 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1980 |
2) |
| 1981 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
| 1982 |
if test $ac_must_keep_next = true; then |
| 1983 |
ac_must_keep_next=false # Got value, back to normal. |
| 1984 |
else |
| 1985 |
case $ac_arg in |
| 1986 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1987 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1988 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1989 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1990 |
case "$ac_configure_args0 " in |
| 1991 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1992 |
esac |
| 1993 |
;; |
| 1994 |
-* ) ac_must_keep_next=true ;; |
| 1995 |
esac |
| 1996 |
fi |
| 1997 |
as_fn_append ac_configure_args " '$ac_arg'" |
| 1998 |
;; |
| 1999 |
esac |
| 2000 |
done |
| 2001 |
done |
| 2002 |
{ ac_configure_args0=; unset ac_configure_args0;} |
| 2003 |
{ ac_configure_args1=; unset ac_configure_args1;} |
| 2004 |
|
| 2005 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 2006 |
# config.log. We remove comments because anyway the quotes in there |
| 2007 |
# would cause problems or look ugly. |
| 2008 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2009 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2010 |
trap 'exit_status=$? |
| 2011 |
# Save into config.log some information that might help in debugging. |
| 2012 |
{ |
| 2013 |
echo |
| 2014 |
|
| 2015 |
$as_echo "## ---------------- ## |
| 2016 |
## Cache variables. ## |
| 2017 |
## ---------------- ##" |
| 2018 |
echo |
| 2019 |
# The following way of writing the cache mishandles newlines in values, |
| 2020 |
( |
| 2021 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 2022 |
eval ac_val=\$$ac_var |
| 2023 |
case $ac_val in #( |
| 2024 |
*${as_nl}*) |
| 2025 |
case $ac_var in #( |
| 2026 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2027 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2028 |
esac |
| 2029 |
case $ac_var in #( |
| 2030 |
_ | IFS | as_nl) ;; #( |
| 2031 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2032 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 2033 |
esac ;; |
| 2034 |
esac |
| 2035 |
done |
| 2036 |
(set) 2>&1 | |
| 2037 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 2038 |
*${as_nl}ac_space=\ *) |
| 2039 |
sed -n \ |
| 2040 |
"s/'\''/'\''\\\\'\'''\''/g; |
| 2041 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 2042 |
;; #( |
| 2043 |
*) |
| 2044 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2045 |
;; |
| 2046 |
esac | |
| 2047 |
sort |
| 2048 |
) |
| 2049 |
echo |
| 2050 |
|
| 2051 |
$as_echo "## ----------------- ## |
| 2052 |
## Output variables. ## |
| 2053 |
## ----------------- ##" |
| 2054 |
echo |
| 2055 |
for ac_var in $ac_subst_vars |
| 2056 |
do |
| 2057 |
eval ac_val=\$$ac_var |
| 2058 |
case $ac_val in |
| 2059 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2060 |
esac |
| 2061 |
$as_echo "$ac_var='\''$ac_val'\''" |
| 2062 |
done | sort |
| 2063 |
echo |
| 2064 |
|
| 2065 |
if test -n "$ac_subst_files"; then |
| 2066 |
$as_echo "## ------------------- ## |
| 2067 |
## File substitutions. ## |
| 2068 |
## ------------------- ##" |
| 2069 |
echo |
| 2070 |
for ac_var in $ac_subst_files |
| 2071 |
do |
| 2072 |
eval ac_val=\$$ac_var |
| 2073 |
case $ac_val in |
| 2074 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2075 |
esac |
| 2076 |
$as_echo "$ac_var='\''$ac_val'\''" |
| 2077 |
done | sort |
| 2078 |
echo |
| 2079 |
fi |
| 2080 |
|
| 2081 |
if test -s confdefs.h; then |
| 2082 |
$as_echo "## ----------- ## |
| 2083 |
## confdefs.h. ## |
| 2084 |
## ----------- ##" |
| 2085 |
echo |
| 2086 |
cat confdefs.h |
| 2087 |
echo |
| 2088 |
fi |
| 2089 |
test "$ac_signal" != 0 && |
| 2090 |
$as_echo "$as_me: caught signal $ac_signal" |
| 2091 |
$as_echo "$as_me: exit $exit_status" |
| 2092 |
} >&5 |
| 2093 |
rm -f core *.core core.conftest.* && |
| 2094 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2095 |
exit $exit_status |
| 2096 |
' 0 |
| 2097 |
for ac_signal in 1 2 13 15; do |
| 2098 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2099 |
done |
| 2100 |
ac_signal=0 |
| 2101 |
|
| 2102 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2103 |
rm -f -r conftest* confdefs.h |
| 2104 |
|
| 2105 |
$as_echo "/* confdefs.h */" > confdefs.h |
| 2106 |
|
| 2107 |
# Predefined preprocessor variables. |
| 2108 |
|
| 2109 |
cat >>confdefs.h <<_ACEOF |
| 2110 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 2111 |
_ACEOF |
| 2112 |
|
| 2113 |
cat >>confdefs.h <<_ACEOF |
| 2114 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2115 |
_ACEOF |
| 2116 |
|
| 2117 |
cat >>confdefs.h <<_ACEOF |
| 2118 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2119 |
_ACEOF |
| 2120 |
|
| 2121 |
cat >>confdefs.h <<_ACEOF |
| 2122 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 2123 |
_ACEOF |
| 2124 |
|
| 2125 |
cat >>confdefs.h <<_ACEOF |
| 2126 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2127 |
_ACEOF |
| 2128 |
|
| 2129 |
cat >>confdefs.h <<_ACEOF |
| 2130 |
#define PACKAGE_URL "$PACKAGE_URL" |
| 2131 |
_ACEOF |
| 2132 |
|
| 2133 |
|
| 2134 |
# Let the site file select an alternate cache file if it wants to. |
| 2135 |
# Prefer an explicitly selected file to automatically selected ones. |
| 2136 |
ac_site_file1=NONE |
| 2137 |
ac_site_file2=NONE |
| 2138 |
if test -n "$CONFIG_SITE"; then |
| 2139 |
# We do not want a PATH search for config.site. |
| 2140 |
case $CONFIG_SITE in #(( |
| 2141 |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2142 |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2143 |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2144 |
esac |
| 2145 |
elif test "x$prefix" != xNONE; then |
| 2146 |
ac_site_file1=$prefix/share/config.site |
| 2147 |
ac_site_file2=$prefix/etc/config.site |
| 2148 |
else |
| 2149 |
ac_site_file1=$ac_default_prefix/share/config.site |
| 2150 |
ac_site_file2=$ac_default_prefix/etc/config.site |
| 2151 |
fi |
| 2152 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2153 |
do |
| 2154 |
test "x$ac_site_file" = xNONE && continue |
| 2155 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 2156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2157 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2158 |
sed 's/^/| /' "$ac_site_file" >&5 |
| 2159 |
. "$ac_site_file" \ |
| 2160 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2161 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2162 |
as_fn_error $? "failed to load site script $ac_site_file |
| 2163 |
See \`config.log' for more details" "$LINENO" 5; } |
| 2164 |
fi |
| 2165 |
done |
| 2166 |
|
| 2167 |
if test -r "$cache_file"; then |
| 2168 |
# Some versions of bash will fail to source /dev/null (special files |
| 2169 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2170 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2172 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2173 |
case $cache_file in |
| 2174 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2175 |
*) . "./$cache_file";; |
| 2176 |
esac |
| 2177 |
fi |
| 2178 |
else |
| 2179 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2180 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2181 |
>$cache_file |
| 2182 |
fi |
| 2183 |
|
| 2184 |
# Check that the precious variables saved in the cache have kept the same |
| 2185 |
# value. |
| 2186 |
ac_cache_corrupted=false |
| 2187 |
for ac_var in $ac_precious_vars; do |
| 2188 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 2189 |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 2190 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 2191 |
eval ac_new_val=\$ac_env_${ac_var}_value |
| 2192 |
case $ac_old_set,$ac_new_set in |
| 2193 |
set,) |
| 2194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2195 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2196 |
ac_cache_corrupted=: ;; |
| 2197 |
,set) |
| 2198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2199 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2200 |
ac_cache_corrupted=: ;; |
| 2201 |
,);; |
| 2202 |
*) |
| 2203 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 2204 |
# differences in whitespace do not lead to failure. |
| 2205 |
ac_old_val_w=`echo x $ac_old_val` |
| 2206 |
ac_new_val_w=`echo x $ac_new_val` |
| 2207 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2209 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2210 |
ac_cache_corrupted=: |
| 2211 |
else |
| 2212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2213 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2214 |
eval $ac_var=\$ac_old_val |
| 2215 |
fi |
| 2216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2217 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2219 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2220 |
fi;; |
| 2221 |
esac |
| 2222 |
# Pass precious variables to config.status. |
| 2223 |
if test "$ac_new_set" = set; then |
| 2224 |
case $ac_new_val in |
| 2225 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2226 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 2227 |
esac |
| 2228 |
case " $ac_configure_args " in |
| 2229 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2230 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 2231 |
esac |
| 2232 |
fi |
| 2233 |
done |
| 2234 |
if $ac_cache_corrupted; then |
| 2235 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2236 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2237 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2238 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2239 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2240 |
fi |
| 2241 |
## -------------------- ## |
| 2242 |
## Main body of script. ## |
| 2243 |
## -------------------- ## |
| 2244 |
|
| 2245 |
ac_ext=c |
| 2246 |
ac_cpp='$CPP $CPPFLAGS' |
| 2247 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2248 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2249 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2250 |
|
| 2251 |
|
| 2252 |
ac_aux_dir= |
| 2253 |
for ac_dir in config "$srcdir"/config; do |
| 2254 |
if test -f "$ac_dir/install-sh"; then |
| 2255 |
ac_aux_dir=$ac_dir |
| 2256 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2257 |
break |
| 2258 |
elif test -f "$ac_dir/install.sh"; then |
| 2259 |
ac_aux_dir=$ac_dir |
| 2260 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2261 |
break |
| 2262 |
elif test -f "$ac_dir/shtool"; then |
| 2263 |
ac_aux_dir=$ac_dir |
| 2264 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2265 |
break |
| 2266 |
fi |
| 2267 |
done |
| 2268 |
if test -z "$ac_aux_dir"; then |
| 2269 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 |
| 2270 |
fi |
| 2271 |
|
| 2272 |
# These three variables are undocumented and unsupported, |
| 2273 |
# and are intended to be withdrawn in a future Autoconf release. |
| 2274 |
# They can cause serious problems if a builder's source tree is in a directory |
| 2275 |
# whose full name contains unusual characters. |
| 2276 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 2277 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 2278 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 2279 |
|
| 2280 |
|
| 2281 |
|
| 2282 |
ac_config_headers="$ac_config_headers src/config.h" |
| 2283 |
|
| 2284 |
am__api_version='1.11' |
| 2285 |
|
| 2286 |
# Find a good install program. We prefer a C program (faster), |
| 2287 |
# so one script is as good as another. But avoid the broken or |
| 2288 |
# incompatible versions: |
| 2289 |
# SysV /etc/install, /usr/sbin/install |
| 2290 |
# SunOS /usr/etc/install |
| 2291 |
# IRIX /sbin/install |
| 2292 |
# AIX /bin/install |
| 2293 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 2294 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 2295 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2296 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2297 |
# OS/2's system install, which has a completely different semantic |
| 2298 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 2299 |
# Reject install programs that cannot install multiple files. |
| 2300 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2301 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2302 |
if test -z "$INSTALL"; then |
| 2303 |
if ${ac_cv_path_install+:} false; then : |
| 2304 |
$as_echo_n "(cached) " >&6 |
| 2305 |
else |
| 2306 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2307 |
for as_dir in $PATH |
| 2308 |
do |
| 2309 |
IFS=$as_save_IFS |
| 2310 |
test -z "$as_dir" && as_dir=. |
| 2311 |
# Account for people who put trailing slashes in PATH elements. |
| 2312 |
case $as_dir/ in #(( |
| 2313 |
./ | .// | /[cC]/* | \ |
| 2314 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 2315 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 2316 |
/usr/ucb/* ) ;; |
| 2317 |
*) |
| 2318 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 2319 |
# Don't use installbsd from OSF since it installs stuff as root |
| 2320 |
# by default. |
| 2321 |
for ac_prog in ginstall scoinst install; do |
| 2322 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2323 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2324 |
if test $ac_prog = install && |
| 2325 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2326 |
# AIX install. It has an incompatible calling convention. |
| 2327 |
: |
| 2328 |
elif test $ac_prog = install && |
| 2329 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2330 |
# program-specific install script used by HP pwplus--don't use. |
| 2331 |
: |
| 2332 |
else |
| 2333 |
rm -rf conftest.one conftest.two conftest.dir |
| 2334 |
echo one > conftest.one |
| 2335 |
echo two > conftest.two |
| 2336 |
mkdir conftest.dir |
| 2337 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| 2338 |
test -s conftest.one && test -s conftest.two && |
| 2339 |
test -s conftest.dir/conftest.one && |
| 2340 |
test -s conftest.dir/conftest.two |
| 2341 |
then |
| 2342 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 2343 |
break 3 |
| 2344 |
fi |
| 2345 |
fi |
| 2346 |
fi |
| 2347 |
done |
| 2348 |
done |
| 2349 |
;; |
| 2350 |
esac |
| 2351 |
|
| 2352 |
done |
| 2353 |
IFS=$as_save_IFS |
| 2354 |
|
| 2355 |
rm -rf conftest.one conftest.two conftest.dir |
| 2356 |
|
| 2357 |
fi |
| 2358 |
if test "${ac_cv_path_install+set}" = set; then |
| 2359 |
INSTALL=$ac_cv_path_install |
| 2360 |
else |
| 2361 |
# As a last resort, use the slow shell script. Don't cache a |
| 2362 |
# value for INSTALL within a source directory, because that will |
| 2363 |
# break other packages using the cache if that directory is |
| 2364 |
# removed, or if the value is a relative name. |
| 2365 |
INSTALL=$ac_install_sh |
| 2366 |
fi |
| 2367 |
fi |
| 2368 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2369 |
$as_echo "$INSTALL" >&6; } |
| 2370 |
|
| 2371 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2372 |
# It thinks the first close brace ends the variable substitution. |
| 2373 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 2374 |
|
| 2375 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 2376 |
|
| 2377 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2378 |
|
| 2379 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2380 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2381 |
# Just in case |
| 2382 |
sleep 1 |
| 2383 |
echo timestamp > conftest.file |
| 2384 |
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2385 |
# name. Accept space and tab only in the latter. |
| 2386 |
am_lf=' |
| 2387 |
' |
| 2388 |
case `pwd` in |
| 2389 |
*[\\\"\#\$\&\'\`$am_lf]*) |
| 2390 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 2391 |
esac |
| 2392 |
case $srcdir in |
| 2393 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2394 |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2395 |
esac |
| 2396 |
|
| 2397 |
# Do `set' in a subshell so we don't clobber the current shell's |
| 2398 |
# arguments. Must try -L first in case configure is actually a |
| 2399 |
# symlink; some systems play weird games with the mod time of symlinks |
| 2400 |
# (eg FreeBSD returns the mod time of the symlink's containing |
| 2401 |
# directory). |
| 2402 |
if ( |
| 2403 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2404 |
if test "$*" = "X"; then |
| 2405 |
# -L didn't work. |
| 2406 |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2407 |
fi |
| 2408 |
rm -f conftest.file |
| 2409 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2410 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2411 |
|
| 2412 |
# If neither matched, then we have a broken ls. This can happen |
| 2413 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2414 |
# broken ls alias from the environment. This has actually |
| 2415 |
# happened. Such a system could not be considered "sane". |
| 2416 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 2417 |
alias in your environment" "$LINENO" 5 |
| 2418 |
fi |
| 2419 |
|
| 2420 |
test "$2" = conftest.file |
| 2421 |
) |
| 2422 |
then |
| 2423 |
# Ok. |
| 2424 |
: |
| 2425 |
else |
| 2426 |
as_fn_error $? "newly created file is older than distributed files! |
| 2427 |
Check your system clock" "$LINENO" 5 |
| 2428 |
fi |
| 2429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2430 |
$as_echo "yes" >&6; } |
| 2431 |
test "$program_prefix" != NONE && |
| 2432 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2433 |
# Use a double $ so make ignores it. |
| 2434 |
test "$program_suffix" != NONE && |
| 2435 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 2436 |
# Double any \ or $. |
| 2437 |
# By default was `s,x,x', remove it if useless. |
| 2438 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2439 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2440 |
|
| 2441 |
# expand $ac_aux_dir to an absolute path |
| 2442 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2443 |
|
| 2444 |
if test x"${MISSING+set}" != xset; then |
| 2445 |
case $am_aux_dir in |
| 2446 |
*\ * | *\ *) |
| 2447 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 2448 |
*) |
| 2449 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 2450 |
esac |
| 2451 |
fi |
| 2452 |
# Use eval to expand $SHELL |
| 2453 |
if eval "$MISSING --run true"; then |
| 2454 |
am_missing_run="$MISSING --run " |
| 2455 |
else |
| 2456 |
am_missing_run= |
| 2457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
| 2458 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 2459 |
fi |
| 2460 |
|
| 2461 |
if test x"${install_sh}" != xset; then |
| 2462 |
case $am_aux_dir in |
| 2463 |
*\ * | *\ *) |
| 2464 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2465 |
*) |
| 2466 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 2467 |
esac |
| 2468 |
fi |
| 2469 |
|
| 2470 |
# Installed binaries are usually stripped using `strip' when the user |
| 2471 |
# run `make install-strip'. However `strip' might not be the right |
| 2472 |
# tool to use in cross-compilation environments, therefore Automake |
| 2473 |
# will honor the `STRIP' environment variable to overrule this program. |
| 2474 |
if test "$cross_compiling" != no; then |
| 2475 |
if test -n "$ac_tool_prefix"; then |
| 2476 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2477 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2478 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2479 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2480 |
if ${ac_cv_prog_STRIP+:} false; then : |
| 2481 |
$as_echo_n "(cached) " >&6 |
| 2482 |
else |
| 2483 |
if test -n "$STRIP"; then |
| 2484 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2485 |
else |
| 2486 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2487 |
for as_dir in $PATH |
| 2488 |
do |
| 2489 |
IFS=$as_save_IFS |
| 2490 |
test -z "$as_dir" && as_dir=. |
| 2491 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2492 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2493 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2494 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2495 |
break 2 |
| 2496 |
fi |
| 2497 |
done |
| 2498 |
done |
| 2499 |
IFS=$as_save_IFS |
| 2500 |
|
| 2501 |
fi |
| 2502 |
fi |
| 2503 |
STRIP=$ac_cv_prog_STRIP |
| 2504 |
if test -n "$STRIP"; then |
| 2505 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2506 |
$as_echo "$STRIP" >&6; } |
| 2507 |
else |
| 2508 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2509 |
$as_echo "no" >&6; } |
| 2510 |
fi |
| 2511 |
|
| 2512 |
|
| 2513 |
fi |
| 2514 |
if test -z "$ac_cv_prog_STRIP"; then |
| 2515 |
ac_ct_STRIP=$STRIP |
| 2516 |
# Extract the first word of "strip", so it can be a program name with args. |
| 2517 |
set dummy strip; ac_word=$2 |
| 2518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2519 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2520 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 2521 |
$as_echo_n "(cached) " >&6 |
| 2522 |
else |
| 2523 |
if test -n "$ac_ct_STRIP"; then |
| 2524 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 2525 |
else |
| 2526 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2527 |
for as_dir in $PATH |
| 2528 |
do |
| 2529 |
IFS=$as_save_IFS |
| 2530 |
test -z "$as_dir" && as_dir=. |
| 2531 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2532 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2533 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 2534 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2535 |
break 2 |
| 2536 |
fi |
| 2537 |
done |
| 2538 |
done |
| 2539 |
IFS=$as_save_IFS |
| 2540 |
|
| 2541 |
fi |
| 2542 |
fi |
| 2543 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 2544 |
if test -n "$ac_ct_STRIP"; then |
| 2545 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 2546 |
$as_echo "$ac_ct_STRIP" >&6; } |
| 2547 |
else |
| 2548 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2549 |
$as_echo "no" >&6; } |
| 2550 |
fi |
| 2551 |
|
| 2552 |
if test "x$ac_ct_STRIP" = x; then |
| 2553 |
STRIP=":" |
| 2554 |
else |
| 2555 |
case $cross_compiling:$ac_tool_warned in |
| 2556 |
yes:) |
| 2557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2558 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2559 |
ac_tool_warned=yes ;; |
| 2560 |
esac |
| 2561 |
STRIP=$ac_ct_STRIP |
| 2562 |
fi |
| 2563 |
else |
| 2564 |
STRIP="$ac_cv_prog_STRIP" |
| 2565 |
fi |
| 2566 |
|
| 2567 |
fi |
| 2568 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2569 |
|
| 2570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2571 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2572 |
if test -z "$MKDIR_P"; then |
| 2573 |
if ${ac_cv_path_mkdir+:} false; then : |
| 2574 |
$as_echo_n "(cached) " >&6 |
| 2575 |
else |
| 2576 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2577 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 2578 |
do |
| 2579 |
IFS=$as_save_IFS |
| 2580 |
test -z "$as_dir" && as_dir=. |
| 2581 |
for ac_prog in mkdir gmkdir; do |
| 2582 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2583 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2584 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2585 |
'mkdir (GNU coreutils) '* | \ |
| 2586 |
'mkdir (coreutils) '* | \ |
| 2587 |
'mkdir (fileutils) '4.1*) |
| 2588 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 2589 |
break 3;; |
| 2590 |
esac |
| 2591 |
done |
| 2592 |
done |
| 2593 |
done |
| 2594 |
IFS=$as_save_IFS |
| 2595 |
|
| 2596 |
fi |
| 2597 |
|
| 2598 |
test -d ./--version && rmdir ./--version |
| 2599 |
if test "${ac_cv_path_mkdir+set}" = set; then |
| 2600 |
MKDIR_P="$ac_cv_path_mkdir -p" |
| 2601 |
else |
| 2602 |
# As a last resort, use the slow shell script. Don't cache a |
| 2603 |
# value for MKDIR_P within a source directory, because that will |
| 2604 |
# break other packages using the cache if that directory is |
| 2605 |
# removed, or if the value is a relative name. |
| 2606 |
MKDIR_P="$ac_install_sh -d" |
| 2607 |
fi |
| 2608 |
fi |
| 2609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2610 |
$as_echo "$MKDIR_P" >&6; } |
| 2611 |
|
| 2612 |
mkdir_p="$MKDIR_P" |
| 2613 |
case $mkdir_p in |
| 2614 |
[\\/$]* | ?:[\\/]*) ;; |
| 2615 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 2616 |
esac |
| 2617 |
|
| 2618 |
for ac_prog in gawk mawk nawk awk |
| 2619 |
do |
| 2620 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2621 |
set dummy $ac_prog; ac_word=$2 |
| 2622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2623 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2624 |
if ${ac_cv_prog_AWK+:} false; then : |
| 2625 |
$as_echo_n "(cached) " >&6 |
| 2626 |
else |
| 2627 |
if test -n "$AWK"; then |
| 2628 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2629 |
else |
| 2630 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2631 |
for as_dir in $PATH |
| 2632 |
do |
| 2633 |
IFS=$as_save_IFS |
| 2634 |
test -z "$as_dir" && as_dir=. |
| 2635 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2636 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2637 |
ac_cv_prog_AWK="$ac_prog" |
| 2638 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2639 |
break 2 |
| 2640 |
fi |
| 2641 |
done |
| 2642 |
done |
| 2643 |
IFS=$as_save_IFS |
| 2644 |
|
| 2645 |
fi |
| 2646 |
fi |
| 2647 |
AWK=$ac_cv_prog_AWK |
| 2648 |
if test -n "$AWK"; then |
| 2649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2650 |
$as_echo "$AWK" >&6; } |
| 2651 |
else |
| 2652 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2653 |
$as_echo "no" >&6; } |
| 2654 |
fi |
| 2655 |
|
| 2656 |
|
| 2657 |
test -n "$AWK" && break |
| 2658 |
done |
| 2659 |
|
| 2660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2661 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2662 |
set x ${MAKE-make} |
| 2663 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2664 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2665 |
$as_echo_n "(cached) " >&6 |
| 2666 |
else |
| 2667 |
cat >conftest.make <<\_ACEOF |
| 2668 |
SHELL = /bin/sh |
| 2669 |
all: |
| 2670 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2671 |
_ACEOF |
| 2672 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2673 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2674 |
*@@@%%%=?*=@@@%%%*) |
| 2675 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2676 |
*) |
| 2677 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 2678 |
esac |
| 2679 |
rm -f conftest.make |
| 2680 |
fi |
| 2681 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 2682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2683 |
$as_echo "yes" >&6; } |
| 2684 |
SET_MAKE= |
| 2685 |
else |
| 2686 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2687 |
$as_echo "no" >&6; } |
| 2688 |
SET_MAKE="MAKE=${MAKE-make}" |
| 2689 |
fi |
| 2690 |
|
| 2691 |
rm -rf .tst 2>/dev/null |
| 2692 |
mkdir .tst 2>/dev/null |
| 2693 |
if test -d .tst; then |
| 2694 |
am__leading_dot=. |
| 2695 |
else |
| 2696 |
am__leading_dot=_ |
| 2697 |
fi |
| 2698 |
rmdir .tst 2>/dev/null |
| 2699 |
|
| 2700 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2701 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2702 |
# is not polluted with repeated "-I." |
| 2703 |
am__isrc=' -I$(srcdir)' |
| 2704 |
# test to see if srcdir already configured |
| 2705 |
if test -f $srcdir/config.status; then |
| 2706 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 2707 |
fi |
| 2708 |
fi |
| 2709 |
|
| 2710 |
# test whether we have cygpath |
| 2711 |
if test -z "$CYGPATH_W"; then |
| 2712 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
| 2713 |
CYGPATH_W='cygpath -w' |
| 2714 |
else |
| 2715 |
CYGPATH_W=echo |
| 2716 |
fi |
| 2717 |
fi |
| 2718 |
|
| 2719 |
|
| 2720 |
# Define the identity of the package. |
| 2721 |
PACKAGE='star-snow-notes' |
| 2722 |
VERSION='1.0.0' |
| 2723 |
|
| 2724 |
|
| 2725 |
cat >>confdefs.h <<_ACEOF |
| 2726 |
#define PACKAGE "$PACKAGE" |
| 2727 |
_ACEOF |
| 2728 |
|
| 2729 |
|
| 2730 |
cat >>confdefs.h <<_ACEOF |
| 2731 |
#define VERSION "$VERSION" |
| 2732 |
_ACEOF |
| 2733 |
|
| 2734 |
# Some tools Automake needs. |
| 2735 |
|
| 2736 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 2737 |
|
| 2738 |
|
| 2739 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 2740 |
|
| 2741 |
|
| 2742 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 2743 |
|
| 2744 |
|
| 2745 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 2746 |
|
| 2747 |
|
| 2748 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2749 |
|
| 2750 |
# We need awk for the "check" target. The system "awk" is bad on |
| 2751 |
# some platforms. |
| 2752 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2753 |
# in the wild :-( We should find a proper way to deprecate it ... |
| 2754 |
AMTAR='$${TAR-tar}' |
| 2755 |
|
| 2756 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 2757 |
|
| 2758 |
|
| 2759 |
|
| 2760 |
|
| 2761 |
|
| 2762 |
|
| 2763 |
# Make sure we can run config.sub. |
| 2764 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 2765 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2766 |
|
| 2767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 2768 |
$as_echo_n "checking build system type... " >&6; } |
| 2769 |
if ${ac_cv_build+:} false; then : |
| 2770 |
$as_echo_n "(cached) " >&6 |
| 2771 |
else |
| 2772 |
ac_build_alias=$build_alias |
| 2773 |
test "x$ac_build_alias" = x && |
| 2774 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 2775 |
test "x$ac_build_alias" = x && |
| 2776 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2777 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 2778 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2779 |
|
| 2780 |
fi |
| 2781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 2782 |
$as_echo "$ac_cv_build" >&6; } |
| 2783 |
case $ac_cv_build in |
| 2784 |
*-*-*) ;; |
| 2785 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 2786 |
esac |
| 2787 |
build=$ac_cv_build |
| 2788 |
ac_save_IFS=$IFS; IFS='-' |
| 2789 |
set x $ac_cv_build |
| 2790 |
shift |
| 2791 |
build_cpu=$1 |
| 2792 |
build_vendor=$2 |
| 2793 |
shift; shift |
| 2794 |
# Remember, the first character of IFS is used to create $*, |
| 2795 |
# except with old shells: |
| 2796 |
build_os=$* |
| 2797 |
IFS=$ac_save_IFS |
| 2798 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 2799 |
|
| 2800 |
|
| 2801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 2802 |
$as_echo_n "checking host system type... " >&6; } |
| 2803 |
if ${ac_cv_host+:} false; then : |
| 2804 |
$as_echo_n "(cached) " >&6 |
| 2805 |
else |
| 2806 |
if test "x$host_alias" = x; then |
| 2807 |
ac_cv_host=$ac_cv_build |
| 2808 |
else |
| 2809 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 2810 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 2811 |
fi |
| 2812 |
|
| 2813 |
fi |
| 2814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 2815 |
$as_echo "$ac_cv_host" >&6; } |
| 2816 |
case $ac_cv_host in |
| 2817 |
*-*-*) ;; |
| 2818 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 2819 |
esac |
| 2820 |
host=$ac_cv_host |
| 2821 |
ac_save_IFS=$IFS; IFS='-' |
| 2822 |
set x $ac_cv_host |
| 2823 |
shift |
| 2824 |
host_cpu=$1 |
| 2825 |
host_vendor=$2 |
| 2826 |
shift; shift |
| 2827 |
# Remember, the first character of IFS is used to create $*, |
| 2828 |
# except with old shells: |
| 2829 |
host_os=$* |
| 2830 |
IFS=$ac_save_IFS |
| 2831 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 2832 |
|
| 2833 |
|
| 2834 |
|
| 2835 |
# Define macros. |
| 2836 |
# debug |
| 2837 |
if test "$enable_debug" = yes; then |
| 2838 |
CHK_DEBUG_TRUE= |
| 2839 |
CHK_DEBUG_FALSE='#' |
| 2840 |
else |
| 2841 |
CHK_DEBUG_TRUE='#' |
| 2842 |
CHK_DEBUG_FALSE= |
| 2843 |
fi |
| 2844 |
|
| 2845 |
|
| 2846 |
# Checks for programs. |
| 2847 |
ac_ext=c |
| 2848 |
ac_cpp='$CPP $CPPFLAGS' |
| 2849 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2850 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2851 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2852 |
if test -n "$ac_tool_prefix"; then |
| 2853 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 2854 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 2855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2856 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2857 |
if ${ac_cv_prog_CC+:} false; then : |
| 2858 |
$as_echo_n "(cached) " >&6 |
| 2859 |
else |
| 2860 |
if test -n "$CC"; then |
| 2861 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2862 |
else |
| 2863 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2864 |
for as_dir in $PATH |
| 2865 |
do |
| 2866 |
IFS=$as_save_IFS |
| 2867 |
test -z "$as_dir" && as_dir=. |
| 2868 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2869 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2870 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2871 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2872 |
break 2 |
| 2873 |
fi |
| 2874 |
done |
| 2875 |
done |
| 2876 |
IFS=$as_save_IFS |
| 2877 |
|
| 2878 |
fi |
| 2879 |
fi |
| 2880 |
CC=$ac_cv_prog_CC |
| 2881 |
if test -n "$CC"; then |
| 2882 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2883 |
$as_echo "$CC" >&6; } |
| 2884 |
else |
| 2885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2886 |
$as_echo "no" >&6; } |
| 2887 |
fi |
| 2888 |
|
| 2889 |
|
| 2890 |
fi |
| 2891 |
if test -z "$ac_cv_prog_CC"; then |
| 2892 |
ac_ct_CC=$CC |
| 2893 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 2894 |
set dummy gcc; ac_word=$2 |
| 2895 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2896 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2897 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 2898 |
$as_echo_n "(cached) " >&6 |
| 2899 |
else |
| 2900 |
if test -n "$ac_ct_CC"; then |
| 2901 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2902 |
else |
| 2903 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2904 |
for as_dir in $PATH |
| 2905 |
do |
| 2906 |
IFS=$as_save_IFS |
| 2907 |
test -z "$as_dir" && as_dir=. |
| 2908 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2909 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2910 |
ac_cv_prog_ac_ct_CC="gcc" |
| 2911 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2912 |
break 2 |
| 2913 |
fi |
| 2914 |
done |
| 2915 |
done |
| 2916 |
IFS=$as_save_IFS |
| 2917 |
|
| 2918 |
fi |
| 2919 |
fi |
| 2920 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2921 |
if test -n "$ac_ct_CC"; then |
| 2922 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 2923 |
$as_echo "$ac_ct_CC" >&6; } |
| 2924 |
else |
| 2925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2926 |
$as_echo "no" >&6; } |
| 2927 |
fi |
| 2928 |
|
| 2929 |
if test "x$ac_ct_CC" = x; then |
| 2930 |
CC="" |
| 2931 |
else |
| 2932 |
case $cross_compiling:$ac_tool_warned in |
| 2933 |
yes:) |
| 2934 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2935 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2936 |
ac_tool_warned=yes ;; |
| 2937 |
esac |
| 2938 |
CC=$ac_ct_CC |
| 2939 |
fi |
| 2940 |
else |
| 2941 |
CC="$ac_cv_prog_CC" |
| 2942 |
fi |
| 2943 |
|
| 2944 |
if test -z "$CC"; then |
| 2945 |
if test -n "$ac_tool_prefix"; then |
| 2946 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2947 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2948 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2949 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2950 |
if ${ac_cv_prog_CC+:} false; then : |
| 2951 |
$as_echo_n "(cached) " >&6 |
| 2952 |
else |
| 2953 |
if test -n "$CC"; then |
| 2954 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2955 |
else |
| 2956 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2957 |
for as_dir in $PATH |
| 2958 |
do |
| 2959 |
IFS=$as_save_IFS |
| 2960 |
test -z "$as_dir" && as_dir=. |
| 2961 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2962 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2963 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2964 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2965 |
break 2 |
| 2966 |
fi |
| 2967 |
done |
| 2968 |
done |
| 2969 |
IFS=$as_save_IFS |
| 2970 |
|
| 2971 |
fi |
| 2972 |
fi |
| 2973 |
CC=$ac_cv_prog_CC |
| 2974 |
if test -n "$CC"; then |
| 2975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2976 |
$as_echo "$CC" >&6; } |
| 2977 |
else |
| 2978 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2979 |
$as_echo "no" >&6; } |
| 2980 |
fi |
| 2981 |
|
| 2982 |
|
| 2983 |
fi |
| 2984 |
fi |
| 2985 |
if test -z "$CC"; then |
| 2986 |
# Extract the first word of "cc", so it can be a program name with args. |
| 2987 |
set dummy cc; ac_word=$2 |
| 2988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2989 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2990 |
if ${ac_cv_prog_CC+:} false; then : |
| 2991 |
$as_echo_n "(cached) " >&6 |
| 2992 |
else |
| 2993 |
if test -n "$CC"; then |
| 2994 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2995 |
else |
| 2996 |
ac_prog_rejected=no |
| 2997 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2998 |
for as_dir in $PATH |
| 2999 |
do |
| 3000 |
IFS=$as_save_IFS |
| 3001 |
test -z "$as_dir" && as_dir=. |
| 3002 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3003 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3004 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3005 |
ac_prog_rejected=yes |
| 3006 |
continue |
| 3007 |
fi |
| 3008 |
ac_cv_prog_CC="cc" |
| 3009 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3010 |
break 2 |
| 3011 |
fi |
| 3012 |
done |
| 3013 |
done |
| 3014 |
IFS=$as_save_IFS |
| 3015 |
|
| 3016 |
if test $ac_prog_rejected = yes; then |
| 3017 |
# We found a bogon in the path, so make sure we never use it. |
| 3018 |
set dummy $ac_cv_prog_CC |
| 3019 |
shift |
| 3020 |
if test $# != 0; then |
| 3021 |
# We chose a different compiler from the bogus one. |
| 3022 |
# However, it has the same basename, so the bogon will be chosen |
| 3023 |
# first if we set CC to just the basename; use the full file name. |
| 3024 |
shift |
| 3025 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 3026 |
fi |
| 3027 |
fi |
| 3028 |
fi |
| 3029 |
fi |
| 3030 |
CC=$ac_cv_prog_CC |
| 3031 |
if test -n "$CC"; then |
| 3032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3033 |
$as_echo "$CC" >&6; } |
| 3034 |
else |
| 3035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3036 |
$as_echo "no" >&6; } |
| 3037 |
fi |
| 3038 |
|
| 3039 |
|
| 3040 |
fi |
| 3041 |
if test -z "$CC"; then |
| 3042 |
if test -n "$ac_tool_prefix"; then |
| 3043 |
for ac_prog in cl.exe |
| 3044 |
do |
| 3045 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3046 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3047 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3048 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3049 |
if ${ac_cv_prog_CC+:} false; then : |
| 3050 |
$as_echo_n "(cached) " >&6 |
| 3051 |
else |
| 3052 |
if test -n "$CC"; then |
| 3053 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3054 |
else |
| 3055 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3056 |
for as_dir in $PATH |
| 3057 |
do |
| 3058 |
IFS=$as_save_IFS |
| 3059 |
test -z "$as_dir" && as_dir=. |
| 3060 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3061 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3062 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3063 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3064 |
break 2 |
| 3065 |
fi |
| 3066 |
done |
| 3067 |
done |
| 3068 |
IFS=$as_save_IFS |
| 3069 |
|
| 3070 |
fi |
| 3071 |
fi |
| 3072 |
CC=$ac_cv_prog_CC |
| 3073 |
if test -n "$CC"; then |
| 3074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3075 |
$as_echo "$CC" >&6; } |
| 3076 |
else |
| 3077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3078 |
$as_echo "no" >&6; } |
| 3079 |
fi |
| 3080 |
|
| 3081 |
|
| 3082 |
test -n "$CC" && break |
| 3083 |
done |
| 3084 |
fi |
| 3085 |
if test -z "$CC"; then |
| 3086 |
ac_ct_CC=$CC |
| 3087 |
for ac_prog in cl.exe |
| 3088 |
do |
| 3089 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3090 |
set dummy $ac_prog; ac_word=$2 |
| 3091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3092 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3093 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3094 |
$as_echo_n "(cached) " >&6 |
| 3095 |
else |
| 3096 |
if test -n "$ac_ct_CC"; then |
| 3097 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3098 |
else |
| 3099 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3100 |
for as_dir in $PATH |
| 3101 |
do |
| 3102 |
IFS=$as_save_IFS |
| 3103 |
test -z "$as_dir" && as_dir=. |
| 3104 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3105 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3106 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3107 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3108 |
break 2 |
| 3109 |
fi |
| 3110 |
done |
| 3111 |
done |
| 3112 |
IFS=$as_save_IFS |
| 3113 |
|
| 3114 |
fi |
| 3115 |
fi |
| 3116 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3117 |
if test -n "$ac_ct_CC"; then |
| 3118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3119 |
$as_echo "$ac_ct_CC" >&6; } |
| 3120 |
else |
| 3121 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3122 |
$as_echo "no" >&6; } |
| 3123 |
fi |
| 3124 |
|
| 3125 |
|
| 3126 |
test -n "$ac_ct_CC" && break |
| 3127 |
done |
| 3128 |
|
| 3129 |
if test "x$ac_ct_CC" = x; then |
| 3130 |
CC="" |
| 3131 |
else |
| 3132 |
case $cross_compiling:$ac_tool_warned in |
| 3133 |
yes:) |
| 3134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3135 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3136 |
ac_tool_warned=yes ;; |
| 3137 |
esac |
| 3138 |
CC=$ac_ct_CC |
| 3139 |
fi |
| 3140 |
fi |
| 3141 |
|
| 3142 |
fi |
| 3143 |
|
| 3144 |
|
| 3145 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3146 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3147 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3148 |
See \`config.log' for more details" "$LINENO" 5; } |
| 3149 |
|
| 3150 |
# Provide some information about the compiler. |
| 3151 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3152 |
set X $ac_compile |
| 3153 |
ac_compiler=$2 |
| 3154 |
for ac_option in --version -v -V -qversion; do |
| 3155 |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 3156 |
case "(($ac_try" in |
| 3157 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3158 |
*) ac_try_echo=$ac_try;; |
| 3159 |
esac |
| 3160 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3161 |
$as_echo "$ac_try_echo"; } >&5 |
| 3162 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 3163 |
ac_status=$? |
| 3164 |
if test -s conftest.err; then |
| 3165 |
sed '10a\ |
| 3166 |
... rest of stderr output deleted ... |
| 3167 |
10q' conftest.err >conftest.er1 |
| 3168 |
cat conftest.er1 >&5 |
| 3169 |
fi |
| 3170 |
rm -f conftest.er1 conftest.err |
| 3171 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3172 |
test $ac_status = 0; } |
| 3173 |
done |
| 3174 |
|
| 3175 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3176 |
/* end confdefs.h. */ |
| 3177 |
|
| 3178 |
int |
| 3179 |
main () |
| 3180 |
{ |
| 3181 |
|
| 3182 |
; |
| 3183 |
return 0; |
| 3184 |
} |
| 3185 |
_ACEOF |
| 3186 |
ac_clean_files_save=$ac_clean_files |
| 3187 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 3188 |
# Try to create an executable without -o first, disregard a.out. |
| 3189 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 3190 |
# of exeext. |
| 3191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3192 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3193 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3194 |
|
| 3195 |
# The possible output files: |
| 3196 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 3197 |
|
| 3198 |
ac_rmfiles= |
| 3199 |
for ac_file in $ac_files |
| 3200 |
do |
| 3201 |
case $ac_file in |
| 3202 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 3203 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 3204 |
esac |
| 3205 |
done |
| 3206 |
rm -f $ac_rmfiles |
| 3207 |
|
| 3208 |
if { { ac_try="$ac_link_default" |
| 3209 |
case "(($ac_try" in |
| 3210 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3211 |
*) ac_try_echo=$ac_try;; |
| 3212 |
esac |
| 3213 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3214 |
$as_echo "$ac_try_echo"; } >&5 |
| 3215 |
(eval "$ac_link_default") 2>&5 |
| 3216 |
ac_status=$? |
| 3217 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3218 |
test $ac_status = 0; }; then : |
| 3219 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3220 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3221 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 3222 |
# so that the user can short-circuit this test for compilers unknown to |
| 3223 |
# Autoconf. |
| 3224 |
for ac_file in $ac_files '' |
| 3225 |
do |
| 3226 |
test -f "$ac_file" || continue |
| 3227 |
case $ac_file in |
| 3228 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 3229 |
;; |
| 3230 |
[ab].out ) |
| 3231 |
# We found the default executable, but exeext='' is most |
| 3232 |
# certainly right. |
| 3233 |
break;; |
| 3234 |
*.* ) |
| 3235 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3236 |
then :; else |
| 3237 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3238 |
fi |
| 3239 |
# We set ac_cv_exeext here because the later test for it is not |
| 3240 |
# safe: cross compilers may not add the suffix if given an `-o' |
| 3241 |
# argument, so we may need to know it at that point already. |
| 3242 |
# Even if this section looks crufty: it has the advantage of |
| 3243 |
# actually working. |
| 3244 |
break;; |
| 3245 |
* ) |
| 3246 |
break;; |
| 3247 |
esac |
| 3248 |
done |
| 3249 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 3250 |
|
| 3251 |
else |
| 3252 |
ac_file='' |
| 3253 |
fi |
| 3254 |
if test -z "$ac_file"; then : |
| 3255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3256 |
$as_echo "no" >&6; } |
| 3257 |
$as_echo "$as_me: failed program was:" >&5 |
| 3258 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3259 |
|
| 3260 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3261 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3262 |
as_fn_error 77 "C compiler cannot create executables |
| 3263 |
See \`config.log' for more details" "$LINENO" 5; } |
| 3264 |
else |
| 3265 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3266 |
$as_echo "yes" >&6; } |
| 3267 |
fi |
| 3268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3269 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3271 |
$as_echo "$ac_file" >&6; } |
| 3272 |
ac_exeext=$ac_cv_exeext |
| 3273 |
|
| 3274 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3275 |
ac_clean_files=$ac_clean_files_save |
| 3276 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3277 |
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3278 |
if { { ac_try="$ac_link" |
| 3279 |
case "(($ac_try" in |
| 3280 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3281 |
*) ac_try_echo=$ac_try;; |
| 3282 |
esac |
| 3283 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3284 |
$as_echo "$ac_try_echo"; } >&5 |
| 3285 |
(eval "$ac_link") 2>&5 |
| 3286 |
ac_status=$? |
| 3287 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3288 |
test $ac_status = 0; }; then : |
| 3289 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3290 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3291 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 3292 |
# `rm'. |
| 3293 |
for ac_file in conftest.exe conftest conftest.*; do |
| 3294 |
test -f "$ac_file" || continue |
| 3295 |
case $ac_file in |
| 3296 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 3297 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3298 |
break;; |
| 3299 |
* ) break;; |
| 3300 |
esac |
| 3301 |
done |
| 3302 |
else |
| 3303 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3304 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3305 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3306 |
See \`config.log' for more details" "$LINENO" 5; } |
| 3307 |
fi |
| 3308 |
rm -f conftest conftest$ac_cv_exeext |
| 3309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3310 |
$as_echo "$ac_cv_exeext" >&6; } |
| 3311 |
|
| 3312 |
rm -f conftest.$ac_ext |
| 3313 |
EXEEXT=$ac_cv_exeext |
| 3314 |
ac_exeext=$EXEEXT |
| 3315 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3316 |
/* end confdefs.h. */ |
| 3317 |
#include <stdio.h> |
| 3318 |
int |
| 3319 |
main () |
| 3320 |
{ |
| 3321 |
FILE *f = fopen ("conftest.out", "w"); |
| 3322 |
return ferror (f) || fclose (f) != 0; |
| 3323 |
|
| 3324 |
; |
| 3325 |
return 0; |
| 3326 |
} |
| 3327 |
_ACEOF |
| 3328 |
ac_clean_files="$ac_clean_files conftest.out" |
| 3329 |
# Check that the compiler produces executables we can run. If not, either |
| 3330 |
# the compiler is broken, or we cross compile. |
| 3331 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3332 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3333 |
if test "$cross_compiling" != yes; then |
| 3334 |
{ { ac_try="$ac_link" |
| 3335 |
case "(($ac_try" in |
| 3336 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3337 |
*) ac_try_echo=$ac_try;; |
| 3338 |
esac |
| 3339 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3340 |
$as_echo "$ac_try_echo"; } >&5 |
| 3341 |
(eval "$ac_link") 2>&5 |
| 3342 |
ac_status=$? |
| 3343 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3344 |
test $ac_status = 0; } |
| 3345 |
if { ac_try='./conftest$ac_cv_exeext' |
| 3346 |
{ { case "(($ac_try" in |
| 3347 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3348 |
*) ac_try_echo=$ac_try;; |
| 3349 |
esac |
| 3350 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3351 |
$as_echo "$ac_try_echo"; } >&5 |
| 3352 |
(eval "$ac_try") 2>&5 |
| 3353 |
ac_status=$? |
| 3354 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3355 |
test $ac_status = 0; }; }; then |
| 3356 |
cross_compiling=no |
| 3357 |
else |
| 3358 |
if test "$cross_compiling" = maybe; then |
| 3359 |
cross_compiling=yes |
| 3360 |
else |
| 3361 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3362 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3363 |
as_fn_error $? "cannot run C compiled programs. |
| 3364 |
If you meant to cross compile, use \`--host'. |
| 3365 |
See \`config.log' for more details" "$LINENO" 5; } |
| 3366 |
fi |
| 3367 |
fi |
| 3368 |
fi |
| 3369 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3370 |
$as_echo "$cross_compiling" >&6; } |
| 3371 |
|
| 3372 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 3373 |
ac_clean_files=$ac_clean_files_save |
| 3374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3375 |
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3376 |
if ${ac_cv_objext+:} false; then : |
| 3377 |
$as_echo_n "(cached) " >&6 |
| 3378 |
else |
| 3379 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3380 |
/* end confdefs.h. */ |
| 3381 |
|
| 3382 |
int |
| 3383 |
main () |
| 3384 |
{ |
| 3385 |
|
| 3386 |
; |
| 3387 |
return 0; |
| 3388 |
} |
| 3389 |
_ACEOF |
| 3390 |
rm -f conftest.o conftest.obj |
| 3391 |
if { { ac_try="$ac_compile" |
| 3392 |
case "(($ac_try" in |
| 3393 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3394 |
*) ac_try_echo=$ac_try;; |
| 3395 |
esac |
| 3396 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3397 |
$as_echo "$ac_try_echo"; } >&5 |
| 3398 |
(eval "$ac_compile") 2>&5 |
| 3399 |
ac_status=$? |
| 3400 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3401 |
test $ac_status = 0; }; then : |
| 3402 |
for ac_file in conftest.o conftest.obj conftest.*; do |
| 3403 |
test -f "$ac_file" || continue; |
| 3404 |
case $ac_file in |
| 3405 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 3406 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 3407 |
break;; |
| 3408 |
esac |
| 3409 |
done |
| 3410 |
else |
| 3411 |
$as_echo "$as_me: failed program was:" >&5 |
| 3412 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3413 |
|
| 3414 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3415 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3416 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 3417 |
See \`config.log' for more details" "$LINENO" 5; } |
| 3418 |
fi |
| 3419 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3420 |
fi |
| 3421 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 3422 |
$as_echo "$ac_cv_objext" >&6; } |
| 3423 |
OBJEXT=$ac_cv_objext |
| 3424 |
ac_objext=$OBJEXT |
| 3425 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3426 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3427 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3428 |
$as_echo_n "(cached) " >&6 |
| 3429 |
else |
| 3430 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3431 |
/* end confdefs.h. */ |
| 3432 |
|
| 3433 |
int |
| 3434 |
main () |
| 3435 |
{ |
| 3436 |
#ifndef __GNUC__ |
| 3437 |
choke me |
| 3438 |
#endif |
| 3439 |
|
| 3440 |
; |
| 3441 |
return 0; |
| 3442 |
} |
| 3443 |
_ACEOF |
| 3444 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3445 |
ac_compiler_gnu=yes |
| 3446 |
else |
| 3447 |
ac_compiler_gnu=no |
| 3448 |
fi |
| 3449 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3450 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3451 |
|
| 3452 |
fi |
| 3453 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3454 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3455 |
if test $ac_compiler_gnu = yes; then |
| 3456 |
GCC=yes |
| 3457 |
else |
| 3458 |
GCC= |
| 3459 |
fi |
| 3460 |
ac_test_CFLAGS=${CFLAGS+set} |
| 3461 |
ac_save_CFLAGS=$CFLAGS |
| 3462 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3463 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3464 |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3465 |
$as_echo_n "(cached) " >&6 |
| 3466 |
else |
| 3467 |
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3468 |
ac_c_werror_flag=yes |
| 3469 |
ac_cv_prog_cc_g=no |
| 3470 |
CFLAGS="-g" |
| 3471 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3472 |
/* end confdefs.h. */ |
| 3473 |
|
| 3474 |
int |
| 3475 |
main () |
| 3476 |
{ |
| 3477 |
|
| 3478 |
; |
| 3479 |
return 0; |
| 3480 |
} |
| 3481 |
_ACEOF |
| 3482 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3483 |
ac_cv_prog_cc_g=yes |
| 3484 |
else |
| 3485 |
CFLAGS="" |
| 3486 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3487 |
/* end confdefs.h. */ |
| 3488 |
|
| 3489 |
int |
| 3490 |
main () |
| 3491 |
{ |
| 3492 |
|
| 3493 |
; |
| 3494 |
return 0; |
| 3495 |
} |
| 3496 |
_ACEOF |
| 3497 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3498 |
|
| 3499 |
else |
| 3500 |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3501 |
CFLAGS="-g" |
| 3502 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3503 |
/* end confdefs.h. */ |
| 3504 |
|
| 3505 |
int |
| 3506 |
main () |
| 3507 |
{ |
| 3508 |
|
| 3509 |
; |
| 3510 |
return 0; |
| 3511 |
} |
| 3512 |
_ACEOF |
| 3513 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3514 |
ac_cv_prog_cc_g=yes |
| 3515 |
fi |
| 3516 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3517 |
fi |
| 3518 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3519 |
fi |
| 3520 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3521 |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3522 |
fi |
| 3523 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 3524 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
| 3525 |
if test "$ac_test_CFLAGS" = set; then |
| 3526 |
CFLAGS=$ac_save_CFLAGS |
| 3527 |
elif test $ac_cv_prog_cc_g = yes; then |
| 3528 |
if test "$GCC" = yes; then |
| 3529 |
CFLAGS="-g -O2" |
| 3530 |
else |
| 3531 |
CFLAGS="-g" |
| 3532 |
fi |
| 3533 |
else |
| 3534 |
if test "$GCC" = yes; then |
| 3535 |
CFLAGS="-O2" |
| 3536 |
else |
| 3537 |
CFLAGS= |
| 3538 |
fi |
| 3539 |
fi |
| 3540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3541 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3542 |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 3543 |
$as_echo_n "(cached) " >&6 |
| 3544 |
else |
| 3545 |
ac_cv_prog_cc_c89=no |
| 3546 |
ac_save_CC=$CC |
| 3547 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3548 |
/* end confdefs.h. */ |
| 3549 |
#include <stdarg.h> |
| 3550 |
#include <stdio.h> |
| 3551 |
struct stat; |
| 3552 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3553 |
struct buf { int x; }; |
| 3554 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3555 |
static char *e (p, i) |
| 3556 |
char **p; |
| 3557 |
int i; |
| 3558 |
{ |
| 3559 |
return p[i]; |
| 3560 |
} |
| 3561 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 3562 |
{ |
| 3563 |
char *s; |
| 3564 |
va_list v; |
| 3565 |
va_start (v,p); |
| 3566 |
s = g (p, va_arg (v,int)); |
| 3567 |
va_end (v); |
| 3568 |
return s; |
| 3569 |
} |
| 3570 |
|
| 3571 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3572 |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 3573 |
These don't provoke an error unfortunately, instead are silently treated |
| 3574 |
as 'x'. The following induces an error, until -std is added to get |
| 3575 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3576 |
array size at least. It's necessary to write '\x00'==0 to get something |
| 3577 |
that's true only with -std. */ |
| 3578 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3579 |
|
| 3580 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 3581 |
inside strings and character constants. */ |
| 3582 |
#define FOO(x) 'x' |
| 3583 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 3584 |
|
| 3585 |
int test (int i, double x); |
| 3586 |
struct s1 {int (*f) (int a);}; |
| 3587 |
struct s2 {int (*f) (double a);}; |
| 3588 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 3589 |
int argc; |
| 3590 |
char **argv; |
| 3591 |
int |
| 3592 |
main () |
| 3593 |
{ |
| 3594 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3595 |
; |
| 3596 |
return 0; |
| 3597 |
} |
| 3598 |
_ACEOF |
| 3599 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3600 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3601 |
do |
| 3602 |
CC="$ac_save_CC $ac_arg" |
| 3603 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3604 |
ac_cv_prog_cc_c89=$ac_arg |
| 3605 |
fi |
| 3606 |
rm -f core conftest.err conftest.$ac_objext |
| 3607 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 3608 |
done |
| 3609 |
rm -f conftest.$ac_ext |
| 3610 |
CC=$ac_save_CC |
| 3611 |
|
| 3612 |
fi |
| 3613 |
# AC_CACHE_VAL |
| 3614 |
case "x$ac_cv_prog_cc_c89" in |
| 3615 |
x) |
| 3616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3617 |
$as_echo "none needed" >&6; } ;; |
| 3618 |
xno) |
| 3619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3620 |
$as_echo "unsupported" >&6; } ;; |
| 3621 |
*) |
| 3622 |
CC="$CC $ac_cv_prog_cc_c89" |
| 3623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3624 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3625 |
esac |
| 3626 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 3627 |
|
| 3628 |
fi |
| 3629 |
|
| 3630 |
ac_ext=c |
| 3631 |
ac_cpp='$CPP $CPPFLAGS' |
| 3632 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3633 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3634 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3635 |
DEPDIR="${am__leading_dot}deps" |
| 3636 |
|
| 3637 |
ac_config_commands="$ac_config_commands depfiles" |
| 3638 |
|
|