| 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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
| 392 |
@%:@ must be portable across @S|@(()) 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 @S|@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 |
LIB@&t@OBJS= |
| 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 |
LIB@&t@OBJS |
| 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 |
@<:@@S|@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.@S|@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.@S|@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.@S|@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.@S|@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.@S|@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 |
|
| 3639 |
|
| 3640 |
am_make=${MAKE-make} |
| 3641 |
cat > confinc << 'END' |
| 3642 |
am__doit: |
| 3643 |
@echo this is the am__doit target |
| 3644 |
.PHONY: am__doit |
| 3645 |
END |
| 3646 |
# If we don't find an include directive, just comment out the code. |
| 3647 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3648 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3649 |
am__include="#" |
| 3650 |
am__quote= |
| 3651 |
_am_result=none |
| 3652 |
# First try GNU make style include. |
| 3653 |
echo "include confinc" > confmf |
| 3654 |
# Ignore all kinds of additional output from `make'. |
| 3655 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3656 |
*the\ am__doit\ target*) |
| 3657 |
am__include=include |
| 3658 |
am__quote= |
| 3659 |
_am_result=GNU |
| 3660 |
;; |
| 3661 |
esac |
| 3662 |
# Now try BSD make style include. |
| 3663 |
if test "$am__include" = "#"; then |
| 3664 |
echo '.include "confinc"' > confmf |
| 3665 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3666 |
*the\ am__doit\ target*) |
| 3667 |
am__include=.include |
| 3668 |
am__quote="\"" |
| 3669 |
_am_result=BSD |
| 3670 |
;; |
| 3671 |
esac |
| 3672 |
fi |
| 3673 |
|
| 3674 |
|
| 3675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3676 |
$as_echo "$_am_result" >&6; } |
| 3677 |
rm -f confinc confmf |
| 3678 |
|
| 3679 |
@%:@ Check whether --enable-dependency-tracking was given. |
| 3680 |
if test "${enable_dependency_tracking+set}" = set; then : |
| 3681 |
enableval=$enable_dependency_tracking; |
| 3682 |
fi |
| 3683 |
|
| 3684 |
if test "x$enable_dependency_tracking" != xno; then |
| 3685 |
am_depcomp="$ac_aux_dir/depcomp" |
| 3686 |
AMDEPBACKSLASH='\' |
| 3687 |
am__nodep='_no' |
| 3688 |
fi |
| 3689 |
if test "x$enable_dependency_tracking" != xno; then |
| 3690 |
AMDEP_TRUE= |
| 3691 |
AMDEP_FALSE='#' |
| 3692 |
else |
| 3693 |
AMDEP_TRUE='#' |
| 3694 |
AMDEP_FALSE= |
| 3695 |
fi |
| 3696 |
|
| 3697 |
|
| 3698 |
|
| 3699 |
depcc="$CC" am_compiler_list= |
| 3700 |
|
| 3701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 3702 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 3703 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 3704 |
$as_echo_n "(cached) " >&6 |
| 3705 |
else |
| 3706 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3707 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 3708 |
# making bogus files that we don't know about and never remove. For |
| 3709 |
# instance it was reported that on HP-UX the gcc test will end up |
| 3710 |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 3711 |
# in D'. |
| 3712 |
rm -rf conftest.dir |
| 3713 |
mkdir conftest.dir |
| 3714 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 3715 |
# using a relative directory. |
| 3716 |
cp "$am_depcomp" conftest.dir |
| 3717 |
cd conftest.dir |
| 3718 |
# We will build objects and dependencies in a subdirectory because |
| 3719 |
# it helps to detect inapplicable dependency modes. For instance |
| 3720 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 3721 |
# side effect of compilation, but ICC will put the dependencies in |
| 3722 |
# the current directory while Tru64 will put them in the object |
| 3723 |
# directory. |
| 3724 |
mkdir sub |
| 3725 |
|
| 3726 |
am_cv_CC_dependencies_compiler_type=none |
| 3727 |
if test "$am_compiler_list" = ""; then |
| 3728 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 3729 |
fi |
| 3730 |
am__universal=false |
| 3731 |
case " $depcc " in #( |
| 3732 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 3733 |
esac |
| 3734 |
|
| 3735 |
for depmode in $am_compiler_list; do |
| 3736 |
# Setup a source with many dependencies, because some compilers |
| 3737 |
# like to wrap large dependency lists on column 80 (with \), and |
| 3738 |
# we should not choose a depcomp mode which is confused by this. |
| 3739 |
# |
| 3740 |
# We need to recreate these files for each test, as the compiler may |
| 3741 |
# overwrite some of them when testing with obscure command lines. |
| 3742 |
# This happens at least with the AIX C compiler. |
| 3743 |
: > sub/conftest.c |
| 3744 |
for i in 1 2 3 4 5 6; do |
| 3745 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3746 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3747 |
# Solaris 8's {/usr,}/bin/sh. |
| 3748 |
touch sub/conftst$i.h |
| 3749 |
done |
| 3750 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3751 |
|
| 3752 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3753 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 3754 |
# handle `-M -o', and we need to detect this. Also, some Intel |
| 3755 |
# versions had trouble with output in subdirs |
| 3756 |
am__obj=sub/conftest.${OBJEXT-o} |
| 3757 |
am__minus_obj="-o $am__obj" |
| 3758 |
case $depmode in |
| 3759 |
gcc) |
| 3760 |
# This depmode causes a compiler race in universal mode. |
| 3761 |
test "$am__universal" = false || continue |
| 3762 |
;; |
| 3763 |
nosideeffect) |
| 3764 |
# after this tag, mechanisms are not by side-effect, so they'll |
| 3765 |
# only be used when explicitly requested |
| 3766 |
if test "x$enable_dependency_tracking" = xyes; then |
| 3767 |
continue |
| 3768 |
else |
| 3769 |
break |
| 3770 |
fi |
| 3771 |
;; |
| 3772 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 3773 |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 3774 |
# not run yet. These depmodes are late enough in the game, and |
| 3775 |
# so weak that their functioning should not be impacted. |
| 3776 |
am__obj=conftest.${OBJEXT-o} |
| 3777 |
am__minus_obj= |
| 3778 |
;; |
| 3779 |
none) break ;; |
| 3780 |
esac |
| 3781 |
if depmode=$depmode \ |
| 3782 |
source=sub/conftest.c object=$am__obj \ |
| 3783 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 3784 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 3785 |
>/dev/null 2>conftest.err && |
| 3786 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 3787 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 3788 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 3789 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3790 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 3791 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 3792 |
# that says an option was ignored or not supported. |
| 3793 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 3794 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 3795 |
# The diagnosis changed in icc 8.0: |
| 3796 |
# icc: Command line remark: option '-MP' not supported |
| 3797 |
if (grep 'ignoring option' conftest.err || |
| 3798 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 3799 |
am_cv_CC_dependencies_compiler_type=$depmode |
| 3800 |
break |
| 3801 |
fi |
| 3802 |
fi |
| 3803 |
done |
| 3804 |
|
| 3805 |
cd .. |
| 3806 |
rm -rf conftest.dir |
| 3807 |
else |
| 3808 |
am_cv_CC_dependencies_compiler_type=none |
| 3809 |
fi |
| 3810 |
|
| 3811 |
fi |
| 3812 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 3813 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 3814 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 3815 |
|
| 3816 |
if |
| 3817 |
test "x$enable_dependency_tracking" != xno \ |
| 3818 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 3819 |
am__fastdepCC_TRUE= |
| 3820 |
am__fastdepCC_FALSE='#' |
| 3821 |
else |
| 3822 |
am__fastdepCC_TRUE='#' |
| 3823 |
am__fastdepCC_FALSE= |
| 3824 |
fi |
| 3825 |
|
| 3826 |
|
| 3827 |
ac_ext=cpp |
| 3828 |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 3829 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3830 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3831 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 3832 |
if test -z "$CXX"; then |
| 3833 |
if test -n "$CCC"; then |
| 3834 |
CXX=$CCC |
| 3835 |
else |
| 3836 |
if test -n "$ac_tool_prefix"; then |
| 3837 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 3838 |
do |
| 3839 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3840 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3841 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3842 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3843 |
if ${ac_cv_prog_CXX+:} false; then : |
| 3844 |
$as_echo_n "(cached) " >&6 |
| 3845 |
else |
| 3846 |
if test -n "$CXX"; then |
| 3847 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 3848 |
else |
| 3849 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3850 |
for as_dir in $PATH |
| 3851 |
do |
| 3852 |
IFS=$as_save_IFS |
| 3853 |
test -z "$as_dir" && as_dir=. |
| 3854 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3855 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3856 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 3857 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3858 |
break 2 |
| 3859 |
fi |
| 3860 |
done |
| 3861 |
done |
| 3862 |
IFS=$as_save_IFS |
| 3863 |
|
| 3864 |
fi |
| 3865 |
fi |
| 3866 |
CXX=$ac_cv_prog_CXX |
| 3867 |
if test -n "$CXX"; then |
| 3868 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
| 3869 |
$as_echo "$CXX" >&6; } |
| 3870 |
else |
| 3871 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3872 |
$as_echo "no" >&6; } |
| 3873 |
fi |
| 3874 |
|
| 3875 |
|
| 3876 |
test -n "$CXX" && break |
| 3877 |
done |
| 3878 |
fi |
| 3879 |
if test -z "$CXX"; then |
| 3880 |
ac_ct_CXX=$CXX |
| 3881 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 3882 |
do |
| 3883 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3884 |
set dummy $ac_prog; ac_word=$2 |
| 3885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3886 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3887 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
| 3888 |
$as_echo_n "(cached) " >&6 |
| 3889 |
else |
| 3890 |
if test -n "$ac_ct_CXX"; then |
| 3891 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 3892 |
else |
| 3893 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3894 |
for as_dir in $PATH |
| 3895 |
do |
| 3896 |
IFS=$as_save_IFS |
| 3897 |
test -z "$as_dir" && as_dir=. |
| 3898 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3899 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3900 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 3901 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3902 |
break 2 |
| 3903 |
fi |
| 3904 |
done |
| 3905 |
done |
| 3906 |
IFS=$as_save_IFS |
| 3907 |
|
| 3908 |
fi |
| 3909 |
fi |
| 3910 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 3911 |
if test -n "$ac_ct_CXX"; then |
| 3912 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
| 3913 |
$as_echo "$ac_ct_CXX" >&6; } |
| 3914 |
else |
| 3915 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3916 |
$as_echo "no" >&6; } |
| 3917 |
fi |
| 3918 |
|
| 3919 |
|
| 3920 |
test -n "$ac_ct_CXX" && break |
| 3921 |
done |
| 3922 |
|
| 3923 |
if test "x$ac_ct_CXX" = x; then |
| 3924 |
CXX="g++" |
| 3925 |
else |
| 3926 |
case $cross_compiling:$ac_tool_warned in |
| 3927 |
yes:) |
| 3928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3929 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3930 |
ac_tool_warned=yes ;; |
| 3931 |
esac |
| 3932 |
CXX=$ac_ct_CXX |
| 3933 |
fi |
| 3934 |
fi |
| 3935 |
|
| 3936 |
fi |
| 3937 |
fi |
| 3938 |
# Provide some information about the compiler. |
| 3939 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
| 3940 |
set X $ac_compile |
| 3941 |
ac_compiler=$2 |
| 3942 |
for ac_option in --version -v -V -qversion; do |
| 3943 |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 3944 |
case "(($ac_try" in |
| 3945 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3946 |
*) ac_try_echo=$ac_try;; |
| 3947 |
esac |
| 3948 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3949 |
$as_echo "$ac_try_echo"; } >&5 |
| 3950 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 3951 |
ac_status=$? |
| 3952 |
if test -s conftest.err; then |
| 3953 |
sed '10a\ |
| 3954 |
... rest of stderr output deleted ... |
| 3955 |
10q' conftest.err >conftest.er1 |
| 3956 |
cat conftest.er1 >&5 |
| 3957 |
fi |
| 3958 |
rm -f conftest.er1 conftest.err |
| 3959 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3960 |
test $ac_status = 0; } |
| 3961 |
done |
| 3962 |
|
| 3963 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
| 3964 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
| 3965 |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
| 3966 |
$as_echo_n "(cached) " >&6 |
| 3967 |
else |
| 3968 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3969 |
/* end confdefs.h. */ |
| 3970 |
|
| 3971 |
int |
| 3972 |
main () |
| 3973 |
{ |
| 3974 |
#ifndef __GNUC__ |
| 3975 |
choke me |
| 3976 |
#endif |
| 3977 |
|
| 3978 |
; |
| 3979 |
return 0; |
| 3980 |
} |
| 3981 |
_ACEOF |
| 3982 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| 3983 |
ac_compiler_gnu=yes |
| 3984 |
else |
| 3985 |
ac_compiler_gnu=no |
| 3986 |
fi |
| 3987 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3988 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 3989 |
|
| 3990 |
fi |
| 3991 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3992 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
| 3993 |
if test $ac_compiler_gnu = yes; then |
| 3994 |
GXX=yes |
| 3995 |
else |
| 3996 |
GXX= |
| 3997 |
fi |
| 3998 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 3999 |
ac_save_CXXFLAGS=$CXXFLAGS |
| 4000 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
| 4001 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
| 4002 |
if ${ac_cv_prog_cxx_g+:} false; then : |
| 4003 |
$as_echo_n "(cached) " >&6 |
| 4004 |
else |
| 4005 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 4006 |
ac_cxx_werror_flag=yes |
| 4007 |
ac_cv_prog_cxx_g=no |
| 4008 |
CXXFLAGS="-g" |
| 4009 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4010 |
/* end confdefs.h. */ |
| 4011 |
|
| 4012 |
int |
| 4013 |
main () |
| 4014 |
{ |
| 4015 |
|
| 4016 |
; |
| 4017 |
return 0; |
| 4018 |
} |
| 4019 |
_ACEOF |
| 4020 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| 4021 |
ac_cv_prog_cxx_g=yes |
| 4022 |
else |
| 4023 |
CXXFLAGS="" |
| 4024 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4025 |
/* end confdefs.h. */ |
| 4026 |
|
| 4027 |
int |
| 4028 |
main () |
| 4029 |
{ |
| 4030 |
|
| 4031 |
; |
| 4032 |
return 0; |
| 4033 |
} |
| 4034 |
_ACEOF |
| 4035 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| 4036 |
|
| 4037 |
else |
| 4038 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 4039 |
CXXFLAGS="-g" |
| 4040 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4041 |
/* end confdefs.h. */ |
| 4042 |
|
| 4043 |
int |
| 4044 |
main () |
| 4045 |
{ |
| 4046 |
|
| 4047 |
; |
| 4048 |
return 0; |
| 4049 |
} |
| 4050 |
_ACEOF |
| 4051 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| 4052 |
ac_cv_prog_cxx_g=yes |
| 4053 |
fi |
| 4054 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4055 |
fi |
| 4056 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4057 |
fi |
| 4058 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4059 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 4060 |
fi |
| 4061 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
| 4062 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
| 4063 |
if test "$ac_test_CXXFLAGS" = set; then |
| 4064 |
CXXFLAGS=$ac_save_CXXFLAGS |
| 4065 |
elif test $ac_cv_prog_cxx_g = yes; then |
| 4066 |
if test "$GXX" = yes; then |
| 4067 |
CXXFLAGS="-g -O2" |
| 4068 |
else |
| 4069 |
CXXFLAGS="-g" |
| 4070 |
fi |
| 4071 |
else |
| 4072 |
if test "$GXX" = yes; then |
| 4073 |
CXXFLAGS="-O2" |
| 4074 |
else |
| 4075 |
CXXFLAGS= |
| 4076 |
fi |
| 4077 |
fi |
| 4078 |
ac_ext=c |
| 4079 |
ac_cpp='$CPP $CPPFLAGS' |
| 4080 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4081 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4082 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4083 |
|
| 4084 |
depcc="$CXX" am_compiler_list= |
| 4085 |
|
| 4086 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4087 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 4088 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
| 4089 |
$as_echo_n "(cached) " >&6 |
| 4090 |
else |
| 4091 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4092 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 4093 |
# making bogus files that we don't know about and never remove. For |
| 4094 |
# instance it was reported that on HP-UX the gcc test will end up |
| 4095 |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 4096 |
# in D'. |
| 4097 |
rm -rf conftest.dir |
| 4098 |
mkdir conftest.dir |
| 4099 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 4100 |
# using a relative directory. |
| 4101 |
cp "$am_depcomp" conftest.dir |
| 4102 |
cd conftest.dir |
| 4103 |
# We will build objects and dependencies in a subdirectory because |
| 4104 |
# it helps to detect inapplicable dependency modes. For instance |
| 4105 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 4106 |
# side effect of compilation, but ICC will put the dependencies in |
| 4107 |
# the current directory while Tru64 will put them in the object |
| 4108 |
# directory. |
| 4109 |
mkdir sub |
| 4110 |
|
| 4111 |
am_cv_CXX_dependencies_compiler_type=none |
| 4112 |
if test "$am_compiler_list" = ""; then |
| 4113 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 4114 |
fi |
| 4115 |
am__universal=false |
| 4116 |
case " $depcc " in #( |
| 4117 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 4118 |
esac |
| 4119 |
|
| 4120 |
for depmode in $am_compiler_list; do |
| 4121 |
# Setup a source with many dependencies, because some compilers |
| 4122 |
# like to wrap large dependency lists on column 80 (with \), and |
| 4123 |
# we should not choose a depcomp mode which is confused by this. |
| 4124 |
# |
| 4125 |
# We need to recreate these files for each test, as the compiler may |
| 4126 |
# overwrite some of them when testing with obscure command lines. |
| 4127 |
# This happens at least with the AIX C compiler. |
| 4128 |
: > sub/conftest.c |
| 4129 |
for i in 1 2 3 4 5 6; do |
| 4130 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 4131 |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 4132 |
# Solaris 8's {/usr,}/bin/sh. |
| 4133 |
touch sub/conftst$i.h |
| 4134 |
done |
| 4135 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 4136 |
|
| 4137 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 4138 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 4139 |
# handle `-M -o', and we need to detect this. Also, some Intel |
| 4140 |
# versions had trouble with output in subdirs |
| 4141 |
am__obj=sub/conftest.${OBJEXT-o} |
| 4142 |
am__minus_obj="-o $am__obj" |
| 4143 |
case $depmode in |
| 4144 |
gcc) |
| 4145 |
# This depmode causes a compiler race in universal mode. |
| 4146 |
test "$am__universal" = false || continue |
| 4147 |
;; |
| 4148 |
nosideeffect) |
| 4149 |
# after this tag, mechanisms are not by side-effect, so they'll |
| 4150 |
# only be used when explicitly requested |
| 4151 |
if test "x$enable_dependency_tracking" = xyes; then |
| 4152 |
continue |
| 4153 |
else |
| 4154 |
break |
| 4155 |
fi |
| 4156 |
;; |
| 4157 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 4158 |
# This compiler won't grok `-c -o', but also, the minuso test has |
| 4159 |
# not run yet. These depmodes are late enough in the game, and |
| 4160 |
# so weak that their functioning should not be impacted. |
| 4161 |
am__obj=conftest.${OBJEXT-o} |
| 4162 |
am__minus_obj= |
| 4163 |
;; |
| 4164 |
none) break ;; |
| 4165 |
esac |
| 4166 |
if depmode=$depmode \ |
| 4167 |
source=sub/conftest.c object=$am__obj \ |
| 4168 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 4169 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 4170 |
>/dev/null 2>conftest.err && |
| 4171 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 4172 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 4173 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 4174 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 4175 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 4176 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 4177 |
# that says an option was ignored or not supported. |
| 4178 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 4179 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 4180 |
# The diagnosis changed in icc 8.0: |
| 4181 |
# icc: Command line remark: option '-MP' not supported |
| 4182 |
if (grep 'ignoring option' conftest.err || |
| 4183 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 4184 |
am_cv_CXX_dependencies_compiler_type=$depmode |
| 4185 |
break |
| 4186 |
fi |
| 4187 |
fi |
| 4188 |
done |
| 4189 |
|
| 4190 |
cd .. |
| 4191 |
rm -rf conftest.dir |
| 4192 |
else |
| 4193 |
am_cv_CXX_dependencies_compiler_type=none |
| 4194 |
fi |
| 4195 |
|
| 4196 |
fi |
| 4197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| 4198 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
| 4199 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| 4200 |
|
| 4201 |
if |
| 4202 |
test "x$enable_dependency_tracking" != xno \ |
| 4203 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
| 4204 |
am__fastdepCXX_TRUE= |
| 4205 |
am__fastdepCXX_FALSE='#' |
| 4206 |
else |
| 4207 |
am__fastdepCXX_TRUE='#' |
| 4208 |
am__fastdepCXX_FALSE= |
| 4209 |
fi |
| 4210 |
|
| 4211 |
|
| 4212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 4213 |
$as_echo_n "checking whether ln -s works... " >&6; } |
| 4214 |
LN_S=$as_ln_s |
| 4215 |
if test "$LN_S" = "ln -s"; then |
| 4216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4217 |
$as_echo "yes" >&6; } |
| 4218 |
else |
| 4219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 4220 |
$as_echo "no, using $LN_S" >&6; } |
| 4221 |
fi |
| 4222 |
|
| 4223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 4224 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 4225 |
set x ${MAKE-make} |
| 4226 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 4227 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 4228 |
$as_echo_n "(cached) " >&6 |
| 4229 |
else |
| 4230 |
cat >conftest.make <<\_ACEOF |
| 4231 |
SHELL = /bin/sh |
| 4232 |
all: |
| 4233 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 4234 |
_ACEOF |
| 4235 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 4236 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 4237 |
*@@@%%%=?*=@@@%%%*) |
| 4238 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 4239 |
*) |
| 4240 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 4241 |
esac |
| 4242 |
rm -f conftest.make |
| 4243 |
fi |
| 4244 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 4245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4246 |
$as_echo "yes" >&6; } |
| 4247 |
SET_MAKE= |
| 4248 |
else |
| 4249 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4250 |
$as_echo "no" >&6; } |
| 4251 |
SET_MAKE="MAKE=${MAKE-make}" |
| 4252 |
fi |
| 4253 |
|
| 4254 |
|
| 4255 |
# Checks for libraries. |
| 4256 |
|
| 4257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 |
| 4258 |
$as_echo_n "checking for sin in -lm... " >&6; } |
| 4259 |
if ${ac_cv_lib_m_sin+:} false; then : |
| 4260 |
$as_echo_n "(cached) " >&6 |
| 4261 |
else |
| 4262 |
ac_check_lib_save_LIBS=$LIBS |
| 4263 |
LIBS="-lm $LIBS" |
| 4264 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4265 |
/* end confdefs.h. */ |
| 4266 |
|
| 4267 |
/* Override any GCC internal prototype to avoid an error. |
| 4268 |
Use char because int might match the return type of a GCC |
| 4269 |
builtin and then its argument prototype would still apply. */ |
| 4270 |
#ifdef __cplusplus |
| 4271 |
extern "C" |
| 4272 |
#endif |
| 4273 |
char sin (); |
| 4274 |
int |
| 4275 |
main () |
| 4276 |
{ |
| 4277 |
return sin (); |
| 4278 |
; |
| 4279 |
return 0; |
| 4280 |
} |
| 4281 |
_ACEOF |
| 4282 |
if ac_fn_c_try_link "$LINENO"; then : |
| 4283 |
ac_cv_lib_m_sin=yes |
| 4284 |
else |
| 4285 |
ac_cv_lib_m_sin=no |
| 4286 |
fi |
| 4287 |
rm -f core conftest.err conftest.$ac_objext \ |
| 4288 |
conftest$ac_exeext conftest.$ac_ext |
| 4289 |
LIBS=$ac_check_lib_save_LIBS |
| 4290 |
fi |
| 4291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 |
| 4292 |
$as_echo "$ac_cv_lib_m_sin" >&6; } |
| 4293 |
if test "x$ac_cv_lib_m_sin" = xyes; then : |
| 4294 |
cat >>confdefs.h <<_ACEOF |
| 4295 |
@%:@define HAVE_LIBM 1 |
| 4296 |
_ACEOF |
| 4297 |
|
| 4298 |
LIBS="-lm $LIBS" |
| 4299 |
|
| 4300 |
fi |
| 4301 |
|
| 4302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glClear in -lGL" >&5 |
| 4303 |
$as_echo_n "checking for glClear in -lGL... " >&6; } |
| 4304 |
if ${ac_cv_lib_GL_glClear+:} false; then : |
| 4305 |
$as_echo_n "(cached) " >&6 |
| 4306 |
else |
| 4307 |
ac_check_lib_save_LIBS=$LIBS |
| 4308 |
LIBS="-lGL $LIBS" |
| 4309 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4310 |
/* end confdefs.h. */ |
| 4311 |
|
| 4312 |
/* Override any GCC internal prototype to avoid an error. |
| 4313 |
Use char because int might match the return type of a GCC |
| 4314 |
builtin and then its argument prototype would still apply. */ |
| 4315 |
#ifdef __cplusplus |
| 4316 |
extern "C" |
| 4317 |
#endif |
| 4318 |
char glClear (); |
| 4319 |
int |
| 4320 |
main () |
| 4321 |
{ |
| 4322 |
return glClear (); |
| 4323 |
; |
| 4324 |
return 0; |
| 4325 |
} |
| 4326 |
_ACEOF |
| 4327 |
if ac_fn_c_try_link "$LINENO"; then : |
| 4328 |
ac_cv_lib_GL_glClear=yes |
| 4329 |
else |
| 4330 |
ac_cv_lib_GL_glClear=no |
| 4331 |
fi |
| 4332 |
rm -f core conftest.err conftest.$ac_objext \ |
| 4333 |
conftest$ac_exeext conftest.$ac_ext |
| 4334 |
LIBS=$ac_check_lib_save_LIBS |
| 4335 |
fi |
| 4336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glClear" >&5 |
| 4337 |
$as_echo "$ac_cv_lib_GL_glClear" >&6; } |
| 4338 |
if test "x$ac_cv_lib_GL_glClear" = xyes; then : |
| 4339 |
cat >>confdefs.h <<_ACEOF |
| 4340 |
@%:@define HAVE_LIBGL 1 |
| 4341 |
_ACEOF |
| 4342 |
|
| 4343 |
LIBS="-lGL $LIBS" |
| 4344 |
|
| 4345 |
fi |
| 4346 |
|
| 4347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL/SDL_opengl in -lSDL" >&5 |
| 4348 |
$as_echo_n "checking for SDL/SDL_opengl in -lSDL... " >&6; } |
| 4349 |
if ${ac_cv_lib_SDL_SDL_SDL_opengl+:} false; then : |
| 4350 |
$as_echo_n "(cached) " >&6 |
| 4351 |
else |
| 4352 |
ac_check_lib_save_LIBS=$LIBS |
| 4353 |
LIBS="-lSDL $LIBS" |
| 4354 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4355 |
/* end confdefs.h. */ |
| 4356 |
|
| 4357 |
/* Override any GCC internal prototype to avoid an error. |
| 4358 |
Use char because int might match the return type of a GCC |
| 4359 |
builtin and then its argument prototype would still apply. */ |
| 4360 |
#ifdef __cplusplus |
| 4361 |
extern "C" |
| 4362 |
#endif |
| 4363 |
char SDL/SDL_opengl (); |
| 4364 |
int |
| 4365 |
main () |
| 4366 |
{ |
| 4367 |
return SDL/SDL_opengl (); |
| 4368 |
; |
| 4369 |
return 0; |
| 4370 |
} |
| 4371 |
_ACEOF |
| 4372 |
if ac_fn_c_try_link "$LINENO"; then : |
| 4373 |
ac_cv_lib_SDL_SDL_SDL_opengl=yes |
| 4374 |
else |
| 4375 |
ac_cv_lib_SDL_SDL_SDL_opengl=no |
| 4376 |
fi |
| 4377 |
rm -f core conftest.err conftest.$ac_objext \ |
| 4378 |
conftest$ac_exeext conftest.$ac_ext |
| 4379 |
LIBS=$ac_check_lib_save_LIBS |
| 4380 |
fi |
| 4381 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_SDL_SDL_opengl" >&5 |
| 4382 |
$as_echo "$ac_cv_lib_SDL_SDL_SDL_opengl" >&6; } |
| 4383 |
if test "x$ac_cv_lib_SDL_SDL_SDL_opengl" = xyes; then : |
| 4384 |
cat >>confdefs.h <<_ACEOF |
| 4385 |
@%:@define HAVE_LIBSDL 1 |
| 4386 |
_ACEOF |
| 4387 |
|
| 4388 |
LIBS="-lSDL $LIBS" |
| 4389 |
|
| 4390 |
fi |
| 4391 |
|
| 4392 |
|
| 4393 |
# Checks for header files. |
| 4394 |
ac_ext=c |
| 4395 |
ac_cpp='$CPP $CPPFLAGS' |
| 4396 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4397 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4398 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 4400 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4401 |
# On Suns, sometimes $CPP names a directory. |
| 4402 |
if test -n "$CPP" && test -d "$CPP"; then |
| 4403 |
CPP= |
| 4404 |
fi |
| 4405 |
if test -z "$CPP"; then |
| 4406 |
if ${ac_cv_prog_CPP+:} false; then : |
| 4407 |
$as_echo_n "(cached) " >&6 |
| 4408 |
else |
| 4409 |
# Double quotes because CPP needs to be expanded |
| 4410 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 4411 |
do |
| 4412 |
ac_preproc_ok=false |
| 4413 |
for ac_c_preproc_warn_flag in '' yes |
| 4414 |
do |
| 4415 |
# Use a header file that comes with gcc, so configuring glibc |
| 4416 |
# with a fresh cross-compiler works. |
| 4417 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4418 |
# <limits.h> exists even on freestanding compilers. |
| 4419 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4420 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4421 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4422 |
/* end confdefs.h. */ |
| 4423 |
@%:@ifdef __STDC__ |
| 4424 |
@%:@ include <limits.h> |
| 4425 |
@%:@else |
| 4426 |
@%:@ include <assert.h> |
| 4427 |
@%:@endif |
| 4428 |
Syntax error |
| 4429 |
_ACEOF |
| 4430 |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 4431 |
|
| 4432 |
else |
| 4433 |
# Broken: fails on valid input. |
| 4434 |
continue |
| 4435 |
fi |
| 4436 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4437 |
|
| 4438 |
# OK, works on sane cases. Now check whether nonexistent headers |
| 4439 |
# can be detected and how. |
| 4440 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4441 |
/* end confdefs.h. */ |
| 4442 |
@%:@include <ac_nonexistent.h> |
| 4443 |
_ACEOF |
| 4444 |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 4445 |
# Broken: success on invalid input. |
| 4446 |
continue |
| 4447 |
else |
| 4448 |
# Passes both tests. |
| 4449 |
ac_preproc_ok=: |
| 4450 |
break |
| 4451 |
fi |
| 4452 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4453 |
|
| 4454 |
done |
| 4455 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4456 |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 4457 |
if $ac_preproc_ok; then : |
| 4458 |
break |
| 4459 |
fi |
| 4460 |
|
| 4461 |
done |
| 4462 |
ac_cv_prog_CPP=$CPP |
| 4463 |
|
| 4464 |
fi |
| 4465 |
CPP=$ac_cv_prog_CPP |
| 4466 |
else |
| 4467 |
ac_cv_prog_CPP=$CPP |
| 4468 |
fi |
| 4469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 4470 |
$as_echo "$CPP" >&6; } |
| 4471 |
ac_preproc_ok=false |
| 4472 |
for ac_c_preproc_warn_flag in '' yes |
| 4473 |
do |
| 4474 |
# Use a header file that comes with gcc, so configuring glibc |
| 4475 |
# with a fresh cross-compiler works. |
| 4476 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 4477 |
# <limits.h> exists even on freestanding compilers. |
| 4478 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 4479 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 4480 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4481 |
/* end confdefs.h. */ |
| 4482 |
@%:@ifdef __STDC__ |
| 4483 |
@%:@ include <limits.h> |
| 4484 |
@%:@else |
| 4485 |
@%:@ include <assert.h> |
| 4486 |
@%:@endif |
| 4487 |
Syntax error |
| 4488 |
_ACEOF |
| 4489 |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 4490 |
|
| 4491 |
else |
| 4492 |
# Broken: fails on valid input. |
| 4493 |
continue |
| 4494 |
fi |
| 4495 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4496 |
|
| 4497 |
# OK, works on sane cases. Now check whether nonexistent headers |
| 4498 |
# can be detected and how. |
| 4499 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4500 |
/* end confdefs.h. */ |
| 4501 |
@%:@include <ac_nonexistent.h> |
| 4502 |
_ACEOF |
| 4503 |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 4504 |
# Broken: success on invalid input. |
| 4505 |
continue |
| 4506 |
else |
| 4507 |
# Passes both tests. |
| 4508 |
ac_preproc_ok=: |
| 4509 |
break |
| 4510 |
fi |
| 4511 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 4512 |
|
| 4513 |
done |
| 4514 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4515 |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 4516 |
if $ac_preproc_ok; then : |
| 4517 |
|
| 4518 |
else |
| 4519 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4520 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4521 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 4522 |
See \`config.log' for more details" "$LINENO" 5; } |
| 4523 |
fi |
| 4524 |
|
| 4525 |
ac_ext=c |
| 4526 |
ac_cpp='$CPP $CPPFLAGS' |
| 4527 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4528 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4529 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4530 |
|
| 4531 |
|
| 4532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4533 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4534 |
if ${ac_cv_path_GREP+:} false; then : |
| 4535 |
$as_echo_n "(cached) " >&6 |
| 4536 |
else |
| 4537 |
if test -z "$GREP"; then |
| 4538 |
ac_path_GREP_found=false |
| 4539 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 4540 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4541 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4542 |
do |
| 4543 |
IFS=$as_save_IFS |
| 4544 |
test -z "$as_dir" && as_dir=. |
| 4545 |
for ac_prog in grep ggrep; do |
| 4546 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4547 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4548 |
as_fn_executable_p "$ac_path_GREP" || continue |
| 4549 |
# Check for GNU ac_path_GREP and select it if it is found. |
| 4550 |
# Check for GNU $ac_path_GREP |
| 4551 |
case `"$ac_path_GREP" --version 2>&1` in |
| 4552 |
*GNU*) |
| 4553 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 4554 |
*) |
| 4555 |
ac_count=0 |
| 4556 |
$as_echo_n 0123456789 >"conftest.in" |
| 4557 |
while : |
| 4558 |
do |
| 4559 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4560 |
mv "conftest.tmp" "conftest.in" |
| 4561 |
cp "conftest.in" "conftest.nl" |
| 4562 |
$as_echo 'GREP' >> "conftest.nl" |
| 4563 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4564 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4565 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4566 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4567 |
# Best one so far, save it but keep looking for a better one |
| 4568 |
ac_cv_path_GREP="$ac_path_GREP" |
| 4569 |
ac_path_GREP_max=$ac_count |
| 4570 |
fi |
| 4571 |
# 10*(2^10) chars as input seems more than enough |
| 4572 |
test $ac_count -gt 10 && break |
| 4573 |
done |
| 4574 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4575 |
esac |
| 4576 |
|
| 4577 |
$ac_path_GREP_found && break 3 |
| 4578 |
done |
| 4579 |
done |
| 4580 |
done |
| 4581 |
IFS=$as_save_IFS |
| 4582 |
if test -z "$ac_cv_path_GREP"; then |
| 4583 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4584 |
fi |
| 4585 |
else |
| 4586 |
ac_cv_path_GREP=$GREP |
| 4587 |
fi |
| 4588 |
|
| 4589 |
fi |
| 4590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4591 |
$as_echo "$ac_cv_path_GREP" >&6; } |
| 4592 |
GREP="$ac_cv_path_GREP" |
| 4593 |
|
| 4594 |
|
| 4595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4596 |
$as_echo_n "checking for egrep... " >&6; } |
| 4597 |
if ${ac_cv_path_EGREP+:} false; then : |
| 4598 |
$as_echo_n "(cached) " >&6 |
| 4599 |
else |
| 4600 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4601 |
then ac_cv_path_EGREP="$GREP -E" |
| 4602 |
else |
| 4603 |
if test -z "$EGREP"; then |
| 4604 |
ac_path_EGREP_found=false |
| 4605 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 4606 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4607 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4608 |
do |
| 4609 |
IFS=$as_save_IFS |
| 4610 |
test -z "$as_dir" && as_dir=. |
| 4611 |
for ac_prog in egrep; do |
| 4612 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4613 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4614 |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 4615 |
# Check for GNU ac_path_EGREP and select it if it is found. |
| 4616 |
# Check for GNU $ac_path_EGREP |
| 4617 |
case `"$ac_path_EGREP" --version 2>&1` in |
| 4618 |
*GNU*) |
| 4619 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 4620 |
*) |
| 4621 |
ac_count=0 |
| 4622 |
$as_echo_n 0123456789 >"conftest.in" |
| 4623 |
while : |
| 4624 |
do |
| 4625 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4626 |
mv "conftest.tmp" "conftest.in" |
| 4627 |
cp "conftest.in" "conftest.nl" |
| 4628 |
$as_echo 'EGREP' >> "conftest.nl" |
| 4629 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4630 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4631 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4632 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4633 |
# Best one so far, save it but keep looking for a better one |
| 4634 |
ac_cv_path_EGREP="$ac_path_EGREP" |
| 4635 |
ac_path_EGREP_max=$ac_count |
| 4636 |
fi |
| 4637 |
# 10*(2^10) chars as input seems more than enough |
| 4638 |
test $ac_count -gt 10 && break |
| 4639 |
done |
| 4640 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 4641 |
esac |
| 4642 |
|
| 4643 |
$ac_path_EGREP_found && break 3 |
| 4644 |
done |
| 4645 |
done |
| 4646 |
done |
| 4647 |
IFS=$as_save_IFS |
| 4648 |
if test -z "$ac_cv_path_EGREP"; then |
| 4649 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4650 |
fi |
| 4651 |
else |
| 4652 |
ac_cv_path_EGREP=$EGREP |
| 4653 |
fi |
| 4654 |
|
| 4655 |
fi |
| 4656 |
fi |
| 4657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4658 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
| 4659 |
EGREP="$ac_cv_path_EGREP" |
| 4660 |
|
| 4661 |
|
| 4662 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 4663 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 4664 |
if ${ac_cv_header_stdc+:} false; then : |
| 4665 |
$as_echo_n "(cached) " >&6 |
| 4666 |
else |
| 4667 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4668 |
/* end confdefs.h. */ |
| 4669 |
#include <stdlib.h> |
| 4670 |
#include <stdarg.h> |
| 4671 |
#include <string.h> |
| 4672 |
#include <float.h> |
| 4673 |
|
| 4674 |
int |
| 4675 |
main () |
| 4676 |
{ |
| 4677 |
|
| 4678 |
; |
| 4679 |
return 0; |
| 4680 |
} |
| 4681 |
_ACEOF |
| 4682 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4683 |
ac_cv_header_stdc=yes |
| 4684 |
else |
| 4685 |
ac_cv_header_stdc=no |
| 4686 |
fi |
| 4687 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4688 |
|
| 4689 |
if test $ac_cv_header_stdc = yes; then |
| 4690 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4691 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4692 |
/* end confdefs.h. */ |
| 4693 |
#include <string.h> |
| 4694 |
|
| 4695 |
_ACEOF |
| 4696 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4697 |
$EGREP "memchr" >/dev/null 2>&1; then : |
| 4698 |
|
| 4699 |
else |
| 4700 |
ac_cv_header_stdc=no |
| 4701 |
fi |
| 4702 |
rm -f conftest* |
| 4703 |
|
| 4704 |
fi |
| 4705 |
|
| 4706 |
if test $ac_cv_header_stdc = yes; then |
| 4707 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4708 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4709 |
/* end confdefs.h. */ |
| 4710 |
#include <stdlib.h> |
| 4711 |
|
| 4712 |
_ACEOF |
| 4713 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4714 |
$EGREP "free" >/dev/null 2>&1; then : |
| 4715 |
|
| 4716 |
else |
| 4717 |
ac_cv_header_stdc=no |
| 4718 |
fi |
| 4719 |
rm -f conftest* |
| 4720 |
|
| 4721 |
fi |
| 4722 |
|
| 4723 |
if test $ac_cv_header_stdc = yes; then |
| 4724 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4725 |
if test "$cross_compiling" = yes; then : |
| 4726 |
: |
| 4727 |
else |
| 4728 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4729 |
/* end confdefs.h. */ |
| 4730 |
#include <ctype.h> |
| 4731 |
#include <stdlib.h> |
| 4732 |
#if ((' ' & 0x0FF) == 0x020) |
| 4733 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4734 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4735 |
#else |
| 4736 |
# define ISLOWER(c) \ |
| 4737 |
(('a' <= (c) && (c) <= 'i') \ |
| 4738 |
|| ('j' <= (c) && (c) <= 'r') \ |
| 4739 |
|| ('s' <= (c) && (c) <= 'z')) |
| 4740 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 4741 |
#endif |
| 4742 |
|
| 4743 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 4744 |
int |
| 4745 |
main () |
| 4746 |
{ |
| 4747 |
int i; |
| 4748 |
for (i = 0; i < 256; i++) |
| 4749 |
if (XOR (islower (i), ISLOWER (i)) |
| 4750 |
|| toupper (i) != TOUPPER (i)) |
| 4751 |
return 2; |
| 4752 |
return 0; |
| 4753 |
} |
| 4754 |
_ACEOF |
| 4755 |
if ac_fn_c_try_run "$LINENO"; then : |
| 4756 |
|
| 4757 |
else |
| 4758 |
ac_cv_header_stdc=no |
| 4759 |
fi |
| 4760 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 4761 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4762 |
fi |
| 4763 |
|
| 4764 |
fi |
| 4765 |
fi |
| 4766 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 4767 |
$as_echo "$ac_cv_header_stdc" >&6; } |
| 4768 |
if test $ac_cv_header_stdc = yes; then |
| 4769 |
|
| 4770 |
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h |
| 4771 |
|
| 4772 |
fi |
| 4773 |
|
| 4774 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4775 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4776 |
inttypes.h stdint.h unistd.h |
| 4777 |
do : |
| 4778 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4779 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 4780 |
" |
| 4781 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 4782 |
cat >>confdefs.h <<_ACEOF |
| 4783 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4784 |
_ACEOF |
| 4785 |
|
| 4786 |
fi |
| 4787 |
|
| 4788 |
done |
| 4789 |
|
| 4790 |
|
| 4791 |
for ac_header in locale.h |
| 4792 |
do : |
| 4793 |
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
| 4794 |
if test "x$ac_cv_header_locale_h" = xyes; then : |
| 4795 |
cat >>confdefs.h <<_ACEOF |
| 4796 |
@%:@define HAVE_LOCALE_H 1 |
| 4797 |
_ACEOF |
| 4798 |
|
| 4799 |
fi |
| 4800 |
|
| 4801 |
done |
| 4802 |
|
| 4803 |
for ac_header in stdlib.h stddef.h stdio.h stdarg.h |
| 4804 |
do : |
| 4805 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4806 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 4807 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 4808 |
cat >>confdefs.h <<_ACEOF |
| 4809 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4810 |
_ACEOF |
| 4811 |
|
| 4812 |
fi |
| 4813 |
|
| 4814 |
done |
| 4815 |
|
| 4816 |
for ac_header in limits.h string.h ctype.h time.h math.h |
| 4817 |
do : |
| 4818 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4819 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 4820 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 4821 |
cat >>confdefs.h <<_ACEOF |
| 4822 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4823 |
_ACEOF |
| 4824 |
|
| 4825 |
fi |
| 4826 |
|
| 4827 |
done |
| 4828 |
|
| 4829 |
for ac_header in unistd.h dirent.h sys/stat.h |
| 4830 |
do : |
| 4831 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4832 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 4833 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 4834 |
cat >>confdefs.h <<_ACEOF |
| 4835 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4836 |
_ACEOF |
| 4837 |
|
| 4838 |
fi |
| 4839 |
|
| 4840 |
done |
| 4841 |
|
| 4842 |
for ac_header in getopt.h |
| 4843 |
do : |
| 4844 |
ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
| 4845 |
if test "x$ac_cv_header_getopt_h" = xyes; then : |
| 4846 |
cat >>confdefs.h <<_ACEOF |
| 4847 |
@%:@define HAVE_GETOPT_H 1 |
| 4848 |
_ACEOF |
| 4849 |
|
| 4850 |
fi |
| 4851 |
|
| 4852 |
done |
| 4853 |
|
| 4854 |
for ac_header in SDL/SDL.h SDL/SDL_opengl.h |
| 4855 |
do : |
| 4856 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4857 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 4858 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 4859 |
cat >>confdefs.h <<_ACEOF |
| 4860 |
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4861 |
_ACEOF |
| 4862 |
|
| 4863 |
fi |
| 4864 |
|
| 4865 |
done |
| 4866 |
|
| 4867 |
|
| 4868 |
# Checks for typedefs, structures, and compiler characteristics. |
| 4869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 4870 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 4871 |
if ${ac_cv_c_const+:} false; then : |
| 4872 |
$as_echo_n "(cached) " >&6 |
| 4873 |
else |
| 4874 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4875 |
/* end confdefs.h. */ |
| 4876 |
|
| 4877 |
int |
| 4878 |
main () |
| 4879 |
{ |
| 4880 |
|
| 4881 |
#ifndef __cplusplus |
| 4882 |
/* Ultrix mips cc rejects this sort of thing. */ |
| 4883 |
typedef int charset[2]; |
| 4884 |
const charset cs = { 0, 0 }; |
| 4885 |
/* SunOS 4.1.1 cc rejects this. */ |
| 4886 |
char const *const *pcpcc; |
| 4887 |
char **ppc; |
| 4888 |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 4889 |
struct point {int x, y;}; |
| 4890 |
static struct point const zero = {0,0}; |
| 4891 |
/* AIX XL C 1.02.0.0 rejects this. |
| 4892 |
It does not let you subtract one const X* pointer from another in |
| 4893 |
an arm of an if-expression whose if-part is not a constant |
| 4894 |
expression */ |
| 4895 |
const char *g = "string"; |
| 4896 |
pcpcc = &g + (g ? g-g : 0); |
| 4897 |
/* HPUX 7.0 cc rejects these. */ |
| 4898 |
++pcpcc; |
| 4899 |
ppc = (char**) pcpcc; |
| 4900 |
pcpcc = (char const *const *) ppc; |
| 4901 |
{ /* SCO 3.2v4 cc rejects this sort of thing. */ |
| 4902 |
char tx; |
| 4903 |
char *t = &tx; |
| 4904 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 4905 |
|
| 4906 |
*t++ = 0; |
| 4907 |
if (s) return 0; |
| 4908 |
} |
| 4909 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 4910 |
int x[] = {25, 17}; |
| 4911 |
const int *foo = &x[0]; |
| 4912 |
++foo; |
| 4913 |
} |
| 4914 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 4915 |
typedef const int *iptr; |
| 4916 |
iptr p = 0; |
| 4917 |
++p; |
| 4918 |
} |
| 4919 |
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
| 4920 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 4921 |
struct s { int j; const int *ap[3]; } bx; |
| 4922 |
struct s *b = &bx; b->j = 5; |
| 4923 |
} |
| 4924 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 4925 |
const int foo = 10; |
| 4926 |
if (!foo) return 0; |
| 4927 |
} |
| 4928 |
return !cs[0] && !zero.x; |
| 4929 |
#endif |
| 4930 |
|
| 4931 |
; |
| 4932 |
return 0; |
| 4933 |
} |
| 4934 |
_ACEOF |
| 4935 |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4936 |
ac_cv_c_const=yes |
| 4937 |
else |
| 4938 |
ac_cv_c_const=no |
| 4939 |
fi |
| 4940 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4941 |
fi |
| 4942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 4943 |
$as_echo "$ac_cv_c_const" >&6; } |
| 4944 |
if test $ac_cv_c_const = no; then |
| 4945 |
|
| 4946 |
$as_echo "@%:@define const /**/" >>confdefs.h |
| 4947 |
|
| 4948 |
fi |
| 4949 |
|
| 4950 |
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
| 4951 |
if test "x$ac_cv_type_mode_t" = xyes; then : |
| 4952 |
|
| 4953 |
else |
| 4954 |
|
| 4955 |
cat >>confdefs.h <<_ACEOF |
| 4956 |
@%:@define mode_t int |
| 4957 |
_ACEOF |
| 4958 |
|
| 4959 |
fi |
| 4960 |
|
| 4961 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 4962 |
if test "x$ac_cv_type_size_t" = xyes; then : |
| 4963 |
|
| 4964 |
else |
| 4965 |
|
| 4966 |
cat >>confdefs.h <<_ACEOF |
| 4967 |
@%:@define size_t unsigned int |
| 4968 |
_ACEOF |
| 4969 |
|
| 4970 |
fi |
| 4971 |
|
| 4972 |
|
| 4973 |
# Checks for library functions. |
| 4974 |
if test $ac_cv_c_compiler_gnu = yes; then |
| 4975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
| 4976 |
$as_echo_n "checking whether $CC needs -traditional... " >&6; } |
| 4977 |
if ${ac_cv_prog_gcc_traditional+:} false; then : |
| 4978 |
$as_echo_n "(cached) " >&6 |
| 4979 |
else |
| 4980 |
ac_pattern="Autoconf.*'x'" |
| 4981 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4982 |
/* end confdefs.h. */ |
| 4983 |
#include <sgtty.h> |
| 4984 |
Autoconf TIOCGETP |
| 4985 |
_ACEOF |
| 4986 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4987 |
$EGREP "$ac_pattern" >/dev/null 2>&1; then : |
| 4988 |
ac_cv_prog_gcc_traditional=yes |
| 4989 |
else |
| 4990 |
ac_cv_prog_gcc_traditional=no |
| 4991 |
fi |
| 4992 |
rm -f conftest* |
| 4993 |
|
| 4994 |
|
| 4995 |
if test $ac_cv_prog_gcc_traditional = no; then |
| 4996 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4997 |
/* end confdefs.h. */ |
| 4998 |
#include <termio.h> |
| 4999 |
Autoconf TCGETA |
| 5000 |
_ACEOF |
| 5001 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5002 |
$EGREP "$ac_pattern" >/dev/null 2>&1; then : |
| 5003 |
ac_cv_prog_gcc_traditional=yes |
| 5004 |
fi |
| 5005 |
rm -f conftest* |
| 5006 |
|
| 5007 |
fi |
| 5008 |
fi |
| 5009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
| 5010 |
$as_echo "$ac_cv_prog_gcc_traditional" >&6; } |
| 5011 |
if test $ac_cv_prog_gcc_traditional = yes; then |
| 5012 |
CC="$CC -traditional" |
| 5013 |
fi |
| 5014 |
fi |
| 5015 |
|
| 5016 |
for ac_func in vprintf |
| 5017 |
do : |
| 5018 |
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" |
| 5019 |
if test "x$ac_cv_func_vprintf" = xyes; then : |
| 5020 |
cat >>confdefs.h <<_ACEOF |
| 5021 |
@%:@define HAVE_VPRINTF 1 |
| 5022 |
_ACEOF |
| 5023 |
|
| 5024 |
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" |
| 5025 |
if test "x$ac_cv_func__doprnt" = xyes; then : |
| 5026 |
|
| 5027 |
$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h |
| 5028 |
|
| 5029 |
fi |
| 5030 |
|
| 5031 |
fi |
| 5032 |
done |
| 5033 |
|
| 5034 |
|
| 5035 |
for ac_func in mkdir strchr strrchr strspn strstr strtol |
| 5036 |
do : |
| 5037 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5038 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 5039 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 5040 |
cat >>confdefs.h <<_ACEOF |
| 5041 |
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5042 |
_ACEOF |
| 5043 |
|
| 5044 |
fi |
| 5045 |
done |
| 5046 |
|
| 5047 |
for ac_func in getenv setenv |
| 5048 |
do : |
| 5049 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5050 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 5051 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 5052 |
cat >>confdefs.h <<_ACEOF |
| 5053 |
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5054 |
_ACEOF |
| 5055 |
|
| 5056 |
fi |
| 5057 |
done |
| 5058 |
|
| 5059 |
for ac_func in sin cos tan |
| 5060 |
do : |
| 5061 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5062 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 5063 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 5064 |
cat >>confdefs.h <<_ACEOF |
| 5065 |
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5066 |
_ACEOF |
| 5067 |
|
| 5068 |
fi |
| 5069 |
done |
| 5070 |
|
| 5071 |
for ac_func in getopt_long getopt |
| 5072 |
do : |
| 5073 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5074 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 5075 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 5076 |
cat >>confdefs.h <<_ACEOF |
| 5077 |
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 5078 |
_ACEOF |
| 5079 |
|
| 5080 |
fi |
| 5081 |
done |
| 5082 |
|
| 5083 |
|
| 5084 |
# End |
| 5085 |
|
| 5086 |
ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile" |
| 5087 |
|
| 5088 |
cat >confcache <<\_ACEOF |
| 5089 |
# This file is a shell script that caches the results of configure |
| 5090 |
# tests run on this system so they can be shared between configure |
| 5091 |
# scripts and configure runs, see configure's option --config-cache. |
| 5092 |
# It is not useful on other systems. If it contains results you don't |
| 5093 |
# want to keep, you may remove or edit it. |
| 5094 |
# |
| 5095 |
# config.status only pays attention to the cache file if you give it |
| 5096 |
# the --recheck option to rerun configure. |
| 5097 |
# |
| 5098 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 5099 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 5100 |
# following values. |
| 5101 |
|
| 5102 |
_ACEOF |
| 5103 |
|
| 5104 |
# The following way of writing the cache mishandles newlines in values, |
| 5105 |
# but we know of no workaround that is simple, portable, and efficient. |
| 5106 |
# So, we kill variables containing newlines. |
| 5107 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 5108 |
# and sets the high bit in the cache file unless we assign to the vars. |
| 5109 |
( |
| 5110 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 5111 |
eval ac_val=\$$ac_var |
| 5112 |
case $ac_val in #( |
| 5113 |
*${as_nl}*) |
| 5114 |
case $ac_var in #( |
| 5115 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 5116 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 5117 |
esac |
| 5118 |
case $ac_var in #( |
| 5119 |
_ | IFS | as_nl) ;; #( |
| 5120 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 5121 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 5122 |
esac ;; |
| 5123 |
esac |
| 5124 |
done |
| 5125 |
|
| 5126 |
(set) 2>&1 | |
| 5127 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 5128 |
*${as_nl}ac_space=\ *) |
| 5129 |
# `set' does not quote correctly, so add quotes: double-quote |
| 5130 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
| 5131 |
sed -n \ |
| 5132 |
"s/'/'\\\\''/g; |
| 5133 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 5134 |
;; #( |
| 5135 |
*) |
| 5136 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 5137 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 5138 |
;; |
| 5139 |
esac | |
| 5140 |
sort |
| 5141 |
) | |
| 5142 |
sed ' |
| 5143 |
/^ac_cv_env_/b end |
| 5144 |
t clear |
| 5145 |
:clear |
| 5146 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 5147 |
t end |
| 5148 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 5149 |
:end' >>confcache |
| 5150 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 5151 |
if test -w "$cache_file"; then |
| 5152 |
if test "x$cache_file" != "x/dev/null"; then |
| 5153 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 5154 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 5155 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 5156 |
cat confcache >"$cache_file" |
| 5157 |
else |
| 5158 |
case $cache_file in #( |
| 5159 |
*/* | ?:*) |
| 5160 |
mv -f confcache "$cache_file"$$ && |
| 5161 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 5162 |
*) |
| 5163 |
mv -f confcache "$cache_file" ;; |
| 5164 |
esac |
| 5165 |
fi |
| 5166 |
fi |
| 5167 |
else |
| 5168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 5169 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 5170 |
fi |
| 5171 |
fi |
| 5172 |
rm -f confcache |
| 5173 |
|
| 5174 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 5175 |
# Let make expand exec_prefix. |
| 5176 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 5177 |
|
| 5178 |
DEFS=-DHAVE_CONFIG_H |
| 5179 |
|
| 5180 |
ac_libobjs= |
| 5181 |
ac_ltlibobjs= |
| 5182 |
U= |
| 5183 |
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
| 5184 |
# 1. Remove the extension, and $U if already installed. |
| 5185 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 5186 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 5187 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 5188 |
# will be set to the directory where LIBOBJS objects are built. |
| 5189 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 5190 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 5191 |
done |
| 5192 |
LIB@&t@OBJS=$ac_libobjs |
| 5193 |
|
| 5194 |
LTLIBOBJS=$ac_ltlibobjs |
| 5195 |
|
| 5196 |
|
| 5197 |
if test -n "$EXEEXT"; then |
| 5198 |
am__EXEEXT_TRUE= |
| 5199 |
am__EXEEXT_FALSE='#' |
| 5200 |
else |
| 5201 |
am__EXEEXT_TRUE='#' |
| 5202 |
am__EXEEXT_FALSE= |
| 5203 |
fi |
| 5204 |
|
| 5205 |
if test -z "${CHK_DEBUG_TRUE}" && test -z "${CHK_DEBUG_FALSE}"; then |
| 5206 |
as_fn_error $? "conditional \"CHK_DEBUG\" was never defined. |
| 5207 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 5208 |
fi |
| 5209 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 5210 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 5211 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 5212 |
fi |
| 5213 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 5214 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 5215 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 5216 |
fi |
| 5217 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| 5218 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
| 5219 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 5220 |
fi |
| 5221 |
|
| 5222 |
: "${CONFIG_STATUS=./config.status}" |
| 5223 |
ac_write_fail=0 |
| 5224 |
ac_clean_files_save=$ac_clean_files |
| 5225 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 5226 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 5227 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 5228 |
as_write_fail=0 |
| 5229 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 5230 |
#! $SHELL |
| 5231 |
# Generated by $as_me. |
| 5232 |
# Run this file to recreate the current configuration. |
| 5233 |
# Compiler output produced by configure, useful for debugging |
| 5234 |
# configure, is in config.log if it exists. |
| 5235 |
|
| 5236 |
debug=false |
| 5237 |
ac_cs_recheck=false |
| 5238 |
ac_cs_silent=false |
| 5239 |
|
| 5240 |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 5241 |
export SHELL |
| 5242 |
_ASEOF |
| 5243 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 5244 |
## -------------------- ## |
| 5245 |
## M4sh Initialization. ## |
| 5246 |
## -------------------- ## |
| 5247 |
|
| 5248 |
# Be more Bourne compatible |
| 5249 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 5250 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 5251 |
emulate sh |
| 5252 |
NULLCMD=: |
| 5253 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 5254 |
# is contrary to our usage. Disable this feature. |
| 5255 |
alias -g '${1+"$@"}'='"$@"' |
| 5256 |
setopt NO_GLOB_SUBST |
| 5257 |
else |
| 5258 |
case `(set -o) 2>/dev/null` in @%:@( |
| 5259 |
*posix*) : |
| 5260 |
set -o posix ;; @%:@( |
| 5261 |
*) : |
| 5262 |
;; |
| 5263 |
esac |
| 5264 |
fi |
| 5265 |
|
| 5266 |
|
| 5267 |
as_nl=' |
| 5268 |
' |
| 5269 |
export as_nl |
| 5270 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 5271 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 5272 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 5273 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 5274 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 5275 |
# but without wasting forks for bash or zsh. |
| 5276 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 5277 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 5278 |
as_echo='print -r --' |
| 5279 |
as_echo_n='print -rn --' |
| 5280 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 5281 |
as_echo='printf %s\n' |
| 5282 |
as_echo_n='printf %s' |
| 5283 |
else |
| 5284 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 5285 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 5286 |
as_echo_n='/usr/ucb/echo -n' |
| 5287 |
else |
| 5288 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 5289 |
as_echo_n_body='eval |
| 5290 |
arg=$1; |
| 5291 |
case $arg in @%:@( |
| 5292 |
*"$as_nl"*) |
| 5293 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 5294 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 5295 |
esac; |
| 5296 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 5297 |
' |
| 5298 |
export as_echo_n_body |
| 5299 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 5300 |
fi |
| 5301 |
export as_echo_body |
| 5302 |
as_echo='sh -c $as_echo_body as_echo' |
| 5303 |
fi |
| 5304 |
|
| 5305 |
# The user is always right. |
| 5306 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 5307 |
PATH_SEPARATOR=: |
| 5308 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 5309 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 5310 |
PATH_SEPARATOR=';' |
| 5311 |
} |
| 5312 |
fi |
| 5313 |
|
| 5314 |
|
| 5315 |
# IFS |
| 5316 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 5317 |
# there to prevent editors from complaining about space-tab. |
| 5318 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 5319 |
# splitting by setting IFS to empty value.) |
| 5320 |
IFS=" "" $as_nl" |
| 5321 |
|
| 5322 |
# Find who we are. Look in the path if we contain no directory separator. |
| 5323 |
as_myself= |
| 5324 |
case $0 in @%:@(( |
| 5325 |
*[\\/]* ) as_myself=$0 ;; |
| 5326 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5327 |
for as_dir in $PATH |
| 5328 |
do |
| 5329 |
IFS=$as_save_IFS |
| 5330 |
test -z "$as_dir" && as_dir=. |
| 5331 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 5332 |
done |
| 5333 |
IFS=$as_save_IFS |
| 5334 |
|
| 5335 |
;; |
| 5336 |
esac |
| 5337 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 5338 |
# in which case we are not to be found in the path. |
| 5339 |
if test "x$as_myself" = x; then |
| 5340 |
as_myself=$0 |
| 5341 |
fi |
| 5342 |
if test ! -f "$as_myself"; then |
| 5343 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 5344 |
exit 1 |
| 5345 |
fi |
| 5346 |
|
| 5347 |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 5348 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 5349 |
# suppresses any "Segmentation fault" message there. '((' could |
| 5350 |
# trigger a bug in pdksh 5.2.14. |
| 5351 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 5352 |
do eval test x\${$as_var+set} = xset \ |
| 5353 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 5354 |
done |
| 5355 |
PS1='$ ' |
| 5356 |
PS2='> ' |
| 5357 |
PS4='+ ' |
| 5358 |
|
| 5359 |
# NLS nuisances. |
| 5360 |
LC_ALL=C |
| 5361 |
export LC_ALL |
| 5362 |
LANGUAGE=C |
| 5363 |
export LANGUAGE |
| 5364 |
|
| 5365 |
# CDPATH. |
| 5366 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 5367 |
|
| 5368 |
|
| 5369 |
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 5370 |
@%:@ ---------------------------------------- |
| 5371 |
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 5372 |
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 5373 |
@%:@ script with STATUS, using 1 if that was 0. |
| 5374 |
as_fn_error () |
| 5375 |
{ |
| 5376 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 5377 |
if test "$4"; then |
| 5378 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 5379 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 5380 |
fi |
| 5381 |
$as_echo "$as_me: error: $2" >&2 |
| 5382 |
as_fn_exit $as_status |
| 5383 |
} @%:@ as_fn_error |
| 5384 |
|
| 5385 |
|
| 5386 |
@%:@ as_fn_set_status STATUS |
| 5387 |
@%:@ ----------------------- |
| 5388 |
@%:@ Set @S|@? to STATUS, without forking. |
| 5389 |
as_fn_set_status () |
| 5390 |
{ |
| 5391 |
return $1 |
| 5392 |
} @%:@ as_fn_set_status |
| 5393 |
|
| 5394 |
@%:@ as_fn_exit STATUS |
| 5395 |
@%:@ ----------------- |
| 5396 |
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 5397 |
as_fn_exit () |
| 5398 |
{ |
| 5399 |
set +e |
| 5400 |
as_fn_set_status $1 |
| 5401 |
exit $1 |
| 5402 |
} @%:@ as_fn_exit |
| 5403 |
|
| 5404 |
@%:@ as_fn_unset VAR |
| 5405 |
@%:@ --------------- |
| 5406 |
@%:@ Portably unset VAR. |
| 5407 |
as_fn_unset () |
| 5408 |
{ |
| 5409 |
{ eval $1=; unset $1;} |
| 5410 |
} |
| 5411 |
as_unset=as_fn_unset |
| 5412 |
@%:@ as_fn_append VAR VALUE |
| 5413 |
@%:@ ---------------------- |
| 5414 |
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
| 5415 |
@%:@ advantage of any shell optimizations that allow amortized linear growth over |
| 5416 |
@%:@ repeated appends, instead of the typical quadratic growth present in naive |
| 5417 |
@%:@ implementations. |
| 5418 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 5419 |
eval 'as_fn_append () |
| 5420 |
{ |
| 5421 |
eval $1+=\$2 |
| 5422 |
}' |
| 5423 |
else |
| 5424 |
as_fn_append () |
| 5425 |
{ |
| 5426 |
eval $1=\$$1\$2 |
| 5427 |
} |
| 5428 |
fi # as_fn_append |
| 5429 |
|
| 5430 |
@%:@ as_fn_arith ARG... |
| 5431 |
@%:@ ------------------ |
| 5432 |
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
| 5433 |
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
| 5434 |
@%:@ must be portable across @S|@(()) and expr. |
| 5435 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 5436 |
eval 'as_fn_arith () |
| 5437 |
{ |
| 5438 |
as_val=$(( $* )) |
| 5439 |
}' |
| 5440 |
else |
| 5441 |
as_fn_arith () |
| 5442 |
{ |
| 5443 |
as_val=`expr "$@" || test $? -eq 1` |
| 5444 |
} |
| 5445 |
fi # as_fn_arith |
| 5446 |
|
| 5447 |
|
| 5448 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 5449 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 5450 |
as_expr=expr |
| 5451 |
else |
| 5452 |
as_expr=false |
| 5453 |
fi |
| 5454 |
|
| 5455 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 5456 |
as_basename=basename |
| 5457 |
else |
| 5458 |
as_basename=false |
| 5459 |
fi |
| 5460 |
|
| 5461 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 5462 |
as_dirname=dirname |
| 5463 |
else |
| 5464 |
as_dirname=false |
| 5465 |
fi |
| 5466 |
|
| 5467 |
as_me=`$as_basename -- "$0" || |
| 5468 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 5469 |
X"$0" : 'X\(//\)$' \| \ |
| 5470 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 5471 |
$as_echo X/"$0" | |
| 5472 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 5473 |
s//\1/ |
| 5474 |
q |
| 5475 |
} |
| 5476 |
/^X\/\(\/\/\)$/{ |
| 5477 |
s//\1/ |
| 5478 |
q |
| 5479 |
} |
| 5480 |
/^X\/\(\/\).*/{ |
| 5481 |
s//\1/ |
| 5482 |
q |
| 5483 |
} |
| 5484 |
s/.*/./; q'` |
| 5485 |
|
| 5486 |
# Avoid depending upon Character Ranges. |
| 5487 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 5488 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 5489 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 5490 |
as_cr_digits='0123456789' |
| 5491 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 5492 |
|
| 5493 |
ECHO_C= ECHO_N= ECHO_T= |
| 5494 |
case `echo -n x` in @%:@((((( |
| 5495 |
-n*) |
| 5496 |
case `echo 'xy\c'` in |
| 5497 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 5498 |
xy) ECHO_C='\c';; |
| 5499 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 5500 |
ECHO_T=' ';; |
| 5501 |
esac;; |
| 5502 |
*) |
| 5503 |
ECHO_N='-n';; |
| 5504 |
esac |
| 5505 |
|
| 5506 |
rm -f conf$$ conf$$.exe conf$$.file |
| 5507 |
if test -d conf$$.dir; then |
| 5508 |
rm -f conf$$.dir/conf$$.file |
| 5509 |
else |
| 5510 |
rm -f conf$$.dir |
| 5511 |
mkdir conf$$.dir 2>/dev/null |
| 5512 |
fi |
| 5513 |
if (echo >conf$$.file) 2>/dev/null; then |
| 5514 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 5515 |
as_ln_s='ln -s' |
| 5516 |
# ... but there are two gotchas: |
| 5517 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 5518 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 5519 |
# In both cases, we have to default to `cp -pR'. |
| 5520 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 5521 |
as_ln_s='cp -pR' |
| 5522 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 5523 |
as_ln_s=ln |
| 5524 |
else |
| 5525 |
as_ln_s='cp -pR' |
| 5526 |
fi |
| 5527 |
else |
| 5528 |
as_ln_s='cp -pR' |
| 5529 |
fi |
| 5530 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 5531 |
rmdir conf$$.dir 2>/dev/null |
| 5532 |
|
| 5533 |
|
| 5534 |
@%:@ as_fn_mkdir_p |
| 5535 |
@%:@ ------------- |
| 5536 |
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
| 5537 |
as_fn_mkdir_p () |
| 5538 |
{ |
| 5539 |
|
| 5540 |
case $as_dir in #( |
| 5541 |
-*) as_dir=./$as_dir;; |
| 5542 |
esac |
| 5543 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 5544 |
as_dirs= |
| 5545 |
while :; do |
| 5546 |
case $as_dir in #( |
| 5547 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 5548 |
*) as_qdir=$as_dir;; |
| 5549 |
esac |
| 5550 |
as_dirs="'$as_qdir' $as_dirs" |
| 5551 |
as_dir=`$as_dirname -- "$as_dir" || |
| 5552 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 5553 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 5554 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 5555 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 5556 |
$as_echo X"$as_dir" | |
| 5557 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 5558 |
s//\1/ |
| 5559 |
q |
| 5560 |
} |
| 5561 |
/^X\(\/\/\)[^/].*/{ |
| 5562 |
s//\1/ |
| 5563 |
q |
| 5564 |
} |
| 5565 |
/^X\(\/\/\)$/{ |
| 5566 |
s//\1/ |
| 5567 |
q |
| 5568 |
} |
| 5569 |
/^X\(\/\).*/{ |
| 5570 |
s//\1/ |
| 5571 |
q |
| 5572 |
} |
| 5573 |
s/.*/./; q'` |
| 5574 |
test -d "$as_dir" && break |
| 5575 |
done |
| 5576 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 5577 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 5578 |
|
| 5579 |
|
| 5580 |
} @%:@ as_fn_mkdir_p |
| 5581 |
if mkdir -p . 2>/dev/null; then |
| 5582 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 5583 |
else |
| 5584 |
test -d ./-p && rmdir ./-p |
| 5585 |
as_mkdir_p=false |
| 5586 |
fi |
| 5587 |
|
| 5588 |
|
| 5589 |
@%:@ as_fn_executable_p FILE |
| 5590 |
@%:@ ----------------------- |
| 5591 |
@%:@ Test if FILE is an executable regular file. |
| 5592 |
as_fn_executable_p () |
| 5593 |
{ |
| 5594 |
test -f "$1" && test -x "$1" |
| 5595 |
} @%:@ as_fn_executable_p |
| 5596 |
as_test_x='test -x' |
| 5597 |
as_executable_p=as_fn_executable_p |
| 5598 |
|
| 5599 |
# Sed expression to map a string onto a valid CPP name. |
| 5600 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 5601 |
|
| 5602 |
# Sed expression to map a string onto a valid variable name. |
| 5603 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 5604 |
|
| 5605 |
|
| 5606 |
exec 6>&1 |
| 5607 |
## ----------------------------------- ## |
| 5608 |
## Main body of $CONFIG_STATUS script. ## |
| 5609 |
## ----------------------------------- ## |
| 5610 |
_ASEOF |
| 5611 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 5612 |
|
| 5613 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5614 |
# Save the log message, to keep $0 and so on meaningful, and to |
| 5615 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 5616 |
# values after options handling. |
| 5617 |
ac_log=" |
| 5618 |
This file was extended by star-snow-notes $as_me 1.0.0, which was |
| 5619 |
generated by GNU Autoconf 2.69. Invocation command line was |
| 5620 |
|
| 5621 |
CONFIG_FILES = $CONFIG_FILES |
| 5622 |
CONFIG_HEADERS = $CONFIG_HEADERS |
| 5623 |
CONFIG_LINKS = $CONFIG_LINKS |
| 5624 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 5625 |
$ $0 $@ |
| 5626 |
|
| 5627 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 5628 |
" |
| 5629 |
|
| 5630 |
_ACEOF |
| 5631 |
|
| 5632 |
case $ac_config_files in *" |
| 5633 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 5634 |
esac |
| 5635 |
|
| 5636 |
case $ac_config_headers in *" |
| 5637 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 5638 |
esac |
| 5639 |
|
| 5640 |
|
| 5641 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 5642 |
# Files that config.status was made for. |
| 5643 |
config_files="$ac_config_files" |
| 5644 |
config_headers="$ac_config_headers" |
| 5645 |
config_commands="$ac_config_commands" |
| 5646 |
|
| 5647 |
_ACEOF |
| 5648 |
|
| 5649 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 5650 |
ac_cs_usage="\ |
| 5651 |
\`$as_me' instantiates files
| |