configure

Wed, 31 May 2017 12:51:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 31 May 2017 12:51:24 +0200
changeset 51
5acf05940667
parent 48
0d2c13c24fd0
permissions
-rwxr-xr-x

fixes compiler flags

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

mercurial