| 1 |
#! /bin/sh |
| 2 |
# Generated by configure. |
| 3 |
# Run this file to recreate the current configuration. |
| 4 |
# Compiler output produced by configure, useful for debugging |
| 5 |
# configure, is in config.log if it exists. |
| 6 |
|
| 7 |
debug=false |
| 8 |
ac_cs_recheck=false |
| 9 |
ac_cs_silent=false |
| 10 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 11 |
## --------------------- ## |
| 12 |
## M4sh Initialization. ## |
| 13 |
## --------------------- ## |
| 14 |
|
| 15 |
# Be more Bourne compatible |
| 16 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 17 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 18 |
emulate sh |
| 19 |
NULLCMD=: |
| 20 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 21 |
# is contrary to our usage. Disable this feature. |
| 22 |
alias -g '${1+"$@"}'='"$@"' |
| 23 |
setopt NO_GLOB_SUBST |
| 24 |
else |
| 25 |
case `(set -o) 2>/dev/null` in |
| 26 |
*posix*) set -o posix ;; |
| 27 |
esac |
| 28 |
|
| 29 |
fi |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
# PATH needs CR |
| 35 |
# Avoid depending upon Character Ranges. |
| 36 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 37 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 38 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 39 |
as_cr_digits='0123456789' |
| 40 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 41 |
|
| 42 |
as_nl=' |
| 43 |
' |
| 44 |
export as_nl |
| 45 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 46 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 47 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 48 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 49 |
if (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 |
# Support unset when possible. |
| 84 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 85 |
as_unset=unset |
| 86 |
else |
| 87 |
as_unset=false |
| 88 |
fi |
| 89 |
|
| 90 |
|
| 91 |
# IFS |
| 92 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 93 |
# there to prevent editors from complaining about space-tab. |
| 94 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 95 |
# splitting by setting IFS to empty value.) |
| 96 |
IFS=" "" $as_nl" |
| 97 |
|
| 98 |
# Find who we are. Look in the path if we contain no directory separator. |
| 99 |
case $0 in |
| 100 |
*[\\/]* ) as_myself=$0 ;; |
| 101 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 102 |
for as_dir in $PATH |
| 103 |
do |
| 104 |
IFS=$as_save_IFS |
| 105 |
test -z "$as_dir" && as_dir=. |
| 106 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 107 |
done |
| 108 |
IFS=$as_save_IFS |
| 109 |
|
| 110 |
;; |
| 111 |
esac |
| 112 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 113 |
# in which case we are not to be found in the path. |
| 114 |
if test "x$as_myself" = x; then |
| 115 |
as_myself=$0 |
| 116 |
fi |
| 117 |
if test ! -f "$as_myself"; then |
| 118 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 119 |
{ (exit 1); exit 1; } |
| 120 |
fi |
| 121 |
|
| 122 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 123 |
for as_var in ENV MAIL MAILPATH |
| 124 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 125 |
done |
| 126 |
PS1='$ ' |
| 127 |
PS2='> ' |
| 128 |
PS4='+ ' |
| 129 |
|
| 130 |
# NLS nuisances. |
| 131 |
LC_ALL=C |
| 132 |
export LC_ALL |
| 133 |
LANGUAGE=C |
| 134 |
export LANGUAGE |
| 135 |
|
| 136 |
# Required to use basename. |
| 137 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 138 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 139 |
as_expr=expr |
| 140 |
else |
| 141 |
as_expr=false |
| 142 |
fi |
| 143 |
|
| 144 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 145 |
as_basename=basename |
| 146 |
else |
| 147 |
as_basename=false |
| 148 |
fi |
| 149 |
|
| 150 |
|
| 151 |
# Name of the executable. |
| 152 |
as_me=`$as_basename -- "$0" || |
| 153 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 154 |
X"$0" : 'X\(//\)$' \| \ |
| 155 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 156 |
$as_echo X/"$0" | |
| 157 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 158 |
s//\1/ |
| 159 |
q |
| 160 |
} |
| 161 |
/^X\/\(\/\/\)$/{ |
| 162 |
s//\1/ |
| 163 |
q |
| 164 |
} |
| 165 |
/^X\/\(\/\).*/{ |
| 166 |
s//\1/ |
| 167 |
q |
| 168 |
} |
| 169 |
s/.*/./; q'` |
| 170 |
|
| 171 |
# CDPATH. |
| 172 |
$as_unset CDPATH |
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
as_lineno_1=176 |
| 177 |
as_lineno_2=177 |
| 178 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 179 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 180 |
|
| 181 |
# Create $as_me.lineno as a copy of $as_myself, but with 181 |
| 182 |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 183 |
# line-number line after each line using 183; the second 'sed' |
| 184 |
# does the real work. The second script uses 'N' to pair each |
| 185 |
# line-number line with the line containing 185, and appends |
| 186 |
# trailing '-' during substitution so that 186 is not a special |
| 187 |
# case at line end. |
| 188 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 189 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 190 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 191 |
sed -n ' |
| 192 |
p |
| 193 |
/[$]LINENO/= |
| 194 |
' <$as_myself | |
| 195 |
sed ' |
| 196 |
s/[$]LINENO.*/&-/ |
| 197 |
t lineno |
| 198 |
b |
| 199 |
:lineno |
| 200 |
N |
| 201 |
:loop |
| 202 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 203 |
t loop |
| 204 |
s/-\n.*// |
| 205 |
' >$as_me.lineno && |
| 206 |
chmod +x "$as_me.lineno" || |
| 207 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 208 |
{ (exit 1); exit 1; }; } |
| 209 |
|
| 210 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 211 |
# (the dirname of $[0] is not the place where we might find the |
| 212 |
# original and so on. Autoconf is especially sensitive to this). |
| 213 |
. "./$as_me.lineno" |
| 214 |
# Exit status is that of the last command. |
| 215 |
exit |
| 216 |
} |
| 217 |
|
| 218 |
|
| 219 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 220 |
as_dirname=dirname |
| 221 |
else |
| 222 |
as_dirname=false |
| 223 |
fi |
| 224 |
|
| 225 |
ECHO_C= ECHO_N= ECHO_T= |
| 226 |
case `echo -n x` in |
| 227 |
-n*) |
| 228 |
case `echo 'x\c'` in |
| 229 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 230 |
*) ECHO_C='\c';; |
| 231 |
esac;; |
| 232 |
*) |
| 233 |
ECHO_N='-n';; |
| 234 |
esac |
| 235 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 236 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 237 |
as_expr=expr |
| 238 |
else |
| 239 |
as_expr=false |
| 240 |
fi |
| 241 |
|
| 242 |
rm -f conf$$ conf$$.exe conf$$.file |
| 243 |
if test -d conf$$.dir; then |
| 244 |
rm -f conf$$.dir/conf$$.file |
| 245 |
else |
| 246 |
rm -f conf$$.dir |
| 247 |
mkdir conf$$.dir 2>/dev/null |
| 248 |
fi |
| 249 |
if (echo >conf$$.file) 2>/dev/null; then |
| 250 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 251 |
as_ln_s='ln -s' |
| 252 |
# ... but there are two gotchas: |
| 253 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 254 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 255 |
# In both cases, we have to default to `cp -p'. |
| 256 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 257 |
as_ln_s='cp -p' |
| 258 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 259 |
as_ln_s=ln |
| 260 |
else |
| 261 |
as_ln_s='cp -p' |
| 262 |
fi |
| 263 |
else |
| 264 |
as_ln_s='cp -p' |
| 265 |
fi |
| 266 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 267 |
rmdir conf$$.dir 2>/dev/null |
| 268 |
|
| 269 |
if mkdir -p . 2>/dev/null; then |
| 270 |
as_mkdir_p=: |
| 271 |
else |
| 272 |
test -d ./-p && rmdir ./-p |
| 273 |
as_mkdir_p=false |
| 274 |
fi |
| 275 |
|
| 276 |
if test -x / >/dev/null 2>&1; then |
| 277 |
as_test_x='test -x' |
| 278 |
else |
| 279 |
if ls -dL / >/dev/null 2>&1; then |
| 280 |
as_ls_L_option=L |
| 281 |
else |
| 282 |
as_ls_L_option= |
| 283 |
fi |
| 284 |
as_test_x=' |
| 285 |
eval sh -c '\'' |
| 286 |
if test -d "$1"; then |
| 287 |
test -d "$1/."; |
| 288 |
else |
| 289 |
case $1 in |
| 290 |
-*)set "./$1";; |
| 291 |
esac; |
| 292 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 293 |
???[sx]*):;;*)false;;esac;fi |
| 294 |
'\'' sh |
| 295 |
' |
| 296 |
fi |
| 297 |
as_executable_p=$as_test_x |
| 298 |
|
| 299 |
# Sed expression to map a string onto a valid CPP name. |
| 300 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 301 |
|
| 302 |
# Sed expression to map a string onto a valid variable name. |
| 303 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 304 |
|
| 305 |
|
| 306 |
exec 6>&1 |
| 307 |
|
| 308 |
# Save the log message, to keep $[0] and so on meaningful, and to |
| 309 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 310 |
# values after options handling. |
| 311 |
ac_log=" |
| 312 |
This file was extended by star-snow-notes $as_me 1.0.0, which was |
| 313 |
generated by GNU Autoconf 2.63. Invocation command line was |
| 314 |
|
| 315 |
CONFIG_FILES = $CONFIG_FILES |
| 316 |
CONFIG_HEADERS = $CONFIG_HEADERS |
| 317 |
CONFIG_LINKS = $CONFIG_LINKS |
| 318 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 319 |
$ $0 $@ |
| 320 |
|
| 321 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 322 |
" |
| 323 |
|
| 324 |
# Files that config.status was made for. |
| 325 |
config_files=" Makefile man/Makefile src/Makefile" |
| 326 |
config_headers=" src/config.h" |
| 327 |
config_commands=" depfiles" |
| 328 |
|
| 329 |
ac_cs_usage="\ |
| 330 |
\`$as_me' instantiates files from templates according to the |
| 331 |
current configuration. |
| 332 |
|
| 333 |
Usage: $0 [OPTION]... [FILE]... |
| 334 |
|
| 335 |
-h, --help print this help, then exit |
| 336 |
-V, --version print version number and configuration settings, then exit |
| 337 |
-q, --quiet, --silent |
| 338 |
do not print progress messages |
| 339 |
-d, --debug don't remove temporary files |
| 340 |
--recheck update $as_me by reconfiguring in the same conditions |
| 341 |
--file=FILE[:TEMPLATE] |
| 342 |
instantiate the configuration file FILE |
| 343 |
--header=FILE[:TEMPLATE] |
| 344 |
instantiate the configuration header FILE |
| 345 |
|
| 346 |
Configuration files: |
| 347 |
$config_files |
| 348 |
|
| 349 |
Configuration headers: |
| 350 |
$config_headers |
| 351 |
|
| 352 |
Configuration commands: |
| 353 |
$config_commands |
| 354 |
|
| 355 |
Report bugs to <bug-autoconf@gnu.org>." |
| 356 |
|
| 357 |
ac_cs_version="\ |
| 358 |
star-snow-notes config.status 1.0.0 |
| 359 |
configured by ./configure, generated by GNU Autoconf 2.63, |
| 360 |
with options \"\" |
| 361 |
|
| 362 |
Copyright (C) 2008 Free Software Foundation, Inc. |
| 363 |
This config.status script is free software; the Free Software Foundation |
| 364 |
gives unlimited permission to copy, distribute and modify it." |
| 365 |
|
| 366 |
ac_pwd='/home/dud/src/star-snow-notes/star-snow-notes' |
| 367 |
srcdir='.' |
| 368 |
INSTALL='/usr/bin/install -c' |
| 369 |
MKDIR_P='/bin/mkdir -p' |
| 370 |
AWK='gawk' |
| 371 |
test -n "$AWK" || AWK=awk |
| 372 |
# The default lists apply if the user does not specify any file. |
| 373 |
ac_need_defaults=: |
| 374 |
while test $# != 0 |
| 375 |
do |
| 376 |
case $1 in |
| 377 |
--*=*) |
| 378 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 379 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 380 |
ac_shift=: |
| 381 |
;; |
| 382 |
*) |
| 383 |
ac_option=$1 |
| 384 |
ac_optarg=$2 |
| 385 |
ac_shift=shift |
| 386 |
;; |
| 387 |
esac |
| 388 |
|
| 389 |
case $ac_option in |
| 390 |
# Handling of the options. |
| 391 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 392 |
ac_cs_recheck=: ;; |
| 393 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 394 |
$as_echo "$ac_cs_version"; exit ;; |
| 395 |
--debug | --debu | --deb | --de | --d | -d ) |
| 396 |
debug=: ;; |
| 397 |
--file | --fil | --fi | --f ) |
| 398 |
$ac_shift |
| 399 |
case $ac_optarg in |
| 400 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 401 |
esac |
| 402 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| 403 |
ac_need_defaults=false;; |
| 404 |
--header | --heade | --head | --hea ) |
| 405 |
$ac_shift |
| 406 |
case $ac_optarg in |
| 407 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 408 |
esac |
| 409 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
| 410 |
ac_need_defaults=false;; |
| 411 |
--he | --h) |
| 412 |
# Conflict between --help and --header |
| 413 |
{ $as_echo "$as_me: error: ambiguous option: $1 |
| 414 |
Try \`$0 --help' for more information." >&2 |
| 415 |
{ (exit 1); exit 1; }; };; |
| 416 |
--help | --hel | -h ) |
| 417 |
$as_echo "$ac_cs_usage"; exit ;; |
| 418 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 419 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 420 |
ac_cs_silent=: ;; |
| 421 |
|
| 422 |
# This is an error. |
| 423 |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
| 424 |
Try \`$0 --help' for more information." >&2 |
| 425 |
{ (exit 1); exit 1; }; } ;; |
| 426 |
|
| 427 |
*) ac_config_targets="$ac_config_targets $1" |
| 428 |
ac_need_defaults=false ;; |
| 429 |
|
| 430 |
esac |
| 431 |
shift |
| 432 |
done |
| 433 |
|
| 434 |
ac_configure_extra_args= |
| 435 |
|
| 436 |
if $ac_cs_silent; then |
| 437 |
exec 6>/dev/null |
| 438 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 439 |
fi |
| 440 |
|
| 441 |
if $ac_cs_recheck; then |
| 442 |
set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion |
| 443 |
shift |
| 444 |
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 |
| 445 |
CONFIG_SHELL='/bin/sh' |
| 446 |
export CONFIG_SHELL |
| 447 |
exec "$@" |
| 448 |
fi |
| 449 |
|
| 450 |
exec 5>>config.log |
| 451 |
{ |
| 452 |
echo |
| 453 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 454 |
## Running $as_me. ## |
| 455 |
_ASBOX |
| 456 |
$as_echo "$ac_log" |
| 457 |
} >&5 |
| 458 |
|
| 459 |
# |
| 460 |
# INIT-COMMANDS |
| 461 |
# |
| 462 |
AMDEP_TRUE="" ac_aux_dir="config" |
| 463 |
|
| 464 |
|
| 465 |
# Handling of arguments. |
| 466 |
for ac_config_target in $ac_config_targets |
| 467 |
do |
| 468 |
case $ac_config_target in |
| 469 |
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
| 470 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 471 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 472 |
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
| 473 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 474 |
|
| 475 |
*) { { $as_echo "$as_me:475: error: invalid argument: $ac_config_target" >&5 |
| 476 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 477 |
{ (exit 1); exit 1; }; };; |
| 478 |
esac |
| 479 |
done |
| 480 |
|
| 481 |
|
| 482 |
# If the user did not use the arguments to specify the items to instantiate, |
| 483 |
# then the envvar interface is used. Set only those that are not. |
| 484 |
# We use the long form for the default assignment because of an extremely |
| 485 |
# bizarre bug on SunOS 4.1.3. |
| 486 |
if $ac_need_defaults; then |
| 487 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 488 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 489 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 490 |
fi |
| 491 |
|
| 492 |
# Have a temporary directory for convenience. Make it in the build tree |
| 493 |
# simply because there is no reason against having it here, and in addition, |
| 494 |
# creating and moving files from /tmp can sometimes cause problems. |
| 495 |
# Hook for its removal unless debugging. |
| 496 |
# Note that there is a small window in which the directory will not be cleaned: |
| 497 |
# after its creation but before its name has been assigned to `$tmp'. |
| 498 |
$debug || |
| 499 |
{ |
| 500 |
tmp= |
| 501 |
trap 'exit_status=$? |
| 502 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 503 |
' 0 |
| 504 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 505 |
} |
| 506 |
# Create a (secure) tmp directory for tmp files. |
| 507 |
|
| 508 |
{ |
| 509 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 510 |
test -n "$tmp" && test -d "$tmp" |
| 511 |
} || |
| 512 |
{ |
| 513 |
tmp=./conf$$-$RANDOM |
| 514 |
(umask 077 && mkdir "$tmp") |
| 515 |
} || |
| 516 |
{ |
| 517 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
| 518 |
{ (exit 1); exit 1; } |
| 519 |
} |
| 520 |
|
| 521 |
# Set up the scripts for CONFIG_FILES section. |
| 522 |
# No need to generate them if there are no CONFIG_FILES. |
| 523 |
# This happens for instance with `./config.status config.h'. |
| 524 |
if test -n "$CONFIG_FILES"; then |
| 525 |
|
| 526 |
|
| 527 |
ac_cr=' |
| 528 |
' |
| 529 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 530 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 531 |
ac_cs_awk_cr='\\r' |
| 532 |
else |
| 533 |
ac_cs_awk_cr=$ac_cr |
| 534 |
fi |
| 535 |
|
| 536 |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
| 537 |
cat >>"$tmp/subs1.awk" <<\_ACAWK && |
| 538 |
S["am__EXEEXT_FALSE"]="" |
| 539 |
S["am__EXEEXT_TRUE"]="#" |
| 540 |
S["LTLIBOBJS"]="" |
| 541 |
S["LIBOBJS"]="" |
| 542 |
S["EGREP"]="/bin/grep -E" |
| 543 |
S["GREP"]="/bin/grep" |
| 544 |
S["CPP"]="gcc -E" |
| 545 |
S["LN_S"]="ln -s" |
| 546 |
S["am__fastdepCXX_FALSE"]="#" |
| 547 |
S["am__fastdepCXX_TRUE"]="" |
| 548 |
S["CXXDEPMODE"]="depmode=gcc3" |
| 549 |
S["ac_ct_CXX"]="g++" |
| 550 |
S["CXXFLAGS"]="-g -O2" |
| 551 |
S["CXX"]="g++" |
| 552 |
S["am__fastdepCC_FALSE"]="#" |
| 553 |
S["am__fastdepCC_TRUE"]="" |
| 554 |
S["CCDEPMODE"]="depmode=gcc3" |
| 555 |
S["AMDEPBACKSLASH"]="\\" |
| 556 |
S["AMDEP_FALSE"]="#" |
| 557 |
S["AMDEP_TRUE"]="" |
| 558 |
S["am__quote"]="" |
| 559 |
S["am__include"]="include" |
| 560 |
S["DEPDIR"]=".deps" |
| 561 |
S["OBJEXT"]="o" |
| 562 |
S["EXEEXT"]="" |
| 563 |
S["ac_ct_CC"]="gcc" |
| 564 |
S["CPPFLAGS"]="" |
| 565 |
S["LDFLAGS"]="" |
| 566 |
S["CFLAGS"]="-g -O2" |
| 567 |
S["CC"]="gcc" |
| 568 |
S["CHK_DEBUG_FALSE"]="" |
| 569 |
S["CHK_DEBUG_TRUE"]="#" |
| 570 |
S["host_os"]="linux-gnu" |
| 571 |
S["host_vendor"]="pc" |
| 572 |
S["host_cpu"]="i686" |
| 573 |
S["host"]="i686-pc-linux-gnu" |
| 574 |
S["build_os"]="linux-gnu" |
| 575 |
S["build_vendor"]="pc" |
| 576 |
S["build_cpu"]="i686" |
| 577 |
S["build"]="i686-pc-linux-gnu" |
| 578 |
S["am__untar"]="${AMTAR} xf -" |
| 579 |
S["am__tar"]="${AMTAR} chof - \"$$tardir\"" |
| 580 |
S["AMTAR"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/missing --run tar" |
| 581 |
S["am__leading_dot"]="." |
| 582 |
S["SET_MAKE"]="" |
| 583 |
S["AWK"]="gawk" |
| 584 |
S["mkdir_p"]="/bin/mkdir -p" |
| 585 |
S["MKDIR_P"]="/bin/mkdir -p" |
| 586 |
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" |
| 587 |
S["STRIP"]="" |
| 588 |
S["install_sh"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/install-sh" |
| 589 |
S["MAKEINFO"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/missing --run makeinfo" |
| 590 |
S["AUTOHEADER"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/missing --run autoheader" |
| 591 |
S["AUTOMAKE"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/missing --run automake-1.11" |
| 592 |
S["AUTOCONF"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/missing --run autoconf" |
| 593 |
S["ACLOCAL"]="${SHELL} /home/dud/src/star-snow-notes/star-snow-notes/config/missing --run aclocal-1.11" |
| 594 |
S["VERSION"]="1.0.0" |
| 595 |
S["PACKAGE"]="star-snow-notes" |
| 596 |
S["CYGPATH_W"]="echo" |
| 597 |
S["am__isrc"]="" |
| 598 |
S["INSTALL_DATA"]="${INSTALL} -m 644" |
| 599 |
S["INSTALL_SCRIPT"]="${INSTALL}" |
| 600 |
S["INSTALL_PROGRAM"]="${INSTALL}" |
| 601 |
S["target_alias"]="" |
| 602 |
S["host_alias"]="" |
| 603 |
S["build_alias"]="" |
| 604 |
S["LIBS"]="-lGL -lSDL_mixer -lSDL -lm " |
| 605 |
S["ECHO_T"]="" |
| 606 |
S["ECHO_N"]="-n" |
| 607 |
S["ECHO_C"]="" |
| 608 |
S["DEFS"]="-DHAVE_CONFIG_H" |
| 609 |
S["mandir"]="${datarootdir}/man" |
| 610 |
S["localedir"]="${datarootdir}/locale" |
| 611 |
S["libdir"]="${exec_prefix}/lib" |
| 612 |
S["psdir"]="${docdir}" |
| 613 |
S["pdfdir"]="${docdir}" |
| 614 |
S["dvidir"]="${docdir}" |
| 615 |
S["htmldir"]="${docdir}" |
| 616 |
S["infodir"]="${datarootdir}/info" |
| 617 |
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" |
| 618 |
S["oldincludedir"]="/usr/include" |
| 619 |
S["includedir"]="${prefix}/include" |
| 620 |
S["localstatedir"]="${prefix}/var" |
| 621 |
S["sharedstatedir"]="${prefix}/com" |
| 622 |
S["sysconfdir"]="${prefix}/etc" |
| 623 |
S["datadir"]="${datarootdir}" |
| 624 |
S["datarootdir"]="${prefix}/share" |
| 625 |
S["libexecdir"]="${exec_prefix}/libexec" |
| 626 |
S["sbindir"]="${exec_prefix}/sbin" |
| 627 |
S["bindir"]="${exec_prefix}/bin" |
| 628 |
S["program_transform_name"]="s,x,x," |
| 629 |
S["prefix"]="/usr/local" |
| 630 |
S["exec_prefix"]="${prefix}" |
| 631 |
S["PACKAGE_BUGREPORT"]="bowkenken@users.sourceforge.jp" |
| 632 |
S["PACKAGE_STRING"]="star-snow-notes 1.0.0" |
| 633 |
S["PACKAGE_VERSION"]="1.0.0" |
| 634 |
S["PACKAGE_TARNAME"]="star-snow-notes" |
| 635 |
S["PACKAGE_NAME"]="star-snow-notes" |
| 636 |
S["PATH_SEPARATOR"]=":" |
| 637 |
S["SHELL"]="/bin/sh" |
| 638 |
_ACAWK |
| 639 |
cat >>"$tmp/subs1.awk" <<_ACAWK && |
| 640 |
for (key in S) S_is_set[key] = 1 |
| 641 |
FS = "" |
| 642 |
|
| 643 |
} |
| 644 |
{ |
| 645 |
line = $ 0 |
| 646 |
nfields = split(line, field, "@") |
| 647 |
substed = 0 |
| 648 |
len = length(field[1]) |
| 649 |
for (i = 2; i < nfields; i++) { |
| 650 |
key = field[i] |
| 651 |
keylen = length(key) |
| 652 |
if (S_is_set[key]) { |
| 653 |
value = S[key] |
| 654 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 655 |
len += length(value) + length(field[++i]) |
| 656 |
substed = 1 |
| 657 |
} else |
| 658 |
len += 1 + keylen |
| 659 |
} |
| 660 |
|
| 661 |
print line |
| 662 |
} |
| 663 |
|
| 664 |
_ACAWK |
| 665 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 666 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 667 |
else |
| 668 |
cat |
| 669 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 670 |
|| { { $as_echo "$as_me:669: error: could not setup config files machinery" >&5 |
| 671 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
| 672 |
{ (exit 1); exit 1; }; } |
| 673 |
fi # test -n "$CONFIG_FILES" |
| 674 |
|
| 675 |
# Set up the scripts for CONFIG_HEADERS section. |
| 676 |
# No need to generate them if there are no CONFIG_HEADERS. |
| 677 |
# This happens for instance with `./config.status Makefile'. |
| 678 |
if test -n "$CONFIG_HEADERS"; then |
| 679 |
cat >"$tmp/defines.awk" <<\_ACAWK || |
| 680 |
BEGIN { |
| 681 |
D["PACKAGE_NAME"]=" \"star-snow-notes\"" |
| 682 |
D["PACKAGE_TARNAME"]=" \"star-snow-notes\"" |
| 683 |
D["PACKAGE_VERSION"]=" \"1.0.0\"" |
| 684 |
D["PACKAGE_STRING"]=" \"star-snow-notes 1.0.0\"" |
| 685 |
D["PACKAGE_BUGREPORT"]=" \"bowkenken@users.sourceforge.jp\"" |
| 686 |
D["PACKAGE"]=" \"star-snow-notes\"" |
| 687 |
D["VERSION"]=" \"1.0.0\"" |
| 688 |
D["HAVE_LIBM"]=" 1" |
| 689 |
D["HAVE_LIBSDL"]=" 1" |
| 690 |
D["HAVE_LIBSDL_MIXER"]=" 1" |
| 691 |
D["HAVE_LIBGL"]=" 1" |
| 692 |
D["STDC_HEADERS"]=" 1" |
| 693 |
D["HAVE_SYS_TYPES_H"]=" 1" |
| 694 |
D["HAVE_SYS_STAT_H"]=" 1" |
| 695 |
D["HAVE_STDLIB_H"]=" 1" |
| 696 |
D["HAVE_STRING_H"]=" 1" |
| 697 |
D["HAVE_MEMORY_H"]=" 1" |
| 698 |
D["HAVE_STRINGS_H"]=" 1" |
| 699 |
D["HAVE_INTTYPES_H"]=" 1" |
| 700 |
D["HAVE_STDINT_H"]=" 1" |
| 701 |
D["HAVE_UNISTD_H"]=" 1" |
| 702 |
D["HAVE_LOCALE_H"]=" 1" |
| 703 |
D["HAVE_STDLIB_H"]=" 1" |
| 704 |
D["HAVE_STDDEF_H"]=" 1" |
| 705 |
D["HAVE_STDIO_H"]=" 1" |
| 706 |
D["HAVE_STDARG_H"]=" 1" |
| 707 |
D["HAVE_LIMITS_H"]=" 1" |
| 708 |
D["HAVE_STRING_H"]=" 1" |
| 709 |
D["HAVE_CTYPE_H"]=" 1" |
| 710 |
D["HAVE_TIME_H"]=" 1" |
| 711 |
D["HAVE_MATH_H"]=" 1" |
| 712 |
D["HAVE_SYS_STAT_H"]=" 1" |
| 713 |
D["HAVE_UNISTD_H"]=" 1" |
| 714 |
D["HAVE_GETOPT_H"]=" 1" |
| 715 |
D["HAVE_SDL_SDL_H"]=" 1" |
| 716 |
D["HAVE_SDL_SDL_OPENGL_H"]=" 1" |
| 717 |
D["HAVE_SDL_SDL_MIXER_H"]=" 1" |
| 718 |
D["HAVE_VPRINTF"]=" 1" |
| 719 |
D["HAVE_MKDIR"]=" 1" |
| 720 |
D["HAVE_STRCHR"]=" 1" |
| 721 |
D["HAVE_STRRCHR"]=" 1" |
| 722 |
D["HAVE_STRSPN"]=" 1" |
| 723 |
D["HAVE_STRSTR"]=" 1" |
| 724 |
D["HAVE_STRTOL"]=" 1" |
| 725 |
D["HAVE_GETENV"]=" 1" |
| 726 |
D["HAVE_SETENV"]=" 1" |
| 727 |
D["HAVE_SIN"]=" 1" |
| 728 |
D["HAVE_COS"]=" 1" |
| 729 |
D["HAVE_TAN"]=" 1" |
| 730 |
D["HAVE_GETOPT_LONG"]=" 1" |
| 731 |
D["HAVE_GETOPT"]=" 1" |
| 732 |
for (key in D) D_is_set[key] = 1 |
| 733 |
FS = "" |
| 734 |
} |
| 735 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { |
| 736 |
line = $ 0 |
| 737 |
split(line, arg, " ") |
| 738 |
if (arg[1] == "#") { |
| 739 |
defundef = arg[2] |
| 740 |
mac1 = arg[3] |
| 741 |
} else { |
| 742 |
defundef = substr(arg[1], 2) |
| 743 |
mac1 = arg[2] |
| 744 |
} |
| 745 |
split(mac1, mac2, "(") #) |
| 746 |
macro = mac2[1] |
| 747 |
prefix = substr(line, 1, index(line, defundef) - 1) |
| 748 |
if (D_is_set[macro]) { |
| 749 |
# Preserve the white space surrounding the "#". |
| 750 |
print prefix "define", macro P[macro] D[macro] |
| 751 |
next |
| 752 |
} else { |
| 753 |
# Replace #undef with comments. This is necessary, for example, |
| 754 |
# in the case of _POSIX_SOURCE, which is predefined and required |
| 755 |
# on some systems where configure will not decide to define it. |
| 756 |
if (defundef == "undef") { |
| 757 |
print "/*", prefix defundef, macro, "*/" |
| 758 |
next |
| 759 |
} |
| 760 |
} |
| 761 |
} |
| 762 |
{ print } |
| 763 |
_ACAWK |
| 764 |
{ { $as_echo "$as_me:763: error: could not setup config headers machinery" >&5 |
| 765 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
| 766 |
{ (exit 1); exit 1; }; } |
| 767 |
fi # test -n "$CONFIG_HEADERS" |
| 768 |
|
| 769 |
|
| 770 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 771 |
shift |
| 772 |
for ac_tag |
| 773 |
do |
| 774 |
case $ac_tag in |
| 775 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
| 776 |
esac |
| 777 |
case $ac_mode$ac_tag in |
| 778 |
:[FHL]*:*);; |
| 779 |
:L* | :C*:*) { { $as_echo "$as_me:778: error: invalid tag $ac_tag" >&5 |
| 780 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
| 781 |
{ (exit 1); exit 1; }; };; |
| 782 |
:[FH]-) ac_tag=-:-;; |
| 783 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 784 |
esac |
| 785 |
ac_save_IFS=$IFS |
| 786 |
IFS=: |
| 787 |
set x $ac_tag |
| 788 |
IFS=$ac_save_IFS |
| 789 |
shift |
| 790 |
ac_file=$1 |
| 791 |
shift |
| 792 |
|
| 793 |
case $ac_mode in |
| 794 |
:L) ac_source=$1;; |
| 795 |
:[FH]) |
| 796 |
ac_file_inputs= |
| 797 |
for ac_f |
| 798 |
do |
| 799 |
case $ac_f in |
| 800 |
-) ac_f="$tmp/stdin";; |
| 801 |
*) # Look for the file first in the build tree, then in the source tree |
| 802 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 803 |
# because $ac_f cannot contain `:'. |
| 804 |
test -f "$ac_f" || |
| 805 |
case $ac_f in |
| 806 |
[\\/$]*) false;; |
| 807 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 808 |
esac || |
| 809 |
{ { $as_echo "$as_me:808: error: cannot find input file: $ac_f" >&5 |
| 810 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 811 |
{ (exit 1); exit 1; }; };; |
| 812 |
esac |
| 813 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 814 |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
| 815 |
done |
| 816 |
|
| 817 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 818 |
# use $as_me), people would be surprised to read: |
| 819 |
# /* config.h. Generated by config.status. */ |
| 820 |
configure_input='Generated from '` |
| 821 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 822 |
`' by configure.' |
| 823 |
if test x"$ac_file" != x-; then |
| 824 |
configure_input="$ac_file. $configure_input" |
| 825 |
{ $as_echo "$as_me:824: creating $ac_file" >&5 |
| 826 |
$as_echo "$as_me: creating $ac_file" >&6;} |
| 827 |
fi |
| 828 |
# Neutralize special characters interpreted by sed in replacement strings. |
| 829 |
case $configure_input in #( |
| 830 |
*\&* | *\|* | *\\* ) |
| 831 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
| 832 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 833 |
*) ac_sed_conf_input=$configure_input;; |
| 834 |
esac |
| 835 |
|
| 836 |
case $ac_tag in |
| 837 |
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 838 |
|| { { $as_echo "$as_me:837: error: could not create $ac_file" >&5 |
| 839 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 840 |
{ (exit 1); exit 1; }; } ;; |
| 841 |
esac |
| 842 |
;; |
| 843 |
esac |
| 844 |
|
| 845 |
ac_dir=`$as_dirname -- "$ac_file" || |
| 846 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 847 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 848 |
X"$ac_file" : 'X\(//\)$' \| \ |
| 849 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 850 |
$as_echo X"$ac_file" | |
| 851 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 852 |
s//\1/ |
| 853 |
q |
| 854 |
} |
| 855 |
/^X\(\/\/\)[^/].*/{ |
| 856 |
s//\1/ |
| 857 |
q |
| 858 |
} |
| 859 |
/^X\(\/\/\)$/{ |
| 860 |
s//\1/ |
| 861 |
q |
| 862 |
} |
| 863 |
/^X\(\/\).*/{ |
| 864 |
s//\1/ |
| 865 |
q |
| 866 |
} |
| 867 |
s/.*/./; q'` |
| 868 |
{ as_dir="$ac_dir" |
| 869 |
case $as_dir in #( |
| 870 |
-*) as_dir=./$as_dir;; |
| 871 |
esac |
| 872 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 873 |
as_dirs= |
| 874 |
while :; do |
| 875 |
case $as_dir in #( |
| 876 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 877 |
*) as_qdir=$as_dir;; |
| 878 |
esac |
| 879 |
as_dirs="'$as_qdir' $as_dirs" |
| 880 |
as_dir=`$as_dirname -- "$as_dir" || |
| 881 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 882 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 883 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 884 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 885 |
$as_echo X"$as_dir" | |
| 886 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 887 |
s//\1/ |
| 888 |
q |
| 889 |
} |
| 890 |
/^X\(\/\/\)[^/].*/{ |
| 891 |
s//\1/ |
| 892 |
q |
| 893 |
} |
| 894 |
/^X\(\/\/\)$/{ |
| 895 |
s//\1/ |
| 896 |
q |
| 897 |
} |
| 898 |
/^X\(\/\).*/{ |
| 899 |
s//\1/ |
| 900 |
q |
| 901 |
} |
| 902 |
s/.*/./; q'` |
| 903 |
test -d "$as_dir" && break |
| 904 |
done |
| 905 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 906 |
} || test -d "$as_dir" || { { $as_echo "$as_me:905: error: cannot create directory $as_dir" >&5 |
| 907 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 908 |
{ (exit 1); exit 1; }; }; } |
| 909 |
ac_builddir=. |
| 910 |
|
| 911 |
case "$ac_dir" in |
| 912 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 913 |
*) |
| 914 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 915 |
# A ".." for each directory in $ac_dir_suffix. |
| 916 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 917 |
case $ac_top_builddir_sub in |
| 918 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 919 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 920 |
esac ;; |
| 921 |
esac |
| 922 |
ac_abs_top_builddir=$ac_pwd |
| 923 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 924 |
# for backward compatibility: |
| 925 |
ac_top_builddir=$ac_top_build_prefix |
| 926 |
|
| 927 |
case $srcdir in |
| 928 |
.) # We are building in place. |
| 929 |
ac_srcdir=. |
| 930 |
ac_top_srcdir=$ac_top_builddir_sub |
| 931 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 932 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 933 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 934 |
ac_top_srcdir=$srcdir |
| 935 |
ac_abs_top_srcdir=$srcdir ;; |
| 936 |
*) # Relative name. |
| 937 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 938 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 939 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 940 |
esac |
| 941 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 942 |
|
| 943 |
|
| 944 |
case $ac_mode in |
| 945 |
:F) |
| 946 |
# |
| 947 |
# CONFIG_FILE |
| 948 |
# |
| 949 |
|
| 950 |
case $INSTALL in |
| 951 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 952 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 953 |
esac |
| 954 |
ac_MKDIR_P=$MKDIR_P |
| 955 |
case $MKDIR_P in |
| 956 |
[\\/$]* | ?:[\\/]* ) ;; |
| 957 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 958 |
esac |
| 959 |
# If the template does not know about datarootdir, expand it. |
| 960 |
# FIXME: This hack should be removed a few years after 2.60. |
| 961 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 962 |
|
| 963 |
ac_sed_dataroot=' |
| 964 |
/datarootdir/ { |
| 965 |
p |
| 966 |
q |
| 967 |
} |
| 968 |
/@datadir@/p |
| 969 |
/@docdir@/p |
| 970 |
/@infodir@/p |
| 971 |
/@localedir@/p |
| 972 |
/@mandir@/p |
| 973 |
' |
| 974 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 975 |
*datarootdir*) ac_datarootdir_seen=yes;; |
| 976 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 977 |
{ $as_echo "$as_me:976: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 978 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 979 |
ac_datarootdir_hack=' |
| 980 |
s&@datadir@&${datarootdir}&g |
| 981 |
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g |
| 982 |
s&@infodir@&${datarootdir}/info&g |
| 983 |
s&@localedir@&${datarootdir}/locale&g |
| 984 |
s&@mandir@&${datarootdir}/man&g |
| 985 |
s&\${datarootdir}&${prefix}/share&g' ;; |
| 986 |
esac |
| 987 |
ac_sed_extra="/^[ ]*VPATH[ ]*=/{ |
| 988 |
s/:*\$(srcdir):*/:/ |
| 989 |
s/:*\${srcdir}:*/:/ |
| 990 |
s/:*@srcdir@:*/:/ |
| 991 |
s/^\([^=]*=[ ]*\):*/\1/ |
| 992 |
s/:*$// |
| 993 |
s/^[^=]*=[ ]*$// |
| 994 |
} |
| 995 |
|
| 996 |
:t |
| 997 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 998 |
s|@configure_input@|$ac_sed_conf_input|;t t |
| 999 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 1000 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 1001 |
s&@srcdir@&$ac_srcdir&;t t |
| 1002 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 1003 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
| 1004 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 1005 |
s&@builddir@&$ac_builddir&;t t |
| 1006 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| 1007 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 1008 |
s&@INSTALL@&$ac_INSTALL&;t t |
| 1009 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 1010 |
$ac_datarootdir_hack |
| 1011 |
" |
| 1012 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 1013 |
|| { { $as_echo "$as_me:1012: error: could not create $ac_file" >&5 |
| 1014 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 1015 |
{ (exit 1); exit 1; }; } |
| 1016 |
|
| 1017 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 1018 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 1019 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 1020 |
{ $as_echo "$as_me:1019: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 1021 |
which seems to be undefined. Please make sure it is defined." >&5 |
| 1022 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 1023 |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 1024 |
|
| 1025 |
rm -f "$tmp/stdin" |
| 1026 |
case $ac_file in |
| 1027 |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 1028 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 1029 |
esac \ |
| 1030 |
|| { { $as_echo "$as_me:1029: error: could not create $ac_file" >&5 |
| 1031 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 1032 |
{ (exit 1); exit 1; }; } |
| 1033 |
;; |
| 1034 |
:H) |
| 1035 |
# |
| 1036 |
# CONFIG_HEADER |
| 1037 |
# |
| 1038 |
if test x"$ac_file" != x-; then |
| 1039 |
{ |
| 1040 |
$as_echo "/* $configure_input */" \ |
| 1041 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 1042 |
} >"$tmp/config.h" \ |
| 1043 |
|| { { $as_echo "$as_me:1042: error: could not create $ac_file" >&5 |
| 1044 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 1045 |
{ (exit 1); exit 1; }; } |
| 1046 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 1047 |
{ $as_echo "$as_me:1046: $ac_file is unchanged" >&5 |
| 1048 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 1049 |
else |
| 1050 |
rm -f "$ac_file" |
| 1051 |
mv "$tmp/config.h" "$ac_file" \ |
| 1052 |
|| { { $as_echo "$as_me:1051: error: could not create $ac_file" >&5 |
| 1053 |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 1054 |
{ (exit 1); exit 1; }; } |
| 1055 |
fi |
| 1056 |
else |
| 1057 |
$as_echo "/* $configure_input */" \ |
| 1058 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 1059 |
|| { { $as_echo "$as_me:1058: error: could not create -" >&5 |
| 1060 |
$as_echo "$as_me: error: could not create -" >&2;} |
| 1061 |
{ (exit 1); exit 1; }; } |
| 1062 |
fi |
| 1063 |
# Compute "$ac_file"'s index in $config_headers. |
| 1064 |
_am_arg="$ac_file" |
| 1065 |
_am_stamp_count=1 |
| 1066 |
for _am_header in $config_headers :; do |
| 1067 |
case $_am_header in |
| 1068 |
$_am_arg | $_am_arg:* ) |
| 1069 |
break ;; |
| 1070 |
* ) |
| 1071 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 1072 |
esac |
| 1073 |
done |
| 1074 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 1075 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1076 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 1077 |
X"$_am_arg" : 'X\(//\)$' \| \ |
| 1078 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 1079 |
$as_echo X"$_am_arg" | |
| 1080 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1081 |
s//\1/ |
| 1082 |
q |
| 1083 |
} |
| 1084 |
/^X\(\/\/\)[^/].*/{ |
| 1085 |
s//\1/ |
| 1086 |
q |
| 1087 |
} |
| 1088 |
/^X\(\/\/\)$/{ |
| 1089 |
s//\1/ |
| 1090 |
q |
| 1091 |
} |
| 1092 |
/^X\(\/\).*/{ |
| 1093 |
s//\1/ |
| 1094 |
q |
| 1095 |
} |
| 1096 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
| 1097 |
;; |
| 1098 |
|
| 1099 |
:C) { $as_echo "$as_me:1098: executing $ac_file commands" >&5 |
| 1100 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
| 1101 |
;; |
| 1102 |
esac |
| 1103 |
|
| 1104 |
|
| 1105 |
case $ac_file$ac_mode in |
| 1106 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 1107 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 1108 |
# are listed without --file. Let's play safe and only enable the eval |
| 1109 |
# if we detect the quoting. |
| 1110 |
case $CONFIG_FILES in |
| 1111 |
*\'*) eval set x "$CONFIG_FILES" ;; |
| 1112 |
*) set x $CONFIG_FILES ;; |
| 1113 |
esac |
| 1114 |
shift |
| 1115 |
for mf |
| 1116 |
do |
| 1117 |
# Strip MF so we end up with the name of the file. |
| 1118 |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 1119 |
# Check whether this is an Automake generated Makefile or not. |
| 1120 |
# We used to match only the files named `Makefile.in', but |
| 1121 |
# some people rename them; so instead we look at the file content. |
| 1122 |
# Grep'ing the first line is not enough: some people post-process |
| 1123 |
# each Makefile.in and add a new line on top of each file to say so. |
| 1124 |
# Grep'ing the whole file is not good either: AIX grep has a line |
| 1125 |
# limit of 2048, but all sed's we know have understand at least 4000. |
| 1126 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 1127 |
dirpart=`$as_dirname -- "$mf" || |
| 1128 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1129 |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 1130 |
X"$mf" : 'X\(//\)$' \| \ |
| 1131 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 1132 |
$as_echo X"$mf" | |
| 1133 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1134 |
s//\1/ |
| 1135 |
q |
| 1136 |
} |
| 1137 |
/^X\(\/\/\)[^/].*/{ |
| 1138 |
s//\1/ |
| 1139 |
q |
| 1140 |
} |
| 1141 |
/^X\(\/\/\)$/{ |
| 1142 |
s//\1/ |
| 1143 |
q |
| 1144 |
} |
| 1145 |
/^X\(\/\).*/{ |
| 1146 |
s//\1/ |
| 1147 |
q |
| 1148 |
} |
| 1149 |
s/.*/./; q'` |
| 1150 |
else |
| 1151 |
continue |
| 1152 |
fi |
| 1153 |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 1154 |
# from the Makefile without running `make'. |
| 1155 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 1156 |
test -z "$DEPDIR" && continue |
| 1157 |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 1158 |
test -z "am__include" && continue |
| 1159 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 1160 |
# When using ansi2knr, U may be empty or an underscore; expand it |
| 1161 |
U=`sed -n 's/^U = //p' < "$mf"` |
| 1162 |
# Find all dependency output files, they are included files with |
| 1163 |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 1164 |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 1165 |
# expansion. |
| 1166 |
for file in `sed -n " |
| 1167 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 1168 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 1169 |
# Make sure the directory exists. |
| 1170 |
test -f "$dirpart/$file" && continue |
| 1171 |
fdir=`$as_dirname -- "$file" || |
| 1172 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1173 |
X"$file" : 'X\(//\)[^/]' \| \ |
| 1174 |
X"$file" : 'X\(//\)$' \| \ |
| 1175 |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 1176 |
$as_echo X"$file" | |
| 1177 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1178 |
s//\1/ |
| 1179 |
q |
| 1180 |
} |
| 1181 |
/^X\(\/\/\)[^/].*/{ |
| 1182 |
s//\1/ |
| 1183 |
q |
| 1184 |
} |
| 1185 |
/^X\(\/\/\)$/{ |
| 1186 |
s//\1/ |
| 1187 |
q |
| 1188 |
} |
| 1189 |
/^X\(\/\).*/{ |
| 1190 |
s//\1/ |
| 1191 |
q |
| 1192 |
} |
| 1193 |
s/.*/./; q'` |
| 1194 |
{ as_dir=$dirpart/$fdir |
| 1195 |
case $as_dir in #( |
| 1196 |
-*) as_dir=./$as_dir;; |
| 1197 |
esac |
| 1198 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 1199 |
as_dirs= |
| 1200 |
while :; do |
| 1201 |
case $as_dir in #( |
| 1202 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 1203 |
*) as_qdir=$as_dir;; |
| 1204 |
esac |
| 1205 |
as_dirs="'$as_qdir' $as_dirs" |
| 1206 |
as_dir=`$as_dirname -- "$as_dir" || |
| 1207 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1208 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 1209 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 1210 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 1211 |
$as_echo X"$as_dir" | |
| 1212 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1213 |
s//\1/ |
| 1214 |
q |
| 1215 |
} |
| 1216 |
/^X\(\/\/\)[^/].*/{ |
| 1217 |
s//\1/ |
| 1218 |
q |
| 1219 |
} |
| 1220 |
/^X\(\/\/\)$/{ |
| 1221 |
s//\1/ |
| 1222 |
q |
| 1223 |
} |
| 1224 |
/^X\(\/\).*/{ |
| 1225 |
s//\1/ |
| 1226 |
q |
| 1227 |
} |
| 1228 |
s/.*/./; q'` |
| 1229 |
test -d "$as_dir" && break |
| 1230 |
done |
| 1231 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 1232 |
} || test -d "$as_dir" || { { $as_echo "$as_me:1231: error: cannot create directory $as_dir" >&5 |
| 1233 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 1234 |
{ (exit 1); exit 1; }; }; } |
| 1235 |
# echo "creating $dirpart/$file" |
| 1236 |
echo '# dummy' > "$dirpart/$file" |
| 1237 |
done |
| 1238 |
done |
| 1239 |
} |
| 1240 |
;; |
| 1241 |
|
| 1242 |
esac |
| 1243 |
done # for ac_tag |
| 1244 |
|
| 1245 |
|
| 1246 |
{ (exit 0); exit 0; } |